0.0.13-alpha
Signed-off-by: AlienTornadosaurusHex <>
This commit is contained in:
parent
c5478b159d
commit
19c687c9d2
9
.yarn/versions/0aceb0c8.yml
vendored
Normal file
9
.yarn/versions/0aceb0c8.yml
vendored
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
undecided:
|
||||||
|
- "@tornado/sdk-monorepo"
|
||||||
|
- "@tornado/sdk"
|
||||||
|
- "@tornado/sdk-chain"
|
||||||
|
- "@tornado/sdk-core"
|
||||||
|
- "@tornado/sdk-crypto"
|
||||||
|
- "@tornado/sdk-data"
|
||||||
|
- "@tornado/sdk-registry"
|
||||||
|
- "@tornado/sdk-utils"
|
@ -18,3 +18,5 @@ plugins:
|
|||||||
spec: "@yarnpkg/plugin-workspace-tools"
|
spec: "@yarnpkg/plugin-workspace-tools"
|
||||||
- path: .yarn/plugins/@yarnpkg/plugin-version.cjs
|
- path: .yarn/plugins/@yarnpkg/plugin-version.cjs
|
||||||
spec: "@yarnpkg/plugin-version"
|
spec: "@yarnpkg/plugin-version"
|
||||||
|
|
||||||
|
httpTimeout: 1000000
|
@ -13,7 +13,7 @@
|
|||||||
"crypto",
|
"crypto",
|
||||||
"zk"
|
"zk"
|
||||||
],
|
],
|
||||||
"version": "0.0.12-alpha",
|
"version": "0.0.13-alpha",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "^18"
|
"node": "^18"
|
||||||
},
|
},
|
||||||
|
508
@tornado/sdk-chain/src/deth/TornadoRouter.ts
Normal file
508
@tornado/sdk-chain/src/deth/TornadoRouter.ts
Normal file
@ -0,0 +1,508 @@
|
|||||||
|
/* Autogenerated file. Do not edit manually. */
|
||||||
|
/* tslint:disable */
|
||||||
|
/* eslint-disable */
|
||||||
|
import type {
|
||||||
|
BaseContract,
|
||||||
|
BigNumber,
|
||||||
|
BigNumberish,
|
||||||
|
BytesLike,
|
||||||
|
CallOverrides,
|
||||||
|
ContractTransaction,
|
||||||
|
Overrides,
|
||||||
|
PayableOverrides,
|
||||||
|
PopulatedTransaction,
|
||||||
|
Signer,
|
||||||
|
utils
|
||||||
|
} from 'ethers'
|
||||||
|
import type { FunctionFragment, Result, EventFragment } from '@ethersproject/abi'
|
||||||
|
import type { Listener, Provider } from '@ethersproject/providers'
|
||||||
|
import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from './common'
|
||||||
|
|
||||||
|
export interface TornadoRouterInterface extends utils.Interface {
|
||||||
|
functions: {
|
||||||
|
'approveTokenForInstance(address,address,uint256)': FunctionFragment
|
||||||
|
'backupNotes(bytes[])': FunctionFragment
|
||||||
|
'deposit(address,bytes32,bytes)': FunctionFragment
|
||||||
|
'governanceProxyAddress()': FunctionFragment
|
||||||
|
'initialize(address,address)': FunctionFragment
|
||||||
|
'instanceRegistry()': FunctionFragment
|
||||||
|
'relayerRegistry()': FunctionFragment
|
||||||
|
'rescueTokens(address,address,uint256)': FunctionFragment
|
||||||
|
'setInstanceRegistry(address)': FunctionFragment
|
||||||
|
'setRelayerRegistry(address)': FunctionFragment
|
||||||
|
'version()': FunctionFragment
|
||||||
|
'withdraw(address,bytes,bytes32,bytes32,address,address,uint256,uint256)': FunctionFragment
|
||||||
|
}
|
||||||
|
|
||||||
|
getFunction(
|
||||||
|
nameOrSignatureOrTopic:
|
||||||
|
| 'approveTokenForInstance'
|
||||||
|
| 'backupNotes'
|
||||||
|
| 'deposit'
|
||||||
|
| 'governanceProxyAddress'
|
||||||
|
| 'initialize'
|
||||||
|
| 'instanceRegistry'
|
||||||
|
| 'relayerRegistry'
|
||||||
|
| 'rescueTokens'
|
||||||
|
| 'setInstanceRegistry'
|
||||||
|
| 'setRelayerRegistry'
|
||||||
|
| 'version'
|
||||||
|
| 'withdraw'
|
||||||
|
): FunctionFragment
|
||||||
|
|
||||||
|
encodeFunctionData(
|
||||||
|
functionFragment: 'approveTokenForInstance',
|
||||||
|
values: [PromiseOrValue<string>, PromiseOrValue<string>, PromiseOrValue<BigNumberish>]
|
||||||
|
): string
|
||||||
|
encodeFunctionData(functionFragment: 'backupNotes', values: [PromiseOrValue<BytesLike>[]]): string
|
||||||
|
encodeFunctionData(
|
||||||
|
functionFragment: 'deposit',
|
||||||
|
values: [PromiseOrValue<string>, PromiseOrValue<BytesLike>, PromiseOrValue<BytesLike>]
|
||||||
|
): string
|
||||||
|
encodeFunctionData(functionFragment: 'governanceProxyAddress', values?: undefined): string
|
||||||
|
encodeFunctionData(
|
||||||
|
functionFragment: 'initialize',
|
||||||
|
values: [PromiseOrValue<string>, PromiseOrValue<string>]
|
||||||
|
): string
|
||||||
|
encodeFunctionData(functionFragment: 'instanceRegistry', values?: undefined): string
|
||||||
|
encodeFunctionData(functionFragment: 'relayerRegistry', values?: undefined): string
|
||||||
|
encodeFunctionData(
|
||||||
|
functionFragment: 'rescueTokens',
|
||||||
|
values: [PromiseOrValue<string>, PromiseOrValue<string>, PromiseOrValue<BigNumberish>]
|
||||||
|
): string
|
||||||
|
encodeFunctionData(functionFragment: 'setInstanceRegistry', values: [PromiseOrValue<string>]): string
|
||||||
|
encodeFunctionData(functionFragment: 'setRelayerRegistry', values: [PromiseOrValue<string>]): string
|
||||||
|
encodeFunctionData(functionFragment: 'version', values?: undefined): string
|
||||||
|
encodeFunctionData(
|
||||||
|
functionFragment: 'withdraw',
|
||||||
|
values: [
|
||||||
|
PromiseOrValue<string>,
|
||||||
|
PromiseOrValue<BytesLike>,
|
||||||
|
PromiseOrValue<BytesLike>,
|
||||||
|
PromiseOrValue<BytesLike>,
|
||||||
|
PromiseOrValue<string>,
|
||||||
|
PromiseOrValue<string>,
|
||||||
|
PromiseOrValue<BigNumberish>,
|
||||||
|
PromiseOrValue<BigNumberish>
|
||||||
|
]
|
||||||
|
): string
|
||||||
|
|
||||||
|
decodeFunctionResult(functionFragment: 'approveTokenForInstance', data: BytesLike): Result
|
||||||
|
decodeFunctionResult(functionFragment: 'backupNotes', data: BytesLike): Result
|
||||||
|
decodeFunctionResult(functionFragment: 'deposit', data: BytesLike): Result
|
||||||
|
decodeFunctionResult(functionFragment: 'governanceProxyAddress', data: BytesLike): Result
|
||||||
|
decodeFunctionResult(functionFragment: 'initialize', data: BytesLike): Result
|
||||||
|
decodeFunctionResult(functionFragment: 'instanceRegistry', data: BytesLike): Result
|
||||||
|
decodeFunctionResult(functionFragment: 'relayerRegistry', data: BytesLike): Result
|
||||||
|
decodeFunctionResult(functionFragment: 'rescueTokens', data: BytesLike): Result
|
||||||
|
decodeFunctionResult(functionFragment: 'setInstanceRegistry', data: BytesLike): Result
|
||||||
|
decodeFunctionResult(functionFragment: 'setRelayerRegistry', data: BytesLike): Result
|
||||||
|
decodeFunctionResult(functionFragment: 'version', data: BytesLike): Result
|
||||||
|
decodeFunctionResult(functionFragment: 'withdraw', data: BytesLike): Result
|
||||||
|
|
||||||
|
events: {
|
||||||
|
'EncryptedNote(address,bytes)': EventFragment
|
||||||
|
'InstanceRegistryUpdated(address)': EventFragment
|
||||||
|
'RelayerRegistryUpdated(address)': EventFragment
|
||||||
|
'TokenApproved(address,uint256)': EventFragment
|
||||||
|
}
|
||||||
|
|
||||||
|
getEvent(nameOrSignatureOrTopic: 'EncryptedNote'): EventFragment
|
||||||
|
getEvent(nameOrSignatureOrTopic: 'InstanceRegistryUpdated'): EventFragment
|
||||||
|
getEvent(nameOrSignatureOrTopic: 'RelayerRegistryUpdated'): EventFragment
|
||||||
|
getEvent(nameOrSignatureOrTopic: 'TokenApproved'): EventFragment
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface EncryptedNoteEventObject {
|
||||||
|
sender: string
|
||||||
|
encryptedNote: string
|
||||||
|
}
|
||||||
|
export type EncryptedNoteEvent = TypedEvent<[string, string], EncryptedNoteEventObject>
|
||||||
|
|
||||||
|
export type EncryptedNoteEventFilter = TypedEventFilter<EncryptedNoteEvent>
|
||||||
|
|
||||||
|
export interface InstanceRegistryUpdatedEventObject {
|
||||||
|
newInstanceRegistryProxyAddress: string
|
||||||
|
}
|
||||||
|
export type InstanceRegistryUpdatedEvent = TypedEvent<[string], InstanceRegistryUpdatedEventObject>
|
||||||
|
|
||||||
|
export type InstanceRegistryUpdatedEventFilter = TypedEventFilter<InstanceRegistryUpdatedEvent>
|
||||||
|
|
||||||
|
export interface RelayerRegistryUpdatedEventObject {
|
||||||
|
newRelayerRegistryProxyAddress: string
|
||||||
|
}
|
||||||
|
export type RelayerRegistryUpdatedEvent = TypedEvent<[string], RelayerRegistryUpdatedEventObject>
|
||||||
|
|
||||||
|
export type RelayerRegistryUpdatedEventFilter = TypedEventFilter<RelayerRegistryUpdatedEvent>
|
||||||
|
|
||||||
|
export interface TokenApprovedEventObject {
|
||||||
|
spender: string
|
||||||
|
amount: BigNumber
|
||||||
|
}
|
||||||
|
export type TokenApprovedEvent = TypedEvent<[string, BigNumber], TokenApprovedEventObject>
|
||||||
|
|
||||||
|
export type TokenApprovedEventFilter = TypedEventFilter<TokenApprovedEvent>
|
||||||
|
|
||||||
|
export interface TornadoRouter extends BaseContract {
|
||||||
|
contractName: 'TornadoRouter'
|
||||||
|
|
||||||
|
connect(signerOrProvider: Signer | Provider | string): this
|
||||||
|
attach(addressOrName: string): this
|
||||||
|
deployed(): Promise<this>
|
||||||
|
|
||||||
|
interface: TornadoRouterInterface
|
||||||
|
|
||||||
|
queryFilter<TEvent extends TypedEvent>(
|
||||||
|
event: TypedEventFilter<TEvent>,
|
||||||
|
fromBlockOrBlockhash?: string | number | undefined,
|
||||||
|
toBlock?: string | number | undefined
|
||||||
|
): Promise<Array<TEvent>>
|
||||||
|
|
||||||
|
listeners<TEvent extends TypedEvent>(eventFilter?: TypedEventFilter<TEvent>): Array<TypedListener<TEvent>>
|
||||||
|
listeners(eventName?: string): Array<Listener>
|
||||||
|
removeAllListeners<TEvent extends TypedEvent>(eventFilter: TypedEventFilter<TEvent>): this
|
||||||
|
removeAllListeners(eventName?: string): this
|
||||||
|
off: OnEvent<this>
|
||||||
|
on: OnEvent<this>
|
||||||
|
once: OnEvent<this>
|
||||||
|
removeListener: OnEvent<this>
|
||||||
|
|
||||||
|
functions: {
|
||||||
|
approveTokenForInstance(
|
||||||
|
_token: PromiseOrValue<string>,
|
||||||
|
_spender: PromiseOrValue<string>,
|
||||||
|
_amount: PromiseOrValue<BigNumberish>,
|
||||||
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
||||||
|
): Promise<ContractTransaction>
|
||||||
|
|
||||||
|
backupNotes(
|
||||||
|
_encryptedNotes: PromiseOrValue<BytesLike>[],
|
||||||
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
||||||
|
): Promise<ContractTransaction>
|
||||||
|
|
||||||
|
deposit(
|
||||||
|
_tornado: PromiseOrValue<string>,
|
||||||
|
_commitment: PromiseOrValue<BytesLike>,
|
||||||
|
_encryptedNote: PromiseOrValue<BytesLike>,
|
||||||
|
overrides?: PayableOverrides & { from?: PromiseOrValue<string> }
|
||||||
|
): Promise<ContractTransaction>
|
||||||
|
|
||||||
|
governanceProxyAddress(overrides?: CallOverrides): Promise<[string]>
|
||||||
|
|
||||||
|
initialize(
|
||||||
|
_instanceRegistryAddress: PromiseOrValue<string>,
|
||||||
|
_relayerRegistryAddress: PromiseOrValue<string>,
|
||||||
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
||||||
|
): Promise<ContractTransaction>
|
||||||
|
|
||||||
|
instanceRegistry(overrides?: CallOverrides): Promise<[string]>
|
||||||
|
|
||||||
|
relayerRegistry(overrides?: CallOverrides): Promise<[string]>
|
||||||
|
|
||||||
|
rescueTokens(
|
||||||
|
_token: PromiseOrValue<string>,
|
||||||
|
_to: PromiseOrValue<string>,
|
||||||
|
_amount: PromiseOrValue<BigNumberish>,
|
||||||
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
||||||
|
): Promise<ContractTransaction>
|
||||||
|
|
||||||
|
setInstanceRegistry(
|
||||||
|
_newInstanceRegistryProxyAddress: PromiseOrValue<string>,
|
||||||
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
||||||
|
): Promise<ContractTransaction>
|
||||||
|
|
||||||
|
setRelayerRegistry(
|
||||||
|
_newRelayerRegistryProxyAddress: PromiseOrValue<string>,
|
||||||
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
||||||
|
): Promise<ContractTransaction>
|
||||||
|
|
||||||
|
version(overrides?: CallOverrides): Promise<[string]>
|
||||||
|
|
||||||
|
withdraw(
|
||||||
|
_tornado: PromiseOrValue<string>,
|
||||||
|
_proof: PromiseOrValue<BytesLike>,
|
||||||
|
_root: PromiseOrValue<BytesLike>,
|
||||||
|
_nullifierHash: PromiseOrValue<BytesLike>,
|
||||||
|
_recipient: PromiseOrValue<string>,
|
||||||
|
_relayer: PromiseOrValue<string>,
|
||||||
|
_fee: PromiseOrValue<BigNumberish>,
|
||||||
|
_refund: PromiseOrValue<BigNumberish>,
|
||||||
|
overrides?: PayableOverrides & { from?: PromiseOrValue<string> }
|
||||||
|
): Promise<ContractTransaction>
|
||||||
|
}
|
||||||
|
|
||||||
|
approveTokenForInstance(
|
||||||
|
_token: PromiseOrValue<string>,
|
||||||
|
_spender: PromiseOrValue<string>,
|
||||||
|
_amount: PromiseOrValue<BigNumberish>,
|
||||||
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
||||||
|
): Promise<ContractTransaction>
|
||||||
|
|
||||||
|
backupNotes(
|
||||||
|
_encryptedNotes: PromiseOrValue<BytesLike>[],
|
||||||
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
||||||
|
): Promise<ContractTransaction>
|
||||||
|
|
||||||
|
deposit(
|
||||||
|
_tornado: PromiseOrValue<string>,
|
||||||
|
_commitment: PromiseOrValue<BytesLike>,
|
||||||
|
_encryptedNote: PromiseOrValue<BytesLike>,
|
||||||
|
overrides?: PayableOverrides & { from?: PromiseOrValue<string> }
|
||||||
|
): Promise<ContractTransaction>
|
||||||
|
|
||||||
|
governanceProxyAddress(overrides?: CallOverrides): Promise<string>
|
||||||
|
|
||||||
|
initialize(
|
||||||
|
_instanceRegistryAddress: PromiseOrValue<string>,
|
||||||
|
_relayerRegistryAddress: PromiseOrValue<string>,
|
||||||
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
||||||
|
): Promise<ContractTransaction>
|
||||||
|
|
||||||
|
instanceRegistry(overrides?: CallOverrides): Promise<string>
|
||||||
|
|
||||||
|
relayerRegistry(overrides?: CallOverrides): Promise<string>
|
||||||
|
|
||||||
|
rescueTokens(
|
||||||
|
_token: PromiseOrValue<string>,
|
||||||
|
_to: PromiseOrValue<string>,
|
||||||
|
_amount: PromiseOrValue<BigNumberish>,
|
||||||
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
||||||
|
): Promise<ContractTransaction>
|
||||||
|
|
||||||
|
setInstanceRegistry(
|
||||||
|
_newInstanceRegistryProxyAddress: PromiseOrValue<string>,
|
||||||
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
||||||
|
): Promise<ContractTransaction>
|
||||||
|
|
||||||
|
setRelayerRegistry(
|
||||||
|
_newRelayerRegistryProxyAddress: PromiseOrValue<string>,
|
||||||
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
||||||
|
): Promise<ContractTransaction>
|
||||||
|
|
||||||
|
version(overrides?: CallOverrides): Promise<string>
|
||||||
|
|
||||||
|
withdraw(
|
||||||
|
_tornado: PromiseOrValue<string>,
|
||||||
|
_proof: PromiseOrValue<BytesLike>,
|
||||||
|
_root: PromiseOrValue<BytesLike>,
|
||||||
|
_nullifierHash: PromiseOrValue<BytesLike>,
|
||||||
|
_recipient: PromiseOrValue<string>,
|
||||||
|
_relayer: PromiseOrValue<string>,
|
||||||
|
_fee: PromiseOrValue<BigNumberish>,
|
||||||
|
_refund: PromiseOrValue<BigNumberish>,
|
||||||
|
overrides?: PayableOverrides & { from?: PromiseOrValue<string> }
|
||||||
|
): Promise<ContractTransaction>
|
||||||
|
|
||||||
|
callStatic: {
|
||||||
|
approveTokenForInstance(
|
||||||
|
_token: PromiseOrValue<string>,
|
||||||
|
_spender: PromiseOrValue<string>,
|
||||||
|
_amount: PromiseOrValue<BigNumberish>,
|
||||||
|
overrides?: CallOverrides
|
||||||
|
): Promise<void>
|
||||||
|
|
||||||
|
backupNotes(_encryptedNotes: PromiseOrValue<BytesLike>[], overrides?: CallOverrides): Promise<void>
|
||||||
|
|
||||||
|
deposit(
|
||||||
|
_tornado: PromiseOrValue<string>,
|
||||||
|
_commitment: PromiseOrValue<BytesLike>,
|
||||||
|
_encryptedNote: PromiseOrValue<BytesLike>,
|
||||||
|
overrides?: CallOverrides
|
||||||
|
): Promise<void>
|
||||||
|
|
||||||
|
governanceProxyAddress(overrides?: CallOverrides): Promise<string>
|
||||||
|
|
||||||
|
initialize(
|
||||||
|
_instanceRegistryAddress: PromiseOrValue<string>,
|
||||||
|
_relayerRegistryAddress: PromiseOrValue<string>,
|
||||||
|
overrides?: CallOverrides
|
||||||
|
): Promise<void>
|
||||||
|
|
||||||
|
instanceRegistry(overrides?: CallOverrides): Promise<string>
|
||||||
|
|
||||||
|
relayerRegistry(overrides?: CallOverrides): Promise<string>
|
||||||
|
|
||||||
|
rescueTokens(
|
||||||
|
_token: PromiseOrValue<string>,
|
||||||
|
_to: PromiseOrValue<string>,
|
||||||
|
_amount: PromiseOrValue<BigNumberish>,
|
||||||
|
overrides?: CallOverrides
|
||||||
|
): Promise<void>
|
||||||
|
|
||||||
|
setInstanceRegistry(
|
||||||
|
_newInstanceRegistryProxyAddress: PromiseOrValue<string>,
|
||||||
|
overrides?: CallOverrides
|
||||||
|
): Promise<void>
|
||||||
|
|
||||||
|
setRelayerRegistry(
|
||||||
|
_newRelayerRegistryProxyAddress: PromiseOrValue<string>,
|
||||||
|
overrides?: CallOverrides
|
||||||
|
): Promise<void>
|
||||||
|
|
||||||
|
version(overrides?: CallOverrides): Promise<string>
|
||||||
|
|
||||||
|
withdraw(
|
||||||
|
_tornado: PromiseOrValue<string>,
|
||||||
|
_proof: PromiseOrValue<BytesLike>,
|
||||||
|
_root: PromiseOrValue<BytesLike>,
|
||||||
|
_nullifierHash: PromiseOrValue<BytesLike>,
|
||||||
|
_recipient: PromiseOrValue<string>,
|
||||||
|
_relayer: PromiseOrValue<string>,
|
||||||
|
_fee: PromiseOrValue<BigNumberish>,
|
||||||
|
_refund: PromiseOrValue<BigNumberish>,
|
||||||
|
overrides?: CallOverrides
|
||||||
|
): Promise<void>
|
||||||
|
}
|
||||||
|
|
||||||
|
filters: {
|
||||||
|
'EncryptedNote(address,bytes)'(
|
||||||
|
sender?: PromiseOrValue<string> | null,
|
||||||
|
encryptedNote?: null
|
||||||
|
): EncryptedNoteEventFilter
|
||||||
|
EncryptedNote(sender?: PromiseOrValue<string> | null, encryptedNote?: null): EncryptedNoteEventFilter
|
||||||
|
|
||||||
|
'InstanceRegistryUpdated(address)'(
|
||||||
|
newInstanceRegistryProxyAddress?: null
|
||||||
|
): InstanceRegistryUpdatedEventFilter
|
||||||
|
InstanceRegistryUpdated(newInstanceRegistryProxyAddress?: null): InstanceRegistryUpdatedEventFilter
|
||||||
|
|
||||||
|
'RelayerRegistryUpdated(address)'(
|
||||||
|
newRelayerRegistryProxyAddress?: null
|
||||||
|
): RelayerRegistryUpdatedEventFilter
|
||||||
|
RelayerRegistryUpdated(newRelayerRegistryProxyAddress?: null): RelayerRegistryUpdatedEventFilter
|
||||||
|
|
||||||
|
'TokenApproved(address,uint256)'(
|
||||||
|
spender?: PromiseOrValue<string> | null,
|
||||||
|
amount?: null
|
||||||
|
): TokenApprovedEventFilter
|
||||||
|
TokenApproved(spender?: PromiseOrValue<string> | null, amount?: null): TokenApprovedEventFilter
|
||||||
|
}
|
||||||
|
|
||||||
|
estimateGas: {
|
||||||
|
approveTokenForInstance(
|
||||||
|
_token: PromiseOrValue<string>,
|
||||||
|
_spender: PromiseOrValue<string>,
|
||||||
|
_amount: PromiseOrValue<BigNumberish>,
|
||||||
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
||||||
|
): Promise<BigNumber>
|
||||||
|
|
||||||
|
backupNotes(
|
||||||
|
_encryptedNotes: PromiseOrValue<BytesLike>[],
|
||||||
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
||||||
|
): Promise<BigNumber>
|
||||||
|
|
||||||
|
deposit(
|
||||||
|
_tornado: PromiseOrValue<string>,
|
||||||
|
_commitment: PromiseOrValue<BytesLike>,
|
||||||
|
_encryptedNote: PromiseOrValue<BytesLike>,
|
||||||
|
overrides?: PayableOverrides & { from?: PromiseOrValue<string> }
|
||||||
|
): Promise<BigNumber>
|
||||||
|
|
||||||
|
governanceProxyAddress(overrides?: CallOverrides): Promise<BigNumber>
|
||||||
|
|
||||||
|
initialize(
|
||||||
|
_instanceRegistryAddress: PromiseOrValue<string>,
|
||||||
|
_relayerRegistryAddress: PromiseOrValue<string>,
|
||||||
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
||||||
|
): Promise<BigNumber>
|
||||||
|
|
||||||
|
instanceRegistry(overrides?: CallOverrides): Promise<BigNumber>
|
||||||
|
|
||||||
|
relayerRegistry(overrides?: CallOverrides): Promise<BigNumber>
|
||||||
|
|
||||||
|
rescueTokens(
|
||||||
|
_token: PromiseOrValue<string>,
|
||||||
|
_to: PromiseOrValue<string>,
|
||||||
|
_amount: PromiseOrValue<BigNumberish>,
|
||||||
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
||||||
|
): Promise<BigNumber>
|
||||||
|
|
||||||
|
setInstanceRegistry(
|
||||||
|
_newInstanceRegistryProxyAddress: PromiseOrValue<string>,
|
||||||
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
||||||
|
): Promise<BigNumber>
|
||||||
|
|
||||||
|
setRelayerRegistry(
|
||||||
|
_newRelayerRegistryProxyAddress: PromiseOrValue<string>,
|
||||||
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
||||||
|
): Promise<BigNumber>
|
||||||
|
|
||||||
|
version(overrides?: CallOverrides): Promise<BigNumber>
|
||||||
|
|
||||||
|
withdraw(
|
||||||
|
_tornado: PromiseOrValue<string>,
|
||||||
|
_proof: PromiseOrValue<BytesLike>,
|
||||||
|
_root: PromiseOrValue<BytesLike>,
|
||||||
|
_nullifierHash: PromiseOrValue<BytesLike>,
|
||||||
|
_recipient: PromiseOrValue<string>,
|
||||||
|
_relayer: PromiseOrValue<string>,
|
||||||
|
_fee: PromiseOrValue<BigNumberish>,
|
||||||
|
_refund: PromiseOrValue<BigNumberish>,
|
||||||
|
overrides?: PayableOverrides & { from?: PromiseOrValue<string> }
|
||||||
|
): Promise<BigNumber>
|
||||||
|
}
|
||||||
|
|
||||||
|
populateTransaction: {
|
||||||
|
approveTokenForInstance(
|
||||||
|
_token: PromiseOrValue<string>,
|
||||||
|
_spender: PromiseOrValue<string>,
|
||||||
|
_amount: PromiseOrValue<BigNumberish>,
|
||||||
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
||||||
|
): Promise<PopulatedTransaction>
|
||||||
|
|
||||||
|
backupNotes(
|
||||||
|
_encryptedNotes: PromiseOrValue<BytesLike>[],
|
||||||
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
||||||
|
): Promise<PopulatedTransaction>
|
||||||
|
|
||||||
|
deposit(
|
||||||
|
_tornado: PromiseOrValue<string>,
|
||||||
|
_commitment: PromiseOrValue<BytesLike>,
|
||||||
|
_encryptedNote: PromiseOrValue<BytesLike>,
|
||||||
|
overrides?: PayableOverrides & { from?: PromiseOrValue<string> }
|
||||||
|
): Promise<PopulatedTransaction>
|
||||||
|
|
||||||
|
governanceProxyAddress(overrides?: CallOverrides): Promise<PopulatedTransaction>
|
||||||
|
|
||||||
|
initialize(
|
||||||
|
_instanceRegistryAddress: PromiseOrValue<string>,
|
||||||
|
_relayerRegistryAddress: PromiseOrValue<string>,
|
||||||
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
||||||
|
): Promise<PopulatedTransaction>
|
||||||
|
|
||||||
|
instanceRegistry(overrides?: CallOverrides): Promise<PopulatedTransaction>
|
||||||
|
|
||||||
|
relayerRegistry(overrides?: CallOverrides): Promise<PopulatedTransaction>
|
||||||
|
|
||||||
|
rescueTokens(
|
||||||
|
_token: PromiseOrValue<string>,
|
||||||
|
_to: PromiseOrValue<string>,
|
||||||
|
_amount: PromiseOrValue<BigNumberish>,
|
||||||
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
||||||
|
): Promise<PopulatedTransaction>
|
||||||
|
|
||||||
|
setInstanceRegistry(
|
||||||
|
_newInstanceRegistryProxyAddress: PromiseOrValue<string>,
|
||||||
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
||||||
|
): Promise<PopulatedTransaction>
|
||||||
|
|
||||||
|
setRelayerRegistry(
|
||||||
|
_newRelayerRegistryProxyAddress: PromiseOrValue<string>,
|
||||||
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
||||||
|
): Promise<PopulatedTransaction>
|
||||||
|
|
||||||
|
version(overrides?: CallOverrides): Promise<PopulatedTransaction>
|
||||||
|
|
||||||
|
withdraw(
|
||||||
|
_tornado: PromiseOrValue<string>,
|
||||||
|
_proof: PromiseOrValue<BytesLike>,
|
||||||
|
_root: PromiseOrValue<BytesLike>,
|
||||||
|
_nullifierHash: PromiseOrValue<BytesLike>,
|
||||||
|
_recipient: PromiseOrValue<string>,
|
||||||
|
_relayer: PromiseOrValue<string>,
|
||||||
|
_fee: PromiseOrValue<BigNumberish>,
|
||||||
|
_refund: PromiseOrValue<BigNumberish>,
|
||||||
|
overrides?: PayableOverrides & { from?: PromiseOrValue<string> }
|
||||||
|
): Promise<PopulatedTransaction>
|
||||||
|
}
|
||||||
|
}
|
362
@tornado/sdk-chain/src/deth/factories/TornadoRouter__factory.ts
Normal file
362
@tornado/sdk-chain/src/deth/factories/TornadoRouter__factory.ts
Normal file
File diff suppressed because one or more lines are too long
@ -10,3 +10,4 @@ export { MulticallContract__factory } from './MulticallContract__factory'
|
|||||||
export { RelayerRegistry__factory } from './RelayerRegistry__factory'
|
export { RelayerRegistry__factory } from './RelayerRegistry__factory'
|
||||||
export { TornadoInstance__factory } from './TornadoInstance__factory'
|
export { TornadoInstance__factory } from './TornadoInstance__factory'
|
||||||
export { TornadoProxy__factory } from './TornadoProxy__factory'
|
export { TornadoProxy__factory } from './TornadoProxy__factory'
|
||||||
|
export { TornadoRouter__factory } from './TornadoRouter__factory'
|
||||||
|
@ -10,6 +10,7 @@ export type { MulticallContract } from './MulticallContract'
|
|||||||
export type { RelayerRegistry } from './RelayerRegistry'
|
export type { RelayerRegistry } from './RelayerRegistry'
|
||||||
export type { TornadoInstance } from './TornadoInstance'
|
export type { TornadoInstance } from './TornadoInstance'
|
||||||
export type { TornadoProxy } from './TornadoProxy'
|
export type { TornadoProxy } from './TornadoProxy'
|
||||||
|
export type { TornadoRouter } from './TornadoRouter'
|
||||||
export * as factories from './factories'
|
export * as factories from './factories'
|
||||||
export { ERC20__factory } from './factories/ERC20__factory'
|
export { ERC20__factory } from './factories/ERC20__factory'
|
||||||
export { ERC20Mock__factory } from './factories/ERC20Mock__factory'
|
export { ERC20Mock__factory } from './factories/ERC20Mock__factory'
|
||||||
@ -20,3 +21,4 @@ export { MulticallContract__factory } from './factories/MulticallContract__facto
|
|||||||
export { RelayerRegistry__factory } from './factories/RelayerRegistry__factory'
|
export { RelayerRegistry__factory } from './factories/RelayerRegistry__factory'
|
||||||
export { TornadoInstance__factory } from './factories/TornadoInstance__factory'
|
export { TornadoInstance__factory } from './factories/TornadoInstance__factory'
|
||||||
export { TornadoProxy__factory } from './factories/TornadoProxy__factory'
|
export { TornadoProxy__factory } from './factories/TornadoProxy__factory'
|
||||||
|
export { TornadoRouter__factory } from './factories/TornadoRouter__factory'
|
||||||
|
@ -23,8 +23,10 @@ import {
|
|||||||
ETHTornado__factory,
|
ETHTornado__factory,
|
||||||
TornadoInstance,
|
TornadoInstance,
|
||||||
TornadoInstance__factory,
|
TornadoInstance__factory,
|
||||||
TornadoProxy__factory,
|
TornadoRouter,
|
||||||
|
TornadoRouter__factory,
|
||||||
TornadoProxy,
|
TornadoProxy,
|
||||||
|
TornadoProxy__factory,
|
||||||
ERC20,
|
ERC20,
|
||||||
ERC20__factory,
|
ERC20__factory,
|
||||||
RelayerRegistry,
|
RelayerRegistry,
|
||||||
@ -44,6 +46,7 @@ import { parseIndexableString } from 'pouchdb-collate'
|
|||||||
|
|
||||||
export type TornadoContracts =
|
export type TornadoContracts =
|
||||||
| TornadoInstance
|
| TornadoInstance
|
||||||
|
| TornadoRouter
|
||||||
| TornadoProxy
|
| TornadoProxy
|
||||||
| ETHTornado
|
| ETHTornado
|
||||||
| ERC20Tornado
|
| ERC20Tornado
|
||||||
@ -203,6 +206,8 @@ export namespace Contracts {
|
|||||||
): C {
|
): C {
|
||||||
if (name == 'TornadoInstance') {
|
if (name == 'TornadoInstance') {
|
||||||
return TornadoInstance__factory.connect(address, signerOrProvider) as C
|
return TornadoInstance__factory.connect(address, signerOrProvider) as C
|
||||||
|
} else if (name == 'TornadoRouter') {
|
||||||
|
return TornadoRouter__factory.connect(address, signerOrProvider) as C
|
||||||
} else if (name == 'TornadoProxy') {
|
} else if (name == 'TornadoProxy') {
|
||||||
return TornadoProxy__factory.connect(address, signerOrProvider) as C
|
return TornadoProxy__factory.connect(address, signerOrProvider) as C
|
||||||
} else if (name == 'ETHTornado') {
|
} else if (name == 'ETHTornado') {
|
||||||
@ -230,6 +235,17 @@ export namespace Contracts {
|
|||||||
return contractMap.get(`TornadoProxy${network}`) as TornadoProxy
|
return contractMap.get(`TornadoProxy${network}`) as TornadoProxy
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export function getRouter(network: string, signerOrProvider: Signer | Provider): TornadoRouter {
|
||||||
|
const key = `TornadoRouter${network}`
|
||||||
|
if (!contractMap.has(key)) {
|
||||||
|
contractMap.set(
|
||||||
|
key,
|
||||||
|
_getContract<TornadoRouter>('TornadoRouter', Onchain.getProxyAddressSync(network), signerOrProvider)
|
||||||
|
)
|
||||||
|
}
|
||||||
|
return contractMap.get(`TornadoRouter${network}`) as TornadoRouter
|
||||||
|
}
|
||||||
|
|
||||||
export function getRegistry(signerOrProvider: Signer | Provider, network?: string): RelayerRegistry {
|
export function getRegistry(signerOrProvider: Signer | Provider, network?: string): RelayerRegistry {
|
||||||
const key = `RelayerRegistry${network}`
|
const key = `RelayerRegistry${network}`
|
||||||
if (!contractMap.has(key))
|
if (!contractMap.has(key))
|
||||||
@ -315,9 +331,6 @@ export abstract class Synchronizer extends EventEmitter {
|
|||||||
_options.blockDelta = _options.blockDivisor
|
_options.blockDelta = _options.blockDivisor
|
||||||
? Math.floor((_options.targetBlock - _options.startBlock) / _options.blockDivisor)
|
? Math.floor((_options.targetBlock - _options.startBlock) / _options.blockDivisor)
|
||||||
: _options.blockDelta
|
: _options.blockDelta
|
||||||
|
|
||||||
if (10_000 < _options.blockDelta)
|
|
||||||
throw ErrorUtils.getError('Synchronizer.sync: blockDelta must not be above 10,000!')
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Start synchronizing
|
// Start synchronizing
|
||||||
@ -418,10 +431,7 @@ export abstract class Synchronizer extends EventEmitter {
|
|||||||
options.blockDelta ??
|
options.blockDelta ??
|
||||||
(options.blockDivisor
|
(options.blockDivisor
|
||||||
? Math.floor((options.targetBlock - options.startBlock) / options.blockDivisor)
|
? Math.floor((options.targetBlock - options.startBlock) / options.blockDivisor)
|
||||||
: 10000)
|
: 1024)
|
||||||
|
|
||||||
if (10_000 < options.blockDelta)
|
|
||||||
throw ErrorUtils.getError('Synchronizer._populateSyncOptions: blockDelta must not be above 10,000!')
|
|
||||||
|
|
||||||
options.concurrencyLimit = options.concurrencyLimit ?? 8
|
options.concurrencyLimit = options.concurrencyLimit ?? 8
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
"crypto",
|
"crypto",
|
||||||
"zk"
|
"zk"
|
||||||
],
|
],
|
||||||
"version": "0.0.12-alpha",
|
"version": "0.0.13-alpha",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "^18"
|
"node": "^18"
|
||||||
},
|
},
|
||||||
|
508
@tornado/sdk-core/src/deth/TornadoRouter.ts
Normal file
508
@tornado/sdk-core/src/deth/TornadoRouter.ts
Normal file
@ -0,0 +1,508 @@
|
|||||||
|
/* Autogenerated file. Do not edit manually. */
|
||||||
|
/* tslint:disable */
|
||||||
|
/* eslint-disable */
|
||||||
|
import type {
|
||||||
|
BaseContract,
|
||||||
|
BigNumber,
|
||||||
|
BigNumberish,
|
||||||
|
BytesLike,
|
||||||
|
CallOverrides,
|
||||||
|
ContractTransaction,
|
||||||
|
Overrides,
|
||||||
|
PayableOverrides,
|
||||||
|
PopulatedTransaction,
|
||||||
|
Signer,
|
||||||
|
utils
|
||||||
|
} from 'ethers'
|
||||||
|
import type { FunctionFragment, Result, EventFragment } from '@ethersproject/abi'
|
||||||
|
import type { Listener, Provider } from '@ethersproject/providers'
|
||||||
|
import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from './common'
|
||||||
|
|
||||||
|
export interface TornadoRouterInterface extends utils.Interface {
|
||||||
|
functions: {
|
||||||
|
'approveTokenForInstance(address,address,uint256)': FunctionFragment
|
||||||
|
'backupNotes(bytes[])': FunctionFragment
|
||||||
|
'deposit(address,bytes32,bytes)': FunctionFragment
|
||||||
|
'governanceProxyAddress()': FunctionFragment
|
||||||
|
'initialize(address,address)': FunctionFragment
|
||||||
|
'instanceRegistry()': FunctionFragment
|
||||||
|
'relayerRegistry()': FunctionFragment
|
||||||
|
'rescueTokens(address,address,uint256)': FunctionFragment
|
||||||
|
'setInstanceRegistry(address)': FunctionFragment
|
||||||
|
'setRelayerRegistry(address)': FunctionFragment
|
||||||
|
'version()': FunctionFragment
|
||||||
|
'withdraw(address,bytes,bytes32,bytes32,address,address,uint256,uint256)': FunctionFragment
|
||||||
|
}
|
||||||
|
|
||||||
|
getFunction(
|
||||||
|
nameOrSignatureOrTopic:
|
||||||
|
| 'approveTokenForInstance'
|
||||||
|
| 'backupNotes'
|
||||||
|
| 'deposit'
|
||||||
|
| 'governanceProxyAddress'
|
||||||
|
| 'initialize'
|
||||||
|
| 'instanceRegistry'
|
||||||
|
| 'relayerRegistry'
|
||||||
|
| 'rescueTokens'
|
||||||
|
| 'setInstanceRegistry'
|
||||||
|
| 'setRelayerRegistry'
|
||||||
|
| 'version'
|
||||||
|
| 'withdraw'
|
||||||
|
): FunctionFragment
|
||||||
|
|
||||||
|
encodeFunctionData(
|
||||||
|
functionFragment: 'approveTokenForInstance',
|
||||||
|
values: [PromiseOrValue<string>, PromiseOrValue<string>, PromiseOrValue<BigNumberish>]
|
||||||
|
): string
|
||||||
|
encodeFunctionData(functionFragment: 'backupNotes', values: [PromiseOrValue<BytesLike>[]]): string
|
||||||
|
encodeFunctionData(
|
||||||
|
functionFragment: 'deposit',
|
||||||
|
values: [PromiseOrValue<string>, PromiseOrValue<BytesLike>, PromiseOrValue<BytesLike>]
|
||||||
|
): string
|
||||||
|
encodeFunctionData(functionFragment: 'governanceProxyAddress', values?: undefined): string
|
||||||
|
encodeFunctionData(
|
||||||
|
functionFragment: 'initialize',
|
||||||
|
values: [PromiseOrValue<string>, PromiseOrValue<string>]
|
||||||
|
): string
|
||||||
|
encodeFunctionData(functionFragment: 'instanceRegistry', values?: undefined): string
|
||||||
|
encodeFunctionData(functionFragment: 'relayerRegistry', values?: undefined): string
|
||||||
|
encodeFunctionData(
|
||||||
|
functionFragment: 'rescueTokens',
|
||||||
|
values: [PromiseOrValue<string>, PromiseOrValue<string>, PromiseOrValue<BigNumberish>]
|
||||||
|
): string
|
||||||
|
encodeFunctionData(functionFragment: 'setInstanceRegistry', values: [PromiseOrValue<string>]): string
|
||||||
|
encodeFunctionData(functionFragment: 'setRelayerRegistry', values: [PromiseOrValue<string>]): string
|
||||||
|
encodeFunctionData(functionFragment: 'version', values?: undefined): string
|
||||||
|
encodeFunctionData(
|
||||||
|
functionFragment: 'withdraw',
|
||||||
|
values: [
|
||||||
|
PromiseOrValue<string>,
|
||||||
|
PromiseOrValue<BytesLike>,
|
||||||
|
PromiseOrValue<BytesLike>,
|
||||||
|
PromiseOrValue<BytesLike>,
|
||||||
|
PromiseOrValue<string>,
|
||||||
|
PromiseOrValue<string>,
|
||||||
|
PromiseOrValue<BigNumberish>,
|
||||||
|
PromiseOrValue<BigNumberish>
|
||||||
|
]
|
||||||
|
): string
|
||||||
|
|
||||||
|
decodeFunctionResult(functionFragment: 'approveTokenForInstance', data: BytesLike): Result
|
||||||
|
decodeFunctionResult(functionFragment: 'backupNotes', data: BytesLike): Result
|
||||||
|
decodeFunctionResult(functionFragment: 'deposit', data: BytesLike): Result
|
||||||
|
decodeFunctionResult(functionFragment: 'governanceProxyAddress', data: BytesLike): Result
|
||||||
|
decodeFunctionResult(functionFragment: 'initialize', data: BytesLike): Result
|
||||||
|
decodeFunctionResult(functionFragment: 'instanceRegistry', data: BytesLike): Result
|
||||||
|
decodeFunctionResult(functionFragment: 'relayerRegistry', data: BytesLike): Result
|
||||||
|
decodeFunctionResult(functionFragment: 'rescueTokens', data: BytesLike): Result
|
||||||
|
decodeFunctionResult(functionFragment: 'setInstanceRegistry', data: BytesLike): Result
|
||||||
|
decodeFunctionResult(functionFragment: 'setRelayerRegistry', data: BytesLike): Result
|
||||||
|
decodeFunctionResult(functionFragment: 'version', data: BytesLike): Result
|
||||||
|
decodeFunctionResult(functionFragment: 'withdraw', data: BytesLike): Result
|
||||||
|
|
||||||
|
events: {
|
||||||
|
'EncryptedNote(address,bytes)': EventFragment
|
||||||
|
'InstanceRegistryUpdated(address)': EventFragment
|
||||||
|
'RelayerRegistryUpdated(address)': EventFragment
|
||||||
|
'TokenApproved(address,uint256)': EventFragment
|
||||||
|
}
|
||||||
|
|
||||||
|
getEvent(nameOrSignatureOrTopic: 'EncryptedNote'): EventFragment
|
||||||
|
getEvent(nameOrSignatureOrTopic: 'InstanceRegistryUpdated'): EventFragment
|
||||||
|
getEvent(nameOrSignatureOrTopic: 'RelayerRegistryUpdated'): EventFragment
|
||||||
|
getEvent(nameOrSignatureOrTopic: 'TokenApproved'): EventFragment
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface EncryptedNoteEventObject {
|
||||||
|
sender: string
|
||||||
|
encryptedNote: string
|
||||||
|
}
|
||||||
|
export type EncryptedNoteEvent = TypedEvent<[string, string], EncryptedNoteEventObject>
|
||||||
|
|
||||||
|
export type EncryptedNoteEventFilter = TypedEventFilter<EncryptedNoteEvent>
|
||||||
|
|
||||||
|
export interface InstanceRegistryUpdatedEventObject {
|
||||||
|
newInstanceRegistryProxyAddress: string
|
||||||
|
}
|
||||||
|
export type InstanceRegistryUpdatedEvent = TypedEvent<[string], InstanceRegistryUpdatedEventObject>
|
||||||
|
|
||||||
|
export type InstanceRegistryUpdatedEventFilter = TypedEventFilter<InstanceRegistryUpdatedEvent>
|
||||||
|
|
||||||
|
export interface RelayerRegistryUpdatedEventObject {
|
||||||
|
newRelayerRegistryProxyAddress: string
|
||||||
|
}
|
||||||
|
export type RelayerRegistryUpdatedEvent = TypedEvent<[string], RelayerRegistryUpdatedEventObject>
|
||||||
|
|
||||||
|
export type RelayerRegistryUpdatedEventFilter = TypedEventFilter<RelayerRegistryUpdatedEvent>
|
||||||
|
|
||||||
|
export interface TokenApprovedEventObject {
|
||||||
|
spender: string
|
||||||
|
amount: BigNumber
|
||||||
|
}
|
||||||
|
export type TokenApprovedEvent = TypedEvent<[string, BigNumber], TokenApprovedEventObject>
|
||||||
|
|
||||||
|
export type TokenApprovedEventFilter = TypedEventFilter<TokenApprovedEvent>
|
||||||
|
|
||||||
|
export interface TornadoRouter extends BaseContract {
|
||||||
|
contractName: 'TornadoRouter'
|
||||||
|
|
||||||
|
connect(signerOrProvider: Signer | Provider | string): this
|
||||||
|
attach(addressOrName: string): this
|
||||||
|
deployed(): Promise<this>
|
||||||
|
|
||||||
|
interface: TornadoRouterInterface
|
||||||
|
|
||||||
|
queryFilter<TEvent extends TypedEvent>(
|
||||||
|
event: TypedEventFilter<TEvent>,
|
||||||
|
fromBlockOrBlockhash?: string | number | undefined,
|
||||||
|
toBlock?: string | number | undefined
|
||||||
|
): Promise<Array<TEvent>>
|
||||||
|
|
||||||
|
listeners<TEvent extends TypedEvent>(eventFilter?: TypedEventFilter<TEvent>): Array<TypedListener<TEvent>>
|
||||||
|
listeners(eventName?: string): Array<Listener>
|
||||||
|
removeAllListeners<TEvent extends TypedEvent>(eventFilter: TypedEventFilter<TEvent>): this
|
||||||
|
removeAllListeners(eventName?: string): this
|
||||||
|
off: OnEvent<this>
|
||||||
|
on: OnEvent<this>
|
||||||
|
once: OnEvent<this>
|
||||||
|
removeListener: OnEvent<this>
|
||||||
|
|
||||||
|
functions: {
|
||||||
|
approveTokenForInstance(
|
||||||
|
_token: PromiseOrValue<string>,
|
||||||
|
_spender: PromiseOrValue<string>,
|
||||||
|
_amount: PromiseOrValue<BigNumberish>,
|
||||||
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
||||||
|
): Promise<ContractTransaction>
|
||||||
|
|
||||||
|
backupNotes(
|
||||||
|
_encryptedNotes: PromiseOrValue<BytesLike>[],
|
||||||
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
||||||
|
): Promise<ContractTransaction>
|
||||||
|
|
||||||
|
deposit(
|
||||||
|
_tornado: PromiseOrValue<string>,
|
||||||
|
_commitment: PromiseOrValue<BytesLike>,
|
||||||
|
_encryptedNote: PromiseOrValue<BytesLike>,
|
||||||
|
overrides?: PayableOverrides & { from?: PromiseOrValue<string> }
|
||||||
|
): Promise<ContractTransaction>
|
||||||
|
|
||||||
|
governanceProxyAddress(overrides?: CallOverrides): Promise<[string]>
|
||||||
|
|
||||||
|
initialize(
|
||||||
|
_instanceRegistryAddress: PromiseOrValue<string>,
|
||||||
|
_relayerRegistryAddress: PromiseOrValue<string>,
|
||||||
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
||||||
|
): Promise<ContractTransaction>
|
||||||
|
|
||||||
|
instanceRegistry(overrides?: CallOverrides): Promise<[string]>
|
||||||
|
|
||||||
|
relayerRegistry(overrides?: CallOverrides): Promise<[string]>
|
||||||
|
|
||||||
|
rescueTokens(
|
||||||
|
_token: PromiseOrValue<string>,
|
||||||
|
_to: PromiseOrValue<string>,
|
||||||
|
_amount: PromiseOrValue<BigNumberish>,
|
||||||
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
||||||
|
): Promise<ContractTransaction>
|
||||||
|
|
||||||
|
setInstanceRegistry(
|
||||||
|
_newInstanceRegistryProxyAddress: PromiseOrValue<string>,
|
||||||
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
||||||
|
): Promise<ContractTransaction>
|
||||||
|
|
||||||
|
setRelayerRegistry(
|
||||||
|
_newRelayerRegistryProxyAddress: PromiseOrValue<string>,
|
||||||
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
||||||
|
): Promise<ContractTransaction>
|
||||||
|
|
||||||
|
version(overrides?: CallOverrides): Promise<[string]>
|
||||||
|
|
||||||
|
withdraw(
|
||||||
|
_tornado: PromiseOrValue<string>,
|
||||||
|
_proof: PromiseOrValue<BytesLike>,
|
||||||
|
_root: PromiseOrValue<BytesLike>,
|
||||||
|
_nullifierHash: PromiseOrValue<BytesLike>,
|
||||||
|
_recipient: PromiseOrValue<string>,
|
||||||
|
_relayer: PromiseOrValue<string>,
|
||||||
|
_fee: PromiseOrValue<BigNumberish>,
|
||||||
|
_refund: PromiseOrValue<BigNumberish>,
|
||||||
|
overrides?: PayableOverrides & { from?: PromiseOrValue<string> }
|
||||||
|
): Promise<ContractTransaction>
|
||||||
|
}
|
||||||
|
|
||||||
|
approveTokenForInstance(
|
||||||
|
_token: PromiseOrValue<string>,
|
||||||
|
_spender: PromiseOrValue<string>,
|
||||||
|
_amount: PromiseOrValue<BigNumberish>,
|
||||||
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
||||||
|
): Promise<ContractTransaction>
|
||||||
|
|
||||||
|
backupNotes(
|
||||||
|
_encryptedNotes: PromiseOrValue<BytesLike>[],
|
||||||
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
||||||
|
): Promise<ContractTransaction>
|
||||||
|
|
||||||
|
deposit(
|
||||||
|
_tornado: PromiseOrValue<string>,
|
||||||
|
_commitment: PromiseOrValue<BytesLike>,
|
||||||
|
_encryptedNote: PromiseOrValue<BytesLike>,
|
||||||
|
overrides?: PayableOverrides & { from?: PromiseOrValue<string> }
|
||||||
|
): Promise<ContractTransaction>
|
||||||
|
|
||||||
|
governanceProxyAddress(overrides?: CallOverrides): Promise<string>
|
||||||
|
|
||||||
|
initialize(
|
||||||
|
_instanceRegistryAddress: PromiseOrValue<string>,
|
||||||
|
_relayerRegistryAddress: PromiseOrValue<string>,
|
||||||
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
||||||
|
): Promise<ContractTransaction>
|
||||||
|
|
||||||
|
instanceRegistry(overrides?: CallOverrides): Promise<string>
|
||||||
|
|
||||||
|
relayerRegistry(overrides?: CallOverrides): Promise<string>
|
||||||
|
|
||||||
|
rescueTokens(
|
||||||
|
_token: PromiseOrValue<string>,
|
||||||
|
_to: PromiseOrValue<string>,
|
||||||
|
_amount: PromiseOrValue<BigNumberish>,
|
||||||
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
||||||
|
): Promise<ContractTransaction>
|
||||||
|
|
||||||
|
setInstanceRegistry(
|
||||||
|
_newInstanceRegistryProxyAddress: PromiseOrValue<string>,
|
||||||
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
||||||
|
): Promise<ContractTransaction>
|
||||||
|
|
||||||
|
setRelayerRegistry(
|
||||||
|
_newRelayerRegistryProxyAddress: PromiseOrValue<string>,
|
||||||
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
||||||
|
): Promise<ContractTransaction>
|
||||||
|
|
||||||
|
version(overrides?: CallOverrides): Promise<string>
|
||||||
|
|
||||||
|
withdraw(
|
||||||
|
_tornado: PromiseOrValue<string>,
|
||||||
|
_proof: PromiseOrValue<BytesLike>,
|
||||||
|
_root: PromiseOrValue<BytesLike>,
|
||||||
|
_nullifierHash: PromiseOrValue<BytesLike>,
|
||||||
|
_recipient: PromiseOrValue<string>,
|
||||||
|
_relayer: PromiseOrValue<string>,
|
||||||
|
_fee: PromiseOrValue<BigNumberish>,
|
||||||
|
_refund: PromiseOrValue<BigNumberish>,
|
||||||
|
overrides?: PayableOverrides & { from?: PromiseOrValue<string> }
|
||||||
|
): Promise<ContractTransaction>
|
||||||
|
|
||||||
|
callStatic: {
|
||||||
|
approveTokenForInstance(
|
||||||
|
_token: PromiseOrValue<string>,
|
||||||
|
_spender: PromiseOrValue<string>,
|
||||||
|
_amount: PromiseOrValue<BigNumberish>,
|
||||||
|
overrides?: CallOverrides
|
||||||
|
): Promise<void>
|
||||||
|
|
||||||
|
backupNotes(_encryptedNotes: PromiseOrValue<BytesLike>[], overrides?: CallOverrides): Promise<void>
|
||||||
|
|
||||||
|
deposit(
|
||||||
|
_tornado: PromiseOrValue<string>,
|
||||||
|
_commitment: PromiseOrValue<BytesLike>,
|
||||||
|
_encryptedNote: PromiseOrValue<BytesLike>,
|
||||||
|
overrides?: CallOverrides
|
||||||
|
): Promise<void>
|
||||||
|
|
||||||
|
governanceProxyAddress(overrides?: CallOverrides): Promise<string>
|
||||||
|
|
||||||
|
initialize(
|
||||||
|
_instanceRegistryAddress: PromiseOrValue<string>,
|
||||||
|
_relayerRegistryAddress: PromiseOrValue<string>,
|
||||||
|
overrides?: CallOverrides
|
||||||
|
): Promise<void>
|
||||||
|
|
||||||
|
instanceRegistry(overrides?: CallOverrides): Promise<string>
|
||||||
|
|
||||||
|
relayerRegistry(overrides?: CallOverrides): Promise<string>
|
||||||
|
|
||||||
|
rescueTokens(
|
||||||
|
_token: PromiseOrValue<string>,
|
||||||
|
_to: PromiseOrValue<string>,
|
||||||
|
_amount: PromiseOrValue<BigNumberish>,
|
||||||
|
overrides?: CallOverrides
|
||||||
|
): Promise<void>
|
||||||
|
|
||||||
|
setInstanceRegistry(
|
||||||
|
_newInstanceRegistryProxyAddress: PromiseOrValue<string>,
|
||||||
|
overrides?: CallOverrides
|
||||||
|
): Promise<void>
|
||||||
|
|
||||||
|
setRelayerRegistry(
|
||||||
|
_newRelayerRegistryProxyAddress: PromiseOrValue<string>,
|
||||||
|
overrides?: CallOverrides
|
||||||
|
): Promise<void>
|
||||||
|
|
||||||
|
version(overrides?: CallOverrides): Promise<string>
|
||||||
|
|
||||||
|
withdraw(
|
||||||
|
_tornado: PromiseOrValue<string>,
|
||||||
|
_proof: PromiseOrValue<BytesLike>,
|
||||||
|
_root: PromiseOrValue<BytesLike>,
|
||||||
|
_nullifierHash: PromiseOrValue<BytesLike>,
|
||||||
|
_recipient: PromiseOrValue<string>,
|
||||||
|
_relayer: PromiseOrValue<string>,
|
||||||
|
_fee: PromiseOrValue<BigNumberish>,
|
||||||
|
_refund: PromiseOrValue<BigNumberish>,
|
||||||
|
overrides?: CallOverrides
|
||||||
|
): Promise<void>
|
||||||
|
}
|
||||||
|
|
||||||
|
filters: {
|
||||||
|
'EncryptedNote(address,bytes)'(
|
||||||
|
sender?: PromiseOrValue<string> | null,
|
||||||
|
encryptedNote?: null
|
||||||
|
): EncryptedNoteEventFilter
|
||||||
|
EncryptedNote(sender?: PromiseOrValue<string> | null, encryptedNote?: null): EncryptedNoteEventFilter
|
||||||
|
|
||||||
|
'InstanceRegistryUpdated(address)'(
|
||||||
|
newInstanceRegistryProxyAddress?: null
|
||||||
|
): InstanceRegistryUpdatedEventFilter
|
||||||
|
InstanceRegistryUpdated(newInstanceRegistryProxyAddress?: null): InstanceRegistryUpdatedEventFilter
|
||||||
|
|
||||||
|
'RelayerRegistryUpdated(address)'(
|
||||||
|
newRelayerRegistryProxyAddress?: null
|
||||||
|
): RelayerRegistryUpdatedEventFilter
|
||||||
|
RelayerRegistryUpdated(newRelayerRegistryProxyAddress?: null): RelayerRegistryUpdatedEventFilter
|
||||||
|
|
||||||
|
'TokenApproved(address,uint256)'(
|
||||||
|
spender?: PromiseOrValue<string> | null,
|
||||||
|
amount?: null
|
||||||
|
): TokenApprovedEventFilter
|
||||||
|
TokenApproved(spender?: PromiseOrValue<string> | null, amount?: null): TokenApprovedEventFilter
|
||||||
|
}
|
||||||
|
|
||||||
|
estimateGas: {
|
||||||
|
approveTokenForInstance(
|
||||||
|
_token: PromiseOrValue<string>,
|
||||||
|
_spender: PromiseOrValue<string>,
|
||||||
|
_amount: PromiseOrValue<BigNumberish>,
|
||||||
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
||||||
|
): Promise<BigNumber>
|
||||||
|
|
||||||
|
backupNotes(
|
||||||
|
_encryptedNotes: PromiseOrValue<BytesLike>[],
|
||||||
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
||||||
|
): Promise<BigNumber>
|
||||||
|
|
||||||
|
deposit(
|
||||||
|
_tornado: PromiseOrValue<string>,
|
||||||
|
_commitment: PromiseOrValue<BytesLike>,
|
||||||
|
_encryptedNote: PromiseOrValue<BytesLike>,
|
||||||
|
overrides?: PayableOverrides & { from?: PromiseOrValue<string> }
|
||||||
|
): Promise<BigNumber>
|
||||||
|
|
||||||
|
governanceProxyAddress(overrides?: CallOverrides): Promise<BigNumber>
|
||||||
|
|
||||||
|
initialize(
|
||||||
|
_instanceRegistryAddress: PromiseOrValue<string>,
|
||||||
|
_relayerRegistryAddress: PromiseOrValue<string>,
|
||||||
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
||||||
|
): Promise<BigNumber>
|
||||||
|
|
||||||
|
instanceRegistry(overrides?: CallOverrides): Promise<BigNumber>
|
||||||
|
|
||||||
|
relayerRegistry(overrides?: CallOverrides): Promise<BigNumber>
|
||||||
|
|
||||||
|
rescueTokens(
|
||||||
|
_token: PromiseOrValue<string>,
|
||||||
|
_to: PromiseOrValue<string>,
|
||||||
|
_amount: PromiseOrValue<BigNumberish>,
|
||||||
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
||||||
|
): Promise<BigNumber>
|
||||||
|
|
||||||
|
setInstanceRegistry(
|
||||||
|
_newInstanceRegistryProxyAddress: PromiseOrValue<string>,
|
||||||
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
||||||
|
): Promise<BigNumber>
|
||||||
|
|
||||||
|
setRelayerRegistry(
|
||||||
|
_newRelayerRegistryProxyAddress: PromiseOrValue<string>,
|
||||||
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
||||||
|
): Promise<BigNumber>
|
||||||
|
|
||||||
|
version(overrides?: CallOverrides): Promise<BigNumber>
|
||||||
|
|
||||||
|
withdraw(
|
||||||
|
_tornado: PromiseOrValue<string>,
|
||||||
|
_proof: PromiseOrValue<BytesLike>,
|
||||||
|
_root: PromiseOrValue<BytesLike>,
|
||||||
|
_nullifierHash: PromiseOrValue<BytesLike>,
|
||||||
|
_recipient: PromiseOrValue<string>,
|
||||||
|
_relayer: PromiseOrValue<string>,
|
||||||
|
_fee: PromiseOrValue<BigNumberish>,
|
||||||
|
_refund: PromiseOrValue<BigNumberish>,
|
||||||
|
overrides?: PayableOverrides & { from?: PromiseOrValue<string> }
|
||||||
|
): Promise<BigNumber>
|
||||||
|
}
|
||||||
|
|
||||||
|
populateTransaction: {
|
||||||
|
approveTokenForInstance(
|
||||||
|
_token: PromiseOrValue<string>,
|
||||||
|
_spender: PromiseOrValue<string>,
|
||||||
|
_amount: PromiseOrValue<BigNumberish>,
|
||||||
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
||||||
|
): Promise<PopulatedTransaction>
|
||||||
|
|
||||||
|
backupNotes(
|
||||||
|
_encryptedNotes: PromiseOrValue<BytesLike>[],
|
||||||
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
||||||
|
): Promise<PopulatedTransaction>
|
||||||
|
|
||||||
|
deposit(
|
||||||
|
_tornado: PromiseOrValue<string>,
|
||||||
|
_commitment: PromiseOrValue<BytesLike>,
|
||||||
|
_encryptedNote: PromiseOrValue<BytesLike>,
|
||||||
|
overrides?: PayableOverrides & { from?: PromiseOrValue<string> }
|
||||||
|
): Promise<PopulatedTransaction>
|
||||||
|
|
||||||
|
governanceProxyAddress(overrides?: CallOverrides): Promise<PopulatedTransaction>
|
||||||
|
|
||||||
|
initialize(
|
||||||
|
_instanceRegistryAddress: PromiseOrValue<string>,
|
||||||
|
_relayerRegistryAddress: PromiseOrValue<string>,
|
||||||
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
||||||
|
): Promise<PopulatedTransaction>
|
||||||
|
|
||||||
|
instanceRegistry(overrides?: CallOverrides): Promise<PopulatedTransaction>
|
||||||
|
|
||||||
|
relayerRegistry(overrides?: CallOverrides): Promise<PopulatedTransaction>
|
||||||
|
|
||||||
|
rescueTokens(
|
||||||
|
_token: PromiseOrValue<string>,
|
||||||
|
_to: PromiseOrValue<string>,
|
||||||
|
_amount: PromiseOrValue<BigNumberish>,
|
||||||
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
||||||
|
): Promise<PopulatedTransaction>
|
||||||
|
|
||||||
|
setInstanceRegistry(
|
||||||
|
_newInstanceRegistryProxyAddress: PromiseOrValue<string>,
|
||||||
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
||||||
|
): Promise<PopulatedTransaction>
|
||||||
|
|
||||||
|
setRelayerRegistry(
|
||||||
|
_newRelayerRegistryProxyAddress: PromiseOrValue<string>,
|
||||||
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
||||||
|
): Promise<PopulatedTransaction>
|
||||||
|
|
||||||
|
version(overrides?: CallOverrides): Promise<PopulatedTransaction>
|
||||||
|
|
||||||
|
withdraw(
|
||||||
|
_tornado: PromiseOrValue<string>,
|
||||||
|
_proof: PromiseOrValue<BytesLike>,
|
||||||
|
_root: PromiseOrValue<BytesLike>,
|
||||||
|
_nullifierHash: PromiseOrValue<BytesLike>,
|
||||||
|
_recipient: PromiseOrValue<string>,
|
||||||
|
_relayer: PromiseOrValue<string>,
|
||||||
|
_fee: PromiseOrValue<BigNumberish>,
|
||||||
|
_refund: PromiseOrValue<BigNumberish>,
|
||||||
|
overrides?: PayableOverrides & { from?: PromiseOrValue<string> }
|
||||||
|
): Promise<PopulatedTransaction>
|
||||||
|
}
|
||||||
|
}
|
362
@tornado/sdk-core/src/deth/factories/TornadoRouter__factory.ts
Normal file
362
@tornado/sdk-core/src/deth/factories/TornadoRouter__factory.ts
Normal file
File diff suppressed because one or more lines are too long
@ -10,3 +10,4 @@ export { MulticallContract__factory } from './MulticallContract__factory'
|
|||||||
export { RelayerRegistry__factory } from './RelayerRegistry__factory'
|
export { RelayerRegistry__factory } from './RelayerRegistry__factory'
|
||||||
export { TornadoInstance__factory } from './TornadoInstance__factory'
|
export { TornadoInstance__factory } from './TornadoInstance__factory'
|
||||||
export { TornadoProxy__factory } from './TornadoProxy__factory'
|
export { TornadoProxy__factory } from './TornadoProxy__factory'
|
||||||
|
export { TornadoRouter__factory } from './TornadoRouter__factory'
|
||||||
|
@ -10,6 +10,7 @@ export type { MulticallContract } from './MulticallContract'
|
|||||||
export type { RelayerRegistry } from './RelayerRegistry'
|
export type { RelayerRegistry } from './RelayerRegistry'
|
||||||
export type { TornadoInstance } from './TornadoInstance'
|
export type { TornadoInstance } from './TornadoInstance'
|
||||||
export type { TornadoProxy } from './TornadoProxy'
|
export type { TornadoProxy } from './TornadoProxy'
|
||||||
|
export type { TornadoRouter } from './TornadoRouter'
|
||||||
export * as factories from './factories'
|
export * as factories from './factories'
|
||||||
export { ERC20__factory } from './factories/ERC20__factory'
|
export { ERC20__factory } from './factories/ERC20__factory'
|
||||||
export { ERC20Mock__factory } from './factories/ERC20Mock__factory'
|
export { ERC20Mock__factory } from './factories/ERC20Mock__factory'
|
||||||
@ -20,3 +21,4 @@ export { MulticallContract__factory } from './factories/MulticallContract__facto
|
|||||||
export { RelayerRegistry__factory } from './factories/RelayerRegistry__factory'
|
export { RelayerRegistry__factory } from './factories/RelayerRegistry__factory'
|
||||||
export { TornadoInstance__factory } from './factories/TornadoInstance__factory'
|
export { TornadoInstance__factory } from './factories/TornadoInstance__factory'
|
||||||
export { TornadoProxy__factory } from './factories/TornadoProxy__factory'
|
export { TornadoProxy__factory } from './factories/TornadoProxy__factory'
|
||||||
|
export { TornadoRouter__factory } from './factories/TornadoRouter__factory'
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
import { DeepRequired, MarkOptional, Merge } from 'ts-essentials'
|
import { DeepRequired, MarkOptional, Merge } from 'ts-essentials'
|
||||||
|
|
||||||
// Local types
|
// Local types
|
||||||
import { TornadoInstance, TornadoProxy } from './deth'
|
import { TornadoInstance, TornadoRouter } from './deth'
|
||||||
|
|
||||||
// Monorepo
|
// Monorepo
|
||||||
import { RelayerProperties as RelayerDataProperties } from '@tornado/sdk-data'
|
import { RelayerProperties as RelayerDataProperties } from '@tornado/sdk-data'
|
||||||
@ -29,6 +29,7 @@ export namespace Options {
|
|||||||
export namespace Core {
|
export namespace Core {
|
||||||
export interface Deposit {
|
export interface Deposit {
|
||||||
depositsPerInstance?: Array<number>
|
depositsPerInstance?: Array<number>
|
||||||
|
callInstanceDirectly?: boolean
|
||||||
doNotPopulate?: boolean
|
doNotPopulate?: boolean
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -145,9 +146,9 @@ export class Core extends Synchronizer {
|
|||||||
return this.loadInstance(this.chain.id, token, denomination)
|
return this.loadInstance(this.chain.id, token, denomination)
|
||||||
}
|
}
|
||||||
|
|
||||||
getProxy(): TornadoProxy {
|
getRouter(): TornadoRouter {
|
||||||
this._checkProvider('getProxy')
|
this._checkProvider('getRouter')
|
||||||
return Contracts.getProxy(String(this.chain.id), this.chain.provider)
|
return Contracts.getRouter(String(this.chain.id), this.chain.provider)
|
||||||
}
|
}
|
||||||
|
|
||||||
async createDepositProof(
|
async createDepositProof(
|
||||||
@ -162,7 +163,6 @@ export class Core extends Synchronizer {
|
|||||||
)[0]
|
)[0]
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: Abstract out verification parts of this and provide it as a standalone service in crypto or somewhere else
|
|
||||||
/**
|
/**
|
||||||
* @param instance This is the Tornado Instance which will be withdrawn from.
|
* @param instance This is the Tornado Instance which will be withdrawn from.
|
||||||
* @param relayerProperties The properties of the relayer that is going to be used for the withdrawals. If the service fee is 0, it is assumed that there is no relayer, but that a manual wallet withdraw is being made. These properties are included in the ZK proof.
|
* @param relayerProperties The properties of the relayer that is going to be used for the withdrawals. If the service fee is 0, it is assumed that there is no relayer, but that a manual wallet withdraw is being made. These properties are included in the ZK proof.
|
||||||
@ -180,12 +180,17 @@ export class Core extends Synchronizer {
|
|||||||
): Promise<Array<Array<string>>> {
|
): Promise<Array<Array<string>>> {
|
||||||
this._checkProvider('createDepositProofs')
|
this._checkProvider('createDepositProofs')
|
||||||
|
|
||||||
// Extract commitments and nullifier hashes
|
/* ~~~~~~~~~~~~~~~~~~~~~~ EXTRACT NOTES, COMMITMENTS & BASIC CHECKS ~~~~~~~~~~~~~~~~~~~~~~ */
|
||||||
|
|
||||||
const hexCommitments: string[] = []
|
const hexCommitments: string[] = []
|
||||||
|
|
||||||
const hexNullifierHashes: string[] = []
|
const hexNullifierHashes: string[] = []
|
||||||
|
|
||||||
const purchaseAmounts =
|
const purchaseAmounts =
|
||||||
options?.ethPurchaseAmounts ?? new Array(depositInfo.length).fill(BigNumber.from(0))
|
options?.ethPurchaseAmounts ?? new Array(depositInfo.length).fill(BigNumber.from(0))
|
||||||
|
|
||||||
|
// Inputs must equal in length
|
||||||
|
|
||||||
if (depositInfo.length !== recipientAddresses.length)
|
if (depositInfo.length !== recipientAddresses.length)
|
||||||
throw ErrorUtils.getError(
|
throw ErrorUtils.getError(
|
||||||
'Core.createDepositProofs: the number of recipients must equal the length of depositInfo.'
|
'Core.createDepositProofs: the number of recipients must equal the length of depositInfo.'
|
||||||
@ -196,27 +201,17 @@ export class Core extends Synchronizer {
|
|||||||
'Core.createDepositProofs: if purchase amounts is specified, it must equal the length of depositInfo.'
|
'Core.createDepositProofs: if purchase amounts is specified, it must equal the length of depositInfo.'
|
||||||
)
|
)
|
||||||
|
|
||||||
|
// Extract all notes and commitments from the deposit info
|
||||||
|
|
||||||
depositInfo.forEach((deposit) => {
|
depositInfo.forEach((deposit) => {
|
||||||
hexCommitments.push(deposit.hexCommitment)
|
hexCommitments.push(deposit.hexCommitment)
|
||||||
hexNullifierHashes.push(deposit.hexNullifierHash)
|
hexNullifierHashes.push(deposit.hexNullifierHash)
|
||||||
})
|
})
|
||||||
|
|
||||||
// Determine cache name
|
/* ~~~~~~~~~~~~~~~~~~~~~~ FETCH WHETHER SOME OR ALL NOTES HAVE BEEN SPENT ~~~~~~~~~~~~~~~~~~~~~~ */
|
||||||
const { network, token, denomination } = await Onchain.getInstanceLookupKeys(instance.address)
|
|
||||||
const name = 'Deposits' + (network + token + denomination).toUpperCase()
|
|
||||||
|
|
||||||
// Find all leaves & indices by reading from cache
|
|
||||||
const [leaves, leafIndices] = await this._findLeavesAndIndices(name, hexCommitments)
|
|
||||||
const invalidCommitments: string[] = []
|
|
||||||
|
|
||||||
this.emit(
|
|
||||||
'debug',
|
|
||||||
`\nFound leaves and indices, num leaves: ${leaves.length}, indices: [${leafIndices.join(', ')}]`
|
|
||||||
)
|
|
||||||
|
|
||||||
// Determine whether we will be checking whether notes are spent
|
// Determine whether we will be checking whether notes are spent
|
||||||
const checkSpent = options?.checkNotesSpent !== false
|
const checkSpent = options?.checkNotesSpent !== false
|
||||||
const spentNotes: string[] = []
|
|
||||||
|
|
||||||
this.emit('debug', `\nCheck spent notes? => ${checkSpent}`)
|
this.emit('debug', `\nCheck spent notes? => ${checkSpent}`)
|
||||||
|
|
||||||
@ -225,10 +220,29 @@ export class Core extends Synchronizer {
|
|||||||
|
|
||||||
if (checkSpent) this.emit('debug', `\nSpent array: [${checkSpentArray?.join(', ')}]`)
|
if (checkSpent) this.emit('debug', `\nSpent array: [${checkSpentArray?.join(', ')}]`)
|
||||||
|
|
||||||
|
/* ~~~~~~~~~~~~~~~~~~~~~~ COLLECT LEAVES, ALL COMMITMENTS MUST HAVE A LEAF ~~~~~~~~~~~~~~~~~~~~~~ */
|
||||||
|
|
||||||
|
// Determine cache name
|
||||||
|
const { network, token, denomination } = await Onchain.getInstanceLookupKeys(instance.address)
|
||||||
|
const name = 'Deposits' + (network + token + denomination).toUpperCase()
|
||||||
|
|
||||||
|
// Find all leaves & indices by reading from cache
|
||||||
|
const [leaves, leafIndices] = await this._findLeavesAndIndices(name, hexCommitments)
|
||||||
|
|
||||||
|
this.emit(
|
||||||
|
'debug',
|
||||||
|
`\nFound leaves and indices, num leaves: ${leaves.length}, indices: [${leafIndices.join(', ')}]`
|
||||||
|
)
|
||||||
|
|
||||||
|
/* ~~~~~~~~~~~~~~~~~~~~~~ VALIDATE NOTES AND COMMITMENT ~~~~~~~~~~~~~~~~~~~~~~ */
|
||||||
|
|
||||||
// Check whether a commitment has not been found in all deposits, meaning that it is invalid
|
// Check whether a commitment has not been found in all deposits, meaning that it is invalid
|
||||||
// Also add the invalid commitments. We can do leafIndices[i] because the matched one are concatenated
|
// Also add the invalid commitments. We can do leafIndices[i] because the matched one are concatenated
|
||||||
// at the start
|
// at the start
|
||||||
|
|
||||||
|
const spentNotes: string[] = []
|
||||||
|
const invalidCommitments: string[] = []
|
||||||
|
|
||||||
for (let i = 0, len = depositInfo.length; i < len; i++) {
|
for (let i = 0, len = depositInfo.length; i < len; i++) {
|
||||||
if (!leafIndices[i]) invalidCommitments.push(hexCommitments[i])
|
if (!leafIndices[i]) invalidCommitments.push(hexCommitments[i])
|
||||||
if (checkSpent && checkSpentArray![i]) spentNotes.push(hexNullifierHashes[i])
|
if (checkSpent && checkSpentArray![i]) spentNotes.push(hexNullifierHashes[i])
|
||||||
@ -251,6 +265,8 @@ export class Core extends Synchronizer {
|
|||||||
: '')
|
: '')
|
||||||
)
|
)
|
||||||
|
|
||||||
|
/* ~~~~~~~~~~~~~~~~~~~~~~ BUILD MERKLE TREE & TEST VALIDITY ~~~~~~~~~~~~~~~~~~~~~~ */
|
||||||
|
|
||||||
// Otherwise, build the merkle tree from the leaves
|
// Otherwise, build the merkle tree from the leaves
|
||||||
const merkleTree = Primitives.buildMerkleTree({
|
const merkleTree = Primitives.buildMerkleTree({
|
||||||
height: options?.merkleTreeHeight ?? Constants.MERKLE_TREE_HEIGHT,
|
height: options?.merkleTreeHeight ?? Constants.MERKLE_TREE_HEIGHT,
|
||||||
@ -268,6 +284,8 @@ export class Core extends Synchronizer {
|
|||||||
'Core.createDepositProofs: the merkle tree created is not valid, something went wrong with syncing.'
|
'Core.createDepositProofs: the merkle tree created is not valid, something went wrong with syncing.'
|
||||||
)
|
)
|
||||||
|
|
||||||
|
/* ~~~~~~~~~~~~~~~~~~~~~~ PREPARE DATA FOR PROOF & BUILD PROOF ~~~~~~~~~~~~~~~~~~~~~~ */
|
||||||
|
|
||||||
// Rest of note invariant arguments
|
// Rest of note invariant arguments
|
||||||
const inputsForProofs: InputFor.DepositProof[] = []
|
const inputsForProofs: InputFor.DepositProof[] = []
|
||||||
const gasPrice = options?.gasPrice ?? (await this.chain.getGasPrice())
|
const gasPrice = options?.gasPrice ?? (await this.chain.getGasPrice())
|
||||||
@ -305,7 +323,7 @@ export class Core extends Synchronizer {
|
|||||||
].join(', ')}]\n`
|
].join(', ')}]\n`
|
||||||
)
|
)
|
||||||
|
|
||||||
// Compute proofs
|
// Collect all data for proofs
|
||||||
for (let i = 0, len = depositInfo.length; i < len; i++) {
|
for (let i = 0, len = depositInfo.length; i < len; i++) {
|
||||||
inputsForProofs.push({
|
inputsForProofs.push({
|
||||||
public: {
|
public: {
|
||||||
@ -335,6 +353,7 @@ export class Core extends Synchronizer {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Compute proofs and return
|
||||||
return await Primitives.calcDepositProofs(inputsForProofs)
|
return await Primitives.calcDepositProofs(inputsForProofs)
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -556,7 +575,7 @@ export class Core extends Synchronizer {
|
|||||||
/**
|
/**
|
||||||
* This is the main function which is used to build Tornado Cash Classic deposit transactions. An address need not be supplied because the returned note proves a deposit.
|
* This is the main function which is used to build Tornado Cash Classic deposit transactions. An address need not be supplied because the returned note proves a deposit.
|
||||||
* @param instances The TornadoInstance instances for which to build transactions.
|
* @param instances The TornadoInstance instances for which to build transactions.
|
||||||
* @param options The number of deposits per instance, whether or not to populate the transactions (only in the sense of encoding transaction data), and whether to backup notes and invoices. Defaults: `depositsPerInstance = [1]*instance_num, doNotPopulate = false, backup { notes = true, invoices = false }`
|
* @param options The number of deposits per instance, whether or not to populate the transactions (only in the sense of encoding transaction data), whether to backup notes and invoices, and whether to call the instance directly instead of the router. Defaults: `depositsPerInstance = [1]*instance_num, doNotPopulate = false, callInstanceDirectly = false, backup { notes = true, invoices = false }`
|
||||||
* @returns A promise which resolves to the created transactions.
|
* @returns A promise which resolves to the created transactions.
|
||||||
* @todo TODO: Maybe this should be sync and deposit backups should be async somewhere else
|
* @todo TODO: Maybe this should be sync and deposit backups should be async somewhere else
|
||||||
*/
|
*/
|
||||||
@ -568,6 +587,8 @@ export class Core extends Synchronizer {
|
|||||||
|
|
||||||
const depositsPerInstance = options?.depositsPerInstance ?? new Array<number>(instances.length).fill(1)
|
const depositsPerInstance = options?.depositsPerInstance ?? new Array<number>(instances.length).fill(1)
|
||||||
|
|
||||||
|
const callInstanceDirectly = options?.callInstanceDirectly ?? false
|
||||||
|
|
||||||
const doNotPopulate = options?.doNotPopulate ?? false
|
const doNotPopulate = options?.doNotPopulate ?? false
|
||||||
|
|
||||||
if (depositsPerInstance.length != instances.length)
|
if (depositsPerInstance.length != instances.length)
|
||||||
@ -575,9 +596,7 @@ export class Core extends Synchronizer {
|
|||||||
'Core.createDepositTx: number of deposit amount elements must equal the number of instances!'
|
'Core.createDepositTx: number of deposit amount elements must equal the number of instances!'
|
||||||
)
|
)
|
||||||
|
|
||||||
const chainId = this.chain.id
|
const router: TornadoRouter = this.getRouter()
|
||||||
|
|
||||||
const proxy: TornadoProxy = Contracts.getProxy(String(chainId), this.chain.provider)
|
|
||||||
|
|
||||||
const txs: Array<Transactions.Deposit> = []
|
const txs: Array<Transactions.Deposit> = []
|
||||||
|
|
||||||
@ -591,14 +610,20 @@ export class Core extends Synchronizer {
|
|||||||
|
|
||||||
if (!doNotPopulate) {
|
if (!doNotPopulate) {
|
||||||
txs.push({
|
txs.push({
|
||||||
request: {
|
request: !callInstanceDirectly
|
||||||
to: proxy.address,
|
? {
|
||||||
data: proxy.interface.encodeFunctionData('deposit', [
|
to: router.address,
|
||||||
|
data: router.interface.encodeFunctionData('deposit', [
|
||||||
instances[i].address,
|
instances[i].address,
|
||||||
deposit.hexCommitment,
|
deposit.hexCommitment,
|
||||||
[]
|
[]
|
||||||
]),
|
]),
|
||||||
value: token == 'eth' ? parseUnits(denomination) : BigNumber.from(0)
|
value: token == 'eth' ? parseUnits(denomination) : BigNumber.from(0)
|
||||||
|
}
|
||||||
|
: {
|
||||||
|
to: instances[i].address,
|
||||||
|
data: instances[i].interface.encodeFunctionData('deposit', [deposit.hexCommitment]),
|
||||||
|
value: token == 'eth' ? parseUnits(denomination) : BigNumber.from(0)
|
||||||
},
|
},
|
||||||
note: pathstring + '_' + note,
|
note: pathstring + '_' + note,
|
||||||
invoice: pathstring + '_' + deposit.hexCommitment
|
invoice: pathstring + '_' + deposit.hexCommitment
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
"crypto",
|
"crypto",
|
||||||
"zk"
|
"zk"
|
||||||
],
|
],
|
||||||
"version": "0.0.12-alpha",
|
"version": "0.0.13-alpha",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "^18"
|
"node": "^18"
|
||||||
},
|
},
|
||||||
|
@ -235,12 +235,10 @@ export namespace Primitives {
|
|||||||
for (let i = 0, len = inputs.length; i < len; i++) {
|
for (let i = 0, len = inputs.length; i < len; i++) {
|
||||||
const input = inputs[i]
|
const input = inputs[i]
|
||||||
|
|
||||||
// TODO: remove try and const again after fixing
|
|
||||||
let proofData
|
let proofData
|
||||||
|
|
||||||
// Compute Merkle Proof
|
// Compute Merkle Proof
|
||||||
// The ts return is noted as `pathIndex` but using this we get an undefined because it is really `pathIndices`???
|
// The ts return is noted as `pathIndex` but using this we get an undefined because it is really `pathIndices`???
|
||||||
// TODO: Bug that needs to be fixed (above)
|
|
||||||
const { pathElements, pathIndices } = input.public.tree.path(input.public.leafIndex)
|
const { pathElements, pathIndices } = input.public.tree.path(input.public.leafIndex)
|
||||||
|
|
||||||
proofs.push([])
|
proofs.push([])
|
||||||
@ -272,7 +270,7 @@ export namespace Primitives {
|
|||||||
provingKey
|
provingKey
|
||||||
)
|
)
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
groth16.terminate()
|
Setup.terminateGroth16()
|
||||||
throw ErrorUtils.ensureError(err)
|
throw ErrorUtils.ensureError(err)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
"crypto",
|
"crypto",
|
||||||
"zk"
|
"zk"
|
||||||
],
|
],
|
||||||
"version": "0.0.12-alpha",
|
"version": "0.0.13-alpha",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "^18"
|
"node": "^18"
|
||||||
},
|
},
|
||||||
|
@ -7,6 +7,11 @@
|
|||||||
"1dai1000": "0xFD8610d20aA15b7B2E3Be39B396a1bC3516c7144",
|
"1dai1000": "0xFD8610d20aA15b7B2E3Be39B396a1bC3516c7144",
|
||||||
"1dai10000": "0x07687e702b410Fa43f4cB4Af7FA097918ffD2730",
|
"1dai10000": "0x07687e702b410Fa43f4cB4Af7FA097918ffD2730",
|
||||||
"1dai100000": "0x23773E65ed146A459791799d01336DB287f25334",
|
"1dai100000": "0x23773E65ed146A459791799d01336DB287f25334",
|
||||||
|
"1crvusd100": "0x913a73486Dc4AA3832A56d461542836C1eeB93be",
|
||||||
|
"1crvusd1000": "0x5A6b3C829dB3e938C885000c6E93CF35E74876a4",
|
||||||
|
"1crvusd10000": "0x49f173CDAB99a2C3800F1255393DF9B7a17B82Bb",
|
||||||
|
"1crvusd100000": "0x4640Dffc9fD0B113B983e3A350b070a119CA143C",
|
||||||
|
"1crvusd1000000": "0xc4eA8Bd3Fd76f3c255395793B47F7c55aD59d991",
|
||||||
"1cdai5000": "0x22aaA7720ddd5388A3c0A3333430953C68f1849b",
|
"1cdai5000": "0x22aaA7720ddd5388A3c0A3333430953C68f1849b",
|
||||||
"1cdai50000": "0x03893a7c7463AE47D46bc7f091665f1893656003",
|
"1cdai50000": "0x03893a7c7463AE47D46bc7f091665f1893656003",
|
||||||
"1cdai500000": "0x2717c5e28cf931547B621a5dddb772Ab6A35B701",
|
"1cdai500000": "0x2717c5e28cf931547B621a5dddb772Ab6A35B701",
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
"crypto",
|
"crypto",
|
||||||
"zk"
|
"zk"
|
||||||
],
|
],
|
||||||
"version": "0.0.12-alpha",
|
"version": "0.0.13-alpha",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "^18"
|
"node": "^18"
|
||||||
},
|
},
|
||||||
|
605
@tornado/sdk-registry/src/deth/TornadoRouter.ts
Normal file
605
@tornado/sdk-registry/src/deth/TornadoRouter.ts
Normal file
@ -0,0 +1,605 @@
|
|||||||
|
/* Autogenerated file. Do not edit manually. */
|
||||||
|
/* tslint:disable */
|
||||||
|
/* eslint-disable */
|
||||||
|
import type {
|
||||||
|
BaseContract,
|
||||||
|
BigNumber,
|
||||||
|
BigNumberish,
|
||||||
|
BytesLike,
|
||||||
|
CallOverrides,
|
||||||
|
ContractTransaction,
|
||||||
|
Overrides,
|
||||||
|
PayableOverrides,
|
||||||
|
PopulatedTransaction,
|
||||||
|
Signer,
|
||||||
|
utils,
|
||||||
|
} from "ethers";
|
||||||
|
import type {
|
||||||
|
FunctionFragment,
|
||||||
|
Result,
|
||||||
|
EventFragment,
|
||||||
|
} from "@ethersproject/abi";
|
||||||
|
import type { Listener, Provider } from "@ethersproject/providers";
|
||||||
|
import type {
|
||||||
|
TypedEventFilter,
|
||||||
|
TypedEvent,
|
||||||
|
TypedListener,
|
||||||
|
OnEvent,
|
||||||
|
PromiseOrValue,
|
||||||
|
} from "./common";
|
||||||
|
|
||||||
|
export interface TornadoRouterInterface extends utils.Interface {
|
||||||
|
functions: {
|
||||||
|
"approveTokenForInstance(address,address,uint256)": FunctionFragment;
|
||||||
|
"backupNotes(bytes[])": FunctionFragment;
|
||||||
|
"deposit(address,bytes32,bytes)": FunctionFragment;
|
||||||
|
"governanceProxyAddress()": FunctionFragment;
|
||||||
|
"initialize(address,address)": FunctionFragment;
|
||||||
|
"instanceRegistry()": FunctionFragment;
|
||||||
|
"relayerRegistry()": FunctionFragment;
|
||||||
|
"rescueTokens(address,address,uint256)": FunctionFragment;
|
||||||
|
"setInstanceRegistry(address)": FunctionFragment;
|
||||||
|
"setRelayerRegistry(address)": FunctionFragment;
|
||||||
|
"version()": FunctionFragment;
|
||||||
|
"withdraw(address,bytes,bytes32,bytes32,address,address,uint256,uint256)": FunctionFragment;
|
||||||
|
};
|
||||||
|
|
||||||
|
getFunction(
|
||||||
|
nameOrSignatureOrTopic:
|
||||||
|
| "approveTokenForInstance"
|
||||||
|
| "backupNotes"
|
||||||
|
| "deposit"
|
||||||
|
| "governanceProxyAddress"
|
||||||
|
| "initialize"
|
||||||
|
| "instanceRegistry"
|
||||||
|
| "relayerRegistry"
|
||||||
|
| "rescueTokens"
|
||||||
|
| "setInstanceRegistry"
|
||||||
|
| "setRelayerRegistry"
|
||||||
|
| "version"
|
||||||
|
| "withdraw"
|
||||||
|
): FunctionFragment;
|
||||||
|
|
||||||
|
encodeFunctionData(
|
||||||
|
functionFragment: "approveTokenForInstance",
|
||||||
|
values: [
|
||||||
|
PromiseOrValue<string>,
|
||||||
|
PromiseOrValue<string>,
|
||||||
|
PromiseOrValue<BigNumberish>
|
||||||
|
]
|
||||||
|
): string;
|
||||||
|
encodeFunctionData(
|
||||||
|
functionFragment: "backupNotes",
|
||||||
|
values: [PromiseOrValue<BytesLike>[]]
|
||||||
|
): string;
|
||||||
|
encodeFunctionData(
|
||||||
|
functionFragment: "deposit",
|
||||||
|
values: [
|
||||||
|
PromiseOrValue<string>,
|
||||||
|
PromiseOrValue<BytesLike>,
|
||||||
|
PromiseOrValue<BytesLike>
|
||||||
|
]
|
||||||
|
): string;
|
||||||
|
encodeFunctionData(
|
||||||
|
functionFragment: "governanceProxyAddress",
|
||||||
|
values?: undefined
|
||||||
|
): string;
|
||||||
|
encodeFunctionData(
|
||||||
|
functionFragment: "initialize",
|
||||||
|
values: [PromiseOrValue<string>, PromiseOrValue<string>]
|
||||||
|
): string;
|
||||||
|
encodeFunctionData(
|
||||||
|
functionFragment: "instanceRegistry",
|
||||||
|
values?: undefined
|
||||||
|
): string;
|
||||||
|
encodeFunctionData(
|
||||||
|
functionFragment: "relayerRegistry",
|
||||||
|
values?: undefined
|
||||||
|
): string;
|
||||||
|
encodeFunctionData(
|
||||||
|
functionFragment: "rescueTokens",
|
||||||
|
values: [
|
||||||
|
PromiseOrValue<string>,
|
||||||
|
PromiseOrValue<string>,
|
||||||
|
PromiseOrValue<BigNumberish>
|
||||||
|
]
|
||||||
|
): string;
|
||||||
|
encodeFunctionData(
|
||||||
|
functionFragment: "setInstanceRegistry",
|
||||||
|
values: [PromiseOrValue<string>]
|
||||||
|
): string;
|
||||||
|
encodeFunctionData(
|
||||||
|
functionFragment: "setRelayerRegistry",
|
||||||
|
values: [PromiseOrValue<string>]
|
||||||
|
): string;
|
||||||
|
encodeFunctionData(functionFragment: "version", values?: undefined): string;
|
||||||
|
encodeFunctionData(
|
||||||
|
functionFragment: "withdraw",
|
||||||
|
values: [
|
||||||
|
PromiseOrValue<string>,
|
||||||
|
PromiseOrValue<BytesLike>,
|
||||||
|
PromiseOrValue<BytesLike>,
|
||||||
|
PromiseOrValue<BytesLike>,
|
||||||
|
PromiseOrValue<string>,
|
||||||
|
PromiseOrValue<string>,
|
||||||
|
PromiseOrValue<BigNumberish>,
|
||||||
|
PromiseOrValue<BigNumberish>
|
||||||
|
]
|
||||||
|
): string;
|
||||||
|
|
||||||
|
decodeFunctionResult(
|
||||||
|
functionFragment: "approveTokenForInstance",
|
||||||
|
data: BytesLike
|
||||||
|
): Result;
|
||||||
|
decodeFunctionResult(
|
||||||
|
functionFragment: "backupNotes",
|
||||||
|
data: BytesLike
|
||||||
|
): Result;
|
||||||
|
decodeFunctionResult(functionFragment: "deposit", data: BytesLike): Result;
|
||||||
|
decodeFunctionResult(
|
||||||
|
functionFragment: "governanceProxyAddress",
|
||||||
|
data: BytesLike
|
||||||
|
): Result;
|
||||||
|
decodeFunctionResult(functionFragment: "initialize", data: BytesLike): Result;
|
||||||
|
decodeFunctionResult(
|
||||||
|
functionFragment: "instanceRegistry",
|
||||||
|
data: BytesLike
|
||||||
|
): Result;
|
||||||
|
decodeFunctionResult(
|
||||||
|
functionFragment: "relayerRegistry",
|
||||||
|
data: BytesLike
|
||||||
|
): Result;
|
||||||
|
decodeFunctionResult(
|
||||||
|
functionFragment: "rescueTokens",
|
||||||
|
data: BytesLike
|
||||||
|
): Result;
|
||||||
|
decodeFunctionResult(
|
||||||
|
functionFragment: "setInstanceRegistry",
|
||||||
|
data: BytesLike
|
||||||
|
): Result;
|
||||||
|
decodeFunctionResult(
|
||||||
|
functionFragment: "setRelayerRegistry",
|
||||||
|
data: BytesLike
|
||||||
|
): Result;
|
||||||
|
decodeFunctionResult(functionFragment: "version", data: BytesLike): Result;
|
||||||
|
decodeFunctionResult(functionFragment: "withdraw", data: BytesLike): Result;
|
||||||
|
|
||||||
|
events: {
|
||||||
|
"EncryptedNote(address,bytes)": EventFragment;
|
||||||
|
"InstanceRegistryUpdated(address)": EventFragment;
|
||||||
|
"RelayerRegistryUpdated(address)": EventFragment;
|
||||||
|
"TokenApproved(address,uint256)": EventFragment;
|
||||||
|
};
|
||||||
|
|
||||||
|
getEvent(nameOrSignatureOrTopic: "EncryptedNote"): EventFragment;
|
||||||
|
getEvent(nameOrSignatureOrTopic: "InstanceRegistryUpdated"): EventFragment;
|
||||||
|
getEvent(nameOrSignatureOrTopic: "RelayerRegistryUpdated"): EventFragment;
|
||||||
|
getEvent(nameOrSignatureOrTopic: "TokenApproved"): EventFragment;
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface EncryptedNoteEventObject {
|
||||||
|
sender: string;
|
||||||
|
encryptedNote: string;
|
||||||
|
}
|
||||||
|
export type EncryptedNoteEvent = TypedEvent<
|
||||||
|
[string, string],
|
||||||
|
EncryptedNoteEventObject
|
||||||
|
>;
|
||||||
|
|
||||||
|
export type EncryptedNoteEventFilter = TypedEventFilter<EncryptedNoteEvent>;
|
||||||
|
|
||||||
|
export interface InstanceRegistryUpdatedEventObject {
|
||||||
|
newInstanceRegistryProxyAddress: string;
|
||||||
|
}
|
||||||
|
export type InstanceRegistryUpdatedEvent = TypedEvent<
|
||||||
|
[string],
|
||||||
|
InstanceRegistryUpdatedEventObject
|
||||||
|
>;
|
||||||
|
|
||||||
|
export type InstanceRegistryUpdatedEventFilter =
|
||||||
|
TypedEventFilter<InstanceRegistryUpdatedEvent>;
|
||||||
|
|
||||||
|
export interface RelayerRegistryUpdatedEventObject {
|
||||||
|
newRelayerRegistryProxyAddress: string;
|
||||||
|
}
|
||||||
|
export type RelayerRegistryUpdatedEvent = TypedEvent<
|
||||||
|
[string],
|
||||||
|
RelayerRegistryUpdatedEventObject
|
||||||
|
>;
|
||||||
|
|
||||||
|
export type RelayerRegistryUpdatedEventFilter =
|
||||||
|
TypedEventFilter<RelayerRegistryUpdatedEvent>;
|
||||||
|
|
||||||
|
export interface TokenApprovedEventObject {
|
||||||
|
spender: string;
|
||||||
|
amount: BigNumber;
|
||||||
|
}
|
||||||
|
export type TokenApprovedEvent = TypedEvent<
|
||||||
|
[string, BigNumber],
|
||||||
|
TokenApprovedEventObject
|
||||||
|
>;
|
||||||
|
|
||||||
|
export type TokenApprovedEventFilter = TypedEventFilter<TokenApprovedEvent>;
|
||||||
|
|
||||||
|
export interface TornadoRouter extends BaseContract {
|
||||||
|
contractName: "TornadoRouter";
|
||||||
|
|
||||||
|
connect(signerOrProvider: Signer | Provider | string): this;
|
||||||
|
attach(addressOrName: string): this;
|
||||||
|
deployed(): Promise<this>;
|
||||||
|
|
||||||
|
interface: TornadoRouterInterface;
|
||||||
|
|
||||||
|
queryFilter<TEvent extends TypedEvent>(
|
||||||
|
event: TypedEventFilter<TEvent>,
|
||||||
|
fromBlockOrBlockhash?: string | number | undefined,
|
||||||
|
toBlock?: string | number | undefined
|
||||||
|
): Promise<Array<TEvent>>;
|
||||||
|
|
||||||
|
listeners<TEvent extends TypedEvent>(
|
||||||
|
eventFilter?: TypedEventFilter<TEvent>
|
||||||
|
): Array<TypedListener<TEvent>>;
|
||||||
|
listeners(eventName?: string): Array<Listener>;
|
||||||
|
removeAllListeners<TEvent extends TypedEvent>(
|
||||||
|
eventFilter: TypedEventFilter<TEvent>
|
||||||
|
): this;
|
||||||
|
removeAllListeners(eventName?: string): this;
|
||||||
|
off: OnEvent<this>;
|
||||||
|
on: OnEvent<this>;
|
||||||
|
once: OnEvent<this>;
|
||||||
|
removeListener: OnEvent<this>;
|
||||||
|
|
||||||
|
functions: {
|
||||||
|
approveTokenForInstance(
|
||||||
|
_token: PromiseOrValue<string>,
|
||||||
|
_spender: PromiseOrValue<string>,
|
||||||
|
_amount: PromiseOrValue<BigNumberish>,
|
||||||
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
||||||
|
): Promise<ContractTransaction>;
|
||||||
|
|
||||||
|
backupNotes(
|
||||||
|
_encryptedNotes: PromiseOrValue<BytesLike>[],
|
||||||
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
||||||
|
): Promise<ContractTransaction>;
|
||||||
|
|
||||||
|
deposit(
|
||||||
|
_tornado: PromiseOrValue<string>,
|
||||||
|
_commitment: PromiseOrValue<BytesLike>,
|
||||||
|
_encryptedNote: PromiseOrValue<BytesLike>,
|
||||||
|
overrides?: PayableOverrides & { from?: PromiseOrValue<string> }
|
||||||
|
): Promise<ContractTransaction>;
|
||||||
|
|
||||||
|
governanceProxyAddress(overrides?: CallOverrides): Promise<[string]>;
|
||||||
|
|
||||||
|
initialize(
|
||||||
|
_instanceRegistryAddress: PromiseOrValue<string>,
|
||||||
|
_relayerRegistryAddress: PromiseOrValue<string>,
|
||||||
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
||||||
|
): Promise<ContractTransaction>;
|
||||||
|
|
||||||
|
instanceRegistry(overrides?: CallOverrides): Promise<[string]>;
|
||||||
|
|
||||||
|
relayerRegistry(overrides?: CallOverrides): Promise<[string]>;
|
||||||
|
|
||||||
|
rescueTokens(
|
||||||
|
_token: PromiseOrValue<string>,
|
||||||
|
_to: PromiseOrValue<string>,
|
||||||
|
_amount: PromiseOrValue<BigNumberish>,
|
||||||
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
||||||
|
): Promise<ContractTransaction>;
|
||||||
|
|
||||||
|
setInstanceRegistry(
|
||||||
|
_newInstanceRegistryProxyAddress: PromiseOrValue<string>,
|
||||||
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
||||||
|
): Promise<ContractTransaction>;
|
||||||
|
|
||||||
|
setRelayerRegistry(
|
||||||
|
_newRelayerRegistryProxyAddress: PromiseOrValue<string>,
|
||||||
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
||||||
|
): Promise<ContractTransaction>;
|
||||||
|
|
||||||
|
version(overrides?: CallOverrides): Promise<[string]>;
|
||||||
|
|
||||||
|
withdraw(
|
||||||
|
_tornado: PromiseOrValue<string>,
|
||||||
|
_proof: PromiseOrValue<BytesLike>,
|
||||||
|
_root: PromiseOrValue<BytesLike>,
|
||||||
|
_nullifierHash: PromiseOrValue<BytesLike>,
|
||||||
|
_recipient: PromiseOrValue<string>,
|
||||||
|
_relayer: PromiseOrValue<string>,
|
||||||
|
_fee: PromiseOrValue<BigNumberish>,
|
||||||
|
_refund: PromiseOrValue<BigNumberish>,
|
||||||
|
overrides?: PayableOverrides & { from?: PromiseOrValue<string> }
|
||||||
|
): Promise<ContractTransaction>;
|
||||||
|
};
|
||||||
|
|
||||||
|
approveTokenForInstance(
|
||||||
|
_token: PromiseOrValue<string>,
|
||||||
|
_spender: PromiseOrValue<string>,
|
||||||
|
_amount: PromiseOrValue<BigNumberish>,
|
||||||
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
||||||
|
): Promise<ContractTransaction>;
|
||||||
|
|
||||||
|
backupNotes(
|
||||||
|
_encryptedNotes: PromiseOrValue<BytesLike>[],
|
||||||
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
||||||
|
): Promise<ContractTransaction>;
|
||||||
|
|
||||||
|
deposit(
|
||||||
|
_tornado: PromiseOrValue<string>,
|
||||||
|
_commitment: PromiseOrValue<BytesLike>,
|
||||||
|
_encryptedNote: PromiseOrValue<BytesLike>,
|
||||||
|
overrides?: PayableOverrides & { from?: PromiseOrValue<string> }
|
||||||
|
): Promise<ContractTransaction>;
|
||||||
|
|
||||||
|
governanceProxyAddress(overrides?: CallOverrides): Promise<string>;
|
||||||
|
|
||||||
|
initialize(
|
||||||
|
_instanceRegistryAddress: PromiseOrValue<string>,
|
||||||
|
_relayerRegistryAddress: PromiseOrValue<string>,
|
||||||
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
||||||
|
): Promise<ContractTransaction>;
|
||||||
|
|
||||||
|
instanceRegistry(overrides?: CallOverrides): Promise<string>;
|
||||||
|
|
||||||
|
relayerRegistry(overrides?: CallOverrides): Promise<string>;
|
||||||
|
|
||||||
|
rescueTokens(
|
||||||
|
_token: PromiseOrValue<string>,
|
||||||
|
_to: PromiseOrValue<string>,
|
||||||
|
_amount: PromiseOrValue<BigNumberish>,
|
||||||
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
||||||
|
): Promise<ContractTransaction>;
|
||||||
|
|
||||||
|
setInstanceRegistry(
|
||||||
|
_newInstanceRegistryProxyAddress: PromiseOrValue<string>,
|
||||||
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
||||||
|
): Promise<ContractTransaction>;
|
||||||
|
|
||||||
|
setRelayerRegistry(
|
||||||
|
_newRelayerRegistryProxyAddress: PromiseOrValue<string>,
|
||||||
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
||||||
|
): Promise<ContractTransaction>;
|
||||||
|
|
||||||
|
version(overrides?: CallOverrides): Promise<string>;
|
||||||
|
|
||||||
|
withdraw(
|
||||||
|
_tornado: PromiseOrValue<string>,
|
||||||
|
_proof: PromiseOrValue<BytesLike>,
|
||||||
|
_root: PromiseOrValue<BytesLike>,
|
||||||
|
_nullifierHash: PromiseOrValue<BytesLike>,
|
||||||
|
_recipient: PromiseOrValue<string>,
|
||||||
|
_relayer: PromiseOrValue<string>,
|
||||||
|
_fee: PromiseOrValue<BigNumberish>,
|
||||||
|
_refund: PromiseOrValue<BigNumberish>,
|
||||||
|
overrides?: PayableOverrides & { from?: PromiseOrValue<string> }
|
||||||
|
): Promise<ContractTransaction>;
|
||||||
|
|
||||||
|
callStatic: {
|
||||||
|
approveTokenForInstance(
|
||||||
|
_token: PromiseOrValue<string>,
|
||||||
|
_spender: PromiseOrValue<string>,
|
||||||
|
_amount: PromiseOrValue<BigNumberish>,
|
||||||
|
overrides?: CallOverrides
|
||||||
|
): Promise<void>;
|
||||||
|
|
||||||
|
backupNotes(
|
||||||
|
_encryptedNotes: PromiseOrValue<BytesLike>[],
|
||||||
|
overrides?: CallOverrides
|
||||||
|
): Promise<void>;
|
||||||
|
|
||||||
|
deposit(
|
||||||
|
_tornado: PromiseOrValue<string>,
|
||||||
|
_commitment: PromiseOrValue<BytesLike>,
|
||||||
|
_encryptedNote: PromiseOrValue<BytesLike>,
|
||||||
|
overrides?: CallOverrides
|
||||||
|
): Promise<void>;
|
||||||
|
|
||||||
|
governanceProxyAddress(overrides?: CallOverrides): Promise<string>;
|
||||||
|
|
||||||
|
initialize(
|
||||||
|
_instanceRegistryAddress: PromiseOrValue<string>,
|
||||||
|
_relayerRegistryAddress: PromiseOrValue<string>,
|
||||||
|
overrides?: CallOverrides
|
||||||
|
): Promise<void>;
|
||||||
|
|
||||||
|
instanceRegistry(overrides?: CallOverrides): Promise<string>;
|
||||||
|
|
||||||
|
relayerRegistry(overrides?: CallOverrides): Promise<string>;
|
||||||
|
|
||||||
|
rescueTokens(
|
||||||
|
_token: PromiseOrValue<string>,
|
||||||
|
_to: PromiseOrValue<string>,
|
||||||
|
_amount: PromiseOrValue<BigNumberish>,
|
||||||
|
overrides?: CallOverrides
|
||||||
|
): Promise<void>;
|
||||||
|
|
||||||
|
setInstanceRegistry(
|
||||||
|
_newInstanceRegistryProxyAddress: PromiseOrValue<string>,
|
||||||
|
overrides?: CallOverrides
|
||||||
|
): Promise<void>;
|
||||||
|
|
||||||
|
setRelayerRegistry(
|
||||||
|
_newRelayerRegistryProxyAddress: PromiseOrValue<string>,
|
||||||
|
overrides?: CallOverrides
|
||||||
|
): Promise<void>;
|
||||||
|
|
||||||
|
version(overrides?: CallOverrides): Promise<string>;
|
||||||
|
|
||||||
|
withdraw(
|
||||||
|
_tornado: PromiseOrValue<string>,
|
||||||
|
_proof: PromiseOrValue<BytesLike>,
|
||||||
|
_root: PromiseOrValue<BytesLike>,
|
||||||
|
_nullifierHash: PromiseOrValue<BytesLike>,
|
||||||
|
_recipient: PromiseOrValue<string>,
|
||||||
|
_relayer: PromiseOrValue<string>,
|
||||||
|
_fee: PromiseOrValue<BigNumberish>,
|
||||||
|
_refund: PromiseOrValue<BigNumberish>,
|
||||||
|
overrides?: CallOverrides
|
||||||
|
): Promise<void>;
|
||||||
|
};
|
||||||
|
|
||||||
|
filters: {
|
||||||
|
"EncryptedNote(address,bytes)"(
|
||||||
|
sender?: PromiseOrValue<string> | null,
|
||||||
|
encryptedNote?: null
|
||||||
|
): EncryptedNoteEventFilter;
|
||||||
|
EncryptedNote(
|
||||||
|
sender?: PromiseOrValue<string> | null,
|
||||||
|
encryptedNote?: null
|
||||||
|
): EncryptedNoteEventFilter;
|
||||||
|
|
||||||
|
"InstanceRegistryUpdated(address)"(
|
||||||
|
newInstanceRegistryProxyAddress?: null
|
||||||
|
): InstanceRegistryUpdatedEventFilter;
|
||||||
|
InstanceRegistryUpdated(
|
||||||
|
newInstanceRegistryProxyAddress?: null
|
||||||
|
): InstanceRegistryUpdatedEventFilter;
|
||||||
|
|
||||||
|
"RelayerRegistryUpdated(address)"(
|
||||||
|
newRelayerRegistryProxyAddress?: null
|
||||||
|
): RelayerRegistryUpdatedEventFilter;
|
||||||
|
RelayerRegistryUpdated(
|
||||||
|
newRelayerRegistryProxyAddress?: null
|
||||||
|
): RelayerRegistryUpdatedEventFilter;
|
||||||
|
|
||||||
|
"TokenApproved(address,uint256)"(
|
||||||
|
spender?: PromiseOrValue<string> | null,
|
||||||
|
amount?: null
|
||||||
|
): TokenApprovedEventFilter;
|
||||||
|
TokenApproved(
|
||||||
|
spender?: PromiseOrValue<string> | null,
|
||||||
|
amount?: null
|
||||||
|
): TokenApprovedEventFilter;
|
||||||
|
};
|
||||||
|
|
||||||
|
estimateGas: {
|
||||||
|
approveTokenForInstance(
|
||||||
|
_token: PromiseOrValue<string>,
|
||||||
|
_spender: PromiseOrValue<string>,
|
||||||
|
_amount: PromiseOrValue<BigNumberish>,
|
||||||
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
||||||
|
): Promise<BigNumber>;
|
||||||
|
|
||||||
|
backupNotes(
|
||||||
|
_encryptedNotes: PromiseOrValue<BytesLike>[],
|
||||||
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
||||||
|
): Promise<BigNumber>;
|
||||||
|
|
||||||
|
deposit(
|
||||||
|
_tornado: PromiseOrValue<string>,
|
||||||
|
_commitment: PromiseOrValue<BytesLike>,
|
||||||
|
_encryptedNote: PromiseOrValue<BytesLike>,
|
||||||
|
overrides?: PayableOverrides & { from?: PromiseOrValue<string> }
|
||||||
|
): Promise<BigNumber>;
|
||||||
|
|
||||||
|
governanceProxyAddress(overrides?: CallOverrides): Promise<BigNumber>;
|
||||||
|
|
||||||
|
initialize(
|
||||||
|
_instanceRegistryAddress: PromiseOrValue<string>,
|
||||||
|
_relayerRegistryAddress: PromiseOrValue<string>,
|
||||||
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
||||||
|
): Promise<BigNumber>;
|
||||||
|
|
||||||
|
instanceRegistry(overrides?: CallOverrides): Promise<BigNumber>;
|
||||||
|
|
||||||
|
relayerRegistry(overrides?: CallOverrides): Promise<BigNumber>;
|
||||||
|
|
||||||
|
rescueTokens(
|
||||||
|
_token: PromiseOrValue<string>,
|
||||||
|
_to: PromiseOrValue<string>,
|
||||||
|
_amount: PromiseOrValue<BigNumberish>,
|
||||||
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
||||||
|
): Promise<BigNumber>;
|
||||||
|
|
||||||
|
setInstanceRegistry(
|
||||||
|
_newInstanceRegistryProxyAddress: PromiseOrValue<string>,
|
||||||
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
||||||
|
): Promise<BigNumber>;
|
||||||
|
|
||||||
|
setRelayerRegistry(
|
||||||
|
_newRelayerRegistryProxyAddress: PromiseOrValue<string>,
|
||||||
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
||||||
|
): Promise<BigNumber>;
|
||||||
|
|
||||||
|
version(overrides?: CallOverrides): Promise<BigNumber>;
|
||||||
|
|
||||||
|
withdraw(
|
||||||
|
_tornado: PromiseOrValue<string>,
|
||||||
|
_proof: PromiseOrValue<BytesLike>,
|
||||||
|
_root: PromiseOrValue<BytesLike>,
|
||||||
|
_nullifierHash: PromiseOrValue<BytesLike>,
|
||||||
|
_recipient: PromiseOrValue<string>,
|
||||||
|
_relayer: PromiseOrValue<string>,
|
||||||
|
_fee: PromiseOrValue<BigNumberish>,
|
||||||
|
_refund: PromiseOrValue<BigNumberish>,
|
||||||
|
overrides?: PayableOverrides & { from?: PromiseOrValue<string> }
|
||||||
|
): Promise<BigNumber>;
|
||||||
|
};
|
||||||
|
|
||||||
|
populateTransaction: {
|
||||||
|
approveTokenForInstance(
|
||||||
|
_token: PromiseOrValue<string>,
|
||||||
|
_spender: PromiseOrValue<string>,
|
||||||
|
_amount: PromiseOrValue<BigNumberish>,
|
||||||
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
||||||
|
): Promise<PopulatedTransaction>;
|
||||||
|
|
||||||
|
backupNotes(
|
||||||
|
_encryptedNotes: PromiseOrValue<BytesLike>[],
|
||||||
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
||||||
|
): Promise<PopulatedTransaction>;
|
||||||
|
|
||||||
|
deposit(
|
||||||
|
_tornado: PromiseOrValue<string>,
|
||||||
|
_commitment: PromiseOrValue<BytesLike>,
|
||||||
|
_encryptedNote: PromiseOrValue<BytesLike>,
|
||||||
|
overrides?: PayableOverrides & { from?: PromiseOrValue<string> }
|
||||||
|
): Promise<PopulatedTransaction>;
|
||||||
|
|
||||||
|
governanceProxyAddress(
|
||||||
|
overrides?: CallOverrides
|
||||||
|
): Promise<PopulatedTransaction>;
|
||||||
|
|
||||||
|
initialize(
|
||||||
|
_instanceRegistryAddress: PromiseOrValue<string>,
|
||||||
|
_relayerRegistryAddress: PromiseOrValue<string>,
|
||||||
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
||||||
|
): Promise<PopulatedTransaction>;
|
||||||
|
|
||||||
|
instanceRegistry(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
||||||
|
|
||||||
|
relayerRegistry(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
||||||
|
|
||||||
|
rescueTokens(
|
||||||
|
_token: PromiseOrValue<string>,
|
||||||
|
_to: PromiseOrValue<string>,
|
||||||
|
_amount: PromiseOrValue<BigNumberish>,
|
||||||
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
||||||
|
): Promise<PopulatedTransaction>;
|
||||||
|
|
||||||
|
setInstanceRegistry(
|
||||||
|
_newInstanceRegistryProxyAddress: PromiseOrValue<string>,
|
||||||
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
||||||
|
): Promise<PopulatedTransaction>;
|
||||||
|
|
||||||
|
setRelayerRegistry(
|
||||||
|
_newRelayerRegistryProxyAddress: PromiseOrValue<string>,
|
||||||
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
||||||
|
): Promise<PopulatedTransaction>;
|
||||||
|
|
||||||
|
version(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
||||||
|
|
||||||
|
withdraw(
|
||||||
|
_tornado: PromiseOrValue<string>,
|
||||||
|
_proof: PromiseOrValue<BytesLike>,
|
||||||
|
_root: PromiseOrValue<BytesLike>,
|
||||||
|
_nullifierHash: PromiseOrValue<BytesLike>,
|
||||||
|
_recipient: PromiseOrValue<string>,
|
||||||
|
_relayer: PromiseOrValue<string>,
|
||||||
|
_fee: PromiseOrValue<BigNumberish>,
|
||||||
|
_refund: PromiseOrValue<BigNumberish>,
|
||||||
|
overrides?: PayableOverrides & { from?: PromiseOrValue<string> }
|
||||||
|
): Promise<PopulatedTransaction>;
|
||||||
|
};
|
||||||
|
}
|
File diff suppressed because one or more lines are too long
@ -10,3 +10,4 @@ export { MulticallContract__factory } from "./MulticallContract__factory";
|
|||||||
export { RelayerRegistry__factory } from "./RelayerRegistry__factory";
|
export { RelayerRegistry__factory } from "./RelayerRegistry__factory";
|
||||||
export { TornadoInstance__factory } from "./TornadoInstance__factory";
|
export { TornadoInstance__factory } from "./TornadoInstance__factory";
|
||||||
export { TornadoProxy__factory } from "./TornadoProxy__factory";
|
export { TornadoProxy__factory } from "./TornadoProxy__factory";
|
||||||
|
export { TornadoRouter__factory } from "./TornadoRouter__factory";
|
||||||
|
@ -10,6 +10,7 @@ export type { MulticallContract } from "./MulticallContract";
|
|||||||
export type { RelayerRegistry } from "./RelayerRegistry";
|
export type { RelayerRegistry } from "./RelayerRegistry";
|
||||||
export type { TornadoInstance } from "./TornadoInstance";
|
export type { TornadoInstance } from "./TornadoInstance";
|
||||||
export type { TornadoProxy } from "./TornadoProxy";
|
export type { TornadoProxy } from "./TornadoProxy";
|
||||||
|
export type { TornadoRouter } from "./TornadoRouter";
|
||||||
export * as factories from "./factories";
|
export * as factories from "./factories";
|
||||||
export { ERC20__factory } from "./factories/ERC20__factory";
|
export { ERC20__factory } from "./factories/ERC20__factory";
|
||||||
export { ERC20Mock__factory } from "./factories/ERC20Mock__factory";
|
export { ERC20Mock__factory } from "./factories/ERC20Mock__factory";
|
||||||
@ -20,3 +21,4 @@ export { MulticallContract__factory } from "./factories/MulticallContract__facto
|
|||||||
export { RelayerRegistry__factory } from "./factories/RelayerRegistry__factory";
|
export { RelayerRegistry__factory } from "./factories/RelayerRegistry__factory";
|
||||||
export { TornadoInstance__factory } from "./factories/TornadoInstance__factory";
|
export { TornadoInstance__factory } from "./factories/TornadoInstance__factory";
|
||||||
export { TornadoProxy__factory } from "./factories/TornadoProxy__factory";
|
export { TornadoProxy__factory } from "./factories/TornadoProxy__factory";
|
||||||
|
export { TornadoRouter__factory } from "./factories/TornadoRouter__factory";
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
"crypto",
|
"crypto",
|
||||||
"zk"
|
"zk"
|
||||||
],
|
],
|
||||||
"version": "0.0.12-alpha",
|
"version": "0.0.13-alpha",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "^18"
|
"node": "^18"
|
||||||
},
|
},
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
"crypto",
|
"crypto",
|
||||||
"zk"
|
"zk"
|
||||||
],
|
],
|
||||||
"version": "0.0.12-alpha",
|
"version": "0.0.13-alpha",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "^18"
|
"node": "^18"
|
||||||
},
|
},
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
"crypto",
|
"crypto",
|
||||||
"zk"
|
"zk"
|
||||||
],
|
],
|
||||||
"version": "0.0.12-alpha",
|
"version": "0.0.13-alpha",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "^18"
|
"node": "^18"
|
||||||
},
|
},
|
||||||
|
@ -1,6 +1,12 @@
|
|||||||
# History
|
# History
|
||||||
|
|
||||||
### 0.0.12.alpha
|
### 0.0.13-alpha
|
||||||
|
|
||||||
|
* Default block delta for synchronization has been set to 1,024 but there is no upper limit, any longer.
|
||||||
|
* Add the possibility of making the transaction build such that deposits go directly through the instances. This is off by default.
|
||||||
|
* Some code commenting.
|
||||||
|
|
||||||
|
### 0.0.12-alpha
|
||||||
|
|
||||||
**NOTE:** this is a minor breaking version, I'm making it minor on purpose to keep versioning low.
|
**NOTE:** this is a minor breaking version, I'm making it minor on purpose to keep versioning low.
|
||||||
|
|
||||||
|
16
README.md
16
README.md
@ -17,12 +17,12 @@ See [HISTORY.md](./HISTORY.md) for a development log.
|
|||||||
If they are not correct contact the dev, post an issue, or yell in the Matrix chat.
|
If they are not correct contact the dev, post an issue, or yell in the Matrix chat.
|
||||||
|
|
||||||
```
|
```
|
||||||
bfa7f04719b1c21eb4ef35651ae4c59a tornado-sdk-0.0.12-alpha.zip
|
5420a6c3f62e1377c99e21db88c1a459 tornado-sdk-0.0.13-alpha.zip
|
||||||
b6800a4fb03e049c583fd01491b905f9 tornado-sdk-chain-0.0.12-alpha.zip
|
e6234b9979bc4369211b33fb215887d8 tornado-sdk-chain-0.0.13-alpha.zip
|
||||||
996780acf44b7d5b8acfde1114272531 tornado-sdk-core-0.0.12-alpha.zip
|
2f96eb82a5aeb00d51231d4181c1f83f tornado-sdk-core-0.0.13-alpha.zip
|
||||||
eba0179c6fb3d49ddcecf8239dfec88d tornado-sdk-crypto-0.0.12-alpha.zip
|
85bef4d1acd90ca88bede3b7b7d2c171 tornado-sdk-crypto-0.0.13-alpha.zip
|
||||||
e7212248f48c62818204ff22175fcf20 tornado-sdk-data-0.0.12-alpha.zip
|
b7e065e55c72572ca91e3307bbf5e7a2 tornado-sdk-data-0.0.13-alpha.zip
|
||||||
c571038fabb99c1290b4521a90f67aea tornado-sdk-registry-0.0.12-alpha.zip
|
c2ebd189ce0f82d94cc818f3ee2fd866 tornado-sdk-registry-0.0.13-alpha.zip
|
||||||
2e3264f2edaf9cbe7894f0d4362f5bde tornado-sdk-utils-0.0.12-alpha.zip
|
23203009c011d79dee88bd7247a8054a tornado-sdk-utils-0.0.13-alpha.zip
|
||||||
4b93d201e6fd2e4bfa51b321e4c2aba4 tornado-sdk-web-0.0.12-alpha.zip
|
c8eead7fd82b08de2a285f940b6d6b75 tornado-sdk-web-0.0.13-alpha.zip
|
||||||
```
|
```
|
||||||
|
@ -1,7 +1,5 @@
|
|||||||
{
|
{
|
||||||
"_format": "hh-sol-artifact-1",
|
|
||||||
"contractName": "RelayerRegistry",
|
"contractName": "RelayerRegistry",
|
||||||
"sourceName": "contracts/v4-patch/RelayerRegistry.sol",
|
|
||||||
"abi": [
|
"abi": [
|
||||||
{
|
{
|
||||||
"inputs": [
|
"inputs": [
|
||||||
|
6528
abis/TornadoRouter.json
Normal file
6528
abis/TornadoRouter.json
Normal file
File diff suppressed because one or more lines are too long
@ -1,8 +1,8 @@
|
|||||||
:root {
|
:root {
|
||||||
--light-hl-0: #000000;
|
--light-hl-0: #001080;
|
||||||
--dark-hl-0: #D4D4D4;
|
--dark-hl-0: #9CDCFE;
|
||||||
--light-hl-1: #001080;
|
--light-hl-1: #000000;
|
||||||
--dark-hl-1: #9CDCFE;
|
--dark-hl-1: #D4D4D4;
|
||||||
--light-hl-2: #098658;
|
--light-hl-2: #098658;
|
||||||
--dark-hl-2: #B5CEA8;
|
--dark-hl-2: #B5CEA8;
|
||||||
--light-hl-3: #0000FF;
|
--light-hl-3: #0000FF;
|
||||||
|
File diff suppressed because one or more lines are too long
@ -22,7 +22,7 @@
|
|||||||
<ul class="tsd-hierarchy">
|
<ul class="tsd-hierarchy">
|
||||||
<li><span class="target">Core</span></li></ul></li></ul></section><aside class="tsd-sources">
|
<li><span class="target">Core</span></li></ul></li></ul></section><aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in @tornado/sdk-core/dist/index.d.ts:50</li></ul></aside>
|
<li>Defined in @tornado/sdk-core/dist/index.d.ts:51</li></ul></aside>
|
||||||
<section class="tsd-panel-group tsd-index-group">
|
<section class="tsd-panel-group tsd-index-group">
|
||||||
<section class="tsd-panel tsd-index-panel">
|
<section class="tsd-panel tsd-index-panel">
|
||||||
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
|
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
|
||||||
@ -78,7 +78,7 @@
|
|||||||
<a href="Core.html#getInstance" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>get<wbr/>Instance</span></a>
|
<a href="Core.html#getInstance" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>get<wbr/>Instance</span></a>
|
||||||
<a href="Core.html#getInstances" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>get<wbr/>Instances</span></a>
|
<a href="Core.html#getInstances" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>get<wbr/>Instances</span></a>
|
||||||
<a href="Core.html#getMaxListeners" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>get<wbr/>Max<wbr/>Listeners</span></a>
|
<a href="Core.html#getMaxListeners" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>get<wbr/>Max<wbr/>Listeners</span></a>
|
||||||
<a href="Core.html#getProxy" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>get<wbr/>Proxy</span></a>
|
<a href="Core.html#getRouter" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>get<wbr/>Router</span></a>
|
||||||
<a href="Core.html#listenForDeposits" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>listen<wbr/>For<wbr/>Deposits</span></a>
|
<a href="Core.html#listenForDeposits" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>listen<wbr/>For<wbr/>Deposits</span></a>
|
||||||
<a href="Core.html#listenForEvents" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>listen<wbr/>For<wbr/>Events</span></a>
|
<a href="Core.html#listenForEvents" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>listen<wbr/>For<wbr/>Events</span></a>
|
||||||
<a href="Core.html#listenForInstanceEvents" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>listen<wbr/>For<wbr/>Instance<wbr/>Events</span></a>
|
<a href="Core.html#listenForInstanceEvents" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>listen<wbr/>For<wbr/>Instance<wbr/>Events</span></a>
|
||||||
@ -122,29 +122,29 @@
|
|||||||
<h4 class="tsd-returns-title">Returns <a href="Core.html" class="tsd-signature-type tsd-kind-class">Core</a></h4><aside class="tsd-sources">
|
<h4 class="tsd-returns-title">Returns <a href="Core.html" class="tsd-signature-type tsd-kind-class">Core</a></h4><aside class="tsd-sources">
|
||||||
<p>Overrides <a href="Network.Synchronizer.html">Synchronizer</a>.<a href="Network.Synchronizer.html#constructor">constructor</a></p>
|
<p>Overrides <a href="Network.Synchronizer.html">Synchronizer</a>.<a href="Network.Synchronizer.html#constructor">constructor</a></p>
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in @tornado/sdk-core/dist/index.d.ts:56</li></ul></aside></li></ul></section></section>
|
<li>Defined in @tornado/sdk-core/dist/index.d.ts:57</li></ul></aside></li></ul></section></section>
|
||||||
<section class="tsd-panel-group tsd-member-group">
|
<section class="tsd-panel-group tsd-member-group">
|
||||||
<h2>Properties</h2>
|
<h2>Properties</h2>
|
||||||
<section class="tsd-panel tsd-member tsd-is-private"><a id="_backupDepositData" class="tsd-anchor"></a>
|
<section class="tsd-panel tsd-member tsd-is-private"><a id="_backupDepositData" class="tsd-anchor"></a>
|
||||||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>_backup<wbr/>Deposit<wbr/>Data</span><a href="#_backupDepositData" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>_backup<wbr/>Deposit<wbr/>Data</span><a href="#_backupDepositData" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||||
<div class="tsd-signature"><span class="tsd-kind-property">_backup<wbr/>Deposit<wbr/>Data</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span></div><aside class="tsd-sources">
|
<div class="tsd-signature"><span class="tsd-kind-property">_backup<wbr/>Deposit<wbr/>Data</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span></div><aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in @tornado/sdk-core/dist/index.d.ts:115</li></ul></aside></section>
|
<li>Defined in @tornado/sdk-core/dist/index.d.ts:116</li></ul></aside></section>
|
||||||
<section class="tsd-panel tsd-member tsd-is-private"><a id="_calcWithdrawalFee" class="tsd-anchor"></a>
|
<section class="tsd-panel tsd-member tsd-is-private"><a id="_calcWithdrawalFee" class="tsd-anchor"></a>
|
||||||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>_calc<wbr/>Withdrawal<wbr/>Fee</span><a href="#_calcWithdrawalFee" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>_calc<wbr/>Withdrawal<wbr/>Fee</span><a href="#_calcWithdrawalFee" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||||
<div class="tsd-signature"><span class="tsd-kind-property">_calc<wbr/>Withdrawal<wbr/>Fee</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span></div><aside class="tsd-sources">
|
<div class="tsd-signature"><span class="tsd-kind-property">_calc<wbr/>Withdrawal<wbr/>Fee</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span></div><aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in @tornado/sdk-core/dist/index.d.ts:75</li></ul></aside></section>
|
<li>Defined in @tornado/sdk-core/dist/index.d.ts:76</li></ul></aside></section>
|
||||||
<section class="tsd-panel tsd-member tsd-is-private"><a id="_chain" class="tsd-anchor"></a>
|
<section class="tsd-panel tsd-member tsd-is-private"><a id="_chain" class="tsd-anchor"></a>
|
||||||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <code class="tsd-tag ts-flagOptional">Optional</code> <span>_chain</span><a href="#_chain" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <code class="tsd-tag ts-flagOptional">Optional</code> <span>_chain</span><a href="#_chain" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||||
<div class="tsd-signature"><span class="tsd-kind-property">_chain</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">any</span></div><aside class="tsd-sources">
|
<div class="tsd-signature"><span class="tsd-kind-property">_chain</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">any</span></div><aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in @tornado/sdk-core/dist/index.d.ts:52</li></ul></aside></section>
|
<li>Defined in @tornado/sdk-core/dist/index.d.ts:53</li></ul></aside></section>
|
||||||
<section class="tsd-panel tsd-member tsd-is-private"><a id="_checkProvider" class="tsd-anchor"></a>
|
<section class="tsd-panel tsd-member tsd-is-private"><a id="_checkProvider" class="tsd-anchor"></a>
|
||||||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>_check<wbr/>Provider</span><a href="#_checkProvider" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>_check<wbr/>Provider</span><a href="#_checkProvider" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||||
<div class="tsd-signature"><span class="tsd-kind-property">_check<wbr/>Provider</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span></div><aside class="tsd-sources">
|
<div class="tsd-signature"><span class="tsd-kind-property">_check<wbr/>Provider</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span></div><aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in @tornado/sdk-core/dist/index.d.ts:57</li></ul></aside></section>
|
<li>Defined in @tornado/sdk-core/dist/index.d.ts:58</li></ul></aside></section>
|
||||||
<section class="tsd-panel tsd-member tsd-is-private"><a id="_findLeavesAndIndices" class="tsd-anchor"></a>
|
<section class="tsd-panel tsd-member tsd-is-private"><a id="_findLeavesAndIndices" class="tsd-anchor"></a>
|
||||||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>_find<wbr/>Leaves<wbr/>And<wbr/>Indices</span><a href="#_findLeavesAndIndices" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>_find<wbr/>Leaves<wbr/>And<wbr/>Indices</span><a href="#_findLeavesAndIndices" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||||
<div class="tsd-signature"><span class="tsd-kind-property">_find<wbr/>Leaves<wbr/>And<wbr/>Indices</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span></div>
|
<div class="tsd-signature"><span class="tsd-kind-property">_find<wbr/>Leaves<wbr/>And<wbr/>Indices</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span></div>
|
||||||
@ -156,43 +156,43 @@
|
|||||||
<h3>Returns</h3><p>The result of concatenating the array of leaf indices found by matching them with the provided commitment values, followed by the array of all leaf indices, including all of the formerly mentioned values given that they are valid. Values which have not been matched, meaning probably invalid values, will be <code>0</code>.</p>
|
<h3>Returns</h3><p>The result of concatenating the array of leaf indices found by matching them with the provided commitment values, followed by the array of all leaf indices, including all of the formerly mentioned values given that they are valid. Values which have not been matched, meaning probably invalid values, will be <code>0</code>.</p>
|
||||||
</div><aside class="tsd-sources">
|
</div><aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in @tornado/sdk-core/dist/index.d.ts:81</li></ul></aside></section>
|
<li>Defined in @tornado/sdk-core/dist/index.d.ts:82</li></ul></aside></section>
|
||||||
<section class="tsd-panel tsd-member tsd-is-private"><a id="_instanceEventToFilter" class="tsd-anchor"></a>
|
<section class="tsd-panel tsd-member tsd-is-private"><a id="_instanceEventToFilter" class="tsd-anchor"></a>
|
||||||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>_instance<wbr/>Event<wbr/>To<wbr/>Filter</span><a href="#_instanceEventToFilter" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>_instance<wbr/>Event<wbr/>To<wbr/>Filter</span><a href="#_instanceEventToFilter" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||||
<div class="tsd-signature"><span class="tsd-kind-property">_instance<wbr/>Event<wbr/>To<wbr/>Filter</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span></div><aside class="tsd-sources">
|
<div class="tsd-signature"><span class="tsd-kind-property">_instance<wbr/>Event<wbr/>To<wbr/>Filter</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span></div><aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in @tornado/sdk-core/dist/index.d.ts:90</li></ul></aside></section>
|
<li>Defined in @tornado/sdk-core/dist/index.d.ts:91</li></ul></aside></section>
|
||||||
<section class="tsd-panel tsd-member tsd-is-private"><a id="_invoices" class="tsd-anchor"></a>
|
<section class="tsd-panel tsd-member tsd-is-private"><a id="_invoices" class="tsd-anchor"></a>
|
||||||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <code class="tsd-tag ts-flagOptional">Optional</code> <span>_invoices</span><a href="#_invoices" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <code class="tsd-tag ts-flagOptional">Optional</code> <span>_invoices</span><a href="#_invoices" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||||
<div class="tsd-signature"><span class="tsd-kind-property">_invoices</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">any</span></div><aside class="tsd-sources">
|
<div class="tsd-signature"><span class="tsd-kind-property">_invoices</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">any</span></div><aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in @tornado/sdk-core/dist/index.d.ts:54</li></ul></aside></section>
|
<li>Defined in @tornado/sdk-core/dist/index.d.ts:55</li></ul></aside></section>
|
||||||
<section class="tsd-panel tsd-member tsd-is-private"><a id="_mutex" class="tsd-anchor"></a>
|
<section class="tsd-panel tsd-member tsd-is-private"><a id="_mutex" class="tsd-anchor"></a>
|
||||||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>_mutex</span><a href="#_mutex" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>_mutex</span><a href="#_mutex" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||||
<div class="tsd-signature"><span class="tsd-kind-property">_mutex</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span></div><aside class="tsd-sources">
|
<div class="tsd-signature"><span class="tsd-kind-property">_mutex</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span></div><aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in @tornado/sdk-core/dist/index.d.ts:51</li></ul></aside></section>
|
<li>Defined in @tornado/sdk-core/dist/index.d.ts:52</li></ul></aside></section>
|
||||||
<section class="tsd-panel tsd-member tsd-is-private"><a id="_notes" class="tsd-anchor"></a>
|
<section class="tsd-panel tsd-member tsd-is-private"><a id="_notes" class="tsd-anchor"></a>
|
||||||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <code class="tsd-tag ts-flagOptional">Optional</code> <span>_notes</span><a href="#_notes" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <code class="tsd-tag ts-flagOptional">Optional</code> <span>_notes</span><a href="#_notes" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||||
<div class="tsd-signature"><span class="tsd-kind-property">_notes</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">any</span></div><aside class="tsd-sources">
|
<div class="tsd-signature"><span class="tsd-kind-property">_notes</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">any</span></div><aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in @tornado/sdk-core/dist/index.d.ts:53</li></ul></aside></section>
|
<li>Defined in @tornado/sdk-core/dist/index.d.ts:54</li></ul></aside></section>
|
||||||
<section class="tsd-panel tsd-member tsd-is-private"><a id="_resolveInstance" class="tsd-anchor"></a>
|
<section class="tsd-panel tsd-member tsd-is-private"><a id="_resolveInstance" class="tsd-anchor"></a>
|
||||||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>_resolve<wbr/>Instance</span><a href="#_resolveInstance" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>_resolve<wbr/>Instance</span><a href="#_resolveInstance" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||||
<div class="tsd-signature"><span class="tsd-kind-property">_resolve<wbr/>Instance</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span></div><aside class="tsd-sources">
|
<div class="tsd-signature"><span class="tsd-kind-property">_resolve<wbr/>Instance</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span></div><aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in @tornado/sdk-core/dist/index.d.ts:92</li></ul></aside></section>
|
<li>Defined in @tornado/sdk-core/dist/index.d.ts:93</li></ul></aside></section>
|
||||||
<section class="tsd-panel tsd-member tsd-is-private"><a id="_resolveInstanceEvent" class="tsd-anchor"></a>
|
<section class="tsd-panel tsd-member tsd-is-private"><a id="_resolveInstanceEvent" class="tsd-anchor"></a>
|
||||||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>_resolve<wbr/>Instance<wbr/>Event</span><a href="#_resolveInstanceEvent" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>_resolve<wbr/>Instance<wbr/>Event</span><a href="#_resolveInstanceEvent" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||||
<div class="tsd-signature"><span class="tsd-kind-property">_resolve<wbr/>Instance<wbr/>Event</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span></div><aside class="tsd-sources">
|
<div class="tsd-signature"><span class="tsd-kind-property">_resolve<wbr/>Instance<wbr/>Event</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span></div><aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in @tornado/sdk-core/dist/index.d.ts:91</li></ul></aside></section>
|
<li>Defined in @tornado/sdk-core/dist/index.d.ts:92</li></ul></aside></section>
|
||||||
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="caches" class="tsd-anchor"></a>
|
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="caches" class="tsd-anchor"></a>
|
||||||
<h3 class="tsd-anchor-link"><span>caches</span><a href="#caches" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
<h3 class="tsd-anchor-link"><span>caches</span><a href="#caches" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||||
<div class="tsd-signature"><span class="tsd-kind-property">caches</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type ">Map</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><a href="Data.Cache.Syncable.html" class="tsd-signature-type tsd-kind-class">Syncable</a><span class="tsd-signature-symbol"><</span><a href="../modules/Data.html" class="tsd-signature-type tsd-kind-namespace">Data</a><span class="tsd-signature-symbol">.</span><a href="../modules/Data.Docs.html" class="tsd-signature-type tsd-kind-namespace">Docs</a><span class="tsd-signature-symbol">.</span><a href="Data.Docs.Base.html" class="tsd-signature-type tsd-kind-class">Base</a><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">></span></div><aside class="tsd-sources">
|
<div class="tsd-signature"><span class="tsd-kind-property">caches</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type ">Map</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><a href="Data.Cache.Syncable.html" class="tsd-signature-type tsd-kind-class">Syncable</a><span class="tsd-signature-symbol"><</span><a href="../modules/Data.html" class="tsd-signature-type tsd-kind-namespace">Data</a><span class="tsd-signature-symbol">.</span><a href="../modules/Data.Docs.html" class="tsd-signature-type tsd-kind-namespace">Docs</a><span class="tsd-signature-symbol">.</span><a href="Data.Docs.Base.html" class="tsd-signature-type tsd-kind-class">Base</a><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">></span></div><aside class="tsd-sources">
|
||||||
<p>Inherited from <a href="Network.Synchronizer.html">Synchronizer</a>.<a href="Network.Synchronizer.html#caches">caches</a></p>
|
<p>Inherited from <a href="Network.Synchronizer.html">Synchronizer</a>.<a href="Network.Synchronizer.html#caches">caches</a></p>
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in @tornado/sdk-chain/dist/index.d.ts:62</li></ul></aside></section>
|
<li>Defined in @tornado/sdk-chain/dist/index.d.ts:63</li></ul></aside></section>
|
||||||
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="captureRejectionSymbol" class="tsd-anchor"></a>
|
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="captureRejectionSymbol" class="tsd-anchor"></a>
|
||||||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <code class="tsd-tag ts-flagReadonly">Readonly</code> <span>capture<wbr/>Rejection<wbr/>Symbol</span><a href="#captureRejectionSymbol" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <code class="tsd-tag ts-flagReadonly">Readonly</code> <span>capture<wbr/>Rejection<wbr/>Symbol</span><a href="#captureRejectionSymbol" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||||
<div class="tsd-signature"><span class="tsd-kind-property">capture<wbr/>Rejection<wbr/>Symbol</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">typeof </span><a href="Network.Synchronizer.html#captureRejectionSymbol" class="tsd-signature-type tsd-kind-property">captureRejectionSymbol</a></div><aside class="tsd-sources">
|
<div class="tsd-signature"><span class="tsd-kind-property">capture<wbr/>Rejection<wbr/>Symbol</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">typeof </span><a href="Network.Synchronizer.html#captureRejectionSymbol" class="tsd-signature-type tsd-kind-property">captureRejectionSymbol</a></div><aside class="tsd-sources">
|
||||||
@ -235,7 +235,7 @@ regular <code>'error'</code> listener is installed.</p>
|
|||||||
<li class="tsd-description">
|
<li class="tsd-description">
|
||||||
<h4 class="tsd-returns-title">Returns <a href="Network.Chain.html" class="tsd-signature-type tsd-kind-class">Chain</a></h4><aside class="tsd-sources">
|
<h4 class="tsd-returns-title">Returns <a href="Network.Chain.html" class="tsd-signature-type tsd-kind-class">Chain</a></h4><aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in @tornado/sdk-core/dist/index.d.ts:55</li></ul></aside></li></ul></section></section>
|
<li>Defined in @tornado/sdk-core/dist/index.d.ts:56</li></ul></aside></li></ul></section></section>
|
||||||
<section class="tsd-panel-group tsd-member-group">
|
<section class="tsd-panel-group tsd-member-group">
|
||||||
<h2>Methods</h2>
|
<h2>Methods</h2>
|
||||||
<section class="tsd-panel tsd-member tsd-is-protected"><a id="_populateSyncOptions" class="tsd-anchor"></a>
|
<section class="tsd-panel tsd-member tsd-is-protected"><a id="_populateSyncOptions" class="tsd-anchor"></a>
|
||||||
@ -251,7 +251,7 @@ regular <code>'error'</code> listener is installed.</p>
|
|||||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-symbol">{ </span><br/><span> </span><span class="tsd-kind-property">blockDelta</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-kind-property">blockDivisor</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-kind-property">concurrencyLimit</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-kind-property">listenForEvents</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-kind-property">msTimeout</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-kind-property">startBlock</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-kind-property">targetBlock</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-symbol">{ </span><br/><span> </span><span class="tsd-kind-property">blockDelta</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-kind-property">blockDivisor</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-kind-property">concurrencyLimit</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-kind-property">listenForEvents</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-kind-property">msTimeout</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-kind-property">startBlock</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-kind-property">targetBlock</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||||
<p>Overrides <a href="Network.Synchronizer.html">Synchronizer</a>.<a href="Network.Synchronizer.html#_populateSyncOptions">_populateSyncOptions</a></p>
|
<p>Overrides <a href="Network.Synchronizer.html">Synchronizer</a>.<a href="Network.Synchronizer.html#_populateSyncOptions">_populateSyncOptions</a></p>
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in @tornado/sdk-core/dist/index.d.ts:110</li></ul></aside></li></ul></section>
|
<li>Defined in @tornado/sdk-core/dist/index.d.ts:111</li></ul></aside></li></ul></section>
|
||||||
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="addListener" class="tsd-anchor"></a>
|
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="addListener" class="tsd-anchor"></a>
|
||||||
<h3 class="tsd-anchor-link"><span>add<wbr/>Listener</span><a href="#addListener" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
<h3 class="tsd-anchor-link"><span>add<wbr/>Listener</span><a href="#addListener" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||||
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
|
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
|
||||||
@ -299,7 +299,7 @@ regular <code>'error'</code> listener is installed.</p>
|
|||||||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">options</span>: <a href="../modules/Data.html" class="tsd-signature-type tsd-kind-namespace">Data</a><span class="tsd-signature-symbol">.</span><a href="../modules/Data.Options.html" class="tsd-signature-type tsd-kind-namespace">Options</a><span class="tsd-signature-symbol">.</span><a href="../interfaces/Data.Options.Cache.html" class="tsd-signature-type tsd-kind-interface">Cache</a></h5></li></ul></div>
|
<h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">options</span>: <a href="../modules/Data.html" class="tsd-signature-type tsd-kind-namespace">Data</a><span class="tsd-signature-symbol">.</span><a href="../modules/Data.Options.html" class="tsd-signature-type tsd-kind-namespace">Options</a><span class="tsd-signature-symbol">.</span><a href="../interfaces/Data.Options.Cache.html" class="tsd-signature-type tsd-kind-interface">Cache</a></h5></li></ul></div>
|
||||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in @tornado/sdk-core/dist/index.d.ts:112</li></ul></aside></li></ul></section>
|
<li>Defined in @tornado/sdk-core/dist/index.d.ts:113</li></ul></aside></li></ul></section>
|
||||||
<section class="tsd-panel tsd-member"><a id="backupInvoices" class="tsd-anchor"></a>
|
<section class="tsd-panel tsd-member"><a id="backupInvoices" class="tsd-anchor"></a>
|
||||||
<h3 class="tsd-anchor-link"><span>backup<wbr/>Invoices</span><a href="#backupInvoices" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
<h3 class="tsd-anchor-link"><span>backup<wbr/>Invoices</span><a href="#backupInvoices" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||||
<ul class="tsd-signatures">
|
<ul class="tsd-signatures">
|
||||||
@ -316,7 +316,7 @@ regular <code>'error'</code> listener is installed.</p>
|
|||||||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">options</span>: <a href="../modules/Data.html" class="tsd-signature-type tsd-kind-namespace">Data</a><span class="tsd-signature-symbol">.</span><a href="../modules/Data.Options.html" class="tsd-signature-type tsd-kind-namespace">Options</a><span class="tsd-signature-symbol">.</span><a href="../interfaces/Data.Options.Cache.html" class="tsd-signature-type tsd-kind-interface">Cache</a></h5></li></ul></div>
|
<h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">options</span>: <a href="../modules/Data.html" class="tsd-signature-type tsd-kind-namespace">Data</a><span class="tsd-signature-symbol">.</span><a href="../modules/Data.Options.html" class="tsd-signature-type tsd-kind-namespace">Options</a><span class="tsd-signature-symbol">.</span><a href="../interfaces/Data.Options.Cache.html" class="tsd-signature-type tsd-kind-interface">Cache</a></h5></li></ul></div>
|
||||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in @tornado/sdk-core/dist/index.d.ts:114</li></ul></aside></li></ul></section>
|
<li>Defined in @tornado/sdk-core/dist/index.d.ts:115</li></ul></aside></li></ul></section>
|
||||||
<section class="tsd-panel tsd-member"><a id="backupNote" class="tsd-anchor"></a>
|
<section class="tsd-panel tsd-member"><a id="backupNote" class="tsd-anchor"></a>
|
||||||
<h3 class="tsd-anchor-link"><span>backup<wbr/>Note</span><a href="#backupNote" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
<h3 class="tsd-anchor-link"><span>backup<wbr/>Note</span><a href="#backupNote" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||||
<ul class="tsd-signatures">
|
<ul class="tsd-signatures">
|
||||||
@ -333,7 +333,7 @@ regular <code>'error'</code> listener is installed.</p>
|
|||||||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">options</span>: <a href="../modules/Data.html" class="tsd-signature-type tsd-kind-namespace">Data</a><span class="tsd-signature-symbol">.</span><a href="../modules/Data.Options.html" class="tsd-signature-type tsd-kind-namespace">Options</a><span class="tsd-signature-symbol">.</span><a href="../interfaces/Data.Options.Cache.html" class="tsd-signature-type tsd-kind-interface">Cache</a></h5></li></ul></div>
|
<h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">options</span>: <a href="../modules/Data.html" class="tsd-signature-type tsd-kind-namespace">Data</a><span class="tsd-signature-symbol">.</span><a href="../modules/Data.Options.html" class="tsd-signature-type tsd-kind-namespace">Options</a><span class="tsd-signature-symbol">.</span><a href="../interfaces/Data.Options.Cache.html" class="tsd-signature-type tsd-kind-interface">Cache</a></h5></li></ul></div>
|
||||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in @tornado/sdk-core/dist/index.d.ts:111</li></ul></aside></li></ul></section>
|
<li>Defined in @tornado/sdk-core/dist/index.d.ts:112</li></ul></aside></li></ul></section>
|
||||||
<section class="tsd-panel tsd-member"><a id="backupNotes" class="tsd-anchor"></a>
|
<section class="tsd-panel tsd-member"><a id="backupNotes" class="tsd-anchor"></a>
|
||||||
<h3 class="tsd-anchor-link"><span>backup<wbr/>Notes</span><a href="#backupNotes" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
<h3 class="tsd-anchor-link"><span>backup<wbr/>Notes</span><a href="#backupNotes" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||||
<ul class="tsd-signatures">
|
<ul class="tsd-signatures">
|
||||||
@ -350,7 +350,7 @@ regular <code>'error'</code> listener is installed.</p>
|
|||||||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">options</span>: <a href="../modules/Data.html" class="tsd-signature-type tsd-kind-namespace">Data</a><span class="tsd-signature-symbol">.</span><a href="../modules/Data.Options.html" class="tsd-signature-type tsd-kind-namespace">Options</a><span class="tsd-signature-symbol">.</span><a href="../interfaces/Data.Options.Cache.html" class="tsd-signature-type tsd-kind-interface">Cache</a></h5></li></ul></div>
|
<h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">options</span>: <a href="../modules/Data.html" class="tsd-signature-type tsd-kind-namespace">Data</a><span class="tsd-signature-symbol">.</span><a href="../modules/Data.Options.html" class="tsd-signature-type tsd-kind-namespace">Options</a><span class="tsd-signature-symbol">.</span><a href="../interfaces/Data.Options.Cache.html" class="tsd-signature-type tsd-kind-interface">Cache</a></h5></li></ul></div>
|
||||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in @tornado/sdk-core/dist/index.d.ts:113</li></ul></aside></li></ul></section>
|
<li>Defined in @tornado/sdk-core/dist/index.d.ts:114</li></ul></aside></li></ul></section>
|
||||||
<section class="tsd-panel tsd-member"><a id="clearListener" class="tsd-anchor"></a>
|
<section class="tsd-panel tsd-member"><a id="clearListener" class="tsd-anchor"></a>
|
||||||
<h3 class="tsd-anchor-link"><span>clear<wbr/>Listener</span><a href="#clearListener" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
<h3 class="tsd-anchor-link"><span>clear<wbr/>Listener</span><a href="#clearListener" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||||
<ul class="tsd-signatures">
|
<ul class="tsd-signatures">
|
||||||
@ -367,7 +367,7 @@ regular <code>'error'</code> listener is installed.</p>
|
|||||||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">listenerIndex</span>: <span class="tsd-signature-type">number</span></h5></li></ul></div>
|
<h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">listenerIndex</span>: <span class="tsd-signature-type">number</span></h5></li></ul></div>
|
||||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in @tornado/sdk-core/dist/index.d.ts:85</li></ul></aside></li></ul></section>
|
<li>Defined in @tornado/sdk-core/dist/index.d.ts:86</li></ul></aside></li></ul></section>
|
||||||
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="clearListenerByIndex" class="tsd-anchor"></a>
|
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="clearListenerByIndex" class="tsd-anchor"></a>
|
||||||
<h3 class="tsd-anchor-link"><span>clear<wbr/>Listener<wbr/>By<wbr/>Index</span><a href="#clearListenerByIndex" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
<h3 class="tsd-anchor-link"><span>clear<wbr/>Listener<wbr/>By<wbr/>Index</span><a href="#clearListenerByIndex" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||||
<ul class="tsd-signatures tsd-is-inherited">
|
<ul class="tsd-signatures tsd-is-inherited">
|
||||||
@ -385,7 +385,7 @@ regular <code>'error'</code> listener is installed.</p>
|
|||||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
||||||
<p>Inherited from <a href="Network.Synchronizer.html">Synchronizer</a>.<a href="Network.Synchronizer.html#clearListenerByIndex">clearListenerByIndex</a></p>
|
<p>Inherited from <a href="Network.Synchronizer.html">Synchronizer</a>.<a href="Network.Synchronizer.html#clearListenerByIndex">clearListenerByIndex</a></p>
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in @tornado/sdk-chain/dist/index.d.ts:67</li></ul></aside></li></ul></section>
|
<li>Defined in @tornado/sdk-chain/dist/index.d.ts:68</li></ul></aside></li></ul></section>
|
||||||
<section class="tsd-panel tsd-member"><a id="clearListeners" class="tsd-anchor"></a>
|
<section class="tsd-panel tsd-member"><a id="clearListeners" class="tsd-anchor"></a>
|
||||||
<h3 class="tsd-anchor-link"><span>clear<wbr/>Listeners</span><a href="#clearListeners" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
<h3 class="tsd-anchor-link"><span>clear<wbr/>Listeners</span><a href="#clearListeners" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||||
<ul class="tsd-signatures">
|
<ul class="tsd-signatures">
|
||||||
@ -398,7 +398,7 @@ regular <code>'error'</code> listener is installed.</p>
|
|||||||
<h5><span class="tsd-kind-parameter">instance</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type ">TornadoInstance</span></h5></li></ul></div>
|
<h5><span class="tsd-kind-parameter">instance</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type ">TornadoInstance</span></h5></li></ul></div>
|
||||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in @tornado/sdk-core/dist/index.d.ts:86</li></ul></aside></li></ul></section>
|
<li>Defined in @tornado/sdk-core/dist/index.d.ts:87</li></ul></aside></li></ul></section>
|
||||||
<section class="tsd-panel tsd-member"><a id="connect" class="tsd-anchor"></a>
|
<section class="tsd-panel tsd-member"><a id="connect" class="tsd-anchor"></a>
|
||||||
<h3 class="tsd-anchor-link"><span>connect</span><a href="#connect" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
<h3 class="tsd-anchor-link"><span>connect</span><a href="#connect" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||||
<ul class="tsd-signatures">
|
<ul class="tsd-signatures">
|
||||||
@ -411,7 +411,7 @@ regular <code>'error'</code> listener is installed.</p>
|
|||||||
<h5><span class="tsd-kind-parameter">provider</span>: <span class="tsd-signature-type ">Provider</span></h5></li></ul></div>
|
<h5><span class="tsd-kind-parameter">provider</span>: <span class="tsd-signature-type ">Provider</span></h5></li></ul></div>
|
||||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in @tornado/sdk-core/dist/index.d.ts:58</li></ul></aside></li></ul></section>
|
<li>Defined in @tornado/sdk-core/dist/index.d.ts:59</li></ul></aside></li></ul></section>
|
||||||
<section class="tsd-panel tsd-member"><a id="createDepositProof" class="tsd-anchor"></a>
|
<section class="tsd-panel tsd-member"><a id="createDepositProof" class="tsd-anchor"></a>
|
||||||
<h3 class="tsd-anchor-link"><span>create<wbr/>Deposit<wbr/>Proof</span><a href="#createDepositProof" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
<h3 class="tsd-anchor-link"><span>create<wbr/>Deposit<wbr/>Proof</span><a href="#createDepositProof" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||||
<ul class="tsd-signatures">
|
<ul class="tsd-signatures">
|
||||||
@ -432,7 +432,7 @@ regular <code>'error'</code> listener is installed.</p>
|
|||||||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">options</span>: <a href="../interfaces/Options.Core.BuildDepositProof.html" class="tsd-signature-type tsd-kind-interface">BuildDepositProof</a></h5></li></ul></div>
|
<h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">options</span>: <a href="../interfaces/Options.Core.BuildDepositProof.html" class="tsd-signature-type tsd-kind-interface">BuildDepositProof</a></h5></li></ul></div>
|
||||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in @tornado/sdk-core/dist/index.d.ts:65</li></ul></aside></li></ul></section>
|
<li>Defined in @tornado/sdk-core/dist/index.d.ts:66</li></ul></aside></li></ul></section>
|
||||||
<section class="tsd-panel tsd-member"><a id="createDepositProofs" class="tsd-anchor"></a>
|
<section class="tsd-panel tsd-member"><a id="createDepositProofs" class="tsd-anchor"></a>
|
||||||
<h3 class="tsd-anchor-link"><span>create<wbr/>Deposit<wbr/>Proofs</span><a href="#createDepositProofs" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
<h3 class="tsd-anchor-link"><span>create<wbr/>Deposit<wbr/>Proofs</span><a href="#createDepositProofs" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||||
<ul class="tsd-signatures">
|
<ul class="tsd-signatures">
|
||||||
@ -465,7 +465,7 @@ regular <code>'error'</code> listener is installed.</p>
|
|||||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">></span></h4><p>The proofs for which the user should then decide whether to use a relayer (recommended, but decide carefully which one) or use his own wallet (if needed).</p>
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">></span></h4><p>The proofs for which the user should then decide whether to use a relayer (recommended, but decide carefully which one) or use his own wallet (if needed).</p>
|
||||||
<aside class="tsd-sources">
|
<aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in @tornado/sdk-core/dist/index.d.ts:74</li></ul></aside></li></ul></section>
|
<li>Defined in @tornado/sdk-core/dist/index.d.ts:75</li></ul></aside></li></ul></section>
|
||||||
<section class="tsd-panel tsd-member"><a id="createDepositTransaction" class="tsd-anchor"></a>
|
<section class="tsd-panel tsd-member"><a id="createDepositTransaction" class="tsd-anchor"></a>
|
||||||
<h3 class="tsd-anchor-link"><span>create<wbr/>Deposit<wbr/>Transaction</span><a href="#createDepositTransaction" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
<h3 class="tsd-anchor-link"><span>create<wbr/>Deposit<wbr/>Transaction</span><a href="#createDepositTransaction" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||||
<ul class="tsd-signatures">
|
<ul class="tsd-signatures">
|
||||||
@ -487,7 +487,7 @@ regular <code>'error'</code> listener is installed.</p>
|
|||||||
<h4 class="tsd-returns-title">Returns <a href="../modules/Transactions.html" class="tsd-signature-type tsd-kind-namespace">Transactions</a><span class="tsd-signature-symbol">.</span><a href="../interfaces/Transactions.Deposit.html" class="tsd-signature-type tsd-kind-interface">Deposit</a></h4><p>A promise which resolves to the created transaction.</p>
|
<h4 class="tsd-returns-title">Returns <a href="../modules/Transactions.html" class="tsd-signature-type tsd-kind-namespace">Transactions</a><span class="tsd-signature-symbol">.</span><a href="../interfaces/Transactions.Deposit.html" class="tsd-signature-type tsd-kind-interface">Deposit</a></h4><p>A promise which resolves to the created transaction.</p>
|
||||||
<aside class="tsd-sources">
|
<aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in @tornado/sdk-core/dist/index.d.ts:99</li></ul></aside></li></ul></section>
|
<li>Defined in @tornado/sdk-core/dist/index.d.ts:100</li></ul></aside></li></ul></section>
|
||||||
<section class="tsd-panel tsd-member"><a id="createDepositTransactions" class="tsd-anchor"></a>
|
<section class="tsd-panel tsd-member"><a id="createDepositTransactions" class="tsd-anchor"></a>
|
||||||
<h3 class="tsd-anchor-link"><span>create<wbr/>Deposit<wbr/>Transactions</span><a href="#createDepositTransactions" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
<h3 class="tsd-anchor-link"><span>create<wbr/>Deposit<wbr/>Transactions</span><a href="#createDepositTransactions" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||||
<ul class="tsd-signatures">
|
<ul class="tsd-signatures">
|
||||||
@ -506,12 +506,12 @@ regular <code>'error'</code> listener is installed.</p>
|
|||||||
</div></li>
|
</div></li>
|
||||||
<li>
|
<li>
|
||||||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">options</span>: <a href="../modules/Options.html" class="tsd-signature-type tsd-kind-namespace">Options</a><span class="tsd-signature-symbol">.</span><a href="../modules/Options.Core.html" class="tsd-signature-type tsd-kind-namespace">Core</a><span class="tsd-signature-symbol">.</span><a href="../interfaces/Options.Core.Deposit.html" class="tsd-signature-type tsd-kind-interface">Deposit</a></h5>
|
<h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">options</span>: <a href="../modules/Options.html" class="tsd-signature-type tsd-kind-namespace">Options</a><span class="tsd-signature-symbol">.</span><a href="../modules/Options.Core.html" class="tsd-signature-type tsd-kind-namespace">Core</a><span class="tsd-signature-symbol">.</span><a href="../interfaces/Options.Core.Deposit.html" class="tsd-signature-type tsd-kind-interface">Deposit</a></h5>
|
||||||
<div class="tsd-comment tsd-typography"><p>The number of deposits per instance, whether or not to populate the transactions (only in the sense of encoding transaction data), and whether to backup notes and invoices. Defaults: <code>depositsPerInstance = [1]*instance_num, doNotPopulate = false, backup { notes = true, invoices = false }</code></p>
|
<div class="tsd-comment tsd-typography"><p>The number of deposits per instance, whether or not to populate the transactions (only in the sense of encoding transaction data), whether to backup notes and invoices, and whether to call the instance directly instead of the router. Defaults: <code>depositsPerInstance = [1]*instance_num, doNotPopulate = false, callInstanceDirectly = false, backup { notes = true, invoices = false }</code></p>
|
||||||
</div></li></ul></div>
|
</div></li></ul></div>
|
||||||
<h4 class="tsd-returns-title">Returns <a href="../modules/Transactions.html" class="tsd-signature-type tsd-kind-namespace">Transactions</a><span class="tsd-signature-symbol">.</span><a href="../interfaces/Transactions.Deposit.html" class="tsd-signature-type tsd-kind-interface">Deposit</a><span class="tsd-signature-symbol">[]</span></h4><p>A promise which resolves to the created transactions.</p>
|
<h4 class="tsd-returns-title">Returns <a href="../modules/Transactions.html" class="tsd-signature-type tsd-kind-namespace">Transactions</a><span class="tsd-signature-symbol">.</span><a href="../interfaces/Transactions.Deposit.html" class="tsd-signature-type tsd-kind-interface">Deposit</a><span class="tsd-signature-symbol">[]</span></h4><p>A promise which resolves to the created transactions.</p>
|
||||||
<aside class="tsd-sources">
|
<aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in @tornado/sdk-core/dist/index.d.ts:107</li></ul></aside></li></ul></section>
|
<li>Defined in @tornado/sdk-core/dist/index.d.ts:108</li></ul></aside></li></ul></section>
|
||||||
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="emit" class="tsd-anchor"></a>
|
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="emit" class="tsd-anchor"></a>
|
||||||
<h3 class="tsd-anchor-link"><span>emit</span><a href="#emit" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
<h3 class="tsd-anchor-link"><span>emit</span><a href="#emit" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||||
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
|
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
|
||||||
@ -520,7 +520,7 @@ regular <code>'error'</code> listener is installed.</p>
|
|||||||
<div class="tsd-comment tsd-typography"><p>Synchronously calls each of the listeners registered for the event named<code>eventName</code>, in the order they were registered, passing the supplied arguments
|
<div class="tsd-comment tsd-typography"><p>Synchronously calls each of the listeners registered for the event named<code>eventName</code>, in the order they were registered, passing the supplied arguments
|
||||||
to each.</p>
|
to each.</p>
|
||||||
<p>Returns <code>true</code> if the event had listeners, <code>false</code> otherwise.</p>
|
<p>Returns <code>true</code> if the event had listeners, <code>false</code> otherwise.</p>
|
||||||
<pre><code class="language-js"><span class="hl-3">const</span><span class="hl-0"> </span><span class="hl-4">EventEmitter</span><span class="hl-0"> = </span><span class="hl-5">require</span><span class="hl-0">(</span><span class="hl-6">'events'</span><span class="hl-0">);</span><br/><span class="hl-3">const</span><span class="hl-0"> </span><span class="hl-4">myEmitter</span><span class="hl-0"> = </span><span class="hl-3">new</span><span class="hl-0"> </span><span class="hl-5">EventEmitter</span><span class="hl-0">();</span><br/><br/><span class="hl-7">// First listener</span><br/><span class="hl-1">myEmitter</span><span class="hl-0">.</span><span class="hl-5">on</span><span class="hl-0">(</span><span class="hl-6">'event'</span><span class="hl-0">, </span><span class="hl-3">function</span><span class="hl-0"> </span><span class="hl-5">firstListener</span><span class="hl-0">() {</span><br/><span class="hl-0"> </span><span class="hl-1">console</span><span class="hl-0">.</span><span class="hl-5">log</span><span class="hl-0">(</span><span class="hl-6">'Helloooo! first listener'</span><span class="hl-0">);</span><br/><span class="hl-0">});</span><br/><span class="hl-7">// Second listener</span><br/><span class="hl-1">myEmitter</span><span class="hl-0">.</span><span class="hl-5">on</span><span class="hl-0">(</span><span class="hl-6">'event'</span><span class="hl-0">, </span><span class="hl-3">function</span><span class="hl-0"> </span><span class="hl-5">secondListener</span><span class="hl-0">(</span><span class="hl-1">arg1</span><span class="hl-0">, </span><span class="hl-1">arg2</span><span class="hl-0">) {</span><br/><span class="hl-0"> </span><span class="hl-1">console</span><span class="hl-0">.</span><span class="hl-5">log</span><span class="hl-0">(</span><span class="hl-6">`event with parameters </span><span class="hl-3">${</span><span class="hl-1">arg1</span><span class="hl-3">}</span><span class="hl-6">, </span><span class="hl-3">${</span><span class="hl-1">arg2</span><span class="hl-3">}</span><span class="hl-6"> in second listener`</span><span class="hl-0">);</span><br/><span class="hl-0">});</span><br/><span class="hl-7">// Third listener</span><br/><span class="hl-1">myEmitter</span><span class="hl-0">.</span><span class="hl-5">on</span><span class="hl-0">(</span><span class="hl-6">'event'</span><span class="hl-0">, </span><span class="hl-3">function</span><span class="hl-0"> </span><span class="hl-5">thirdListener</span><span class="hl-0">(...</span><span class="hl-1">args</span><span class="hl-0">) {</span><br/><span class="hl-0"> </span><span class="hl-3">const</span><span class="hl-0"> </span><span class="hl-4">parameters</span><span class="hl-0"> = </span><span class="hl-1">args</span><span class="hl-0">.</span><span class="hl-5">join</span><span class="hl-0">(</span><span class="hl-6">', '</span><span class="hl-0">);</span><br/><span class="hl-0"> </span><span class="hl-1">console</span><span class="hl-0">.</span><span class="hl-5">log</span><span class="hl-0">(</span><span class="hl-6">`event with parameters </span><span class="hl-3">${</span><span class="hl-1">parameters</span><span class="hl-3">}</span><span class="hl-6"> in third listener`</span><span class="hl-0">);</span><br/><span class="hl-0">});</span><br/><br/><span class="hl-1">console</span><span class="hl-0">.</span><span class="hl-5">log</span><span class="hl-0">(</span><span class="hl-1">myEmitter</span><span class="hl-0">.</span><span class="hl-5">listeners</span><span class="hl-0">(</span><span class="hl-6">'event'</span><span class="hl-0">));</span><br/><br/><span class="hl-1">myEmitter</span><span class="hl-0">.</span><span class="hl-5">emit</span><span class="hl-0">(</span><span class="hl-6">'event'</span><span class="hl-0">, </span><span class="hl-2">1</span><span class="hl-0">, </span><span class="hl-2">2</span><span class="hl-0">, </span><span class="hl-2">3</span><span class="hl-0">, </span><span class="hl-2">4</span><span class="hl-0">, </span><span class="hl-2">5</span><span class="hl-0">);</span><br/><br/><span class="hl-7">// Prints:</span><br/><span class="hl-7">// [</span><br/><span class="hl-7">// [Function: firstListener],</span><br/><span class="hl-7">// [Function: secondListener],</span><br/><span class="hl-7">// [Function: thirdListener]</span><br/><span class="hl-7">// ]</span><br/><span class="hl-7">// Helloooo! first listener</span><br/><span class="hl-7">// event with parameters 1, 2 in second listener</span><br/><span class="hl-7">// event with parameters 1, 2, 3, 4, 5 in third listener</span>
|
<pre><code class="language-js"><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-4">EventEmitter</span><span class="hl-1"> = </span><span class="hl-5">require</span><span class="hl-1">(</span><span class="hl-6">'events'</span><span class="hl-1">);</span><br/><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-4">myEmitter</span><span class="hl-1"> = </span><span class="hl-3">new</span><span class="hl-1"> </span><span class="hl-5">EventEmitter</span><span class="hl-1">();</span><br/><br/><span class="hl-7">// First listener</span><br/><span class="hl-0">myEmitter</span><span class="hl-1">.</span><span class="hl-5">on</span><span class="hl-1">(</span><span class="hl-6">'event'</span><span class="hl-1">, </span><span class="hl-3">function</span><span class="hl-1"> </span><span class="hl-5">firstListener</span><span class="hl-1">() {</span><br/><span class="hl-1"> </span><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-5">log</span><span class="hl-1">(</span><span class="hl-6">'Helloooo! first listener'</span><span class="hl-1">);</span><br/><span class="hl-1">});</span><br/><span class="hl-7">// Second listener</span><br/><span class="hl-0">myEmitter</span><span class="hl-1">.</span><span class="hl-5">on</span><span class="hl-1">(</span><span class="hl-6">'event'</span><span class="hl-1">, </span><span class="hl-3">function</span><span class="hl-1"> </span><span class="hl-5">secondListener</span><span class="hl-1">(</span><span class="hl-0">arg1</span><span class="hl-1">, </span><span class="hl-0">arg2</span><span class="hl-1">) {</span><br/><span class="hl-1"> </span><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-5">log</span><span class="hl-1">(</span><span class="hl-6">`event with parameters </span><span class="hl-3">${</span><span class="hl-0">arg1</span><span class="hl-3">}</span><span class="hl-6">, </span><span class="hl-3">${</span><span class="hl-0">arg2</span><span class="hl-3">}</span><span class="hl-6"> in second listener`</span><span class="hl-1">);</span><br/><span class="hl-1">});</span><br/><span class="hl-7">// Third listener</span><br/><span class="hl-0">myEmitter</span><span class="hl-1">.</span><span class="hl-5">on</span><span class="hl-1">(</span><span class="hl-6">'event'</span><span class="hl-1">, </span><span class="hl-3">function</span><span class="hl-1"> </span><span class="hl-5">thirdListener</span><span class="hl-1">(...</span><span class="hl-0">args</span><span class="hl-1">) {</span><br/><span class="hl-1"> </span><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-4">parameters</span><span class="hl-1"> = </span><span class="hl-0">args</span><span class="hl-1">.</span><span class="hl-5">join</span><span class="hl-1">(</span><span class="hl-6">', '</span><span class="hl-1">);</span><br/><span class="hl-1"> </span><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-5">log</span><span class="hl-1">(</span><span class="hl-6">`event with parameters </span><span class="hl-3">${</span><span class="hl-0">parameters</span><span class="hl-3">}</span><span class="hl-6"> in third listener`</span><span class="hl-1">);</span><br/><span class="hl-1">});</span><br/><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-5">log</span><span class="hl-1">(</span><span class="hl-0">myEmitter</span><span class="hl-1">.</span><span class="hl-5">listeners</span><span class="hl-1">(</span><span class="hl-6">'event'</span><span class="hl-1">));</span><br/><br/><span class="hl-0">myEmitter</span><span class="hl-1">.</span><span class="hl-5">emit</span><span class="hl-1">(</span><span class="hl-6">'event'</span><span class="hl-1">, </span><span class="hl-2">1</span><span class="hl-1">, </span><span class="hl-2">2</span><span class="hl-1">, </span><span class="hl-2">3</span><span class="hl-1">, </span><span class="hl-2">4</span><span class="hl-1">, </span><span class="hl-2">5</span><span class="hl-1">);</span><br/><br/><span class="hl-7">// Prints:</span><br/><span class="hl-7">// [</span><br/><span class="hl-7">// [Function: firstListener],</span><br/><span class="hl-7">// [Function: secondListener],</span><br/><span class="hl-7">// [Function: thirdListener]</span><br/><span class="hl-7">// ]</span><br/><span class="hl-7">// Helloooo! first listener</span><br/><span class="hl-7">// event with parameters 1, 2 in second listener</span><br/><span class="hl-7">// event with parameters 1, 2, 3, 4, 5 in third listener</span>
|
||||||
</code><button>Copy</button></pre>
|
</code><button>Copy</button></pre>
|
||||||
|
|
||||||
<h3>Since</h3><p>v0.1.26</p>
|
<h3>Since</h3><p>v0.1.26</p>
|
||||||
@ -543,7 +543,7 @@ to each.</p>
|
|||||||
<li class="tsd-description">
|
<li class="tsd-description">
|
||||||
<div class="tsd-comment tsd-typography"><p>Returns an array listing the events for which the emitter has registered
|
<div class="tsd-comment tsd-typography"><p>Returns an array listing the events for which the emitter has registered
|
||||||
listeners. The values in the array are strings or <code>Symbol</code>s.</p>
|
listeners. The values in the array are strings or <code>Symbol</code>s.</p>
|
||||||
<pre><code class="language-js"><span class="hl-3">const</span><span class="hl-0"> </span><span class="hl-4">EventEmitter</span><span class="hl-0"> = </span><span class="hl-5">require</span><span class="hl-0">(</span><span class="hl-6">'events'</span><span class="hl-0">);</span><br/><span class="hl-3">const</span><span class="hl-0"> </span><span class="hl-4">myEE</span><span class="hl-0"> = </span><span class="hl-3">new</span><span class="hl-0"> </span><span class="hl-5">EventEmitter</span><span class="hl-0">();</span><br/><span class="hl-1">myEE</span><span class="hl-0">.</span><span class="hl-5">on</span><span class="hl-0">(</span><span class="hl-6">'foo'</span><span class="hl-0">, () </span><span class="hl-3">=></span><span class="hl-0"> {});</span><br/><span class="hl-1">myEE</span><span class="hl-0">.</span><span class="hl-5">on</span><span class="hl-0">(</span><span class="hl-6">'bar'</span><span class="hl-0">, () </span><span class="hl-3">=></span><span class="hl-0"> {});</span><br/><br/><span class="hl-3">const</span><span class="hl-0"> </span><span class="hl-4">sym</span><span class="hl-0"> = </span><span class="hl-5">Symbol</span><span class="hl-0">(</span><span class="hl-6">'symbol'</span><span class="hl-0">);</span><br/><span class="hl-1">myEE</span><span class="hl-0">.</span><span class="hl-5">on</span><span class="hl-0">(</span><span class="hl-1">sym</span><span class="hl-0">, () </span><span class="hl-3">=></span><span class="hl-0"> {});</span><br/><br/><span class="hl-1">console</span><span class="hl-0">.</span><span class="hl-5">log</span><span class="hl-0">(</span><span class="hl-1">myEE</span><span class="hl-0">.</span><span class="hl-5">eventNames</span><span class="hl-0">());</span><br/><span class="hl-7">// Prints: [ 'foo', 'bar', Symbol(symbol) ]</span>
|
<pre><code class="language-js"><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-4">EventEmitter</span><span class="hl-1"> = </span><span class="hl-5">require</span><span class="hl-1">(</span><span class="hl-6">'events'</span><span class="hl-1">);</span><br/><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-4">myEE</span><span class="hl-1"> = </span><span class="hl-3">new</span><span class="hl-1"> </span><span class="hl-5">EventEmitter</span><span class="hl-1">();</span><br/><span class="hl-0">myEE</span><span class="hl-1">.</span><span class="hl-5">on</span><span class="hl-1">(</span><span class="hl-6">'foo'</span><span class="hl-1">, () </span><span class="hl-3">=></span><span class="hl-1"> {});</span><br/><span class="hl-0">myEE</span><span class="hl-1">.</span><span class="hl-5">on</span><span class="hl-1">(</span><span class="hl-6">'bar'</span><span class="hl-1">, () </span><span class="hl-3">=></span><span class="hl-1"> {});</span><br/><br/><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-4">sym</span><span class="hl-1"> = </span><span class="hl-5">Symbol</span><span class="hl-1">(</span><span class="hl-6">'symbol'</span><span class="hl-1">);</span><br/><span class="hl-0">myEE</span><span class="hl-1">.</span><span class="hl-5">on</span><span class="hl-1">(</span><span class="hl-0">sym</span><span class="hl-1">, () </span><span class="hl-3">=></span><span class="hl-1"> {});</span><br/><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-5">log</span><span class="hl-1">(</span><span class="hl-0">myEE</span><span class="hl-1">.</span><span class="hl-5">eventNames</span><span class="hl-1">());</span><br/><span class="hl-7">// Prints: [ 'foo', 'bar', Symbol(symbol) ]</span>
|
||||||
</code><button>Copy</button></pre>
|
</code><button>Copy</button></pre>
|
||||||
|
|
||||||
<h3>Since</h3><p>v6.0.0</p>
|
<h3>Since</h3><p>v6.0.0</p>
|
||||||
@ -570,7 +570,7 @@ listeners. The values in the array are strings or <code>Symbol</code>s.</p>
|
|||||||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">options</span>: <a href="../modules/Data.html" class="tsd-signature-type tsd-kind-namespace">Data</a><span class="tsd-signature-symbol">.</span><a href="../modules/Data.Options.html" class="tsd-signature-type tsd-kind-namespace">Options</a><span class="tsd-signature-symbol">.</span><a href="../interfaces/Data.Options.Cache.html" class="tsd-signature-type tsd-kind-interface">Cache</a></h5></li></ul></div>
|
<h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">options</span>: <a href="../modules/Data.html" class="tsd-signature-type tsd-kind-namespace">Data</a><span class="tsd-signature-symbol">.</span><a href="../modules/Data.Options.html" class="tsd-signature-type tsd-kind-namespace">Options</a><span class="tsd-signature-symbol">.</span><a href="../interfaces/Data.Options.Cache.html" class="tsd-signature-type tsd-kind-interface">Cache</a></h5></li></ul></div>
|
||||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in @tornado/sdk-core/dist/index.d.ts:117</li></ul></aside></li></ul></section>
|
<li>Defined in @tornado/sdk-core/dist/index.d.ts:118</li></ul></aside></li></ul></section>
|
||||||
<section class="tsd-panel tsd-member"><a id="exportCacheZip" class="tsd-anchor"></a>
|
<section class="tsd-panel tsd-member"><a id="exportCacheZip" class="tsd-anchor"></a>
|
||||||
<h3 class="tsd-anchor-link"><span>export<wbr/>Cache<wbr/>Zip</span><a href="#exportCacheZip" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
<h3 class="tsd-anchor-link"><span>export<wbr/>Cache<wbr/>Zip</span><a href="#exportCacheZip" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||||
<ul class="tsd-signatures">
|
<ul class="tsd-signatures">
|
||||||
@ -589,7 +589,7 @@ listeners. The values in the array are strings or <code>Symbol</code>s.</p>
|
|||||||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">options</span>: <a href="../modules/Data.html" class="tsd-signature-type tsd-kind-namespace">Data</a><span class="tsd-signature-symbol">.</span><a href="../modules/Data.Options.html" class="tsd-signature-type tsd-kind-namespace">Options</a><span class="tsd-signature-symbol">.</span><a href="../interfaces/Data.Options.Cache.html" class="tsd-signature-type tsd-kind-interface">Cache</a></h5></li></ul></div>
|
<h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">options</span>: <a href="../modules/Data.html" class="tsd-signature-type tsd-kind-namespace">Data</a><span class="tsd-signature-symbol">.</span><a href="../modules/Data.Options.html" class="tsd-signature-type tsd-kind-namespace">Options</a><span class="tsd-signature-symbol">.</span><a href="../interfaces/Data.Options.Cache.html" class="tsd-signature-type tsd-kind-interface">Cache</a></h5></li></ul></div>
|
||||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in @tornado/sdk-core/dist/index.d.ts:116</li></ul></aside></li></ul></section>
|
<li>Defined in @tornado/sdk-core/dist/index.d.ts:117</li></ul></aside></li></ul></section>
|
||||||
<section class="tsd-panel tsd-member"><a id="getInstance" class="tsd-anchor"></a>
|
<section class="tsd-panel tsd-member"><a id="getInstance" class="tsd-anchor"></a>
|
||||||
<h3 class="tsd-anchor-link"><span>get<wbr/>Instance</span><a href="#getInstance" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
<h3 class="tsd-anchor-link"><span>get<wbr/>Instance</span><a href="#getInstance" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||||
<ul class="tsd-signatures">
|
<ul class="tsd-signatures">
|
||||||
@ -604,7 +604,7 @@ listeners. The values in the array are strings or <code>Symbol</code>s.</p>
|
|||||||
<h5><span class="tsd-kind-parameter">denomination</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span></h5></li></ul></div>
|
<h5><span class="tsd-kind-parameter">denomination</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span></h5></li></ul></div>
|
||||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">TornadoInstance</span></h4><aside class="tsd-sources">
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">TornadoInstance</span></h4><aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in @tornado/sdk-core/dist/index.d.ts:63</li></ul></aside></li></ul></section>
|
<li>Defined in @tornado/sdk-core/dist/index.d.ts:64</li></ul></aside></li></ul></section>
|
||||||
<section class="tsd-panel tsd-member"><a id="getInstances" class="tsd-anchor"></a>
|
<section class="tsd-panel tsd-member"><a id="getInstances" class="tsd-anchor"></a>
|
||||||
<h3 class="tsd-anchor-link"><span>get<wbr/>Instances</span><a href="#getInstances" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
<h3 class="tsd-anchor-link"><span>get<wbr/>Instances</span><a href="#getInstances" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||||
<ul class="tsd-signatures">
|
<ul class="tsd-signatures">
|
||||||
@ -617,7 +617,7 @@ listeners. The values in the array are strings or <code>Symbol</code>s.</p>
|
|||||||
<h5><span class="tsd-kind-parameter">keys</span>: <span class="tsd-signature-symbol">{ </span><br/><span> </span><span class="tsd-kind-property">denomination</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-kind-property">token</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">[]</span></h5></li></ul></div>
|
<h5><span class="tsd-kind-parameter">keys</span>: <span class="tsd-signature-symbol">{ </span><br/><span> </span><span class="tsd-kind-property">denomination</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-kind-property">token</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">[]</span></h5></li></ul></div>
|
||||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">TornadoInstance</span><span class="tsd-signature-symbol">[]</span></h4><aside class="tsd-sources">
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">TornadoInstance</span><span class="tsd-signature-symbol">[]</span></h4><aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in @tornado/sdk-core/dist/index.d.ts:59</li></ul></aside></li></ul></section>
|
<li>Defined in @tornado/sdk-core/dist/index.d.ts:60</li></ul></aside></li></ul></section>
|
||||||
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="getMaxListeners" class="tsd-anchor"></a>
|
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="getMaxListeners" class="tsd-anchor"></a>
|
||||||
<h3 class="tsd-anchor-link"><span>get<wbr/>Max<wbr/>Listeners</span><a href="#getMaxListeners" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
<h3 class="tsd-anchor-link"><span>get<wbr/>Max<wbr/>Listeners</span><a href="#getMaxListeners" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||||
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
|
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
|
||||||
@ -632,14 +632,14 @@ set by <code>emitter.setMaxListeners(n)</code> or defaults to <a href="Core.html
|
|||||||
<p>Inherited from <a href="Network.Synchronizer.html">Synchronizer</a>.<a href="Network.Synchronizer.html#getMaxListeners">getMaxListeners</a></p>
|
<p>Inherited from <a href="Network.Synchronizer.html">Synchronizer</a>.<a href="Network.Synchronizer.html#getMaxListeners">getMaxListeners</a></p>
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in .yarn/cache/@types-node-npm-18.16.2-81a2b61beb-7ad66d23b3.zip/node_modules/@types/node/events.d.ts:526</li></ul></aside></li></ul></section>
|
<li>Defined in .yarn/cache/@types-node-npm-18.16.2-81a2b61beb-7ad66d23b3.zip/node_modules/@types/node/events.d.ts:526</li></ul></aside></li></ul></section>
|
||||||
<section class="tsd-panel tsd-member"><a id="getProxy" class="tsd-anchor"></a>
|
<section class="tsd-panel tsd-member"><a id="getRouter" class="tsd-anchor"></a>
|
||||||
<h3 class="tsd-anchor-link"><span>get<wbr/>Proxy</span><a href="#getProxy" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
<h3 class="tsd-anchor-link"><span>get<wbr/>Router</span><a href="#getRouter" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||||
<ul class="tsd-signatures">
|
<ul class="tsd-signatures">
|
||||||
<li class="tsd-signature tsd-anchor-link" id="getProxy.getProxy-1"><span class="tsd-kind-call-signature">get<wbr/>Proxy</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type ">TornadoProxy</span><a href="#getProxy.getProxy-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
<li class="tsd-signature tsd-anchor-link" id="getRouter.getRouter-1"><span class="tsd-kind-call-signature">get<wbr/>Router</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type ">TornadoRouter</span><a href="#getRouter.getRouter-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
||||||
<li class="tsd-description">
|
<li class="tsd-description">
|
||||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">TornadoProxy</span></h4><aside class="tsd-sources">
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">TornadoRouter</span></h4><aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in @tornado/sdk-core/dist/index.d.ts:64</li></ul></aside></li></ul></section>
|
<li>Defined in @tornado/sdk-core/dist/index.d.ts:65</li></ul></aside></li></ul></section>
|
||||||
<section class="tsd-panel tsd-member"><a id="listenForDeposits" class="tsd-anchor"></a>
|
<section class="tsd-panel tsd-member"><a id="listenForDeposits" class="tsd-anchor"></a>
|
||||||
<h3 class="tsd-anchor-link"><span>listen<wbr/>For<wbr/>Deposits</span><a href="#listenForDeposits" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
<h3 class="tsd-anchor-link"><span>listen<wbr/>For<wbr/>Deposits</span><a href="#listenForDeposits" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||||
<ul class="tsd-signatures">
|
<ul class="tsd-signatures">
|
||||||
@ -652,7 +652,7 @@ set by <code>emitter.setMaxListeners(n)</code> or defaults to <a href="Core.html
|
|||||||
<h5><span class="tsd-kind-parameter">instance</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type ">TornadoInstance</span></h5></li></ul></div>
|
<h5><span class="tsd-kind-parameter">instance</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type ">TornadoInstance</span></h5></li></ul></div>
|
||||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in @tornado/sdk-core/dist/index.d.ts:87</li></ul></aside></li></ul></section>
|
<li>Defined in @tornado/sdk-core/dist/index.d.ts:88</li></ul></aside></li></ul></section>
|
||||||
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="listenForEvents" class="tsd-anchor"></a>
|
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="listenForEvents" class="tsd-anchor"></a>
|
||||||
<h3 class="tsd-anchor-link"><span>listen<wbr/>For<wbr/>Events</span><a href="#listenForEvents" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
<h3 class="tsd-anchor-link"><span>listen<wbr/>For<wbr/>Events</span><a href="#listenForEvents" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||||
<ul class="tsd-signatures tsd-is-inherited">
|
<ul class="tsd-signatures tsd-is-inherited">
|
||||||
@ -672,7 +672,7 @@ set by <code>emitter.setMaxListeners(n)</code> or defaults to <a href="Core.html
|
|||||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
||||||
<p>Inherited from <a href="Network.Synchronizer.html">Synchronizer</a>.<a href="Network.Synchronizer.html#listenForEvents">listenForEvents</a></p>
|
<p>Inherited from <a href="Network.Synchronizer.html">Synchronizer</a>.<a href="Network.Synchronizer.html#listenForEvents">listenForEvents</a></p>
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in @tornado/sdk-chain/dist/index.d.ts:66</li></ul></aside></li></ul></section>
|
<li>Defined in @tornado/sdk-chain/dist/index.d.ts:67</li></ul></aside></li></ul></section>
|
||||||
<section class="tsd-panel tsd-member"><a id="listenForInstanceEvents" class="tsd-anchor"></a>
|
<section class="tsd-panel tsd-member"><a id="listenForInstanceEvents" class="tsd-anchor"></a>
|
||||||
<h3 class="tsd-anchor-link"><span>listen<wbr/>For<wbr/>Instance<wbr/>Events</span><a href="#listenForInstanceEvents" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
<h3 class="tsd-anchor-link"><span>listen<wbr/>For<wbr/>Instance<wbr/>Events</span><a href="#listenForInstanceEvents" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||||
<ul class="tsd-signatures">
|
<ul class="tsd-signatures">
|
||||||
@ -687,7 +687,7 @@ set by <code>emitter.setMaxListeners(n)</code> or defaults to <a href="Core.html
|
|||||||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">event</span>: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type ">Function</span></h5></li></ul></div>
|
<h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">event</span>: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type ">Function</span></h5></li></ul></div>
|
||||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in @tornado/sdk-core/dist/index.d.ts:89</li></ul></aside></li></ul></section>
|
<li>Defined in @tornado/sdk-core/dist/index.d.ts:90</li></ul></aside></li></ul></section>
|
||||||
<section class="tsd-panel tsd-member"><a id="listenForWithdrawals" class="tsd-anchor"></a>
|
<section class="tsd-panel tsd-member"><a id="listenForWithdrawals" class="tsd-anchor"></a>
|
||||||
<h3 class="tsd-anchor-link"><span>listen<wbr/>For<wbr/>Withdrawals</span><a href="#listenForWithdrawals" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
<h3 class="tsd-anchor-link"><span>listen<wbr/>For<wbr/>Withdrawals</span><a href="#listenForWithdrawals" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||||
<ul class="tsd-signatures">
|
<ul class="tsd-signatures">
|
||||||
@ -700,7 +700,7 @@ set by <code>emitter.setMaxListeners(n)</code> or defaults to <a href="Core.html
|
|||||||
<h5><span class="tsd-kind-parameter">instance</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type ">TornadoInstance</span></h5></li></ul></div>
|
<h5><span class="tsd-kind-parameter">instance</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type ">TornadoInstance</span></h5></li></ul></div>
|
||||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in @tornado/sdk-core/dist/index.d.ts:88</li></ul></aside></li></ul></section>
|
<li>Defined in @tornado/sdk-core/dist/index.d.ts:89</li></ul></aside></li></ul></section>
|
||||||
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="listenerCount" class="tsd-anchor"></a>
|
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="listenerCount" class="tsd-anchor"></a>
|
||||||
<h3 class="tsd-anchor-link"><span>listener<wbr/>Count</span><a href="#listenerCount" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
<h3 class="tsd-anchor-link"><span>listener<wbr/>Count</span><a href="#listenerCount" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||||
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
|
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
|
||||||
@ -733,7 +733,7 @@ is found in the list of the listeners of the event.</p>
|
|||||||
<li class="tsd-signature tsd-anchor-link" id="listeners.listeners-1"><span class="tsd-kind-call-signature">listeners</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">eventName</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type ">Function</span><span class="tsd-signature-symbol">[]</span><a href="#listeners.listeners-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
<li class="tsd-signature tsd-anchor-link" id="listeners.listeners-1"><span class="tsd-kind-call-signature">listeners</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">eventName</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type ">Function</span><span class="tsd-signature-symbol">[]</span><a href="#listeners.listeners-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
||||||
<li class="tsd-description">
|
<li class="tsd-description">
|
||||||
<div class="tsd-comment tsd-typography"><p>Returns a copy of the array of listeners for the event named <code>eventName</code>.</p>
|
<div class="tsd-comment tsd-typography"><p>Returns a copy of the array of listeners for the event named <code>eventName</code>.</p>
|
||||||
<pre><code class="language-js"><span class="hl-1">server</span><span class="hl-0">.</span><span class="hl-5">on</span><span class="hl-0">(</span><span class="hl-6">'connection'</span><span class="hl-0">, (</span><span class="hl-1">stream</span><span class="hl-0">) </span><span class="hl-3">=></span><span class="hl-0"> {</span><br/><span class="hl-0"> </span><span class="hl-1">console</span><span class="hl-0">.</span><span class="hl-5">log</span><span class="hl-0">(</span><span class="hl-6">'someone connected!'</span><span class="hl-0">);</span><br/><span class="hl-0">});</span><br/><span class="hl-1">console</span><span class="hl-0">.</span><span class="hl-5">log</span><span class="hl-0">(</span><span class="hl-1">util</span><span class="hl-0">.</span><span class="hl-5">inspect</span><span class="hl-0">(</span><span class="hl-1">server</span><span class="hl-0">.</span><span class="hl-5">listeners</span><span class="hl-0">(</span><span class="hl-6">'connection'</span><span class="hl-0">)));</span><br/><span class="hl-7">// Prints: [ [Function] ]</span>
|
<pre><code class="language-js"><span class="hl-0">server</span><span class="hl-1">.</span><span class="hl-5">on</span><span class="hl-1">(</span><span class="hl-6">'connection'</span><span class="hl-1">, (</span><span class="hl-0">stream</span><span class="hl-1">) </span><span class="hl-3">=></span><span class="hl-1"> {</span><br/><span class="hl-1"> </span><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-5">log</span><span class="hl-1">(</span><span class="hl-6">'someone connected!'</span><span class="hl-1">);</span><br/><span class="hl-1">});</span><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-5">log</span><span class="hl-1">(</span><span class="hl-0">util</span><span class="hl-1">.</span><span class="hl-5">inspect</span><span class="hl-1">(</span><span class="hl-0">server</span><span class="hl-1">.</span><span class="hl-5">listeners</span><span class="hl-1">(</span><span class="hl-6">'connection'</span><span class="hl-1">)));</span><br/><span class="hl-7">// Prints: [ [Function] ]</span>
|
||||||
</code><button>Copy</button></pre>
|
</code><button>Copy</button></pre>
|
||||||
|
|
||||||
<h3>Since</h3><p>v0.1.26</p>
|
<h3>Since</h3><p>v0.1.26</p>
|
||||||
@ -769,7 +769,7 @@ is found in the list of the listeners of the event.</p>
|
|||||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type tsd-kind-type-parameter">C</span></h4><aside class="tsd-sources">
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type tsd-kind-type-parameter">C</span></h4><aside class="tsd-sources">
|
||||||
<p>Overrides <a href="Network.Synchronizer.html">Synchronizer</a>.<a href="Network.Synchronizer.html#loadCache">loadCache</a></p>
|
<p>Overrides <a href="Network.Synchronizer.html">Synchronizer</a>.<a href="Network.Synchronizer.html#loadCache">loadCache</a></p>
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in @tornado/sdk-core/dist/index.d.ts:122</li></ul></aside></li></ul></section>
|
<li>Defined in @tornado/sdk-core/dist/index.d.ts:123</li></ul></aside></li></ul></section>
|
||||||
<section class="tsd-panel tsd-member"><a id="loadDepositCache" class="tsd-anchor"></a>
|
<section class="tsd-panel tsd-member"><a id="loadDepositCache" class="tsd-anchor"></a>
|
||||||
<h3 class="tsd-anchor-link"><span>load<wbr/>Deposit<wbr/>Cache</span><a href="#loadDepositCache" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
<h3 class="tsd-anchor-link"><span>load<wbr/>Deposit<wbr/>Cache</span><a href="#loadDepositCache" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||||
<ul class="tsd-signatures">
|
<ul class="tsd-signatures">
|
||||||
@ -784,7 +784,7 @@ is found in the list of the listeners of the event.</p>
|
|||||||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">options</span>: <a href="../modules/Data.html" class="tsd-signature-type tsd-kind-namespace">Data</a><span class="tsd-signature-symbol">.</span><a href="../modules/Data.Options.html" class="tsd-signature-type tsd-kind-namespace">Options</a><span class="tsd-signature-symbol">.</span><a href="../interfaces/Data.Options.Cache.html" class="tsd-signature-type tsd-kind-interface">Cache</a></h5></li></ul></div>
|
<h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">options</span>: <a href="../modules/Data.html" class="tsd-signature-type tsd-kind-namespace">Data</a><span class="tsd-signature-symbol">.</span><a href="../modules/Data.Options.html" class="tsd-signature-type tsd-kind-namespace">Options</a><span class="tsd-signature-symbol">.</span><a href="../interfaces/Data.Options.Cache.html" class="tsd-signature-type tsd-kind-interface">Cache</a></h5></li></ul></div>
|
||||||
<h4 class="tsd-returns-title">Returns <a href="DepositCache.html" class="tsd-signature-type tsd-kind-class">DepositCache</a></h4><aside class="tsd-sources">
|
<h4 class="tsd-returns-title">Returns <a href="DepositCache.html" class="tsd-signature-type tsd-kind-class">DepositCache</a></h4><aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in @tornado/sdk-core/dist/index.d.ts:120</li></ul></aside></li></ul></section>
|
<li>Defined in @tornado/sdk-core/dist/index.d.ts:121</li></ul></aside></li></ul></section>
|
||||||
<section class="tsd-panel tsd-member"><a id="loadInstance" class="tsd-anchor"></a>
|
<section class="tsd-panel tsd-member"><a id="loadInstance" class="tsd-anchor"></a>
|
||||||
<h3 class="tsd-anchor-link"><span>load<wbr/>Instance</span><a href="#loadInstance" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
<h3 class="tsd-anchor-link"><span>load<wbr/>Instance</span><a href="#loadInstance" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||||
<ul class="tsd-signatures">
|
<ul class="tsd-signatures">
|
||||||
@ -801,7 +801,7 @@ is found in the list of the listeners of the event.</p>
|
|||||||
<h5><span class="tsd-kind-parameter">denomination</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span></h5></li></ul></div>
|
<h5><span class="tsd-kind-parameter">denomination</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span></h5></li></ul></div>
|
||||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">TornadoInstance</span></h4><aside class="tsd-sources">
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">TornadoInstance</span></h4><aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in @tornado/sdk-core/dist/index.d.ts:123</li></ul></aside></li></ul></section>
|
<li>Defined in @tornado/sdk-core/dist/index.d.ts:124</li></ul></aside></li></ul></section>
|
||||||
<section class="tsd-panel tsd-member"><a id="loadInvoicesCache" class="tsd-anchor"></a>
|
<section class="tsd-panel tsd-member"><a id="loadInvoicesCache" class="tsd-anchor"></a>
|
||||||
<h3 class="tsd-anchor-link"><span>load<wbr/>Invoices<wbr/>Cache</span><a href="#loadInvoicesCache" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
<h3 class="tsd-anchor-link"><span>load<wbr/>Invoices<wbr/>Cache</span><a href="#loadInvoicesCache" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||||
<ul class="tsd-signatures">
|
<ul class="tsd-signatures">
|
||||||
@ -814,7 +814,7 @@ is found in the list of the listeners of the event.</p>
|
|||||||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">options</span>: <a href="../modules/Data.html" class="tsd-signature-type tsd-kind-namespace">Data</a><span class="tsd-signature-symbol">.</span><a href="../modules/Data.Options.html" class="tsd-signature-type tsd-kind-namespace">Options</a><span class="tsd-signature-symbol">.</span><a href="../interfaces/Data.Options.Cache.html" class="tsd-signature-type tsd-kind-interface">Cache</a></h5></li></ul></div>
|
<h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">options</span>: <a href="../modules/Data.html" class="tsd-signature-type tsd-kind-namespace">Data</a><span class="tsd-signature-symbol">.</span><a href="../modules/Data.Options.html" class="tsd-signature-type tsd-kind-namespace">Options</a><span class="tsd-signature-symbol">.</span><a href="../interfaces/Data.Options.Cache.html" class="tsd-signature-type tsd-kind-interface">Cache</a></h5></li></ul></div>
|
||||||
<h4 class="tsd-returns-title">Returns <a href="../modules/Data.html" class="tsd-signature-type tsd-kind-namespace">Data</a><span class="tsd-signature-symbol">.</span><a href="../modules/Data.Cache.html" class="tsd-signature-type tsd-kind-namespace">Cache</a><span class="tsd-signature-symbol">.</span><a href="Data.Cache.Base.html" class="tsd-signature-type tsd-kind-class">Base</a><span class="tsd-signature-symbol"><</span><a href="../modules/Data.html" class="tsd-signature-type tsd-kind-namespace">Data</a><span class="tsd-signature-symbol">.</span><a href="../modules/Data.Docs.html" class="tsd-signature-type tsd-kind-namespace">Docs</a><span class="tsd-signature-symbol">.</span><a href="Data.Docs.Invoice.html" class="tsd-signature-type tsd-kind-class">Invoice</a><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
<h4 class="tsd-returns-title">Returns <a href="../modules/Data.html" class="tsd-signature-type tsd-kind-namespace">Data</a><span class="tsd-signature-symbol">.</span><a href="../modules/Data.Cache.html" class="tsd-signature-type tsd-kind-namespace">Cache</a><span class="tsd-signature-symbol">.</span><a href="Data.Cache.Base.html" class="tsd-signature-type tsd-kind-class">Base</a><span class="tsd-signature-symbol"><</span><a href="../modules/Data.html" class="tsd-signature-type tsd-kind-namespace">Data</a><span class="tsd-signature-symbol">.</span><a href="../modules/Data.Docs.html" class="tsd-signature-type tsd-kind-namespace">Docs</a><span class="tsd-signature-symbol">.</span><a href="Data.Docs.Invoice.html" class="tsd-signature-type tsd-kind-class">Invoice</a><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in @tornado/sdk-core/dist/index.d.ts:119</li></ul></aside></li></ul></section>
|
<li>Defined in @tornado/sdk-core/dist/index.d.ts:120</li></ul></aside></li></ul></section>
|
||||||
<section class="tsd-panel tsd-member"><a id="loadNotes" class="tsd-anchor"></a>
|
<section class="tsd-panel tsd-member"><a id="loadNotes" class="tsd-anchor"></a>
|
||||||
<h3 class="tsd-anchor-link"><span>load<wbr/>Notes</span><a href="#loadNotes" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
<h3 class="tsd-anchor-link"><span>load<wbr/>Notes</span><a href="#loadNotes" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||||
<ul class="tsd-signatures">
|
<ul class="tsd-signatures">
|
||||||
@ -831,7 +831,7 @@ is found in the list of the listeners of the event.</p>
|
|||||||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">options</span>: <a href="../modules/Data.html" class="tsd-signature-type tsd-kind-namespace">Data</a><span class="tsd-signature-symbol">.</span><a href="../modules/Data.Options.html" class="tsd-signature-type tsd-kind-namespace">Options</a><span class="tsd-signature-symbol">.</span><a href="../interfaces/Data.Options.Cache.html" class="tsd-signature-type tsd-kind-interface">Cache</a></h5></li></ul></div>
|
<h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">options</span>: <a href="../modules/Data.html" class="tsd-signature-type tsd-kind-namespace">Data</a><span class="tsd-signature-symbol">.</span><a href="../modules/Data.Options.html" class="tsd-signature-type tsd-kind-namespace">Options</a><span class="tsd-signature-symbol">.</span><a href="../interfaces/Data.Options.Cache.html" class="tsd-signature-type tsd-kind-interface">Cache</a></h5></li></ul></div>
|
||||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol"><</span><a href="../modules/Crypto.html" class="tsd-signature-type tsd-kind-namespace">Crypto</a><span class="tsd-signature-symbol">.</span><a href="../modules/Crypto.OutputOf.html" class="tsd-signature-type tsd-kind-namespace">OutputOf</a><span class="tsd-signature-symbol">.</span><a href="../interfaces/Crypto.OutputOf.CreateDeposit.html" class="tsd-signature-type tsd-kind-interface">CreateDeposit</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol"><</span><a href="../modules/Crypto.html" class="tsd-signature-type tsd-kind-namespace">Crypto</a><span class="tsd-signature-symbol">.</span><a href="../modules/Crypto.OutputOf.html" class="tsd-signature-type tsd-kind-namespace">OutputOf</a><span class="tsd-signature-symbol">.</span><a href="../interfaces/Crypto.OutputOf.CreateDeposit.html" class="tsd-signature-type tsd-kind-interface">CreateDeposit</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in @tornado/sdk-core/dist/index.d.ts:82</li></ul></aside></li></ul></section>
|
<li>Defined in @tornado/sdk-core/dist/index.d.ts:83</li></ul></aside></li></ul></section>
|
||||||
<section class="tsd-panel tsd-member"><a id="loadNotesCache" class="tsd-anchor"></a>
|
<section class="tsd-panel tsd-member"><a id="loadNotesCache" class="tsd-anchor"></a>
|
||||||
<h3 class="tsd-anchor-link"><span>load<wbr/>Notes<wbr/>Cache</span><a href="#loadNotesCache" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
<h3 class="tsd-anchor-link"><span>load<wbr/>Notes<wbr/>Cache</span><a href="#loadNotesCache" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||||
<ul class="tsd-signatures">
|
<ul class="tsd-signatures">
|
||||||
@ -844,7 +844,7 @@ is found in the list of the listeners of the event.</p>
|
|||||||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">options</span>: <a href="../modules/Data.html" class="tsd-signature-type tsd-kind-namespace">Data</a><span class="tsd-signature-symbol">.</span><a href="../modules/Data.Options.html" class="tsd-signature-type tsd-kind-namespace">Options</a><span class="tsd-signature-symbol">.</span><a href="../interfaces/Data.Options.Cache.html" class="tsd-signature-type tsd-kind-interface">Cache</a></h5></li></ul></div>
|
<h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">options</span>: <a href="../modules/Data.html" class="tsd-signature-type tsd-kind-namespace">Data</a><span class="tsd-signature-symbol">.</span><a href="../modules/Data.Options.html" class="tsd-signature-type tsd-kind-namespace">Options</a><span class="tsd-signature-symbol">.</span><a href="../interfaces/Data.Options.Cache.html" class="tsd-signature-type tsd-kind-interface">Cache</a></h5></li></ul></div>
|
||||||
<h4 class="tsd-returns-title">Returns <a href="../modules/Data.html" class="tsd-signature-type tsd-kind-namespace">Data</a><span class="tsd-signature-symbol">.</span><a href="../modules/Data.Cache.html" class="tsd-signature-type tsd-kind-namespace">Cache</a><span class="tsd-signature-symbol">.</span><a href="Data.Cache.Base.html" class="tsd-signature-type tsd-kind-class">Base</a><span class="tsd-signature-symbol"><</span><a href="Data.Docs.Note.html" class="tsd-signature-type tsd-kind-class">Note</a><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
<h4 class="tsd-returns-title">Returns <a href="../modules/Data.html" class="tsd-signature-type tsd-kind-namespace">Data</a><span class="tsd-signature-symbol">.</span><a href="../modules/Data.Cache.html" class="tsd-signature-type tsd-kind-namespace">Cache</a><span class="tsd-signature-symbol">.</span><a href="Data.Cache.Base.html" class="tsd-signature-type tsd-kind-class">Base</a><span class="tsd-signature-symbol"><</span><a href="Data.Docs.Note.html" class="tsd-signature-type tsd-kind-class">Note</a><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in @tornado/sdk-core/dist/index.d.ts:118</li></ul></aside></li></ul></section>
|
<li>Defined in @tornado/sdk-core/dist/index.d.ts:119</li></ul></aside></li></ul></section>
|
||||||
<section class="tsd-panel tsd-member"><a id="loadWithdrawalCache" class="tsd-anchor"></a>
|
<section class="tsd-panel tsd-member"><a id="loadWithdrawalCache" class="tsd-anchor"></a>
|
||||||
<h3 class="tsd-anchor-link"><span>load<wbr/>Withdrawal<wbr/>Cache</span><a href="#loadWithdrawalCache" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
<h3 class="tsd-anchor-link"><span>load<wbr/>Withdrawal<wbr/>Cache</span><a href="#loadWithdrawalCache" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||||
<ul class="tsd-signatures">
|
<ul class="tsd-signatures">
|
||||||
@ -859,7 +859,7 @@ is found in the list of the listeners of the event.</p>
|
|||||||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">options</span>: <a href="../modules/Data.html" class="tsd-signature-type tsd-kind-namespace">Data</a><span class="tsd-signature-symbol">.</span><a href="../modules/Data.Options.html" class="tsd-signature-type tsd-kind-namespace">Options</a><span class="tsd-signature-symbol">.</span><a href="../interfaces/Data.Options.Cache.html" class="tsd-signature-type tsd-kind-interface">Cache</a></h5></li></ul></div>
|
<h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">options</span>: <a href="../modules/Data.html" class="tsd-signature-type tsd-kind-namespace">Data</a><span class="tsd-signature-symbol">.</span><a href="../modules/Data.Options.html" class="tsd-signature-type tsd-kind-namespace">Options</a><span class="tsd-signature-symbol">.</span><a href="../interfaces/Data.Options.Cache.html" class="tsd-signature-type tsd-kind-interface">Cache</a></h5></li></ul></div>
|
||||||
<h4 class="tsd-returns-title">Returns <a href="WithdrawalCache.html" class="tsd-signature-type tsd-kind-class">WithdrawalCache</a></h4><aside class="tsd-sources">
|
<h4 class="tsd-returns-title">Returns <a href="WithdrawalCache.html" class="tsd-signature-type tsd-kind-class">WithdrawalCache</a></h4><aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in @tornado/sdk-core/dist/index.d.ts:121</li></ul></aside></li></ul></section>
|
<li>Defined in @tornado/sdk-core/dist/index.d.ts:122</li></ul></aside></li></ul></section>
|
||||||
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="off" class="tsd-anchor"></a>
|
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="off" class="tsd-anchor"></a>
|
||||||
<h3 class="tsd-anchor-link"><span>off</span><a href="#off" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
<h3 class="tsd-anchor-link"><span>off</span><a href="#off" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||||
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
|
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
|
||||||
@ -900,12 +900,12 @@ is found in the list of the listeners of the event.</p>
|
|||||||
event named <code>eventName</code>. No checks are made to see if the <code>listener</code> has
|
event named <code>eventName</code>. No checks are made to see if the <code>listener</code> has
|
||||||
already been added. Multiple calls passing the same combination of <code>eventName</code>and <code>listener</code> will result in the <code>listener</code> being added, and called, multiple
|
already been added. Multiple calls passing the same combination of <code>eventName</code>and <code>listener</code> will result in the <code>listener</code> being added, and called, multiple
|
||||||
times.</p>
|
times.</p>
|
||||||
<pre><code class="language-js"><span class="hl-1">server</span><span class="hl-0">.</span><span class="hl-5">on</span><span class="hl-0">(</span><span class="hl-6">'connection'</span><span class="hl-0">, (</span><span class="hl-1">stream</span><span class="hl-0">) </span><span class="hl-3">=></span><span class="hl-0"> {</span><br/><span class="hl-0"> </span><span class="hl-1">console</span><span class="hl-0">.</span><span class="hl-5">log</span><span class="hl-0">(</span><span class="hl-6">'someone connected!'</span><span class="hl-0">);</span><br/><span class="hl-0">});</span>
|
<pre><code class="language-js"><span class="hl-0">server</span><span class="hl-1">.</span><span class="hl-5">on</span><span class="hl-1">(</span><span class="hl-6">'connection'</span><span class="hl-1">, (</span><span class="hl-0">stream</span><span class="hl-1">) </span><span class="hl-3">=></span><span class="hl-1"> {</span><br/><span class="hl-1"> </span><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-5">log</span><span class="hl-1">(</span><span class="hl-6">'someone connected!'</span><span class="hl-1">);</span><br/><span class="hl-1">});</span>
|
||||||
</code><button>Copy</button></pre>
|
</code><button>Copy</button></pre>
|
||||||
<p>Returns a reference to the <code>EventEmitter</code>, so that calls can be chained.</p>
|
<p>Returns a reference to the <code>EventEmitter</code>, so that calls can be chained.</p>
|
||||||
<p>By default, event listeners are invoked in the order they are added. The<code>emitter.prependListener()</code> method can be used as an alternative to add the
|
<p>By default, event listeners are invoked in the order they are added. The<code>emitter.prependListener()</code> method can be used as an alternative to add the
|
||||||
event listener to the beginning of the listeners array.</p>
|
event listener to the beginning of the listeners array.</p>
|
||||||
<pre><code class="language-js"><span class="hl-3">const</span><span class="hl-0"> </span><span class="hl-4">myEE</span><span class="hl-0"> = </span><span class="hl-3">new</span><span class="hl-0"> </span><span class="hl-5">EventEmitter</span><span class="hl-0">();</span><br/><span class="hl-1">myEE</span><span class="hl-0">.</span><span class="hl-5">on</span><span class="hl-0">(</span><span class="hl-6">'foo'</span><span class="hl-0">, () </span><span class="hl-3">=></span><span class="hl-0"> </span><span class="hl-1">console</span><span class="hl-0">.</span><span class="hl-5">log</span><span class="hl-0">(</span><span class="hl-6">'a'</span><span class="hl-0">));</span><br/><span class="hl-1">myEE</span><span class="hl-0">.</span><span class="hl-5">prependListener</span><span class="hl-0">(</span><span class="hl-6">'foo'</span><span class="hl-0">, () </span><span class="hl-3">=></span><span class="hl-0"> </span><span class="hl-1">console</span><span class="hl-0">.</span><span class="hl-5">log</span><span class="hl-0">(</span><span class="hl-6">'b'</span><span class="hl-0">));</span><br/><span class="hl-1">myEE</span><span class="hl-0">.</span><span class="hl-5">emit</span><span class="hl-0">(</span><span class="hl-6">'foo'</span><span class="hl-0">);</span><br/><span class="hl-7">// Prints:</span><br/><span class="hl-7">// b</span><br/><span class="hl-7">// a</span>
|
<pre><code class="language-js"><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-4">myEE</span><span class="hl-1"> = </span><span class="hl-3">new</span><span class="hl-1"> </span><span class="hl-5">EventEmitter</span><span class="hl-1">();</span><br/><span class="hl-0">myEE</span><span class="hl-1">.</span><span class="hl-5">on</span><span class="hl-1">(</span><span class="hl-6">'foo'</span><span class="hl-1">, () </span><span class="hl-3">=></span><span class="hl-1"> </span><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-5">log</span><span class="hl-1">(</span><span class="hl-6">'a'</span><span class="hl-1">));</span><br/><span class="hl-0">myEE</span><span class="hl-1">.</span><span class="hl-5">prependListener</span><span class="hl-1">(</span><span class="hl-6">'foo'</span><span class="hl-1">, () </span><span class="hl-3">=></span><span class="hl-1"> </span><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-5">log</span><span class="hl-1">(</span><span class="hl-6">'b'</span><span class="hl-1">));</span><br/><span class="hl-0">myEE</span><span class="hl-1">.</span><span class="hl-5">emit</span><span class="hl-1">(</span><span class="hl-6">'foo'</span><span class="hl-1">);</span><br/><span class="hl-7">// Prints:</span><br/><span class="hl-7">// b</span><br/><span class="hl-7">// a</span>
|
||||||
</code><button>Copy</button></pre>
|
</code><button>Copy</button></pre>
|
||||||
|
|
||||||
<h3>Since</h3><p>v0.1.101</p>
|
<h3>Since</h3><p>v0.1.101</p>
|
||||||
@ -943,12 +943,12 @@ event listener to the beginning of the listeners array.</p>
|
|||||||
<li class="tsd-description">
|
<li class="tsd-description">
|
||||||
<div class="tsd-comment tsd-typography"><p>Adds a <strong>one-time</strong><code>listener</code> function for the event named <code>eventName</code>. The
|
<div class="tsd-comment tsd-typography"><p>Adds a <strong>one-time</strong><code>listener</code> function for the event named <code>eventName</code>. The
|
||||||
next time <code>eventName</code> is triggered, this listener is removed and then invoked.</p>
|
next time <code>eventName</code> is triggered, this listener is removed and then invoked.</p>
|
||||||
<pre><code class="language-js"><span class="hl-1">server</span><span class="hl-0">.</span><span class="hl-5">once</span><span class="hl-0">(</span><span class="hl-6">'connection'</span><span class="hl-0">, (</span><span class="hl-1">stream</span><span class="hl-0">) </span><span class="hl-3">=></span><span class="hl-0"> {</span><br/><span class="hl-0"> </span><span class="hl-1">console</span><span class="hl-0">.</span><span class="hl-5">log</span><span class="hl-0">(</span><span class="hl-6">'Ah, we have our first user!'</span><span class="hl-0">);</span><br/><span class="hl-0">});</span>
|
<pre><code class="language-js"><span class="hl-0">server</span><span class="hl-1">.</span><span class="hl-5">once</span><span class="hl-1">(</span><span class="hl-6">'connection'</span><span class="hl-1">, (</span><span class="hl-0">stream</span><span class="hl-1">) </span><span class="hl-3">=></span><span class="hl-1"> {</span><br/><span class="hl-1"> </span><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-5">log</span><span class="hl-1">(</span><span class="hl-6">'Ah, we have our first user!'</span><span class="hl-1">);</span><br/><span class="hl-1">});</span>
|
||||||
</code><button>Copy</button></pre>
|
</code><button>Copy</button></pre>
|
||||||
<p>Returns a reference to the <code>EventEmitter</code>, so that calls can be chained.</p>
|
<p>Returns a reference to the <code>EventEmitter</code>, so that calls can be chained.</p>
|
||||||
<p>By default, event listeners are invoked in the order they are added. The<code>emitter.prependOnceListener()</code> method can be used as an alternative to add the
|
<p>By default, event listeners are invoked in the order they are added. The<code>emitter.prependOnceListener()</code> method can be used as an alternative to add the
|
||||||
event listener to the beginning of the listeners array.</p>
|
event listener to the beginning of the listeners array.</p>
|
||||||
<pre><code class="language-js"><span class="hl-3">const</span><span class="hl-0"> </span><span class="hl-4">myEE</span><span class="hl-0"> = </span><span class="hl-3">new</span><span class="hl-0"> </span><span class="hl-5">EventEmitter</span><span class="hl-0">();</span><br/><span class="hl-1">myEE</span><span class="hl-0">.</span><span class="hl-5">once</span><span class="hl-0">(</span><span class="hl-6">'foo'</span><span class="hl-0">, () </span><span class="hl-3">=></span><span class="hl-0"> </span><span class="hl-1">console</span><span class="hl-0">.</span><span class="hl-5">log</span><span class="hl-0">(</span><span class="hl-6">'a'</span><span class="hl-0">));</span><br/><span class="hl-1">myEE</span><span class="hl-0">.</span><span class="hl-5">prependOnceListener</span><span class="hl-0">(</span><span class="hl-6">'foo'</span><span class="hl-0">, () </span><span class="hl-3">=></span><span class="hl-0"> </span><span class="hl-1">console</span><span class="hl-0">.</span><span class="hl-5">log</span><span class="hl-0">(</span><span class="hl-6">'b'</span><span class="hl-0">));</span><br/><span class="hl-1">myEE</span><span class="hl-0">.</span><span class="hl-5">emit</span><span class="hl-0">(</span><span class="hl-6">'foo'</span><span class="hl-0">);</span><br/><span class="hl-7">// Prints:</span><br/><span class="hl-7">// b</span><br/><span class="hl-7">// a</span>
|
<pre><code class="language-js"><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-4">myEE</span><span class="hl-1"> = </span><span class="hl-3">new</span><span class="hl-1"> </span><span class="hl-5">EventEmitter</span><span class="hl-1">();</span><br/><span class="hl-0">myEE</span><span class="hl-1">.</span><span class="hl-5">once</span><span class="hl-1">(</span><span class="hl-6">'foo'</span><span class="hl-1">, () </span><span class="hl-3">=></span><span class="hl-1"> </span><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-5">log</span><span class="hl-1">(</span><span class="hl-6">'a'</span><span class="hl-1">));</span><br/><span class="hl-0">myEE</span><span class="hl-1">.</span><span class="hl-5">prependOnceListener</span><span class="hl-1">(</span><span class="hl-6">'foo'</span><span class="hl-1">, () </span><span class="hl-3">=></span><span class="hl-1"> </span><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-5">log</span><span class="hl-1">(</span><span class="hl-6">'b'</span><span class="hl-1">));</span><br/><span class="hl-0">myEE</span><span class="hl-1">.</span><span class="hl-5">emit</span><span class="hl-1">(</span><span class="hl-6">'foo'</span><span class="hl-1">);</span><br/><span class="hl-7">// Prints:</span><br/><span class="hl-7">// b</span><br/><span class="hl-7">// a</span>
|
||||||
</code><button>Copy</button></pre>
|
</code><button>Copy</button></pre>
|
||||||
|
|
||||||
<h3>Since</h3><p>v0.3.0</p>
|
<h3>Since</h3><p>v0.3.0</p>
|
||||||
@ -991,7 +991,7 @@ event listener to the beginning of the listeners array.</p>
|
|||||||
<h5><span class="tsd-kind-parameter">note</span>: <span class="tsd-signature-type">string</span></h5></li></ul></div>
|
<h5><span class="tsd-kind-parameter">note</span>: <span class="tsd-signature-type">string</span></h5></li></ul></div>
|
||||||
<h4 class="tsd-returns-title">Returns <a href="../modules/Crypto.html" class="tsd-signature-type tsd-kind-namespace">Crypto</a><span class="tsd-signature-symbol">.</span><a href="../modules/Crypto.OutputOf.html" class="tsd-signature-type tsd-kind-namespace">OutputOf</a><span class="tsd-signature-symbol">.</span><a href="../interfaces/Crypto.OutputOf.CreateDeposit.html" class="tsd-signature-type tsd-kind-interface">CreateDeposit</a></h4><aside class="tsd-sources">
|
<h4 class="tsd-returns-title">Returns <a href="../modules/Crypto.html" class="tsd-signature-type tsd-kind-namespace">Crypto</a><span class="tsd-signature-symbol">.</span><a href="../modules/Crypto.OutputOf.html" class="tsd-signature-type tsd-kind-namespace">OutputOf</a><span class="tsd-signature-symbol">.</span><a href="../interfaces/Crypto.OutputOf.CreateDeposit.html" class="tsd-signature-type tsd-kind-interface">CreateDeposit</a></h4><aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in @tornado/sdk-core/dist/index.d.ts:84</li></ul></aside></li></ul></section>
|
<li>Defined in @tornado/sdk-core/dist/index.d.ts:85</li></ul></aside></li></ul></section>
|
||||||
<section class="tsd-panel tsd-member"><a id="parseNotes" class="tsd-anchor"></a>
|
<section class="tsd-panel tsd-member"><a id="parseNotes" class="tsd-anchor"></a>
|
||||||
<h3 class="tsd-anchor-link"><span>parse<wbr/>Notes</span><a href="#parseNotes" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
<h3 class="tsd-anchor-link"><span>parse<wbr/>Notes</span><a href="#parseNotes" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||||
<ul class="tsd-signatures">
|
<ul class="tsd-signatures">
|
||||||
@ -1004,7 +1004,7 @@ event listener to the beginning of the listeners array.</p>
|
|||||||
<h5><span class="tsd-kind-parameter">notes</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></h5></li></ul></div>
|
<h5><span class="tsd-kind-parameter">notes</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></h5></li></ul></div>
|
||||||
<h4 class="tsd-returns-title">Returns <a href="../modules/Crypto.html" class="tsd-signature-type tsd-kind-namespace">Crypto</a><span class="tsd-signature-symbol">.</span><a href="../modules/Crypto.OutputOf.html" class="tsd-signature-type tsd-kind-namespace">OutputOf</a><span class="tsd-signature-symbol">.</span><a href="../interfaces/Crypto.OutputOf.CreateDeposit.html" class="tsd-signature-type tsd-kind-interface">CreateDeposit</a><span class="tsd-signature-symbol">[]</span></h4><aside class="tsd-sources">
|
<h4 class="tsd-returns-title">Returns <a href="../modules/Crypto.html" class="tsd-signature-type tsd-kind-namespace">Crypto</a><span class="tsd-signature-symbol">.</span><a href="../modules/Crypto.OutputOf.html" class="tsd-signature-type tsd-kind-namespace">OutputOf</a><span class="tsd-signature-symbol">.</span><a href="../interfaces/Crypto.OutputOf.CreateDeposit.html" class="tsd-signature-type tsd-kind-interface">CreateDeposit</a><span class="tsd-signature-symbol">[]</span></h4><aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in @tornado/sdk-core/dist/index.d.ts:83</li></ul></aside></li></ul></section>
|
<li>Defined in @tornado/sdk-core/dist/index.d.ts:84</li></ul></aside></li></ul></section>
|
||||||
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="prependListener" class="tsd-anchor"></a>
|
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="prependListener" class="tsd-anchor"></a>
|
||||||
<h3 class="tsd-anchor-link"><span>prepend<wbr/>Listener</span><a href="#prependListener" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
<h3 class="tsd-anchor-link"><span>prepend<wbr/>Listener</span><a href="#prependListener" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||||
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
|
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
|
||||||
@ -1014,7 +1014,7 @@ event listener to the beginning of the listeners array.</p>
|
|||||||
event named <code>eventName</code>. No checks are made to see if the <code>listener</code> has
|
event named <code>eventName</code>. No checks are made to see if the <code>listener</code> has
|
||||||
already been added. Multiple calls passing the same combination of <code>eventName</code>and <code>listener</code> will result in the <code>listener</code> being added, and called, multiple
|
already been added. Multiple calls passing the same combination of <code>eventName</code>and <code>listener</code> will result in the <code>listener</code> being added, and called, multiple
|
||||||
times.</p>
|
times.</p>
|
||||||
<pre><code class="language-js"><span class="hl-1">server</span><span class="hl-0">.</span><span class="hl-5">prependListener</span><span class="hl-0">(</span><span class="hl-6">'connection'</span><span class="hl-0">, (</span><span class="hl-1">stream</span><span class="hl-0">) </span><span class="hl-3">=></span><span class="hl-0"> {</span><br/><span class="hl-0"> </span><span class="hl-1">console</span><span class="hl-0">.</span><span class="hl-5">log</span><span class="hl-0">(</span><span class="hl-6">'someone connected!'</span><span class="hl-0">);</span><br/><span class="hl-0">});</span>
|
<pre><code class="language-js"><span class="hl-0">server</span><span class="hl-1">.</span><span class="hl-5">prependListener</span><span class="hl-1">(</span><span class="hl-6">'connection'</span><span class="hl-1">, (</span><span class="hl-0">stream</span><span class="hl-1">) </span><span class="hl-3">=></span><span class="hl-1"> {</span><br/><span class="hl-1"> </span><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-5">log</span><span class="hl-1">(</span><span class="hl-6">'someone connected!'</span><span class="hl-1">);</span><br/><span class="hl-1">});</span>
|
||||||
</code><button>Copy</button></pre>
|
</code><button>Copy</button></pre>
|
||||||
<p>Returns a reference to the <code>EventEmitter</code>, so that calls can be chained.</p>
|
<p>Returns a reference to the <code>EventEmitter</code>, so that calls can be chained.</p>
|
||||||
|
|
||||||
@ -1053,7 +1053,7 @@ times.</p>
|
|||||||
<li class="tsd-description">
|
<li class="tsd-description">
|
||||||
<div class="tsd-comment tsd-typography"><p>Adds a <strong>one-time</strong><code>listener</code> function for the event named <code>eventName</code> to the <em>beginning</em> of the listeners array. The next time <code>eventName</code> is triggered, this
|
<div class="tsd-comment tsd-typography"><p>Adds a <strong>one-time</strong><code>listener</code> function for the event named <code>eventName</code> to the <em>beginning</em> of the listeners array. The next time <code>eventName</code> is triggered, this
|
||||||
listener is removed, and then invoked.</p>
|
listener is removed, and then invoked.</p>
|
||||||
<pre><code class="language-js"><span class="hl-1">server</span><span class="hl-0">.</span><span class="hl-5">prependOnceListener</span><span class="hl-0">(</span><span class="hl-6">'connection'</span><span class="hl-0">, (</span><span class="hl-1">stream</span><span class="hl-0">) </span><span class="hl-3">=></span><span class="hl-0"> {</span><br/><span class="hl-0"> </span><span class="hl-1">console</span><span class="hl-0">.</span><span class="hl-5">log</span><span class="hl-0">(</span><span class="hl-6">'Ah, we have our first user!'</span><span class="hl-0">);</span><br/><span class="hl-0">});</span>
|
<pre><code class="language-js"><span class="hl-0">server</span><span class="hl-1">.</span><span class="hl-5">prependOnceListener</span><span class="hl-1">(</span><span class="hl-6">'connection'</span><span class="hl-1">, (</span><span class="hl-0">stream</span><span class="hl-1">) </span><span class="hl-3">=></span><span class="hl-1"> {</span><br/><span class="hl-1"> </span><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-5">log</span><span class="hl-1">(</span><span class="hl-6">'Ah, we have our first user!'</span><span class="hl-1">);</span><br/><span class="hl-1">});</span>
|
||||||
</code><button>Copy</button></pre>
|
</code><button>Copy</button></pre>
|
||||||
<p>Returns a reference to the <code>EventEmitter</code>, so that calls can be chained.</p>
|
<p>Returns a reference to the <code>EventEmitter</code>, so that calls can be chained.</p>
|
||||||
|
|
||||||
@ -1092,7 +1092,7 @@ listener is removed, and then invoked.</p>
|
|||||||
<li class="tsd-description">
|
<li class="tsd-description">
|
||||||
<div class="tsd-comment tsd-typography"><p>Returns a copy of the array of listeners for the event named <code>eventName</code>,
|
<div class="tsd-comment tsd-typography"><p>Returns a copy of the array of listeners for the event named <code>eventName</code>,
|
||||||
including any wrappers (such as those created by <code>.once()</code>).</p>
|
including any wrappers (such as those created by <code>.once()</code>).</p>
|
||||||
<pre><code class="language-js"><span class="hl-3">const</span><span class="hl-0"> </span><span class="hl-4">emitter</span><span class="hl-0"> = </span><span class="hl-3">new</span><span class="hl-0"> </span><span class="hl-5">EventEmitter</span><span class="hl-0">();</span><br/><span class="hl-1">emitter</span><span class="hl-0">.</span><span class="hl-5">once</span><span class="hl-0">(</span><span class="hl-6">'log'</span><span class="hl-0">, () </span><span class="hl-3">=></span><span class="hl-0"> </span><span class="hl-1">console</span><span class="hl-0">.</span><span class="hl-5">log</span><span class="hl-0">(</span><span class="hl-6">'log once'</span><span class="hl-0">));</span><br/><br/><span class="hl-7">// Returns a new Array with a function `onceWrapper` which has a property</span><br/><span class="hl-7">// `listener` which contains the original listener bound above</span><br/><span class="hl-3">const</span><span class="hl-0"> </span><span class="hl-4">listeners</span><span class="hl-0"> = </span><span class="hl-1">emitter</span><span class="hl-0">.</span><span class="hl-5">rawListeners</span><span class="hl-0">(</span><span class="hl-6">'log'</span><span class="hl-0">);</span><br/><span class="hl-3">const</span><span class="hl-0"> </span><span class="hl-4">logFnWrapper</span><span class="hl-0"> = </span><span class="hl-1">listeners</span><span class="hl-0">[</span><span class="hl-2">0</span><span class="hl-0">];</span><br/><br/><span class="hl-7">// Logs "log once" to the console and does not unbind the `once` event</span><br/><span class="hl-1">logFnWrapper</span><span class="hl-0">.</span><span class="hl-5">listener</span><span class="hl-0">();</span><br/><br/><span class="hl-7">// Logs "log once" to the console and removes the listener</span><br/><span class="hl-5">logFnWrapper</span><span class="hl-0">();</span><br/><br/><span class="hl-1">emitter</span><span class="hl-0">.</span><span class="hl-5">on</span><span class="hl-0">(</span><span class="hl-6">'log'</span><span class="hl-0">, () </span><span class="hl-3">=></span><span class="hl-0"> </span><span class="hl-1">console</span><span class="hl-0">.</span><span class="hl-5">log</span><span class="hl-0">(</span><span class="hl-6">'log persistently'</span><span class="hl-0">));</span><br/><span class="hl-7">// Will return a new Array with a single function bound by `.on()` above</span><br/><span class="hl-3">const</span><span class="hl-0"> </span><span class="hl-4">newListeners</span><span class="hl-0"> = </span><span class="hl-1">emitter</span><span class="hl-0">.</span><span class="hl-5">rawListeners</span><span class="hl-0">(</span><span class="hl-6">'log'</span><span class="hl-0">);</span><br/><br/><span class="hl-7">// Logs "log persistently" twice</span><br/><span class="hl-1">newListeners</span><span class="hl-0">[</span><span class="hl-2">0</span><span class="hl-0">]();</span><br/><span class="hl-1">emitter</span><span class="hl-0">.</span><span class="hl-5">emit</span><span class="hl-0">(</span><span class="hl-6">'log'</span><span class="hl-0">);</span>
|
<pre><code class="language-js"><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-4">emitter</span><span class="hl-1"> = </span><span class="hl-3">new</span><span class="hl-1"> </span><span class="hl-5">EventEmitter</span><span class="hl-1">();</span><br/><span class="hl-0">emitter</span><span class="hl-1">.</span><span class="hl-5">once</span><span class="hl-1">(</span><span class="hl-6">'log'</span><span class="hl-1">, () </span><span class="hl-3">=></span><span class="hl-1"> </span><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-5">log</span><span class="hl-1">(</span><span class="hl-6">'log once'</span><span class="hl-1">));</span><br/><br/><span class="hl-7">// Returns a new Array with a function `onceWrapper` which has a property</span><br/><span class="hl-7">// `listener` which contains the original listener bound above</span><br/><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-4">listeners</span><span class="hl-1"> = </span><span class="hl-0">emitter</span><span class="hl-1">.</span><span class="hl-5">rawListeners</span><span class="hl-1">(</span><span class="hl-6">'log'</span><span class="hl-1">);</span><br/><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-4">logFnWrapper</span><span class="hl-1"> = </span><span class="hl-0">listeners</span><span class="hl-1">[</span><span class="hl-2">0</span><span class="hl-1">];</span><br/><br/><span class="hl-7">// Logs "log once" to the console and does not unbind the `once` event</span><br/><span class="hl-0">logFnWrapper</span><span class="hl-1">.</span><span class="hl-5">listener</span><span class="hl-1">();</span><br/><br/><span class="hl-7">// Logs "log once" to the console and removes the listener</span><br/><span class="hl-5">logFnWrapper</span><span class="hl-1">();</span><br/><br/><span class="hl-0">emitter</span><span class="hl-1">.</span><span class="hl-5">on</span><span class="hl-1">(</span><span class="hl-6">'log'</span><span class="hl-1">, () </span><span class="hl-3">=></span><span class="hl-1"> </span><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-5">log</span><span class="hl-1">(</span><span class="hl-6">'log persistently'</span><span class="hl-1">));</span><br/><span class="hl-7">// Will return a new Array with a single function bound by `.on()` above</span><br/><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-4">newListeners</span><span class="hl-1"> = </span><span class="hl-0">emitter</span><span class="hl-1">.</span><span class="hl-5">rawListeners</span><span class="hl-1">(</span><span class="hl-6">'log'</span><span class="hl-1">);</span><br/><br/><span class="hl-7">// Logs "log persistently" twice</span><br/><span class="hl-0">newListeners</span><span class="hl-1">[</span><span class="hl-2">0</span><span class="hl-1">]();</span><br/><span class="hl-0">emitter</span><span class="hl-1">.</span><span class="hl-5">emit</span><span class="hl-1">(</span><span class="hl-6">'log'</span><span class="hl-1">);</span>
|
||||||
</code><button>Copy</button></pre>
|
</code><button>Copy</button></pre>
|
||||||
|
|
||||||
<h3>Since</h3><p>v9.4.0</p>
|
<h3>Since</h3><p>v9.4.0</p>
|
||||||
@ -1134,7 +1134,7 @@ component or module (e.g. sockets or file streams).</p>
|
|||||||
<li class="tsd-signature tsd-anchor-link" id="removeListener.removeListener-1"><span class="tsd-kind-call-signature">remove<wbr/>Listener</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">eventName</span>, <span class="tsd-kind-parameter">listener</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="Core.html" class="tsd-signature-type tsd-kind-class">Core</a><a href="#removeListener.removeListener-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
<li class="tsd-signature tsd-anchor-link" id="removeListener.removeListener-1"><span class="tsd-kind-call-signature">remove<wbr/>Listener</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">eventName</span>, <span class="tsd-kind-parameter">listener</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="Core.html" class="tsd-signature-type tsd-kind-class">Core</a><a href="#removeListener.removeListener-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
||||||
<li class="tsd-description">
|
<li class="tsd-description">
|
||||||
<div class="tsd-comment tsd-typography"><p>Removes the specified <code>listener</code> from the listener array for the event named<code>eventName</code>.</p>
|
<div class="tsd-comment tsd-typography"><p>Removes the specified <code>listener</code> from the listener array for the event named<code>eventName</code>.</p>
|
||||||
<pre><code class="language-js"><span class="hl-3">const</span><span class="hl-0"> </span><span class="hl-5">callback</span><span class="hl-0"> = (</span><span class="hl-1">stream</span><span class="hl-0">) </span><span class="hl-3">=></span><span class="hl-0"> {</span><br/><span class="hl-0"> </span><span class="hl-1">console</span><span class="hl-0">.</span><span class="hl-5">log</span><span class="hl-0">(</span><span class="hl-6">'someone connected!'</span><span class="hl-0">);</span><br/><span class="hl-0">};</span><br/><span class="hl-1">server</span><span class="hl-0">.</span><span class="hl-5">on</span><span class="hl-0">(</span><span class="hl-6">'connection'</span><span class="hl-0">, </span><span class="hl-1">callback</span><span class="hl-0">);</span><br/><span class="hl-7">// ...</span><br/><span class="hl-1">server</span><span class="hl-0">.</span><span class="hl-5">removeListener</span><span class="hl-0">(</span><span class="hl-6">'connection'</span><span class="hl-0">, </span><span class="hl-1">callback</span><span class="hl-0">);</span>
|
<pre><code class="language-js"><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-5">callback</span><span class="hl-1"> = (</span><span class="hl-0">stream</span><span class="hl-1">) </span><span class="hl-3">=></span><span class="hl-1"> {</span><br/><span class="hl-1"> </span><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-5">log</span><span class="hl-1">(</span><span class="hl-6">'someone connected!'</span><span class="hl-1">);</span><br/><span class="hl-1">};</span><br/><span class="hl-0">server</span><span class="hl-1">.</span><span class="hl-5">on</span><span class="hl-1">(</span><span class="hl-6">'connection'</span><span class="hl-1">, </span><span class="hl-0">callback</span><span class="hl-1">);</span><br/><span class="hl-7">// ...</span><br/><span class="hl-0">server</span><span class="hl-1">.</span><span class="hl-5">removeListener</span><span class="hl-1">(</span><span class="hl-6">'connection'</span><span class="hl-1">, </span><span class="hl-0">callback</span><span class="hl-1">);</span>
|
||||||
</code><button>Copy</button></pre>
|
</code><button>Copy</button></pre>
|
||||||
<p><code>removeListener()</code> will remove, at most, one instance of a listener from the
|
<p><code>removeListener()</code> will remove, at most, one instance of a listener from the
|
||||||
listener array. If any single listener has been added multiple times to the
|
listener array. If any single listener has been added multiple times to the
|
||||||
@ -1143,7 +1143,7 @@ called multiple times to remove each instance.</p>
|
|||||||
<p>Once an event is emitted, all listeners attached to it at the
|
<p>Once an event is emitted, all listeners attached to it at the
|
||||||
time of emitting are called in order. This implies that any<code>removeListener()</code> or <code>removeAllListeners()</code> calls <em>after</em> emitting and <em>before</em> the last listener finishes execution
|
time of emitting are called in order. This implies that any<code>removeListener()</code> or <code>removeAllListeners()</code> calls <em>after</em> emitting and <em>before</em> the last listener finishes execution
|
||||||
will not remove them from<code>emit()</code> in progress. Subsequent events behave as expected.</p>
|
will not remove them from<code>emit()</code> in progress. Subsequent events behave as expected.</p>
|
||||||
<pre><code class="language-js"><span class="hl-3">const</span><span class="hl-0"> </span><span class="hl-4">myEmitter</span><span class="hl-0"> = </span><span class="hl-3">new</span><span class="hl-0"> </span><span class="hl-5">MyEmitter</span><span class="hl-0">();</span><br/><br/><span class="hl-3">const</span><span class="hl-0"> </span><span class="hl-5">callbackA</span><span class="hl-0"> = () </span><span class="hl-3">=></span><span class="hl-0"> {</span><br/><span class="hl-0"> </span><span class="hl-1">console</span><span class="hl-0">.</span><span class="hl-5">log</span><span class="hl-0">(</span><span class="hl-6">'A'</span><span class="hl-0">);</span><br/><span class="hl-0"> </span><span class="hl-1">myEmitter</span><span class="hl-0">.</span><span class="hl-5">removeListener</span><span class="hl-0">(</span><span class="hl-6">'event'</span><span class="hl-0">, </span><span class="hl-1">callbackB</span><span class="hl-0">);</span><br/><span class="hl-0">};</span><br/><br/><span class="hl-3">const</span><span class="hl-0"> </span><span class="hl-5">callbackB</span><span class="hl-0"> = () </span><span class="hl-3">=></span><span class="hl-0"> {</span><br/><span class="hl-0"> </span><span class="hl-1">console</span><span class="hl-0">.</span><span class="hl-5">log</span><span class="hl-0">(</span><span class="hl-6">'B'</span><span class="hl-0">);</span><br/><span class="hl-0">};</span><br/><br/><span class="hl-1">myEmitter</span><span class="hl-0">.</span><span class="hl-5">on</span><span class="hl-0">(</span><span class="hl-6">'event'</span><span class="hl-0">, </span><span class="hl-1">callbackA</span><span class="hl-0">);</span><br/><br/><span class="hl-1">myEmitter</span><span class="hl-0">.</span><span class="hl-5">on</span><span class="hl-0">(</span><span class="hl-6">'event'</span><span class="hl-0">, </span><span class="hl-1">callbackB</span><span class="hl-0">);</span><br/><br/><span class="hl-7">// callbackA removes listener callbackB but it will still be called.</span><br/><span class="hl-7">// Internal listener array at time of emit [callbackA, callbackB]</span><br/><span class="hl-1">myEmitter</span><span class="hl-0">.</span><span class="hl-5">emit</span><span class="hl-0">(</span><span class="hl-6">'event'</span><span class="hl-0">);</span><br/><span class="hl-7">// Prints:</span><br/><span class="hl-7">// A</span><br/><span class="hl-7">// B</span><br/><br/><span class="hl-7">// callbackB is now removed.</span><br/><span class="hl-7">// Internal listener array [callbackA]</span><br/><span class="hl-1">myEmitter</span><span class="hl-0">.</span><span class="hl-5">emit</span><span class="hl-0">(</span><span class="hl-6">'event'</span><span class="hl-0">);</span><br/><span class="hl-7">// Prints:</span><br/><span class="hl-7">// A</span>
|
<pre><code class="language-js"><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-4">myEmitter</span><span class="hl-1"> = </span><span class="hl-3">new</span><span class="hl-1"> </span><span class="hl-5">MyEmitter</span><span class="hl-1">();</span><br/><br/><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-5">callbackA</span><span class="hl-1"> = () </span><span class="hl-3">=></span><span class="hl-1"> {</span><br/><span class="hl-1"> </span><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-5">log</span><span class="hl-1">(</span><span class="hl-6">'A'</span><span class="hl-1">);</span><br/><span class="hl-1"> </span><span class="hl-0">myEmitter</span><span class="hl-1">.</span><span class="hl-5">removeListener</span><span class="hl-1">(</span><span class="hl-6">'event'</span><span class="hl-1">, </span><span class="hl-0">callbackB</span><span class="hl-1">);</span><br/><span class="hl-1">};</span><br/><br/><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-5">callbackB</span><span class="hl-1"> = () </span><span class="hl-3">=></span><span class="hl-1"> {</span><br/><span class="hl-1"> </span><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-5">log</span><span class="hl-1">(</span><span class="hl-6">'B'</span><span class="hl-1">);</span><br/><span class="hl-1">};</span><br/><br/><span class="hl-0">myEmitter</span><span class="hl-1">.</span><span class="hl-5">on</span><span class="hl-1">(</span><span class="hl-6">'event'</span><span class="hl-1">, </span><span class="hl-0">callbackA</span><span class="hl-1">);</span><br/><br/><span class="hl-0">myEmitter</span><span class="hl-1">.</span><span class="hl-5">on</span><span class="hl-1">(</span><span class="hl-6">'event'</span><span class="hl-1">, </span><span class="hl-0">callbackB</span><span class="hl-1">);</span><br/><br/><span class="hl-7">// callbackA removes listener callbackB but it will still be called.</span><br/><span class="hl-7">// Internal listener array at time of emit [callbackA, callbackB]</span><br/><span class="hl-0">myEmitter</span><span class="hl-1">.</span><span class="hl-5">emit</span><span class="hl-1">(</span><span class="hl-6">'event'</span><span class="hl-1">);</span><br/><span class="hl-7">// Prints:</span><br/><span class="hl-7">// A</span><br/><span class="hl-7">// B</span><br/><br/><span class="hl-7">// callbackB is now removed.</span><br/><span class="hl-7">// Internal listener array [callbackA]</span><br/><span class="hl-0">myEmitter</span><span class="hl-1">.</span><span class="hl-5">emit</span><span class="hl-1">(</span><span class="hl-6">'event'</span><span class="hl-1">);</span><br/><span class="hl-7">// Prints:</span><br/><span class="hl-7">// A</span>
|
||||||
</code><button>Copy</button></pre>
|
</code><button>Copy</button></pre>
|
||||||
<p>Because listeners are managed using an internal array, calling this will
|
<p>Because listeners are managed using an internal array, calling this will
|
||||||
change the position indices of any listener registered <em>after</em> the listener
|
change the position indices of any listener registered <em>after</em> the listener
|
||||||
@ -1153,7 +1153,7 @@ the <code>emitter.listeners()</code> method will need to be recreated.</p>
|
|||||||
<p>When a single function has been added as a handler multiple times for a single
|
<p>When a single function has been added as a handler multiple times for a single
|
||||||
event (as in the example below), <code>removeListener()</code> will remove the most
|
event (as in the example below), <code>removeListener()</code> will remove the most
|
||||||
recently added instance. In the example the <code>once('ping')</code>listener is removed:</p>
|
recently added instance. In the example the <code>once('ping')</code>listener is removed:</p>
|
||||||
<pre><code class="language-js"><span class="hl-3">const</span><span class="hl-0"> </span><span class="hl-4">ee</span><span class="hl-0"> = </span><span class="hl-3">new</span><span class="hl-0"> </span><span class="hl-5">EventEmitter</span><span class="hl-0">();</span><br/><br/><span class="hl-3">function</span><span class="hl-0"> </span><span class="hl-5">pong</span><span class="hl-0">() {</span><br/><span class="hl-0"> </span><span class="hl-1">console</span><span class="hl-0">.</span><span class="hl-5">log</span><span class="hl-0">(</span><span class="hl-6">'pong'</span><span class="hl-0">);</span><br/><span class="hl-0">}</span><br/><br/><span class="hl-1">ee</span><span class="hl-0">.</span><span class="hl-5">on</span><span class="hl-0">(</span><span class="hl-6">'ping'</span><span class="hl-0">, </span><span class="hl-1">pong</span><span class="hl-0">);</span><br/><span class="hl-1">ee</span><span class="hl-0">.</span><span class="hl-5">once</span><span class="hl-0">(</span><span class="hl-6">'ping'</span><span class="hl-0">, </span><span class="hl-1">pong</span><span class="hl-0">);</span><br/><span class="hl-1">ee</span><span class="hl-0">.</span><span class="hl-5">removeListener</span><span class="hl-0">(</span><span class="hl-6">'ping'</span><span class="hl-0">, </span><span class="hl-1">pong</span><span class="hl-0">);</span><br/><br/><span class="hl-1">ee</span><span class="hl-0">.</span><span class="hl-5">emit</span><span class="hl-0">(</span><span class="hl-6">'ping'</span><span class="hl-0">);</span><br/><span class="hl-1">ee</span><span class="hl-0">.</span><span class="hl-5">emit</span><span class="hl-0">(</span><span class="hl-6">'ping'</span><span class="hl-0">);</span>
|
<pre><code class="language-js"><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-4">ee</span><span class="hl-1"> = </span><span class="hl-3">new</span><span class="hl-1"> </span><span class="hl-5">EventEmitter</span><span class="hl-1">();</span><br/><br/><span class="hl-3">function</span><span class="hl-1"> </span><span class="hl-5">pong</span><span class="hl-1">() {</span><br/><span class="hl-1"> </span><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-5">log</span><span class="hl-1">(</span><span class="hl-6">'pong'</span><span class="hl-1">);</span><br/><span class="hl-1">}</span><br/><br/><span class="hl-0">ee</span><span class="hl-1">.</span><span class="hl-5">on</span><span class="hl-1">(</span><span class="hl-6">'ping'</span><span class="hl-1">, </span><span class="hl-0">pong</span><span class="hl-1">);</span><br/><span class="hl-0">ee</span><span class="hl-1">.</span><span class="hl-5">once</span><span class="hl-1">(</span><span class="hl-6">'ping'</span><span class="hl-1">, </span><span class="hl-0">pong</span><span class="hl-1">);</span><br/><span class="hl-0">ee</span><span class="hl-1">.</span><span class="hl-5">removeListener</span><span class="hl-1">(</span><span class="hl-6">'ping'</span><span class="hl-1">, </span><span class="hl-0">pong</span><span class="hl-1">);</span><br/><br/><span class="hl-0">ee</span><span class="hl-1">.</span><span class="hl-5">emit</span><span class="hl-1">(</span><span class="hl-6">'ping'</span><span class="hl-1">);</span><br/><span class="hl-0">ee</span><span class="hl-1">.</span><span class="hl-5">emit</span><span class="hl-1">(</span><span class="hl-6">'ping'</span><span class="hl-1">);</span>
|
||||||
</code><button>Copy</button></pre>
|
</code><button>Copy</button></pre>
|
||||||
<p>Returns a reference to the <code>EventEmitter</code>, so that calls can be chained.</p>
|
<p>Returns a reference to the <code>EventEmitter</code>, so that calls can be chained.</p>
|
||||||
|
|
||||||
@ -1224,7 +1224,7 @@ modified for this specific <code>EventEmitter</code> instance. The value can be
|
|||||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||||
<p>Inherited from <a href="Network.Synchronizer.html">Synchronizer</a>.<a href="Network.Synchronizer.html#sync">sync</a></p>
|
<p>Inherited from <a href="Network.Synchronizer.html">Synchronizer</a>.<a href="Network.Synchronizer.html#sync">sync</a></p>
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in @tornado/sdk-chain/dist/index.d.ts:64</li></ul></aside></li></ul></section>
|
<li>Defined in @tornado/sdk-chain/dist/index.d.ts:65</li></ul></aside></li></ul></section>
|
||||||
<section class="tsd-panel tsd-member"><a id="syncDeposits" class="tsd-anchor"></a>
|
<section class="tsd-panel tsd-member"><a id="syncDeposits" class="tsd-anchor"></a>
|
||||||
<h3 class="tsd-anchor-link"><span>sync<wbr/>Deposits</span><a href="#syncDeposits" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
<h3 class="tsd-anchor-link"><span>sync<wbr/>Deposits</span><a href="#syncDeposits" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||||
<ul class="tsd-signatures">
|
<ul class="tsd-signatures">
|
||||||
@ -1239,7 +1239,7 @@ modified for this specific <code>EventEmitter</code> instance. The value can be
|
|||||||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">options</span>: <span class="tsd-signature-type ">Merge</span><span class="tsd-signature-symbol"><</span><a href="../modules/Network.html" class="tsd-signature-type tsd-kind-namespace">Network</a><span class="tsd-signature-symbol">.</span><a href="../modules/Network.Options.html" class="tsd-signature-type tsd-kind-namespace">Options</a><span class="tsd-signature-symbol">.</span><a href="../interfaces/Network.Options.Sync.html" class="tsd-signature-type tsd-kind-interface">Sync</a><span class="tsd-signature-symbol">, </span><a href="../modules/Data.html" class="tsd-signature-type tsd-kind-namespace">Data</a><span class="tsd-signature-symbol">.</span><a href="../modules/Data.Options.html" class="tsd-signature-type tsd-kind-namespace">Options</a><span class="tsd-signature-symbol">.</span><a href="../interfaces/Data.Options.Cache.html" class="tsd-signature-type tsd-kind-interface">Cache</a><span class="tsd-signature-symbol">></span></h5></li></ul></div>
|
<h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">options</span>: <span class="tsd-signature-type ">Merge</span><span class="tsd-signature-symbol"><</span><a href="../modules/Network.html" class="tsd-signature-type tsd-kind-namespace">Network</a><span class="tsd-signature-symbol">.</span><a href="../modules/Network.Options.html" class="tsd-signature-type tsd-kind-namespace">Options</a><span class="tsd-signature-symbol">.</span><a href="../interfaces/Network.Options.Sync.html" class="tsd-signature-type tsd-kind-interface">Sync</a><span class="tsd-signature-symbol">, </span><a href="../modules/Data.html" class="tsd-signature-type tsd-kind-namespace">Data</a><span class="tsd-signature-symbol">.</span><a href="../modules/Data.Options.html" class="tsd-signature-type tsd-kind-namespace">Options</a><span class="tsd-signature-symbol">.</span><a href="../interfaces/Data.Options.Cache.html" class="tsd-signature-type tsd-kind-interface">Cache</a><span class="tsd-signature-symbol">></span></h5></li></ul></div>
|
||||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in @tornado/sdk-core/dist/index.d.ts:108</li></ul></aside></li></ul></section>
|
<li>Defined in @tornado/sdk-core/dist/index.d.ts:109</li></ul></aside></li></ul></section>
|
||||||
<section class="tsd-panel tsd-member"><a id="syncWithdrawals" class="tsd-anchor"></a>
|
<section class="tsd-panel tsd-member"><a id="syncWithdrawals" class="tsd-anchor"></a>
|
||||||
<h3 class="tsd-anchor-link"><span>sync<wbr/>Withdrawals</span><a href="#syncWithdrawals" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
<h3 class="tsd-anchor-link"><span>sync<wbr/>Withdrawals</span><a href="#syncWithdrawals" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||||
<ul class="tsd-signatures">
|
<ul class="tsd-signatures">
|
||||||
@ -1254,7 +1254,7 @@ modified for this specific <code>EventEmitter</code> instance. The value can be
|
|||||||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">options</span>: <span class="tsd-signature-type ">Merge</span><span class="tsd-signature-symbol"><</span><a href="../modules/Network.html" class="tsd-signature-type tsd-kind-namespace">Network</a><span class="tsd-signature-symbol">.</span><a href="../modules/Network.Options.html" class="tsd-signature-type tsd-kind-namespace">Options</a><span class="tsd-signature-symbol">.</span><a href="../interfaces/Network.Options.Sync.html" class="tsd-signature-type tsd-kind-interface">Sync</a><span class="tsd-signature-symbol">, </span><a href="../modules/Data.html" class="tsd-signature-type tsd-kind-namespace">Data</a><span class="tsd-signature-symbol">.</span><a href="../modules/Data.Options.html" class="tsd-signature-type tsd-kind-namespace">Options</a><span class="tsd-signature-symbol">.</span><a href="../interfaces/Data.Options.Cache.html" class="tsd-signature-type tsd-kind-interface">Cache</a><span class="tsd-signature-symbol">></span></h5></li></ul></div>
|
<h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">options</span>: <span class="tsd-signature-type ">Merge</span><span class="tsd-signature-symbol"><</span><a href="../modules/Network.html" class="tsd-signature-type tsd-kind-namespace">Network</a><span class="tsd-signature-symbol">.</span><a href="../modules/Network.Options.html" class="tsd-signature-type tsd-kind-namespace">Options</a><span class="tsd-signature-symbol">.</span><a href="../interfaces/Network.Options.Sync.html" class="tsd-signature-type tsd-kind-interface">Sync</a><span class="tsd-signature-symbol">, </span><a href="../modules/Data.html" class="tsd-signature-type tsd-kind-namespace">Data</a><span class="tsd-signature-symbol">.</span><a href="../modules/Data.Options.html" class="tsd-signature-type tsd-kind-namespace">Options</a><span class="tsd-signature-symbol">.</span><a href="../interfaces/Data.Options.Cache.html" class="tsd-signature-type tsd-kind-interface">Cache</a><span class="tsd-signature-symbol">></span></h5></li></ul></div>
|
||||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in @tornado/sdk-core/dist/index.d.ts:109</li></ul></aside></li></ul></section>
|
<li>Defined in @tornado/sdk-core/dist/index.d.ts:110</li></ul></aside></li></ul></section>
|
||||||
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="getEventListeners" class="tsd-anchor"></a>
|
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="getEventListeners" class="tsd-anchor"></a>
|
||||||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <span>get<wbr/>Event<wbr/>Listeners</span><a href="#getEventListeners" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <span>get<wbr/>Event<wbr/>Listeners</span><a href="#getEventListeners" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||||
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
|
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
|
||||||
@ -1265,7 +1265,7 @@ modified for this specific <code>EventEmitter</code> instance. The value can be
|
|||||||
the emitter.</p>
|
the emitter.</p>
|
||||||
<p>For <code>EventTarget</code>s this is the only way to get the event listeners for the
|
<p>For <code>EventTarget</code>s this is the only way to get the event listeners for the
|
||||||
event target. This is useful for debugging and diagnostic purposes.</p>
|
event target. This is useful for debugging and diagnostic purposes.</p>
|
||||||
<pre><code class="language-js"><span class="hl-3">const</span><span class="hl-0"> { </span><span class="hl-4">getEventListeners</span><span class="hl-0">, </span><span class="hl-4">EventEmitter</span><span class="hl-0"> } = </span><span class="hl-5">require</span><span class="hl-0">(</span><span class="hl-6">'events'</span><span class="hl-0">);</span><br/><br/><span class="hl-0">{</span><br/><span class="hl-0"> </span><span class="hl-3">const</span><span class="hl-0"> </span><span class="hl-4">ee</span><span class="hl-0"> = </span><span class="hl-3">new</span><span class="hl-0"> </span><span class="hl-5">EventEmitter</span><span class="hl-0">();</span><br/><span class="hl-0"> </span><span class="hl-3">const</span><span class="hl-0"> </span><span class="hl-5">listener</span><span class="hl-0"> = () </span><span class="hl-3">=></span><span class="hl-0"> </span><span class="hl-1">console</span><span class="hl-0">.</span><span class="hl-5">log</span><span class="hl-0">(</span><span class="hl-6">'Events are fun'</span><span class="hl-0">);</span><br/><span class="hl-0"> </span><span class="hl-1">ee</span><span class="hl-0">.</span><span class="hl-5">on</span><span class="hl-0">(</span><span class="hl-6">'foo'</span><span class="hl-0">, </span><span class="hl-1">listener</span><span class="hl-0">);</span><br/><span class="hl-0"> </span><span class="hl-5">getEventListeners</span><span class="hl-0">(</span><span class="hl-1">ee</span><span class="hl-0">, </span><span class="hl-6">'foo'</span><span class="hl-0">); </span><span class="hl-7">// [listener]</span><br/><span class="hl-0">}</span><br/><span class="hl-0">{</span><br/><span class="hl-0"> </span><span class="hl-3">const</span><span class="hl-0"> </span><span class="hl-4">et</span><span class="hl-0"> = </span><span class="hl-3">new</span><span class="hl-0"> </span><span class="hl-5">EventTarget</span><span class="hl-0">();</span><br/><span class="hl-0"> </span><span class="hl-3">const</span><span class="hl-0"> </span><span class="hl-5">listener</span><span class="hl-0"> = () </span><span class="hl-3">=></span><span class="hl-0"> </span><span class="hl-1">console</span><span class="hl-0">.</span><span class="hl-5">log</span><span class="hl-0">(</span><span class="hl-6">'Events are fun'</span><span class="hl-0">);</span><br/><span class="hl-0"> </span><span class="hl-1">et</span><span class="hl-0">.</span><span class="hl-5">addEventListener</span><span class="hl-0">(</span><span class="hl-6">'foo'</span><span class="hl-0">, </span><span class="hl-1">listener</span><span class="hl-0">);</span><br/><span class="hl-0"> </span><span class="hl-5">getEventListeners</span><span class="hl-0">(</span><span class="hl-1">et</span><span class="hl-0">, </span><span class="hl-6">'foo'</span><span class="hl-0">); </span><span class="hl-7">// [listener]</span><br/><span class="hl-0">}</span>
|
<pre><code class="language-js"><span class="hl-3">const</span><span class="hl-1"> { </span><span class="hl-4">getEventListeners</span><span class="hl-1">, </span><span class="hl-4">EventEmitter</span><span class="hl-1"> } = </span><span class="hl-5">require</span><span class="hl-1">(</span><span class="hl-6">'events'</span><span class="hl-1">);</span><br/><br/><span class="hl-1">{</span><br/><span class="hl-1"> </span><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-4">ee</span><span class="hl-1"> = </span><span class="hl-3">new</span><span class="hl-1"> </span><span class="hl-5">EventEmitter</span><span class="hl-1">();</span><br/><span class="hl-1"> </span><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-5">listener</span><span class="hl-1"> = () </span><span class="hl-3">=></span><span class="hl-1"> </span><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-5">log</span><span class="hl-1">(</span><span class="hl-6">'Events are fun'</span><span class="hl-1">);</span><br/><span class="hl-1"> </span><span class="hl-0">ee</span><span class="hl-1">.</span><span class="hl-5">on</span><span class="hl-1">(</span><span class="hl-6">'foo'</span><span class="hl-1">, </span><span class="hl-0">listener</span><span class="hl-1">);</span><br/><span class="hl-1"> </span><span class="hl-5">getEventListeners</span><span class="hl-1">(</span><span class="hl-0">ee</span><span class="hl-1">, </span><span class="hl-6">'foo'</span><span class="hl-1">); </span><span class="hl-7">// [listener]</span><br/><span class="hl-1">}</span><br/><span class="hl-1">{</span><br/><span class="hl-1"> </span><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-4">et</span><span class="hl-1"> = </span><span class="hl-3">new</span><span class="hl-1"> </span><span class="hl-5">EventTarget</span><span class="hl-1">();</span><br/><span class="hl-1"> </span><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-5">listener</span><span class="hl-1"> = () </span><span class="hl-3">=></span><span class="hl-1"> </span><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-5">log</span><span class="hl-1">(</span><span class="hl-6">'Events are fun'</span><span class="hl-1">);</span><br/><span class="hl-1"> </span><span class="hl-0">et</span><span class="hl-1">.</span><span class="hl-5">addEventListener</span><span class="hl-1">(</span><span class="hl-6">'foo'</span><span class="hl-1">, </span><span class="hl-0">listener</span><span class="hl-1">);</span><br/><span class="hl-1"> </span><span class="hl-5">getEventListeners</span><span class="hl-1">(</span><span class="hl-0">et</span><span class="hl-1">, </span><span class="hl-6">'foo'</span><span class="hl-1">); </span><span class="hl-7">// [listener]</span><br/><span class="hl-1">}</span>
|
||||||
</code><button>Copy</button></pre>
|
</code><button>Copy</button></pre>
|
||||||
|
|
||||||
<h3>Since</h3><p>v15.2.0, v14.17.0</p>
|
<h3>Since</h3><p>v15.2.0, v14.17.0</p>
|
||||||
@ -1287,7 +1287,7 @@ event target. This is useful for debugging and diagnostic purposes.</p>
|
|||||||
<li class="tsd-signature tsd-anchor-link" id="listenerCount-2.listenerCount-3"><span class="tsd-kind-call-signature">listener<wbr/>Count</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">emitter</span>, <span class="tsd-kind-parameter">eventName</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><a href="#listenerCount-2.listenerCount-3" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
<li class="tsd-signature tsd-anchor-link" id="listenerCount-2.listenerCount-3"><span class="tsd-kind-call-signature">listener<wbr/>Count</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">emitter</span>, <span class="tsd-kind-parameter">eventName</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><a href="#listenerCount-2.listenerCount-3" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
||||||
<li class="tsd-description">
|
<li class="tsd-description">
|
||||||
<div class="tsd-comment tsd-typography"><p>A class method that returns the number of listeners for the given <code>eventName</code>registered on the given <code>emitter</code>.</p>
|
<div class="tsd-comment tsd-typography"><p>A class method that returns the number of listeners for the given <code>eventName</code>registered on the given <code>emitter</code>.</p>
|
||||||
<pre><code class="language-js"><span class="hl-3">const</span><span class="hl-0"> { </span><span class="hl-4">EventEmitter</span><span class="hl-0">, </span><span class="hl-4">listenerCount</span><span class="hl-0"> } = </span><span class="hl-5">require</span><span class="hl-0">(</span><span class="hl-6">'events'</span><span class="hl-0">);</span><br/><span class="hl-3">const</span><span class="hl-0"> </span><span class="hl-4">myEmitter</span><span class="hl-0"> = </span><span class="hl-3">new</span><span class="hl-0"> </span><span class="hl-5">EventEmitter</span><span class="hl-0">();</span><br/><span class="hl-1">myEmitter</span><span class="hl-0">.</span><span class="hl-5">on</span><span class="hl-0">(</span><span class="hl-6">'event'</span><span class="hl-0">, () </span><span class="hl-3">=></span><span class="hl-0"> {});</span><br/><span class="hl-1">myEmitter</span><span class="hl-0">.</span><span class="hl-5">on</span><span class="hl-0">(</span><span class="hl-6">'event'</span><span class="hl-0">, () </span><span class="hl-3">=></span><span class="hl-0"> {});</span><br/><span class="hl-1">console</span><span class="hl-0">.</span><span class="hl-5">log</span><span class="hl-0">(</span><span class="hl-5">listenerCount</span><span class="hl-0">(</span><span class="hl-1">myEmitter</span><span class="hl-0">, </span><span class="hl-6">'event'</span><span class="hl-0">));</span><br/><span class="hl-7">// Prints: 2</span>
|
<pre><code class="language-js"><span class="hl-3">const</span><span class="hl-1"> { </span><span class="hl-4">EventEmitter</span><span class="hl-1">, </span><span class="hl-4">listenerCount</span><span class="hl-1"> } = </span><span class="hl-5">require</span><span class="hl-1">(</span><span class="hl-6">'events'</span><span class="hl-1">);</span><br/><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-4">myEmitter</span><span class="hl-1"> = </span><span class="hl-3">new</span><span class="hl-1"> </span><span class="hl-5">EventEmitter</span><span class="hl-1">();</span><br/><span class="hl-0">myEmitter</span><span class="hl-1">.</span><span class="hl-5">on</span><span class="hl-1">(</span><span class="hl-6">'event'</span><span class="hl-1">, () </span><span class="hl-3">=></span><span class="hl-1"> {});</span><br/><span class="hl-0">myEmitter</span><span class="hl-1">.</span><span class="hl-5">on</span><span class="hl-1">(</span><span class="hl-6">'event'</span><span class="hl-1">, () </span><span class="hl-3">=></span><span class="hl-1"> {});</span><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-5">log</span><span class="hl-1">(</span><span class="hl-5">listenerCount</span><span class="hl-1">(</span><span class="hl-0">myEmitter</span><span class="hl-1">, </span><span class="hl-6">'event'</span><span class="hl-1">));</span><br/><span class="hl-7">// Prints: 2</span>
|
||||||
</code><button>Copy</button></pre>
|
</code><button>Copy</button></pre>
|
||||||
|
|
||||||
<h3>Since</h3><p>v0.9.12</p>
|
<h3>Since</h3><p>v0.9.12</p>
|
||||||
@ -1314,14 +1314,14 @@ event target. This is useful for debugging and diagnostic purposes.</p>
|
|||||||
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
|
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
|
||||||
<li class="tsd-signature tsd-anchor-link" id="on-2.on-3"><span class="tsd-kind-call-signature">on</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">emitter</span>, <span class="tsd-kind-parameter">eventName</span>, <span class="tsd-kind-parameter">options</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type ">AsyncIterableIterator</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span><a href="#on-2.on-3" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
<li class="tsd-signature tsd-anchor-link" id="on-2.on-3"><span class="tsd-kind-call-signature">on</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">emitter</span>, <span class="tsd-kind-parameter">eventName</span>, <span class="tsd-kind-parameter">options</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type ">AsyncIterableIterator</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span><a href="#on-2.on-3" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
||||||
<li class="tsd-description">
|
<li class="tsd-description">
|
||||||
<div class="tsd-comment tsd-typography"><pre><code class="language-js"><span class="hl-3">const</span><span class="hl-0"> { </span><span class="hl-4">on</span><span class="hl-0">, </span><span class="hl-4">EventEmitter</span><span class="hl-0"> } = </span><span class="hl-5">require</span><span class="hl-0">(</span><span class="hl-6">'events'</span><span class="hl-0">);</span><br/><br/><span class="hl-0">(</span><span class="hl-3">async</span><span class="hl-0"> () </span><span class="hl-3">=></span><span class="hl-0"> {</span><br/><span class="hl-0"> </span><span class="hl-3">const</span><span class="hl-0"> </span><span class="hl-4">ee</span><span class="hl-0"> = </span><span class="hl-3">new</span><span class="hl-0"> </span><span class="hl-5">EventEmitter</span><span class="hl-0">();</span><br/><br/><span class="hl-0"> </span><span class="hl-7">// Emit later on</span><br/><span class="hl-0"> </span><span class="hl-1">process</span><span class="hl-0">.</span><span class="hl-5">nextTick</span><span class="hl-0">(() </span><span class="hl-3">=></span><span class="hl-0"> {</span><br/><span class="hl-0"> </span><span class="hl-1">ee</span><span class="hl-0">.</span><span class="hl-5">emit</span><span class="hl-0">(</span><span class="hl-6">'foo'</span><span class="hl-0">, </span><span class="hl-6">'bar'</span><span class="hl-0">);</span><br/><span class="hl-0"> </span><span class="hl-1">ee</span><span class="hl-0">.</span><span class="hl-5">emit</span><span class="hl-0">(</span><span class="hl-6">'foo'</span><span class="hl-0">, </span><span class="hl-2">42</span><span class="hl-0">);</span><br/><span class="hl-0"> });</span><br/><br/><span class="hl-0"> </span><span class="hl-8">for</span><span class="hl-0"> </span><span class="hl-8">await</span><span class="hl-0"> (</span><span class="hl-3">const</span><span class="hl-0"> </span><span class="hl-4">event</span><span class="hl-0"> </span><span class="hl-3">of</span><span class="hl-0"> </span><span class="hl-5">on</span><span class="hl-0">(</span><span class="hl-1">ee</span><span class="hl-0">, </span><span class="hl-6">'foo'</span><span class="hl-0">)) {</span><br/><span class="hl-0"> </span><span class="hl-7">// The execution of this inner block is synchronous and it</span><br/><span class="hl-0"> </span><span class="hl-7">// processes one event at a time (even with await). Do not use</span><br/><span class="hl-0"> </span><span class="hl-7">// if concurrent execution is required.</span><br/><span class="hl-0"> </span><span class="hl-1">console</span><span class="hl-0">.</span><span class="hl-5">log</span><span class="hl-0">(</span><span class="hl-1">event</span><span class="hl-0">); </span><span class="hl-7">// prints ['bar'] [42]</span><br/><span class="hl-0"> }</span><br/><span class="hl-0"> </span><span class="hl-7">// Unreachable here</span><br/><span class="hl-0">})();</span>
|
<div class="tsd-comment tsd-typography"><pre><code class="language-js"><span class="hl-3">const</span><span class="hl-1"> { </span><span class="hl-4">on</span><span class="hl-1">, </span><span class="hl-4">EventEmitter</span><span class="hl-1"> } = </span><span class="hl-5">require</span><span class="hl-1">(</span><span class="hl-6">'events'</span><span class="hl-1">);</span><br/><br/><span class="hl-1">(</span><span class="hl-3">async</span><span class="hl-1"> () </span><span class="hl-3">=></span><span class="hl-1"> {</span><br/><span class="hl-1"> </span><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-4">ee</span><span class="hl-1"> = </span><span class="hl-3">new</span><span class="hl-1"> </span><span class="hl-5">EventEmitter</span><span class="hl-1">();</span><br/><br/><span class="hl-1"> </span><span class="hl-7">// Emit later on</span><br/><span class="hl-1"> </span><span class="hl-0">process</span><span class="hl-1">.</span><span class="hl-5">nextTick</span><span class="hl-1">(() </span><span class="hl-3">=></span><span class="hl-1"> {</span><br/><span class="hl-1"> </span><span class="hl-0">ee</span><span class="hl-1">.</span><span class="hl-5">emit</span><span class="hl-1">(</span><span class="hl-6">'foo'</span><span class="hl-1">, </span><span class="hl-6">'bar'</span><span class="hl-1">);</span><br/><span class="hl-1"> </span><span class="hl-0">ee</span><span class="hl-1">.</span><span class="hl-5">emit</span><span class="hl-1">(</span><span class="hl-6">'foo'</span><span class="hl-1">, </span><span class="hl-2">42</span><span class="hl-1">);</span><br/><span class="hl-1"> });</span><br/><br/><span class="hl-1"> </span><span class="hl-8">for</span><span class="hl-1"> </span><span class="hl-8">await</span><span class="hl-1"> (</span><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-4">event</span><span class="hl-1"> </span><span class="hl-3">of</span><span class="hl-1"> </span><span class="hl-5">on</span><span class="hl-1">(</span><span class="hl-0">ee</span><span class="hl-1">, </span><span class="hl-6">'foo'</span><span class="hl-1">)) {</span><br/><span class="hl-1"> </span><span class="hl-7">// The execution of this inner block is synchronous and it</span><br/><span class="hl-1"> </span><span class="hl-7">// processes one event at a time (even with await). Do not use</span><br/><span class="hl-1"> </span><span class="hl-7">// if concurrent execution is required.</span><br/><span class="hl-1"> </span><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-5">log</span><span class="hl-1">(</span><span class="hl-0">event</span><span class="hl-1">); </span><span class="hl-7">// prints ['bar'] [42]</span><br/><span class="hl-1"> }</span><br/><span class="hl-1"> </span><span class="hl-7">// Unreachable here</span><br/><span class="hl-1">})();</span>
|
||||||
</code><button>Copy</button></pre>
|
</code><button>Copy</button></pre>
|
||||||
<p>Returns an <code>AsyncIterator</code> that iterates <code>eventName</code> events. It will throw
|
<p>Returns an <code>AsyncIterator</code> that iterates <code>eventName</code> events. It will throw
|
||||||
if the <code>EventEmitter</code> emits <code>'error'</code>. It removes all listeners when
|
if the <code>EventEmitter</code> emits <code>'error'</code>. It removes all listeners when
|
||||||
exiting the loop. The <code>value</code> returned by each iteration is an array
|
exiting the loop. The <code>value</code> returned by each iteration is an array
|
||||||
composed of the emitted event arguments.</p>
|
composed of the emitted event arguments.</p>
|
||||||
<p>An <code>AbortSignal</code> can be used to cancel waiting on events:</p>
|
<p>An <code>AbortSignal</code> can be used to cancel waiting on events:</p>
|
||||||
<pre><code class="language-js"><span class="hl-3">const</span><span class="hl-0"> { </span><span class="hl-4">on</span><span class="hl-0">, </span><span class="hl-4">EventEmitter</span><span class="hl-0"> } = </span><span class="hl-5">require</span><span class="hl-0">(</span><span class="hl-6">'events'</span><span class="hl-0">);</span><br/><span class="hl-3">const</span><span class="hl-0"> </span><span class="hl-4">ac</span><span class="hl-0"> = </span><span class="hl-3">new</span><span class="hl-0"> </span><span class="hl-5">AbortController</span><span class="hl-0">();</span><br/><br/><span class="hl-0">(</span><span class="hl-3">async</span><span class="hl-0"> () </span><span class="hl-3">=></span><span class="hl-0"> {</span><br/><span class="hl-0"> </span><span class="hl-3">const</span><span class="hl-0"> </span><span class="hl-4">ee</span><span class="hl-0"> = </span><span class="hl-3">new</span><span class="hl-0"> </span><span class="hl-5">EventEmitter</span><span class="hl-0">();</span><br/><br/><span class="hl-0"> </span><span class="hl-7">// Emit later on</span><br/><span class="hl-0"> </span><span class="hl-1">process</span><span class="hl-0">.</span><span class="hl-5">nextTick</span><span class="hl-0">(() </span><span class="hl-3">=></span><span class="hl-0"> {</span><br/><span class="hl-0"> </span><span class="hl-1">ee</span><span class="hl-0">.</span><span class="hl-5">emit</span><span class="hl-0">(</span><span class="hl-6">'foo'</span><span class="hl-0">, </span><span class="hl-6">'bar'</span><span class="hl-0">);</span><br/><span class="hl-0"> </span><span class="hl-1">ee</span><span class="hl-0">.</span><span class="hl-5">emit</span><span class="hl-0">(</span><span class="hl-6">'foo'</span><span class="hl-0">, </span><span class="hl-2">42</span><span class="hl-0">);</span><br/><span class="hl-0"> });</span><br/><br/><span class="hl-0"> </span><span class="hl-8">for</span><span class="hl-0"> </span><span class="hl-8">await</span><span class="hl-0"> (</span><span class="hl-3">const</span><span class="hl-0"> </span><span class="hl-4">event</span><span class="hl-0"> </span><span class="hl-3">of</span><span class="hl-0"> </span><span class="hl-5">on</span><span class="hl-0">(</span><span class="hl-1">ee</span><span class="hl-0">, </span><span class="hl-6">'foo'</span><span class="hl-0">, { </span><span class="hl-1">signal:</span><span class="hl-0"> </span><span class="hl-1">ac</span><span class="hl-0">.</span><span class="hl-1">signal</span><span class="hl-0"> })) {</span><br/><span class="hl-0"> </span><span class="hl-7">// The execution of this inner block is synchronous and it</span><br/><span class="hl-0"> </span><span class="hl-7">// processes one event at a time (even with await). Do not use</span><br/><span class="hl-0"> </span><span class="hl-7">// if concurrent execution is required.</span><br/><span class="hl-0"> </span><span class="hl-1">console</span><span class="hl-0">.</span><span class="hl-5">log</span><span class="hl-0">(</span><span class="hl-1">event</span><span class="hl-0">); </span><span class="hl-7">// prints ['bar'] [42]</span><br/><span class="hl-0"> }</span><br/><span class="hl-0"> </span><span class="hl-7">// Unreachable here</span><br/><span class="hl-0">})();</span><br/><br/><span class="hl-1">process</span><span class="hl-0">.</span><span class="hl-5">nextTick</span><span class="hl-0">(() </span><span class="hl-3">=></span><span class="hl-0"> </span><span class="hl-1">ac</span><span class="hl-0">.</span><span class="hl-5">abort</span><span class="hl-0">());</span>
|
<pre><code class="language-js"><span class="hl-3">const</span><span class="hl-1"> { </span><span class="hl-4">on</span><span class="hl-1">, </span><span class="hl-4">EventEmitter</span><span class="hl-1"> } = </span><span class="hl-5">require</span><span class="hl-1">(</span><span class="hl-6">'events'</span><span class="hl-1">);</span><br/><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-4">ac</span><span class="hl-1"> = </span><span class="hl-3">new</span><span class="hl-1"> </span><span class="hl-5">AbortController</span><span class="hl-1">();</span><br/><br/><span class="hl-1">(</span><span class="hl-3">async</span><span class="hl-1"> () </span><span class="hl-3">=></span><span class="hl-1"> {</span><br/><span class="hl-1"> </span><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-4">ee</span><span class="hl-1"> = </span><span class="hl-3">new</span><span class="hl-1"> </span><span class="hl-5">EventEmitter</span><span class="hl-1">();</span><br/><br/><span class="hl-1"> </span><span class="hl-7">// Emit later on</span><br/><span class="hl-1"> </span><span class="hl-0">process</span><span class="hl-1">.</span><span class="hl-5">nextTick</span><span class="hl-1">(() </span><span class="hl-3">=></span><span class="hl-1"> {</span><br/><span class="hl-1"> </span><span class="hl-0">ee</span><span class="hl-1">.</span><span class="hl-5">emit</span><span class="hl-1">(</span><span class="hl-6">'foo'</span><span class="hl-1">, </span><span class="hl-6">'bar'</span><span class="hl-1">);</span><br/><span class="hl-1"> </span><span class="hl-0">ee</span><span class="hl-1">.</span><span class="hl-5">emit</span><span class="hl-1">(</span><span class="hl-6">'foo'</span><span class="hl-1">, </span><span class="hl-2">42</span><span class="hl-1">);</span><br/><span class="hl-1"> });</span><br/><br/><span class="hl-1"> </span><span class="hl-8">for</span><span class="hl-1"> </span><span class="hl-8">await</span><span class="hl-1"> (</span><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-4">event</span><span class="hl-1"> </span><span class="hl-3">of</span><span class="hl-1"> </span><span class="hl-5">on</span><span class="hl-1">(</span><span class="hl-0">ee</span><span class="hl-1">, </span><span class="hl-6">'foo'</span><span class="hl-1">, { </span><span class="hl-0">signal:</span><span class="hl-1"> </span><span class="hl-0">ac</span><span class="hl-1">.</span><span class="hl-0">signal</span><span class="hl-1"> })) {</span><br/><span class="hl-1"> </span><span class="hl-7">// The execution of this inner block is synchronous and it</span><br/><span class="hl-1"> </span><span class="hl-7">// processes one event at a time (even with await). Do not use</span><br/><span class="hl-1"> </span><span class="hl-7">// if concurrent execution is required.</span><br/><span class="hl-1"> </span><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-5">log</span><span class="hl-1">(</span><span class="hl-0">event</span><span class="hl-1">); </span><span class="hl-7">// prints ['bar'] [42]</span><br/><span class="hl-1"> }</span><br/><span class="hl-1"> </span><span class="hl-7">// Unreachable here</span><br/><span class="hl-1">})();</span><br/><br/><span class="hl-0">process</span><span class="hl-1">.</span><span class="hl-5">nextTick</span><span class="hl-1">(() </span><span class="hl-3">=></span><span class="hl-1"> </span><span class="hl-0">ac</span><span class="hl-1">.</span><span class="hl-5">abort</span><span class="hl-1">());</span>
|
||||||
</code><button>Copy</button></pre>
|
</code><button>Copy</button></pre>
|
||||||
|
|
||||||
<h3>Since</h3><p>v13.6.0, v12.16.0</p>
|
<h3>Since</h3><p>v13.6.0, v12.16.0</p>
|
||||||
@ -1353,15 +1353,15 @@ The <code>Promise</code> will resolve with an array of all the arguments emitted
|
|||||||
given event.</p>
|
given event.</p>
|
||||||
<p>This method is intentionally generic and works with the web platform <a href="https://dom.spec.whatwg.org/#interface-eventtarget">EventTarget</a> interface, which has no special<code>'error'</code> event
|
<p>This method is intentionally generic and works with the web platform <a href="https://dom.spec.whatwg.org/#interface-eventtarget">EventTarget</a> interface, which has no special<code>'error'</code> event
|
||||||
semantics and does not listen to the <code>'error'</code> event.</p>
|
semantics and does not listen to the <code>'error'</code> event.</p>
|
||||||
<pre><code class="language-js"><span class="hl-3">const</span><span class="hl-0"> { </span><span class="hl-4">once</span><span class="hl-0">, </span><span class="hl-4">EventEmitter</span><span class="hl-0"> } = </span><span class="hl-5">require</span><span class="hl-0">(</span><span class="hl-6">'events'</span><span class="hl-0">);</span><br/><br/><span class="hl-3">async</span><span class="hl-0"> </span><span class="hl-3">function</span><span class="hl-0"> </span><span class="hl-5">run</span><span class="hl-0">() {</span><br/><span class="hl-0"> </span><span class="hl-3">const</span><span class="hl-0"> </span><span class="hl-4">ee</span><span class="hl-0"> = </span><span class="hl-3">new</span><span class="hl-0"> </span><span class="hl-5">EventEmitter</span><span class="hl-0">();</span><br/><br/><span class="hl-0"> </span><span class="hl-1">process</span><span class="hl-0">.</span><span class="hl-5">nextTick</span><span class="hl-0">(() </span><span class="hl-3">=></span><span class="hl-0"> {</span><br/><span class="hl-0"> </span><span class="hl-1">ee</span><span class="hl-0">.</span><span class="hl-5">emit</span><span class="hl-0">(</span><span class="hl-6">'myevent'</span><span class="hl-0">, </span><span class="hl-2">42</span><span class="hl-0">);</span><br/><span class="hl-0"> });</span><br/><br/><span class="hl-0"> </span><span class="hl-3">const</span><span class="hl-0"> [</span><span class="hl-4">value</span><span class="hl-0">] = </span><span class="hl-8">await</span><span class="hl-0"> </span><span class="hl-5">once</span><span class="hl-0">(</span><span class="hl-1">ee</span><span class="hl-0">, </span><span class="hl-6">'myevent'</span><span class="hl-0">);</span><br/><span class="hl-0"> </span><span class="hl-1">console</span><span class="hl-0">.</span><span class="hl-5">log</span><span class="hl-0">(</span><span class="hl-1">value</span><span class="hl-0">);</span><br/><br/><span class="hl-0"> </span><span class="hl-3">const</span><span class="hl-0"> </span><span class="hl-4">err</span><span class="hl-0"> = </span><span class="hl-3">new</span><span class="hl-0"> </span><span class="hl-5">Error</span><span class="hl-0">(</span><span class="hl-6">'kaboom'</span><span class="hl-0">);</span><br/><span class="hl-0"> </span><span class="hl-1">process</span><span class="hl-0">.</span><span class="hl-5">nextTick</span><span class="hl-0">(() </span><span class="hl-3">=></span><span class="hl-0"> {</span><br/><span class="hl-0"> </span><span class="hl-1">ee</span><span class="hl-0">.</span><span class="hl-5">emit</span><span class="hl-0">(</span><span class="hl-6">'error'</span><span class="hl-0">, </span><span class="hl-1">err</span><span class="hl-0">);</span><br/><span class="hl-0"> });</span><br/><br/><span class="hl-0"> </span><span class="hl-8">try</span><span class="hl-0"> {</span><br/><span class="hl-0"> </span><span class="hl-8">await</span><span class="hl-0"> </span><span class="hl-5">once</span><span class="hl-0">(</span><span class="hl-1">ee</span><span class="hl-0">, </span><span class="hl-6">'myevent'</span><span class="hl-0">);</span><br/><span class="hl-0"> } </span><span class="hl-8">catch</span><span class="hl-0"> (</span><span class="hl-1">err</span><span class="hl-0">) {</span><br/><span class="hl-0"> </span><span class="hl-1">console</span><span class="hl-0">.</span><span class="hl-5">log</span><span class="hl-0">(</span><span class="hl-6">'error happened'</span><span class="hl-0">, </span><span class="hl-1">err</span><span class="hl-0">);</span><br/><span class="hl-0"> }</span><br/><span class="hl-0">}</span><br/><br/><span class="hl-5">run</span><span class="hl-0">();</span>
|
<pre><code class="language-js"><span class="hl-3">const</span><span class="hl-1"> { </span><span class="hl-4">once</span><span class="hl-1">, </span><span class="hl-4">EventEmitter</span><span class="hl-1"> } = </span><span class="hl-5">require</span><span class="hl-1">(</span><span class="hl-6">'events'</span><span class="hl-1">);</span><br/><br/><span class="hl-3">async</span><span class="hl-1"> </span><span class="hl-3">function</span><span class="hl-1"> </span><span class="hl-5">run</span><span class="hl-1">() {</span><br/><span class="hl-1"> </span><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-4">ee</span><span class="hl-1"> = </span><span class="hl-3">new</span><span class="hl-1"> </span><span class="hl-5">EventEmitter</span><span class="hl-1">();</span><br/><br/><span class="hl-1"> </span><span class="hl-0">process</span><span class="hl-1">.</span><span class="hl-5">nextTick</span><span class="hl-1">(() </span><span class="hl-3">=></span><span class="hl-1"> {</span><br/><span class="hl-1"> </span><span class="hl-0">ee</span><span class="hl-1">.</span><span class="hl-5">emit</span><span class="hl-1">(</span><span class="hl-6">'myevent'</span><span class="hl-1">, </span><span class="hl-2">42</span><span class="hl-1">);</span><br/><span class="hl-1"> });</span><br/><br/><span class="hl-1"> </span><span class="hl-3">const</span><span class="hl-1"> [</span><span class="hl-4">value</span><span class="hl-1">] = </span><span class="hl-8">await</span><span class="hl-1"> </span><span class="hl-5">once</span><span class="hl-1">(</span><span class="hl-0">ee</span><span class="hl-1">, </span><span class="hl-6">'myevent'</span><span class="hl-1">);</span><br/><span class="hl-1"> </span><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-5">log</span><span class="hl-1">(</span><span class="hl-0">value</span><span class="hl-1">);</span><br/><br/><span class="hl-1"> </span><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-4">err</span><span class="hl-1"> = </span><span class="hl-3">new</span><span class="hl-1"> </span><span class="hl-5">Error</span><span class="hl-1">(</span><span class="hl-6">'kaboom'</span><span class="hl-1">);</span><br/><span class="hl-1"> </span><span class="hl-0">process</span><span class="hl-1">.</span><span class="hl-5">nextTick</span><span class="hl-1">(() </span><span class="hl-3">=></span><span class="hl-1"> {</span><br/><span class="hl-1"> </span><span class="hl-0">ee</span><span class="hl-1">.</span><span class="hl-5">emit</span><span class="hl-1">(</span><span class="hl-6">'error'</span><span class="hl-1">, </span><span class="hl-0">err</span><span class="hl-1">);</span><br/><span class="hl-1"> });</span><br/><br/><span class="hl-1"> </span><span class="hl-8">try</span><span class="hl-1"> {</span><br/><span class="hl-1"> </span><span class="hl-8">await</span><span class="hl-1"> </span><span class="hl-5">once</span><span class="hl-1">(</span><span class="hl-0">ee</span><span class="hl-1">, </span><span class="hl-6">'myevent'</span><span class="hl-1">);</span><br/><span class="hl-1"> } </span><span class="hl-8">catch</span><span class="hl-1"> (</span><span class="hl-0">err</span><span class="hl-1">) {</span><br/><span class="hl-1"> </span><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-5">log</span><span class="hl-1">(</span><span class="hl-6">'error happened'</span><span class="hl-1">, </span><span class="hl-0">err</span><span class="hl-1">);</span><br/><span class="hl-1"> }</span><br/><span class="hl-1">}</span><br/><br/><span class="hl-5">run</span><span class="hl-1">();</span>
|
||||||
</code><button>Copy</button></pre>
|
</code><button>Copy</button></pre>
|
||||||
<p>The special handling of the <code>'error'</code> event is only used when <code>events.once()</code>is used to wait for another event. If <code>events.once()</code> is used to wait for the
|
<p>The special handling of the <code>'error'</code> event is only used when <code>events.once()</code>is used to wait for another event. If <code>events.once()</code> is used to wait for the
|
||||||
'<code>error'</code> event itself, then it is treated as any other kind of event without
|
'<code>error'</code> event itself, then it is treated as any other kind of event without
|
||||||
special handling:</p>
|
special handling:</p>
|
||||||
<pre><code class="language-js"><span class="hl-3">const</span><span class="hl-0"> { </span><span class="hl-4">EventEmitter</span><span class="hl-0">, </span><span class="hl-4">once</span><span class="hl-0"> } = </span><span class="hl-5">require</span><span class="hl-0">(</span><span class="hl-6">'events'</span><span class="hl-0">);</span><br/><br/><span class="hl-3">const</span><span class="hl-0"> </span><span class="hl-4">ee</span><span class="hl-0"> = </span><span class="hl-3">new</span><span class="hl-0"> </span><span class="hl-5">EventEmitter</span><span class="hl-0">();</span><br/><br/><span class="hl-5">once</span><span class="hl-0">(</span><span class="hl-1">ee</span><span class="hl-0">, </span><span class="hl-6">'error'</span><span class="hl-0">)</span><br/><span class="hl-0"> .</span><span class="hl-5">then</span><span class="hl-0">(([</span><span class="hl-1">err</span><span class="hl-0">]) </span><span class="hl-3">=></span><span class="hl-0"> </span><span class="hl-1">console</span><span class="hl-0">.</span><span class="hl-5">log</span><span class="hl-0">(</span><span class="hl-6">'ok'</span><span class="hl-0">, </span><span class="hl-1">err</span><span class="hl-0">.</span><span class="hl-1">message</span><span class="hl-0">))</span><br/><span class="hl-0"> .</span><span class="hl-5">catch</span><span class="hl-0">((</span><span class="hl-1">err</span><span class="hl-0">) </span><span class="hl-3">=></span><span class="hl-0"> </span><span class="hl-1">console</span><span class="hl-0">.</span><span class="hl-5">log</span><span class="hl-0">(</span><span class="hl-6">'error'</span><span class="hl-0">, </span><span class="hl-1">err</span><span class="hl-0">.</span><span class="hl-1">message</span><span class="hl-0">));</span><br/><br/><span class="hl-1">ee</span><span class="hl-0">.</span><span class="hl-5">emit</span><span class="hl-0">(</span><span class="hl-6">'error'</span><span class="hl-0">, </span><span class="hl-3">new</span><span class="hl-0"> </span><span class="hl-5">Error</span><span class="hl-0">(</span><span class="hl-6">'boom'</span><span class="hl-0">));</span><br/><br/><span class="hl-7">// Prints: ok boom</span>
|
<pre><code class="language-js"><span class="hl-3">const</span><span class="hl-1"> { </span><span class="hl-4">EventEmitter</span><span class="hl-1">, </span><span class="hl-4">once</span><span class="hl-1"> } = </span><span class="hl-5">require</span><span class="hl-1">(</span><span class="hl-6">'events'</span><span class="hl-1">);</span><br/><br/><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-4">ee</span><span class="hl-1"> = </span><span class="hl-3">new</span><span class="hl-1"> </span><span class="hl-5">EventEmitter</span><span class="hl-1">();</span><br/><br/><span class="hl-5">once</span><span class="hl-1">(</span><span class="hl-0">ee</span><span class="hl-1">, </span><span class="hl-6">'error'</span><span class="hl-1">)</span><br/><span class="hl-1"> .</span><span class="hl-5">then</span><span class="hl-1">(([</span><span class="hl-0">err</span><span class="hl-1">]) </span><span class="hl-3">=></span><span class="hl-1"> </span><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-5">log</span><span class="hl-1">(</span><span class="hl-6">'ok'</span><span class="hl-1">, </span><span class="hl-0">err</span><span class="hl-1">.</span><span class="hl-0">message</span><span class="hl-1">))</span><br/><span class="hl-1"> .</span><span class="hl-5">catch</span><span class="hl-1">((</span><span class="hl-0">err</span><span class="hl-1">) </span><span class="hl-3">=></span><span class="hl-1"> </span><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-5">log</span><span class="hl-1">(</span><span class="hl-6">'error'</span><span class="hl-1">, </span><span class="hl-0">err</span><span class="hl-1">.</span><span class="hl-0">message</span><span class="hl-1">));</span><br/><br/><span class="hl-0">ee</span><span class="hl-1">.</span><span class="hl-5">emit</span><span class="hl-1">(</span><span class="hl-6">'error'</span><span class="hl-1">, </span><span class="hl-3">new</span><span class="hl-1"> </span><span class="hl-5">Error</span><span class="hl-1">(</span><span class="hl-6">'boom'</span><span class="hl-1">));</span><br/><br/><span class="hl-7">// Prints: ok boom</span>
|
||||||
</code><button>Copy</button></pre>
|
</code><button>Copy</button></pre>
|
||||||
<p>An <code>AbortSignal</code> can be used to cancel waiting for the event:</p>
|
<p>An <code>AbortSignal</code> can be used to cancel waiting for the event:</p>
|
||||||
<pre><code class="language-js"><span class="hl-3">const</span><span class="hl-0"> { </span><span class="hl-4">EventEmitter</span><span class="hl-0">, </span><span class="hl-4">once</span><span class="hl-0"> } = </span><span class="hl-5">require</span><span class="hl-0">(</span><span class="hl-6">'events'</span><span class="hl-0">);</span><br/><br/><span class="hl-3">const</span><span class="hl-0"> </span><span class="hl-4">ee</span><span class="hl-0"> = </span><span class="hl-3">new</span><span class="hl-0"> </span><span class="hl-5">EventEmitter</span><span class="hl-0">();</span><br/><span class="hl-3">const</span><span class="hl-0"> </span><span class="hl-4">ac</span><span class="hl-0"> = </span><span class="hl-3">new</span><span class="hl-0"> </span><span class="hl-5">AbortController</span><span class="hl-0">();</span><br/><br/><span class="hl-3">async</span><span class="hl-0"> </span><span class="hl-3">function</span><span class="hl-0"> </span><span class="hl-5">foo</span><span class="hl-0">(</span><span class="hl-1">emitter</span><span class="hl-0">, </span><span class="hl-1">event</span><span class="hl-0">, </span><span class="hl-1">signal</span><span class="hl-0">) {</span><br/><span class="hl-0"> </span><span class="hl-8">try</span><span class="hl-0"> {</span><br/><span class="hl-0"> </span><span class="hl-8">await</span><span class="hl-0"> </span><span class="hl-5">once</span><span class="hl-0">(</span><span class="hl-1">emitter</span><span class="hl-0">, </span><span class="hl-1">event</span><span class="hl-0">, { </span><span class="hl-1">signal</span><span class="hl-0"> });</span><br/><span class="hl-0"> </span><span class="hl-1">console</span><span class="hl-0">.</span><span class="hl-5">log</span><span class="hl-0">(</span><span class="hl-6">'event emitted!'</span><span class="hl-0">);</span><br/><span class="hl-0"> } </span><span class="hl-8">catch</span><span class="hl-0"> (</span><span class="hl-1">error</span><span class="hl-0">) {</span><br/><span class="hl-0"> </span><span class="hl-8">if</span><span class="hl-0"> (</span><span class="hl-1">error</span><span class="hl-0">.</span><span class="hl-1">name</span><span class="hl-0"> === </span><span class="hl-6">'AbortError'</span><span class="hl-0">) {</span><br/><span class="hl-0"> </span><span class="hl-1">console</span><span class="hl-0">.</span><span class="hl-5">error</span><span class="hl-0">(</span><span class="hl-6">'Waiting for the event was canceled!'</span><span class="hl-0">);</span><br/><span class="hl-0"> } </span><span class="hl-8">else</span><span class="hl-0"> {</span><br/><span class="hl-0"> </span><span class="hl-1">console</span><span class="hl-0">.</span><span class="hl-5">error</span><span class="hl-0">(</span><span class="hl-6">'There was an error'</span><span class="hl-0">, </span><span class="hl-1">error</span><span class="hl-0">.</span><span class="hl-1">message</span><span class="hl-0">);</span><br/><span class="hl-0"> }</span><br/><span class="hl-0"> }</span><br/><span class="hl-0">}</span><br/><br/><span class="hl-5">foo</span><span class="hl-0">(</span><span class="hl-1">ee</span><span class="hl-0">, </span><span class="hl-6">'foo'</span><span class="hl-0">, </span><span class="hl-1">ac</span><span class="hl-0">.</span><span class="hl-1">signal</span><span class="hl-0">);</span><br/><span class="hl-1">ac</span><span class="hl-0">.</span><span class="hl-5">abort</span><span class="hl-0">(); </span><span class="hl-7">// Abort waiting for the event</span><br/><span class="hl-1">ee</span><span class="hl-0">.</span><span class="hl-5">emit</span><span class="hl-0">(</span><span class="hl-6">'foo'</span><span class="hl-0">); </span><span class="hl-7">// Prints: Waiting for the event was canceled!</span>
|
<pre><code class="language-js"><span class="hl-3">const</span><span class="hl-1"> { </span><span class="hl-4">EventEmitter</span><span class="hl-1">, </span><span class="hl-4">once</span><span class="hl-1"> } = </span><span class="hl-5">require</span><span class="hl-1">(</span><span class="hl-6">'events'</span><span class="hl-1">);</span><br/><br/><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-4">ee</span><span class="hl-1"> = </span><span class="hl-3">new</span><span class="hl-1"> </span><span class="hl-5">EventEmitter</span><span class="hl-1">();</span><br/><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-4">ac</span><span class="hl-1"> = </span><span class="hl-3">new</span><span class="hl-1"> </span><span class="hl-5">AbortController</span><span class="hl-1">();</span><br/><br/><span class="hl-3">async</span><span class="hl-1"> </span><span class="hl-3">function</span><span class="hl-1"> </span><span class="hl-5">foo</span><span class="hl-1">(</span><span class="hl-0">emitter</span><span class="hl-1">, </span><span class="hl-0">event</span><span class="hl-1">, </span><span class="hl-0">signal</span><span class="hl-1">) {</span><br/><span class="hl-1"> </span><span class="hl-8">try</span><span class="hl-1"> {</span><br/><span class="hl-1"> </span><span class="hl-8">await</span><span class="hl-1"> </span><span class="hl-5">once</span><span class="hl-1">(</span><span class="hl-0">emitter</span><span class="hl-1">, </span><span class="hl-0">event</span><span class="hl-1">, { </span><span class="hl-0">signal</span><span class="hl-1"> });</span><br/><span class="hl-1"> </span><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-5">log</span><span class="hl-1">(</span><span class="hl-6">'event emitted!'</span><span class="hl-1">);</span><br/><span class="hl-1"> } </span><span class="hl-8">catch</span><span class="hl-1"> (</span><span class="hl-0">error</span><span class="hl-1">) {</span><br/><span class="hl-1"> </span><span class="hl-8">if</span><span class="hl-1"> (</span><span class="hl-0">error</span><span class="hl-1">.</span><span class="hl-0">name</span><span class="hl-1"> === </span><span class="hl-6">'AbortError'</span><span class="hl-1">) {</span><br/><span class="hl-1"> </span><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-5">error</span><span class="hl-1">(</span><span class="hl-6">'Waiting for the event was canceled!'</span><span class="hl-1">);</span><br/><span class="hl-1"> } </span><span class="hl-8">else</span><span class="hl-1"> {</span><br/><span class="hl-1"> </span><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-5">error</span><span class="hl-1">(</span><span class="hl-6">'There was an error'</span><span class="hl-1">, </span><span class="hl-0">error</span><span class="hl-1">.</span><span class="hl-0">message</span><span class="hl-1">);</span><br/><span class="hl-1"> }</span><br/><span class="hl-1"> }</span><br/><span class="hl-1">}</span><br/><br/><span class="hl-5">foo</span><span class="hl-1">(</span><span class="hl-0">ee</span><span class="hl-1">, </span><span class="hl-6">'foo'</span><span class="hl-1">, </span><span class="hl-0">ac</span><span class="hl-1">.</span><span class="hl-0">signal</span><span class="hl-1">);</span><br/><span class="hl-0">ac</span><span class="hl-1">.</span><span class="hl-5">abort</span><span class="hl-1">(); </span><span class="hl-7">// Abort waiting for the event</span><br/><span class="hl-0">ee</span><span class="hl-1">.</span><span class="hl-5">emit</span><span class="hl-1">(</span><span class="hl-6">'foo'</span><span class="hl-1">); </span><span class="hl-7">// Prints: Waiting for the event was canceled!</span>
|
||||||
</code><button>Copy</button></pre>
|
</code><button>Copy</button></pre>
|
||||||
|
|
||||||
<h3>Since</h3><p>v11.13.0, v10.16.0</p>
|
<h3>Since</h3><p>v11.13.0, v10.16.0</p>
|
||||||
@ -1399,7 +1399,7 @@ special handling:</p>
|
|||||||
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
|
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
|
||||||
<li class="tsd-signature tsd-anchor-link" id="setMaxListeners-2.setMaxListeners-3"><span class="tsd-kind-call-signature">set<wbr/>Max<wbr/>Listeners</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">n</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">eventTargets</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#setMaxListeners-2.setMaxListeners-3" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
<li class="tsd-signature tsd-anchor-link" id="setMaxListeners-2.setMaxListeners-3"><span class="tsd-kind-call-signature">set<wbr/>Max<wbr/>Listeners</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">n</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">eventTargets</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#setMaxListeners-2.setMaxListeners-3" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
||||||
<li class="tsd-description">
|
<li class="tsd-description">
|
||||||
<div class="tsd-comment tsd-typography"><pre><code class="language-js"><span class="hl-3">const</span><span class="hl-0"> {</span><br/><span class="hl-0"> </span><span class="hl-4">setMaxListeners</span><span class="hl-0">,</span><br/><span class="hl-0"> </span><span class="hl-4">EventEmitter</span><br/><span class="hl-0">} = </span><span class="hl-5">require</span><span class="hl-0">(</span><span class="hl-6">'events'</span><span class="hl-0">);</span><br/><br/><span class="hl-3">const</span><span class="hl-0"> </span><span class="hl-4">target</span><span class="hl-0"> = </span><span class="hl-3">new</span><span class="hl-0"> </span><span class="hl-5">EventTarget</span><span class="hl-0">();</span><br/><span class="hl-3">const</span><span class="hl-0"> </span><span class="hl-4">emitter</span><span class="hl-0"> = </span><span class="hl-3">new</span><span class="hl-0"> </span><span class="hl-5">EventEmitter</span><span class="hl-0">();</span><br/><br/><span class="hl-5">setMaxListeners</span><span class="hl-0">(</span><span class="hl-2">5</span><span class="hl-0">, </span><span class="hl-1">target</span><span class="hl-0">, </span><span class="hl-1">emitter</span><span class="hl-0">);</span>
|
<div class="tsd-comment tsd-typography"><pre><code class="language-js"><span class="hl-3">const</span><span class="hl-1"> {</span><br/><span class="hl-1"> </span><span class="hl-4">setMaxListeners</span><span class="hl-1">,</span><br/><span class="hl-1"> </span><span class="hl-4">EventEmitter</span><br/><span class="hl-1">} = </span><span class="hl-5">require</span><span class="hl-1">(</span><span class="hl-6">'events'</span><span class="hl-1">);</span><br/><br/><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-4">target</span><span class="hl-1"> = </span><span class="hl-3">new</span><span class="hl-1"> </span><span class="hl-5">EventTarget</span><span class="hl-1">();</span><br/><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-4">emitter</span><span class="hl-1"> = </span><span class="hl-3">new</span><span class="hl-1"> </span><span class="hl-5">EventEmitter</span><span class="hl-1">();</span><br/><br/><span class="hl-5">setMaxListeners</span><span class="hl-1">(</span><span class="hl-2">5</span><span class="hl-1">, </span><span class="hl-0">target</span><span class="hl-1">, </span><span class="hl-0">emitter</span><span class="hl-1">);</span>
|
||||||
</code><button>Copy</button></pre>
|
</code><button>Copy</button></pre>
|
||||||
|
|
||||||
<h3>Since</h3><p>v15.4.0</p>
|
<h3>Since</h3><p>v15.4.0</p>
|
||||||
@ -1475,7 +1475,7 @@ special handling:</p>
|
|||||||
<li><a href="#getInstance" class=""><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
<li><a href="#getInstance" class=""><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
||||||
<li><a href="#getInstances" class=""><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>get<wbr/>Instances</span></a></li>
|
<li><a href="#getInstances" class=""><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>get<wbr/>Instances</span></a></li>
|
||||||
<li><a href="#getMaxListeners" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>get<wbr/>Max<wbr/>Listeners</span></a></li>
|
<li><a href="#getMaxListeners" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>get<wbr/>Max<wbr/>Listeners</span></a></li>
|
||||||
<li><a href="#getProxy" class=""><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
<li><a href="#getRouter" class=""><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>get<wbr/>Router</span></a></li>
|
||||||
<li><a href="#listenForDeposits" class=""><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>listen<wbr/>For<wbr/>Deposits</span></a></li>
|
<li><a href="#listenForDeposits" class=""><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>listen<wbr/>For<wbr/>Deposits</span></a></li>
|
||||||
<li><a href="#listenForEvents" class="tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>listen<wbr/>For<wbr/>Events</span></a></li>
|
<li><a href="#listenForEvents" class="tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>listen<wbr/>For<wbr/>Events</span></a></li>
|
||||||
<li><a href="#listenForInstanceEvents" class=""><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>listen<wbr/>For<wbr/>Instance<wbr/>Events</span></a></li>
|
<li><a href="#listenForInstanceEvents" class=""><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>listen<wbr/>For<wbr/>Instance<wbr/>Events</span></a></li>
|
||||||
@ -1678,6 +1678,7 @@ special handling:</p>
|
|||||||
<li><a href="../functions/Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
<li><a href="../functions/Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
||||||
<li><a href="../functions/Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
<li><a href="../functions/Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
||||||
<li><a href="../functions/Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
<li><a href="../functions/Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
||||||
|
<li><a href="../functions/Network.Contracts.getRouter.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Router</span></a></li>
|
||||||
<li><a href="../functions/Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
<li><a href="../functions/Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
||||||
<li><a href="../functions/Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
<li><a href="../functions/Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
||||||
<li>
|
<li>
|
||||||
|
@ -387,6 +387,7 @@
|
|||||||
<li><a href="../functions/Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
<li><a href="../functions/Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
||||||
<li><a href="../functions/Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
<li><a href="../functions/Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
||||||
<li><a href="../functions/Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
<li><a href="../functions/Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
||||||
|
<li><a href="../functions/Network.Contracts.getRouter.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Router</span></a></li>
|
||||||
<li><a href="../functions/Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
<li><a href="../functions/Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
||||||
<li><a href="../functions/Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
<li><a href="../functions/Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
||||||
<li>
|
<li>
|
||||||
|
@ -450,6 +450,7 @@
|
|||||||
<li><a href="../functions/Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
<li><a href="../functions/Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
||||||
<li><a href="../functions/Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
<li><a href="../functions/Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
||||||
<li><a href="../functions/Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
<li><a href="../functions/Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
||||||
|
<li><a href="../functions/Network.Contracts.getRouter.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Router</span></a></li>
|
||||||
<li><a href="../functions/Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
<li><a href="../functions/Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
||||||
<li><a href="../functions/Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
<li><a href="../functions/Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
||||||
<li>
|
<li>
|
||||||
|
@ -262,6 +262,7 @@
|
|||||||
<li><a href="../functions/Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
<li><a href="../functions/Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
||||||
<li><a href="../functions/Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
<li><a href="../functions/Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
||||||
<li><a href="../functions/Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
<li><a href="../functions/Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
||||||
|
<li><a href="../functions/Network.Contracts.getRouter.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Router</span></a></li>
|
||||||
<li><a href="../functions/Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
<li><a href="../functions/Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
||||||
<li><a href="../functions/Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
<li><a href="../functions/Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
||||||
<li>
|
<li>
|
||||||
|
@ -296,6 +296,7 @@
|
|||||||
<li><a href="../functions/Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
<li><a href="../functions/Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
||||||
<li><a href="../functions/Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
<li><a href="../functions/Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
||||||
<li><a href="../functions/Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
<li><a href="../functions/Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
||||||
|
<li><a href="../functions/Network.Contracts.getRouter.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Router</span></a></li>
|
||||||
<li><a href="../functions/Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
<li><a href="../functions/Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
||||||
<li><a href="../functions/Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
<li><a href="../functions/Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
||||||
<li>
|
<li>
|
||||||
|
@ -297,6 +297,7 @@
|
|||||||
<li><a href="../functions/Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
<li><a href="../functions/Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
||||||
<li><a href="../functions/Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
<li><a href="../functions/Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
||||||
<li><a href="../functions/Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
<li><a href="../functions/Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
||||||
|
<li><a href="../functions/Network.Contracts.getRouter.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Router</span></a></li>
|
||||||
<li><a href="../functions/Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
<li><a href="../functions/Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
||||||
<li><a href="../functions/Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
<li><a href="../functions/Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
||||||
<li>
|
<li>
|
||||||
|
@ -297,6 +297,7 @@
|
|||||||
<li><a href="../functions/Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
<li><a href="../functions/Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
||||||
<li><a href="../functions/Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
<li><a href="../functions/Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
||||||
<li><a href="../functions/Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
<li><a href="../functions/Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
||||||
|
<li><a href="../functions/Network.Contracts.getRouter.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Router</span></a></li>
|
||||||
<li><a href="../functions/Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
<li><a href="../functions/Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
||||||
<li><a href="../functions/Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
<li><a href="../functions/Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
||||||
<li>
|
<li>
|
||||||
|
@ -312,6 +312,7 @@
|
|||||||
<li><a href="../functions/Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
<li><a href="../functions/Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
||||||
<li><a href="../functions/Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
<li><a href="../functions/Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
||||||
<li><a href="../functions/Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
<li><a href="../functions/Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
||||||
|
<li><a href="../functions/Network.Contracts.getRouter.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Router</span></a></li>
|
||||||
<li><a href="../functions/Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
<li><a href="../functions/Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
||||||
<li><a href="../functions/Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
<li><a href="../functions/Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
||||||
<li>
|
<li>
|
||||||
|
@ -296,6 +296,7 @@
|
|||||||
<li><a href="../functions/Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
<li><a href="../functions/Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
||||||
<li><a href="../functions/Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
<li><a href="../functions/Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
||||||
<li><a href="../functions/Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
<li><a href="../functions/Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
||||||
|
<li><a href="../functions/Network.Contracts.getRouter.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Router</span></a></li>
|
||||||
<li><a href="../functions/Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
<li><a href="../functions/Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
||||||
<li><a href="../functions/Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
<li><a href="../functions/Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
||||||
<li>
|
<li>
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
<ul class="tsd-hierarchy">
|
<ul class="tsd-hierarchy">
|
||||||
<li><span class="target">DepositCache</span></li></ul></li></ul></section><aside class="tsd-sources">
|
<li><span class="target">DepositCache</span></li></ul></li></ul></section><aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in @tornado/sdk-core/dist/index.d.ts:38</li></ul></aside>
|
<li>Defined in @tornado/sdk-core/dist/index.d.ts:39</li></ul></aside>
|
||||||
<section class="tsd-panel-group tsd-index-group">
|
<section class="tsd-panel-group tsd-index-group">
|
||||||
<section class="tsd-panel tsd-index-panel">
|
<section class="tsd-panel tsd-index-panel">
|
||||||
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
|
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
|
||||||
@ -111,7 +111,7 @@
|
|||||||
<h4 class="tsd-returns-title">Returns <a href="../modules/Data.html" class="tsd-signature-type tsd-kind-namespace">Data</a><span class="tsd-signature-symbol">.</span><a href="../modules/Data.Docs.html" class="tsd-signature-type tsd-kind-namespace">Docs</a><span class="tsd-signature-symbol">.</span><a href="Data.Docs.Deposit.html" class="tsd-signature-type tsd-kind-class">Deposit</a></h4><aside class="tsd-sources">
|
<h4 class="tsd-returns-title">Returns <a href="../modules/Data.html" class="tsd-signature-type tsd-kind-namespace">Data</a><span class="tsd-signature-symbol">.</span><a href="../modules/Data.Docs.html" class="tsd-signature-type tsd-kind-namespace">Docs</a><span class="tsd-signature-symbol">.</span><a href="Data.Docs.Deposit.html" class="tsd-signature-type tsd-kind-class">Deposit</a></h4><aside class="tsd-sources">
|
||||||
<p>Overrides <a href="Data.Cache.Syncable.html">Syncable</a>.<a href="Data.Cache.Syncable.html#buildDoc">buildDoc</a></p>
|
<p>Overrides <a href="Data.Cache.Syncable.html">Syncable</a>.<a href="Data.Cache.Syncable.html#buildDoc">buildDoc</a></p>
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in @tornado/sdk-core/dist/index.d.ts:39</li></ul></aside></li></ul></section>
|
<li>Defined in @tornado/sdk-core/dist/index.d.ts:40</li></ul></aside></li></ul></section>
|
||||||
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="clear" class="tsd-anchor"></a>
|
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="clear" class="tsd-anchor"></a>
|
||||||
<h3 class="tsd-anchor-link"><span>clear</span><a href="#clear" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
<h3 class="tsd-anchor-link"><span>clear</span><a href="#clear" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||||
<ul class="tsd-signatures tsd-is-inherited">
|
<ul class="tsd-signatures tsd-is-inherited">
|
||||||
@ -157,7 +157,7 @@
|
|||||||
<h4 class="tsd-returns-title">Returns <a href="../types/Utils.AsyncUtils.Callback.html" class="tsd-signature-type tsd-kind-type-alias">Callback</a><span class="tsd-signature-symbol">[]</span></h4><aside class="tsd-sources">
|
<h4 class="tsd-returns-title">Returns <a href="../types/Utils.AsyncUtils.Callback.html" class="tsd-signature-type tsd-kind-type-alias">Callback</a><span class="tsd-signature-symbol">[]</span></h4><aside class="tsd-sources">
|
||||||
<p>Overrides <a href="Data.Cache.Syncable.html">Syncable</a>.<a href="Data.Cache.Syncable.html#getCallbacks">getCallbacks</a></p>
|
<p>Overrides <a href="Data.Cache.Syncable.html">Syncable</a>.<a href="Data.Cache.Syncable.html#getCallbacks">getCallbacks</a></p>
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in @tornado/sdk-core/dist/index.d.ts:41</li></ul></aside></li></ul></section>
|
<li>Defined in @tornado/sdk-core/dist/index.d.ts:42</li></ul></aside></li></ul></section>
|
||||||
<section class="tsd-panel tsd-member"><a id="getErrorHandlers" class="tsd-anchor"></a>
|
<section class="tsd-panel tsd-member"><a id="getErrorHandlers" class="tsd-anchor"></a>
|
||||||
<h3 class="tsd-anchor-link"><span>get<wbr/>Error<wbr/>Handlers</span><a href="#getErrorHandlers" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
<h3 class="tsd-anchor-link"><span>get<wbr/>Error<wbr/>Handlers</span><a href="#getErrorHandlers" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||||
<ul class="tsd-signatures">
|
<ul class="tsd-signatures">
|
||||||
@ -166,7 +166,7 @@
|
|||||||
<h4 class="tsd-returns-title">Returns <a href="../types/Utils.AsyncUtils.ErrorHandler.html" class="tsd-signature-type tsd-kind-type-alias">ErrorHandler</a><span class="tsd-signature-symbol">[]</span></h4><aside class="tsd-sources">
|
<h4 class="tsd-returns-title">Returns <a href="../types/Utils.AsyncUtils.ErrorHandler.html" class="tsd-signature-type tsd-kind-type-alias">ErrorHandler</a><span class="tsd-signature-symbol">[]</span></h4><aside class="tsd-sources">
|
||||||
<p>Overrides <a href="Data.Cache.Syncable.html">Syncable</a>.<a href="Data.Cache.Syncable.html#getErrorHandlers">getErrorHandlers</a></p>
|
<p>Overrides <a href="Data.Cache.Syncable.html">Syncable</a>.<a href="Data.Cache.Syncable.html#getErrorHandlers">getErrorHandlers</a></p>
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in @tornado/sdk-core/dist/index.d.ts:40</li></ul></aside></li></ul></section>
|
<li>Defined in @tornado/sdk-core/dist/index.d.ts:41</li></ul></aside></li></ul></section>
|
||||||
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="getRows" class="tsd-anchor"></a>
|
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="getRows" class="tsd-anchor"></a>
|
||||||
<h3 class="tsd-anchor-link"><span>get<wbr/>Rows</span><a href="#getRows" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
<h3 class="tsd-anchor-link"><span>get<wbr/>Rows</span><a href="#getRows" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||||
<ul class="tsd-signatures tsd-is-inherited">
|
<ul class="tsd-signatures tsd-is-inherited">
|
||||||
@ -435,6 +435,7 @@
|
|||||||
<li><a href="../functions/Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
<li><a href="../functions/Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
||||||
<li><a href="../functions/Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
<li><a href="../functions/Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
||||||
<li><a href="../functions/Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
<li><a href="../functions/Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
||||||
|
<li><a href="../functions/Network.Contracts.getRouter.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Router</span></a></li>
|
||||||
<li><a href="../functions/Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
<li><a href="../functions/Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
||||||
<li><a href="../functions/Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
<li><a href="../functions/Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
||||||
<li>
|
<li>
|
||||||
|
@ -482,6 +482,7 @@ handles such interactions.</p>
|
|||||||
<li><a href="../functions/Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
<li><a href="../functions/Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
||||||
<li><a href="../functions/Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
<li><a href="../functions/Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
||||||
<li><a href="../functions/Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
<li><a href="../functions/Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
||||||
|
<li><a href="../functions/Network.Contracts.getRouter.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Router</span></a></li>
|
||||||
<li><a href="../functions/Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
<li><a href="../functions/Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
||||||
<li><a href="../functions/Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
<li><a href="../functions/Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
||||||
<li>
|
<li>
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
<ul class="tsd-hierarchy">
|
<ul class="tsd-hierarchy">
|
||||||
<li><a href="Core.html" class="tsd-signature-type tsd-kind-class">Core</a></li></ul></li></ul></li></ul></section><aside class="tsd-sources">
|
<li><a href="Core.html" class="tsd-signature-type tsd-kind-class">Core</a></li></ul></li></ul></li></ul></section><aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in @tornado/sdk-chain/dist/index.d.ts:61</li></ul></aside>
|
<li>Defined in @tornado/sdk-chain/dist/index.d.ts:62</li></ul></aside>
|
||||||
<section class="tsd-panel-group tsd-index-group">
|
<section class="tsd-panel-group tsd-index-group">
|
||||||
<section class="tsd-panel tsd-index-panel">
|
<section class="tsd-panel tsd-index-panel">
|
||||||
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
|
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
|
||||||
@ -81,14 +81,14 @@
|
|||||||
<h4 class="tsd-returns-title">Returns <a href="Network.Synchronizer.html" class="tsd-signature-type tsd-kind-class">Synchronizer</a></h4><aside class="tsd-sources">
|
<h4 class="tsd-returns-title">Returns <a href="Network.Synchronizer.html" class="tsd-signature-type tsd-kind-class">Synchronizer</a></h4><aside class="tsd-sources">
|
||||||
<p>Overrides EventEmitter.constructor</p>
|
<p>Overrides EventEmitter.constructor</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in @tornado/sdk-chain/dist/index.d.ts:63</li></ul></aside></li></ul></section></section>
|
<li>Defined in @tornado/sdk-chain/dist/index.d.ts:64</li></ul></aside></li></ul></section></section>
|
||||||
<section class="tsd-panel-group tsd-member-group">
|
<section class="tsd-panel-group tsd-member-group">
|
||||||
<h2>Properties</h2>
|
<h2>Properties</h2>
|
||||||
<section class="tsd-panel tsd-member"><a id="caches" class="tsd-anchor"></a>
|
<section class="tsd-panel tsd-member"><a id="caches" class="tsd-anchor"></a>
|
||||||
<h3 class="tsd-anchor-link"><span>caches</span><a href="#caches" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
<h3 class="tsd-anchor-link"><span>caches</span><a href="#caches" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||||
<div class="tsd-signature"><span class="tsd-kind-property">caches</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type ">Map</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><a href="Data.Cache.Syncable.html" class="tsd-signature-type tsd-kind-class">Syncable</a><span class="tsd-signature-symbol"><</span><a href="../modules/Data.html" class="tsd-signature-type tsd-kind-namespace">Data</a><span class="tsd-signature-symbol">.</span><a href="../modules/Data.Docs.html" class="tsd-signature-type tsd-kind-namespace">Docs</a><span class="tsd-signature-symbol">.</span><a href="Data.Docs.Base.html" class="tsd-signature-type tsd-kind-class">Base</a><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">></span></div><aside class="tsd-sources">
|
<div class="tsd-signature"><span class="tsd-kind-property">caches</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type ">Map</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><a href="Data.Cache.Syncable.html" class="tsd-signature-type tsd-kind-class">Syncable</a><span class="tsd-signature-symbol"><</span><a href="../modules/Data.html" class="tsd-signature-type tsd-kind-namespace">Data</a><span class="tsd-signature-symbol">.</span><a href="../modules/Data.Docs.html" class="tsd-signature-type tsd-kind-namespace">Docs</a><span class="tsd-signature-symbol">.</span><a href="Data.Docs.Base.html" class="tsd-signature-type tsd-kind-class">Base</a><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">></span></div><aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in @tornado/sdk-chain/dist/index.d.ts:62</li></ul></aside></section>
|
<li>Defined in @tornado/sdk-chain/dist/index.d.ts:63</li></ul></aside></section>
|
||||||
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="captureRejectionSymbol" class="tsd-anchor"></a>
|
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="captureRejectionSymbol" class="tsd-anchor"></a>
|
||||||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <code class="tsd-tag ts-flagReadonly">Readonly</code> <span>capture<wbr/>Rejection<wbr/>Symbol</span><a href="#captureRejectionSymbol" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <code class="tsd-tag ts-flagReadonly">Readonly</code> <span>capture<wbr/>Rejection<wbr/>Symbol</span><a href="#captureRejectionSymbol" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||||
<div class="tsd-signature"><span class="tsd-kind-property">capture<wbr/>Rejection<wbr/>Symbol</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">typeof </span><a href="Network.Synchronizer.html#captureRejectionSymbol" class="tsd-signature-type tsd-kind-property">captureRejectionSymbol</a></div><aside class="tsd-sources">
|
<div class="tsd-signature"><span class="tsd-kind-property">capture<wbr/>Rejection<wbr/>Symbol</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">typeof </span><a href="Network.Synchronizer.html#captureRejectionSymbol" class="tsd-signature-type tsd-kind-property">captureRejectionSymbol</a></div><aside class="tsd-sources">
|
||||||
@ -136,7 +136,7 @@ regular <code>'error'</code> listener is installed.</p>
|
|||||||
<h5><span class="tsd-kind-parameter">options</span>: <a href="../modules/Network.html" class="tsd-signature-type tsd-kind-namespace">Network</a><span class="tsd-signature-symbol">.</span><a href="../modules/Network.Options.html" class="tsd-signature-type tsd-kind-namespace">Options</a><span class="tsd-signature-symbol">.</span><a href="../interfaces/Network.Options.Sync.html" class="tsd-signature-type tsd-kind-interface">Sync</a></h5></li></ul></div>
|
<h5><span class="tsd-kind-parameter">options</span>: <a href="../modules/Network.html" class="tsd-signature-type tsd-kind-namespace">Network</a><span class="tsd-signature-symbol">.</span><a href="../modules/Network.Options.html" class="tsd-signature-type tsd-kind-namespace">Options</a><span class="tsd-signature-symbol">.</span><a href="../interfaces/Network.Options.Sync.html" class="tsd-signature-type tsd-kind-interface">Sync</a></h5></li></ul></div>
|
||||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-symbol">{ </span><br/><span> </span><span class="tsd-kind-property">blockDelta</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-kind-property">blockDivisor</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-kind-property">concurrencyLimit</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-kind-property">listenForEvents</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-kind-property">msTimeout</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-kind-property">startBlock</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-kind-property">targetBlock</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-symbol">{ </span><br/><span> </span><span class="tsd-kind-property">blockDelta</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-kind-property">blockDivisor</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-kind-property">concurrencyLimit</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-kind-property">listenForEvents</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-kind-property">msTimeout</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-kind-property">startBlock</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-kind-property">targetBlock</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in @tornado/sdk-chain/dist/index.d.ts:68</li></ul></aside></li></ul></section>
|
<li>Defined in @tornado/sdk-chain/dist/index.d.ts:69</li></ul></aside></li></ul></section>
|
||||||
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="addListener" class="tsd-anchor"></a>
|
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="addListener" class="tsd-anchor"></a>
|
||||||
<h3 class="tsd-anchor-link"><span>add<wbr/>Listener</span><a href="#addListener" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
<h3 class="tsd-anchor-link"><span>add<wbr/>Listener</span><a href="#addListener" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||||
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
|
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
|
||||||
@ -184,7 +184,7 @@ regular <code>'error'</code> listener is installed.</p>
|
|||||||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">listenerIndex</span>: <span class="tsd-signature-type">number</span></h5></li></ul></div>
|
<h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">listenerIndex</span>: <span class="tsd-signature-type">number</span></h5></li></ul></div>
|
||||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in @tornado/sdk-chain/dist/index.d.ts:67</li></ul></aside></li></ul></section>
|
<li>Defined in @tornado/sdk-chain/dist/index.d.ts:68</li></ul></aside></li></ul></section>
|
||||||
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="emit" class="tsd-anchor"></a>
|
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="emit" class="tsd-anchor"></a>
|
||||||
<h3 class="tsd-anchor-link"><span>emit</span><a href="#emit" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
<h3 class="tsd-anchor-link"><span>emit</span><a href="#emit" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||||
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
|
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
|
||||||
@ -193,7 +193,7 @@ regular <code>'error'</code> listener is installed.</p>
|
|||||||
<div class="tsd-comment tsd-typography"><p>Synchronously calls each of the listeners registered for the event named<code>eventName</code>, in the order they were registered, passing the supplied arguments
|
<div class="tsd-comment tsd-typography"><p>Synchronously calls each of the listeners registered for the event named<code>eventName</code>, in the order they were registered, passing the supplied arguments
|
||||||
to each.</p>
|
to each.</p>
|
||||||
<p>Returns <code>true</code> if the event had listeners, <code>false</code> otherwise.</p>
|
<p>Returns <code>true</code> if the event had listeners, <code>false</code> otherwise.</p>
|
||||||
<pre><code class="language-js"><span class="hl-3">const</span><span class="hl-0"> </span><span class="hl-4">EventEmitter</span><span class="hl-0"> = </span><span class="hl-5">require</span><span class="hl-0">(</span><span class="hl-6">'events'</span><span class="hl-0">);</span><br/><span class="hl-3">const</span><span class="hl-0"> </span><span class="hl-4">myEmitter</span><span class="hl-0"> = </span><span class="hl-3">new</span><span class="hl-0"> </span><span class="hl-5">EventEmitter</span><span class="hl-0">();</span><br/><br/><span class="hl-7">// First listener</span><br/><span class="hl-1">myEmitter</span><span class="hl-0">.</span><span class="hl-5">on</span><span class="hl-0">(</span><span class="hl-6">'event'</span><span class="hl-0">, </span><span class="hl-3">function</span><span class="hl-0"> </span><span class="hl-5">firstListener</span><span class="hl-0">() {</span><br/><span class="hl-0"> </span><span class="hl-1">console</span><span class="hl-0">.</span><span class="hl-5">log</span><span class="hl-0">(</span><span class="hl-6">'Helloooo! first listener'</span><span class="hl-0">);</span><br/><span class="hl-0">});</span><br/><span class="hl-7">// Second listener</span><br/><span class="hl-1">myEmitter</span><span class="hl-0">.</span><span class="hl-5">on</span><span class="hl-0">(</span><span class="hl-6">'event'</span><span class="hl-0">, </span><span class="hl-3">function</span><span class="hl-0"> </span><span class="hl-5">secondListener</span><span class="hl-0">(</span><span class="hl-1">arg1</span><span class="hl-0">, </span><span class="hl-1">arg2</span><span class="hl-0">) {</span><br/><span class="hl-0"> </span><span class="hl-1">console</span><span class="hl-0">.</span><span class="hl-5">log</span><span class="hl-0">(</span><span class="hl-6">`event with parameters </span><span class="hl-3">${</span><span class="hl-1">arg1</span><span class="hl-3">}</span><span class="hl-6">, </span><span class="hl-3">${</span><span class="hl-1">arg2</span><span class="hl-3">}</span><span class="hl-6"> in second listener`</span><span class="hl-0">);</span><br/><span class="hl-0">});</span><br/><span class="hl-7">// Third listener</span><br/><span class="hl-1">myEmitter</span><span class="hl-0">.</span><span class="hl-5">on</span><span class="hl-0">(</span><span class="hl-6">'event'</span><span class="hl-0">, </span><span class="hl-3">function</span><span class="hl-0"> </span><span class="hl-5">thirdListener</span><span class="hl-0">(...</span><span class="hl-1">args</span><span class="hl-0">) {</span><br/><span class="hl-0"> </span><span class="hl-3">const</span><span class="hl-0"> </span><span class="hl-4">parameters</span><span class="hl-0"> = </span><span class="hl-1">args</span><span class="hl-0">.</span><span class="hl-5">join</span><span class="hl-0">(</span><span class="hl-6">', '</span><span class="hl-0">);</span><br/><span class="hl-0"> </span><span class="hl-1">console</span><span class="hl-0">.</span><span class="hl-5">log</span><span class="hl-0">(</span><span class="hl-6">`event with parameters </span><span class="hl-3">${</span><span class="hl-1">parameters</span><span class="hl-3">}</span><span class="hl-6"> in third listener`</span><span class="hl-0">);</span><br/><span class="hl-0">});</span><br/><br/><span class="hl-1">console</span><span class="hl-0">.</span><span class="hl-5">log</span><span class="hl-0">(</span><span class="hl-1">myEmitter</span><span class="hl-0">.</span><span class="hl-5">listeners</span><span class="hl-0">(</span><span class="hl-6">'event'</span><span class="hl-0">));</span><br/><br/><span class="hl-1">myEmitter</span><span class="hl-0">.</span><span class="hl-5">emit</span><span class="hl-0">(</span><span class="hl-6">'event'</span><span class="hl-0">, </span><span class="hl-2">1</span><span class="hl-0">, </span><span class="hl-2">2</span><span class="hl-0">, </span><span class="hl-2">3</span><span class="hl-0">, </span><span class="hl-2">4</span><span class="hl-0">, </span><span class="hl-2">5</span><span class="hl-0">);</span><br/><br/><span class="hl-7">// Prints:</span><br/><span class="hl-7">// [</span><br/><span class="hl-7">// [Function: firstListener],</span><br/><span class="hl-7">// [Function: secondListener],</span><br/><span class="hl-7">// [Function: thirdListener]</span><br/><span class="hl-7">// ]</span><br/><span class="hl-7">// Helloooo! first listener</span><br/><span class="hl-7">// event with parameters 1, 2 in second listener</span><br/><span class="hl-7">// event with parameters 1, 2, 3, 4, 5 in third listener</span>
|
<pre><code class="language-js"><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-4">EventEmitter</span><span class="hl-1"> = </span><span class="hl-5">require</span><span class="hl-1">(</span><span class="hl-6">'events'</span><span class="hl-1">);</span><br/><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-4">myEmitter</span><span class="hl-1"> = </span><span class="hl-3">new</span><span class="hl-1"> </span><span class="hl-5">EventEmitter</span><span class="hl-1">();</span><br/><br/><span class="hl-7">// First listener</span><br/><span class="hl-0">myEmitter</span><span class="hl-1">.</span><span class="hl-5">on</span><span class="hl-1">(</span><span class="hl-6">'event'</span><span class="hl-1">, </span><span class="hl-3">function</span><span class="hl-1"> </span><span class="hl-5">firstListener</span><span class="hl-1">() {</span><br/><span class="hl-1"> </span><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-5">log</span><span class="hl-1">(</span><span class="hl-6">'Helloooo! first listener'</span><span class="hl-1">);</span><br/><span class="hl-1">});</span><br/><span class="hl-7">// Second listener</span><br/><span class="hl-0">myEmitter</span><span class="hl-1">.</span><span class="hl-5">on</span><span class="hl-1">(</span><span class="hl-6">'event'</span><span class="hl-1">, </span><span class="hl-3">function</span><span class="hl-1"> </span><span class="hl-5">secondListener</span><span class="hl-1">(</span><span class="hl-0">arg1</span><span class="hl-1">, </span><span class="hl-0">arg2</span><span class="hl-1">) {</span><br/><span class="hl-1"> </span><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-5">log</span><span class="hl-1">(</span><span class="hl-6">`event with parameters </span><span class="hl-3">${</span><span class="hl-0">arg1</span><span class="hl-3">}</span><span class="hl-6">, </span><span class="hl-3">${</span><span class="hl-0">arg2</span><span class="hl-3">}</span><span class="hl-6"> in second listener`</span><span class="hl-1">);</span><br/><span class="hl-1">});</span><br/><span class="hl-7">// Third listener</span><br/><span class="hl-0">myEmitter</span><span class="hl-1">.</span><span class="hl-5">on</span><span class="hl-1">(</span><span class="hl-6">'event'</span><span class="hl-1">, </span><span class="hl-3">function</span><span class="hl-1"> </span><span class="hl-5">thirdListener</span><span class="hl-1">(...</span><span class="hl-0">args</span><span class="hl-1">) {</span><br/><span class="hl-1"> </span><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-4">parameters</span><span class="hl-1"> = </span><span class="hl-0">args</span><span class="hl-1">.</span><span class="hl-5">join</span><span class="hl-1">(</span><span class="hl-6">', '</span><span class="hl-1">);</span><br/><span class="hl-1"> </span><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-5">log</span><span class="hl-1">(</span><span class="hl-6">`event with parameters </span><span class="hl-3">${</span><span class="hl-0">parameters</span><span class="hl-3">}</span><span class="hl-6"> in third listener`</span><span class="hl-1">);</span><br/><span class="hl-1">});</span><br/><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-5">log</span><span class="hl-1">(</span><span class="hl-0">myEmitter</span><span class="hl-1">.</span><span class="hl-5">listeners</span><span class="hl-1">(</span><span class="hl-6">'event'</span><span class="hl-1">));</span><br/><br/><span class="hl-0">myEmitter</span><span class="hl-1">.</span><span class="hl-5">emit</span><span class="hl-1">(</span><span class="hl-6">'event'</span><span class="hl-1">, </span><span class="hl-2">1</span><span class="hl-1">, </span><span class="hl-2">2</span><span class="hl-1">, </span><span class="hl-2">3</span><span class="hl-1">, </span><span class="hl-2">4</span><span class="hl-1">, </span><span class="hl-2">5</span><span class="hl-1">);</span><br/><br/><span class="hl-7">// Prints:</span><br/><span class="hl-7">// [</span><br/><span class="hl-7">// [Function: firstListener],</span><br/><span class="hl-7">// [Function: secondListener],</span><br/><span class="hl-7">// [Function: thirdListener]</span><br/><span class="hl-7">// ]</span><br/><span class="hl-7">// Helloooo! first listener</span><br/><span class="hl-7">// event with parameters 1, 2 in second listener</span><br/><span class="hl-7">// event with parameters 1, 2, 3, 4, 5 in third listener</span>
|
||||||
</code><button>Copy</button></pre>
|
</code><button>Copy</button></pre>
|
||||||
|
|
||||||
<h3>Since</h3><p>v0.1.26</p>
|
<h3>Since</h3><p>v0.1.26</p>
|
||||||
@ -216,7 +216,7 @@ to each.</p>
|
|||||||
<li class="tsd-description">
|
<li class="tsd-description">
|
||||||
<div class="tsd-comment tsd-typography"><p>Returns an array listing the events for which the emitter has registered
|
<div class="tsd-comment tsd-typography"><p>Returns an array listing the events for which the emitter has registered
|
||||||
listeners. The values in the array are strings or <code>Symbol</code>s.</p>
|
listeners. The values in the array are strings or <code>Symbol</code>s.</p>
|
||||||
<pre><code class="language-js"><span class="hl-3">const</span><span class="hl-0"> </span><span class="hl-4">EventEmitter</span><span class="hl-0"> = </span><span class="hl-5">require</span><span class="hl-0">(</span><span class="hl-6">'events'</span><span class="hl-0">);</span><br/><span class="hl-3">const</span><span class="hl-0"> </span><span class="hl-4">myEE</span><span class="hl-0"> = </span><span class="hl-3">new</span><span class="hl-0"> </span><span class="hl-5">EventEmitter</span><span class="hl-0">();</span><br/><span class="hl-1">myEE</span><span class="hl-0">.</span><span class="hl-5">on</span><span class="hl-0">(</span><span class="hl-6">'foo'</span><span class="hl-0">, () </span><span class="hl-3">=></span><span class="hl-0"> {});</span><br/><span class="hl-1">myEE</span><span class="hl-0">.</span><span class="hl-5">on</span><span class="hl-0">(</span><span class="hl-6">'bar'</span><span class="hl-0">, () </span><span class="hl-3">=></span><span class="hl-0"> {});</span><br/><br/><span class="hl-3">const</span><span class="hl-0"> </span><span class="hl-4">sym</span><span class="hl-0"> = </span><span class="hl-5">Symbol</span><span class="hl-0">(</span><span class="hl-6">'symbol'</span><span class="hl-0">);</span><br/><span class="hl-1">myEE</span><span class="hl-0">.</span><span class="hl-5">on</span><span class="hl-0">(</span><span class="hl-1">sym</span><span class="hl-0">, () </span><span class="hl-3">=></span><span class="hl-0"> {});</span><br/><br/><span class="hl-1">console</span><span class="hl-0">.</span><span class="hl-5">log</span><span class="hl-0">(</span><span class="hl-1">myEE</span><span class="hl-0">.</span><span class="hl-5">eventNames</span><span class="hl-0">());</span><br/><span class="hl-7">// Prints: [ 'foo', 'bar', Symbol(symbol) ]</span>
|
<pre><code class="language-js"><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-4">EventEmitter</span><span class="hl-1"> = </span><span class="hl-5">require</span><span class="hl-1">(</span><span class="hl-6">'events'</span><span class="hl-1">);</span><br/><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-4">myEE</span><span class="hl-1"> = </span><span class="hl-3">new</span><span class="hl-1"> </span><span class="hl-5">EventEmitter</span><span class="hl-1">();</span><br/><span class="hl-0">myEE</span><span class="hl-1">.</span><span class="hl-5">on</span><span class="hl-1">(</span><span class="hl-6">'foo'</span><span class="hl-1">, () </span><span class="hl-3">=></span><span class="hl-1"> {});</span><br/><span class="hl-0">myEE</span><span class="hl-1">.</span><span class="hl-5">on</span><span class="hl-1">(</span><span class="hl-6">'bar'</span><span class="hl-1">, () </span><span class="hl-3">=></span><span class="hl-1"> {});</span><br/><br/><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-4">sym</span><span class="hl-1"> = </span><span class="hl-5">Symbol</span><span class="hl-1">(</span><span class="hl-6">'symbol'</span><span class="hl-1">);</span><br/><span class="hl-0">myEE</span><span class="hl-1">.</span><span class="hl-5">on</span><span class="hl-1">(</span><span class="hl-0">sym</span><span class="hl-1">, () </span><span class="hl-3">=></span><span class="hl-1"> {});</span><br/><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-5">log</span><span class="hl-1">(</span><span class="hl-0">myEE</span><span class="hl-1">.</span><span class="hl-5">eventNames</span><span class="hl-1">());</span><br/><span class="hl-7">// Prints: [ 'foo', 'bar', Symbol(symbol) ]</span>
|
||||||
</code><button>Copy</button></pre>
|
</code><button>Copy</button></pre>
|
||||||
|
|
||||||
<h3>Since</h3><p>v6.0.0</p>
|
<h3>Since</h3><p>v6.0.0</p>
|
||||||
@ -257,7 +257,7 @@ set by <code>emitter.setMaxListeners(n)</code> or defaults to <a href="Network.S
|
|||||||
<h5><span class="tsd-kind-parameter">cache</span>: <a href="Data.Cache.Syncable.html" class="tsd-signature-type tsd-kind-class">Syncable</a><span class="tsd-signature-symbol"><</span><a href="../modules/Data.html" class="tsd-signature-type tsd-kind-namespace">Data</a><span class="tsd-signature-symbol">.</span><a href="../modules/Data.Docs.html" class="tsd-signature-type tsd-kind-namespace">Docs</a><span class="tsd-signature-symbol">.</span><a href="Data.Docs.Base.html" class="tsd-signature-type tsd-kind-class">Base</a><span class="tsd-signature-symbol">></span></h5></li></ul></div>
|
<h5><span class="tsd-kind-parameter">cache</span>: <a href="Data.Cache.Syncable.html" class="tsd-signature-type tsd-kind-class">Syncable</a><span class="tsd-signature-symbol"><</span><a href="../modules/Data.html" class="tsd-signature-type tsd-kind-namespace">Data</a><span class="tsd-signature-symbol">.</span><a href="../modules/Data.Docs.html" class="tsd-signature-type tsd-kind-namespace">Docs</a><span class="tsd-signature-symbol">.</span><a href="Data.Docs.Base.html" class="tsd-signature-type tsd-kind-class">Base</a><span class="tsd-signature-symbol">></span></h5></li></ul></div>
|
||||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in @tornado/sdk-chain/dist/index.d.ts:66</li></ul></aside></li></ul></section>
|
<li>Defined in @tornado/sdk-chain/dist/index.d.ts:67</li></ul></aside></li></ul></section>
|
||||||
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="listenerCount" class="tsd-anchor"></a>
|
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="listenerCount" class="tsd-anchor"></a>
|
||||||
<h3 class="tsd-anchor-link"><span>listener<wbr/>Count</span><a href="#listenerCount" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
<h3 class="tsd-anchor-link"><span>listener<wbr/>Count</span><a href="#listenerCount" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||||
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
|
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
|
||||||
@ -290,7 +290,7 @@ is found in the list of the listeners of the event.</p>
|
|||||||
<li class="tsd-signature tsd-anchor-link" id="listeners.listeners-1"><span class="tsd-kind-call-signature">listeners</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">eventName</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type ">Function</span><span class="tsd-signature-symbol">[]</span><a href="#listeners.listeners-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
<li class="tsd-signature tsd-anchor-link" id="listeners.listeners-1"><span class="tsd-kind-call-signature">listeners</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">eventName</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type ">Function</span><span class="tsd-signature-symbol">[]</span><a href="#listeners.listeners-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
||||||
<li class="tsd-description">
|
<li class="tsd-description">
|
||||||
<div class="tsd-comment tsd-typography"><p>Returns a copy of the array of listeners for the event named <code>eventName</code>.</p>
|
<div class="tsd-comment tsd-typography"><p>Returns a copy of the array of listeners for the event named <code>eventName</code>.</p>
|
||||||
<pre><code class="language-js"><span class="hl-1">server</span><span class="hl-0">.</span><span class="hl-5">on</span><span class="hl-0">(</span><span class="hl-6">'connection'</span><span class="hl-0">, (</span><span class="hl-1">stream</span><span class="hl-0">) </span><span class="hl-3">=></span><span class="hl-0"> {</span><br/><span class="hl-0"> </span><span class="hl-1">console</span><span class="hl-0">.</span><span class="hl-5">log</span><span class="hl-0">(</span><span class="hl-6">'someone connected!'</span><span class="hl-0">);</span><br/><span class="hl-0">});</span><br/><span class="hl-1">console</span><span class="hl-0">.</span><span class="hl-5">log</span><span class="hl-0">(</span><span class="hl-1">util</span><span class="hl-0">.</span><span class="hl-5">inspect</span><span class="hl-0">(</span><span class="hl-1">server</span><span class="hl-0">.</span><span class="hl-5">listeners</span><span class="hl-0">(</span><span class="hl-6">'connection'</span><span class="hl-0">)));</span><br/><span class="hl-7">// Prints: [ [Function] ]</span>
|
<pre><code class="language-js"><span class="hl-0">server</span><span class="hl-1">.</span><span class="hl-5">on</span><span class="hl-1">(</span><span class="hl-6">'connection'</span><span class="hl-1">, (</span><span class="hl-0">stream</span><span class="hl-1">) </span><span class="hl-3">=></span><span class="hl-1"> {</span><br/><span class="hl-1"> </span><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-5">log</span><span class="hl-1">(</span><span class="hl-6">'someone connected!'</span><span class="hl-1">);</span><br/><span class="hl-1">});</span><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-5">log</span><span class="hl-1">(</span><span class="hl-0">util</span><span class="hl-1">.</span><span class="hl-5">inspect</span><span class="hl-1">(</span><span class="hl-0">server</span><span class="hl-1">.</span><span class="hl-5">listeners</span><span class="hl-1">(</span><span class="hl-6">'connection'</span><span class="hl-1">)));</span><br/><span class="hl-7">// Prints: [ [Function] ]</span>
|
||||||
</code><button>Copy</button></pre>
|
</code><button>Copy</button></pre>
|
||||||
|
|
||||||
<h3>Since</h3><p>v0.1.26</p>
|
<h3>Since</h3><p>v0.1.26</p>
|
||||||
@ -323,7 +323,7 @@ is found in the list of the listeners of the event.</p>
|
|||||||
<h5><span class="tsd-kind-parameter">name</span>: <span class="tsd-signature-type">string</span></h5></li></ul></div>
|
<h5><span class="tsd-kind-parameter">name</span>: <span class="tsd-signature-type">string</span></h5></li></ul></div>
|
||||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type tsd-kind-type-parameter">C</span></h4><aside class="tsd-sources">
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type tsd-kind-type-parameter">C</span></h4><aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in @tornado/sdk-chain/dist/index.d.ts:65</li></ul></aside></li></ul></section>
|
<li>Defined in @tornado/sdk-chain/dist/index.d.ts:66</li></ul></aside></li></ul></section>
|
||||||
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="off" class="tsd-anchor"></a>
|
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="off" class="tsd-anchor"></a>
|
||||||
<h3 class="tsd-anchor-link"><span>off</span><a href="#off" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
<h3 class="tsd-anchor-link"><span>off</span><a href="#off" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||||
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
|
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
|
||||||
@ -364,12 +364,12 @@ is found in the list of the listeners of the event.</p>
|
|||||||
event named <code>eventName</code>. No checks are made to see if the <code>listener</code> has
|
event named <code>eventName</code>. No checks are made to see if the <code>listener</code> has
|
||||||
already been added. Multiple calls passing the same combination of <code>eventName</code>and <code>listener</code> will result in the <code>listener</code> being added, and called, multiple
|
already been added. Multiple calls passing the same combination of <code>eventName</code>and <code>listener</code> will result in the <code>listener</code> being added, and called, multiple
|
||||||
times.</p>
|
times.</p>
|
||||||
<pre><code class="language-js"><span class="hl-1">server</span><span class="hl-0">.</span><span class="hl-5">on</span><span class="hl-0">(</span><span class="hl-6">'connection'</span><span class="hl-0">, (</span><span class="hl-1">stream</span><span class="hl-0">) </span><span class="hl-3">=></span><span class="hl-0"> {</span><br/><span class="hl-0"> </span><span class="hl-1">console</span><span class="hl-0">.</span><span class="hl-5">log</span><span class="hl-0">(</span><span class="hl-6">'someone connected!'</span><span class="hl-0">);</span><br/><span class="hl-0">});</span>
|
<pre><code class="language-js"><span class="hl-0">server</span><span class="hl-1">.</span><span class="hl-5">on</span><span class="hl-1">(</span><span class="hl-6">'connection'</span><span class="hl-1">, (</span><span class="hl-0">stream</span><span class="hl-1">) </span><span class="hl-3">=></span><span class="hl-1"> {</span><br/><span class="hl-1"> </span><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-5">log</span><span class="hl-1">(</span><span class="hl-6">'someone connected!'</span><span class="hl-1">);</span><br/><span class="hl-1">});</span>
|
||||||
</code><button>Copy</button></pre>
|
</code><button>Copy</button></pre>
|
||||||
<p>Returns a reference to the <code>EventEmitter</code>, so that calls can be chained.</p>
|
<p>Returns a reference to the <code>EventEmitter</code>, so that calls can be chained.</p>
|
||||||
<p>By default, event listeners are invoked in the order they are added. The<code>emitter.prependListener()</code> method can be used as an alternative to add the
|
<p>By default, event listeners are invoked in the order they are added. The<code>emitter.prependListener()</code> method can be used as an alternative to add the
|
||||||
event listener to the beginning of the listeners array.</p>
|
event listener to the beginning of the listeners array.</p>
|
||||||
<pre><code class="language-js"><span class="hl-3">const</span><span class="hl-0"> </span><span class="hl-4">myEE</span><span class="hl-0"> = </span><span class="hl-3">new</span><span class="hl-0"> </span><span class="hl-5">EventEmitter</span><span class="hl-0">();</span><br/><span class="hl-1">myEE</span><span class="hl-0">.</span><span class="hl-5">on</span><span class="hl-0">(</span><span class="hl-6">'foo'</span><span class="hl-0">, () </span><span class="hl-3">=></span><span class="hl-0"> </span><span class="hl-1">console</span><span class="hl-0">.</span><span class="hl-5">log</span><span class="hl-0">(</span><span class="hl-6">'a'</span><span class="hl-0">));</span><br/><span class="hl-1">myEE</span><span class="hl-0">.</span><span class="hl-5">prependListener</span><span class="hl-0">(</span><span class="hl-6">'foo'</span><span class="hl-0">, () </span><span class="hl-3">=></span><span class="hl-0"> </span><span class="hl-1">console</span><span class="hl-0">.</span><span class="hl-5">log</span><span class="hl-0">(</span><span class="hl-6">'b'</span><span class="hl-0">));</span><br/><span class="hl-1">myEE</span><span class="hl-0">.</span><span class="hl-5">emit</span><span class="hl-0">(</span><span class="hl-6">'foo'</span><span class="hl-0">);</span><br/><span class="hl-7">// Prints:</span><br/><span class="hl-7">// b</span><br/><span class="hl-7">// a</span>
|
<pre><code class="language-js"><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-4">myEE</span><span class="hl-1"> = </span><span class="hl-3">new</span><span class="hl-1"> </span><span class="hl-5">EventEmitter</span><span class="hl-1">();</span><br/><span class="hl-0">myEE</span><span class="hl-1">.</span><span class="hl-5">on</span><span class="hl-1">(</span><span class="hl-6">'foo'</span><span class="hl-1">, () </span><span class="hl-3">=></span><span class="hl-1"> </span><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-5">log</span><span class="hl-1">(</span><span class="hl-6">'a'</span><span class="hl-1">));</span><br/><span class="hl-0">myEE</span><span class="hl-1">.</span><span class="hl-5">prependListener</span><span class="hl-1">(</span><span class="hl-6">'foo'</span><span class="hl-1">, () </span><span class="hl-3">=></span><span class="hl-1"> </span><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-5">log</span><span class="hl-1">(</span><span class="hl-6">'b'</span><span class="hl-1">));</span><br/><span class="hl-0">myEE</span><span class="hl-1">.</span><span class="hl-5">emit</span><span class="hl-1">(</span><span class="hl-6">'foo'</span><span class="hl-1">);</span><br/><span class="hl-7">// Prints:</span><br/><span class="hl-7">// b</span><br/><span class="hl-7">// a</span>
|
||||||
</code><button>Copy</button></pre>
|
</code><button>Copy</button></pre>
|
||||||
|
|
||||||
<h3>Since</h3><p>v0.1.101</p>
|
<h3>Since</h3><p>v0.1.101</p>
|
||||||
@ -407,12 +407,12 @@ event listener to the beginning of the listeners array.</p>
|
|||||||
<li class="tsd-description">
|
<li class="tsd-description">
|
||||||
<div class="tsd-comment tsd-typography"><p>Adds a <strong>one-time</strong><code>listener</code> function for the event named <code>eventName</code>. The
|
<div class="tsd-comment tsd-typography"><p>Adds a <strong>one-time</strong><code>listener</code> function for the event named <code>eventName</code>. The
|
||||||
next time <code>eventName</code> is triggered, this listener is removed and then invoked.</p>
|
next time <code>eventName</code> is triggered, this listener is removed and then invoked.</p>
|
||||||
<pre><code class="language-js"><span class="hl-1">server</span><span class="hl-0">.</span><span class="hl-5">once</span><span class="hl-0">(</span><span class="hl-6">'connection'</span><span class="hl-0">, (</span><span class="hl-1">stream</span><span class="hl-0">) </span><span class="hl-3">=></span><span class="hl-0"> {</span><br/><span class="hl-0"> </span><span class="hl-1">console</span><span class="hl-0">.</span><span class="hl-5">log</span><span class="hl-0">(</span><span class="hl-6">'Ah, we have our first user!'</span><span class="hl-0">);</span><br/><span class="hl-0">});</span>
|
<pre><code class="language-js"><span class="hl-0">server</span><span class="hl-1">.</span><span class="hl-5">once</span><span class="hl-1">(</span><span class="hl-6">'connection'</span><span class="hl-1">, (</span><span class="hl-0">stream</span><span class="hl-1">) </span><span class="hl-3">=></span><span class="hl-1"> {</span><br/><span class="hl-1"> </span><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-5">log</span><span class="hl-1">(</span><span class="hl-6">'Ah, we have our first user!'</span><span class="hl-1">);</span><br/><span class="hl-1">});</span>
|
||||||
</code><button>Copy</button></pre>
|
</code><button>Copy</button></pre>
|
||||||
<p>Returns a reference to the <code>EventEmitter</code>, so that calls can be chained.</p>
|
<p>Returns a reference to the <code>EventEmitter</code>, so that calls can be chained.</p>
|
||||||
<p>By default, event listeners are invoked in the order they are added. The<code>emitter.prependOnceListener()</code> method can be used as an alternative to add the
|
<p>By default, event listeners are invoked in the order they are added. The<code>emitter.prependOnceListener()</code> method can be used as an alternative to add the
|
||||||
event listener to the beginning of the listeners array.</p>
|
event listener to the beginning of the listeners array.</p>
|
||||||
<pre><code class="language-js"><span class="hl-3">const</span><span class="hl-0"> </span><span class="hl-4">myEE</span><span class="hl-0"> = </span><span class="hl-3">new</span><span class="hl-0"> </span><span class="hl-5">EventEmitter</span><span class="hl-0">();</span><br/><span class="hl-1">myEE</span><span class="hl-0">.</span><span class="hl-5">once</span><span class="hl-0">(</span><span class="hl-6">'foo'</span><span class="hl-0">, () </span><span class="hl-3">=></span><span class="hl-0"> </span><span class="hl-1">console</span><span class="hl-0">.</span><span class="hl-5">log</span><span class="hl-0">(</span><span class="hl-6">'a'</span><span class="hl-0">));</span><br/><span class="hl-1">myEE</span><span class="hl-0">.</span><span class="hl-5">prependOnceListener</span><span class="hl-0">(</span><span class="hl-6">'foo'</span><span class="hl-0">, () </span><span class="hl-3">=></span><span class="hl-0"> </span><span class="hl-1">console</span><span class="hl-0">.</span><span class="hl-5">log</span><span class="hl-0">(</span><span class="hl-6">'b'</span><span class="hl-0">));</span><br/><span class="hl-1">myEE</span><span class="hl-0">.</span><span class="hl-5">emit</span><span class="hl-0">(</span><span class="hl-6">'foo'</span><span class="hl-0">);</span><br/><span class="hl-7">// Prints:</span><br/><span class="hl-7">// b</span><br/><span class="hl-7">// a</span>
|
<pre><code class="language-js"><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-4">myEE</span><span class="hl-1"> = </span><span class="hl-3">new</span><span class="hl-1"> </span><span class="hl-5">EventEmitter</span><span class="hl-1">();</span><br/><span class="hl-0">myEE</span><span class="hl-1">.</span><span class="hl-5">once</span><span class="hl-1">(</span><span class="hl-6">'foo'</span><span class="hl-1">, () </span><span class="hl-3">=></span><span class="hl-1"> </span><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-5">log</span><span class="hl-1">(</span><span class="hl-6">'a'</span><span class="hl-1">));</span><br/><span class="hl-0">myEE</span><span class="hl-1">.</span><span class="hl-5">prependOnceListener</span><span class="hl-1">(</span><span class="hl-6">'foo'</span><span class="hl-1">, () </span><span class="hl-3">=></span><span class="hl-1"> </span><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-5">log</span><span class="hl-1">(</span><span class="hl-6">'b'</span><span class="hl-1">));</span><br/><span class="hl-0">myEE</span><span class="hl-1">.</span><span class="hl-5">emit</span><span class="hl-1">(</span><span class="hl-6">'foo'</span><span class="hl-1">);</span><br/><span class="hl-7">// Prints:</span><br/><span class="hl-7">// b</span><br/><span class="hl-7">// a</span>
|
||||||
</code><button>Copy</button></pre>
|
</code><button>Copy</button></pre>
|
||||||
|
|
||||||
<h3>Since</h3><p>v0.3.0</p>
|
<h3>Since</h3><p>v0.3.0</p>
|
||||||
@ -452,7 +452,7 @@ event listener to the beginning of the listeners array.</p>
|
|||||||
event named <code>eventName</code>. No checks are made to see if the <code>listener</code> has
|
event named <code>eventName</code>. No checks are made to see if the <code>listener</code> has
|
||||||
already been added. Multiple calls passing the same combination of <code>eventName</code>and <code>listener</code> will result in the <code>listener</code> being added, and called, multiple
|
already been added. Multiple calls passing the same combination of <code>eventName</code>and <code>listener</code> will result in the <code>listener</code> being added, and called, multiple
|
||||||
times.</p>
|
times.</p>
|
||||||
<pre><code class="language-js"><span class="hl-1">server</span><span class="hl-0">.</span><span class="hl-5">prependListener</span><span class="hl-0">(</span><span class="hl-6">'connection'</span><span class="hl-0">, (</span><span class="hl-1">stream</span><span class="hl-0">) </span><span class="hl-3">=></span><span class="hl-0"> {</span><br/><span class="hl-0"> </span><span class="hl-1">console</span><span class="hl-0">.</span><span class="hl-5">log</span><span class="hl-0">(</span><span class="hl-6">'someone connected!'</span><span class="hl-0">);</span><br/><span class="hl-0">});</span>
|
<pre><code class="language-js"><span class="hl-0">server</span><span class="hl-1">.</span><span class="hl-5">prependListener</span><span class="hl-1">(</span><span class="hl-6">'connection'</span><span class="hl-1">, (</span><span class="hl-0">stream</span><span class="hl-1">) </span><span class="hl-3">=></span><span class="hl-1"> {</span><br/><span class="hl-1"> </span><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-5">log</span><span class="hl-1">(</span><span class="hl-6">'someone connected!'</span><span class="hl-1">);</span><br/><span class="hl-1">});</span>
|
||||||
</code><button>Copy</button></pre>
|
</code><button>Copy</button></pre>
|
||||||
<p>Returns a reference to the <code>EventEmitter</code>, so that calls can be chained.</p>
|
<p>Returns a reference to the <code>EventEmitter</code>, so that calls can be chained.</p>
|
||||||
|
|
||||||
@ -491,7 +491,7 @@ times.</p>
|
|||||||
<li class="tsd-description">
|
<li class="tsd-description">
|
||||||
<div class="tsd-comment tsd-typography"><p>Adds a <strong>one-time</strong><code>listener</code> function for the event named <code>eventName</code> to the <em>beginning</em> of the listeners array. The next time <code>eventName</code> is triggered, this
|
<div class="tsd-comment tsd-typography"><p>Adds a <strong>one-time</strong><code>listener</code> function for the event named <code>eventName</code> to the <em>beginning</em> of the listeners array. The next time <code>eventName</code> is triggered, this
|
||||||
listener is removed, and then invoked.</p>
|
listener is removed, and then invoked.</p>
|
||||||
<pre><code class="language-js"><span class="hl-1">server</span><span class="hl-0">.</span><span class="hl-5">prependOnceListener</span><span class="hl-0">(</span><span class="hl-6">'connection'</span><span class="hl-0">, (</span><span class="hl-1">stream</span><span class="hl-0">) </span><span class="hl-3">=></span><span class="hl-0"> {</span><br/><span class="hl-0"> </span><span class="hl-1">console</span><span class="hl-0">.</span><span class="hl-5">log</span><span class="hl-0">(</span><span class="hl-6">'Ah, we have our first user!'</span><span class="hl-0">);</span><br/><span class="hl-0">});</span>
|
<pre><code class="language-js"><span class="hl-0">server</span><span class="hl-1">.</span><span class="hl-5">prependOnceListener</span><span class="hl-1">(</span><span class="hl-6">'connection'</span><span class="hl-1">, (</span><span class="hl-0">stream</span><span class="hl-1">) </span><span class="hl-3">=></span><span class="hl-1"> {</span><br/><span class="hl-1"> </span><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-5">log</span><span class="hl-1">(</span><span class="hl-6">'Ah, we have our first user!'</span><span class="hl-1">);</span><br/><span class="hl-1">});</span>
|
||||||
</code><button>Copy</button></pre>
|
</code><button>Copy</button></pre>
|
||||||
<p>Returns a reference to the <code>EventEmitter</code>, so that calls can be chained.</p>
|
<p>Returns a reference to the <code>EventEmitter</code>, so that calls can be chained.</p>
|
||||||
|
|
||||||
@ -530,7 +530,7 @@ listener is removed, and then invoked.</p>
|
|||||||
<li class="tsd-description">
|
<li class="tsd-description">
|
||||||
<div class="tsd-comment tsd-typography"><p>Returns a copy of the array of listeners for the event named <code>eventName</code>,
|
<div class="tsd-comment tsd-typography"><p>Returns a copy of the array of listeners for the event named <code>eventName</code>,
|
||||||
including any wrappers (such as those created by <code>.once()</code>).</p>
|
including any wrappers (such as those created by <code>.once()</code>).</p>
|
||||||
<pre><code class="language-js"><span class="hl-3">const</span><span class="hl-0"> </span><span class="hl-4">emitter</span><span class="hl-0"> = </span><span class="hl-3">new</span><span class="hl-0"> </span><span class="hl-5">EventEmitter</span><span class="hl-0">();</span><br/><span class="hl-1">emitter</span><span class="hl-0">.</span><span class="hl-5">once</span><span class="hl-0">(</span><span class="hl-6">'log'</span><span class="hl-0">, () </span><span class="hl-3">=></span><span class="hl-0"> </span><span class="hl-1">console</span><span class="hl-0">.</span><span class="hl-5">log</span><span class="hl-0">(</span><span class="hl-6">'log once'</span><span class="hl-0">));</span><br/><br/><span class="hl-7">// Returns a new Array with a function `onceWrapper` which has a property</span><br/><span class="hl-7">// `listener` which contains the original listener bound above</span><br/><span class="hl-3">const</span><span class="hl-0"> </span><span class="hl-4">listeners</span><span class="hl-0"> = </span><span class="hl-1">emitter</span><span class="hl-0">.</span><span class="hl-5">rawListeners</span><span class="hl-0">(</span><span class="hl-6">'log'</span><span class="hl-0">);</span><br/><span class="hl-3">const</span><span class="hl-0"> </span><span class="hl-4">logFnWrapper</span><span class="hl-0"> = </span><span class="hl-1">listeners</span><span class="hl-0">[</span><span class="hl-2">0</span><span class="hl-0">];</span><br/><br/><span class="hl-7">// Logs "log once" to the console and does not unbind the `once` event</span><br/><span class="hl-1">logFnWrapper</span><span class="hl-0">.</span><span class="hl-5">listener</span><span class="hl-0">();</span><br/><br/><span class="hl-7">// Logs "log once" to the console and removes the listener</span><br/><span class="hl-5">logFnWrapper</span><span class="hl-0">();</span><br/><br/><span class="hl-1">emitter</span><span class="hl-0">.</span><span class="hl-5">on</span><span class="hl-0">(</span><span class="hl-6">'log'</span><span class="hl-0">, () </span><span class="hl-3">=></span><span class="hl-0"> </span><span class="hl-1">console</span><span class="hl-0">.</span><span class="hl-5">log</span><span class="hl-0">(</span><span class="hl-6">'log persistently'</span><span class="hl-0">));</span><br/><span class="hl-7">// Will return a new Array with a single function bound by `.on()` above</span><br/><span class="hl-3">const</span><span class="hl-0"> </span><span class="hl-4">newListeners</span><span class="hl-0"> = </span><span class="hl-1">emitter</span><span class="hl-0">.</span><span class="hl-5">rawListeners</span><span class="hl-0">(</span><span class="hl-6">'log'</span><span class="hl-0">);</span><br/><br/><span class="hl-7">// Logs "log persistently" twice</span><br/><span class="hl-1">newListeners</span><span class="hl-0">[</span><span class="hl-2">0</span><span class="hl-0">]();</span><br/><span class="hl-1">emitter</span><span class="hl-0">.</span><span class="hl-5">emit</span><span class="hl-0">(</span><span class="hl-6">'log'</span><span class="hl-0">);</span>
|
<pre><code class="language-js"><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-4">emitter</span><span class="hl-1"> = </span><span class="hl-3">new</span><span class="hl-1"> </span><span class="hl-5">EventEmitter</span><span class="hl-1">();</span><br/><span class="hl-0">emitter</span><span class="hl-1">.</span><span class="hl-5">once</span><span class="hl-1">(</span><span class="hl-6">'log'</span><span class="hl-1">, () </span><span class="hl-3">=></span><span class="hl-1"> </span><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-5">log</span><span class="hl-1">(</span><span class="hl-6">'log once'</span><span class="hl-1">));</span><br/><br/><span class="hl-7">// Returns a new Array with a function `onceWrapper` which has a property</span><br/><span class="hl-7">// `listener` which contains the original listener bound above</span><br/><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-4">listeners</span><span class="hl-1"> = </span><span class="hl-0">emitter</span><span class="hl-1">.</span><span class="hl-5">rawListeners</span><span class="hl-1">(</span><span class="hl-6">'log'</span><span class="hl-1">);</span><br/><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-4">logFnWrapper</span><span class="hl-1"> = </span><span class="hl-0">listeners</span><span class="hl-1">[</span><span class="hl-2">0</span><span class="hl-1">];</span><br/><br/><span class="hl-7">// Logs "log once" to the console and does not unbind the `once` event</span><br/><span class="hl-0">logFnWrapper</span><span class="hl-1">.</span><span class="hl-5">listener</span><span class="hl-1">();</span><br/><br/><span class="hl-7">// Logs "log once" to the console and removes the listener</span><br/><span class="hl-5">logFnWrapper</span><span class="hl-1">();</span><br/><br/><span class="hl-0">emitter</span><span class="hl-1">.</span><span class="hl-5">on</span><span class="hl-1">(</span><span class="hl-6">'log'</span><span class="hl-1">, () </span><span class="hl-3">=></span><span class="hl-1"> </span><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-5">log</span><span class="hl-1">(</span><span class="hl-6">'log persistently'</span><span class="hl-1">));</span><br/><span class="hl-7">// Will return a new Array with a single function bound by `.on()` above</span><br/><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-4">newListeners</span><span class="hl-1"> = </span><span class="hl-0">emitter</span><span class="hl-1">.</span><span class="hl-5">rawListeners</span><span class="hl-1">(</span><span class="hl-6">'log'</span><span class="hl-1">);</span><br/><br/><span class="hl-7">// Logs "log persistently" twice</span><br/><span class="hl-0">newListeners</span><span class="hl-1">[</span><span class="hl-2">0</span><span class="hl-1">]();</span><br/><span class="hl-0">emitter</span><span class="hl-1">.</span><span class="hl-5">emit</span><span class="hl-1">(</span><span class="hl-6">'log'</span><span class="hl-1">);</span>
|
||||||
</code><button>Copy</button></pre>
|
</code><button>Copy</button></pre>
|
||||||
|
|
||||||
<h3>Since</h3><p>v9.4.0</p>
|
<h3>Since</h3><p>v9.4.0</p>
|
||||||
@ -572,7 +572,7 @@ component or module (e.g. sockets or file streams).</p>
|
|||||||
<li class="tsd-signature tsd-anchor-link" id="removeListener.removeListener-1"><span class="tsd-kind-call-signature">remove<wbr/>Listener</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">eventName</span>, <span class="tsd-kind-parameter">listener</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="Network.Synchronizer.html" class="tsd-signature-type tsd-kind-class">Synchronizer</a><a href="#removeListener.removeListener-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
<li class="tsd-signature tsd-anchor-link" id="removeListener.removeListener-1"><span class="tsd-kind-call-signature">remove<wbr/>Listener</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">eventName</span>, <span class="tsd-kind-parameter">listener</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="Network.Synchronizer.html" class="tsd-signature-type tsd-kind-class">Synchronizer</a><a href="#removeListener.removeListener-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
||||||
<li class="tsd-description">
|
<li class="tsd-description">
|
||||||
<div class="tsd-comment tsd-typography"><p>Removes the specified <code>listener</code> from the listener array for the event named<code>eventName</code>.</p>
|
<div class="tsd-comment tsd-typography"><p>Removes the specified <code>listener</code> from the listener array for the event named<code>eventName</code>.</p>
|
||||||
<pre><code class="language-js"><span class="hl-3">const</span><span class="hl-0"> </span><span class="hl-5">callback</span><span class="hl-0"> = (</span><span class="hl-1">stream</span><span class="hl-0">) </span><span class="hl-3">=></span><span class="hl-0"> {</span><br/><span class="hl-0"> </span><span class="hl-1">console</span><span class="hl-0">.</span><span class="hl-5">log</span><span class="hl-0">(</span><span class="hl-6">'someone connected!'</span><span class="hl-0">);</span><br/><span class="hl-0">};</span><br/><span class="hl-1">server</span><span class="hl-0">.</span><span class="hl-5">on</span><span class="hl-0">(</span><span class="hl-6">'connection'</span><span class="hl-0">, </span><span class="hl-1">callback</span><span class="hl-0">);</span><br/><span class="hl-7">// ...</span><br/><span class="hl-1">server</span><span class="hl-0">.</span><span class="hl-5">removeListener</span><span class="hl-0">(</span><span class="hl-6">'connection'</span><span class="hl-0">, </span><span class="hl-1">callback</span><span class="hl-0">);</span>
|
<pre><code class="language-js"><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-5">callback</span><span class="hl-1"> = (</span><span class="hl-0">stream</span><span class="hl-1">) </span><span class="hl-3">=></span><span class="hl-1"> {</span><br/><span class="hl-1"> </span><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-5">log</span><span class="hl-1">(</span><span class="hl-6">'someone connected!'</span><span class="hl-1">);</span><br/><span class="hl-1">};</span><br/><span class="hl-0">server</span><span class="hl-1">.</span><span class="hl-5">on</span><span class="hl-1">(</span><span class="hl-6">'connection'</span><span class="hl-1">, </span><span class="hl-0">callback</span><span class="hl-1">);</span><br/><span class="hl-7">// ...</span><br/><span class="hl-0">server</span><span class="hl-1">.</span><span class="hl-5">removeListener</span><span class="hl-1">(</span><span class="hl-6">'connection'</span><span class="hl-1">, </span><span class="hl-0">callback</span><span class="hl-1">);</span>
|
||||||
</code><button>Copy</button></pre>
|
</code><button>Copy</button></pre>
|
||||||
<p><code>removeListener()</code> will remove, at most, one instance of a listener from the
|
<p><code>removeListener()</code> will remove, at most, one instance of a listener from the
|
||||||
listener array. If any single listener has been added multiple times to the
|
listener array. If any single listener has been added multiple times to the
|
||||||
@ -581,7 +581,7 @@ called multiple times to remove each instance.</p>
|
|||||||
<p>Once an event is emitted, all listeners attached to it at the
|
<p>Once an event is emitted, all listeners attached to it at the
|
||||||
time of emitting are called in order. This implies that any<code>removeListener()</code> or <code>removeAllListeners()</code> calls <em>after</em> emitting and <em>before</em> the last listener finishes execution
|
time of emitting are called in order. This implies that any<code>removeListener()</code> or <code>removeAllListeners()</code> calls <em>after</em> emitting and <em>before</em> the last listener finishes execution
|
||||||
will not remove them from<code>emit()</code> in progress. Subsequent events behave as expected.</p>
|
will not remove them from<code>emit()</code> in progress. Subsequent events behave as expected.</p>
|
||||||
<pre><code class="language-js"><span class="hl-3">const</span><span class="hl-0"> </span><span class="hl-4">myEmitter</span><span class="hl-0"> = </span><span class="hl-3">new</span><span class="hl-0"> </span><span class="hl-5">MyEmitter</span><span class="hl-0">();</span><br/><br/><span class="hl-3">const</span><span class="hl-0"> </span><span class="hl-5">callbackA</span><span class="hl-0"> = () </span><span class="hl-3">=></span><span class="hl-0"> {</span><br/><span class="hl-0"> </span><span class="hl-1">console</span><span class="hl-0">.</span><span class="hl-5">log</span><span class="hl-0">(</span><span class="hl-6">'A'</span><span class="hl-0">);</span><br/><span class="hl-0"> </span><span class="hl-1">myEmitter</span><span class="hl-0">.</span><span class="hl-5">removeListener</span><span class="hl-0">(</span><span class="hl-6">'event'</span><span class="hl-0">, </span><span class="hl-1">callbackB</span><span class="hl-0">);</span><br/><span class="hl-0">};</span><br/><br/><span class="hl-3">const</span><span class="hl-0"> </span><span class="hl-5">callbackB</span><span class="hl-0"> = () </span><span class="hl-3">=></span><span class="hl-0"> {</span><br/><span class="hl-0"> </span><span class="hl-1">console</span><span class="hl-0">.</span><span class="hl-5">log</span><span class="hl-0">(</span><span class="hl-6">'B'</span><span class="hl-0">);</span><br/><span class="hl-0">};</span><br/><br/><span class="hl-1">myEmitter</span><span class="hl-0">.</span><span class="hl-5">on</span><span class="hl-0">(</span><span class="hl-6">'event'</span><span class="hl-0">, </span><span class="hl-1">callbackA</span><span class="hl-0">);</span><br/><br/><span class="hl-1">myEmitter</span><span class="hl-0">.</span><span class="hl-5">on</span><span class="hl-0">(</span><span class="hl-6">'event'</span><span class="hl-0">, </span><span class="hl-1">callbackB</span><span class="hl-0">);</span><br/><br/><span class="hl-7">// callbackA removes listener callbackB but it will still be called.</span><br/><span class="hl-7">// Internal listener array at time of emit [callbackA, callbackB]</span><br/><span class="hl-1">myEmitter</span><span class="hl-0">.</span><span class="hl-5">emit</span><span class="hl-0">(</span><span class="hl-6">'event'</span><span class="hl-0">);</span><br/><span class="hl-7">// Prints:</span><br/><span class="hl-7">// A</span><br/><span class="hl-7">// B</span><br/><br/><span class="hl-7">// callbackB is now removed.</span><br/><span class="hl-7">// Internal listener array [callbackA]</span><br/><span class="hl-1">myEmitter</span><span class="hl-0">.</span><span class="hl-5">emit</span><span class="hl-0">(</span><span class="hl-6">'event'</span><span class="hl-0">);</span><br/><span class="hl-7">// Prints:</span><br/><span class="hl-7">// A</span>
|
<pre><code class="language-js"><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-4">myEmitter</span><span class="hl-1"> = </span><span class="hl-3">new</span><span class="hl-1"> </span><span class="hl-5">MyEmitter</span><span class="hl-1">();</span><br/><br/><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-5">callbackA</span><span class="hl-1"> = () </span><span class="hl-3">=></span><span class="hl-1"> {</span><br/><span class="hl-1"> </span><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-5">log</span><span class="hl-1">(</span><span class="hl-6">'A'</span><span class="hl-1">);</span><br/><span class="hl-1"> </span><span class="hl-0">myEmitter</span><span class="hl-1">.</span><span class="hl-5">removeListener</span><span class="hl-1">(</span><span class="hl-6">'event'</span><span class="hl-1">, </span><span class="hl-0">callbackB</span><span class="hl-1">);</span><br/><span class="hl-1">};</span><br/><br/><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-5">callbackB</span><span class="hl-1"> = () </span><span class="hl-3">=></span><span class="hl-1"> {</span><br/><span class="hl-1"> </span><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-5">log</span><span class="hl-1">(</span><span class="hl-6">'B'</span><span class="hl-1">);</span><br/><span class="hl-1">};</span><br/><br/><span class="hl-0">myEmitter</span><span class="hl-1">.</span><span class="hl-5">on</span><span class="hl-1">(</span><span class="hl-6">'event'</span><span class="hl-1">, </span><span class="hl-0">callbackA</span><span class="hl-1">);</span><br/><br/><span class="hl-0">myEmitter</span><span class="hl-1">.</span><span class="hl-5">on</span><span class="hl-1">(</span><span class="hl-6">'event'</span><span class="hl-1">, </span><span class="hl-0">callbackB</span><span class="hl-1">);</span><br/><br/><span class="hl-7">// callbackA removes listener callbackB but it will still be called.</span><br/><span class="hl-7">// Internal listener array at time of emit [callbackA, callbackB]</span><br/><span class="hl-0">myEmitter</span><span class="hl-1">.</span><span class="hl-5">emit</span><span class="hl-1">(</span><span class="hl-6">'event'</span><span class="hl-1">);</span><br/><span class="hl-7">// Prints:</span><br/><span class="hl-7">// A</span><br/><span class="hl-7">// B</span><br/><br/><span class="hl-7">// callbackB is now removed.</span><br/><span class="hl-7">// Internal listener array [callbackA]</span><br/><span class="hl-0">myEmitter</span><span class="hl-1">.</span><span class="hl-5">emit</span><span class="hl-1">(</span><span class="hl-6">'event'</span><span class="hl-1">);</span><br/><span class="hl-7">// Prints:</span><br/><span class="hl-7">// A</span>
|
||||||
</code><button>Copy</button></pre>
|
</code><button>Copy</button></pre>
|
||||||
<p>Because listeners are managed using an internal array, calling this will
|
<p>Because listeners are managed using an internal array, calling this will
|
||||||
change the position indices of any listener registered <em>after</em> the listener
|
change the position indices of any listener registered <em>after</em> the listener
|
||||||
@ -591,7 +591,7 @@ the <code>emitter.listeners()</code> method will need to be recreated.</p>
|
|||||||
<p>When a single function has been added as a handler multiple times for a single
|
<p>When a single function has been added as a handler multiple times for a single
|
||||||
event (as in the example below), <code>removeListener()</code> will remove the most
|
event (as in the example below), <code>removeListener()</code> will remove the most
|
||||||
recently added instance. In the example the <code>once('ping')</code>listener is removed:</p>
|
recently added instance. In the example the <code>once('ping')</code>listener is removed:</p>
|
||||||
<pre><code class="language-js"><span class="hl-3">const</span><span class="hl-0"> </span><span class="hl-4">ee</span><span class="hl-0"> = </span><span class="hl-3">new</span><span class="hl-0"> </span><span class="hl-5">EventEmitter</span><span class="hl-0">();</span><br/><br/><span class="hl-3">function</span><span class="hl-0"> </span><span class="hl-5">pong</span><span class="hl-0">() {</span><br/><span class="hl-0"> </span><span class="hl-1">console</span><span class="hl-0">.</span><span class="hl-5">log</span><span class="hl-0">(</span><span class="hl-6">'pong'</span><span class="hl-0">);</span><br/><span class="hl-0">}</span><br/><br/><span class="hl-1">ee</span><span class="hl-0">.</span><span class="hl-5">on</span><span class="hl-0">(</span><span class="hl-6">'ping'</span><span class="hl-0">, </span><span class="hl-1">pong</span><span class="hl-0">);</span><br/><span class="hl-1">ee</span><span class="hl-0">.</span><span class="hl-5">once</span><span class="hl-0">(</span><span class="hl-6">'ping'</span><span class="hl-0">, </span><span class="hl-1">pong</span><span class="hl-0">);</span><br/><span class="hl-1">ee</span><span class="hl-0">.</span><span class="hl-5">removeListener</span><span class="hl-0">(</span><span class="hl-6">'ping'</span><span class="hl-0">, </span><span class="hl-1">pong</span><span class="hl-0">);</span><br/><br/><span class="hl-1">ee</span><span class="hl-0">.</span><span class="hl-5">emit</span><span class="hl-0">(</span><span class="hl-6">'ping'</span><span class="hl-0">);</span><br/><span class="hl-1">ee</span><span class="hl-0">.</span><span class="hl-5">emit</span><span class="hl-0">(</span><span class="hl-6">'ping'</span><span class="hl-0">);</span>
|
<pre><code class="language-js"><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-4">ee</span><span class="hl-1"> = </span><span class="hl-3">new</span><span class="hl-1"> </span><span class="hl-5">EventEmitter</span><span class="hl-1">();</span><br/><br/><span class="hl-3">function</span><span class="hl-1"> </span><span class="hl-5">pong</span><span class="hl-1">() {</span><br/><span class="hl-1"> </span><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-5">log</span><span class="hl-1">(</span><span class="hl-6">'pong'</span><span class="hl-1">);</span><br/><span class="hl-1">}</span><br/><br/><span class="hl-0">ee</span><span class="hl-1">.</span><span class="hl-5">on</span><span class="hl-1">(</span><span class="hl-6">'ping'</span><span class="hl-1">, </span><span class="hl-0">pong</span><span class="hl-1">);</span><br/><span class="hl-0">ee</span><span class="hl-1">.</span><span class="hl-5">once</span><span class="hl-1">(</span><span class="hl-6">'ping'</span><span class="hl-1">, </span><span class="hl-0">pong</span><span class="hl-1">);</span><br/><span class="hl-0">ee</span><span class="hl-1">.</span><span class="hl-5">removeListener</span><span class="hl-1">(</span><span class="hl-6">'ping'</span><span class="hl-1">, </span><span class="hl-0">pong</span><span class="hl-1">);</span><br/><br/><span class="hl-0">ee</span><span class="hl-1">.</span><span class="hl-5">emit</span><span class="hl-1">(</span><span class="hl-6">'ping'</span><span class="hl-1">);</span><br/><span class="hl-0">ee</span><span class="hl-1">.</span><span class="hl-5">emit</span><span class="hl-1">(</span><span class="hl-6">'ping'</span><span class="hl-1">);</span>
|
||||||
</code><button>Copy</button></pre>
|
</code><button>Copy</button></pre>
|
||||||
<p>Returns a reference to the <code>EventEmitter</code>, so that calls can be chained.</p>
|
<p>Returns a reference to the <code>EventEmitter</code>, so that calls can be chained.</p>
|
||||||
|
|
||||||
@ -661,7 +661,7 @@ modified for this specific <code>EventEmitter</code> instance. The value can be
|
|||||||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">options</span>: <a href="../modules/Network.html" class="tsd-signature-type tsd-kind-namespace">Network</a><span class="tsd-signature-symbol">.</span><a href="../modules/Network.Options.html" class="tsd-signature-type tsd-kind-namespace">Options</a><span class="tsd-signature-symbol">.</span><a href="../interfaces/Network.Options.Sync.html" class="tsd-signature-type tsd-kind-interface">Sync</a></h5></li></ul></div>
|
<h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">options</span>: <a href="../modules/Network.html" class="tsd-signature-type tsd-kind-namespace">Network</a><span class="tsd-signature-symbol">.</span><a href="../modules/Network.Options.html" class="tsd-signature-type tsd-kind-namespace">Options</a><span class="tsd-signature-symbol">.</span><a href="../interfaces/Network.Options.Sync.html" class="tsd-signature-type tsd-kind-interface">Sync</a></h5></li></ul></div>
|
||||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in @tornado/sdk-chain/dist/index.d.ts:64</li></ul></aside></li></ul></section>
|
<li>Defined in @tornado/sdk-chain/dist/index.d.ts:65</li></ul></aside></li></ul></section>
|
||||||
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="getEventListeners" class="tsd-anchor"></a>
|
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="getEventListeners" class="tsd-anchor"></a>
|
||||||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <span>get<wbr/>Event<wbr/>Listeners</span><a href="#getEventListeners" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <span>get<wbr/>Event<wbr/>Listeners</span><a href="#getEventListeners" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||||
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
|
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
|
||||||
@ -672,7 +672,7 @@ modified for this specific <code>EventEmitter</code> instance. The value can be
|
|||||||
the emitter.</p>
|
the emitter.</p>
|
||||||
<p>For <code>EventTarget</code>s this is the only way to get the event listeners for the
|
<p>For <code>EventTarget</code>s this is the only way to get the event listeners for the
|
||||||
event target. This is useful for debugging and diagnostic purposes.</p>
|
event target. This is useful for debugging and diagnostic purposes.</p>
|
||||||
<pre><code class="language-js"><span class="hl-3">const</span><span class="hl-0"> { </span><span class="hl-4">getEventListeners</span><span class="hl-0">, </span><span class="hl-4">EventEmitter</span><span class="hl-0"> } = </span><span class="hl-5">require</span><span class="hl-0">(</span><span class="hl-6">'events'</span><span class="hl-0">);</span><br/><br/><span class="hl-0">{</span><br/><span class="hl-0"> </span><span class="hl-3">const</span><span class="hl-0"> </span><span class="hl-4">ee</span><span class="hl-0"> = </span><span class="hl-3">new</span><span class="hl-0"> </span><span class="hl-5">EventEmitter</span><span class="hl-0">();</span><br/><span class="hl-0"> </span><span class="hl-3">const</span><span class="hl-0"> </span><span class="hl-5">listener</span><span class="hl-0"> = () </span><span class="hl-3">=></span><span class="hl-0"> </span><span class="hl-1">console</span><span class="hl-0">.</span><span class="hl-5">log</span><span class="hl-0">(</span><span class="hl-6">'Events are fun'</span><span class="hl-0">);</span><br/><span class="hl-0"> </span><span class="hl-1">ee</span><span class="hl-0">.</span><span class="hl-5">on</span><span class="hl-0">(</span><span class="hl-6">'foo'</span><span class="hl-0">, </span><span class="hl-1">listener</span><span class="hl-0">);</span><br/><span class="hl-0"> </span><span class="hl-5">getEventListeners</span><span class="hl-0">(</span><span class="hl-1">ee</span><span class="hl-0">, </span><span class="hl-6">'foo'</span><span class="hl-0">); </span><span class="hl-7">// [listener]</span><br/><span class="hl-0">}</span><br/><span class="hl-0">{</span><br/><span class="hl-0"> </span><span class="hl-3">const</span><span class="hl-0"> </span><span class="hl-4">et</span><span class="hl-0"> = </span><span class="hl-3">new</span><span class="hl-0"> </span><span class="hl-5">EventTarget</span><span class="hl-0">();</span><br/><span class="hl-0"> </span><span class="hl-3">const</span><span class="hl-0"> </span><span class="hl-5">listener</span><span class="hl-0"> = () </span><span class="hl-3">=></span><span class="hl-0"> </span><span class="hl-1">console</span><span class="hl-0">.</span><span class="hl-5">log</span><span class="hl-0">(</span><span class="hl-6">'Events are fun'</span><span class="hl-0">);</span><br/><span class="hl-0"> </span><span class="hl-1">et</span><span class="hl-0">.</span><span class="hl-5">addEventListener</span><span class="hl-0">(</span><span class="hl-6">'foo'</span><span class="hl-0">, </span><span class="hl-1">listener</span><span class="hl-0">);</span><br/><span class="hl-0"> </span><span class="hl-5">getEventListeners</span><span class="hl-0">(</span><span class="hl-1">et</span><span class="hl-0">, </span><span class="hl-6">'foo'</span><span class="hl-0">); </span><span class="hl-7">// [listener]</span><br/><span class="hl-0">}</span>
|
<pre><code class="language-js"><span class="hl-3">const</span><span class="hl-1"> { </span><span class="hl-4">getEventListeners</span><span class="hl-1">, </span><span class="hl-4">EventEmitter</span><span class="hl-1"> } = </span><span class="hl-5">require</span><span class="hl-1">(</span><span class="hl-6">'events'</span><span class="hl-1">);</span><br/><br/><span class="hl-1">{</span><br/><span class="hl-1"> </span><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-4">ee</span><span class="hl-1"> = </span><span class="hl-3">new</span><span class="hl-1"> </span><span class="hl-5">EventEmitter</span><span class="hl-1">();</span><br/><span class="hl-1"> </span><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-5">listener</span><span class="hl-1"> = () </span><span class="hl-3">=></span><span class="hl-1"> </span><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-5">log</span><span class="hl-1">(</span><span class="hl-6">'Events are fun'</span><span class="hl-1">);</span><br/><span class="hl-1"> </span><span class="hl-0">ee</span><span class="hl-1">.</span><span class="hl-5">on</span><span class="hl-1">(</span><span class="hl-6">'foo'</span><span class="hl-1">, </span><span class="hl-0">listener</span><span class="hl-1">);</span><br/><span class="hl-1"> </span><span class="hl-5">getEventListeners</span><span class="hl-1">(</span><span class="hl-0">ee</span><span class="hl-1">, </span><span class="hl-6">'foo'</span><span class="hl-1">); </span><span class="hl-7">// [listener]</span><br/><span class="hl-1">}</span><br/><span class="hl-1">{</span><br/><span class="hl-1"> </span><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-4">et</span><span class="hl-1"> = </span><span class="hl-3">new</span><span class="hl-1"> </span><span class="hl-5">EventTarget</span><span class="hl-1">();</span><br/><span class="hl-1"> </span><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-5">listener</span><span class="hl-1"> = () </span><span class="hl-3">=></span><span class="hl-1"> </span><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-5">log</span><span class="hl-1">(</span><span class="hl-6">'Events are fun'</span><span class="hl-1">);</span><br/><span class="hl-1"> </span><span class="hl-0">et</span><span class="hl-1">.</span><span class="hl-5">addEventListener</span><span class="hl-1">(</span><span class="hl-6">'foo'</span><span class="hl-1">, </span><span class="hl-0">listener</span><span class="hl-1">);</span><br/><span class="hl-1"> </span><span class="hl-5">getEventListeners</span><span class="hl-1">(</span><span class="hl-0">et</span><span class="hl-1">, </span><span class="hl-6">'foo'</span><span class="hl-1">); </span><span class="hl-7">// [listener]</span><br/><span class="hl-1">}</span>
|
||||||
</code><button>Copy</button></pre>
|
</code><button>Copy</button></pre>
|
||||||
|
|
||||||
<h3>Since</h3><p>v15.2.0, v14.17.0</p>
|
<h3>Since</h3><p>v15.2.0, v14.17.0</p>
|
||||||
@ -694,7 +694,7 @@ event target. This is useful for debugging and diagnostic purposes.</p>
|
|||||||
<li class="tsd-signature tsd-anchor-link" id="listenerCount-2.listenerCount-3"><span class="tsd-kind-call-signature">listener<wbr/>Count</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">emitter</span>, <span class="tsd-kind-parameter">eventName</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><a href="#listenerCount-2.listenerCount-3" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
<li class="tsd-signature tsd-anchor-link" id="listenerCount-2.listenerCount-3"><span class="tsd-kind-call-signature">listener<wbr/>Count</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">emitter</span>, <span class="tsd-kind-parameter">eventName</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><a href="#listenerCount-2.listenerCount-3" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
||||||
<li class="tsd-description">
|
<li class="tsd-description">
|
||||||
<div class="tsd-comment tsd-typography"><p>A class method that returns the number of listeners for the given <code>eventName</code>registered on the given <code>emitter</code>.</p>
|
<div class="tsd-comment tsd-typography"><p>A class method that returns the number of listeners for the given <code>eventName</code>registered on the given <code>emitter</code>.</p>
|
||||||
<pre><code class="language-js"><span class="hl-3">const</span><span class="hl-0"> { </span><span class="hl-4">EventEmitter</span><span class="hl-0">, </span><span class="hl-4">listenerCount</span><span class="hl-0"> } = </span><span class="hl-5">require</span><span class="hl-0">(</span><span class="hl-6">'events'</span><span class="hl-0">);</span><br/><span class="hl-3">const</span><span class="hl-0"> </span><span class="hl-4">myEmitter</span><span class="hl-0"> = </span><span class="hl-3">new</span><span class="hl-0"> </span><span class="hl-5">EventEmitter</span><span class="hl-0">();</span><br/><span class="hl-1">myEmitter</span><span class="hl-0">.</span><span class="hl-5">on</span><span class="hl-0">(</span><span class="hl-6">'event'</span><span class="hl-0">, () </span><span class="hl-3">=></span><span class="hl-0"> {});</span><br/><span class="hl-1">myEmitter</span><span class="hl-0">.</span><span class="hl-5">on</span><span class="hl-0">(</span><span class="hl-6">'event'</span><span class="hl-0">, () </span><span class="hl-3">=></span><span class="hl-0"> {});</span><br/><span class="hl-1">console</span><span class="hl-0">.</span><span class="hl-5">log</span><span class="hl-0">(</span><span class="hl-5">listenerCount</span><span class="hl-0">(</span><span class="hl-1">myEmitter</span><span class="hl-0">, </span><span class="hl-6">'event'</span><span class="hl-0">));</span><br/><span class="hl-7">// Prints: 2</span>
|
<pre><code class="language-js"><span class="hl-3">const</span><span class="hl-1"> { </span><span class="hl-4">EventEmitter</span><span class="hl-1">, </span><span class="hl-4">listenerCount</span><span class="hl-1"> } = </span><span class="hl-5">require</span><span class="hl-1">(</span><span class="hl-6">'events'</span><span class="hl-1">);</span><br/><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-4">myEmitter</span><span class="hl-1"> = </span><span class="hl-3">new</span><span class="hl-1"> </span><span class="hl-5">EventEmitter</span><span class="hl-1">();</span><br/><span class="hl-0">myEmitter</span><span class="hl-1">.</span><span class="hl-5">on</span><span class="hl-1">(</span><span class="hl-6">'event'</span><span class="hl-1">, () </span><span class="hl-3">=></span><span class="hl-1"> {});</span><br/><span class="hl-0">myEmitter</span><span class="hl-1">.</span><span class="hl-5">on</span><span class="hl-1">(</span><span class="hl-6">'event'</span><span class="hl-1">, () </span><span class="hl-3">=></span><span class="hl-1"> {});</span><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-5">log</span><span class="hl-1">(</span><span class="hl-5">listenerCount</span><span class="hl-1">(</span><span class="hl-0">myEmitter</span><span class="hl-1">, </span><span class="hl-6">'event'</span><span class="hl-1">));</span><br/><span class="hl-7">// Prints: 2</span>
|
||||||
</code><button>Copy</button></pre>
|
</code><button>Copy</button></pre>
|
||||||
|
|
||||||
<h3>Since</h3><p>v0.9.12</p>
|
<h3>Since</h3><p>v0.9.12</p>
|
||||||
@ -721,14 +721,14 @@ event target. This is useful for debugging and diagnostic purposes.</p>
|
|||||||
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
|
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
|
||||||
<li class="tsd-signature tsd-anchor-link" id="on-2.on-3"><span class="tsd-kind-call-signature">on</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">emitter</span>, <span class="tsd-kind-parameter">eventName</span>, <span class="tsd-kind-parameter">options</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type ">AsyncIterableIterator</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span><a href="#on-2.on-3" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
<li class="tsd-signature tsd-anchor-link" id="on-2.on-3"><span class="tsd-kind-call-signature">on</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">emitter</span>, <span class="tsd-kind-parameter">eventName</span>, <span class="tsd-kind-parameter">options</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type ">AsyncIterableIterator</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span><a href="#on-2.on-3" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
||||||
<li class="tsd-description">
|
<li class="tsd-description">
|
||||||
<div class="tsd-comment tsd-typography"><pre><code class="language-js"><span class="hl-3">const</span><span class="hl-0"> { </span><span class="hl-4">on</span><span class="hl-0">, </span><span class="hl-4">EventEmitter</span><span class="hl-0"> } = </span><span class="hl-5">require</span><span class="hl-0">(</span><span class="hl-6">'events'</span><span class="hl-0">);</span><br/><br/><span class="hl-0">(</span><span class="hl-3">async</span><span class="hl-0"> () </span><span class="hl-3">=></span><span class="hl-0"> {</span><br/><span class="hl-0"> </span><span class="hl-3">const</span><span class="hl-0"> </span><span class="hl-4">ee</span><span class="hl-0"> = </span><span class="hl-3">new</span><span class="hl-0"> </span><span class="hl-5">EventEmitter</span><span class="hl-0">();</span><br/><br/><span class="hl-0"> </span><span class="hl-7">// Emit later on</span><br/><span class="hl-0"> </span><span class="hl-1">process</span><span class="hl-0">.</span><span class="hl-5">nextTick</span><span class="hl-0">(() </span><span class="hl-3">=></span><span class="hl-0"> {</span><br/><span class="hl-0"> </span><span class="hl-1">ee</span><span class="hl-0">.</span><span class="hl-5">emit</span><span class="hl-0">(</span><span class="hl-6">'foo'</span><span class="hl-0">, </span><span class="hl-6">'bar'</span><span class="hl-0">);</span><br/><span class="hl-0"> </span><span class="hl-1">ee</span><span class="hl-0">.</span><span class="hl-5">emit</span><span class="hl-0">(</span><span class="hl-6">'foo'</span><span class="hl-0">, </span><span class="hl-2">42</span><span class="hl-0">);</span><br/><span class="hl-0"> });</span><br/><br/><span class="hl-0"> </span><span class="hl-8">for</span><span class="hl-0"> </span><span class="hl-8">await</span><span class="hl-0"> (</span><span class="hl-3">const</span><span class="hl-0"> </span><span class="hl-4">event</span><span class="hl-0"> </span><span class="hl-3">of</span><span class="hl-0"> </span><span class="hl-5">on</span><span class="hl-0">(</span><span class="hl-1">ee</span><span class="hl-0">, </span><span class="hl-6">'foo'</span><span class="hl-0">)) {</span><br/><span class="hl-0"> </span><span class="hl-7">// The execution of this inner block is synchronous and it</span><br/><span class="hl-0"> </span><span class="hl-7">// processes one event at a time (even with await). Do not use</span><br/><span class="hl-0"> </span><span class="hl-7">// if concurrent execution is required.</span><br/><span class="hl-0"> </span><span class="hl-1">console</span><span class="hl-0">.</span><span class="hl-5">log</span><span class="hl-0">(</span><span class="hl-1">event</span><span class="hl-0">); </span><span class="hl-7">// prints ['bar'] [42]</span><br/><span class="hl-0"> }</span><br/><span class="hl-0"> </span><span class="hl-7">// Unreachable here</span><br/><span class="hl-0">})();</span>
|
<div class="tsd-comment tsd-typography"><pre><code class="language-js"><span class="hl-3">const</span><span class="hl-1"> { </span><span class="hl-4">on</span><span class="hl-1">, </span><span class="hl-4">EventEmitter</span><span class="hl-1"> } = </span><span class="hl-5">require</span><span class="hl-1">(</span><span class="hl-6">'events'</span><span class="hl-1">);</span><br/><br/><span class="hl-1">(</span><span class="hl-3">async</span><span class="hl-1"> () </span><span class="hl-3">=></span><span class="hl-1"> {</span><br/><span class="hl-1"> </span><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-4">ee</span><span class="hl-1"> = </span><span class="hl-3">new</span><span class="hl-1"> </span><span class="hl-5">EventEmitter</span><span class="hl-1">();</span><br/><br/><span class="hl-1"> </span><span class="hl-7">// Emit later on</span><br/><span class="hl-1"> </span><span class="hl-0">process</span><span class="hl-1">.</span><span class="hl-5">nextTick</span><span class="hl-1">(() </span><span class="hl-3">=></span><span class="hl-1"> {</span><br/><span class="hl-1"> </span><span class="hl-0">ee</span><span class="hl-1">.</span><span class="hl-5">emit</span><span class="hl-1">(</span><span class="hl-6">'foo'</span><span class="hl-1">, </span><span class="hl-6">'bar'</span><span class="hl-1">);</span><br/><span class="hl-1"> </span><span class="hl-0">ee</span><span class="hl-1">.</span><span class="hl-5">emit</span><span class="hl-1">(</span><span class="hl-6">'foo'</span><span class="hl-1">, </span><span class="hl-2">42</span><span class="hl-1">);</span><br/><span class="hl-1"> });</span><br/><br/><span class="hl-1"> </span><span class="hl-8">for</span><span class="hl-1"> </span><span class="hl-8">await</span><span class="hl-1"> (</span><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-4">event</span><span class="hl-1"> </span><span class="hl-3">of</span><span class="hl-1"> </span><span class="hl-5">on</span><span class="hl-1">(</span><span class="hl-0">ee</span><span class="hl-1">, </span><span class="hl-6">'foo'</span><span class="hl-1">)) {</span><br/><span class="hl-1"> </span><span class="hl-7">// The execution of this inner block is synchronous and it</span><br/><span class="hl-1"> </span><span class="hl-7">// processes one event at a time (even with await). Do not use</span><br/><span class="hl-1"> </span><span class="hl-7">// if concurrent execution is required.</span><br/><span class="hl-1"> </span><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-5">log</span><span class="hl-1">(</span><span class="hl-0">event</span><span class="hl-1">); </span><span class="hl-7">// prints ['bar'] [42]</span><br/><span class="hl-1"> }</span><br/><span class="hl-1"> </span><span class="hl-7">// Unreachable here</span><br/><span class="hl-1">})();</span>
|
||||||
</code><button>Copy</button></pre>
|
</code><button>Copy</button></pre>
|
||||||
<p>Returns an <code>AsyncIterator</code> that iterates <code>eventName</code> events. It will throw
|
<p>Returns an <code>AsyncIterator</code> that iterates <code>eventName</code> events. It will throw
|
||||||
if the <code>EventEmitter</code> emits <code>'error'</code>. It removes all listeners when
|
if the <code>EventEmitter</code> emits <code>'error'</code>. It removes all listeners when
|
||||||
exiting the loop. The <code>value</code> returned by each iteration is an array
|
exiting the loop. The <code>value</code> returned by each iteration is an array
|
||||||
composed of the emitted event arguments.</p>
|
composed of the emitted event arguments.</p>
|
||||||
<p>An <code>AbortSignal</code> can be used to cancel waiting on events:</p>
|
<p>An <code>AbortSignal</code> can be used to cancel waiting on events:</p>
|
||||||
<pre><code class="language-js"><span class="hl-3">const</span><span class="hl-0"> { </span><span class="hl-4">on</span><span class="hl-0">, </span><span class="hl-4">EventEmitter</span><span class="hl-0"> } = </span><span class="hl-5">require</span><span class="hl-0">(</span><span class="hl-6">'events'</span><span class="hl-0">);</span><br/><span class="hl-3">const</span><span class="hl-0"> </span><span class="hl-4">ac</span><span class="hl-0"> = </span><span class="hl-3">new</span><span class="hl-0"> </span><span class="hl-5">AbortController</span><span class="hl-0">();</span><br/><br/><span class="hl-0">(</span><span class="hl-3">async</span><span class="hl-0"> () </span><span class="hl-3">=></span><span class="hl-0"> {</span><br/><span class="hl-0"> </span><span class="hl-3">const</span><span class="hl-0"> </span><span class="hl-4">ee</span><span class="hl-0"> = </span><span class="hl-3">new</span><span class="hl-0"> </span><span class="hl-5">EventEmitter</span><span class="hl-0">();</span><br/><br/><span class="hl-0"> </span><span class="hl-7">// Emit later on</span><br/><span class="hl-0"> </span><span class="hl-1">process</span><span class="hl-0">.</span><span class="hl-5">nextTick</span><span class="hl-0">(() </span><span class="hl-3">=></span><span class="hl-0"> {</span><br/><span class="hl-0"> </span><span class="hl-1">ee</span><span class="hl-0">.</span><span class="hl-5">emit</span><span class="hl-0">(</span><span class="hl-6">'foo'</span><span class="hl-0">, </span><span class="hl-6">'bar'</span><span class="hl-0">);</span><br/><span class="hl-0"> </span><span class="hl-1">ee</span><span class="hl-0">.</span><span class="hl-5">emit</span><span class="hl-0">(</span><span class="hl-6">'foo'</span><span class="hl-0">, </span><span class="hl-2">42</span><span class="hl-0">);</span><br/><span class="hl-0"> });</span><br/><br/><span class="hl-0"> </span><span class="hl-8">for</span><span class="hl-0"> </span><span class="hl-8">await</span><span class="hl-0"> (</span><span class="hl-3">const</span><span class="hl-0"> </span><span class="hl-4">event</span><span class="hl-0"> </span><span class="hl-3">of</span><span class="hl-0"> </span><span class="hl-5">on</span><span class="hl-0">(</span><span class="hl-1">ee</span><span class="hl-0">, </span><span class="hl-6">'foo'</span><span class="hl-0">, { </span><span class="hl-1">signal:</span><span class="hl-0"> </span><span class="hl-1">ac</span><span class="hl-0">.</span><span class="hl-1">signal</span><span class="hl-0"> })) {</span><br/><span class="hl-0"> </span><span class="hl-7">// The execution of this inner block is synchronous and it</span><br/><span class="hl-0"> </span><span class="hl-7">// processes one event at a time (even with await). Do not use</span><br/><span class="hl-0"> </span><span class="hl-7">// if concurrent execution is required.</span><br/><span class="hl-0"> </span><span class="hl-1">console</span><span class="hl-0">.</span><span class="hl-5">log</span><span class="hl-0">(</span><span class="hl-1">event</span><span class="hl-0">); </span><span class="hl-7">// prints ['bar'] [42]</span><br/><span class="hl-0"> }</span><br/><span class="hl-0"> </span><span class="hl-7">// Unreachable here</span><br/><span class="hl-0">})();</span><br/><br/><span class="hl-1">process</span><span class="hl-0">.</span><span class="hl-5">nextTick</span><span class="hl-0">(() </span><span class="hl-3">=></span><span class="hl-0"> </span><span class="hl-1">ac</span><span class="hl-0">.</span><span class="hl-5">abort</span><span class="hl-0">());</span>
|
<pre><code class="language-js"><span class="hl-3">const</span><span class="hl-1"> { </span><span class="hl-4">on</span><span class="hl-1">, </span><span class="hl-4">EventEmitter</span><span class="hl-1"> } = </span><span class="hl-5">require</span><span class="hl-1">(</span><span class="hl-6">'events'</span><span class="hl-1">);</span><br/><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-4">ac</span><span class="hl-1"> = </span><span class="hl-3">new</span><span class="hl-1"> </span><span class="hl-5">AbortController</span><span class="hl-1">();</span><br/><br/><span class="hl-1">(</span><span class="hl-3">async</span><span class="hl-1"> () </span><span class="hl-3">=></span><span class="hl-1"> {</span><br/><span class="hl-1"> </span><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-4">ee</span><span class="hl-1"> = </span><span class="hl-3">new</span><span class="hl-1"> </span><span class="hl-5">EventEmitter</span><span class="hl-1">();</span><br/><br/><span class="hl-1"> </span><span class="hl-7">// Emit later on</span><br/><span class="hl-1"> </span><span class="hl-0">process</span><span class="hl-1">.</span><span class="hl-5">nextTick</span><span class="hl-1">(() </span><span class="hl-3">=></span><span class="hl-1"> {</span><br/><span class="hl-1"> </span><span class="hl-0">ee</span><span class="hl-1">.</span><span class="hl-5">emit</span><span class="hl-1">(</span><span class="hl-6">'foo'</span><span class="hl-1">, </span><span class="hl-6">'bar'</span><span class="hl-1">);</span><br/><span class="hl-1"> </span><span class="hl-0">ee</span><span class="hl-1">.</span><span class="hl-5">emit</span><span class="hl-1">(</span><span class="hl-6">'foo'</span><span class="hl-1">, </span><span class="hl-2">42</span><span class="hl-1">);</span><br/><span class="hl-1"> });</span><br/><br/><span class="hl-1"> </span><span class="hl-8">for</span><span class="hl-1"> </span><span class="hl-8">await</span><span class="hl-1"> (</span><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-4">event</span><span class="hl-1"> </span><span class="hl-3">of</span><span class="hl-1"> </span><span class="hl-5">on</span><span class="hl-1">(</span><span class="hl-0">ee</span><span class="hl-1">, </span><span class="hl-6">'foo'</span><span class="hl-1">, { </span><span class="hl-0">signal:</span><span class="hl-1"> </span><span class="hl-0">ac</span><span class="hl-1">.</span><span class="hl-0">signal</span><span class="hl-1"> })) {</span><br/><span class="hl-1"> </span><span class="hl-7">// The execution of this inner block is synchronous and it</span><br/><span class="hl-1"> </span><span class="hl-7">// processes one event at a time (even with await). Do not use</span><br/><span class="hl-1"> </span><span class="hl-7">// if concurrent execution is required.</span><br/><span class="hl-1"> </span><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-5">log</span><span class="hl-1">(</span><span class="hl-0">event</span><span class="hl-1">); </span><span class="hl-7">// prints ['bar'] [42]</span><br/><span class="hl-1"> }</span><br/><span class="hl-1"> </span><span class="hl-7">// Unreachable here</span><br/><span class="hl-1">})();</span><br/><br/><span class="hl-0">process</span><span class="hl-1">.</span><span class="hl-5">nextTick</span><span class="hl-1">(() </span><span class="hl-3">=></span><span class="hl-1"> </span><span class="hl-0">ac</span><span class="hl-1">.</span><span class="hl-5">abort</span><span class="hl-1">());</span>
|
||||||
</code><button>Copy</button></pre>
|
</code><button>Copy</button></pre>
|
||||||
|
|
||||||
<h3>Since</h3><p>v13.6.0, v12.16.0</p>
|
<h3>Since</h3><p>v13.6.0, v12.16.0</p>
|
||||||
@ -760,15 +760,15 @@ The <code>Promise</code> will resolve with an array of all the arguments emitted
|
|||||||
given event.</p>
|
given event.</p>
|
||||||
<p>This method is intentionally generic and works with the web platform <a href="https://dom.spec.whatwg.org/#interface-eventtarget">EventTarget</a> interface, which has no special<code>'error'</code> event
|
<p>This method is intentionally generic and works with the web platform <a href="https://dom.spec.whatwg.org/#interface-eventtarget">EventTarget</a> interface, which has no special<code>'error'</code> event
|
||||||
semantics and does not listen to the <code>'error'</code> event.</p>
|
semantics and does not listen to the <code>'error'</code> event.</p>
|
||||||
<pre><code class="language-js"><span class="hl-3">const</span><span class="hl-0"> { </span><span class="hl-4">once</span><span class="hl-0">, </span><span class="hl-4">EventEmitter</span><span class="hl-0"> } = </span><span class="hl-5">require</span><span class="hl-0">(</span><span class="hl-6">'events'</span><span class="hl-0">);</span><br/><br/><span class="hl-3">async</span><span class="hl-0"> </span><span class="hl-3">function</span><span class="hl-0"> </span><span class="hl-5">run</span><span class="hl-0">() {</span><br/><span class="hl-0"> </span><span class="hl-3">const</span><span class="hl-0"> </span><span class="hl-4">ee</span><span class="hl-0"> = </span><span class="hl-3">new</span><span class="hl-0"> </span><span class="hl-5">EventEmitter</span><span class="hl-0">();</span><br/><br/><span class="hl-0"> </span><span class="hl-1">process</span><span class="hl-0">.</span><span class="hl-5">nextTick</span><span class="hl-0">(() </span><span class="hl-3">=></span><span class="hl-0"> {</span><br/><span class="hl-0"> </span><span class="hl-1">ee</span><span class="hl-0">.</span><span class="hl-5">emit</span><span class="hl-0">(</span><span class="hl-6">'myevent'</span><span class="hl-0">, </span><span class="hl-2">42</span><span class="hl-0">);</span><br/><span class="hl-0"> });</span><br/><br/><span class="hl-0"> </span><span class="hl-3">const</span><span class="hl-0"> [</span><span class="hl-4">value</span><span class="hl-0">] = </span><span class="hl-8">await</span><span class="hl-0"> </span><span class="hl-5">once</span><span class="hl-0">(</span><span class="hl-1">ee</span><span class="hl-0">, </span><span class="hl-6">'myevent'</span><span class="hl-0">);</span><br/><span class="hl-0"> </span><span class="hl-1">console</span><span class="hl-0">.</span><span class="hl-5">log</span><span class="hl-0">(</span><span class="hl-1">value</span><span class="hl-0">);</span><br/><br/><span class="hl-0"> </span><span class="hl-3">const</span><span class="hl-0"> </span><span class="hl-4">err</span><span class="hl-0"> = </span><span class="hl-3">new</span><span class="hl-0"> </span><span class="hl-5">Error</span><span class="hl-0">(</span><span class="hl-6">'kaboom'</span><span class="hl-0">);</span><br/><span class="hl-0"> </span><span class="hl-1">process</span><span class="hl-0">.</span><span class="hl-5">nextTick</span><span class="hl-0">(() </span><span class="hl-3">=></span><span class="hl-0"> {</span><br/><span class="hl-0"> </span><span class="hl-1">ee</span><span class="hl-0">.</span><span class="hl-5">emit</span><span class="hl-0">(</span><span class="hl-6">'error'</span><span class="hl-0">, </span><span class="hl-1">err</span><span class="hl-0">);</span><br/><span class="hl-0"> });</span><br/><br/><span class="hl-0"> </span><span class="hl-8">try</span><span class="hl-0"> {</span><br/><span class="hl-0"> </span><span class="hl-8">await</span><span class="hl-0"> </span><span class="hl-5">once</span><span class="hl-0">(</span><span class="hl-1">ee</span><span class="hl-0">, </span><span class="hl-6">'myevent'</span><span class="hl-0">);</span><br/><span class="hl-0"> } </span><span class="hl-8">catch</span><span class="hl-0"> (</span><span class="hl-1">err</span><span class="hl-0">) {</span><br/><span class="hl-0"> </span><span class="hl-1">console</span><span class="hl-0">.</span><span class="hl-5">log</span><span class="hl-0">(</span><span class="hl-6">'error happened'</span><span class="hl-0">, </span><span class="hl-1">err</span><span class="hl-0">);</span><br/><span class="hl-0"> }</span><br/><span class="hl-0">}</span><br/><br/><span class="hl-5">run</span><span class="hl-0">();</span>
|
<pre><code class="language-js"><span class="hl-3">const</span><span class="hl-1"> { </span><span class="hl-4">once</span><span class="hl-1">, </span><span class="hl-4">EventEmitter</span><span class="hl-1"> } = </span><span class="hl-5">require</span><span class="hl-1">(</span><span class="hl-6">'events'</span><span class="hl-1">);</span><br/><br/><span class="hl-3">async</span><span class="hl-1"> </span><span class="hl-3">function</span><span class="hl-1"> </span><span class="hl-5">run</span><span class="hl-1">() {</span><br/><span class="hl-1"> </span><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-4">ee</span><span class="hl-1"> = </span><span class="hl-3">new</span><span class="hl-1"> </span><span class="hl-5">EventEmitter</span><span class="hl-1">();</span><br/><br/><span class="hl-1"> </span><span class="hl-0">process</span><span class="hl-1">.</span><span class="hl-5">nextTick</span><span class="hl-1">(() </span><span class="hl-3">=></span><span class="hl-1"> {</span><br/><span class="hl-1"> </span><span class="hl-0">ee</span><span class="hl-1">.</span><span class="hl-5">emit</span><span class="hl-1">(</span><span class="hl-6">'myevent'</span><span class="hl-1">, </span><span class="hl-2">42</span><span class="hl-1">);</span><br/><span class="hl-1"> });</span><br/><br/><span class="hl-1"> </span><span class="hl-3">const</span><span class="hl-1"> [</span><span class="hl-4">value</span><span class="hl-1">] = </span><span class="hl-8">await</span><span class="hl-1"> </span><span class="hl-5">once</span><span class="hl-1">(</span><span class="hl-0">ee</span><span class="hl-1">, </span><span class="hl-6">'myevent'</span><span class="hl-1">);</span><br/><span class="hl-1"> </span><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-5">log</span><span class="hl-1">(</span><span class="hl-0">value</span><span class="hl-1">);</span><br/><br/><span class="hl-1"> </span><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-4">err</span><span class="hl-1"> = </span><span class="hl-3">new</span><span class="hl-1"> </span><span class="hl-5">Error</span><span class="hl-1">(</span><span class="hl-6">'kaboom'</span><span class="hl-1">);</span><br/><span class="hl-1"> </span><span class="hl-0">process</span><span class="hl-1">.</span><span class="hl-5">nextTick</span><span class="hl-1">(() </span><span class="hl-3">=></span><span class="hl-1"> {</span><br/><span class="hl-1"> </span><span class="hl-0">ee</span><span class="hl-1">.</span><span class="hl-5">emit</span><span class="hl-1">(</span><span class="hl-6">'error'</span><span class="hl-1">, </span><span class="hl-0">err</span><span class="hl-1">);</span><br/><span class="hl-1"> });</span><br/><br/><span class="hl-1"> </span><span class="hl-8">try</span><span class="hl-1"> {</span><br/><span class="hl-1"> </span><span class="hl-8">await</span><span class="hl-1"> </span><span class="hl-5">once</span><span class="hl-1">(</span><span class="hl-0">ee</span><span class="hl-1">, </span><span class="hl-6">'myevent'</span><span class="hl-1">);</span><br/><span class="hl-1"> } </span><span class="hl-8">catch</span><span class="hl-1"> (</span><span class="hl-0">err</span><span class="hl-1">) {</span><br/><span class="hl-1"> </span><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-5">log</span><span class="hl-1">(</span><span class="hl-6">'error happened'</span><span class="hl-1">, </span><span class="hl-0">err</span><span class="hl-1">);</span><br/><span class="hl-1"> }</span><br/><span class="hl-1">}</span><br/><br/><span class="hl-5">run</span><span class="hl-1">();</span>
|
||||||
</code><button>Copy</button></pre>
|
</code><button>Copy</button></pre>
|
||||||
<p>The special handling of the <code>'error'</code> event is only used when <code>events.once()</code>is used to wait for another event. If <code>events.once()</code> is used to wait for the
|
<p>The special handling of the <code>'error'</code> event is only used when <code>events.once()</code>is used to wait for another event. If <code>events.once()</code> is used to wait for the
|
||||||
'<code>error'</code> event itself, then it is treated as any other kind of event without
|
'<code>error'</code> event itself, then it is treated as any other kind of event without
|
||||||
special handling:</p>
|
special handling:</p>
|
||||||
<pre><code class="language-js"><span class="hl-3">const</span><span class="hl-0"> { </span><span class="hl-4">EventEmitter</span><span class="hl-0">, </span><span class="hl-4">once</span><span class="hl-0"> } = </span><span class="hl-5">require</span><span class="hl-0">(</span><span class="hl-6">'events'</span><span class="hl-0">);</span><br/><br/><span class="hl-3">const</span><span class="hl-0"> </span><span class="hl-4">ee</span><span class="hl-0"> = </span><span class="hl-3">new</span><span class="hl-0"> </span><span class="hl-5">EventEmitter</span><span class="hl-0">();</span><br/><br/><span class="hl-5">once</span><span class="hl-0">(</span><span class="hl-1">ee</span><span class="hl-0">, </span><span class="hl-6">'error'</span><span class="hl-0">)</span><br/><span class="hl-0"> .</span><span class="hl-5">then</span><span class="hl-0">(([</span><span class="hl-1">err</span><span class="hl-0">]) </span><span class="hl-3">=></span><span class="hl-0"> </span><span class="hl-1">console</span><span class="hl-0">.</span><span class="hl-5">log</span><span class="hl-0">(</span><span class="hl-6">'ok'</span><span class="hl-0">, </span><span class="hl-1">err</span><span class="hl-0">.</span><span class="hl-1">message</span><span class="hl-0">))</span><br/><span class="hl-0"> .</span><span class="hl-5">catch</span><span class="hl-0">((</span><span class="hl-1">err</span><span class="hl-0">) </span><span class="hl-3">=></span><span class="hl-0"> </span><span class="hl-1">console</span><span class="hl-0">.</span><span class="hl-5">log</span><span class="hl-0">(</span><span class="hl-6">'error'</span><span class="hl-0">, </span><span class="hl-1">err</span><span class="hl-0">.</span><span class="hl-1">message</span><span class="hl-0">));</span><br/><br/><span class="hl-1">ee</span><span class="hl-0">.</span><span class="hl-5">emit</span><span class="hl-0">(</span><span class="hl-6">'error'</span><span class="hl-0">, </span><span class="hl-3">new</span><span class="hl-0"> </span><span class="hl-5">Error</span><span class="hl-0">(</span><span class="hl-6">'boom'</span><span class="hl-0">));</span><br/><br/><span class="hl-7">// Prints: ok boom</span>
|
<pre><code class="language-js"><span class="hl-3">const</span><span class="hl-1"> { </span><span class="hl-4">EventEmitter</span><span class="hl-1">, </span><span class="hl-4">once</span><span class="hl-1"> } = </span><span class="hl-5">require</span><span class="hl-1">(</span><span class="hl-6">'events'</span><span class="hl-1">);</span><br/><br/><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-4">ee</span><span class="hl-1"> = </span><span class="hl-3">new</span><span class="hl-1"> </span><span class="hl-5">EventEmitter</span><span class="hl-1">();</span><br/><br/><span class="hl-5">once</span><span class="hl-1">(</span><span class="hl-0">ee</span><span class="hl-1">, </span><span class="hl-6">'error'</span><span class="hl-1">)</span><br/><span class="hl-1"> .</span><span class="hl-5">then</span><span class="hl-1">(([</span><span class="hl-0">err</span><span class="hl-1">]) </span><span class="hl-3">=></span><span class="hl-1"> </span><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-5">log</span><span class="hl-1">(</span><span class="hl-6">'ok'</span><span class="hl-1">, </span><span class="hl-0">err</span><span class="hl-1">.</span><span class="hl-0">message</span><span class="hl-1">))</span><br/><span class="hl-1"> .</span><span class="hl-5">catch</span><span class="hl-1">((</span><span class="hl-0">err</span><span class="hl-1">) </span><span class="hl-3">=></span><span class="hl-1"> </span><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-5">log</span><span class="hl-1">(</span><span class="hl-6">'error'</span><span class="hl-1">, </span><span class="hl-0">err</span><span class="hl-1">.</span><span class="hl-0">message</span><span class="hl-1">));</span><br/><br/><span class="hl-0">ee</span><span class="hl-1">.</span><span class="hl-5">emit</span><span class="hl-1">(</span><span class="hl-6">'error'</span><span class="hl-1">, </span><span class="hl-3">new</span><span class="hl-1"> </span><span class="hl-5">Error</span><span class="hl-1">(</span><span class="hl-6">'boom'</span><span class="hl-1">));</span><br/><br/><span class="hl-7">// Prints: ok boom</span>
|
||||||
</code><button>Copy</button></pre>
|
</code><button>Copy</button></pre>
|
||||||
<p>An <code>AbortSignal</code> can be used to cancel waiting for the event:</p>
|
<p>An <code>AbortSignal</code> can be used to cancel waiting for the event:</p>
|
||||||
<pre><code class="language-js"><span class="hl-3">const</span><span class="hl-0"> { </span><span class="hl-4">EventEmitter</span><span class="hl-0">, </span><span class="hl-4">once</span><span class="hl-0"> } = </span><span class="hl-5">require</span><span class="hl-0">(</span><span class="hl-6">'events'</span><span class="hl-0">);</span><br/><br/><span class="hl-3">const</span><span class="hl-0"> </span><span class="hl-4">ee</span><span class="hl-0"> = </span><span class="hl-3">new</span><span class="hl-0"> </span><span class="hl-5">EventEmitter</span><span class="hl-0">();</span><br/><span class="hl-3">const</span><span class="hl-0"> </span><span class="hl-4">ac</span><span class="hl-0"> = </span><span class="hl-3">new</span><span class="hl-0"> </span><span class="hl-5">AbortController</span><span class="hl-0">();</span><br/><br/><span class="hl-3">async</span><span class="hl-0"> </span><span class="hl-3">function</span><span class="hl-0"> </span><span class="hl-5">foo</span><span class="hl-0">(</span><span class="hl-1">emitter</span><span class="hl-0">, </span><span class="hl-1">event</span><span class="hl-0">, </span><span class="hl-1">signal</span><span class="hl-0">) {</span><br/><span class="hl-0"> </span><span class="hl-8">try</span><span class="hl-0"> {</span><br/><span class="hl-0"> </span><span class="hl-8">await</span><span class="hl-0"> </span><span class="hl-5">once</span><span class="hl-0">(</span><span class="hl-1">emitter</span><span class="hl-0">, </span><span class="hl-1">event</span><span class="hl-0">, { </span><span class="hl-1">signal</span><span class="hl-0"> });</span><br/><span class="hl-0"> </span><span class="hl-1">console</span><span class="hl-0">.</span><span class="hl-5">log</span><span class="hl-0">(</span><span class="hl-6">'event emitted!'</span><span class="hl-0">);</span><br/><span class="hl-0"> } </span><span class="hl-8">catch</span><span class="hl-0"> (</span><span class="hl-1">error</span><span class="hl-0">) {</span><br/><span class="hl-0"> </span><span class="hl-8">if</span><span class="hl-0"> (</span><span class="hl-1">error</span><span class="hl-0">.</span><span class="hl-1">name</span><span class="hl-0"> === </span><span class="hl-6">'AbortError'</span><span class="hl-0">) {</span><br/><span class="hl-0"> </span><span class="hl-1">console</span><span class="hl-0">.</span><span class="hl-5">error</span><span class="hl-0">(</span><span class="hl-6">'Waiting for the event was canceled!'</span><span class="hl-0">);</span><br/><span class="hl-0"> } </span><span class="hl-8">else</span><span class="hl-0"> {</span><br/><span class="hl-0"> </span><span class="hl-1">console</span><span class="hl-0">.</span><span class="hl-5">error</span><span class="hl-0">(</span><span class="hl-6">'There was an error'</span><span class="hl-0">, </span><span class="hl-1">error</span><span class="hl-0">.</span><span class="hl-1">message</span><span class="hl-0">);</span><br/><span class="hl-0"> }</span><br/><span class="hl-0"> }</span><br/><span class="hl-0">}</span><br/><br/><span class="hl-5">foo</span><span class="hl-0">(</span><span class="hl-1">ee</span><span class="hl-0">, </span><span class="hl-6">'foo'</span><span class="hl-0">, </span><span class="hl-1">ac</span><span class="hl-0">.</span><span class="hl-1">signal</span><span class="hl-0">);</span><br/><span class="hl-1">ac</span><span class="hl-0">.</span><span class="hl-5">abort</span><span class="hl-0">(); </span><span class="hl-7">// Abort waiting for the event</span><br/><span class="hl-1">ee</span><span class="hl-0">.</span><span class="hl-5">emit</span><span class="hl-0">(</span><span class="hl-6">'foo'</span><span class="hl-0">); </span><span class="hl-7">// Prints: Waiting for the event was canceled!</span>
|
<pre><code class="language-js"><span class="hl-3">const</span><span class="hl-1"> { </span><span class="hl-4">EventEmitter</span><span class="hl-1">, </span><span class="hl-4">once</span><span class="hl-1"> } = </span><span class="hl-5">require</span><span class="hl-1">(</span><span class="hl-6">'events'</span><span class="hl-1">);</span><br/><br/><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-4">ee</span><span class="hl-1"> = </span><span class="hl-3">new</span><span class="hl-1"> </span><span class="hl-5">EventEmitter</span><span class="hl-1">();</span><br/><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-4">ac</span><span class="hl-1"> = </span><span class="hl-3">new</span><span class="hl-1"> </span><span class="hl-5">AbortController</span><span class="hl-1">();</span><br/><br/><span class="hl-3">async</span><span class="hl-1"> </span><span class="hl-3">function</span><span class="hl-1"> </span><span class="hl-5">foo</span><span class="hl-1">(</span><span class="hl-0">emitter</span><span class="hl-1">, </span><span class="hl-0">event</span><span class="hl-1">, </span><span class="hl-0">signal</span><span class="hl-1">) {</span><br/><span class="hl-1"> </span><span class="hl-8">try</span><span class="hl-1"> {</span><br/><span class="hl-1"> </span><span class="hl-8">await</span><span class="hl-1"> </span><span class="hl-5">once</span><span class="hl-1">(</span><span class="hl-0">emitter</span><span class="hl-1">, </span><span class="hl-0">event</span><span class="hl-1">, { </span><span class="hl-0">signal</span><span class="hl-1"> });</span><br/><span class="hl-1"> </span><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-5">log</span><span class="hl-1">(</span><span class="hl-6">'event emitted!'</span><span class="hl-1">);</span><br/><span class="hl-1"> } </span><span class="hl-8">catch</span><span class="hl-1"> (</span><span class="hl-0">error</span><span class="hl-1">) {</span><br/><span class="hl-1"> </span><span class="hl-8">if</span><span class="hl-1"> (</span><span class="hl-0">error</span><span class="hl-1">.</span><span class="hl-0">name</span><span class="hl-1"> === </span><span class="hl-6">'AbortError'</span><span class="hl-1">) {</span><br/><span class="hl-1"> </span><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-5">error</span><span class="hl-1">(</span><span class="hl-6">'Waiting for the event was canceled!'</span><span class="hl-1">);</span><br/><span class="hl-1"> } </span><span class="hl-8">else</span><span class="hl-1"> {</span><br/><span class="hl-1"> </span><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-5">error</span><span class="hl-1">(</span><span class="hl-6">'There was an error'</span><span class="hl-1">, </span><span class="hl-0">error</span><span class="hl-1">.</span><span class="hl-0">message</span><span class="hl-1">);</span><br/><span class="hl-1"> }</span><br/><span class="hl-1"> }</span><br/><span class="hl-1">}</span><br/><br/><span class="hl-5">foo</span><span class="hl-1">(</span><span class="hl-0">ee</span><span class="hl-1">, </span><span class="hl-6">'foo'</span><span class="hl-1">, </span><span class="hl-0">ac</span><span class="hl-1">.</span><span class="hl-0">signal</span><span class="hl-1">);</span><br/><span class="hl-0">ac</span><span class="hl-1">.</span><span class="hl-5">abort</span><span class="hl-1">(); </span><span class="hl-7">// Abort waiting for the event</span><br/><span class="hl-0">ee</span><span class="hl-1">.</span><span class="hl-5">emit</span><span class="hl-1">(</span><span class="hl-6">'foo'</span><span class="hl-1">); </span><span class="hl-7">// Prints: Waiting for the event was canceled!</span>
|
||||||
</code><button>Copy</button></pre>
|
</code><button>Copy</button></pre>
|
||||||
|
|
||||||
<h3>Since</h3><p>v11.13.0, v10.16.0</p>
|
<h3>Since</h3><p>v11.13.0, v10.16.0</p>
|
||||||
@ -806,7 +806,7 @@ special handling:</p>
|
|||||||
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
|
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
|
||||||
<li class="tsd-signature tsd-anchor-link" id="setMaxListeners-2.setMaxListeners-3"><span class="tsd-kind-call-signature">set<wbr/>Max<wbr/>Listeners</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">n</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">eventTargets</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#setMaxListeners-2.setMaxListeners-3" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
<li class="tsd-signature tsd-anchor-link" id="setMaxListeners-2.setMaxListeners-3"><span class="tsd-kind-call-signature">set<wbr/>Max<wbr/>Listeners</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">n</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">eventTargets</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#setMaxListeners-2.setMaxListeners-3" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
||||||
<li class="tsd-description">
|
<li class="tsd-description">
|
||||||
<div class="tsd-comment tsd-typography"><pre><code class="language-js"><span class="hl-3">const</span><span class="hl-0"> {</span><br/><span class="hl-0"> </span><span class="hl-4">setMaxListeners</span><span class="hl-0">,</span><br/><span class="hl-0"> </span><span class="hl-4">EventEmitter</span><br/><span class="hl-0">} = </span><span class="hl-5">require</span><span class="hl-0">(</span><span class="hl-6">'events'</span><span class="hl-0">);</span><br/><br/><span class="hl-3">const</span><span class="hl-0"> </span><span class="hl-4">target</span><span class="hl-0"> = </span><span class="hl-3">new</span><span class="hl-0"> </span><span class="hl-5">EventTarget</span><span class="hl-0">();</span><br/><span class="hl-3">const</span><span class="hl-0"> </span><span class="hl-4">emitter</span><span class="hl-0"> = </span><span class="hl-3">new</span><span class="hl-0"> </span><span class="hl-5">EventEmitter</span><span class="hl-0">();</span><br/><br/><span class="hl-5">setMaxListeners</span><span class="hl-0">(</span><span class="hl-2">5</span><span class="hl-0">, </span><span class="hl-1">target</span><span class="hl-0">, </span><span class="hl-1">emitter</span><span class="hl-0">);</span>
|
<div class="tsd-comment tsd-typography"><pre><code class="language-js"><span class="hl-3">const</span><span class="hl-1"> {</span><br/><span class="hl-1"> </span><span class="hl-4">setMaxListeners</span><span class="hl-1">,</span><br/><span class="hl-1"> </span><span class="hl-4">EventEmitter</span><br/><span class="hl-1">} = </span><span class="hl-5">require</span><span class="hl-1">(</span><span class="hl-6">'events'</span><span class="hl-1">);</span><br/><br/><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-4">target</span><span class="hl-1"> = </span><span class="hl-3">new</span><span class="hl-1"> </span><span class="hl-5">EventTarget</span><span class="hl-1">();</span><br/><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-4">emitter</span><span class="hl-1"> = </span><span class="hl-3">new</span><span class="hl-1"> </span><span class="hl-5">EventEmitter</span><span class="hl-1">();</span><br/><br/><span class="hl-5">setMaxListeners</span><span class="hl-1">(</span><span class="hl-2">5</span><span class="hl-1">, </span><span class="hl-0">target</span><span class="hl-1">, </span><span class="hl-0">emitter</span><span class="hl-1">);</span>
|
||||||
</code><button>Copy</button></pre>
|
</code><button>Copy</button></pre>
|
||||||
|
|
||||||
<h3>Since</h3><p>v15.4.0</p>
|
<h3>Since</h3><p>v15.4.0</p>
|
||||||
@ -1044,6 +1044,7 @@ special handling:</p>
|
|||||||
<li><a href="../functions/Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
<li><a href="../functions/Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
||||||
<li><a href="../functions/Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
<li><a href="../functions/Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
||||||
<li><a href="../functions/Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
<li><a href="../functions/Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
||||||
|
<li><a href="../functions/Network.Contracts.getRouter.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Router</span></a></li>
|
||||||
<li><a href="../functions/Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
<li><a href="../functions/Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
||||||
<li><a href="../functions/Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
<li><a href="../functions/Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
||||||
<li>
|
<li>
|
||||||
|
@ -399,6 +399,7 @@
|
|||||||
<li><a href="../functions/Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
<li><a href="../functions/Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
||||||
<li><a href="../functions/Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
<li><a href="../functions/Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
||||||
<li><a href="../functions/Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
<li><a href="../functions/Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
||||||
|
<li><a href="../functions/Network.Contracts.getRouter.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Router</span></a></li>
|
||||||
<li><a href="../functions/Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
<li><a href="../functions/Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
||||||
<li><a href="../functions/Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
<li><a href="../functions/Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
||||||
<li>
|
<li>
|
||||||
|
@ -264,6 +264,7 @@
|
|||||||
<li><a href="../functions/Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
<li><a href="../functions/Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
||||||
<li><a href="../functions/Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
<li><a href="../functions/Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
||||||
<li><a href="../functions/Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
<li><a href="../functions/Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
||||||
|
<li><a href="../functions/Network.Contracts.getRouter.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Router</span></a></li>
|
||||||
<li><a href="../functions/Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
<li><a href="../functions/Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
||||||
<li><a href="../functions/Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
<li><a href="../functions/Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
||||||
<li>
|
<li>
|
||||||
|
@ -491,6 +491,7 @@
|
|||||||
<li><a href="../functions/Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
<li><a href="../functions/Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
||||||
<li><a href="../functions/Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
<li><a href="../functions/Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
||||||
<li><a href="../functions/Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
<li><a href="../functions/Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
||||||
|
<li><a href="../functions/Network.Contracts.getRouter.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Router</span></a></li>
|
||||||
<li><a href="../functions/Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
<li><a href="../functions/Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
||||||
<li><a href="../functions/Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
<li><a href="../functions/Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
||||||
<li>
|
<li>
|
||||||
|
@ -1581,6 +1581,7 @@
|
|||||||
<li><a href="../functions/Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
<li><a href="../functions/Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
||||||
<li><a href="../functions/Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
<li><a href="../functions/Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
||||||
<li><a href="../functions/Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
<li><a href="../functions/Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
||||||
|
<li><a href="../functions/Network.Contracts.getRouter.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Router</span></a></li>
|
||||||
<li><a href="../functions/Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
<li><a href="../functions/Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
||||||
<li><a href="../functions/Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
<li><a href="../functions/Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
||||||
<li>
|
<li>
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
<ul class="tsd-hierarchy">
|
<ul class="tsd-hierarchy">
|
||||||
<li><span class="target">WithdrawalCache</span></li></ul></li></ul></section><aside class="tsd-sources">
|
<li><span class="target">WithdrawalCache</span></li></ul></li></ul></section><aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in @tornado/sdk-core/dist/index.d.ts:43</li></ul></aside>
|
<li>Defined in @tornado/sdk-core/dist/index.d.ts:44</li></ul></aside>
|
||||||
<section class="tsd-panel-group tsd-index-group">
|
<section class="tsd-panel-group tsd-index-group">
|
||||||
<section class="tsd-panel tsd-index-panel">
|
<section class="tsd-panel tsd-index-panel">
|
||||||
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
|
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
|
||||||
@ -111,7 +111,7 @@
|
|||||||
<h4 class="tsd-returns-title">Returns <a href="Data.Docs.Withdrawal.html" class="tsd-signature-type tsd-kind-class">Withdrawal</a></h4><aside class="tsd-sources">
|
<h4 class="tsd-returns-title">Returns <a href="Data.Docs.Withdrawal.html" class="tsd-signature-type tsd-kind-class">Withdrawal</a></h4><aside class="tsd-sources">
|
||||||
<p>Overrides <a href="Data.Cache.Syncable.html">Syncable</a>.<a href="Data.Cache.Syncable.html#buildDoc">buildDoc</a></p>
|
<p>Overrides <a href="Data.Cache.Syncable.html">Syncable</a>.<a href="Data.Cache.Syncable.html#buildDoc">buildDoc</a></p>
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in @tornado/sdk-core/dist/index.d.ts:44</li></ul></aside></li></ul></section>
|
<li>Defined in @tornado/sdk-core/dist/index.d.ts:45</li></ul></aside></li></ul></section>
|
||||||
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="clear" class="tsd-anchor"></a>
|
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="clear" class="tsd-anchor"></a>
|
||||||
<h3 class="tsd-anchor-link"><span>clear</span><a href="#clear" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
<h3 class="tsd-anchor-link"><span>clear</span><a href="#clear" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||||
<ul class="tsd-signatures tsd-is-inherited">
|
<ul class="tsd-signatures tsd-is-inherited">
|
||||||
@ -157,7 +157,7 @@
|
|||||||
<h4 class="tsd-returns-title">Returns <a href="../types/Utils.AsyncUtils.Callback.html" class="tsd-signature-type tsd-kind-type-alias">Callback</a><span class="tsd-signature-symbol">[]</span></h4><aside class="tsd-sources">
|
<h4 class="tsd-returns-title">Returns <a href="../types/Utils.AsyncUtils.Callback.html" class="tsd-signature-type tsd-kind-type-alias">Callback</a><span class="tsd-signature-symbol">[]</span></h4><aside class="tsd-sources">
|
||||||
<p>Overrides <a href="Data.Cache.Syncable.html">Syncable</a>.<a href="Data.Cache.Syncable.html#getCallbacks">getCallbacks</a></p>
|
<p>Overrides <a href="Data.Cache.Syncable.html">Syncable</a>.<a href="Data.Cache.Syncable.html#getCallbacks">getCallbacks</a></p>
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in @tornado/sdk-core/dist/index.d.ts:46</li></ul></aside></li></ul></section>
|
<li>Defined in @tornado/sdk-core/dist/index.d.ts:47</li></ul></aside></li></ul></section>
|
||||||
<section class="tsd-panel tsd-member"><a id="getErrorHandlers" class="tsd-anchor"></a>
|
<section class="tsd-panel tsd-member"><a id="getErrorHandlers" class="tsd-anchor"></a>
|
||||||
<h3 class="tsd-anchor-link"><span>get<wbr/>Error<wbr/>Handlers</span><a href="#getErrorHandlers" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
<h3 class="tsd-anchor-link"><span>get<wbr/>Error<wbr/>Handlers</span><a href="#getErrorHandlers" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||||
<ul class="tsd-signatures">
|
<ul class="tsd-signatures">
|
||||||
@ -166,7 +166,7 @@
|
|||||||
<h4 class="tsd-returns-title">Returns <a href="../types/Utils.AsyncUtils.ErrorHandler.html" class="tsd-signature-type tsd-kind-type-alias">ErrorHandler</a><span class="tsd-signature-symbol">[]</span></h4><aside class="tsd-sources">
|
<h4 class="tsd-returns-title">Returns <a href="../types/Utils.AsyncUtils.ErrorHandler.html" class="tsd-signature-type tsd-kind-type-alias">ErrorHandler</a><span class="tsd-signature-symbol">[]</span></h4><aside class="tsd-sources">
|
||||||
<p>Overrides <a href="Data.Cache.Syncable.html">Syncable</a>.<a href="Data.Cache.Syncable.html#getErrorHandlers">getErrorHandlers</a></p>
|
<p>Overrides <a href="Data.Cache.Syncable.html">Syncable</a>.<a href="Data.Cache.Syncable.html#getErrorHandlers">getErrorHandlers</a></p>
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in @tornado/sdk-core/dist/index.d.ts:45</li></ul></aside></li></ul></section>
|
<li>Defined in @tornado/sdk-core/dist/index.d.ts:46</li></ul></aside></li></ul></section>
|
||||||
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="getRows" class="tsd-anchor"></a>
|
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="getRows" class="tsd-anchor"></a>
|
||||||
<h3 class="tsd-anchor-link"><span>get<wbr/>Rows</span><a href="#getRows" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
<h3 class="tsd-anchor-link"><span>get<wbr/>Rows</span><a href="#getRows" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||||
<ul class="tsd-signatures tsd-is-inherited">
|
<ul class="tsd-signatures tsd-is-inherited">
|
||||||
@ -435,6 +435,7 @@
|
|||||||
<li><a href="../functions/Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
<li><a href="../functions/Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
||||||
<li><a href="../functions/Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
<li><a href="../functions/Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
||||||
<li><a href="../functions/Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
<li><a href="../functions/Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
||||||
|
<li><a href="../functions/Network.Contracts.getRouter.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Router</span></a></li>
|
||||||
<li><a href="../functions/Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
<li><a href="../functions/Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
||||||
<li><a href="../functions/Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
<li><a href="../functions/Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
||||||
<li>
|
<li>
|
||||||
|
@ -214,6 +214,7 @@
|
|||||||
<li><a href="Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
<li><a href="Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
||||||
<li><a href="Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
<li><a href="Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
||||||
<li><a href="Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
<li><a href="Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
||||||
|
<li><a href="Network.Contracts.getRouter.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Router</span></a></li>
|
||||||
<li><a href="Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
<li><a href="Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
||||||
<li><a href="Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
<li><a href="Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
||||||
<li>
|
<li>
|
||||||
|
@ -214,6 +214,7 @@
|
|||||||
<li><a href="Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
<li><a href="Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
||||||
<li><a href="Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
<li><a href="Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
||||||
<li><a href="Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
<li><a href="Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
||||||
|
<li><a href="Network.Contracts.getRouter.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Router</span></a></li>
|
||||||
<li><a href="Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
<li><a href="Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
||||||
<li><a href="Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
<li><a href="Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
||||||
<li>
|
<li>
|
||||||
|
@ -214,6 +214,7 @@
|
|||||||
<li><a href="Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
<li><a href="Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
||||||
<li><a href="Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
<li><a href="Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
||||||
<li><a href="Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
<li><a href="Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
||||||
|
<li><a href="Network.Contracts.getRouter.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Router</span></a></li>
|
||||||
<li><a href="Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
<li><a href="Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
||||||
<li><a href="Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
<li><a href="Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
||||||
<li>
|
<li>
|
||||||
|
@ -214,6 +214,7 @@
|
|||||||
<li><a href="Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
<li><a href="Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
||||||
<li><a href="Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
<li><a href="Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
||||||
<li><a href="Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
<li><a href="Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
||||||
|
<li><a href="Network.Contracts.getRouter.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Router</span></a></li>
|
||||||
<li><a href="Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
<li><a href="Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
||||||
<li><a href="Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
<li><a href="Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
||||||
<li>
|
<li>
|
||||||
|
@ -214,6 +214,7 @@
|
|||||||
<li><a href="Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
<li><a href="Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
||||||
<li><a href="Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
<li><a href="Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
||||||
<li><a href="Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
<li><a href="Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
||||||
|
<li><a href="Network.Contracts.getRouter.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Router</span></a></li>
|
||||||
<li><a href="Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
<li><a href="Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
||||||
<li><a href="Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
<li><a href="Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
||||||
<li>
|
<li>
|
||||||
|
@ -214,6 +214,7 @@
|
|||||||
<li><a href="Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
<li><a href="Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
||||||
<li><a href="Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
<li><a href="Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
||||||
<li><a href="Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
<li><a href="Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
||||||
|
<li><a href="Network.Contracts.getRouter.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Router</span></a></li>
|
||||||
<li><a href="Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
<li><a href="Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
||||||
<li><a href="Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
<li><a href="Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
||||||
<li>
|
<li>
|
||||||
|
@ -209,6 +209,7 @@
|
|||||||
<li><a href="Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
<li><a href="Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
||||||
<li><a href="Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
<li><a href="Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
||||||
<li><a href="Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
<li><a href="Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
||||||
|
<li><a href="Network.Contracts.getRouter.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Router</span></a></li>
|
||||||
<li><a href="Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
<li><a href="Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
||||||
<li><a href="Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
<li><a href="Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
||||||
<li>
|
<li>
|
||||||
|
@ -209,6 +209,7 @@
|
|||||||
<li><a href="Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
<li><a href="Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
||||||
<li><a href="Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
<li><a href="Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
||||||
<li><a href="Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
<li><a href="Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
||||||
|
<li><a href="Network.Contracts.getRouter.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Router</span></a></li>
|
||||||
<li><a href="Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
<li><a href="Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
||||||
<li><a href="Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
<li><a href="Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
||||||
<li>
|
<li>
|
||||||
|
@ -209,6 +209,7 @@
|
|||||||
<li><a href="Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
<li><a href="Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
||||||
<li><a href="Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
<li><a href="Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
||||||
<li><a href="Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
<li><a href="Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
||||||
|
<li><a href="Network.Contracts.getRouter.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Router</span></a></li>
|
||||||
<li><a href="Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
<li><a href="Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
||||||
<li><a href="Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
<li><a href="Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
||||||
<li>
|
<li>
|
||||||
|
@ -209,6 +209,7 @@
|
|||||||
<li><a href="Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
<li><a href="Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
||||||
<li><a href="Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
<li><a href="Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
||||||
<li><a href="Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
<li><a href="Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
||||||
|
<li><a href="Network.Contracts.getRouter.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Router</span></a></li>
|
||||||
<li><a href="Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
<li><a href="Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
||||||
<li><a href="Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
<li><a href="Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
||||||
<li>
|
<li>
|
||||||
|
@ -209,6 +209,7 @@
|
|||||||
<li><a href="Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
<li><a href="Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
||||||
<li><a href="Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
<li><a href="Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
||||||
<li><a href="Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
<li><a href="Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
||||||
|
<li><a href="Network.Contracts.getRouter.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Router</span></a></li>
|
||||||
<li><a href="Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
<li><a href="Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
||||||
<li><a href="Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
<li><a href="Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
||||||
<li>
|
<li>
|
||||||
|
@ -209,6 +209,7 @@
|
|||||||
<li><a href="Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
<li><a href="Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
||||||
<li><a href="Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
<li><a href="Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
||||||
<li><a href="Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
<li><a href="Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
||||||
|
<li><a href="Network.Contracts.getRouter.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Router</span></a></li>
|
||||||
<li><a href="Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
<li><a href="Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
||||||
<li><a href="Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
<li><a href="Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
||||||
<li>
|
<li>
|
||||||
|
@ -214,6 +214,7 @@
|
|||||||
<li><a href="Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
<li><a href="Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
||||||
<li><a href="Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
<li><a href="Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
||||||
<li><a href="Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
<li><a href="Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
||||||
|
<li><a href="Network.Contracts.getRouter.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Router</span></a></li>
|
||||||
<li><a href="Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
<li><a href="Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
||||||
<li><a href="Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
<li><a href="Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
||||||
<li>
|
<li>
|
||||||
|
@ -216,6 +216,7 @@
|
|||||||
<li><a href="Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
<li><a href="Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
||||||
<li><a href="Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
<li><a href="Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
||||||
<li><a href="Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
<li><a href="Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
||||||
|
<li><a href="Network.Contracts.getRouter.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Router</span></a></li>
|
||||||
<li><a href="Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
<li><a href="Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
||||||
<li><a href="Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
<li><a href="Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
||||||
<li>
|
<li>
|
||||||
|
@ -216,6 +216,7 @@
|
|||||||
<li><a href="Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
<li><a href="Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
||||||
<li><a href="Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
<li><a href="Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
||||||
<li><a href="Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
<li><a href="Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
||||||
|
<li><a href="Network.Contracts.getRouter.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Router</span></a></li>
|
||||||
<li><a href="Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
<li><a href="Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
||||||
<li><a href="Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
<li><a href="Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
||||||
<li>
|
<li>
|
||||||
|
@ -216,6 +216,7 @@
|
|||||||
<li><a href="Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
<li><a href="Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
||||||
<li><a href="Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
<li><a href="Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
||||||
<li><a href="Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
<li><a href="Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
||||||
|
<li><a href="Network.Contracts.getRouter.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Router</span></a></li>
|
||||||
<li><a href="Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
<li><a href="Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
||||||
<li><a href="Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
<li><a href="Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
||||||
<li>
|
<li>
|
||||||
|
@ -216,6 +216,7 @@
|
|||||||
<li><a href="Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
<li><a href="Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
||||||
<li><a href="Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
<li><a href="Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
||||||
<li><a href="Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
<li><a href="Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
||||||
|
<li><a href="Network.Contracts.getRouter.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Router</span></a></li>
|
||||||
<li><a href="Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
<li><a href="Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
||||||
<li><a href="Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
<li><a href="Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
||||||
<li>
|
<li>
|
||||||
|
@ -216,6 +216,7 @@
|
|||||||
<li><a href="Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
<li><a href="Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
||||||
<li><a href="Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
<li><a href="Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
||||||
<li><a href="Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
<li><a href="Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
||||||
|
<li><a href="Network.Contracts.getRouter.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Router</span></a></li>
|
||||||
<li><a href="Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
<li><a href="Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
||||||
<li><a href="Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
<li><a href="Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
||||||
<li>
|
<li>
|
||||||
|
@ -214,6 +214,7 @@
|
|||||||
<li><a href="Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
<li><a href="Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
||||||
<li><a href="Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
<li><a href="Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
||||||
<li><a href="Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
<li><a href="Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
||||||
|
<li><a href="Network.Contracts.getRouter.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Router</span></a></li>
|
||||||
<li><a href="Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
<li><a href="Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
||||||
<li><a href="Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
<li><a href="Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
||||||
<li>
|
<li>
|
||||||
|
@ -214,6 +214,7 @@
|
|||||||
<li><a href="Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
<li><a href="Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
||||||
<li><a href="Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
<li><a href="Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
||||||
<li><a href="Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
<li><a href="Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
||||||
|
<li><a href="Network.Contracts.getRouter.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Router</span></a></li>
|
||||||
<li><a href="Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
<li><a href="Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
||||||
<li><a href="Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
<li><a href="Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
||||||
<li>
|
<li>
|
||||||
|
@ -214,6 +214,7 @@
|
|||||||
<li><a href="Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
<li><a href="Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
||||||
<li><a href="Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
<li><a href="Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
||||||
<li><a href="Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
<li><a href="Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
||||||
|
<li><a href="Network.Contracts.getRouter.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Router</span></a></li>
|
||||||
<li><a href="Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
<li><a href="Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
||||||
<li><a href="Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
<li><a href="Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
||||||
<li>
|
<li>
|
||||||
|
@ -214,6 +214,7 @@
|
|||||||
<li><a href="Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
<li><a href="Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
||||||
<li><a href="Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
<li><a href="Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
||||||
<li><a href="Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
<li><a href="Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
||||||
|
<li><a href="Network.Contracts.getRouter.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Router</span></a></li>
|
||||||
<li><a href="Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
<li><a href="Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
||||||
<li><a href="Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
<li><a href="Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
||||||
<li>
|
<li>
|
||||||
|
@ -214,6 +214,7 @@
|
|||||||
<li><a href="Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
<li><a href="Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
||||||
<li><a href="Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
<li><a href="Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
||||||
<li><a href="Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
<li><a href="Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
||||||
|
<li><a href="Network.Contracts.getRouter.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Router</span></a></li>
|
||||||
<li><a href="Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
<li><a href="Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
||||||
<li><a href="Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
<li><a href="Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
||||||
<li>
|
<li>
|
||||||
|
@ -216,6 +216,7 @@
|
|||||||
<li><a href="Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
<li><a href="Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
||||||
<li><a href="Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
<li><a href="Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
||||||
<li><a href="Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
<li><a href="Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
||||||
|
<li><a href="Network.Contracts.getRouter.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Router</span></a></li>
|
||||||
<li><a href="Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
<li><a href="Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
||||||
<li><a href="Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
<li><a href="Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
||||||
<li>
|
<li>
|
||||||
|
@ -218,6 +218,7 @@
|
|||||||
<li><a href="Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
<li><a href="Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
||||||
<li><a href="Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
<li><a href="Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
||||||
<li><a href="Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
<li><a href="Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
||||||
|
<li><a href="Network.Contracts.getRouter.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Router</span></a></li>
|
||||||
<li><a href="Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
<li><a href="Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
||||||
<li><a href="Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
<li><a href="Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
||||||
<li>
|
<li>
|
||||||
|
@ -218,6 +218,7 @@
|
|||||||
<li><a href="Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
<li><a href="Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
||||||
<li><a href="Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
<li><a href="Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
||||||
<li><a href="Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
<li><a href="Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
||||||
|
<li><a href="Network.Contracts.getRouter.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Router</span></a></li>
|
||||||
<li><a href="Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
<li><a href="Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
||||||
<li><a href="Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
<li><a href="Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
||||||
<li>
|
<li>
|
||||||
|
@ -214,6 +214,7 @@
|
|||||||
<li><a href="Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
<li><a href="Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
||||||
<li><a href="Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
<li><a href="Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
||||||
<li><a href="Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
<li><a href="Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
||||||
|
<li><a href="Network.Contracts.getRouter.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Router</span></a></li>
|
||||||
<li><a href="Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
<li><a href="Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
||||||
<li><a href="Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
<li><a href="Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
||||||
<li>
|
<li>
|
||||||
|
@ -216,6 +216,7 @@
|
|||||||
<li><a href="Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
<li><a href="Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
||||||
<li><a href="Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
<li><a href="Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
||||||
<li><a href="Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
<li><a href="Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
||||||
|
<li><a href="Network.Contracts.getRouter.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Router</span></a></li>
|
||||||
<li><a href="Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
<li><a href="Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
||||||
<li><a href="Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
<li><a href="Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
||||||
<li>
|
<li>
|
||||||
|
@ -218,6 +218,7 @@
|
|||||||
<li><a href="Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
<li><a href="Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
||||||
<li><a href="Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
<li><a href="Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
||||||
<li><a href="Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
<li><a href="Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
||||||
|
<li><a href="Network.Contracts.getRouter.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Router</span></a></li>
|
||||||
<li><a href="Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
<li><a href="Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
||||||
<li><a href="Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
<li><a href="Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
||||||
<li>
|
<li>
|
||||||
|
@ -221,6 +221,7 @@
|
|||||||
<li><a href="Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
<li><a href="Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
||||||
<li><a href="Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
<li><a href="Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
||||||
<li><a href="Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
<li><a href="Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
||||||
|
<li><a href="Network.Contracts.getRouter.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Router</span></a></li>
|
||||||
<li><a href="Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
<li><a href="Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
||||||
<li><a href="Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
<li><a href="Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
||||||
<li>
|
<li>
|
||||||
|
@ -218,6 +218,7 @@
|
|||||||
<li><a href="Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
<li><a href="Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
||||||
<li><a href="Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
<li><a href="Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
||||||
<li><a href="Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
<li><a href="Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
||||||
|
<li><a href="Network.Contracts.getRouter.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Router</span></a></li>
|
||||||
<li><a href="Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
<li><a href="Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
||||||
<li><a href="Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
<li><a href="Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
||||||
<li>
|
<li>
|
||||||
|
@ -214,6 +214,7 @@
|
|||||||
<li><a href="Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
<li><a href="Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
||||||
<li><a href="Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
<li><a href="Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
||||||
<li><a href="Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
<li><a href="Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
||||||
|
<li><a href="Network.Contracts.getRouter.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Router</span></a></li>
|
||||||
<li><a href="Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
<li><a href="Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
||||||
<li><a href="Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
<li><a href="Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
||||||
<li>
|
<li>
|
||||||
|
@ -219,6 +219,7 @@
|
|||||||
<li><a href="Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
<li><a href="Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
||||||
<li><a href="Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
<li><a href="Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
||||||
<li><a href="Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
<li><a href="Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
||||||
|
<li><a href="Network.Contracts.getRouter.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Router</span></a></li>
|
||||||
<li><a href="Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
<li><a href="Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
||||||
<li><a href="Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
<li><a href="Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
||||||
<li>
|
<li>
|
||||||
|
@ -214,6 +214,7 @@
|
|||||||
<li><a href="Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
<li><a href="Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
||||||
<li><a href="Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
<li><a href="Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
||||||
<li><a href="Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
<li><a href="Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
||||||
|
<li><a href="Network.Contracts.getRouter.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Router</span></a></li>
|
||||||
<li><a href="Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
<li><a href="Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
||||||
<li><a href="Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
<li><a href="Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
||||||
<li>
|
<li>
|
||||||
|
@ -214,6 +214,7 @@
|
|||||||
<li><a href="Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
<li><a href="Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
||||||
<li><a href="Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
<li><a href="Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
||||||
<li><a href="Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
<li><a href="Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
||||||
|
<li><a href="Network.Contracts.getRouter.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Router</span></a></li>
|
||||||
<li><a href="Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
<li><a href="Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
||||||
<li><a href="Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
<li><a href="Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
||||||
<li>
|
<li>
|
||||||
|
@ -216,6 +216,7 @@
|
|||||||
<li><a href="Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
<li><a href="Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
||||||
<li><a href="Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
<li><a href="Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
||||||
<li><a href="Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
<li><a href="Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
||||||
|
<li><a href="Network.Contracts.getRouter.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Router</span></a></li>
|
||||||
<li><a href="Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
<li><a href="Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
||||||
<li><a href="Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
<li><a href="Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
||||||
<li>
|
<li>
|
||||||
|
@ -216,6 +216,7 @@
|
|||||||
<li><a href="Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
<li><a href="Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
||||||
<li><a href="Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
<li><a href="Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
||||||
<li><a href="Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
<li><a href="Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
||||||
|
<li><a href="Network.Contracts.getRouter.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Router</span></a></li>
|
||||||
<li><a href="Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
<li><a href="Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
||||||
<li><a href="Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
<li><a href="Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
||||||
<li>
|
<li>
|
||||||
|
@ -218,6 +218,7 @@
|
|||||||
<li><a href="Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
<li><a href="Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
||||||
<li><a href="Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
<li><a href="Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
||||||
<li><a href="Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
<li><a href="Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
||||||
|
<li><a href="Network.Contracts.getRouter.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Router</span></a></li>
|
||||||
<li><a href="Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
<li><a href="Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
||||||
<li><a href="Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
<li><a href="Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
||||||
<li>
|
<li>
|
||||||
|
@ -218,6 +218,7 @@
|
|||||||
<li><a href="Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
<li><a href="Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
||||||
<li><a href="Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
<li><a href="Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
||||||
<li><a href="Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
<li><a href="Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
||||||
|
<li><a href="Network.Contracts.getRouter.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Router</span></a></li>
|
||||||
<li><a href="Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
<li><a href="Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
||||||
<li><a href="Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
<li><a href="Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
||||||
<li>
|
<li>
|
||||||
|
@ -218,6 +218,7 @@
|
|||||||
<li><a href="Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
<li><a href="Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
||||||
<li><a href="Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
<li><a href="Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
||||||
<li><a href="Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
<li><a href="Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
||||||
|
<li><a href="Network.Contracts.getRouter.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Router</span></a></li>
|
||||||
<li><a href="Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
<li><a href="Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
||||||
<li><a href="Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
<li><a href="Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
||||||
<li>
|
<li>
|
||||||
|
@ -218,6 +218,7 @@
|
|||||||
<li><a href="Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
<li><a href="Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
||||||
<li><a href="Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
<li><a href="Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
||||||
<li><a href="Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
<li><a href="Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
||||||
|
<li><a href="Network.Contracts.getRouter.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Router</span></a></li>
|
||||||
<li><a href="Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
<li><a href="Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
||||||
<li><a href="Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
<li><a href="Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
||||||
<li>
|
<li>
|
||||||
|
@ -214,6 +214,7 @@
|
|||||||
<li><a href="Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
<li><a href="Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
||||||
<li><a href="Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
<li><a href="Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
||||||
<li><a href="Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
<li><a href="Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
||||||
|
<li><a href="Network.Contracts.getRouter.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Router</span></a></li>
|
||||||
<li><a href="Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
<li><a href="Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
||||||
<li><a href="Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
<li><a href="Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
||||||
<li>
|
<li>
|
||||||
|
@ -214,6 +214,7 @@
|
|||||||
<li><a href="Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
<li><a href="Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
||||||
<li><a href="Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
<li><a href="Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
||||||
<li><a href="Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
<li><a href="Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
||||||
|
<li><a href="Network.Contracts.getRouter.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Router</span></a></li>
|
||||||
<li><a href="Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
<li><a href="Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
||||||
<li><a href="Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
<li><a href="Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
||||||
<li>
|
<li>
|
||||||
|
@ -218,6 +218,7 @@
|
|||||||
<li><a href="Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
<li><a href="Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
||||||
<li><a href="Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
<li><a href="Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
||||||
<li><a href="Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
<li><a href="Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
||||||
|
<li><a href="Network.Contracts.getRouter.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Router</span></a></li>
|
||||||
<li><a href="Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
<li><a href="Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
||||||
<li><a href="Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
<li><a href="Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
||||||
<li>
|
<li>
|
||||||
|
@ -218,6 +218,7 @@
|
|||||||
<li><a href="Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
<li><a href="Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
||||||
<li><a href="Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
<li><a href="Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
||||||
<li><a href="Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
<li><a href="Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
||||||
|
<li><a href="Network.Contracts.getRouter.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Router</span></a></li>
|
||||||
<li><a href="Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
<li><a href="Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
||||||
<li><a href="Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
<li><a href="Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
||||||
<li>
|
<li>
|
||||||
|
@ -214,6 +214,7 @@
|
|||||||
<li><a href="Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
<li><a href="Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
||||||
<li><a href="Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
<li><a href="Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
||||||
<li><a href="Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
<li><a href="Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
||||||
|
<li><a href="Network.Contracts.getRouter.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Router</span></a></li>
|
||||||
<li><a href="Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
<li><a href="Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
||||||
<li><a href="Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
<li><a href="Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
||||||
<li>
|
<li>
|
||||||
|
@ -214,6 +214,7 @@
|
|||||||
<li><a href="Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
<li><a href="Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
||||||
<li><a href="Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
<li><a href="Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
||||||
<li><a href="Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
<li><a href="Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
||||||
|
<li><a href="Network.Contracts.getRouter.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Router</span></a></li>
|
||||||
<li><a href="Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
<li><a href="Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
||||||
<li><a href="Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
<li><a href="Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
||||||
<li>
|
<li>
|
||||||
|
@ -214,6 +214,7 @@
|
|||||||
<li><a href="Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
<li><a href="Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
||||||
<li><a href="Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
<li><a href="Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
||||||
<li><a href="Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
<li><a href="Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
||||||
|
<li><a href="Network.Contracts.getRouter.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Router</span></a></li>
|
||||||
<li><a href="Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
<li><a href="Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
||||||
<li><a href="Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
<li><a href="Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
||||||
<li>
|
<li>
|
||||||
|
@ -214,6 +214,7 @@
|
|||||||
<li><a href="Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
<li><a href="Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
||||||
<li><a href="Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
<li><a href="Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
||||||
<li><a href="Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
<li><a href="Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
||||||
|
<li><a href="Network.Contracts.getRouter.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Router</span></a></li>
|
||||||
<li><a href="Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
<li><a href="Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
||||||
<li><a href="Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
<li><a href="Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
||||||
<li>
|
<li>
|
||||||
|
@ -214,6 +214,7 @@
|
|||||||
<li><a href="Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
<li><a href="Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
||||||
<li><a href="Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
<li><a href="Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
||||||
<li><a href="Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
<li><a href="Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
||||||
|
<li><a href="Network.Contracts.getRouter.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Router</span></a></li>
|
||||||
<li><a href="Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
<li><a href="Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
||||||
<li><a href="Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
<li><a href="Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
||||||
<li>
|
<li>
|
||||||
|
@ -214,6 +214,7 @@
|
|||||||
<li><a href="Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
<li><a href="Network.Contracts.getInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Instance</span></a></li>
|
||||||
<li><a href="Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
<li><a href="Network.Contracts.getProxy.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Proxy</span></a></li>
|
||||||
<li><a href="Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
<li><a href="Network.Contracts.getRegistry.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Registry</span></a></li>
|
||||||
|
<li><a href="Network.Contracts.getRouter.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Router</span></a></li>
|
||||||
<li><a href="Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
<li><a href="Network.Contracts.getToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Token</span></a></li>
|
||||||
<li><a href="Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
<li><a href="Network.Contracts.getTornToken.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr/>Torn<wbr/>Token</span></a></li></ul></div></details></li>
|
||||||
<li>
|
<li>
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user