Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • BaseContract
    • Getters

Index

Constructors

constructor

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

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

    Returns Getters

Properties

_deployedPromise

_deployedPromise: Promise<Contract>

_runningEvents

_runningEvents: {}

Type declaration

  • [eventTag: string]: RunningEvent

_wrappedEmits

_wrappedEmits: {}

Type declaration

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

        • Rest ...args: any[]

        Returns void

Readonly address

address: string

callStatic

callStatic: { chainId: any; evmChainId: any; getCurrentGuardianSetIndex: any; getGuardianSet: any; getGuardianSetExpiry: any; governanceActionIsConsumed: any; governanceChainId: any; governanceContract: any; isFork: any; isInitialized: any; messageFee: any; nextSequence: any }

Type declaration

  • chainId: function
    • chainId(overrides?: CallOverrides): Promise<number>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<number>

  • evmChainId: function
    • evmChainId(overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • getCurrentGuardianSetIndex: function
    • getCurrentGuardianSetIndex(overrides?: CallOverrides): Promise<number>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<number>

  • getGuardianSet: function
    • getGuardianSet(index: BigNumberish, overrides?: CallOverrides): Promise<[string[], number] & { expirationTime: number; keys: string[] }>
    • Parameters

      • index: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<[string[], number] & { expirationTime: number; keys: string[] }>

  • getGuardianSetExpiry: function
    • getGuardianSetExpiry(overrides?: CallOverrides): Promise<number>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<number>

  • governanceActionIsConsumed: function
    • governanceActionIsConsumed(hash: BytesLike, overrides?: CallOverrides): Promise<boolean>
    • Parameters

      • hash: BytesLike
      • Optional overrides: CallOverrides

      Returns Promise<boolean>

  • governanceChainId: function
    • governanceChainId(overrides?: CallOverrides): Promise<number>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<number>

  • governanceContract: function
    • governanceContract(overrides?: CallOverrides): Promise<string>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<string>

  • isFork: function
    • isFork(overrides?: CallOverrides): Promise<boolean>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<boolean>

  • isInitialized: function
    • isInitialized(impl: string, overrides?: CallOverrides): Promise<boolean>
    • Parameters

      • impl: string
      • Optional overrides: CallOverrides

      Returns Promise<boolean>

  • messageFee: function
    • messageFee(overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • nextSequence: function
    • nextSequence(emitter: string, overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • emitter: string
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

Readonly deployTransaction

deployTransaction: TransactionResponse

estimateGas

estimateGas: { chainId: any; evmChainId: any; getCurrentGuardianSetIndex: any; getGuardianSet: any; getGuardianSetExpiry: any; governanceActionIsConsumed: any; governanceChainId: any; governanceContract: any; isFork: any; isInitialized: any; messageFee: any; nextSequence: any }

Type declaration

  • chainId: function
    • chainId(overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • evmChainId: function
    • evmChainId(overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • getCurrentGuardianSetIndex: function
    • getCurrentGuardianSetIndex(overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • getGuardianSet: function
    • getGuardianSet(index: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • index: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • getGuardianSetExpiry: function
    • getGuardianSetExpiry(overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • governanceActionIsConsumed: function
    • governanceActionIsConsumed(hash: BytesLike, overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • hash: BytesLike
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • governanceChainId: function
    • governanceChainId(overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • governanceContract: function
    • governanceContract(overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • isFork: function
    • isFork(overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • isInitialized: function
    • isInitialized(impl: string, overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • impl: string
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • messageFee: function
    • messageFee(overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • nextSequence: function
    • nextSequence(emitter: string, overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • emitter: string
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

filters

filters: {}

Type declaration

functions

functions: { chainId: any; evmChainId: any; getCurrentGuardianSetIndex: any; getGuardianSet: any; getGuardianSetExpiry: any; governanceActionIsConsumed: any; governanceChainId: any; governanceContract: any; isFork: any; isInitialized: any; messageFee: any; nextSequence: any }

Type declaration

  • chainId: function
    • chainId(overrides?: CallOverrides): Promise<[number]>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<[number]>

  • evmChainId: function
    • evmChainId(overrides?: CallOverrides): Promise<[BigNumber]>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<[BigNumber]>

  • getCurrentGuardianSetIndex: function
    • getCurrentGuardianSetIndex(overrides?: CallOverrides): Promise<[number]>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<[number]>

  • getGuardianSet: function
    • getGuardianSet(index: BigNumberish, overrides?: CallOverrides): Promise<[[string[], number] & { expirationTime: number; keys: string[] }]>
    • Parameters

      • index: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<[[string[], number] & { expirationTime: number; keys: string[] }]>

  • getGuardianSetExpiry: function
    • getGuardianSetExpiry(overrides?: CallOverrides): Promise<[number]>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<[number]>

  • governanceActionIsConsumed: function
    • governanceActionIsConsumed(hash: BytesLike, overrides?: CallOverrides): Promise<[boolean]>
    • Parameters

      • hash: BytesLike
      • Optional overrides: CallOverrides

      Returns Promise<[boolean]>

  • governanceChainId: function
    • governanceChainId(overrides?: CallOverrides): Promise<[number]>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<[number]>

  • governanceContract: function
    • governanceContract(overrides?: CallOverrides): Promise<[string]>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<[string]>

  • isFork: function
    • isFork(overrides?: CallOverrides): Promise<[boolean]>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<[boolean]>

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

      • impl: string
      • Optional overrides: CallOverrides

      Returns Promise<[boolean]>

  • messageFee: function
    • messageFee(overrides?: CallOverrides): Promise<[BigNumber]>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<[BigNumber]>

  • nextSequence: function
    • nextSequence(emitter: string, overrides?: CallOverrides): Promise<[BigNumber]>
    • Parameters

      • emitter: string
      • Optional overrides: CallOverrides

      Returns Promise<[BigNumber]>

interface

interface: GettersInterface

populateTransaction

populateTransaction: { chainId: any; evmChainId: any; getCurrentGuardianSetIndex: any; getGuardianSet: any; getGuardianSetExpiry: any; governanceActionIsConsumed: any; governanceChainId: any; governanceContract: any; isFork: any; isInitialized: any; messageFee: any; nextSequence: any }

Type declaration

  • chainId: function
    • chainId(overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • evmChainId: function
    • evmChainId(overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • getCurrentGuardianSetIndex: function
    • getCurrentGuardianSetIndex(overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • getGuardianSet: function
    • getGuardianSet(index: BigNumberish, overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • index: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • getGuardianSetExpiry: function
    • getGuardianSetExpiry(overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • governanceActionIsConsumed: function
    • governanceActionIsConsumed(hash: BytesLike, overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • hash: BytesLike
      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • governanceChainId: function
    • governanceChainId(overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • governanceContract: function
    • governanceContract(overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • isFork: function
    • isFork(overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • isInitialized: function
    • isInitialized(impl: string, overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • impl: string
      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • messageFee: function
    • messageFee(overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • nextSequence: function
    • nextSequence(emitter: string, overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • emitter: string
      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

Readonly provider

provider: Provider

Readonly resolvedAddress

resolvedAddress: Promise<string>

Readonly signer

signer: Signer

Methods

_checkRunningEvents

  • _checkRunningEvents(runningEvent: RunningEvent): void
  • Parameters

    • runningEvent: RunningEvent

    Returns void

_deployed

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

    • Optional blockTag: BlockTag

    Returns Promise<Contract>

_wrapEvent

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

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

    Returns Event

attach

  • attach(addressOrName: string): Getters
  • Parameters

    • addressOrName: string

    Returns Getters

chainId

  • chainId(overrides?: CallOverrides): Promise<number>
  • Parameters

    • Optional overrides: CallOverrides

    Returns Promise<number>

connect

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

    • signerOrProvider: string | Signer | Provider

    Returns Getters

deployed

  • Returns Promise<Getters>

emit

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

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

    Returns boolean

evmChainId

  • evmChainId(overrides?: CallOverrides): Promise<BigNumber>
  • Parameters

    • Optional overrides: CallOverrides

    Returns Promise<BigNumber>

fallback

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

    • Optional overrides: TransactionRequest

    Returns Promise<TransactionResponse>

getCurrentGuardianSetIndex

  • getCurrentGuardianSetIndex(overrides?: CallOverrides): Promise<number>
  • Parameters

    • Optional overrides: CallOverrides

    Returns Promise<number>

getGuardianSet

  • getGuardianSet(index: BigNumberish, overrides?: CallOverrides): Promise<[string[], number] & { expirationTime: number; keys: string[] }>
  • Parameters

    • index: BigNumberish
    • Optional overrides: CallOverrides

    Returns Promise<[string[], number] & { expirationTime: number; keys: string[] }>

getGuardianSetExpiry

  • getGuardianSetExpiry(overrides?: CallOverrides): Promise<number>
  • Parameters

    • Optional overrides: CallOverrides

    Returns Promise<number>

governanceActionIsConsumed

  • governanceActionIsConsumed(hash: BytesLike, overrides?: CallOverrides): Promise<boolean>
  • Parameters

    • hash: BytesLike
    • Optional overrides: CallOverrides

    Returns Promise<boolean>

governanceChainId

  • governanceChainId(overrides?: CallOverrides): Promise<number>
  • Parameters

    • Optional overrides: CallOverrides

    Returns Promise<number>

governanceContract

  • governanceContract(overrides?: CallOverrides): Promise<string>
  • Parameters

    • Optional overrides: CallOverrides

    Returns Promise<string>

isFork

  • isFork(overrides?: CallOverrides): Promise<boolean>
  • Parameters

    • Optional overrides: CallOverrides

    Returns Promise<boolean>

isInitialized

  • isInitialized(impl: string, overrides?: CallOverrides): Promise<boolean>
  • Parameters

    • impl: string
    • Optional overrides: CallOverrides

    Returns Promise<boolean>

listenerCount

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

    • Optional eventName: string | EventFilter

    Returns number

listeners

  • 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[]

messageFee

  • messageFee(overrides?: CallOverrides): Promise<BigNumber>
  • Parameters

    • Optional overrides: CallOverrides

    Returns Promise<BigNumber>

nextSequence

  • nextSequence(emitter: string, overrides?: CallOverrides): Promise<BigNumber>
  • Parameters

    • emitter: string
    • Optional overrides: CallOverrides

    Returns Promise<BigNumber>

off

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

    • EventArgsArray: any[]

    • EventArgsObject

    Parameters

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

    Returns Getters

  • Parameters

    • eventName: string
    • listener: Listener

    Returns Getters

on

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

    • EventArgsArray: any[]

    • EventArgsObject

    Parameters

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

    Returns Getters

  • Parameters

    • eventName: string
    • listener: Listener

    Returns Getters

once

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

    • EventArgsArray: any[]

    • EventArgsObject

    Parameters

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

    Returns Getters

  • Parameters

    • eventName: string
    • listener: Listener

    Returns Getters

queryFilter

  • 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>[]>

removeAllListeners

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

    • EventArgsArray: any[]

    • EventArgsObject

    Parameters

    • eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>

    Returns Getters

  • Parameters

    • Optional eventName: string

    Returns Getters

removeListener

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

    • EventArgsArray: any[]

    • EventArgsObject

    Parameters

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

    Returns Getters

  • Parameters

    • eventName: string
    • listener: Listener

    Returns Getters

Static getContractAddress

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

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

    Returns string

Static getInterface

  • getInterface(contractInterface: ContractInterface): Interface
  • Parameters

    • contractInterface: ContractInterface

    Returns Interface

Static isIndexed

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

    • value: any

    Returns value is Indexed

Generated using TypeDoc