export declare type Maybe<T> = T | null;
export declare type Exact<T extends {
    [key: string]: unknown;
}> = {
    [K in keyof T]: T[K];
};
export declare type MakeOptional<T, K extends keyof T> = Omit<T, K> & {
    [SubKey in K]?: Maybe<T[SubKey]>;
};
export declare type MakeMaybe<T, K extends keyof T> = Omit<T, K> & {
    [SubKey in K]: Maybe<T[SubKey]>;
};
/** All built-in and custom scalars, mapped to their actual values */
export declare type Scalars = {
    ID: string;
    String: string;
    Boolean: boolean;
    Int: number;
    Float: number;
    /** A date-time string at UTC, such as 2007-12-03T10:15:30Z, compliant with the `date-time` format outlined in section 5.6 of the RFC 3339 profile of the ISO 8601 standard for representation of dates and times using the Gregorian calendar. */
    DateTime: string;
    Object: any;
    /** The `BigInt` scalar type represents non-fractional signed whole numeric values. BigInt can represent values between -(2^53) + 1 and 2^53 - 1.  */
    BigInt: any;
    /** Converts strings into boolean */
    CustomBoolean: boolean;
};
export declare type Account = {
    __typename?: 'Account';
    id?: Maybe<Scalars['String']>;
    address?: Maybe<Scalars['String']>;
    created_at_block?: Maybe<Scalars['Int']>;
    balance?: Maybe<Scalars['Float']>;
    count_reaped?: Maybe<Scalars['Int']>;
    is_contract?: Maybe<Scalars['Boolean']>;
    is_nominator?: Maybe<Scalars['Boolean']>;
    is_reaped?: Maybe<Scalars['Boolean']>;
    is_validator?: Maybe<Scalars['Boolean']>;
    updated_at_block?: Maybe<Scalars['Int']>;
    transactions?: Maybe<Array<Maybe<Extrinsic>>>;
};
export declare type AccountTransactionsArgs = {
    count?: Maybe<Scalars['Int']>;
    skip?: Maybe<Scalars['Int']>;
};
export declare type AgentAdded = AgentHistoryEvent & {
    __typename?: 'AgentAdded';
    datetime: Scalars['DateTime'];
    block_id: Scalars['Int'];
    event_idx: Scalars['Int'];
    permissions: ExtrinsicPermissions;
};
export declare type AgentHistory = {
    __typename?: 'AgentHistory';
    did: Scalars['String'];
    history: Array<AgentHistoryEvent>;
};
export declare type AgentHistoryEvent = {
    datetime: Scalars['DateTime'];
    block_id: Scalars['Int'];
    event_idx: Scalars['Int'];
};
export declare type AgentPermissionsChanged = AgentHistoryEvent & {
    __typename?: 'AgentPermissionsChanged';
    datetime: Scalars['DateTime'];
    block_id: Scalars['Int'];
    event_idx: Scalars['Int'];
    permissions: ExtrinsicPermissions;
};
export declare type AgentRemoved = AgentHistoryEvent & {
    __typename?: 'AgentRemoved';
    datetime: Scalars['DateTime'];
    block_id: Scalars['Int'];
    event_idx: Scalars['Int'];
};
export declare type AggregatedInvestment = {
    __typename?: 'AggregatedInvestment';
    investor: Scalars['String'];
    offeringToken: Scalars['String'];
    raiseToken: Scalars['String'];
    offeringTokenAmount: Scalars['BigInt'];
    raiseTokenAmount: Scalars['BigInt'];
};
export declare type AggregatedInvestmentResult = {
    __typename?: 'AggregatedInvestmentResult';
    totalCount: Scalars['Int'];
    items?: Maybe<Array<Maybe<AggregatedInvestment>>>;
};
export declare type Authorization = {
    __typename?: 'Authorization';
    authId: Scalars['Int'];
    fromDID: Scalars['String'];
    toDID?: Maybe<Scalars['String']>;
    toKey?: Maybe<Scalars['String']>;
    type: AuthTypeEnum;
    data?: Maybe<Scalars['String']>;
    expiry?: Maybe<Scalars['BigInt']>;
    status: AuthStatusEnum;
};
export declare enum AuthStatusEnum {
    Pending = "Pending",
    Consumed = "Consumed",
    Rejected = "Rejected",
    Revoked = "Revoked",
    Expired = "Expired"
}
export declare enum AuthTypeEnum {
    AttestPrimaryKeyRotation = "AttestPrimaryKeyRotation",
    RotatePrimaryKey = "RotatePrimaryKey",
    RotatePrimaryKeyToSecondary = "RotatePrimaryKeyToSecondary",
    TransferTicker = "TransferTicker",
    AddMultiSigSigner = "AddMultiSigSigner",
    TransferAssetOwnership = "TransferAssetOwnership",
    JoinIdentity = "JoinIdentity",
    PortfolioCustody = "PortfolioCustody",
    BecomeAgent = "BecomeAgent",
    AddRelayerPayingKey = "AddRelayerPayingKey",
    TransferPrimaryIssuanceAgent = "TransferPrimaryIssuanceAgent",
    Custom = "Custom",
    NoData = "NoData"
}
export declare type Block = {
    __typename?: 'Block';
    /** Block details */
    id: Scalars['Int'];
    parent_id?: Maybe<Scalars['Int']>;
    hash?: Maybe<Scalars['String']>;
    parent_hash?: Maybe<Scalars['String']>;
    state_root?: Maybe<Scalars['String']>;
    extrinsics_root?: Maybe<Scalars['String']>;
    count_extrinsics?: Maybe<Scalars['Int']>;
    count_events?: Maybe<Scalars['Int']>;
    spec_version_id?: Maybe<Scalars['String']>;
    count_extrinsics_error?: Maybe<Scalars['Int']>;
    count_extrinsics_signed?: Maybe<Scalars['Int']>;
    count_extrinsics_success?: Maybe<Scalars['Int']>;
    count_extrinsics_unsigned?: Maybe<Scalars['Int']>;
    datetime: Scalars['DateTime'];
    parentBlock?: Maybe<Block>;
    events?: Maybe<Array<Maybe<Event>>>;
    extrinsics?: Maybe<Array<Maybe<Extrinsic>>>;
    transactions?: Maybe<Array<Maybe<Extrinsic>>>;
    inherents?: Maybe<Array<Maybe<Extrinsic>>>;
};
export declare enum CacheControlScope {
    Public = "PUBLIC",
    Private = "PRIVATE"
}
export declare type CaId = {
    ticker: Scalars['String'];
    localId: Scalars['Int'];
};
export declare enum CallIdEnum {
    FillBlock = "fill_block",
    Remark = "remark",
    SetHeapPages = "set_heap_pages",
    SetCode = "set_code",
    SetCodeWithoutChecks = "set_code_without_checks",
    SetChangesTrieConfig = "set_changes_trie_config",
    SetStorage = "set_storage",
    KillStorage = "kill_storage",
    KillPrefix = "kill_prefix",
    Suicide = "suicide",
    ReportEquivocation = "report_equivocation",
    ReportEquivocationUnsigned = "report_equivocation_unsigned",
    Set = "set",
    Claim = "claim",
    Transfer = "transfer",
    Free = "free",
    ForceTransfer = "force_transfer",
    Freeze = "freeze",
    TransferWithMemo = "transfer_with_memo",
    DepositBlockRewardReserveBalance = "deposit_block_reward_reserve_balance",
    SetBalance = "set_balance",
    BurnAccountBalance = "burn_account_balance",
    SetUncles = "set_uncles",
    Bond = "bond",
    BondExtra = "bond_extra",
    Unbond = "unbond",
    WithdrawUnbonded = "withdraw_unbonded",
    Validate = "validate",
    Nominate = "nominate",
    Chill = "chill",
    SetPayee = "set_payee",
    SetController = "set_controller",
    SetValidatorCount = "set_validator_count",
    IncreaseValidatorCount = "increase_validator_count",
    ScaleValidatorCount = "scale_validator_count",
    AddPermissionedValidator = "add_permissioned_validator",
    RemovePermissionedValidator = "remove_permissioned_validator",
    ValidateCddExpiryNominators = "validate_cdd_expiry_nominators",
    SetCommissionCap = "set_commission_cap",
    EnableIndividualCommissions = "enable_individual_commissions",
    SetGlobalCommission = "set_global_commission",
    SetMinBondThreshold = "set_min_bond_threshold",
    ForceNoEras = "force_no_eras",
    ForceNewEra = "force_new_era",
    SetInvulnerables = "set_invulnerables",
    ForceUnstake = "force_unstake",
    ForceNewEraAlways = "force_new_era_always",
    CancelDeferredSlash = "cancel_deferred_slash",
    PayoutStakers = "payout_stakers",
    Rebond = "rebond",
    SetHistoryDepth = "set_history_depth",
    ReapStash = "reap_stash",
    SubmitElectionSolution = "submit_election_solution",
    SubmitElectionSolutionUnsigned = "submit_election_solution_unsigned",
    PayoutStakersBySystem = "payout_stakers_by_system",
    ChangeSlashingAllowedFor = "change_slashing_allowed_for",
    SetKeys = "set_keys",
    PurgeKeys = "purge_keys",
    FinalHint = "final_hint",
    NoteStalled = "note_stalled",
    Heartbeat = "heartbeat",
    SetSlashingParams = "set_slashing_params",
    Sudo = "sudo",
    SudoUncheckedWeight = "sudo_unchecked_weight",
    SetKey = "set_key",
    SudoAs = "sudo_as",
    CreateMultisig = "create_multisig",
    CreateOrApproveProposalAsIdentity = "create_or_approve_proposal_as_identity",
    CreateOrApproveProposalAsKey = "create_or_approve_proposal_as_key",
    CreateProposalAsIdentity = "create_proposal_as_identity",
    CreateProposalAsKey = "create_proposal_as_key",
    ApproveAsIdentity = "approve_as_identity",
    ApproveAsKey = "approve_as_key",
    RejectAsIdentity = "reject_as_identity",
    RejectAsKey = "reject_as_key",
    AcceptMultisigSignerAsIdentity = "accept_multisig_signer_as_identity",
    AcceptMultisigSignerAsKey = "accept_multisig_signer_as_key",
    AddMultisigSigner = "add_multisig_signer",
    RemoveMultisigSigner = "remove_multisig_signer",
    AddMultisigSignersViaCreator = "add_multisig_signers_via_creator",
    RemoveMultisigSignersViaCreator = "remove_multisig_signers_via_creator",
    ChangeSigsRequired = "change_sigs_required",
    ChangeAllSignersAndSigsRequired = "change_all_signers_and_sigs_required",
    MakeMultisigSigner = "make_multisig_signer",
    MakeMultisigPrimary = "make_multisig_primary",
    ExecuteScheduledProposal = "execute_scheduled_proposal",
    UpdateSchedule = "update_schedule",
    SetPutCodeFlag = "set_put_code_flag",
    PutCode = "put_code",
    Call = "call",
    Instantiate = "instantiate",
    ClaimSurcharge = "claim_surcharge",
    FreezeInstantiation = "freeze_instantiation",
    UnfreezeInstantiation = "unfreeze_instantiation",
    TransferTemplateOwnership = "transfer_template_ownership",
    ChangeTemplateFees = "change_template_fees",
    ChangeTemplateMetaUrl = "change_template_meta_url",
    Disbursement = "disbursement",
    Reimbursement = "reimbursement",
    SetVoteThreshold = "set_vote_threshold",
    Close = "close",
    SetReleaseCoordinator = "set_release_coordinator",
    VoteEnactReferendum = "vote_enact_referendum",
    VoteRejectReferendum = "vote_reject_referendum",
    SetExpiresAfter = "set_expires_after",
    VoteOrPropose = "vote_or_propose",
    Vote = "vote",
    SetActiveMembersLimit = "set_active_members_limit",
    DisableMember = "disable_member",
    AddMember = "add_member",
    RemoveMember = "remove_member",
    SwapMember = "swap_member",
    ResetMembers = "reset_members",
    AbdicateMembership = "abdicate_membership",
    SetPruneHistoricalPips = "set_prune_historical_pips",
    SetMinProposalDeposit = "set_min_proposal_deposit",
    SetQuorumThreshold = "set_quorum_threshold",
    SetProposalDuration = "set_proposal_duration",
    SetProposalCoolOffPeriod = "set_proposal_cool_off_period",
    SetDefaultEnactmentPeriod = "set_default_enactment_period",
    SetPendingPipExpiry = "set_pending_pip_expiry",
    SetMaxPipSkipCount = "set_max_pip_skip_count",
    SetActivePipLimit = "set_active_pip_limit",
    Propose = "propose",
    AmendProposal = "amend_proposal",
    CancelProposal = "cancel_proposal",
    ApproveCommitteeProposal = "approve_committee_proposal",
    RejectProposal = "reject_proposal",
    BondAdditionalDeposit = "bond_additional_deposit",
    UnbondDeposit = "unbond_deposit",
    KillProposal = "kill_proposal",
    PruneProposal = "prune_proposal",
    RescheduleExecution = "reschedule_execution",
    ClearSnapshot = "clear_snapshot",
    Snapshot = "snapshot",
    EnactSnapshotResults = "enact_snapshot_results",
    FastTrackProposal = "fast_track_proposal",
    EmergencyReferendum = "emergency_referendum",
    EnactReferendum = "enact_referendum",
    RejectReferendum = "reject_referendum",
    OverrideReferendumEnactmentPeriod = "override_referendum_enactment_period",
    RegisterTicker = "register_ticker",
    CreateAssetAndMint = "create_asset_and_mint",
    AcceptTickerTransfer = "accept_ticker_transfer",
    AcceptPrimaryIssuanceAgentTransfer = "accept_primary_issuance_agent_transfer",
    AcceptAssetOwnershipTransfer = "accept_asset_ownership_transfer",
    CreateAsset = "create_asset",
    Unfreeze = "unfreeze",
    RenameAsset = "rename_asset",
    CreateCheckpoint = "create_checkpoint",
    Issue = "issue",
    Redeem = "redeem",
    MakeDivisible = "make_divisible",
    BatchAddDocument = "batch_add_document",
    BatchRemoveDocument = "batch_remove_document",
    AddDocuments = "add_documents",
    RemoveDocuments = "remove_documents",
    SetFundingRound = "set_funding_round",
    UpdateIdentifiers = "update_identifiers",
    AddExtension = "add_extension",
    ArchiveExtension = "archive_extension",
    UnarchiveExtension = "unarchive_extension",
    RemovePrimaryIssuanceAgent = "remove_primary_issuance_agent",
    RemoveSmartExtension = "remove_smart_extension",
    ClaimClassicTicker = "claim_classic_ticker",
    ReserveClassicTicker = "reserve_classic_ticker",
    RegisterCustomAssetType = "register_custom_asset_type",
    New = "new",
    Cancel = "cancel",
    ClaimUnclaimed = "claim_unclaimed",
    CddRegisterDid = "cdd_register_did",
    InvalidateCddClaims = "invalidate_cdd_claims",
    RemoveSecondaryKeys = "remove_secondary_keys",
    SetPrimaryKey = "set_primary_key",
    AcceptPrimaryKey = "accept_primary_key",
    RotatePrimaryKeyToSecondary = "rotate_primary_key_to_secondary",
    ChangeCddRequirementForMkRotation = "change_cdd_requirement_for_mk_rotation",
    JoinIdentityAsKey = "join_identity_as_key",
    LeaveIdentityAsKey = "leave_identity_as_key",
    AddClaim = "add_claim",
    BatchAddClaim = "batch_add_claim",
    RevokeClaim = "revoke_claim",
    RevokeClaimByIndex = "revoke_claim_by_index",
    BatchRevokeClaim = "batch_revoke_claim",
    SetPermissionToSigner = "set_permission_to_signer",
    LegacySetPermissionToSigner = "legacy_set_permission_to_signer",
    FreezeSecondaryKeys = "freeze_secondary_keys",
    UnfreezeSecondaryKeys = "unfreeze_secondary_keys",
    AddAuthorization = "add_authorization",
    BatchAddAuthorization = "batch_add_authorization",
    RemoveAuthorization = "remove_authorization",
    BatchRemoveAuthorization = "batch_remove_authorization",
    AcceptAuthorization = "accept_authorization",
    BatchAcceptAuthorization = "batch_accept_authorization",
    BatchAddSecondaryKeyWithAuthorization = "batch_add_secondary_key_with_authorization",
    AddSecondaryKeysWithAuthorization = "add_secondary_keys_with_authorization",
    AddInvestorUniquenessClaim = "add_investor_uniqueness_claim",
    GcAddCddClaim = "gc_add_cdd_claim",
    GcRevokeCddClaim = "gc_revoke_cdd_claim",
    AddInvestorUniquenessClaimV2 = "add_investor_uniqueness_claim_v2",
    JoinIdentityAsIdentity = "join_identity_as_identity",
    LeaveIdentityAsIdentity = "leave_identity_as_identity",
    RevokeOffchainAuthorization = "revoke_offchain_authorization",
    ForwardedCall = "forwarded_call",
    ChangeController = "change_controller",
    ChangeAdmin = "change_admin",
    ChangeTimelock = "change_timelock",
    ChangeBridgeLimit = "change_bridge_limit",
    ChangeBridgeExempted = "change_bridge_exempted",
    ForceHandleBridgeTx = "force_handle_bridge_tx",
    BatchForceHandleBridgeTx = "batch_force_handle_bridge_tx",
    ProposeBridgeTx = "propose_bridge_tx",
    BatchProposeBridgeTx = "batch_propose_bridge_tx",
    HandleBridgeTx = "handle_bridge_tx",
    BatchHandleBridgeTx = "batch_handle_bridge_tx",
    BatchFreezeTx = "batch_freeze_tx",
    BatchUnfreezeTx = "batch_unfreeze_tx",
    FreezeTxs = "freeze_txs",
    UnfreezeTxs = "unfreeze_txs",
    HandleScheduledBridgeTx = "handle_scheduled_bridge_tx",
    AddFreezeAdmin = "add_freeze_admin",
    RemoveFreezeAdmin = "remove_freeze_admin",
    RemoveTxs = "remove_txs",
    AddComplianceRequirement = "add_compliance_requirement",
    RemoveComplianceRequirement = "remove_compliance_requirement",
    ReplaceAssetCompliance = "replace_asset_compliance",
    ResetAssetCompliance = "reset_asset_compliance",
    PauseAssetCompliance = "pause_asset_compliance",
    ResumeAssetCompliance = "resume_asset_compliance",
    AddDefaultTrustedClaimIssuer = "add_default_trusted_claim_issuer",
    RemoveDefaultTrustedClaimIssuer = "remove_default_trusted_claim_issuer",
    BatchAddDefaultTrustedClaimIssuer = "batch_add_default_trusted_claim_issuer",
    BatchRemoveDefaultTrustedClaimIssuer = "batch_remove_default_trusted_claim_issuer",
    ChangeComplianceRequirement = "change_compliance_requirement",
    BatchChangeComplianceRequirement = "batch_change_compliance_requirement",
    AddBallot = "add_ballot",
    CancelBallot = "cancel_ballot",
    LaunchSto = "launch_sto",
    BuyTokens = "buy_tokens",
    PauseSto = "pause_sto",
    UnpauseSto = "unpause_sto",
    ModifyExemptionList = "modify_exemption_list",
    CreateVenue = "create_venue",
    UpdateVenue = "update_venue",
    AddInstruction = "add_instruction",
    AddAndAuthorizeInstruction = "add_and_authorize_instruction",
    AuthorizeInstruction = "authorize_instruction",
    UnauthorizeInstruction = "unauthorize_instruction",
    AddAndAffirmInstruction = "add_and_affirm_instruction",
    AffirmInstruction = "affirm_instruction",
    WithdrawAffirmation = "withdraw_affirmation",
    RejectInstruction = "reject_instruction",
    RescheduleInstruction = "reschedule_instruction",
    AuthorizeWithReceipts = "authorize_with_receipts",
    AffirmWithReceipts = "affirm_with_receipts",
    ClaimReceipt = "claim_receipt",
    UnclaimReceipt = "unclaim_receipt",
    SetVenueFiltering = "set_venue_filtering",
    AllowVenues = "allow_venues",
    DisallowVenues = "disallow_venues",
    ExecuteScheduledInstruction = "execute_scheduled_instruction",
    ChangeReceiptValidity = "change_receipt_validity",
    UpdateVenueType = "update_venue_type",
    UpdateVenueDetails = "update_venue_details",
    CreateFundraiser = "create_fundraiser",
    Invest = "invest",
    FreezeFundraiser = "freeze_fundraiser",
    UnfreezeFundraiser = "unfreeze_fundraiser",
    ModifyFundraiserWindow = "modify_fundraiser_window",
    Stop = "stop",
    AddTransferManager = "add_transfer_manager",
    RemoveTransferManager = "remove_transfer_manager",
    AddExemptedEntities = "add_exempted_entities",
    RemoveExemptedEntities = "remove_exempted_entities",
    ChangeCoefficient = "change_coefficient",
    ChangeBaseFee = "change_base_fee",
    Batch = "batch",
    BatchAtomic = "batch_atomic",
    BatchOptimistic = "batch_optimistic",
    RelayTx = "relay_tx",
    CreatePortfolio = "create_portfolio",
    DeletePortfolio = "delete_portfolio",
    MovePortfolioFunds = "move_portfolio_funds",
    RenamePortfolio = "rename_portfolio",
    QuitPortfolioCustody = "quit_portfolio_custody",
    AcceptPortfolioCustody = "accept_portfolio_custody",
    AddRangeProof = "add_range_proof",
    AddVerifyRangeProof = "add_verify_range_proof",
    Schedule = "schedule",
    ScheduleNamed = "schedule_named",
    CancelNamed = "cancel_named",
    ScheduleAfter = "schedule_after",
    ScheduleNamedAfter = "schedule_named_after",
    SetMaxDetailsLength = "set_max_details_length",
    ResetCaa = "reset_caa",
    SetDefaultTargets = "set_default_targets",
    SetDefaultWithholdingTax = "set_default_withholding_tax",
    SetDidWithholdingTax = "set_did_withholding_tax",
    InitiateCorporateAction = "initiate_corporate_action",
    LinkCaDoc = "link_ca_doc",
    RemoveCa = "remove_ca",
    ChangeRecordDate = "change_record_date",
    AttachBallot = "attach_ballot",
    ChangeEnd = "change_end",
    ChangeMeta = "change_meta",
    ChangeRcv = "change_rcv",
    RemoveBallot = "remove_ballot",
    Distribute = "distribute",
    PushBenefit = "push_benefit",
    Reclaim = "reclaim",
    RemoveDistribution = "remove_distribution",
    CreateGroup = "create_group",
    SetGroupPermissions = "set_group_permissions",
    RemoveAgent = "remove_agent",
    Abdicate = "abdicate",
    ChangeGroup = "change_group",
    AcceptBecomeAgent = "accept_become_agent",
    SetSchedulesMaxComplexity = "set_schedules_max_complexity",
    CreateSchedule = "create_schedule",
    RemoveSchedule = "remove_schedule",
    RegisterDid = "register_did",
    MockCddRegisterDid = "mock_cdd_register_did",
    GetMyDid = "get_my_did",
    GetCddOf = "get_cdd_of",
    SetPayingKey = "set_paying_key",
    AcceptPayingKey = "accept_paying_key",
    RemovePayingKey = "remove_paying_key",
    UpdatePolyxLimit = "update_polyx_limit",
    IncreasePolyxLimit = "increase_polyx_limit",
    DecreasePolyxLimit = "decrease_polyx_limit",
    ClaimItnReward = "claim_itn_reward",
    SetItnRewardStatus = "set_itn_reward_status",
    ControllerTransfer = "controller_transfer",
    Approve = "approve",
    TransferFrom = "transfer_from",
    BatchIssue = "batch_issue",
    RedeemFrom = "redeem_from",
    ControllerRedeem = "controller_redeem",
    TransferWithData = "transfer_with_data",
    TransferFromWithData = "transfer_from_with_data",
    IsIssuable = "is_issuable",
    IncreaseCustodyAllowance = "increase_custody_allowance",
    IncreaseCustodyAllowanceOf = "increase_custody_allowance_of",
    TransferByCustodian = "transfer_by_custodian",
    SetTreasuryDid = "set_treasury_did",
    RemoveSigningKeys = "remove_signing_keys",
    SetMasterKey = "set_master_key",
    AcceptMasterKey = "accept_master_key",
    FreezeSigningKeys = "freeze_signing_keys",
    UnfreezeSigningKeys = "unfreeze_signing_keys",
    BatchAddSigningKeyWithAuthorization = "batch_add_signing_key_with_authorization",
    AddActiveRule = "add_active_rule",
    RemoveActiveRule = "remove_active_rule",
    ReplaceAssetRules = "replace_asset_rules",
    ResetActiveRules = "reset_active_rules",
    PauseAssetRules = "pause_asset_rules",
    ResumeAssetRules = "resume_asset_rules",
    ChangeAssetRule = "change_asset_rule",
    BatchChangeAssetRule = "batch_change_asset_rule"
}
export declare type ChainInfo = {
    __typename?: 'ChainInfo';
    /** Chain information */
    implementationName?: Maybe<Scalars['String']>;
    specName?: Maybe<Scalars['String']>;
    implementationVersion?: Maybe<Scalars['Int']>;
    specVersion?: Maybe<Scalars['Int']>;
    epochDuration?: Maybe<Scalars['Int']>;
    expectedBlockTime?: Maybe<Scalars['Int']>;
    minimumPeriod?: Maybe<Scalars['Int']>;
    existentialDeposit?: Maybe<Scalars['Int']>;
    transferFee?: Maybe<Scalars['Int']>;
    creationFee?: Maybe<Scalars['Int']>;
    transactionBaseFee?: Maybe<Scalars['Int']>;
    transactionByteFee?: Maybe<Scalars['Int']>;
    sessionsPerEra?: Maybe<Scalars['Int']>;
};
export declare type Claim = {
    __typename?: 'Claim';
    targetDID: Scalars['String'];
    issuer: Scalars['String'];
    issuance_date: Scalars['BigInt'];
    last_update_date: Scalars['BigInt'];
    expiry?: Maybe<Scalars['BigInt']>;
    type: ClaimTypeEnum;
    jurisdiction?: Maybe<Scalars['String']>;
    scope?: Maybe<Scope>;
    cdd_id?: Maybe<Scalars['String']>;
};
export declare type ClaimScope = {
    __typename?: 'ClaimScope';
    scope?: Maybe<Scope>;
    ticker?: Maybe<Scalars['String']>;
};
export declare enum ClaimScopeTypeEnum {
    Identity = "Identity",
    Ticker = "Ticker",
    Custom = "Custom"
}
export declare enum ClaimTypeEnum {
    Accredited = "Accredited",
    Affiliate = "Affiliate",
    BuyLockup = "BuyLockup",
    SellLockup = "SellLockup",
    CustomerDueDiligence = "CustomerDueDiligence",
    KnowYourCustomer = "KnowYourCustomer",
    Jurisdiction = "Jurisdiction",
    Exempted = "Exempted",
    Blocked = "Blocked",
    InvestorUniqueness = "InvestorUniqueness",
    NoData = "NoData",
    NoType = "NoType",
    InvestorUniquenessV2 = "InvestorUniquenessV2"
}
export declare type CorporateActionsWithCaId = {
    __typename?: 'CorporateActionsWithCAId';
    eventId: Scalars['String'];
    datetime: Scalars['DateTime'];
    identityId?: Maybe<Scalars['String']>;
    eventDid?: Maybe<Scalars['String']>;
    ticker: Scalars['String'];
    localId: Scalars['Int'];
    arg?: Maybe<Scalars['String']>;
};
export declare type CorporateActionsWithCaIdResult = {
    __typename?: 'CorporateActionsWithCAIdResult';
    totalCount: Scalars['Int'];
    items?: Maybe<Array<Maybe<CorporateActionsWithCaId>>>;
};
export declare type CorporateActionsWithTicker = {
    __typename?: 'CorporateActionsWithTicker';
    eventId: Scalars['String'];
    datetime: Scalars['DateTime'];
    identityId: Scalars['String'];
    ticker: Scalars['String'];
    arg1?: Maybe<Scalars['String']>;
    arg2?: Maybe<Scalars['String']>;
};
export declare type CorporateActionsWithTickerResult = {
    __typename?: 'CorporateActionsWithTickerResult';
    totalCount: Scalars['Int'];
    items?: Maybe<Array<Maybe<CorporateActionsWithTicker>>>;
};
export declare type DidItnRewardActions = {
    __typename?: 'DidItnRewardActions';
    did: Scalars['String'];
    total: Scalars['Int'];
    rank: Scalars['Int'];
    totalCount: Scalars['Int'];
    items?: Maybe<Array<Maybe<ItnRewardAction>>>;
};
export declare type DispatchableNames = WholeDispatchableNames | TheseDispatchableNames | ExceptDispatchableNames;
export declare type Event = {
    __typename?: 'Event';
    /** Blockchain event */
    block_id: Scalars['Int'];
    event_idx: Scalars['Int'];
    extrinsic_idx?: Maybe<Scalars['Int']>;
    spec_version_id?: Maybe<Scalars['Int']>;
    module_id?: Maybe<ModuleIdEnum>;
    event_id?: Maybe<EventIdEnum>;
    attributes?: Maybe<Scalars['Object']>;
    event_arg_0?: Maybe<Scalars['String']>;
    event_arg_1?: Maybe<Scalars['String']>;
    event_arg_2?: Maybe<Scalars['String']>;
    claim_type?: Maybe<ClaimTypeEnum>;
    claim_scope?: Maybe<Scope>;
    claim_issuer?: Maybe<Scalars['String']>;
    claim_expiry?: Maybe<Scalars['String']>;
    codec_error?: Maybe<Scalars['Int']>;
    block?: Maybe<Block>;
    extrinsic?: Maybe<Extrinsic>;
};
export declare enum EventIdEnum {
    ExtrinsicSuccess = "ExtrinsicSuccess",
    ExtrinsicFailed = "ExtrinsicFailed",
    CodeUpdated = "CodeUpdated",
    NewAccount = "NewAccount",
    KilledAccount = "KilledAccount",
    IndexAssigned = "IndexAssigned",
    IndexFreed = "IndexFreed",
    IndexFrozen = "IndexFrozen",
    Endowed = "Endowed",
    Transfer = "Transfer",
    BalanceSet = "BalanceSet",
    AccountBalanceBurned = "AccountBalanceBurned",
    Reserved = "Reserved",
    Unreserved = "Unreserved",
    ReserveRepatriated = "ReserveRepatriated",
    EraPayout = "EraPayout",
    Reward = "Reward",
    Slash = "Slash",
    OldSlashingReportDiscarded = "OldSlashingReportDiscarded",
    StakingElection = "StakingElection",
    SolutionStored = "SolutionStored",
    Bonded = "Bonded",
    Unbonded = "Unbonded",
    Nominated = "Nominated",
    Withdrawn = "Withdrawn",
    PermissionedValidatorAdded = "PermissionedValidatorAdded",
    PermissionedValidatorRemoved = "PermissionedValidatorRemoved",
    PermissionedValidatorStatusChanged = "PermissionedValidatorStatusChanged",
    PermissionedIdentityAdded = "PermissionedIdentityAdded",
    PermissionedIdentityRemoved = "PermissionedIdentityRemoved",
    InvalidatedNominators = "InvalidatedNominators",
    CommissionCapUpdated = "CommissionCapUpdated",
    IndividualCommissionEnabled = "IndividualCommissionEnabled",
    GlobalCommissionUpdated = "GlobalCommissionUpdated",
    MinimumBondThresholdUpdated = "MinimumBondThresholdUpdated",
    RewardPaymentSchedulingInterrupted = "RewardPaymentSchedulingInterrupted",
    SlashingAllowedForChanged = "SlashingAllowedForChanged",
    Offence = "Offence",
    NewSession = "NewSession",
    NewAuthorities = "NewAuthorities",
    Paused = "Paused",
    Resumed = "Resumed",
    HeartbeatReceived = "HeartbeatReceived",
    AllGood = "AllGood",
    SomeOffline = "SomeOffline",
    SlashingParamsUpdated = "SlashingParamsUpdated",
    Sudid = "Sudid",
    KeyChanged = "KeyChanged",
    SudoAsDone = "SudoAsDone",
    MultiSigCreated = "MultiSigCreated",
    ProposalAdded = "ProposalAdded",
    ProposalExecuted = "ProposalExecuted",
    MultiSigSignerAdded = "MultiSigSignerAdded",
    MultiSigSignerAuthorized = "MultiSigSignerAuthorized",
    MultiSigSignerRemoved = "MultiSigSignerRemoved",
    MultiSigSignaturesRequiredChanged = "MultiSigSignaturesRequiredChanged",
    ProposalApproved = "ProposalApproved",
    ProposalRejectionVote = "ProposalRejectionVote",
    ProposalRejected = "ProposalRejected",
    ProposalExecutionFailed = "ProposalExecutionFailed",
    Instantiated = "Instantiated",
    Evicted = "Evicted",
    Restored = "Restored",
    CodeStored = "CodeStored",
    ScheduleUpdated = "ScheduleUpdated",
    ContractExecution = "ContractExecution",
    InstantiationFeeChanged = "InstantiationFeeChanged",
    InstantiationFreezed = "InstantiationFreezed",
    InstantiationUnFreezed = "InstantiationUnFreezed",
    TemplateOwnershipTransferred = "TemplateOwnershipTransferred",
    TemplateUsageFeeChanged = "TemplateUsageFeeChanged",
    TemplateInstantiationFeeChanged = "TemplateInstantiationFeeChanged",
    TemplateMetaUrlChanged = "TemplateMetaUrlChanged",
    PutCodeFlagChanged = "PutCodeFlagChanged",
    TreasuryDisbursement = "TreasuryDisbursement",
    TreasuryReimbursement = "TreasuryReimbursement",
    Proposed = "Proposed",
    Voted = "Voted",
    VoteRetracted = "VoteRetracted",
    FinalVotes = "FinalVotes",
    Approved = "Approved",
    Rejected = "Rejected",
    Executed = "Executed",
    Closed = "Closed",
    ReleaseCoordinatorUpdated = "ReleaseCoordinatorUpdated",
    ExpiresAfterUpdated = "ExpiresAfterUpdated",
    VoteThresholdUpdated = "VoteThresholdUpdated",
    VoteEnactReferendum = "VoteEnactReferendum",
    VoteRejectReferendum = "VoteRejectReferendum",
    MemberAdded = "MemberAdded",
    MemberRemoved = "MemberRemoved",
    MemberRevoked = "MemberRevoked",
    MembersSwapped = "MembersSwapped",
    MembersReset = "MembersReset",
    ActiveLimitChanged = "ActiveLimitChanged",
    Dummy = "Dummy",
    HistoricalPipsPruned = "HistoricalPipsPruned",
    ProposalCreated = "ProposalCreated",
    ProposalDetailsAmended = "ProposalDetailsAmended",
    ProposalBondAdjusted = "ProposalBondAdjusted",
    ProposalStateUpdated = "ProposalStateUpdated",
    PipClosed = "PipClosed",
    ExecutionScheduled = "ExecutionScheduled",
    ReferendumCreated = "ReferendumCreated",
    ReferendumScheduled = "ReferendumScheduled",
    ReferendumStateUpdated = "ReferendumStateUpdated",
    DefaultEnactmentPeriodChanged = "DefaultEnactmentPeriodChanged",
    MinimumProposalDepositChanged = "MinimumProposalDepositChanged",
    QuorumThresholdChanged = "QuorumThresholdChanged",
    ProposalCoolOffPeriodChanged = "ProposalCoolOffPeriodChanged",
    PendingPipExpiryChanged = "PendingPipExpiryChanged",
    MaxPipSkipCountChanged = "MaxPipSkipCountChanged",
    ActivePipLimitChanged = "ActivePipLimitChanged",
    ProposalDurationChanged = "ProposalDurationChanged",
    ProposalRefund = "ProposalRefund",
    SnapshotCleared = "SnapshotCleared",
    SnapshotTaken = "SnapshotTaken",
    PipSkipped = "PipSkipped",
    SnapshotResultsEnacted = "SnapshotResultsEnacted",
    Approval = "Approval",
    Issued = "Issued",
    Redeemed = "Redeemed",
    ControllerTransfer = "ControllerTransfer",
    ControllerRedemption = "ControllerRedemption",
    AssetCreated = "AssetCreated",
    IdentifiersUpdated = "IdentifiersUpdated",
    DivisibilityChanged = "DivisibilityChanged",
    TransferWithData = "TransferWithData",
    IsIssuable = "IsIssuable",
    TickerRegistered = "TickerRegistered",
    TickerTransferred = "TickerTransferred",
    AssetOwnershipTransferred = "AssetOwnershipTransferred",
    AssetFrozen = "AssetFrozen",
    AssetUnfrozen = "AssetUnfrozen",
    AssetRenamed = "AssetRenamed",
    FundingRoundSet = "FundingRoundSet",
    ExtensionAdded = "ExtensionAdded",
    ExtensionArchived = "ExtensionArchived",
    ExtensionUnArchive = "ExtensionUnArchive",
    CheckpointCreated = "CheckpointCreated",
    PrimaryIssuanceAgentTransferred = "PrimaryIssuanceAgentTransferred",
    PrimaryIssuanceAgentTransfered = "PrimaryIssuanceAgentTransfered",
    DocumentAdded = "DocumentAdded",
    DocumentRemoved = "DocumentRemoved",
    ExtensionRemoved = "ExtensionRemoved",
    ClassicTickerClaimed = "ClassicTickerClaimed",
    CustomAssetTypeExists = "CustomAssetTypeExists",
    CustomAssetTypeRegistered = "CustomAssetTypeRegistered",
    InvestorUniquenessClaimNotAllowed = "InvestorUniquenessClaimNotAllowed",
    DividendCreated = "DividendCreated",
    DividendCanceled = "DividendCanceled",
    DividendPaidOutToUser = "DividendPaidOutToUser",
    DividendRemainingClaimed = "DividendRemainingClaimed",
    DidCreated = "DidCreated",
    SecondaryKeysAdded = "SecondaryKeysAdded",
    SecondaryKeysRemoved = "SecondaryKeysRemoved",
    SignerLeft = "SignerLeft",
    SecondaryKeyPermissionsUpdated = "SecondaryKeyPermissionsUpdated",
    SecondaryPermissionsUpdated = "SecondaryPermissionsUpdated",
    PrimaryKeyUpdated = "PrimaryKeyUpdated",
    ClaimAdded = "ClaimAdded",
    ClaimRevoked = "ClaimRevoked",
    DidStatus = "DidStatus",
    CddStatus = "CddStatus",
    AssetDidRegistered = "AssetDidRegistered",
    AuthorizationAdded = "AuthorizationAdded",
    AuthorizationRevoked = "AuthorizationRevoked",
    AuthorizationRejected = "AuthorizationRejected",
    AuthorizationConsumed = "AuthorizationConsumed",
    OffChainAuthorizationRevoked = "OffChainAuthorizationRevoked",
    CddRequirementForPrimaryKeyUpdated = "CddRequirementForPrimaryKeyUpdated",
    CddClaimsInvalidated = "CddClaimsInvalidated",
    SecondaryKeysFrozen = "SecondaryKeysFrozen",
    SecondaryKeysUnfrozen = "SecondaryKeysUnfrozen",
    UnexpectedError = "UnexpectedError",
    ControllerChanged = "ControllerChanged",
    AdminChanged = "AdminChanged",
    TimelockChanged = "TimelockChanged",
    Bridged = "Bridged",
    Frozen = "Frozen",
    Unfrozen = "Unfrozen",
    FrozenTx = "FrozenTx",
    UnfrozenTx = "UnfrozenTx",
    ExemptedUpdated = "ExemptedUpdated",
    BridgeLimitUpdated = "BridgeLimitUpdated",
    TxsHandled = "TxsHandled",
    BridgeTxScheduled = "BridgeTxScheduled",
    FreezeAdminAdded = "FreezeAdminAdded",
    FreezeAdminRemoved = "FreezeAdminRemoved",
    BridgeTxScheduleFailed = "BridgeTxScheduleFailed",
    TxRemoved = "TxRemoved",
    ComplianceRequirementCreated = "ComplianceRequirementCreated",
    ComplianceRequirementRemoved = "ComplianceRequirementRemoved",
    AssetComplianceReplaced = "AssetComplianceReplaced",
    AssetComplianceReset = "AssetComplianceReset",
    AssetComplianceResumed = "AssetComplianceResumed",
    AssetCompliancePaused = "AssetCompliancePaused",
    ComplianceRequirementChanged = "ComplianceRequirementChanged",
    TrustedDefaultClaimIssuerAdded = "TrustedDefaultClaimIssuerAdded",
    TrustedDefaultClaimIssuerRemoved = "TrustedDefaultClaimIssuerRemoved",
    BallotCreated = "BallotCreated",
    VoteCast = "VoteCast",
    BallotCancelled = "BallotCancelled",
    AssetPurchased = "AssetPurchased",
    ExemptionListModified = "ExemptionListModified",
    VenueCreated = "VenueCreated",
    VenueUpdated = "VenueUpdated",
    InstructionCreated = "InstructionCreated",
    InstructionAuthorized = "InstructionAuthorized",
    InstructionUnauthorized = "InstructionUnauthorized",
    InstructionAffirmed = "InstructionAffirmed",
    AffirmationWithdrawn = "AffirmationWithdrawn",
    InstructionRejected = "InstructionRejected",
    ReceiptClaimed = "ReceiptClaimed",
    ReceiptValidityChanged = "ReceiptValidityChanged",
    ReceiptUnclaimed = "ReceiptUnclaimed",
    VenueFiltering = "VenueFiltering",
    VenuesAllowed = "VenuesAllowed",
    VenuesBlocked = "VenuesBlocked",
    LegFailedExecution = "LegFailedExecution",
    InstructionRescheduled = "InstructionRescheduled",
    InstructionFailed = "InstructionFailed",
    InstructionExecuted = "InstructionExecuted",
    VenueUnauthorized = "VenueUnauthorized",
    VenueDetailsUpdated = "VenueDetailsUpdated",
    VenueTypeUpdated = "VenueTypeUpdated",
    FundraiserCreated = "FundraiserCreated",
    FundsRaised = "FundsRaised",
    FundraiserWindowModifed = "FundraiserWindowModifed",
    FundraiserClosed = "FundraiserClosed",
    FundraiserFrozen = "FundraiserFrozen",
    FundraiserUnfrozen = "FundraiserUnfrozen",
    TransferManagerAdded = "TransferManagerAdded",
    TransferManagerRemoved = "TransferManagerRemoved",
    ExemptionsAdded = "ExemptionsAdded",
    ExemptionsRemoved = "ExemptionsRemoved",
    FeeSet = "FeeSet",
    CoefficientSet = "CoefficientSet",
    FeeCharged = "FeeCharged",
    BatchInterrupted = "BatchInterrupted",
    BatchOptimisticFailed = "BatchOptimisticFailed",
    BatchCompleted = "BatchCompleted",
    PortfolioCreated = "PortfolioCreated",
    PortfolioDeleted = "PortfolioDeleted",
    MovedBetweenPortfolios = "MovedBetweenPortfolios",
    PortfolioRenamed = "PortfolioRenamed",
    UserPortfolios = "UserPortfolios",
    PortfolioCustodianChanged = "PortfolioCustodianChanged",
    RangeProofAdded = "RangeProofAdded",
    RangeProofVerified = "RangeProofVerified",
    Scheduled = "Scheduled",
    Canceled = "Canceled",
    Dispatched = "Dispatched",
    MaxDetailsLengthChanged = "MaxDetailsLengthChanged",
    DefaultTargetIdentitiesChanged = "DefaultTargetIdentitiesChanged",
    DefaultWithholdingTaxChanged = "DefaultWithholdingTaxChanged",
    DidWithholdingTaxChanged = "DidWithholdingTaxChanged",
    CaaTransferred = "CAATransferred",
    CaInitiated = "CAInitiated",
    CaLinkedToDoc = "CALinkedToDoc",
    CaRemoved = "CARemoved",
    RecordDateChanged = "RecordDateChanged",
    Created = "Created",
    RangeChanged = "RangeChanged",
    MetaChanged = "MetaChanged",
    RcvChanged = "RCVChanged",
    Removed = "Removed",
    BenefitClaimed = "BenefitClaimed",
    Reclaimed = "Reclaimed",
    MaximumSchedulesComplexityChanged = "MaximumSchedulesComplexityChanged",
    ScheduleCreated = "ScheduleCreated",
    ScheduleRemoved = "ScheduleRemoved",
    GroupCreated = "GroupCreated",
    GroupPermissionsUpdated = "GroupPermissionsUpdated",
    AgentAdded = "AgentAdded",
    AgentRemoved = "AgentRemoved",
    GroupChanged = "GroupChanged",
    AuthorizedPayingKey = "AuthorizedPayingKey",
    AcceptedPayingKey = "AcceptedPayingKey",
    RemovedPayingKey = "RemovedPayingKey",
    UpdatedPolyxLimit = "UpdatedPolyxLimit",
    ItnRewardClaimed = "ItnRewardClaimed",
    CustodyTransfer = "CustodyTransfer",
    CustodyAllowanceChanged = "CustodyAllowanceChanged",
    TreasuryDidSet = "TreasuryDidSet",
    SigningKeysAdded = "SigningKeysAdded",
    SigningKeysRemoved = "SigningKeysRemoved",
    SigningPermissionsUpdated = "SigningPermissionsUpdated",
    MasterKeyUpdated = "MasterKeyUpdated",
    CddRequirementForMasterKeyUpdated = "CddRequirementForMasterKeyUpdated",
    SigningKeysFrozen = "SigningKeysFrozen",
    SigningKeysUnfrozen = "SigningKeysUnfrozen",
    NewAssetRuleCreated = "NewAssetRuleCreated",
    AssetRuleRemoved = "AssetRuleRemoved",
    AssetRulesReplaced = "AssetRulesReplaced",
    AssetRulesReset = "AssetRulesReset",
    AssetRulesResumed = "AssetRulesResumed",
    AssetRulesPaused = "AssetRulesPaused",
    AssetRuleChanged = "AssetRuleChanged"
}
export declare type ExceptDispatchableNames = {
    __typename?: 'ExceptDispatchableNames';
    Except: Array<Scalars['String']>;
};
export declare type ExceptExtrinsicPermissions = {
    __typename?: 'ExceptExtrinsicPermissions';
    Except: Array<PalletPermissions>;
};
export declare type Extrinsic = {
    __typename?: 'Extrinsic';
    /** Extrinsic details */
    block_id: Scalars['Int'];
    nonce?: Maybe<Scalars['Int']>;
    extrinsic_hash?: Maybe<Scalars['String']>;
    extrinsic_idx: Scalars['Int'];
    signed?: Maybe<Scalars['Int']>;
    address?: Maybe<Scalars['String']>;
    module_id: ModuleIdEnum;
    call_id: CallIdEnum;
    params: Array<Maybe<Scalars['Object']>>;
    success: Scalars['Int'];
    spec_version_id: Scalars['Int'];
    signedby_address: Scalars['Int'];
    block?: Maybe<Block>;
};
export declare type ExtrinsicPermissions = WholeExtrinsicPermissions | TheseExtrinsicPermissions | ExceptExtrinsicPermissions;
export declare type ExtrinsicResult = {
    __typename?: 'ExtrinsicResult';
    totalCount: Scalars['Int'];
    items: Array<Extrinsic>;
};
export declare type FailedBlocksResult = {
    __typename?: 'FailedBlocksResult';
    totalCount: Scalars['Int'];
    items?: Maybe<Array<Maybe<Scalars['Int']>>>;
};
export declare type FailedPolyxTransfer = {
    __typename?: 'FailedPolyxTransfer';
    blockId: Scalars['Int'];
    eventIdx: Scalars['Int'];
    fromAccount: Scalars['String'];
    toAccount: Scalars['String'];
    balance: Scalars['Float'];
    description?: Maybe<Scalars['String']>;
};
export declare type FailedTokenTransfer = {
    __typename?: 'FailedTokenTransfer';
    blockId: Scalars['Int'];
    eventIdx: Scalars['Int'];
    ticker: Scalars['String'];
    fromAccount: Scalars['String'];
    toDid: Scalars['String'];
    balance: Scalars['Float'];
    data?: Maybe<Scalars['String']>;
};
export declare type Funding = {
    __typename?: 'Funding';
    /** Funding */
    block_id: Scalars['Int'];
    fundingName: Scalars['String'];
    value: Scalars['String'];
    totalIssuedInFundingRound: Scalars['String'];
};
export declare type FundingResults = {
    __typename?: 'FundingResults';
    totalCount: Scalars['Int'];
    items?: Maybe<Array<Maybe<Funding>>>;
};
export declare type HistoryOfPaymentEventsForCa = {
    __typename?: 'HistoryOfPaymentEventsForCA';
    blockId: Scalars['Int'];
    eventId: Scalars['String'];
    eventIdx: Scalars['Int'];
    eventDid: Scalars['String'];
    datetime: Scalars['DateTime'];
    ticker: Scalars['String'];
    localId: Scalars['Int'];
    balance: Scalars['Float'];
    tax: Scalars['Int'];
};
export declare type HistoryOfPaymentEventsForCaResults = {
    __typename?: 'HistoryOfPaymentEventsForCAResults';
    totalCount: Scalars['Int'];
    items?: Maybe<Array<Maybe<HistoryOfPaymentEventsForCa>>>;
};
export declare type IdentityWithClaims = {
    __typename?: 'IdentityWithClaims';
    did: Scalars['String'];
    claims: Array<Claim>;
};
export declare type IdentityWithClaimsResult = {
    __typename?: 'IdentityWithClaimsResult';
    totalCount: Scalars['Int'];
    items: Array<IdentityWithClaims>;
};
export declare type InstructionIdsForVenueResults = {
    __typename?: 'InstructionIdsForVenueResults';
    items?: Maybe<Array<Scalars['Int']>>;
};
export declare type Investment = {
    __typename?: 'Investment';
    investor: Scalars['String'];
    offeringToken: Scalars['String'];
    raiseToken: Scalars['String'];
    offeringTokenAmount: Scalars['BigInt'];
    raiseTokenAmount: Scalars['BigInt'];
    datetime: Scalars['DateTime'];
};
export declare type InvestmentResult = {
    __typename?: 'InvestmentResult';
    totalCount: Scalars['Int'];
    items?: Maybe<Array<Maybe<Investment>>>;
};
export declare type ItnRewardAction = {
    __typename?: 'ItnRewardAction';
    datetime: Scalars['String'];
    blockId: Scalars['Int'];
    action: ItnRewardActionType;
    points: Scalars['Int'];
};
export declare enum ItnRewardActionType {
    Staking = "Staking",
    Onboarding = "Onboarding",
    PolyxTransfer = "PolyxTransfer",
    SecondaryKey = "SecondaryKey",
    ReserveTokenTicker = "ReserveTokenTicker",
    SecurityToken = "SecurityToken",
    ComplianceRequirement = "ComplianceRequirement",
    TrustedDefaultClaimIssuerAdded = "TrustedDefaultClaimIssuerAdded",
    ClaimAdded = "ClaimAdded",
    DistributeAnAsset = "DistributeAnAsset",
    AcceptATransferFromAnotherUser = "AcceptATransferFromAnotherUser",
    ConfigureAdvancedTokenRules = "ConfigureAdvancedTokenRules",
    CreateSto = "CreateSTO",
    FindInvestors = "FindInvestors",
    PortfolioCreated = "PortfolioCreated",
    AddAssetToAPortfolio = "AddAssetToAPortfolio",
    AddAPortfolioManager = "AddAPortfolioManager",
    TransferAssetFromPortfolio = "TransferAssetFromPortfolio",
    StopStakingAPortion = "StopStakingAPortion",
    StopStakingAnOperator = "StopStakingAnOperator",
    StartStakingANewOperator = "StartStakingANewOperator",
    CreateACorporateAction = "CreateACorporateAction",
    DistributeADividend = "DistributeADividend",
    AcceptADividend = "AcceptADividend",
    CreatePip = "CreatePip",
    VoteOnPip = "VoteOnPip"
}
export declare type ItnRewardRanking = {
    __typename?: 'ItnRewardRanking';
    did: Scalars['String'];
    total: Scalars['Int'];
    rank: Scalars['Int'];
};
export declare type ItnRewardRankingResult = {
    __typename?: 'ItnRewardRankingResult';
    totalCount: Scalars['Int'];
    items?: Maybe<Array<Maybe<ItnRewardRanking>>>;
};
export declare enum ModuleIdEnum {
    System = "system",
    Babe = "babe",
    Timestamp = "timestamp",
    Indices = "indices",
    Balances = "balances",
    Transactionpayment = "transactionpayment",
    Authorship = "authorship",
    Staking = "staking",
    Offences = "offences",
    Session = "session",
    Finalitytracker = "finalitytracker",
    Grandpa = "grandpa",
    Imonline = "imonline",
    Authoritydiscovery = "authoritydiscovery",
    Randomnesscollectiveflip = "randomnesscollectiveflip",
    Historical = "historical",
    Sudo = "sudo",
    Multisig = "multisig",
    Basecontracts = "basecontracts",
    Contracts = "contracts",
    Treasury = "treasury",
    Polymeshcommittee = "polymeshcommittee",
    Committeemembership = "committeemembership",
    Pips = "pips",
    Technicalcommittee = "technicalcommittee",
    Technicalcommitteemembership = "technicalcommitteemembership",
    Upgradecommittee = "upgradecommittee",
    Upgradecommitteemembership = "upgradecommitteemembership",
    Asset = "asset",
    Dividend = "dividend",
    Identity = "identity",
    Bridge = "bridge",
    Compliancemanager = "compliancemanager",
    Externalagents = "externalagents",
    Voting = "voting",
    Stocapped = "stocapped",
    Exemption = "exemption",
    Settlement = "settlement",
    Sto = "sto",
    Cddserviceproviders = "cddserviceproviders",
    Statistics = "statistics",
    Protocolfee = "protocolfee",
    Utility = "utility",
    Portfolio = "portfolio",
    Confidential = "confidential",
    Permissions = "permissions",
    Scheduler = "scheduler",
    Corporateaction = "corporateaction",
    Corporateballot = "corporateballot",
    Capitaldistribution = "capitaldistribution",
    Checkpoint = "checkpoint",
    Testnet = "testnet",
    Rewards = "rewards",
    Relayer = "relayer"
}
export declare enum Order {
    Asc = "ASC",
    Desc = "DESC"
}
export declare type PalletPermissions = {
    __typename?: 'PalletPermissions';
    pallet_name: Scalars['String'];
    dispatchable_names: DispatchableNames;
};
export declare type PolyxTransfer = {
    __typename?: 'PolyxTransfer';
    blockId: Scalars['Int'];
    eventIdx: Scalars['Int'];
    fromDID: Scalars['String'];
    fromAccount: Scalars['String'];
    toDID: Scalars['String'];
    toAccount: Scalars['String'];
    balance: Scalars['Float'];
};
export declare type Portfolio = {
    __typename?: 'Portfolio';
    did: Scalars['String'];
    kind: Scalars['String'];
};
export declare type Proposal = {
    __typename?: 'Proposal';
    /** Proposal */
    blockId: Scalars['Int'];
    proposalId: Scalars['Int'];
    state: ProposalStateEnum;
    identityId: Scalars['String'];
    balance: Scalars['BigInt'];
    url?: Maybe<Scalars['String']>;
    description?: Maybe<Scalars['String']>;
    votesCount: Scalars['Int'];
};
export declare type ProposalOrderByInput = {
    field: ProposalOrderFields;
    order: Order;
};
export declare enum ProposalOrderFields {
    ProposalId = "proposalId",
    VotesCount = "votesCount"
}
export declare type ProposalResult = {
    __typename?: 'ProposalResult';
    totalCount: Scalars['Int'];
    items?: Maybe<Array<Maybe<Proposal>>>;
};
export declare enum ProposalStateEnum {
    All = "All",
    Pending = "Pending",
    Rejected = "Rejected",
    Scheduled = "Scheduled",
    Failed = "Failed",
    Executed = "Executed",
    Expired = "Expired"
}
export declare type ProposalVote = {
    __typename?: 'ProposalVote';
    blockId: Scalars['Int'];
    eventIdx: Scalars['Int'];
    account: Scalars['String'];
    vote: Scalars['CustomBoolean'];
    weight: Scalars['BigInt'];
};
export declare type ProposalVotesOrderByInput = {
    field: ProposalVotesOrderFields;
    order: Order;
};
export declare enum ProposalVotesOrderFields {
    BlockId = "block_id",
    Vote = "vote",
    Weight = "weight"
}
export declare type Query = {
    __typename?: 'Query';
    /** Returns true as a heartbeat */
    heartbeat: Scalars['Boolean'];
    latestBlock: Block;
    /** Get events by moduleId and eventId */
    events?: Maybe<Array<Maybe<Event>>>;
    /** Get staking events by stashAccount, stakingEventIds, fromDate, toDate */
    stakingEvents?: Maybe<StakingEventResult>;
    /** Get settlements where a portfolio is envolved */
    settlements?: Maybe<SettlementResult>;
    /** Get event where trustedClaimIssuer was added */
    eventByAddedTrustedClaimIssuer?: Maybe<Event>;
    /** Get a single event by any of its indexed arguments. If there is more than one result, it returns the most recent by block. */
    eventByIndexedArgs?: Maybe<Event>;
    /** Get events by any of its indexed arguments */
    eventsByIndexedArgs?: Maybe<Array<Maybe<Event>>>;
    /** Get transactions */
    transactions: ExtrinsicResult;
    /** Get transaction by hash */
    transactionByHash?: Maybe<Extrinsic>;
    /** Get all POLYX transfers sent by the given did and/or account */
    polyxTransfersSent: Array<PolyxTransfer>;
    /** Get all dids with at least one claim for a given scope and from one the given trustedClaimIssuers */
    didsWithClaims: IdentityWithClaimsResult;
    /** Get issuer dids with at least one claim for given target */
    issuerDidsWithClaimsByTarget: IdentityWithClaimsResult;
    /** Get all scopes with at least one claim for a given identityId */
    scopesByIdentity: Array<ClaimScope>;
    /** Get all token tickers where given Did is a default Trusted Claim Issuer */
    tokensByTrustedClaimIssuer: Array<Scalars['String']>;
    /** Get all tickers of tokens that were held at some point by the given did */
    tokensHeldByDid: StringResult;
    /** Get all POLYX transfers (send) failed by the given account */
    polyxTransfersFailed: Array<FailedPolyxTransfer>;
    /** Get all POLYX transfers received by the given did and/or account */
    polyxTransfersReceived: Array<PolyxTransfer>;
    /** Get all token transfers received by the given account */
    tokenTransfersReceived: Array<TokenTransfer>;
    /** Get all token transfers sent by the given did */
    tokenTransfersSent: Array<TokenTransfer>;
    /** Get all authorizations with their status optionally filtered by did, account key or type */
    authorizations: Array<Authorization>;
    /** Get a proposal by its pipId */
    proposal: Proposal;
    /** Fetch governance proposals */
    proposals?: Maybe<ProposalResult>;
    /** Get the current voters list for given pipId */
    proposalVotes: Array<ProposalVote>;
    /** Get investments related to sto id */
    investments?: Maybe<InvestmentResult>;
    /** Get Bridged event by Ethereum transaction hash */
    bridgedEventByTxHash?: Maybe<Event>;
    getWithholdingTaxesOfCA?: Maybe<WithholdingTaxesOfCa>;
    getHistoryOfPaymentEventsForCA: HistoryOfPaymentEventsForCaResults;
    getFundings?: Maybe<FundingResults>;
    getItnRewardRankings?: Maybe<ItnRewardRankingResult>;
    getDidItnRewardRanking?: Maybe<Array<Maybe<ItnRewardRanking>>>;
    getDidItnRewardActions?: Maybe<DidItnRewardActions>;
    updateItnRewardRankings: Scalars['Boolean'];
    getFailedBlocks?: Maybe<FailedBlocksResult>;
    tickerExternalAgentAdded?: Maybe<TickerExternalAgentAddedResult>;
    tickerExternalAgentHistory: Array<AgentHistory>;
    tickerExternalAgentActions: TickerExternalAgentActionsResult;
};
export declare type QueryEventsArgs = {
    moduleId: ModuleIdEnum;
    eventId: EventIdEnum;
    fromBlock: Scalars['Int'];
    toBlock: Scalars['Int'];
};
export declare type QueryStakingEventsArgs = {
    stashAccount?: Maybe<Scalars['String']>;
    stakingEventIds?: Maybe<Array<Maybe<StakingEventIdEnum>>>;
    fromDate: Scalars['DateTime'];
    toDate: Scalars['DateTime'];
    count?: Maybe<Scalars['Int']>;
    skip?: Maybe<Scalars['Int']>;
    order?: Maybe<Order>;
};
export declare type QuerySettlementsArgs = {
    identityId: Scalars['String'];
    portfolioNumber?: Maybe<Scalars['String']>;
    addressFilter?: Maybe<Scalars['String']>;
    tickerFilter?: Maybe<Scalars['String']>;
    count?: Maybe<Scalars['Int']>;
    skip?: Maybe<Scalars['Int']>;
};
export declare type QueryEventByAddedTrustedClaimIssuerArgs = {
    ticker: Scalars['String'];
    identityId: Scalars['String'];
};
export declare type QueryEventByIndexedArgsArgs = {
    moduleId: ModuleIdEnum;
    eventId: EventIdEnum;
    eventArg0?: Maybe<Scalars['String']>;
    eventArg1?: Maybe<Scalars['String']>;
    eventArg2?: Maybe<Scalars['String']>;
};
export declare type QueryEventsByIndexedArgsArgs = {
    moduleId: ModuleIdEnum;
    eventId: EventIdEnum;
    eventArg0?: Maybe<Scalars['String']>;
    eventArg1?: Maybe<Scalars['String']>;
    eventArg2?: Maybe<Scalars['String']>;
    count?: Maybe<Scalars['Int']>;
    skip?: Maybe<Scalars['Int']>;
};
export declare type QueryTransactionsArgs = {
    block_id?: Maybe<Scalars['Int']>;
    address?: Maybe<Scalars['String']>;
    module_id?: Maybe<ModuleIdEnum>;
    call_id?: Maybe<CallIdEnum>;
    success?: Maybe<Scalars['Boolean']>;
    count?: Maybe<Scalars['Int']>;
    skip?: Maybe<Scalars['Int']>;
    orderBy?: Maybe<TransactionOrderByInput>;
};
export declare type QueryTransactionByHashArgs = {
    transactionHash?: Maybe<Scalars['String']>;
};
export declare type QueryPolyxTransfersSentArgs = {
    did?: Maybe<Scalars['String']>;
    account?: Maybe<Scalars['String']>;
    count?: Maybe<Scalars['Int']>;
    skip?: Maybe<Scalars['Int']>;
};
export declare type QueryDidsWithClaimsArgs = {
    dids?: Maybe<Array<Scalars['String']>>;
    scope?: Maybe<ScopeInput>;
    trustedClaimIssuers?: Maybe<Array<Scalars['String']>>;
    claimTypes?: Maybe<Array<ClaimTypeEnum>>;
    includeExpired?: Maybe<Scalars['Boolean']>;
    count?: Maybe<Scalars['Int']>;
    skip?: Maybe<Scalars['Int']>;
};
export declare type QueryIssuerDidsWithClaimsByTargetArgs = {
    target: Scalars['String'];
    scope?: Maybe<ScopeInput>;
    trustedClaimIssuers?: Maybe<Array<Scalars['String']>>;
    claimTypes?: Maybe<Array<ClaimTypeEnum>>;
    includeExpired?: Maybe<Scalars['Boolean']>;
    count?: Maybe<Scalars['Int']>;
    skip?: Maybe<Scalars['Int']>;
};
export declare type QueryScopesByIdentityArgs = {
    did: Scalars['String'];
};
export declare type QueryTokensByTrustedClaimIssuerArgs = {
    claimIssuerDid: Scalars['String'];
    order?: Maybe<Order>;
};
export declare type QueryTokensHeldByDidArgs = {
    did: Scalars['String'];
    count?: Maybe<Scalars['Int']>;
    skip?: Maybe<Scalars['Int']>;
    order?: Maybe<Order>;
};
export declare type QueryPolyxTransfersFailedArgs = {
    account: Scalars['String'];
    count?: Maybe<Scalars['Int']>;
    skip?: Maybe<Scalars['Int']>;
};
export declare type QueryPolyxTransfersReceivedArgs = {
    did?: Maybe<Scalars['String']>;
    account?: Maybe<Scalars['String']>;
    count?: Maybe<Scalars['Int']>;
    skip?: Maybe<Scalars['Int']>;
};
export declare type QueryTokenTransfersReceivedArgs = {
    did: Scalars['String'];
    count?: Maybe<Scalars['Int']>;
    skip?: Maybe<Scalars['Int']>;
};
export declare type QueryTokenTransfersSentArgs = {
    did: Scalars['String'];
    count?: Maybe<Scalars['Int']>;
    skip?: Maybe<Scalars['Int']>;
};
export declare type QueryAuthorizationsArgs = {
    did?: Maybe<Scalars['String']>;
    accountKey?: Maybe<Scalars['String']>;
    authorizationTypes?: Maybe<Array<AuthTypeEnum>>;
    count?: Maybe<Scalars['Int']>;
    skip?: Maybe<Scalars['Int']>;
};
export declare type QueryProposalArgs = {
    pipId: Scalars['Int'];
};
export declare type QueryProposalsArgs = {
    state?: Maybe<ProposalStateEnum>;
    snapshot?: Maybe<SnapshotEnum>;
    count?: Maybe<Scalars['Int']>;
    skip?: Maybe<Scalars['Int']>;
    orderBy?: Maybe<ProposalOrderByInput>;
};
export declare type QueryProposalVotesArgs = {
    pipId: Scalars['Int'];
    vote?: Maybe<Scalars['Boolean']>;
    count?: Maybe<Scalars['Int']>;
    skip?: Maybe<Scalars['Int']>;
    orderBy?: Maybe<ProposalVotesOrderByInput>;
};
export declare type QueryInvestmentsArgs = {
    stoId: Scalars['Int'];
    ticker: Scalars['String'];
    count?: Maybe<Scalars['Int']>;
    skip?: Maybe<Scalars['Int']>;
};
export declare type QueryBridgedEventByTxHashArgs = {
    ethTransactionHash: Scalars['String'];
};
export declare type QueryGetWithholdingTaxesOfCaArgs = {
    CAId: CaId;
    fromDate?: Maybe<Scalars['DateTime']>;
    toDate?: Maybe<Scalars['DateTime']>;
};
export declare type QueryGetHistoryOfPaymentEventsForCaArgs = {
    CAId: CaId;
    fromDate?: Maybe<Scalars['DateTime']>;
    toDate?: Maybe<Scalars['DateTime']>;
    count?: Maybe<Scalars['Int']>;
    skip?: Maybe<Scalars['Int']>;
};
export declare type QueryGetFundingsArgs = {
    ticker: Scalars['String'];
    fundingName?: Maybe<Scalars['String']>;
    count?: Maybe<Scalars['Int']>;
    skip?: Maybe<Scalars['Int']>;
};
export declare type QueryGetItnRewardRankingsArgs = {
    count?: Maybe<Scalars['Int']>;
    skip?: Maybe<Scalars['Int']>;
};
export declare type QueryGetDidItnRewardRankingArgs = {
    did: Scalars['String'];
    neighborRange?: Maybe<Scalars['Int']>;
};
export declare type QueryGetDidItnRewardActionsArgs = {
    did: Scalars['String'];
    count?: Maybe<Scalars['Int']>;
    skip?: Maybe<Scalars['Int']>;
    groupByAction?: Maybe<Scalars['Boolean']>;
};
export declare type QueryGetFailedBlocksArgs = {
    count?: Maybe<Scalars['Int']>;
    skip?: Maybe<Scalars['Int']>;
};
export declare type QueryTickerExternalAgentAddedArgs = {
    ticker: Scalars['String'];
    agentDID: Scalars['String'];
};
export declare type QueryTickerExternalAgentHistoryArgs = {
    ticker: Scalars['String'];
};
export declare type QueryTickerExternalAgentActionsArgs = {
    ticker: Scalars['String'];
    caller_did?: Maybe<Scalars['String']>;
    pallet_name?: Maybe<ModuleIdEnum>;
    event_id?: Maybe<EventIdEnum>;
    max_block?: Maybe<Scalars['Int']>;
    count?: Maybe<Scalars['Int']>;
    skip?: Maybe<Scalars['Int']>;
    order?: Maybe<Order>;
};
export declare type Scope = {
    __typename?: 'Scope';
    type: ClaimScopeTypeEnum;
    value: Scalars['String'];
};
export declare type ScopeInput = {
    type: ClaimScopeTypeEnum;
    value: Scalars['String'];
};
export declare type Settlement = {
    __typename?: 'Settlement';
    /** Settlement */
    block_id: Scalars['Int'];
    result: SettlementResultEnum;
    addresses?: Maybe<Array<Scalars['String']>>;
    legs: Array<Maybe<SettlementLeg>>;
};
export declare enum SettlementDirectionEnum {
    None = "None",
    Incoming = "Incoming",
    Outgoing = "Outgoing"
}
export declare type SettlementLeg = {
    __typename?: 'SettlementLeg';
    /** SettlementLeg */
    ticker: Scalars['String'];
    amount: Scalars['String'];
    direction: SettlementDirectionEnum;
    from: Portfolio;
    to: Portfolio;
};
export declare type SettlementResult = {
    __typename?: 'SettlementResult';
    totalCount: Scalars['Int'];
    items?: Maybe<Array<Maybe<Settlement>>>;
};
export declare enum SettlementResultEnum {
    None = "None",
    Executed = "Executed",
    Failed = "Failed",
    Rejected = "Rejected"
}
export declare enum SnapshotEnum {
    All = "All",
    InSnapshot = "InSnapshot",
    NotInSnapshot = "NotInSnapshot"
}
export declare type StakingEvent = {
    __typename?: 'StakingEvent';
    date?: Maybe<Scalars['DateTime']>;
    blockId?: Maybe<Scalars['BigInt']>;
    transactionId?: Maybe<Scalars['String']>;
    eventId?: Maybe<StakingEventIdEnum>;
    identityId?: Maybe<Scalars['String']>;
    stashAccount?: Maybe<Scalars['String']>;
    amount?: Maybe<Scalars['BigInt']>;
    nominatedValidators?: Maybe<Array<Maybe<Scalars['String']>>>;
};
export declare enum StakingEventIdEnum {
    Bonded = "Bonded",
    Unbonded = "Unbonded",
    Rebond = "Rebond",
    WithdrawUnbonded = "WithdrawUnbonded",
    Nominated = "Nominated",
    Reward = "Reward",
    Slash = "Slash"
}
export declare type StakingEventResult = {
    __typename?: 'StakingEventResult';
    totalCount: Scalars['Int'];
    items?: Maybe<Array<Maybe<StakingEvent>>>;
};
export declare type StringResult = {
    __typename?: 'StringResult';
    totalCount: Scalars['Int'];
    items: Array<Scalars['String']>;
};
export declare type TheseDispatchableNames = {
    __typename?: 'TheseDispatchableNames';
    These: Array<Scalars['String']>;
};
export declare type TheseExtrinsicPermissions = {
    __typename?: 'TheseExtrinsicPermissions';
    These: Array<PalletPermissions>;
};
export declare type TickerExternalAgentAction = {
    __typename?: 'TickerExternalAgentAction';
    datetime: Scalars['DateTime'];
    block_id: Scalars['Int'];
    event_idx: Scalars['Int'];
    pallet_name: ModuleIdEnum;
    event_id: EventIdEnum;
    caller_did: Scalars['String'];
};
export declare type TickerExternalAgentActionsResult = {
    __typename?: 'TickerExternalAgentActionsResult';
    totalCount: Scalars['Int'];
    items: Array<TickerExternalAgentAction>;
};
export declare type TickerExternalAgentAddedResult = {
    __typename?: 'TickerExternalAgentAddedResult';
    time: Scalars['DateTime'];
    blockId: Scalars['Int'];
    eventIndex: Scalars['Int'];
};
export declare type TokenTransfer = {
    __typename?: 'TokenTransfer';
    callerDID: Scalars['String'];
    ticker: Scalars['String'];
    fromDID: Scalars['String'];
    toDID: Scalars['String'];
    balance: Scalars['Float'];
    blockId: Scalars['Int'];
    eventIdx: Scalars['Int'];
};
export declare type TransactionOrderByInput = {
    field: TransactionOrderFields;
    order: Order;
};
export declare enum TransactionOrderFields {
    BlockId = "block_id",
    Address = "address",
    ModuleId = "module_id",
    CallId = "call_id"
}
export declare type VoteResult = {
    __typename?: 'VoteResult';
    ayes: Array<Scalars['String']>;
    nays: Array<Scalars['String']>;
};
export declare type WholeDispatchableNames = {
    __typename?: 'WholeDispatchableNames';
    Whole?: Maybe<Scalars['Boolean']>;
};
export declare type WholeExtrinsicPermissions = {
    __typename?: 'WholeExtrinsicPermissions';
    Whole?: Maybe<Scalars['Boolean']>;
};
export declare type WithholdingTaxesOfCa = {
    __typename?: 'WithholdingTaxesOfCA';
    taxes: Scalars['Float'];
};
//# sourceMappingURL=types.d.ts.map