import type { Bytes, Option, U256, Vec, bool, u16, u32, u8 } from '@polkadot/types'; import type { ITuple } from '@polkadot/types/types'; import type { ClassIdOf, TokenIdOf } from './nft'; import type { AmountOf, CurrencyId, CurrencyIdOf, DustHandlerType, ScalarData, TreeId } from './webb'; import type { TAssetBalance } from '@polkadot/types/interfaces/assets'; import type { BalanceStatus } from '@polkadot/types/interfaces/balances'; import type { MemberCount, ProposalIndex } from '@polkadot/types/interfaces/collective'; import type { AuthorityId } from '@polkadot/types/interfaces/consensus'; import type { PropIndex, ReferendumIndex } from '@polkadot/types/interfaces/democracy'; import type { VoteThreshold } from '@polkadot/types/interfaces/elections'; import type { EvmLog, ExitReason } from '@polkadot/types/interfaces/evm'; import type { AuthorityList } from '@polkadot/types/interfaces/grandpa'; import type { RegistrarIndex } from '@polkadot/types/interfaces/identity'; import type { Kind, OpaqueTimeSlot } from '@polkadot/types/interfaces/offences'; import type { ProxyType } from '@polkadot/types/interfaces/proxy'; import type { AccountId, AccountIndex, AssetId, Balance, BalanceOf, BlockNumber, CallHash, H160, H256, Hash } 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 { BountyIndex } from '@polkadot/types/interfaces/treasury'; import type { Timepoint } from '@polkadot/types/interfaces/utility'; import type { ApiTypes } from '@polkadot/api/types'; declare module '@polkadot/api/types/events' { interface AugmentedEvents { assets: { /** * An approval for account `delegate` was cancelled by `owner`. * \[id, owner, delegate\] **/ ApprovalCancelled: AugmentedEvent; /** * (Additional) funds have been approved for transfer to a destination account. * \[asset_id, source, delegate, amount\] **/ ApprovedTransfer: AugmentedEvent; /** * Some asset `asset_id` was frozen. \[asset_id\] **/ AssetFrozen: AugmentedEvent; /** * An asset has had its attributes changed by the `Force` origin. * \[id\] **/ AssetStatusChanged: AugmentedEvent; /** * Some asset `asset_id` was thawed. \[asset_id\] **/ AssetThawed: AugmentedEvent; /** * Some assets were destroyed. \[asset_id, owner, balance\] **/ Burned: AugmentedEvent; /** * Some asset class was created. \[asset_id, creator, owner\] **/ Created: AugmentedEvent; /** * An asset class was destroyed. **/ Destroyed: AugmentedEvent; /** * Some asset class was force-created. \[asset_id, owner\] **/ ForceCreated: AugmentedEvent; /** * Some account `who` was frozen. \[asset_id, who\] **/ Frozen: AugmentedEvent; /** * Some assets were issued. \[asset_id, owner, total_supply\] **/ Issued: AugmentedEvent; /** * Metadata has been cleared for an asset. \[asset_id\] **/ MetadataCleared: AugmentedEvent; /** * New metadata has been set for an asset. \[asset_id, name, symbol, decimals, is_frozen\] **/ MetadataSet: AugmentedEvent; /** * The owner changed \[asset_id, owner\] **/ OwnerChanged: AugmentedEvent; /** * The management team changed \[asset_id, issuer, admin, freezer\] **/ TeamChanged: AugmentedEvent; /** * Some account `who` was thawed. \[asset_id, who\] **/ Thawed: AugmentedEvent; /** * Some assets were transferred. \[asset_id, from, to, amount\] **/ Transferred: AugmentedEvent; /** * An `amount` was transferred in its entirety from `owner` to `destination` by * the approved `delegate`. * \[id, owner, delegate, destination\] **/ TransferredApproved: AugmentedEvent; /** * Generic event **/ [key: string]: AugmentedEvent; }; balances: { /** * A balance was set by root. \[who, free, reserved\] **/ BalanceSet: AugmentedEvent; /** * Some amount was deposited (e.g. for transaction fees). \[who, deposit\] **/ Deposit: AugmentedEvent; /** * An account was removed whose balance was non-zero but below ExistentialDeposit, * resulting in an outright loss. \[account, balance\] **/ DustLost: AugmentedEvent; /** * An account was created with some free balance. \[account, free_balance\] **/ Endowed: AugmentedEvent; /** * 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, to, value\] **/ Transfer: AugmentedEvent; /** * Some balance was unreserved (moved from reserved to free). \[who, value\] **/ Unreserved: AugmentedEvent; /** * Generic event **/ [key: string]: AugmentedEvent; }; bounties: { /** * A bounty is awarded to a beneficiary. \[index, beneficiary\] **/ BountyAwarded: AugmentedEvent; /** * A bounty proposal is funded and became active. \[index\] **/ BountyBecameActive: AugmentedEvent; /** * A bounty is cancelled. \[index\] **/ BountyCanceled: AugmentedEvent; /** * A bounty is claimed by beneficiary. \[index, payout, beneficiary\] **/ BountyClaimed: AugmentedEvent; /** * A bounty expiry is extended. \[index\] **/ BountyExtended: AugmentedEvent; /** * New bounty proposal. \[index\] **/ BountyProposed: AugmentedEvent; /** * A bounty proposal was rejected; funds were slashed. \[index, bond\] **/ BountyRejected: AugmentedEvent; /** * Generic event **/ [key: string]: AugmentedEvent; }; contracts: { /** * A code with the specified hash was removed. * \[code_hash\] * * This happens when the last contract that uses this code hash was removed or evicted. **/ CodeRemoved: AugmentedEvent; /** * Code with the specified hash has been stored. \[code_hash\] **/ CodeStored: AugmentedEvent; /** * A custom event emitted by the contract. * \[contract, data\] * * # Params * * - `contract`: The contract that emitted the event. * - `data`: Data supplied by the contract. Metadata generated during contract * compilation is needed to decode it. **/ ContractEmitted: AugmentedEvent; /** * Contract has been evicted and is now in tombstone state. \[contract\] **/ Evicted: AugmentedEvent; /** * Contract deployed by address at the specified address. \[deployer, contract\] **/ Instantiated: AugmentedEvent; /** * Restoration of a contract has been successful. * \[restorer, dest, code_hash, rent_allowance\] * * # Params * * - `restorer`: Account ID of the restoring contract. * - `dest`: Account ID of the restored contract. * - `code_hash`: Code hash of the restored contract. * - `rent_allowance`: Rent allowance of the restored contract. **/ Restored: AugmentedEvent; /** * Triggered when the current schedule is updated. * \[version\] * * # Params * * - `version`: The version of the newly set schedule. **/ ScheduleUpdated: AugmentedEvent; /** * Contract has been terminated without leaving a tombstone. * \[contract, beneficiary\] * * # Params * * - `contract`: The contract that was terminated. * - `beneficiary`: The account that received the contracts remaining balance. * * # Note * * The only way for a contract to be removed without a tombstone and emitting * this event is by calling `seal_terminate`. **/ Terminated: AugmentedEvent; /** * Generic event **/ [key: string]: AugmentedEvent; }; council: { /** * A motion was approved by the required threshold. * \[proposal_hash\] **/ Approved: AugmentedEvent; /** * A proposal was closed because its threshold was reached or after its duration was up. * \[proposal_hash, yes, no\] **/ Closed: AugmentedEvent; /** * A motion was not approved by the required threshold. * \[proposal_hash\] **/ Disapproved: AugmentedEvent; /** * A motion was executed; result will be `Ok` if it returned without error. * \[proposal_hash, result\] **/ Executed: AugmentedEvent; /** * A single member did some action; result will be `Ok` if it returned without error. * \[proposal_hash, result\] **/ MemberExecuted: AugmentedEvent; /** * A motion (given hash) has been proposed (by given account) with a threshold (given * `MemberCount`). * \[account, proposal_index, proposal_hash, threshold\] **/ Proposed: AugmentedEvent; /** * A motion (given hash) has been voted on by given account, leaving * a tally (yes votes and no votes given respectively as `MemberCount`). * \[account, proposal_hash, voted, yes, no\] **/ Voted: AugmentedEvent; /** * Generic event **/ [key: string]: AugmentedEvent; }; currencies: { /** * Update balance success. [currency_id, who, amount] **/ BalanceUpdated: AugmentedEvent; /** * Deposit success. [currency_id, who, amount] **/ Deposited: AugmentedEvent; /** * Currency transfer success. [currency_id, from, to, amount] **/ Transferred: AugmentedEvent; /** * Withdraw success. [currency_id, who, amount] **/ Withdrawn: AugmentedEvent; /** * Generic event **/ [key: string]: AugmentedEvent; }; democracy: { /** * A proposal \[hash\] has been blacklisted permanently. **/ Blacklisted: AugmentedEvent; /** * A referendum has been cancelled. \[ref_index\] **/ Cancelled: AugmentedEvent; /** * An account has delegated their vote to another account. \[who, target\] **/ Delegated: AugmentedEvent; /** * A proposal has been enacted. \[ref_index, is_ok\] **/ Executed: AugmentedEvent; /** * An external proposal has been tabled. **/ ExternalTabled: AugmentedEvent; /** * A proposal has been rejected by referendum. \[ref_index\] **/ NotPassed: AugmentedEvent; /** * A proposal has been approved by referendum. \[ref_index\] **/ Passed: AugmentedEvent; /** * A proposal could not be executed because its preimage was invalid. * \[proposal_hash, ref_index\] **/ PreimageInvalid: AugmentedEvent; /** * A proposal could not be executed because its preimage was missing. * \[proposal_hash, ref_index\] **/ PreimageMissing: AugmentedEvent; /** * A proposal's preimage was noted, and the deposit taken. \[proposal_hash, who, deposit\] **/ PreimageNoted: AugmentedEvent; /** * A registered preimage was removed and the deposit collected by the reaper. * \[proposal_hash, provider, deposit, reaper\] **/ PreimageReaped: AugmentedEvent; /** * A proposal preimage was removed and used (the deposit was returned). * \[proposal_hash, provider, deposit\] **/ PreimageUsed: AugmentedEvent; /** * A motion has been proposed by a public account. \[proposal_index, deposit\] **/ Proposed: AugmentedEvent; /** * A referendum has begun. \[ref_index, threshold\] **/ Started: AugmentedEvent; /** * A public proposal has been tabled for referendum vote. \[proposal_index, deposit, depositors\] **/ Tabled: AugmentedEvent]>; /** * An \[account\] has cancelled a previous delegation operation. **/ Undelegated: AugmentedEvent; /** * An \[account\] has been unlocked successfully. **/ Unlocked: AugmentedEvent; /** * An external proposal has been vetoed. \[who, proposal_hash, until\] **/ Vetoed: AugmentedEvent; /** * Generic event **/ [key: string]: AugmentedEvent; }; dynamicFee: { TargetMinGasPriceSet: AugmentedEvent; /** * Generic event **/ [key: string]: AugmentedEvent; }; electionProviderMultiPhase: { /** * The election has been finalized, with `Some` of the given computation, or else if the * election failed, `None`. **/ ElectionFinalized: AugmentedEvent]>; /** * An account has been rewarded for their signed submission being finalized. **/ Rewarded: AugmentedEvent; /** * The signed phase of the given round has started. **/ SignedPhaseStarted: AugmentedEvent; /** * An account has been slashed for submitting an invalid signed submission. **/ Slashed: AugmentedEvent; /** * A solution was stored with the given compute. * * If the solution is signed, this means that it hasn't yet been processed. If the * solution is unsigned, this means that it has also been processed. **/ SolutionStored: AugmentedEvent; /** * The unsigned phase of the given round has started. **/ UnsignedPhaseStarted: AugmentedEvent; /** * Generic event **/ [key: string]: AugmentedEvent; }; ethereum: { /** * An ethereum transaction was successfully executed. [from, to/contract_address, transaction_hash, exit_reason] **/ Executed: AugmentedEvent; /** * Generic event **/ [key: string]: AugmentedEvent; }; evm: { /** * A deposit has been made at a given address. \[sender, address, value\] **/ BalanceDeposit: AugmentedEvent; /** * A withdrawal has been made from a given address. \[sender, address, value\] **/ BalanceWithdraw: AugmentedEvent; /** * A contract has been created at given \[address\]. **/ Created: AugmentedEvent; /** * A \[contract\] was attempted to be created, but the execution failed. **/ CreatedFailed: AugmentedEvent; /** * A \[contract\] has been executed successfully with states applied. **/ Executed: AugmentedEvent; /** * A \[contract\] has been executed with errors. States are reverted with only gas fees applied. **/ ExecutedFailed: AugmentedEvent; /** * Ethereum events from contracts. **/ Log: AugmentedEvent; /** * Generic event **/ [key: string]: 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; /** * Generic event **/ [key: string]: AugmentedEvent; }; identity: { /** * A name was cleared, and the given balance returned. \[who, deposit\] **/ IdentityCleared: AugmentedEvent; /** * A name was removed and the given balance slashed. \[who, deposit\] **/ IdentityKilled: AugmentedEvent; /** * A name was set or reset (which will remove all judgements). \[who\] **/ IdentitySet: AugmentedEvent; /** * A judgement was given by a registrar. \[target, registrar_index\] **/ JudgementGiven: AugmentedEvent; /** * A judgement was asked from a registrar. \[who, registrar_index\] **/ JudgementRequested: AugmentedEvent; /** * A judgement request was retracted. \[who, registrar_index\] **/ JudgementUnrequested: AugmentedEvent; /** * A registrar was added. \[registrar_index\] **/ RegistrarAdded: AugmentedEvent; /** * A sub-identity was added to an identity and the deposit paid. \[sub, main, deposit\] **/ SubIdentityAdded: AugmentedEvent; /** * A sub-identity was removed from an identity and the deposit freed. * \[sub, main, deposit\] **/ SubIdentityRemoved: AugmentedEvent; /** * A sub-identity was cleared, and the given deposit repatriated from the * main identity account to the sub-identity account. \[sub, main, deposit\] **/ SubIdentityRevoked: AugmentedEvent; /** * Generic event **/ [key: string]: 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]>; /** * Generic event **/ [key: string]: 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; /** * Generic event **/ [key: string]: AugmentedEvent; }; merkle: { /** * New members/leaves added to the tree **/ NewMembers: AugmentedEvent]>; /** * New nullifier submitted on verification **/ NewNullifier: AugmentedEvent; /** * New tree created **/ NewTree: AugmentedEvent; /** * Generic event **/ [key: string]: AugmentedEvent; }; mixer: { /** * New deposit added to the specific mixer **/ Deposit: AugmentedEvent; /** * Withdrawal from the specific mixer **/ Withdraw: AugmentedEvent; /** * Generic event **/ [key: string]: AugmentedEvent; }; multisig: { /** * A multisig operation has been approved by someone. * \[approving, timepoint, multisig, call_hash\] **/ MultisigApproval: AugmentedEvent; /** * A multisig operation has been cancelled. \[cancelling, timepoint, multisig, call_hash\] **/ MultisigCancelled: AugmentedEvent; /** * A multisig operation has been executed. \[approving, timepoint, multisig, call_hash\] **/ MultisigExecuted: AugmentedEvent; /** * A new multisig operation has begun. \[approving, multisig, call_hash\] **/ NewMultisig: AugmentedEvent; /** * Generic event **/ [key: string]: AugmentedEvent; }; nft: { /** * Burned NFT token. \[owner, class_id, token_id\] **/ BurnedToken: AugmentedEvent; /** * Burned NFT token with remark. \[owner, class_id, token_id, remark_hash\] **/ BurnedTokenWithRemark: AugmentedEvent; /** * Created NFT class. \[owner, class_id\] **/ CreatedClass: AugmentedEvent; /** * Destroyed NFT class. \[owner, class_id\] **/ DestroyedClass: AugmentedEvent; /** * Minted NFT token. \[from, to, class_id, quantity\] **/ MintedToken: AugmentedEvent; /** * Transferred NFT token. \[from, to, class_id, token_id\] **/ TransferredToken: AugmentedEvent; /** * Generic event **/ [key: string]: 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. * \[kind, timeslot\]. **/ Offence: AugmentedEvent; /** * Generic event **/ [key: string]: AugmentedEvent; }; phragmenElection: { /** * A \[candidate\] was slashed by \[amount\] due to failing to obtain a seat as member or * runner-up. * * Note that old members and runners-up are also candidates. **/ CandidateSlashed: AugmentedEvent; /** * Internal error happened while trying to perform election. **/ ElectionError: AugmentedEvent; /** * No (or not enough) candidates existed for this round. This is different from * `NewTerm(\[\])`. See the description of `NewTerm`. **/ EmptyTerm: AugmentedEvent; /** * A \[member\] has been removed. This should always be followed by either `NewTerm` or * `EmptyTerm`. **/ MemberKicked: AugmentedEvent; /** * A new term with \[new_members\]. This indicates that enough candidates existed to run * the election, not that enough have has been elected. The inner value must be examined * for this purpose. A `NewTerm(\[\])` indicates that some candidates got their bond * slashed and none were elected, whilst `EmptyTerm` means that no candidates existed to * begin with. **/ NewTerm: AugmentedEvent>]>; /** * Someone has renounced their candidacy. **/ Renounced: AugmentedEvent; /** * A \[seat holder\] was slashed by \[amount\] by being forcefully removed from the set. **/ SeatHolderSlashed: AugmentedEvent; /** * Generic event **/ [key: string]: AugmentedEvent; }; proxy: { /** * An announcement was placed to make a call in the future. \[real, proxy, call_hash\] **/ Announced: AugmentedEvent; /** * Anonymous account has been created by new proxy with given * disambiguation index and proxy type. \[anonymous, who, proxy_type, disambiguation_index\] **/ AnonymousCreated: AugmentedEvent; /** * A proxy was executed correctly, with the given \[result\]. **/ ProxyExecuted: AugmentedEvent; /** * Generic event **/ [key: string]: AugmentedEvent; }; recovery: { /** * Lost account has been successfully recovered by rescuer account. * \[lost, rescuer\] **/ AccountRecovered: AugmentedEvent; /** * A recovery process for lost account by rescuer account has been closed. * \[lost, rescuer\] **/ RecoveryClosed: AugmentedEvent; /** * A recovery process has been set up for an \[account\]. **/ RecoveryCreated: AugmentedEvent; /** * A recovery process has been initiated for lost account by rescuer account. * \[lost, rescuer\] **/ RecoveryInitiated: AugmentedEvent; /** * A recovery process has been removed for an \[account\]. **/ RecoveryRemoved: AugmentedEvent; /** * A recovery process for lost account by rescuer account has been vouched for by sender. * \[lost, rescuer, sender\] **/ RecoveryVouched: AugmentedEvent; /** * Generic event **/ [key: string]: 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; /** * Generic event **/ [key: string]: 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; /** * Generic event **/ [key: string]: AugmentedEvent; }; staking: { /** * An account has bonded this amount. \[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; /** * 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; /** * A nominator has been kicked from a validator. \[nominator, stash\] **/ Kicked: AugmentedEvent; /** * An old slashing report from a prior era was discarded because it could * not be processed. \[session_index\] **/ OldSlashingReportDiscarded: AugmentedEvent; /** * The staker has been rewarded by this amount. \[stash, amount\] **/ Reward: AugmentedEvent; /** * One validator (and its nominators) has been slashed by the given amount. * \[validator, amount\] **/ Slash: AugmentedEvent; /** * A new set of stakers was elected. **/ StakingElection: AugmentedEvent; /** * An account has unbonded this amount. \[stash, amount\] **/ Unbonded: AugmentedEvent; /** * An account has called `withdraw_unbonded` and removed unbonding chunks worth `Balance` * from the unlocking queue. \[stash, amount\] **/ Withdrawn: AugmentedEvent; /** * Generic event **/ [key: string]: 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; /** * Generic event **/ [key: string]: 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; /** * On on-chain remark happened. \[origin, remark_hash\] **/ Remarked: AugmentedEvent; /** * Generic event **/ [key: string]: AugmentedEvent; }; tips: { /** * A new tip suggestion has been opened. \[tip_hash\] **/ NewTip: AugmentedEvent; /** * A tip suggestion has been closed. \[tip_hash, who, payout\] **/ TipClosed: AugmentedEvent; /** * A tip suggestion has reached threshold and is closing. \[tip_hash\] **/ TipClosing: AugmentedEvent; /** * A tip suggestion has been retracted. \[tip_hash\] **/ TipRetracted: AugmentedEvent; /** * A tip suggestion has been slashed. \[tip_hash, finder, deposit\] **/ TipSlashed: AugmentedEvent; /** * Generic event **/ [key: string]: AugmentedEvent; }; tokens: { /** * An approval for account `delegate` was cancelled by `owner`. * \[id, owner, delegate\] **/ ApprovalCancelled: AugmentedEvent; /** * (Additional) funds have been approved for transfer to a destination * account. \[asset_id, source, delegate, amount\] **/ ApprovedTransfer: AugmentedEvent; /** * Some assets were destroyed. \[asset_id, owner, balance\] **/ Burned: AugmentedEvent; /** * Some asset class was created. \[asset_id, creator, owner\] **/ Created: AugmentedEvent; /** * An asset has had its attributes changed by the `Force` origin. * \[id\] **/ CurrencyStatusChanged: AugmentedEvent; /** * An asset class was destroyed. **/ Destroyed: AugmentedEvent; /** * Dust handler change success. \[currency_id, dust_type\] **/ DustHandlerChange: AugmentedEvent; /** * An account was removed whose balance was non-zero but below * ExistentialDeposit, resulting in an outright loss. \[account, * currency_id, amount\] **/ DustLost: AugmentedEvent; /** * Some asset class was force-created. \[asset_id, owner\] **/ ForceCreated: AugmentedEvent; /** * Some account `who` was frozen. \[asset_id, who\] **/ Frozen: AugmentedEvent; /** * Some assets were issued. \[asset_id, owner, total_supply\] **/ Issued: AugmentedEvent; /** * Metadata has been cleared for an asset. \[asset_id\] **/ MetadataCleared: AugmentedEvent; /** * New metadata has been set for an asset. \[asset_id, name, symbol, * decimals, is_frozen\] **/ MetadataSet: AugmentedEvent; /** * The owner changed \[asset_id, owner\] **/ OwnerChanged: AugmentedEvent; /** * The management team changed \[asset_id, issuer, admin, freezer\] **/ TeamChanged: AugmentedEvent; /** * Some account `who` was thawed. \[asset_id, who\] **/ Thawed: AugmentedEvent; /** * Some asset `asset_id` was frozen. \[asset_id\] **/ TokenFrozen: AugmentedEvent; /** * Some asset `asset_id` was thawed. \[asset_id\] **/ TokenThawed: AugmentedEvent; /** * Token transfer success. \[currency_id, from, to, amount\] **/ Transferred: AugmentedEvent; /** * An `amount` was transferred in its entirety from `owner` to * `destination` by the approved `delegate`. * \[id, owner, delegate, destination\] **/ TransferredApproved: AugmentedEvent; /** * Generic event **/ [key: string]: AugmentedEvent; }; treasury: { /** * Some funds have been allocated. \[proposal_index, award, beneficiary\] **/ Awarded: AugmentedEvent; /** * Some of our funds have been burnt. \[burn\] **/ Burnt: AugmentedEvent; /** * Some funds have been deposited. \[deposit\] **/ Deposit: AugmentedEvent; /** * New proposal. \[proposal_index\] **/ Proposed: AugmentedEvent; /** * A proposal was rejected; funds were slashed. \[proposal_index, slashed\] **/ Rejected: AugmentedEvent; /** * Spending has finished; this is the amount that rolls over until next spend. * \[budget_remaining\] **/ Rollover: AugmentedEvent; /** * We have ended a spend period and will now allocate funds. \[budget_remaining\] **/ Spending: AugmentedEvent; /** * Generic event **/ [key: string]: AugmentedEvent; }; treasuryReward: { /** * Treasury minting event **/ TreasuryMinting: AugmentedEvent; /** * Generic event **/ [key: string]: AugmentedEvent; }; utility: { /** * Batch of dispatches completed fully with no error. **/ BatchCompleted: AugmentedEvent; /** * Batch of dispatches did not complete fully. Index of first failing dispatch given, as * well as the error. \[index, error\] **/ BatchInterrupted: AugmentedEvent; /** * Generic event **/ [key: string]: AugmentedEvent; }; vesting: { /** * An \[account\] has become fully vested. No further vesting can happen. **/ VestingCompleted: AugmentedEvent; /** * The amount vested has been updated. This could indicate more funds are available. The * balance given is the amount which is left unvested (and thus locked). * \[account, unvested\] **/ VestingUpdated: AugmentedEvent; /** * Generic event **/ [key: string]: AugmentedEvent; }; } interface DecoratedEvents extends AugmentedEvents { [key: string]: ModuleEvents; } }