Properties
_deployedPromise
_deployedPromise: Promise<Contract>
_runningEvents
_runningEvents: {}
Type declaration
[eventTag: string]: RunningEvent
_wrappedEmits
_wrappedEmits: {}
Type declaration
[eventTag: string]: (...args: any[]) => void
Readonly address
address: string
callStatic
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>
Readonly deployTransaction
deployTransaction: TransactionResponse
estimateGas
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
filters: { AMMPoolRegistered: any; AMMPoolRemoved: any; FutureAMMPoolSet: any; RoleGranted: any }
Type declaration
AMMPoolRegistered:function
- AMMPoolRegistered(_ammPool: null): TypedEventFilter<[string], { _ammPool: string }>
Parameters
Returns TypedEventFilter<[string], { _ammPool: string }>
AMMPoolRemoved:function
- AMMPoolRemoved(_ammPool: null): TypedEventFilter<[string], { _ammPool: string }>
Parameters
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
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
interface: AMMRegistryInterface
populateTransaction
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>
Readonly provider
provider: Provider
Readonly resolvedAddress
resolvedAddress: Promise<string>
Readonly signer
signer: Signer