import type { Bytes, Option, Vec, bool, u32, u64 } from '@polkadot/types'; import type { ITuple } from '@polkadot/types/types'; import type { BalanceStatus } from '@polkadot/types/interfaces/balances'; import type { EthereumAddress } from '@polkadot/types/interfaces/claims'; import type { MemberCount, ProposalIndex } from '@polkadot/types/interfaces/collective'; import type { AuthorityId } from '@polkadot/types/interfaces/consensus'; import type { AuthorityList } from '@polkadot/types/interfaces/grandpa'; import type { Kind, OpaqueTimeSlot } from '@polkadot/types/interfaces/offences'; import type { AccountId, AccountIndex, Balance, BlockNumber, Hash, Moment, Perbill, PhantomData } from '@polkadot/types/interfaces/runtime'; import type { TaskAddress } from '@polkadot/types/interfaces/scheduler'; import type { IdentificationTuple, SessionIndex } from '@polkadot/types/interfaces/session'; import type { ElectionCompute, EraIndex } from '@polkadot/types/interfaces/staking'; import type { DispatchError, DispatchInfo, DispatchResult } from '@polkadot/types/interfaces/system'; import type { AGId, AgentGroup, AssetIdentifier, AssetName, AssetType, AuthorizationData, BallotMeta, BallotTimeRange, BallotVote, BridgeTx, CADetails, CAId, CheckpointId, ComplianceRequirement, CorporateAction, CustomAssetTypeId, Distribution, Document, DocumentId, ErrorAt, EventCounts, EventDid, ExtrinsicPermissions, FundingRoundName, Fundraiser, FundraiserId, FundraiserName, HandledTxStatus, IdentityClaim, IdentityId, InstructionId, InvestorUid, Leg, LegId, MaybeBlock, Memo, Permissions, PipDescription, PipId, PortfolioId, PortfolioName, PortfolioNumber, PosRatio, ProposalData, ProposalState, Proposer, ReceiptMetadata, ScopeId, SecondaryKey, SettlementType, Signatory, SkippedCount, SlashingSwitch, SnapshotId, SnapshottedPip, StoredSchedule, TargetIdentities, Tax, Ticker, TransferManager, TrustedIssuer, Url, VenueDetails, VenueId, VenueType } from "./polymesh"; import type { ApiTypes } from '@polkadot/api/types'; declare module '@polkadot/api/types/events' { interface AugmentedEvents { asset: { /** * Event for creation of the asset. * caller DID/ owner DID, ticker, divisibility, asset type, beneficiary DID, disable investor uniqueness **/ AssetCreated: AugmentedEvent; /** * An event emitted when an asset is frozen. * Parameter: caller DID, ticker. **/ AssetFrozen: AugmentedEvent; /** * Emit when token ownership is transferred. * caller DID / token ownership transferred to DID, ticker, from **/ AssetOwnershipTransferred: AugmentedEvent; /** * An event emitted when a token is renamed. * Parameters: caller DID, ticker, new token name. **/ AssetRenamed: AugmentedEvent; /** * An event emitted when an asset is unfrozen. * Parameter: caller DID, ticker. **/ AssetUnfrozen: AugmentedEvent; /** * A Polymath Classic token was claimed and transferred to a non-systematic DID. **/ ClassicTickerClaimed: AugmentedEvent; /** * Event for when a forced transfer takes place. * caller DID/ controller DID, ticker, Portfolio of token holder, value. **/ ControllerTransfer: AugmentedEvent; /** * A custom asset type already exists on-chain. * caller DID, the ID of the custom asset type, the string contents registered. **/ CustomAssetTypeExists: AugmentedEvent; /** * A custom asset type was registered on-chain. * caller DID, the ID of the custom asset type, the string contents registered. **/ CustomAssetTypeRegistered: AugmentedEvent; /** * Event for change in divisibility. * caller DID, ticker, divisibility **/ DivisibilityChanged: AugmentedEvent; /** * A new document attached to an asset **/ DocumentAdded: AugmentedEvent; /** * A document removed from an asset **/ DocumentRemoved: AugmentedEvent; /** * A extension got removed. * caller DID, ticker, AccountId **/ ExtensionRemoved: AugmentedEvent; /** * An event carrying the name of the current funding round of a ticker. * Parameters: caller DID, ticker, funding round name. **/ FundingRoundSet: AugmentedEvent; /** * Event emitted when any token identifiers are updated. * caller DID, ticker, a vector of (identifier type, identifier value) **/ IdentifiersUpdated: AugmentedEvent]>; /** * is_issuable() output * ticker, return value (true if issuable) **/ IsIssuable: AugmentedEvent; /** * Emit when tokens get issued. * caller DID, ticker, beneficiary DID, value, funding round, total issued in this funding round **/ Issued: AugmentedEvent; /** * Emit when tokens get redeemed. * caller DID, ticker, from DID, value **/ Redeemed: AugmentedEvent; /** * Emit when ticker is registered. * caller DID / ticker owner did, ticker, ticker owner, expiry **/ TickerRegistered: AugmentedEvent]>; /** * Emit when ticker is transferred. * caller DID / ticker transferred to DID, ticker, from **/ TickerTransferred: AugmentedEvent; /** * Event for transfer of tokens. * caller DID, ticker, from portfolio, to portfolio, value **/ Transfer: AugmentedEvent; /** * An additional event to Transfer; emitted when `transfer_with_data` is called. * caller DID , ticker, from DID, to DID, value, data **/ TransferWithData: AugmentedEvent; }; balances: { /** * The account and the amount of unlocked balance of that account that was burned. * (caller Id, caller account, amount) **/ AccountBalanceBurned: AugmentedEvent; /** * A balance was set by root (did, who, free, reserved). **/ BalanceSet: AugmentedEvent; /** * An account was created with some free balance. \[did, account, free_balance] **/ Endowed: AugmentedEvent, AccountId, Balance]>; /** * Some balance was reserved (moved from free to reserved). \[who, value] **/ Reserved: AugmentedEvent; /** * Some balance was moved from the reserve of the first account to the second account. * Final argument indicates the destination balance type. * \[from, to, balance, destination_status] **/ ReserveRepatriated: AugmentedEvent; /** * Transfer succeeded (from_did, from, to_did, to, value, memo). **/ Transfer: AugmentedEvent, AccountId, Option, AccountId, Balance, Option ]>; /** * Some balance was unreserved (moved from reserved to free). \[who, value] **/ Unreserved: AugmentedEvent; }; base: { /** * An unexpected error happened that should be investigated. **/ UnexpectedError: AugmentedEvent]>; }; bridge: { /** * Confirmation of Admin change. **/ AdminChanged: AugmentedEvent; /** * Confirmation of POLYX upgrade on Polymesh from POLY tokens on Ethereum. **/ Bridged: AugmentedEvent; /** * Bridge limit has been updated. **/ BridgeLimitUpdated: AugmentedEvent; /** * Bridge Tx Scheduled. **/ BridgeTxScheduled: AugmentedEvent; /** * Failed to schedule Bridge Tx. **/ BridgeTxScheduleFailed: AugmentedEvent; /** * Confirmation of a signer set change. **/ ControllerChanged: AugmentedEvent; /** * Exemption status of an identity has been updated. **/ ExemptedUpdated: AugmentedEvent; /** * A new freeze admin has been added. **/ FreezeAdminAdded: AugmentedEvent; /** * A freeze admin has been removed. **/ FreezeAdminRemoved: AugmentedEvent; /** * Notification of freezing the bridge. **/ Frozen: AugmentedEvent; /** * Notification of freezing a transaction. **/ FrozenTx: AugmentedEvent; /** * Confirmation of default timelock change. **/ TimelockChanged: AugmentedEvent; /** * Notification of removing a transaction. **/ TxRemoved: AugmentedEvent; /** * An event emitted after a vector of transactions is handled. The parameter is a vector of * tuples of recipient account, its nonce, and the status of the processed transaction. **/ TxsHandled: AugmentedEvent>]>; /** * Notification of unfreezing the bridge. **/ Unfrozen: AugmentedEvent; /** * Notification of unfreezing a transaction. **/ UnfrozenTx: AugmentedEvent; }; capitalDistribution: { /** * A token holder's benefit of a capital distribution for the given `CAId` was claimed. * * (Caller DID, Holder/Claimant DID, CA's ID, updated distribution details, DID's benefit, DID's tax %) **/ BenefitClaimed: AugmentedEvent; /** * A capital distribution, with details included, * was created by the DID (permissioned agent) for the CA identified by `CAId`. * * (Agent DID, CA's ID, distribution details) **/ Created: AugmentedEvent; /** * Stats from `push_benefit` was emitted. * * (Agent DID, CA's ID, max requested DIDs, processed DIDs, failed DIDs) **/ Reclaimed: AugmentedEvent; /** * A capital distribution was removed. * * (Agent DID, CA's ID) **/ Removed: AugmentedEvent; }; cddServiceProviders: { /** * The limit of how many active members there can be concurrently was changed. **/ ActiveLimitChanged: AugmentedEvent; /** * Phantom member, never used. **/ Dummy: AugmentedEvent; /** * The given member was added; see the transaction for who. * caller DID, New member DID. **/ MemberAdded: AugmentedEvent; /** * The given member was removed; see the transaction for who. * caller DID, member DID that get removed. **/ MemberRemoved: AugmentedEvent; /** * The given member has been revoked at specific time-stamp. * caller DID, member DID that get revoked. **/ MemberRevoked: AugmentedEvent; /** * The membership was reset; see the transaction for who the new set is. * caller DID, List of new members. **/ MembersReset: AugmentedEvent]>; /** * Two members were swapped; see the transaction for who. * caller DID, Removed DID, New add DID. **/ MembersSwapped: AugmentedEvent; }; checkpoint: { /** * A checkpoint was created. * * (caller DID, ticker, checkpoint ID, total supply, checkpoint timestamp) **/ CheckpointCreated: AugmentedEvent, Ticker, CheckpointId, Balance, Moment ]>; /** * The maximum complexity for an arbitrary ticker's schedule set was changed. * * (GC DID, the new maximum) **/ MaximumSchedulesComplexityChanged: AugmentedEvent; /** * A checkpoint schedule was created. * * (caller DID, ticker, schedule) **/ ScheduleCreated: AugmentedEvent; /** * A checkpoint schedule was removed. * * (caller DID, ticker, schedule) **/ ScheduleRemoved: AugmentedEvent; }; committeeMembership: { /** * The limit of how many active members there can be concurrently was changed. **/ ActiveLimitChanged: AugmentedEvent; /** * Phantom member, never used. **/ Dummy: AugmentedEvent; /** * The given member was added; see the transaction for who. * caller DID, New member DID. **/ MemberAdded: AugmentedEvent; /** * The given member was removed; see the transaction for who. * caller DID, member DID that get removed. **/ MemberRemoved: AugmentedEvent; /** * The given member has been revoked at specific time-stamp. * caller DID, member DID that get revoked. **/ MemberRevoked: AugmentedEvent; /** * The membership was reset; see the transaction for who the new set is. * caller DID, List of new members. **/ MembersReset: AugmentedEvent]>; /** * Two members were swapped; see the transaction for who. * caller DID, Removed DID, New add DID. **/ MembersSwapped: AugmentedEvent; }; complianceManager: { /** * Emitted when an asset compliance for a given ticker gets paused. * (caller DID, Ticker). **/ AssetCompliancePaused: AugmentedEvent; /** * Emitted when an asset compliance is replaced. * Parameters: caller DID, ticker, new asset compliance. **/ AssetComplianceReplaced: AugmentedEvent ]>; /** * Emitted when an asset compliance of a ticker is reset. * (caller DID, Ticker). **/ AssetComplianceReset: AugmentedEvent; /** * Emitted when an asset compliance for a given ticker gets resume. * (caller DID, Ticker). **/ AssetComplianceResumed: AugmentedEvent; /** * Emitted when compliance requirement get modified/change. * (caller DID, Ticker, ComplianceRequirement). **/ ComplianceRequirementChanged: AugmentedEvent; /** * Emitted when new compliance requirement is created. * (caller DID, Ticker, ComplianceRequirement). **/ ComplianceRequirementCreated: AugmentedEvent; /** * Emitted when a compliance requirement is removed. * (caller DID, Ticker, requirement_id). **/ ComplianceRequirementRemoved: AugmentedEvent; /** * Emitted when default claim issuer list for a given ticker gets added. * (caller DID, Ticker, Added TrustedIssuer). **/ TrustedDefaultClaimIssuerAdded: AugmentedEvent; /** * Emitted when default claim issuer list for a given ticker get removed. * (caller DID, Ticker, Removed TrustedIssuer). **/ TrustedDefaultClaimIssuerRemoved: AugmentedEvent; }; corporateAction: { /** * A new DID was made the CAA. * (New CAA DID, Ticker, New CAA DID). **/ CAATransferred: AugmentedEvent; /** * A CA was initiated. * (Agent DID, CA id, the CA, the CA details) **/ CAInitiated: AugmentedEvent; /** * A CA was linked to a set of docs. * (Agent DID, CA Id, List of doc identifiers) **/ CALinkedToDoc: AugmentedEvent]>; /** * A CA was removed. * (Agent DID, CA Id) **/ CARemoved: AugmentedEvent; /** * The set of default `TargetIdentities` for a ticker changed. * (Agent DID, Ticker, New TargetIdentities) **/ DefaultTargetIdentitiesChanged: AugmentedEvent; /** * The default withholding tax for a ticker changed. * (Agent DID, Ticker, New Tax). **/ DefaultWithholdingTaxChanged: AugmentedEvent; /** * The withholding tax specific to a DID for a ticker changed. * (Agent DID, Ticker, Taxed DID, New Tax). **/ DidWithholdingTaxChanged: AugmentedEvent ]>; /** * The maximum length of `details` in bytes was changed. * (GC DID, new length) **/ MaxDetailsLengthChanged: AugmentedEvent; /** * A CA's record date changed. **/ RecordDateChanged: AugmentedEvent; }; corporateBallot: { /** * A corporate ballot was created. * * (Agent DID, CA's ID, Voting start/end, Ballot metadata, RCV enabled?) **/ Created: AugmentedEvent; /** * A corporate ballot changed its metadata. * * (Agent DID, CA's ID, New metadata) **/ MetaChanged: AugmentedEvent; /** * A corporate ballot changed its start/end date range. * * (Agent DID, CA's ID, Voting start/end) **/ RangeChanged: AugmentedEvent; /** * A corporate ballot changed its RCV support. * * (Agent DID, CA's ID, New support) **/ RCVChanged: AugmentedEvent; /** * A corporate ballot was removed. * * (Agent DID, CA's ID) **/ Removed: AugmentedEvent; /** * A vote was cast in a corporate ballot. * * (voter DID, CAId, Votes) **/ VoteCast: AugmentedEvent]>; }; externalAgents: { /** * An agent was added. * * (Caller/Agent DID, Agent's ticker, Agent's group) **/ AgentAdded: AugmentedEvent; /** * An agent was removed. * * (Caller DID, Agent's ticker, Agent's DID) **/ AgentRemoved: AugmentedEvent; /** * An agent's group was changed. * * (Caller DID, Agent's ticker, Agent's DID, The new group of the agent) **/ GroupChanged: AugmentedEvent; /** * An Agent Group was created. * * (Caller DID, AG's ticker, AG's ID, AG's permissions) **/ GroupCreated: AugmentedEvent; /** * An Agent Group's permissions was updated. * * (Caller DID, AG's ticker, AG's ID, AG's new permissions) **/ GroupPermissionsUpdated: AugmentedEvent; }; grandpa: { /** * New authority set has been applied. \[authority_set\] **/ NewAuthorities: AugmentedEvent; /** * Current authority set has been paused. **/ Paused: AugmentedEvent; /** * Current authority set has been resumed. **/ Resumed: AugmentedEvent; }; identity: { /** * Asset DID **/ AssetDidRegistered: AugmentedEvent; /** * New authorization added. * (authorised_by, target_did, target_key, auth_id, authorization_data, expiry) **/ AuthorizationAdded: AugmentedEvent, Option, u64, AuthorizationData, Option ]>; /** * Authorization consumed. * (authorized_identity, authorized_key, auth_id) **/ AuthorizationConsumed: AugmentedEvent, Option, u64]>; /** * Authorization rejected by the user who was authorized. * (authorized_identity, authorized_key, auth_id) **/ AuthorizationRejected: AugmentedEvent, Option, u64]>; /** * Authorization revoked by the authorizer. * (authorized_identity, authorized_key, auth_id) **/ AuthorizationRevoked: AugmentedEvent, Option, u64]>; /** * CDD claims generated by `IdentityId` (a CDD Provider) have been invalidated from * `Moment`. **/ CddClaimsInvalidated: AugmentedEvent; /** * CDD requirement for updating primary key changed. (new_requirement) **/ CddRequirementForPrimaryKeyUpdated: AugmentedEvent; /** * DID, claims **/ ClaimAdded: AugmentedEvent; /** * DID, ClaimType, Claim Issuer **/ ClaimRevoked: AugmentedEvent; /** * DID, primary key account ID, secondary keys **/ DidCreated: AugmentedEvent]>; /** * Mocked InvestorUid created. **/ MockInvestorUIDCreated: AugmentedEvent; /** * Off-chain Authorization has been revoked. * (Target Identity, Signatory) **/ OffChainAuthorizationRevoked: AugmentedEvent; /** * DID, old primary key account ID, new ID **/ PrimaryKeyUpdated: AugmentedEvent; /** * DID, updated secondary key, previous permissions, new permissions **/ SecondaryKeyPermissionsUpdated: AugmentedEvent; /** * DID, new keys **/ SecondaryKeysAdded: AugmentedEvent]>; /** * All Secondary keys of the identity ID are frozen. **/ SecondaryKeysFrozen: AugmentedEvent; /** * DID, the keys that got removed **/ SecondaryKeysRemoved: AugmentedEvent]>; /** * All Secondary keys of the identity ID are unfrozen. **/ SecondaryKeysUnfrozen: AugmentedEvent; /** * A signer left their identity. (did, signer) **/ SignerLeft: AugmentedEvent; }; imOnline: { /** * At the end of the session, no offence was committed. **/ AllGood: AugmentedEvent; /** * A new heartbeat was received from `AuthorityId` \[authority_id\] **/ HeartbeatReceived: AugmentedEvent; /** * At the end of the session, at least one validator was found to be \[offline\]. **/ SomeOffline: AugmentedEvent]>; }; indices: { /** * A account index was assigned. \[index, who\] **/ IndexAssigned: AugmentedEvent; /** * A account index has been freed up (unassigned). \[index\] **/ IndexFreed: AugmentedEvent; /** * A account index has been frozen to its current account ID. \[index, who\] **/ IndexFrozen: AugmentedEvent; }; multiSig: { /** * Event emitted after creation of a multisig. * Arguments: caller DID, multisig address, signers (pending approval), signatures required. **/ MultiSigCreated: AugmentedEvent, u64 ]>; /** * Event emitted when the number of required signatures is changed. * Arguments: caller DID, multisig, new required signatures. **/ MultiSigSignaturesRequiredChanged: AugmentedEvent; /** * Event emitted when a signatory is added. * Arguments: caller DID, multisig, added signer. **/ MultiSigSignerAdded: AugmentedEvent; /** * Event emitted when a multisig signatory is authorized to be added. * Arguments: caller DID, multisig, authorized signer. **/ MultiSigSignerAuthorized: AugmentedEvent; /** * Event emitted when a multisig signatory is removed. * Arguments: caller DID, multisig, removed signer. **/ MultiSigSignerRemoved: AugmentedEvent; /** * Event emitted after adding a proposal. * Arguments: caller DID, multisig, proposal ID. **/ ProposalAdded: AugmentedEvent; /** * Event emitted when the proposal get approved. * Arguments: caller DID, multisig, authorized signer, proposal id. **/ ProposalApproved: AugmentedEvent; /** * Event emitted when a proposal is executed. * Arguments: caller DID, multisig, proposal ID, result. **/ ProposalExecuted: AugmentedEvent; /** * Event emitted when there's an error in proposal execution **/ ProposalExecutionFailed: AugmentedEvent; /** * Event emitted when a proposal is rejected. * Arguments: caller DID, multisig, proposal ID. **/ ProposalRejected: AugmentedEvent; /** * Event emitted when a vote is cast in favor of rejecting a proposal. * Arguments: caller DID, multisig, authorized signer, proposal id. **/ ProposalRejectionVote: AugmentedEvent; /** * Scheduling of proposal fails. **/ SchedulingFailed: AugmentedEvent; }; offences: { /** * There is an offence reported of the given `kind` happened at the `session_index` and * (kind-specific) time slot. This event is not deposited for duplicate slashes. last * element indicates of the offence was applied (true) or queued (false) * \[kind, timeslot, applied\]. **/ Offence: AugmentedEvent; }; pips: { /** * The maximum number of active PIPs was changed. * (caller DID, old value, new value) **/ ActivePipLimitChanged: AugmentedEvent; /** * Default enactment period (in blocks) has been changed. * (caller DID, old period, new period) **/ DefaultEnactmentPeriodChanged: AugmentedEvent; /** * Cancelling the PIP execution failed in the scheduler pallet. **/ ExecutionCancellingFailed: AugmentedEvent; /** * Execution of a PIP has been scheduled at specific block. **/ ExecutionScheduled: AugmentedEvent; /** * Scheduling of the PIP for execution failed in the scheduler pallet. **/ ExecutionSchedulingFailed: AugmentedEvent; /** * The PIP has been scheduled for expiry. **/ ExpiryScheduled: AugmentedEvent; /** * Scheduling of the PIP for expiry failed in the scheduler pallet. **/ ExpirySchedulingFailed: AugmentedEvent; /** * Pruning Historical PIPs is enabled or disabled (caller DID, old value, new value) **/ HistoricalPipsPruned: AugmentedEvent; /** * The maximum times a PIP can be skipped was changed. * (caller DID, old value, new value) **/ MaxPipSkipCountChanged: AugmentedEvent; /** * Minimum deposit amount modified * (caller DID, old amount, new amount) **/ MinimumProposalDepositChanged: AugmentedEvent; /** * Amount of blocks after which a pending PIP expires. * (caller DID, old expiry, new expiry) **/ PendingPipExpiryChanged: AugmentedEvent; /** * Pip has been closed, bool indicates whether data is pruned **/ PipClosed: AugmentedEvent; /** * A PIP in the snapshot queue was skipped. * (gc_did, pip_id, new_skip_count) **/ PipSkipped: AugmentedEvent; /** * A PIP was made with a `Balance` stake. * * # Parameters: * * Caller DID, Proposer, PIP ID, deposit, URL, description, expiry time, proposal data. **/ ProposalCreated: AugmentedEvent, Option, MaybeBlock, ProposalData ]>; /** * Refund proposal * (id, total amount) **/ ProposalRefund: AugmentedEvent; /** * Triggered each time the state of a proposal is amended **/ ProposalStateUpdated: AugmentedEvent; /** * The snapshot was cleared. **/ SnapshotCleared: AugmentedEvent; /** * Results (e.g., approved, rejected, and skipped), were enacted for some PIPs. * (gc_did, snapshot_id_opt, skipped_pips_with_new_count, rejected_pips, approved_pips) **/ SnapshotResultsEnacted: AugmentedEvent, Vec>, Vec, Vec ]>; /** * A new snapshot was taken. **/ SnapshotTaken: AugmentedEvent]>; /** * `AccountId` voted `bool` on the proposal referenced by `PipId` **/ Voted: AugmentedEvent; }; polymeshCommittee: { /** * A motion was approved by the required threshold with the following * tally (yes votes, no votes and total seats given respectively as `MemberCount`). * Parameters: caller DID, proposal hash, yay vote count, nay vote count, total seats. **/ Approved: AugmentedEvent; /** * A motion was executed; `DispatchResult` is `Ok(())` if returned without error. * Parameters: caller DID, proposal hash, result of proposal dispatch. **/ Executed: AugmentedEvent; /** * Proposal expiry time has been updated. * Parameters: caller DID, new expiry time (if any). **/ ExpiresAfterUpdated: AugmentedEvent; /** * Final votes on a motion (given hash) * caller DID, ProposalIndex, Proposal hash, yes voters, no voter **/ FinalVotes: AugmentedEvent, Vec ]>; /** * A motion (given hash) has been proposed (by given account) with a threshold (given `MemberCount`). * Parameters: caller DID, proposal index, proposal hash. **/ Proposed: AugmentedEvent; /** * A motion was rejected by the required threshold with the following * tally (yes votes, no votes and total seats given respectively as `MemberCount`). * Parameters: caller DID, proposal hash, yay vote count, nay vote count, total seats. **/ Rejected: AugmentedEvent; /** * Release coordinator has been updated. * Parameters: caller DID, DID of the release coordinator. **/ ReleaseCoordinatorUpdated: AugmentedEvent]>; /** * A motion (given hash) has been voted on by given account, leaving * a tally (yes votes, no votes and total seats given respectively as `MemberCount`). * caller DID, Proposal index, Proposal hash, current vote, yay vote count, nay vote count, total seats. **/ Voted: AugmentedEvent; /** * A vote on a motion (given hash) has been retracted. * caller DID, ProposalIndex, Proposal hash, vote that was retracted **/ VoteRetracted: AugmentedEvent; /** * Voting threshold has been updated * Parameters: caller DID, numerator, denominator **/ VoteThresholdUpdated: AugmentedEvent; }; portfolio: { /** * A token amount has been moved from one portfolio to another. * * # Parameters * * origin DID * * source portfolio * * destination portfolio * * asset ticker * * asset balance that was moved **/ MovedBetweenPortfolios: AugmentedEvent ]>; /** * The portfolio has been successfully created. * * # Parameters * * origin DID * * portfolio number * * portfolio name **/ PortfolioCreated: AugmentedEvent; /** * Custody of a portfolio has been given to a different identity * * # Parameters * * origin DID * * portfolio id * * portfolio custodian did **/ PortfolioCustodianChanged: AugmentedEvent; /** * The portfolio has been successfully removed. * * # Parameters * * origin DID * * portfolio number **/ PortfolioDeleted: AugmentedEvent; /** * The portfolio identified with `num` has been renamed to `name`. * * # Parameters * * origin DID * * portfolio number * * portfolio name **/ PortfolioRenamed: AugmentedEvent; /** * All non-default portfolio numbers and names of a DID. * * # Parameters * * origin DID * * vector of number-name pairs **/ UserPortfolios: AugmentedEvent> ]>; }; protocolFee: { /** * The fee coefficient. **/ CoefficientSet: AugmentedEvent; /** * Fee charged. **/ FeeCharged: AugmentedEvent; /** * The protocol fee of an operation. **/ FeeSet: AugmentedEvent; }; relayer: { /** * Accepted paying key. * * (Caller DID, User Key, Paying Key) **/ AcceptedPayingKey: AugmentedEvent; /** * Authorization given for `paying_key` to `user_key`. * * (Caller DID, User Key, Paying Key, Initial POLYX limit, Auth ID) **/ AuthorizedPayingKey: AugmentedEvent; /** * Removed paying key. * * (Caller DID, User Key, Paying Key) **/ RemovedPayingKey: AugmentedEvent; /** * Updated polyx limit. * * (Caller DID, User Key, Paying Key, POLYX limit, old remaining POLYX) **/ UpdatedPolyxLimit: AugmentedEvent; }; rewards: { /** * Itn reward was claimed. **/ ItnRewardClaimed: AugmentedEvent; }; scheduler: { /** * Canceled some task. \[when, index\] **/ Canceled: AugmentedEvent; /** * Dispatched some task. \[task, id, result\] **/ Dispatched: AugmentedEvent, DispatchResult]>; /** * Scheduled some task. \[when, index\] **/ Scheduled: AugmentedEvent; }; session: { /** * New session has happened. Note that the argument is the \[session_index\], not the block * number as the type might suggest. **/ NewSession: AugmentedEvent; }; settlement: { /** * An affirmation has been withdrawn (did, portfolio, instruction_id) **/ AffirmationWithdrawn: AugmentedEvent; /** * An instruction has been affirmed (did, portfolio, instruction_id) **/ InstructionAffirmed: AugmentedEvent; /** * A new instruction has been created * (did, venue_id, instruction_id, settlement_type, trade_date, value_date, legs) **/ InstructionCreated: AugmentedEvent, Option, Vec ]>; /** * Instruction executed successfully(did, instruction_id) **/ InstructionExecuted: AugmentedEvent; /** * Instruction failed execution (did, instruction_id) **/ InstructionFailed: AugmentedEvent; /** * An instruction has been rejected (did, instruction_id) **/ InstructionRejected: AugmentedEvent; /** * Instruction is rescheduled. * (caller DID, instruction_id) **/ InstructionRescheduled: AugmentedEvent; /** * Execution of a leg failed (did, instruction_id, leg_id) **/ LegFailedExecution: AugmentedEvent; /** * A receipt has been claimed (did, instruction_id, leg_id, receipt_uid, signer, receipt metadata) **/ ReceiptClaimed: AugmentedEvent; /** * A receipt has been unclaimed (did, instruction_id, leg_id, receipt_uid, signer) **/ ReceiptUnclaimed: AugmentedEvent; /** * A receipt has been invalidated (did, signer, receipt_uid, validity) **/ ReceiptValidityChanged: AugmentedEvent; /** * Scheduling of instruction fails. **/ SchedulingFailed: AugmentedEvent; /** * A new venue has been created (did, venue_id, details, type) **/ VenueCreated: AugmentedEvent; /** * An existing venue's details has been updated (did, venue_id, details) **/ VenueDetailsUpdated: AugmentedEvent; /** * Venue filtering has been enabled or disabled for a ticker (did, ticker, filtering_enabled) **/ VenueFiltering: AugmentedEvent; /** * Venues added to allow list (did, ticker, vec) **/ VenuesAllowed: AugmentedEvent]>; /** * Venues added to block list (did, ticker, vec) **/ VenuesBlocked: AugmentedEvent]>; /** * An existing venue's type has been updated (did, venue_id, type) **/ VenueTypeUpdated: AugmentedEvent; /** * Venue not part of the token's allow list (did, Ticker, venue_id) **/ VenueUnauthorized: AugmentedEvent; }; staking: { /** * An account has bonded this amount. \[did, stash, amount\] * * NOTE: This event is only emitted when funds are bonded via a dispatchable. Notably, * it will not be emitted for staking rewards when they are added to stake. **/ Bonded: AugmentedEvent; /** * When commission cap get updated. * (old value, new value) **/ CommissionCapUpdated: AugmentedEvent; /** * The era payout has been set; the first balance is the validator-payout; the second is * the remainder from the maximum amount of reward. * \[era_index, validator_payout, remainder\] **/ EraPayout: AugmentedEvent; /** * Remove the nominators from the valid nominators when there CDD expired. * Caller, Stash accountId of nominators **/ InvalidatedNominators: AugmentedEvent]>; /** * Min bond threshold was updated (new value). **/ MinimumBondThresholdUpdated: AugmentedEvent, Balance]>; /** * User has updated their nominations **/ Nominated: AugmentedEvent]>; /** * An old slashing report from a prior era was discarded because it could * not be processed. \[session_index\] **/ OldSlashingReportDiscarded: AugmentedEvent; /** * An DID has issued a candidacy. See the transaction for who. * GC identity , Validator's identity. **/ PermissionedIdentityAdded: AugmentedEvent; /** * The given member was removed. See the transaction for who. * GC identity , Validator's identity. **/ PermissionedIdentityRemoved: AugmentedEvent; /** * The staker has been rewarded by this amount. \[stash_identity, stash, amount\] **/ Reward: AugmentedEvent; /** * When scheduling of reward payments get interrupted. **/ RewardPaymentSchedulingInterrupted: AugmentedEvent; /** * One validator (and its nominators) has been slashed by the given amount. * \[validator, amount\] **/ Slash: AugmentedEvent; /** * Update for whom balance get slashed. **/ SlashingAllowedForChanged: AugmentedEvent; /** * A new solution for the upcoming election has been stored. \[compute\] **/ SolutionStored: AugmentedEvent; /** * A new set of stakers was elected with the given \[compute\]. **/ StakingElection: AugmentedEvent; /** * An account has unbonded this amount. \[did, stash, amount\] **/ Unbonded: AugmentedEvent; /** * An account has called `withdraw_unbonded` and removed unbonding chunks worth `Balance` * from the unlocking queue. \[stash, amount\] **/ Withdrawn: AugmentedEvent; }; statistics: { /** * `ScopeId`s were added to the exemption list. **/ ExemptionsAdded: AugmentedEvent]>; /** * `ScopeId`s were removed from the exemption list. **/ ExemptionsRemoved: AugmentedEvent ]>; /** * A new transfer manager was added. **/ TransferManagerAdded: AugmentedEvent; /** * An existing transfer manager was removed. **/ TransferManagerRemoved: AugmentedEvent; }; sto: { /** * A fundraiser has been stopped. * (Agent DID, fundraiser id) **/ FundraiserClosed: AugmentedEvent; /** * A new fundraiser has been created. * (Agent DID, fundraiser id, fundraiser name, fundraiser details) **/ FundraiserCreated: AugmentedEvent; /** * A fundraiser has been frozen. * (Agent DID, fundraiser id) **/ FundraiserFrozen: AugmentedEvent; /** * A fundraiser has been unfrozen. * (Agent DID, fundraiser id) **/ FundraiserUnfrozen: AugmentedEvent; /** * A fundraiser window has been modified. * (Agent DID, fundraiser id, old_start, old_end, new_start, new_end) **/ FundraiserWindowModified: AugmentedEvent, Moment, Option ]>; /** * An investor invested in the fundraiser. * (Investor, fundraiser_id, offering token, raise token, offering_token_amount, raise_token_amount) **/ Invested: AugmentedEvent; }; 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. **/ CodeUpdated: AugmentedEvent; /** * An extrinsic failed. \[error, info\] **/ ExtrinsicFailed: AugmentedEvent; /** * An extrinsic completed successfully. \[info\] **/ ExtrinsicSuccess: AugmentedEvent; /** * An \[account\] was reaped. **/ KilledAccount: AugmentedEvent; /** * A new \[account\] was created. **/ NewAccount: AugmentedEvent; }; technicalCommittee: { /** * A motion was approved by the required threshold with the following * tally (yes votes, no votes and total seats given respectively as `MemberCount`). * Parameters: caller DID, proposal hash, yay vote count, nay vote count, total seats. **/ Approved: AugmentedEvent; /** * A motion was executed; `DispatchResult` is `Ok(())` if returned without error. * Parameters: caller DID, proposal hash, result of proposal dispatch. **/ Executed: AugmentedEvent; /** * Proposal expiry time has been updated. * Parameters: caller DID, new expiry time (if any). **/ ExpiresAfterUpdated: AugmentedEvent; /** * Final votes on a motion (given hash) * caller DID, ProposalIndex, Proposal hash, yes voters, no voter **/ FinalVotes: AugmentedEvent, Vec ]>; /** * A motion (given hash) has been proposed (by given account) with a threshold (given `MemberCount`). * Parameters: caller DID, proposal index, proposal hash. **/ Proposed: AugmentedEvent; /** * A motion was rejected by the required threshold with the following * tally (yes votes, no votes and total seats given respectively as `MemberCount`). * Parameters: caller DID, proposal hash, yay vote count, nay vote count, total seats. **/ Rejected: AugmentedEvent; /** * Release coordinator has been updated. * Parameters: caller DID, DID of the release coordinator. **/ ReleaseCoordinatorUpdated: AugmentedEvent]>; /** * A motion (given hash) has been voted on by given account, leaving * a tally (yes votes, no votes and total seats given respectively as `MemberCount`). * caller DID, Proposal index, Proposal hash, current vote, yay vote count, nay vote count, total seats. **/ Voted: AugmentedEvent; /** * A vote on a motion (given hash) has been retracted. * caller DID, ProposalIndex, Proposal hash, vote that was retracted **/ VoteRetracted: AugmentedEvent; /** * Voting threshold has been updated * Parameters: caller DID, numerator, denominator **/ VoteThresholdUpdated: AugmentedEvent; }; technicalCommitteeMembership: { /** * The limit of how many active members there can be concurrently was changed. **/ ActiveLimitChanged: AugmentedEvent; /** * Phantom member, never used. **/ Dummy: AugmentedEvent; /** * The given member was added; see the transaction for who. * caller DID, New member DID. **/ MemberAdded: AugmentedEvent; /** * The given member was removed; see the transaction for who. * caller DID, member DID that get removed. **/ MemberRemoved: AugmentedEvent; /** * The given member has been revoked at specific time-stamp. * caller DID, member DID that get revoked. **/ MemberRevoked: AugmentedEvent; /** * The membership was reset; see the transaction for who the new set is. * caller DID, List of new members. **/ MembersReset: AugmentedEvent]>; /** * Two members were swapped; see the transaction for who. * caller DID, Removed DID, New add DID. **/ MembersSwapped: AugmentedEvent; }; testUtils: { /** * Shows the `DID` associated to the `AccountId`, and a flag indicates if that DID has a * valid CDD claim. * (Target DID, Target Account, a valid CDD claim exists) **/ CddStatus: AugmentedEvent, AccountId, bool]>; /** * Emits the `IdentityId` and the `AccountId` of the caller. * (Caller DID, Caller account) **/ DidStatus: AugmentedEvent; /** * A new mocked `InvestorUid` has been created for the given Identity. * (Target DID, New InvestorUid) **/ MockInvestorUIDCreated: AugmentedEvent; }; treasury: { /** * Disbursement to a target Identity. * (target identity, amount) **/ TreasuryDisbursement: AugmentedEvent; /** * Treasury reimbursement. **/ TreasuryReimbursement: AugmentedEvent; }; upgradeCommittee: { /** * A motion was approved by the required threshold with the following * tally (yes votes, no votes and total seats given respectively as `MemberCount`). * Parameters: caller DID, proposal hash, yay vote count, nay vote count, total seats. **/ Approved: AugmentedEvent; /** * A motion was executed; `DispatchResult` is `Ok(())` if returned without error. * Parameters: caller DID, proposal hash, result of proposal dispatch. **/ Executed: AugmentedEvent; /** * Proposal expiry time has been updated. * Parameters: caller DID, new expiry time (if any). **/ ExpiresAfterUpdated: AugmentedEvent; /** * Final votes on a motion (given hash) * caller DID, ProposalIndex, Proposal hash, yes voters, no voter **/ FinalVotes: AugmentedEvent, Vec ]>; /** * A motion (given hash) has been proposed (by given account) with a threshold (given `MemberCount`). * Parameters: caller DID, proposal index, proposal hash. **/ Proposed: AugmentedEvent; /** * A motion was rejected by the required threshold with the following * tally (yes votes, no votes and total seats given respectively as `MemberCount`). * Parameters: caller DID, proposal hash, yay vote count, nay vote count, total seats. **/ Rejected: AugmentedEvent; /** * Release coordinator has been updated. * Parameters: caller DID, DID of the release coordinator. **/ ReleaseCoordinatorUpdated: AugmentedEvent]>; /** * A motion (given hash) has been voted on by given account, leaving * a tally (yes votes, no votes and total seats given respectively as `MemberCount`). * caller DID, Proposal index, Proposal hash, current vote, yay vote count, nay vote count, total seats. **/ Voted: AugmentedEvent; /** * A vote on a motion (given hash) has been retracted. * caller DID, ProposalIndex, Proposal hash, vote that was retracted **/ VoteRetracted: AugmentedEvent; /** * Voting threshold has been updated * Parameters: caller DID, numerator, denominator **/ VoteThresholdUpdated: AugmentedEvent; }; upgradeCommitteeMembership: { /** * The limit of how many active members there can be concurrently was changed. **/ ActiveLimitChanged: AugmentedEvent; /** * Phantom member, never used. **/ Dummy: AugmentedEvent; /** * The given member was added; see the transaction for who. * caller DID, New member DID. **/ MemberAdded: AugmentedEvent; /** * The given member was removed; see the transaction for who. * caller DID, member DID that get removed. **/ MemberRemoved: AugmentedEvent; /** * The given member has been revoked at specific time-stamp. * caller DID, member DID that get revoked. **/ MemberRevoked: AugmentedEvent; /** * The membership was reset; see the transaction for who the new set is. * caller DID, List of new members. **/ MembersReset: AugmentedEvent]>; /** * Two members were swapped; see the transaction for who. * caller DID, Removed DID, New add DID. **/ MembersSwapped: AugmentedEvent; }; utility: { /** * Batch of dispatches completed fully with no error. * Includes a vector of event counts for each dispatch. **/ BatchCompleted: AugmentedEvent; /** * Batch of dispatches did not complete fully. * Includes a vector of event counts for each dispatch and * the index of the first failing dispatch as well as the error. **/ BatchInterrupted: AugmentedEvent; /** * Batch of dispatches did not complete fully. * Includes a vector of event counts for each call and * a vector of any failed dispatches with their indices and associated error. **/ BatchOptimisticFailed: AugmentedEvent]>; }; } interface DecoratedEvents extends AugmentedEvents { } } //# sourceMappingURL=augment-api-events.d.ts.map