Interface PoolFactory

Hierarchy

  • BaseContract
    • PoolFactory

Properties

[internal]: any
deployPool: TypedContractMethod<[k: PoolKeyStruct], [string], "payable">
fallback: null | WrappedFallback
filters: {
    OwnershipTransferred: TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
    OwnershipTransferred(address,address): TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
    PoolDeployed: TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
    PoolDeployed(address,address,address,uint256,uint256,bool,address): TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
    PricingPath: TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
    PricingPath(address,address[][],uint8[],uint8,address[][],uint8[],uint8): TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
    SetDiscountPerPool: TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
    SetDiscountPerPool(uint256): TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
    SetFeeReceiver: TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
    SetFeeReceiver(address): TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
}

Type declaration

  • OwnershipTransferred: TypedContractEvent<InputTuple, OutputTuple, OutputObject>
  • OwnershipTransferred(address,address): TypedContractEvent<InputTuple, OutputTuple, OutputObject>
  • PoolDeployed: TypedContractEvent<InputTuple, OutputTuple, OutputObject>
  • PoolDeployed(address,address,address,uint256,uint256,bool,address): TypedContractEvent<InputTuple, OutputTuple, OutputObject>
  • PricingPath: TypedContractEvent<InputTuple, OutputTuple, OutputObject>
  • PricingPath(address,address[][],uint8[],uint8,address[][],uint8[],uint8): TypedContractEvent<InputTuple, OutputTuple, OutputObject>
  • SetDiscountPerPool: TypedContractEvent<InputTuple, OutputTuple, OutputObject>
  • SetDiscountPerPool(uint256): TypedContractEvent<InputTuple, OutputTuple, OutputObject>
  • SetFeeReceiver: TypedContractEvent<InputTuple, OutputTuple, OutputObject>
  • SetFeeReceiver(address): TypedContractEvent<InputTuple, OutputTuple, OutputObject>
getPoolAddress: TypedContractMethod<[k: PoolKeyStruct], [[string, boolean] & {
    isDeployed: boolean;
    pool: string;
}], "view">
initializationFee: TypedContractMethod<[k: PoolKeyStruct], [bigint], "view">
interface: PoolFactoryInterface
isPool: TypedContractMethod<[contractAddress: AddressLike], [boolean], "view">
removeDiscount: TypedContractMethod<[k: PoolKeyStruct], [void], "nonpayable">
runner: null | ContractRunner
setDiscountPerPool: TypedContractMethod<[discountPerPool: BigNumberish], [void], "nonpayable">
setFeeReceiver: TypedContractMethod<[feeReceiver: AddressLike], [void], "nonpayable">
target: string | Addressable

Methods

  • Parameters

    • event: ContractEventName
    • listener: Listener

    Returns Promise<PoolFactory>

  • Parameters

    • addressOrName: AddressLike

    Returns PoolFactory

  • Parameters

    • Optional runner: null | ContractRunner

    Returns BaseContract

  • Returns null | ContractTransactionResponse

  • Parameters

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

    Returns Promise<boolean>

  • Returns Promise<string>

  • Returns Promise<null | string>

  • Parameters

    • key: "OwnershipTransferred"

    Returns TypedContractEvent<InputTuple, OutputTuple, OutputObject>

  • Parameters

    • key: "PoolDeployed"

    Returns TypedContractEvent<InputTuple, OutputTuple, OutputObject>

  • Parameters

    • key: "PricingPath"

    Returns TypedContractEvent<InputTuple, OutputTuple, OutputObject>

  • Parameters

    • key: "SetDiscountPerPool"

    Returns TypedContractEvent<InputTuple, OutputTuple, OutputObject>

  • Parameters

    • key: "SetFeeReceiver"

    Returns TypedContractEvent<InputTuple, OutputTuple, OutputObject>

  • Type Parameters

    • T extends ContractMethod<any[], any, any, T> = ContractMethod<any[], any, any>

    Parameters

    • key: string | FunctionFragment

    Returns T

  • Parameters

    • nameOrSignature: "deployPool"

    Returns TypedContractMethod<[k: PoolKeyStruct], [string], "payable">

  • Parameters

    • nameOrSignature: "getPoolAddress"

    Returns TypedContractMethod<[k: PoolKeyStruct], [[string, boolean] & {
        isDeployed: boolean;
        pool: string;
    }], "view">

  • Parameters

    • nameOrSignature: "initializationFee"

    Returns TypedContractMethod<[k: PoolKeyStruct], [bigint], "view">

  • Parameters

    • nameOrSignature: "isPool"

    Returns TypedContractMethod<[contractAddress: AddressLike], [boolean], "view">

  • Parameters

    • nameOrSignature: "removeDiscount"

    Returns TypedContractMethod<[k: PoolKeyStruct], [void], "nonpayable">

  • Parameters

    • nameOrSignature: "setDiscountPerPool"

    Returns TypedContractMethod<[discountPerPool: BigNumberish], [void], "nonpayable">

  • Parameters

    • nameOrSignature: "setFeeReceiver"

    Returns TypedContractMethod<[feeReceiver: AddressLike], [void], "nonpayable">

  • Parameters

    • Optional event: ContractEventName

    Returns Promise<number>

  • Type Parameters

    • TCEvent extends TypedContractEvent<any, any, any, TCEvent>

    Parameters

    • event: TCEvent

    Returns Promise<TypedListener<TCEvent>[]>

  • Parameters

    • Optional eventName: string

    Returns Promise<Listener[]>

  • Parameters

    • event: ContractEventName
    • Optional listener: Listener

    Returns Promise<PoolFactory>

  • Type Parameters

    • TCEvent extends TypedContractEvent<any, any, any, TCEvent>

    Parameters

    • event: TCEvent
    • listener: TypedListener<TCEvent>

    Returns Promise<PoolFactory>

  • Type Parameters

    • TCEvent extends TypedContractEvent<any, any, any, TCEvent>

    Parameters

    • filter: TypedDeferredTopicFilter<TCEvent>
    • listener: TypedListener<TCEvent>

    Returns Promise<PoolFactory>

  • Type Parameters

    • TCEvent extends TypedContractEvent<any, any, any, TCEvent>

    Parameters

    • event: TCEvent
    • listener: TypedListener<TCEvent>

    Returns Promise<PoolFactory>

  • Type Parameters

    • TCEvent extends TypedContractEvent<any, any, any, TCEvent>

    Parameters

    • filter: TypedDeferredTopicFilter<TCEvent>
    • listener: TypedListener<TCEvent>

    Returns Promise<PoolFactory>

  • Type Parameters

    • TCEvent extends TypedContractEvent<any, any, any, TCEvent>

    Parameters

    • event: TCEvent
    • Optional fromBlockOrBlockhash: string | number
    • Optional toBlock: string | number

    Returns Promise<TypedEventLog<TCEvent>[]>

  • Type Parameters

    • TCEvent extends TypedContractEvent<any, any, any, TCEvent>

    Parameters

    • filter: TypedDeferredTopicFilter<TCEvent>
    • Optional fromBlockOrBlockhash: string | number
    • Optional toBlock: string | number

    Returns Promise<TypedEventLog<TCEvent>[]>

  • Parameters

    • hash: string

    Returns Promise<EventLog[]>

  • Type Parameters

    • TCEvent extends TypedContractEvent<any, any, any, TCEvent>

    Parameters

    • Optional event: TCEvent

    Returns Promise<PoolFactory>

  • Parameters

    • event: ContractEventName
    • listener: Listener

    Returns Promise<PoolFactory>

  • Returns Promise<PoolFactory>

Generated using TypeDoc