Interface CatalystVaultEvents

interface CatalystVaultEvents {
    [internal]: any;
    fallback: null | WrappedFallback;
    filters: {
        FinishSetup: TypedContractEvent<[], [], OutputObject>;
        FinishSetup(): TypedContractEvent<[], [], OutputObject>;
        LocalSwap: TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
        LocalSwap(address,address,address,uint256,uint256): TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
        ReceiveAsset: TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
        ReceiveAsset(bytes32,bytes,address,address,uint256,uint256,uint256,bytes,uint32): TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
        ReceiveLiquidity: TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
        ReceiveLiquidity(bytes32,bytes,address,uint256,uint256,uint256,uint256): TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
        SendAsset: TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
        SendAsset(bytes32,bytes,bytes,address,uint8,uint256,uint256,uint256,uint256,uint16): TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
        SendAssetFailure: TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
        SendAssetFailure(bytes32,bytes,uint256,uint256,address,uint32): TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
        SendAssetSuccess: TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
        SendAssetSuccess(bytes32,bytes,uint256,uint256,address,uint32): TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
        SendLiquidity: TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
        SendLiquidity(bytes32,bytes,bytes,uint256,uint256[2],uint256): TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
        SendLiquidityFailure: TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
        SendLiquidityFailure(bytes32,bytes,uint256,uint256,uint32): TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
        SendLiquiditySuccess: TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
        SendLiquiditySuccess(bytes32,bytes,uint256,uint256,uint32): TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
        SetAmplification: TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
        SetAmplification(uint48,uint256): TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
        SetConnection: TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
        SetConnection(bytes32,bytes,bool): TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
        SetFeeAdministrator: TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
        SetFeeAdministrator(address): TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
        SetGovernanceFee: TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
        SetGovernanceFee(uint64): TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
        SetVaultFee: TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
        SetVaultFee(uint64): TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
        SetWeights: TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
        SetWeights(uint248,uint256[]): TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
        SwapUnderwritten: TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
        SwapUnderwritten(bytes32,address,uint256,uint256): TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
        VaultDeposit: TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
        VaultDeposit(address,uint256,uint256[]): TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
        VaultWithdraw: TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
        VaultWithdraw(address,uint256,uint256[]): TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
    };
    interface: CatalystVaultEventsInterface;
    runner: null | ContractRunner;
    target: string | Addressable;
    addListener(event, listener): Promise<CatalystVaultEvents>;
    attach(target): BaseContract;
    connect(runner?): CatalystVaultEvents;
    deploymentTransaction(): null | ContractTransactionResponse;
    emit(event, ...args): Promise<boolean>;
    getAddress(): Promise<string>;
    getDeployedCode(): Promise<null | string>;
    getEvent(key): TypedContractEvent<[], [], OutputObject>;
    getEvent(key): TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
    getEvent(key): TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
    getEvent(key): TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
    getEvent(key): TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
    getEvent(key): TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
    getEvent(key): TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
    getEvent(key): TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
    getEvent(key): TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
    getEvent(key): TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
    getEvent(key): TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
    getEvent(key): TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
    getEvent(key): TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
    getEvent(key): TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
    getEvent(key): TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
    getEvent(key): TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
    getEvent(key): TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
    getEvent(key): TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
    getEvent(key): TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
    getFunction<T>(key): T;
    listenerCount(event?): Promise<number>;
    listeners<TCEvent>(event): Promise<TypedListener<TCEvent>[]>;
    listeners(eventName?): Promise<Listener[]>;
    off(event, listener?): Promise<CatalystVaultEvents>;
    on<TCEvent>(event, listener): Promise<CatalystVaultEvents>;
    on<TCEvent>(filter, listener): Promise<CatalystVaultEvents>;
    once<TCEvent>(event, listener): Promise<CatalystVaultEvents>;
    once<TCEvent>(filter, listener): Promise<CatalystVaultEvents>;
    queryFilter<TCEvent>(event, fromBlockOrBlockhash?, toBlock?): Promise<TypedEventLog<TCEvent>[]>;
    queryFilter<TCEvent>(filter, fromBlockOrBlockhash?, toBlock?): Promise<TypedEventLog<TCEvent>[]>;
    queryTransaction(hash): Promise<EventLog[]>;
    removeAllListeners<TCEvent>(event?): Promise<CatalystVaultEvents>;
    removeListener(event, listener): Promise<CatalystVaultEvents>;
    waitForDeployment(): Promise<CatalystVaultEvents>;
}

Hierarchy

  • BaseContract
    • CatalystVaultEvents

Properties

[internal]: any

@_ignore:

fallback: null | WrappedFallback

The fallback or receive function if any.

filters: {
    FinishSetup: TypedContractEvent<[], [], OutputObject>;
    FinishSetup(): TypedContractEvent<[], [], OutputObject>;
    LocalSwap: TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
    LocalSwap(address,address,address,uint256,uint256): TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
    ReceiveAsset: TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
    ReceiveAsset(bytes32,bytes,address,address,uint256,uint256,uint256,bytes,uint32): TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
    ReceiveLiquidity: TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
    ReceiveLiquidity(bytes32,bytes,address,uint256,uint256,uint256,uint256): TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
    SendAsset: TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
    SendAsset(bytes32,bytes,bytes,address,uint8,uint256,uint256,uint256,uint256,uint16): TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
    SendAssetFailure: TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
    SendAssetFailure(bytes32,bytes,uint256,uint256,address,uint32): TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
    SendAssetSuccess: TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
    SendAssetSuccess(bytes32,bytes,uint256,uint256,address,uint32): TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
    SendLiquidity: TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
    SendLiquidity(bytes32,bytes,bytes,uint256,uint256[2],uint256): TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
    SendLiquidityFailure: TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
    SendLiquidityFailure(bytes32,bytes,uint256,uint256,uint32): TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
    SendLiquiditySuccess: TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
    SendLiquiditySuccess(bytes32,bytes,uint256,uint256,uint32): TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
    SetAmplification: TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
    SetAmplification(uint48,uint256): TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
    SetConnection: TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
    SetConnection(bytes32,bytes,bool): TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
    SetFeeAdministrator: TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
    SetFeeAdministrator(address): TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
    SetGovernanceFee: TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
    SetGovernanceFee(uint64): TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
    SetVaultFee: TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
    SetVaultFee(uint64): TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
    SetWeights: TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
    SetWeights(uint248,uint256[]): TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
    SwapUnderwritten: TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
    SwapUnderwritten(bytes32,address,uint256,uint256): TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
    VaultDeposit: TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
    VaultDeposit(address,uint256,uint256[]): TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
    VaultWithdraw: TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
    VaultWithdraw(address,uint256,uint256[]): TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
}

Type declaration

interface: CatalystVaultEventsInterface
runner: null | ContractRunner

The connected runner. This is generally a [[Provider]] or a [[Signer]], which dictates what operations are supported.

For example, a Contract connected to a [[Provider]] may only execute read-only operations.

target: string | Addressable

The target to connect to.

This can be an address, ENS name or any [[Addressable]], such as another contract. To get the resovled address, use the getAddress method.

Methods

  • Alias for [on].

    Parameters

    • event: ContractEventName
    • listener: Listener

    Returns Promise<CatalystVaultEvents>

  • Return a new Contract instance with the same ABI and runner, but a different %%target%%.

    Parameters

    • target: string | Addressable

    Returns BaseContract

  • Return the transaction used to deploy this contract.

    This is only available if this instance was returned from a [[ContractFactory]].

    Returns null | ContractTransactionResponse

  • Emit an %%event%% calling all listeners with %%args%%.

    Resolves to true if any listeners were called.

    Parameters

    • event: ContractEventName
    • Rest ...args: any[]

    Returns Promise<boolean>

  • Return the resolved address of this Contract.

    Returns Promise<string>

  • Return the deployed bytecode or null if no bytecode is found.

    Returns Promise<null | string>

  • Resolves to the number of listeners of %%event%% or the total number of listeners if unspecified.

    Parameters

    • Optional event: ContractEventName

    Returns Promise<number>

  • Remove the %%listener%% from the listeners for %%event%% or remove all listeners if unspecified.

    Parameters

    • event: ContractEventName
    • Optional listener: Listener

    Returns Promise<CatalystVaultEvents>

  • @_ignore:

    Parameters

    • hash: string

    Returns Promise<EventLog[]>

  • Alias for [off].

    Parameters

    • event: ContractEventName
    • listener: Listener

    Returns Promise<CatalystVaultEvents>