Options
All
  • Public
  • Public/Protected
  • All
Menu

Class AMMRegistry

Hierarchy

  • Contract
    • AMMRegistry

Index

Constructors

  • new AMMRegistry(addressOrName: string, contractInterface: ContractInterface, signerOrProvider?: Signer | Provider): AMMRegistry
  • Parameters

    • addressOrName: string
    • contractInterface: ContractInterface
    • Optional signerOrProvider: Signer | Provider

    Returns AMMRegistry

Properties

_deployedPromise: Promise<Contract>
_runningEvents: {}

Type declaration

  • [eventTag: string]: RunningEvent
_wrappedEmits: {}

Type declaration

  • [eventTag: string]: (...args: any[]) => void
      • (...args: any[]): void
      • Parameters

        • Rest ...args: any[]

        Returns void

address: string
callStatic: { getFutureAMMPool: any; getFutureAMMPool(address): any; hasRole: any; hasRole(bytes32,address): any; initialize: any; initialize(address): any; isRegisteredAMM: any; isRegisteredAMM(address): any; removeAMMPool: any; removeAMMPool(address): any; setAMMPool: any; setAMMPool(address): any; setAMMPoolByFuture: any; setAMMPoolByFuture(address,address): any }

Type declaration

  • getFutureAMMPool:function
    • getFutureAMMPool(_futureVaultAddress: string, overrides?: CallOverrides): Promise<string>
    • Parameters

      • _futureVaultAddress: string
      • Optional overrides: CallOverrides

      Returns Promise<string>

  • getFutureAMMPool(address):function
    • getFutureAMMPool(address)(_futureVaultAddress: string, overrides?: CallOverrides): Promise<string>
    • Parameters

      • _futureVaultAddress: string
      • Optional overrides: CallOverrides

      Returns Promise<string>

  • hasRole:function
    • hasRole(role: BytesLike, account: string, overrides?: CallOverrides): Promise<boolean>
    • Parameters

      • role: BytesLike
      • account: string
      • Optional overrides: CallOverrides

      Returns Promise<boolean>

  • hasRole(bytes32,address):function
    • hasRole(bytes32,address)(role: BytesLike, account: string, overrides?: CallOverrides): Promise<boolean>
    • Parameters

      • role: BytesLike
      • account: string
      • Optional overrides: CallOverrides

      Returns Promise<boolean>

  • initialize:function
    • initialize(_admin: string, overrides?: CallOverrides): Promise<void>
    • Parameters

      • _admin: string
      • Optional overrides: CallOverrides

      Returns Promise<void>

  • initialize(address):function
    • initialize(address)(_admin: string, overrides?: CallOverrides): Promise<void>
    • Parameters

      • _admin: string
      • Optional overrides: CallOverrides

      Returns Promise<void>

  • isRegisteredAMM:function
    • isRegisteredAMM(_ammAddress: string, overrides?: CallOverrides): Promise<boolean>
    • Parameters

      • _ammAddress: string
      • Optional overrides: CallOverrides

      Returns Promise<boolean>

  • isRegisteredAMM(address):function
    • isRegisteredAMM(address)(_ammAddress: string, overrides?: CallOverrides): Promise<boolean>
    • Parameters

      • _ammAddress: string
      • Optional overrides: CallOverrides

      Returns Promise<boolean>

  • removeAMMPool:function
    • removeAMMPool(_ammPool: string, overrides?: CallOverrides): Promise<void>
    • Parameters

      • _ammPool: string
      • Optional overrides: CallOverrides

      Returns Promise<void>

  • removeAMMPool(address):function
    • removeAMMPool(address)(_ammPool: string, overrides?: CallOverrides): Promise<void>
    • Parameters

      • _ammPool: string
      • Optional overrides: CallOverrides

      Returns Promise<void>

  • setAMMPool:function
    • setAMMPool(_ammPool: string, overrides?: CallOverrides): Promise<void>
    • Parameters

      • _ammPool: string
      • Optional overrides: CallOverrides

      Returns Promise<void>

  • setAMMPool(address):function
    • setAMMPool(address)(_ammPool: string, overrides?: CallOverrides): Promise<void>
    • Parameters

      • _ammPool: string
      • Optional overrides: CallOverrides

      Returns Promise<void>

  • setAMMPoolByFuture:function
    • setAMMPoolByFuture(_futureVaultAddress: string, _ammPool: string, overrides?: CallOverrides): Promise<void>
    • Parameters

      • _futureVaultAddress: string
      • _ammPool: string
      • Optional overrides: CallOverrides

      Returns Promise<void>

  • setAMMPoolByFuture(address,address):function
    • setAMMPoolByFuture(address,address)(_futureVaultAddress: string, _ammPool: string, overrides?: CallOverrides): Promise<void>
    • Parameters

      • _futureVaultAddress: string
      • _ammPool: string
      • Optional overrides: CallOverrides

      Returns Promise<void>

deployTransaction: TransactionResponse
estimateGas: { getFutureAMMPool: any; getFutureAMMPool(address): any; hasRole: any; hasRole(bytes32,address): any; initialize: any; initialize(address): any; isRegisteredAMM: any; isRegisteredAMM(address): any; removeAMMPool: any; removeAMMPool(address): any; setAMMPool: any; setAMMPool(address): any; setAMMPoolByFuture: any; setAMMPoolByFuture(address,address): any }

Type declaration

  • getFutureAMMPool:function
    • getFutureAMMPool(_futureVaultAddress: string, overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • _futureVaultAddress: string
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • getFutureAMMPool(address):function
    • getFutureAMMPool(address)(_futureVaultAddress: string, overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • _futureVaultAddress: string
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • hasRole:function
    • hasRole(role: BytesLike, account: string, overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • role: BytesLike
      • account: string
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • hasRole(bytes32,address):function
    • hasRole(bytes32,address)(role: BytesLike, account: string, overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • role: BytesLike
      • account: string
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • initialize:function
    • initialize(_admin: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
    • Parameters

      • _admin: string
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<BigNumber>

  • initialize(address):function
    • initialize(address)(_admin: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
    • Parameters

      • _admin: string
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<BigNumber>

  • isRegisteredAMM:function
    • isRegisteredAMM(_ammAddress: string, overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • _ammAddress: string
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • isRegisteredAMM(address):function
    • isRegisteredAMM(address)(_ammAddress: string, overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • _ammAddress: string
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • removeAMMPool:function
    • removeAMMPool(_ammPool: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
    • Parameters

      • _ammPool: string
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<BigNumber>

  • removeAMMPool(address):function
    • removeAMMPool(address)(_ammPool: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
    • Parameters

      • _ammPool: string
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<BigNumber>

  • setAMMPool:function
    • setAMMPool(_ammPool: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
    • Parameters

      • _ammPool: string
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<BigNumber>

  • setAMMPool(address):function
    • setAMMPool(address)(_ammPool: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
    • Parameters

      • _ammPool: string
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<BigNumber>

  • setAMMPoolByFuture:function
    • setAMMPoolByFuture(_futureVaultAddress: string, _ammPool: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
    • Parameters

      • _futureVaultAddress: string
      • _ammPool: string
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<BigNumber>

  • setAMMPoolByFuture(address,address):function
    • setAMMPoolByFuture(address,address)(_futureVaultAddress: string, _ammPool: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
    • Parameters

      • _futureVaultAddress: string
      • _ammPool: string
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<BigNumber>

filters: { AMMPoolRegistered: any; AMMPoolRemoved: any; FutureAMMPoolSet: any; RoleGranted: any }

Type declaration

  • AMMPoolRegistered:function
    • AMMPoolRegistered(_ammPool: null): TypedEventFilter<[string], { _ammPool: string }>
    • Parameters

      • _ammPool: null

      Returns TypedEventFilter<[string], { _ammPool: string }>

  • AMMPoolRemoved:function
    • AMMPoolRemoved(_ammPool: null): TypedEventFilter<[string], { _ammPool: string }>
    • Parameters

      • _ammPool: null

      Returns TypedEventFilter<[string], { _ammPool: string }>

  • FutureAMMPoolSet:function
    • FutureAMMPoolSet(_futureVaultAddress: null | string, _ammPool: null | string): TypedEventFilter<[string, string], { _ammPool: string; _futureVaultAddress: string }>
    • Parameters

      • _futureVaultAddress: null | string
      • _ammPool: null | string

      Returns TypedEventFilter<[string, string], { _ammPool: string; _futureVaultAddress: string }>

  • RoleGranted:function
    • RoleGranted(role: null | BytesLike, account: null | string, sender: null | string): TypedEventFilter<[string, string, string], { account: string; role: string; sender: string }>
    • Parameters

      • role: null | BytesLike
      • account: null | string
      • sender: null | string

      Returns TypedEventFilter<[string, string, string], { account: string; role: string; sender: string }>

functions: { getFutureAMMPool: any; getFutureAMMPool(address): any; hasRole: any; hasRole(bytes32,address): any; initialize: any; initialize(address): any; isRegisteredAMM: any; isRegisteredAMM(address): any; removeAMMPool: any; removeAMMPool(address): any; setAMMPool: any; setAMMPool(address): any; setAMMPoolByFuture: any; setAMMPoolByFuture(address,address): any }

Type declaration

  • getFutureAMMPool:function
    • getFutureAMMPool(_futureVaultAddress: string, overrides?: CallOverrides): Promise<[string]>
    • Parameters

      • _futureVaultAddress: string
      • Optional overrides: CallOverrides

      Returns Promise<[string]>

  • getFutureAMMPool(address):function
    • getFutureAMMPool(address)(_futureVaultAddress: string, overrides?: CallOverrides): Promise<[string]>
    • Parameters

      • _futureVaultAddress: string
      • Optional overrides: CallOverrides

      Returns Promise<[string]>

  • hasRole:function
    • hasRole(role: BytesLike, account: string, overrides?: CallOverrides): Promise<[boolean]>
    • Parameters

      • role: BytesLike
      • account: string
      • Optional overrides: CallOverrides

      Returns Promise<[boolean]>

  • hasRole(bytes32,address):function
    • hasRole(bytes32,address)(role: BytesLike, account: string, overrides?: CallOverrides): Promise<[boolean]>
    • Parameters

      • role: BytesLike
      • account: string
      • Optional overrides: CallOverrides

      Returns Promise<[boolean]>

  • initialize:function
    • initialize(_admin: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
    • Parameters

      • _admin: string
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<ContractTransaction>

  • initialize(address):function
    • initialize(address)(_admin: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
    • Parameters

      • _admin: string
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<ContractTransaction>

  • isRegisteredAMM:function
    • isRegisteredAMM(_ammAddress: string, overrides?: CallOverrides): Promise<[boolean]>
    • Parameters

      • _ammAddress: string
      • Optional overrides: CallOverrides

      Returns Promise<[boolean]>

  • isRegisteredAMM(address):function
    • isRegisteredAMM(address)(_ammAddress: string, overrides?: CallOverrides): Promise<[boolean]>
    • Parameters

      • _ammAddress: string
      • Optional overrides: CallOverrides

      Returns Promise<[boolean]>

  • removeAMMPool:function
    • removeAMMPool(_ammPool: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
    • Parameters

      • _ammPool: string
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<ContractTransaction>

  • removeAMMPool(address):function
    • removeAMMPool(address)(_ammPool: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
    • Parameters

      • _ammPool: string
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<ContractTransaction>

  • setAMMPool:function
    • setAMMPool(_ammPool: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
    • Parameters

      • _ammPool: string
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<ContractTransaction>

  • setAMMPool(address):function
    • setAMMPool(address)(_ammPool: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
    • Parameters

      • _ammPool: string
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<ContractTransaction>

  • setAMMPoolByFuture:function
    • setAMMPoolByFuture(_futureVaultAddress: string, _ammPool: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
    • Parameters

      • _futureVaultAddress: string
      • _ammPool: string
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<ContractTransaction>

  • setAMMPoolByFuture(address,address):function
    • setAMMPoolByFuture(address,address)(_futureVaultAddress: string, _ammPool: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
    • Parameters

      • _futureVaultAddress: string
      • _ammPool: string
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<ContractTransaction>

interface: AMMRegistryInterface
populateTransaction: { getFutureAMMPool: any; getFutureAMMPool(address): any; hasRole: any; hasRole(bytes32,address): any; initialize: any; initialize(address): any; isRegisteredAMM: any; isRegisteredAMM(address): any; removeAMMPool: any; removeAMMPool(address): any; setAMMPool: any; setAMMPool(address): any; setAMMPoolByFuture: any; setAMMPoolByFuture(address,address): any }

Type declaration

  • getFutureAMMPool:function
    • getFutureAMMPool(_futureVaultAddress: string, overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • _futureVaultAddress: string
      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • getFutureAMMPool(address):function
    • getFutureAMMPool(address)(_futureVaultAddress: string, overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • _futureVaultAddress: string
      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • hasRole:function
    • hasRole(role: BytesLike, account: string, overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • role: BytesLike
      • account: string
      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • hasRole(bytes32,address):function
    • hasRole(bytes32,address)(role: BytesLike, account: string, overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • role: BytesLike
      • account: string
      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • initialize:function
    • initialize(_admin: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
    • Parameters

      • _admin: string
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<PopulatedTransaction>

  • initialize(address):function
    • initialize(address)(_admin: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
    • Parameters

      • _admin: string
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<PopulatedTransaction>

  • isRegisteredAMM:function
    • isRegisteredAMM(_ammAddress: string, overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • _ammAddress: string
      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • isRegisteredAMM(address):function
    • isRegisteredAMM(address)(_ammAddress: string, overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • _ammAddress: string
      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • removeAMMPool:function
    • removeAMMPool(_ammPool: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
    • Parameters

      • _ammPool: string
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<PopulatedTransaction>

  • removeAMMPool(address):function
    • removeAMMPool(address)(_ammPool: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
    • Parameters

      • _ammPool: string
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<PopulatedTransaction>

  • setAMMPool:function
    • setAMMPool(_ammPool: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
    • Parameters

      • _ammPool: string
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<PopulatedTransaction>

  • setAMMPool(address):function
    • setAMMPool(address)(_ammPool: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
    • Parameters

      • _ammPool: string
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<PopulatedTransaction>

  • setAMMPoolByFuture:function
    • setAMMPoolByFuture(_futureVaultAddress: string, _ammPool: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
    • Parameters

      • _futureVaultAddress: string
      • _ammPool: string
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<PopulatedTransaction>

  • setAMMPoolByFuture(address,address):function
    • setAMMPoolByFuture(address,address)(_futureVaultAddress: string, _ammPool: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
    • Parameters

      • _futureVaultAddress: string
      • _ammPool: string
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<PopulatedTransaction>

provider: Provider
resolvedAddress: Promise<string>
signer: Signer

Methods

  • _checkRunningEvents(runningEvent: RunningEvent): void
  • Parameters

    • runningEvent: RunningEvent

    Returns void

  • _deployed(blockTag?: BlockTag): Promise<Contract>
  • Parameters

    • Optional blockTag: BlockTag

    Returns Promise<Contract>

  • _wrapEvent(runningEvent: RunningEvent, log: Log, listener: Listener): Event
  • Parameters

    • runningEvent: RunningEvent
    • log: Log
    • listener: Listener

    Returns Event

  • Parameters

    • addressOrName: string

    Returns AMMRegistry

  • connect(signerOrProvider: string | Signer | Provider): AMMRegistry
  • Parameters

    • signerOrProvider: string | Signer | Provider

    Returns AMMRegistry

  • Returns Promise<AMMRegistry>

  • emit(eventName: string | EventFilter, ...args: any[]): boolean
  • Parameters

    • eventName: string | EventFilter
    • Rest ...args: any[]

    Returns boolean

  • fallback(overrides?: TransactionRequest): Promise<TransactionResponse>
  • Parameters

    • Optional overrides: TransactionRequest

    Returns Promise<TransactionResponse>

  • getFutureAMMPool(_futureVaultAddress: string, overrides?: CallOverrides): Promise<string>
  • Parameters

    • _futureVaultAddress: string
    • Optional overrides: CallOverrides

    Returns Promise<string>

  • getFutureAMMPool(address)(_futureVaultAddress: string, overrides?: CallOverrides): Promise<string>
  • Parameters

    • _futureVaultAddress: string
    • Optional overrides: CallOverrides

    Returns Promise<string>

  • hasRole(role: BytesLike, account: string, overrides?: CallOverrides): Promise<boolean>
  • Parameters

    • role: BytesLike
    • account: string
    • Optional overrides: CallOverrides

    Returns Promise<boolean>

  • hasRole(bytes32,address)(role: BytesLike, account: string, overrides?: CallOverrides): Promise<boolean>
  • Parameters

    • role: BytesLike
    • account: string
    • Optional overrides: CallOverrides

    Returns Promise<boolean>

  • initialize(_admin: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • Parameters

    • _admin: string
    • Optional overrides: Overrides & { from?: string | Promise<string> }

    Returns Promise<ContractTransaction>

  • initialize(address)(_admin: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • Parameters

    • _admin: string
    • Optional overrides: Overrides & { from?: string | Promise<string> }

    Returns Promise<ContractTransaction>

  • isRegisteredAMM(_ammAddress: string, overrides?: CallOverrides): Promise<boolean>
  • Parameters

    • _ammAddress: string
    • Optional overrides: CallOverrides

    Returns Promise<boolean>

  • isRegisteredAMM(address)(_ammAddress: string, overrides?: CallOverrides): Promise<boolean>
  • Parameters

    • _ammAddress: string
    • Optional overrides: CallOverrides

    Returns Promise<boolean>

  • listenerCount(eventName?: string | EventFilter): number
  • Parameters

    • Optional eventName: string | EventFilter

    Returns number

  • listeners<EventArgsArray, EventArgsObject>(eventFilter?: TypedEventFilter<EventArgsArray, EventArgsObject>): TypedListener<EventArgsArray, EventArgsObject>[]
  • listeners(eventName?: string): Listener[]
  • Type parameters

    • EventArgsArray: any[]

    • EventArgsObject

    Parameters

    • Optional eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>

    Returns TypedListener<EventArgsArray, EventArgsObject>[]

  • Parameters

    • Optional eventName: string

    Returns Listener[]

  • off<EventArgsArray, EventArgsObject>(eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>, listener: TypedListener<EventArgsArray, EventArgsObject>): AMMRegistry
  • off(eventName: string, listener: Listener): AMMRegistry
  • Type parameters

    • EventArgsArray: any[]

    • EventArgsObject

    Parameters

    • eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>
    • listener: TypedListener<EventArgsArray, EventArgsObject>

    Returns AMMRegistry

  • Parameters

    • eventName: string
    • listener: Listener

    Returns AMMRegistry

  • on<EventArgsArray, EventArgsObject>(eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>, listener: TypedListener<EventArgsArray, EventArgsObject>): AMMRegistry
  • on(eventName: string, listener: Listener): AMMRegistry
  • Type parameters

    • EventArgsArray: any[]

    • EventArgsObject

    Parameters

    • eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>
    • listener: TypedListener<EventArgsArray, EventArgsObject>

    Returns AMMRegistry

  • Parameters

    • eventName: string
    • listener: Listener

    Returns AMMRegistry

  • once<EventArgsArray, EventArgsObject>(eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>, listener: TypedListener<EventArgsArray, EventArgsObject>): AMMRegistry
  • once(eventName: string, listener: Listener): AMMRegistry
  • Type parameters

    • EventArgsArray: any[]

    • EventArgsObject

    Parameters

    • eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>
    • listener: TypedListener<EventArgsArray, EventArgsObject>

    Returns AMMRegistry

  • Parameters

    • eventName: string
    • listener: Listener

    Returns AMMRegistry

  • queryFilter<EventArgsArray, EventArgsObject>(event: TypedEventFilter<EventArgsArray, EventArgsObject>, fromBlockOrBlockhash?: string | number, toBlock?: string | number): Promise<TypedEvent<EventArgsArray & EventArgsObject>[]>
  • Type parameters

    • EventArgsArray: any[]

    • EventArgsObject

    Parameters

    • event: TypedEventFilter<EventArgsArray, EventArgsObject>
    • Optional fromBlockOrBlockhash: string | number
    • Optional toBlock: string | number

    Returns Promise<TypedEvent<EventArgsArray & EventArgsObject>[]>

  • removeAMMPool(_ammPool: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • Parameters

    • _ammPool: string
    • Optional overrides: Overrides & { from?: string | Promise<string> }

    Returns Promise<ContractTransaction>

  • removeAMMPool(address)(_ammPool: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • Parameters

    • _ammPool: string
    • Optional overrides: Overrides & { from?: string | Promise<string> }

    Returns Promise<ContractTransaction>

  • removeAllListeners<EventArgsArray, EventArgsObject>(eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>): AMMRegistry
  • removeAllListeners(eventName?: string): AMMRegistry
  • Type parameters

    • EventArgsArray: any[]

    • EventArgsObject

    Parameters

    • eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>

    Returns AMMRegistry

  • Parameters

    • Optional eventName: string

    Returns AMMRegistry

  • removeListener<EventArgsArray, EventArgsObject>(eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>, listener: TypedListener<EventArgsArray, EventArgsObject>): AMMRegistry
  • removeListener(eventName: string, listener: Listener): AMMRegistry
  • Type parameters

    • EventArgsArray: any[]

    • EventArgsObject

    Parameters

    • eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>
    • listener: TypedListener<EventArgsArray, EventArgsObject>

    Returns AMMRegistry

  • Parameters

    • eventName: string
    • listener: Listener

    Returns AMMRegistry

  • setAMMPool(_ammPool: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • Parameters

    • _ammPool: string
    • Optional overrides: Overrides & { from?: string | Promise<string> }

    Returns Promise<ContractTransaction>

  • setAMMPool(address)(_ammPool: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • Parameters

    • _ammPool: string
    • Optional overrides: Overrides & { from?: string | Promise<string> }

    Returns Promise<ContractTransaction>

  • setAMMPoolByFuture(_futureVaultAddress: string, _ammPool: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • Parameters

    • _futureVaultAddress: string
    • _ammPool: string
    • Optional overrides: Overrides & { from?: string | Promise<string> }

    Returns Promise<ContractTransaction>

  • setAMMPoolByFuture(address,address)(_futureVaultAddress: string, _ammPool: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • Parameters

    • _futureVaultAddress: string
    • _ammPool: string
    • Optional overrides: Overrides & { from?: string | Promise<string> }

    Returns Promise<ContractTransaction>

  • getContractAddress(transaction: { from: string; nonce: BigNumberish }): string
  • Parameters

    • transaction: { from: string; nonce: BigNumberish }
      • from: string
      • nonce: BigNumberish

    Returns string

  • getInterface(contractInterface: ContractInterface): Interface
  • Parameters

    • contractInterface: ContractInterface

    Returns Interface

  • isIndexed(value: any): value is Indexed
  • Parameters

    • value: any

    Returns value is Indexed

Generated using TypeDoc, the 1/8/2023