interface VaultFactory {
    [internal]: any;
    _defaultGovernanceFee: TypedContractMethod<[], [bigint], "view">;
    deployVault: TypedContractMethod<[vaultTemplate: AddressLike, assets: AddressLike[], init_balances: BigNumberish[], weights: BigNumberish[], amp: BigNumberish, vaultFee: BigNumberish, name: string, symbol: string, chainInterface: AddressLike], [string], "nonpayable">;
    fallback: null | WrappedFallback;
    filters: {
        OwnershipTransferred: TypedContractEvent<OwnershipTransferredEvent.InputTuple, OwnershipTransferredEvent.OutputTuple, OwnershipTransferredEvent.OutputObject>;
        OwnershipTransferred(address,address): TypedContractEvent<OwnershipTransferredEvent.InputTuple, OwnershipTransferredEvent.OutputTuple, OwnershipTransferredEvent.OutputObject>;
        SetDefaultGovernanceFee: TypedContractEvent<SetDefaultGovernanceFeeEvent.InputTuple, SetDefaultGovernanceFeeEvent.OutputTuple, SetDefaultGovernanceFeeEvent.OutputObject>;
        SetDefaultGovernanceFee(uint256): TypedContractEvent<SetDefaultGovernanceFeeEvent.InputTuple, SetDefaultGovernanceFeeEvent.OutputTuple, SetDefaultGovernanceFeeEvent.OutputObject>;
        VaultDeployed: TypedContractEvent<VaultDeployedEvent.InputTuple, VaultDeployedEvent.OutputTuple, VaultDeployedEvent.OutputObject>;
        VaultDeployed(address,address,address,address,address[],uint256): TypedContractEvent<VaultDeployedEvent.InputTuple, VaultDeployedEvent.OutputTuple, VaultDeployedEvent.OutputObject>;
    };
    interface: VaultFactoryInterface;
    isCreatedByFactory: TypedContractMethod<[arg0: AddressLike, arg1: AddressLike], [boolean], "view">;
    owner: TypedContractMethod<[], [string], "view">;
    renounceOwnership: TypedContractMethod<[], [void], "nonpayable">;
    runner: null | ContractRunner;
    setDefaultGovernanceFee: TypedContractMethod<[fee: BigNumberish], [void], "nonpayable">;
    target: string | Addressable;
    transferOwnership: TypedContractMethod<[newOwner: AddressLike], [void], "nonpayable">;
    addListener(event, listener): Promise<VaultFactory>;
    attach(target): BaseContract;
    connect(runner?): VaultFactory;
    deploymentTransaction(): null | ContractTransactionResponse;
    emit(event, ...args): Promise<boolean>;
    getAddress(): Promise<string>;
    getDeployedCode(): Promise<null | string>;
    getEvent(key): TypedContractEvent<OwnershipTransferredEvent.InputTuple, OwnershipTransferredEvent.OutputTuple, OwnershipTransferredEvent.OutputObject>;
    getEvent(key): TypedContractEvent<SetDefaultGovernanceFeeEvent.InputTuple, SetDefaultGovernanceFeeEvent.OutputTuple, SetDefaultGovernanceFeeEvent.OutputObject>;
    getEvent(key): TypedContractEvent<VaultDeployedEvent.InputTuple, VaultDeployedEvent.OutputTuple, VaultDeployedEvent.OutputObject>;
    getFunction<T>(key): T;
    getFunction(nameOrSignature): TypedContractMethod<[], [bigint], "view">;
    getFunction(nameOrSignature): TypedContractMethod<[vaultTemplate: AddressLike, assets: AddressLike[], init_balances: BigNumberish[], weights: BigNumberish[], amp: BigNumberish, vaultFee: BigNumberish, name: string, symbol: string, chainInterface: AddressLike], [string], "nonpayable">;
    getFunction(nameOrSignature): TypedContractMethod<[arg0: AddressLike, arg1: AddressLike], [boolean], "view">;
    getFunction(nameOrSignature): TypedContractMethod<[], [string], "view">;
    getFunction(nameOrSignature): TypedContractMethod<[], [void], "nonpayable">;
    getFunction(nameOrSignature): TypedContractMethod<[fee: BigNumberish], [void], "nonpayable">;
    getFunction(nameOrSignature): TypedContractMethod<[newOwner: AddressLike], [void], "nonpayable">;
    listenerCount(event?): Promise<number>;
    listeners<TCEvent>(event): Promise<TypedListener<TCEvent>[]>;
    listeners(eventName?): Promise<Listener[]>;
    off(event, listener?): Promise<VaultFactory>;
    on<TCEvent>(event, listener): Promise<VaultFactory>;
    on<TCEvent>(filter, listener): Promise<VaultFactory>;
    once<TCEvent>(event, listener): Promise<VaultFactory>;
    once<TCEvent>(filter, listener): Promise<VaultFactory>;
    queryFilter<TCEvent>(event, fromBlockOrBlockhash?, toBlock?): Promise<TypedEventLog<TCEvent>[]>;
    queryFilter<TCEvent>(filter, fromBlockOrBlockhash?, toBlock?): Promise<TypedEventLog<TCEvent>[]>;
    queryTransaction(hash): Promise<EventLog[]>;
    removeAllListeners<TCEvent>(event?): Promise<VaultFactory>;
    removeListener(event, listener): Promise<VaultFactory>;
    waitForDeployment(): Promise<VaultFactory>;
}

Hierarchy

  • BaseContract
    • VaultFactory

Properties

[internal]: any

@_ignore:

_defaultGovernanceFee: TypedContractMethod<[], [bigint], "view">
deployVault: TypedContractMethod<[vaultTemplate: AddressLike, assets: AddressLike[], init_balances: BigNumberish[], weights: BigNumberish[], amp: BigNumberish, vaultFee: BigNumberish, name: string, symbol: string, chainInterface: AddressLike], [string], "nonpayable">
fallback: null | WrappedFallback

The fallback or receive function if any.

isCreatedByFactory: TypedContractMethod<[arg0: AddressLike, arg1: AddressLike], [boolean], "view">
owner: TypedContractMethod<[], [string], "view">
renounceOwnership: TypedContractMethod<[], [void], "nonpayable">
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.

setDefaultGovernanceFee: TypedContractMethod<[fee: BigNumberish], [void], "nonpayable">
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.

transferOwnership: TypedContractMethod<[newOwner: AddressLike], [void], "nonpayable">

Methods

  • Alias for [on].

    Parameters

    • event: ContractEventName
    • listener: Listener

    Returns Promise<VaultFactory>

  • 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<VaultFactory>

  • @_ignore:

    Parameters

    • hash: string

    Returns Promise<EventLog[]>

  • Alias for [off].

    Parameters

    • event: ContractEventName
    • listener: Listener

    Returns Promise<VaultFactory>