Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • BaseContract
    • SignatureBridge

Index

Constructors

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

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

    Returns Contracts.SignatureBridge

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: { EVM_CHAIN_ID_TYPE: any; _counts: any; _resourceIDToHandlerAddress: any; adminSetResourceWithSignature: any; averageSessionLengthInMillisecs: any; currentVotingPeriod: any; executeProposalWithSignature: any; getChainId: any; getChainIdType: any; governor: any; isGovernor: any; isSignatureFromGovernor: any; lastGovernorUpdateTime: any; numOfProposers: any; paused: any; proposalNonce: any; proposerSetRoot: any; proposerSetUpdateNonce: any; recover: any; refreshNonce: any; renounceOwnership: any; sessionLengthMultiplier: any; transferOwnership: any; transferOwnershipWithSignaturePubKey: any; updateProposerSetData: any; voteInFavorForceSetGovernor: any }

Type declaration

  • EVM_CHAIN_ID_TYPE:function
    • EVM_CHAIN_ID_TYPE(overrides?: CallOverrides): Promise<string>
  • _counts:function
    • _counts(arg0: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>
  • _resourceIDToHandlerAddress:function
    • _resourceIDToHandlerAddress(arg0: BytesLike, overrides?: CallOverrides): Promise<string>
  • adminSetResourceWithSignature:function
    • adminSetResourceWithSignature(resourceID: BytesLike, functionSig: BytesLike, nonce: BigNumberish, newResourceID: BytesLike, handlerAddress: string, executionContextAddress: string, sig: BytesLike, overrides?: CallOverrides): Promise<void>
    • Parameters

      • resourceID: BytesLike
      • functionSig: BytesLike
      • nonce: BigNumberish
      • newResourceID: BytesLike
      • handlerAddress: string
      • executionContextAddress: string
      • sig: BytesLike
      • Optional overrides: CallOverrides

      Returns Promise<void>

  • averageSessionLengthInMillisecs:function
    • averageSessionLengthInMillisecs(overrides?: CallOverrides): Promise<BigNumber>
  • currentVotingPeriod:function
    • currentVotingPeriod(overrides?: CallOverrides): Promise<BigNumber>
  • executeProposalWithSignature:function
    • executeProposalWithSignature(data: BytesLike, sig: BytesLike, overrides?: CallOverrides): Promise<void>
  • getChainId:function
    • getChainId(overrides?: CallOverrides): Promise<BigNumber>
  • getChainIdType:function
    • getChainIdType(overrides?: CallOverrides): Promise<number>
  • governor:function
    • governor(overrides?: CallOverrides): Promise<string>
  • isGovernor:function
    • isGovernor(overrides?: CallOverrides): Promise<boolean>
  • isSignatureFromGovernor:function
    • isSignatureFromGovernor(data: BytesLike, sig: BytesLike, overrides?: CallOverrides): Promise<boolean>
  • lastGovernorUpdateTime:function
    • lastGovernorUpdateTime(overrides?: CallOverrides): Promise<BigNumber>
  • numOfProposers:function
    • numOfProposers(overrides?: CallOverrides): Promise<number>
  • paused:function
    • paused(overrides?: CallOverrides): Promise<boolean>
  • proposalNonce:function
    • proposalNonce(overrides?: CallOverrides): Promise<BigNumber>
  • proposerSetRoot:function
    • proposerSetRoot(overrides?: CallOverrides): Promise<string>
  • proposerSetUpdateNonce:function
    • proposerSetUpdateNonce(overrides?: CallOverrides): Promise<number>
  • recover:function
    • recover(data: BytesLike, sig: BytesLike, overrides?: CallOverrides): Promise<string>
  • refreshNonce:function
    • refreshNonce(overrides?: CallOverrides): Promise<number>
  • renounceOwnership:function
    • renounceOwnership(overrides?: CallOverrides): Promise<void>
  • sessionLengthMultiplier:function
    • sessionLengthMultiplier(overrides?: CallOverrides): Promise<BigNumber>
  • transferOwnership:function
    • transferOwnership(newOwner: string, nonce: BigNumberish, overrides?: CallOverrides): Promise<void>
  • transferOwnershipWithSignaturePubKey:function
    • transferOwnershipWithSignaturePubKey(publicKey: BytesLike, nonce: BigNumberish, sig: BytesLike, overrides?: CallOverrides): Promise<void>
  • updateProposerSetData:function
    • updateProposerSetData(_proposerSetRoot: BytesLike, _averageSessionLengthInMillisecs: BigNumberish, _numOfProposers: BigNumberish, _proposerSetUpdateNonce: BigNumberish, _sig: BytesLike, overrides?: CallOverrides): Promise<void>
    • Parameters

      • _proposerSetRoot: BytesLike
      • _averageSessionLengthInMillisecs: BigNumberish
      • _numOfProposers: BigNumberish
      • _proposerSetUpdateNonce: BigNumberish
      • _sig: BytesLike
      • Optional overrides: CallOverrides

      Returns Promise<void>

  • voteInFavorForceSetGovernor:function
    • voteInFavorForceSetGovernor(vote: { leafIndex: BigNumberish; proposedGovernor: string; siblingPathNodes: BytesLike[] }, overrides?: CallOverrides): Promise<void>
    • Parameters

      • vote: { leafIndex: BigNumberish; proposedGovernor: string; siblingPathNodes: BytesLike[] }
        • leafIndex: BigNumberish
        • proposedGovernor: string
        • siblingPathNodes: BytesLike[]
      • Optional overrides: CallOverrides

      Returns Promise<void>

deployTransaction: TransactionResponse
estimateGas: { EVM_CHAIN_ID_TYPE: any; _counts: any; _resourceIDToHandlerAddress: any; adminSetResourceWithSignature: any; averageSessionLengthInMillisecs: any; currentVotingPeriod: any; executeProposalWithSignature: any; getChainId: any; getChainIdType: any; governor: any; isGovernor: any; isSignatureFromGovernor: any; lastGovernorUpdateTime: any; numOfProposers: any; paused: any; proposalNonce: any; proposerSetRoot: any; proposerSetUpdateNonce: any; recover: any; refreshNonce: any; renounceOwnership: any; sessionLengthMultiplier: any; transferOwnership: any; transferOwnershipWithSignaturePubKey: any; updateProposerSetData: any; voteInFavorForceSetGovernor: any }

Type declaration

  • EVM_CHAIN_ID_TYPE:function
    • EVM_CHAIN_ID_TYPE(overrides?: CallOverrides): Promise<BigNumber>
  • _counts:function
    • _counts(arg0: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>
  • _resourceIDToHandlerAddress:function
    • _resourceIDToHandlerAddress(arg0: BytesLike, overrides?: CallOverrides): Promise<BigNumber>
  • adminSetResourceWithSignature:function
    • adminSetResourceWithSignature(resourceID: BytesLike, functionSig: BytesLike, nonce: BigNumberish, newResourceID: BytesLike, handlerAddress: string, executionContextAddress: string, sig: BytesLike, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
    • Parameters

      • resourceID: BytesLike
      • functionSig: BytesLike
      • nonce: BigNumberish
      • newResourceID: BytesLike
      • handlerAddress: string
      • executionContextAddress: string
      • sig: BytesLike
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<BigNumber>

  • averageSessionLengthInMillisecs:function
    • averageSessionLengthInMillisecs(overrides?: CallOverrides): Promise<BigNumber>
  • currentVotingPeriod:function
    • currentVotingPeriod(overrides?: CallOverrides): Promise<BigNumber>
  • executeProposalWithSignature:function
    • executeProposalWithSignature(data: BytesLike, sig: BytesLike, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
  • getChainId:function
    • getChainId(overrides?: CallOverrides): Promise<BigNumber>
  • getChainIdType:function
    • getChainIdType(overrides?: CallOverrides): Promise<BigNumber>
  • governor:function
    • governor(overrides?: CallOverrides): Promise<BigNumber>
  • isGovernor:function
    • isGovernor(overrides?: CallOverrides): Promise<BigNumber>
  • isSignatureFromGovernor:function
    • isSignatureFromGovernor(data: BytesLike, sig: BytesLike, overrides?: CallOverrides): Promise<BigNumber>
  • lastGovernorUpdateTime:function
    • lastGovernorUpdateTime(overrides?: CallOverrides): Promise<BigNumber>
  • numOfProposers:function
    • numOfProposers(overrides?: CallOverrides): Promise<BigNumber>
  • paused:function
    • paused(overrides?: CallOverrides): Promise<BigNumber>
  • proposalNonce:function
    • proposalNonce(overrides?: CallOverrides): Promise<BigNumber>
  • proposerSetRoot:function
    • proposerSetRoot(overrides?: CallOverrides): Promise<BigNumber>
  • proposerSetUpdateNonce:function
    • proposerSetUpdateNonce(overrides?: CallOverrides): Promise<BigNumber>
  • recover:function
    • recover(data: BytesLike, sig: BytesLike, overrides?: CallOverrides): Promise<BigNumber>
  • refreshNonce:function
    • refreshNonce(overrides?: CallOverrides): Promise<BigNumber>
  • renounceOwnership:function
    • renounceOwnership(overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
  • sessionLengthMultiplier:function
    • sessionLengthMultiplier(overrides?: CallOverrides): Promise<BigNumber>
  • transferOwnership:function
    • transferOwnership(newOwner: string, nonce: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
  • transferOwnershipWithSignaturePubKey:function
    • transferOwnershipWithSignaturePubKey(publicKey: BytesLike, nonce: BigNumberish, sig: BytesLike, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
  • updateProposerSetData:function
    • updateProposerSetData(_proposerSetRoot: BytesLike, _averageSessionLengthInMillisecs: BigNumberish, _numOfProposers: BigNumberish, _proposerSetUpdateNonce: BigNumberish, _sig: BytesLike, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
    • Parameters

      • _proposerSetRoot: BytesLike
      • _averageSessionLengthInMillisecs: BigNumberish
      • _numOfProposers: BigNumberish
      • _proposerSetUpdateNonce: BigNumberish
      • _sig: BytesLike
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<BigNumber>

  • voteInFavorForceSetGovernor:function
    • voteInFavorForceSetGovernor(vote: { leafIndex: BigNumberish; proposedGovernor: string; siblingPathNodes: BytesLike[] }, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
    • Parameters

      • vote: { leafIndex: BigNumberish; proposedGovernor: string; siblingPathNodes: BytesLike[] }
        • leafIndex: BigNumberish
        • proposedGovernor: string
        • siblingPathNodes: BytesLike[]
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<BigNumber>

filters: { GovernanceOwnershipTransferred: any; GovernanceOwnershipTransferred(address,address): any; Paused: any; Paused(address): any; RecoveredAddress: any; RecoveredAddress(address): any; Unpaused: any; Unpaused(address): any }

Type declaration

  • GovernanceOwnershipTransferred:function
    • GovernanceOwnershipTransferred(previousOwner?: string, newOwner?: string): TypedEventFilter<[string, string], { newOwner: string; previousOwner: string }>
  • GovernanceOwnershipTransferred(address,address):function
    • GovernanceOwnershipTransferred(address,address)(previousOwner?: string, newOwner?: string): TypedEventFilter<[string, string], { newOwner: string; previousOwner: string }>
  • Paused:function
    • Paused(account?: null): TypedEventFilter<[string], { account: string }>
  • Paused(address):function
    • Paused(address)(account?: null): TypedEventFilter<[string], { account: string }>
  • RecoveredAddress:function
    • RecoveredAddress(recovered?: string): TypedEventFilter<[string], { recovered: string }>
  • RecoveredAddress(address):function
    • RecoveredAddress(address)(recovered?: string): TypedEventFilter<[string], { recovered: string }>
  • Unpaused:function
    • Unpaused(account?: null): TypedEventFilter<[string], { account: string }>
  • Unpaused(address):function
    • Unpaused(address)(account?: null): TypedEventFilter<[string], { account: string }>
functions: { EVM_CHAIN_ID_TYPE: any; _counts: any; _resourceIDToHandlerAddress: any; adminSetResourceWithSignature: any; averageSessionLengthInMillisecs: any; currentVotingPeriod: any; executeProposalWithSignature: any; getChainId: any; getChainIdType: any; governor: any; isGovernor: any; isSignatureFromGovernor: any; lastGovernorUpdateTime: any; numOfProposers: any; paused: any; proposalNonce: any; proposerSetRoot: any; proposerSetUpdateNonce: any; recover: any; refreshNonce: any; renounceOwnership: any; sessionLengthMultiplier: any; transferOwnership: any; transferOwnershipWithSignaturePubKey: any; updateProposerSetData: any; voteInFavorForceSetGovernor: any }

Type declaration

  • EVM_CHAIN_ID_TYPE:function
    • EVM_CHAIN_ID_TYPE(overrides?: CallOverrides): Promise<[string]>
  • _counts:function
    • _counts(arg0: BigNumberish, overrides?: CallOverrides): Promise<[BigNumber]>
  • _resourceIDToHandlerAddress:function
    • _resourceIDToHandlerAddress(arg0: BytesLike, overrides?: CallOverrides): Promise<[string]>
  • adminSetResourceWithSignature:function
    • adminSetResourceWithSignature(resourceID: BytesLike, functionSig: BytesLike, nonce: BigNumberish, newResourceID: BytesLike, handlerAddress: string, executionContextAddress: string, sig: BytesLike, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
    • Parameters

      • resourceID: BytesLike
      • functionSig: BytesLike
      • nonce: BigNumberish
      • newResourceID: BytesLike
      • handlerAddress: string
      • executionContextAddress: string
      • sig: BytesLike
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<ContractTransaction>

  • averageSessionLengthInMillisecs:function
    • averageSessionLengthInMillisecs(overrides?: CallOverrides): Promise<[BigNumber]>
  • currentVotingPeriod:function
    • currentVotingPeriod(overrides?: CallOverrides): Promise<[BigNumber]>
  • executeProposalWithSignature:function
    • executeProposalWithSignature(data: BytesLike, sig: BytesLike, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • getChainId:function
    • getChainId(overrides?: CallOverrides): Promise<[BigNumber]>
  • getChainIdType:function
    • getChainIdType(overrides?: CallOverrides): Promise<[number]>
  • governor:function
    • governor(overrides?: CallOverrides): Promise<[string]>
  • isGovernor:function
    • isGovernor(overrides?: CallOverrides): Promise<[boolean]>
  • isSignatureFromGovernor:function
    • isSignatureFromGovernor(data: BytesLike, sig: BytesLike, overrides?: CallOverrides): Promise<[boolean]>
  • lastGovernorUpdateTime:function
    • lastGovernorUpdateTime(overrides?: CallOverrides): Promise<[BigNumber]>
  • numOfProposers:function
    • numOfProposers(overrides?: CallOverrides): Promise<[number]>
  • paused:function
    • paused(overrides?: CallOverrides): Promise<[boolean]>
  • proposalNonce:function
    • proposalNonce(overrides?: CallOverrides): Promise<[BigNumber]>
  • proposerSetRoot:function
    • proposerSetRoot(overrides?: CallOverrides): Promise<[string]>
  • proposerSetUpdateNonce:function
    • proposerSetUpdateNonce(overrides?: CallOverrides): Promise<[number]>
  • recover:function
    • recover(data: BytesLike, sig: BytesLike, overrides?: CallOverrides): Promise<[string]>
  • refreshNonce:function
    • refreshNonce(overrides?: CallOverrides): Promise<[number]>
  • renounceOwnership:function
    • renounceOwnership(overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • sessionLengthMultiplier:function
    • sessionLengthMultiplier(overrides?: CallOverrides): Promise<[BigNumber]>
  • transferOwnership:function
    • transferOwnership(newOwner: string, nonce: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • transferOwnershipWithSignaturePubKey:function
    • transferOwnershipWithSignaturePubKey(publicKey: BytesLike, nonce: BigNumberish, sig: BytesLike, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • updateProposerSetData:function
    • updateProposerSetData(_proposerSetRoot: BytesLike, _averageSessionLengthInMillisecs: BigNumberish, _numOfProposers: BigNumberish, _proposerSetUpdateNonce: BigNumberish, _sig: BytesLike, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
    • Parameters

      • _proposerSetRoot: BytesLike
      • _averageSessionLengthInMillisecs: BigNumberish
      • _numOfProposers: BigNumberish
      • _proposerSetUpdateNonce: BigNumberish
      • _sig: BytesLike
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<ContractTransaction>

  • voteInFavorForceSetGovernor:function
    • voteInFavorForceSetGovernor(vote: { leafIndex: BigNumberish; proposedGovernor: string; siblingPathNodes: BytesLike[] }, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
    • Parameters

      • vote: { leafIndex: BigNumberish; proposedGovernor: string; siblingPathNodes: BytesLike[] }
        • leafIndex: BigNumberish
        • proposedGovernor: string
        • siblingPathNodes: BytesLike[]
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<ContractTransaction>

interface: SignatureBridgeInterface
populateTransaction: { EVM_CHAIN_ID_TYPE: any; _counts: any; _resourceIDToHandlerAddress: any; adminSetResourceWithSignature: any; averageSessionLengthInMillisecs: any; currentVotingPeriod: any; executeProposalWithSignature: any; getChainId: any; getChainIdType: any; governor: any; isGovernor: any; isSignatureFromGovernor: any; lastGovernorUpdateTime: any; numOfProposers: any; paused: any; proposalNonce: any; proposerSetRoot: any; proposerSetUpdateNonce: any; recover: any; refreshNonce: any; renounceOwnership: any; sessionLengthMultiplier: any; transferOwnership: any; transferOwnershipWithSignaturePubKey: any; updateProposerSetData: any; voteInFavorForceSetGovernor: any }

Type declaration

  • EVM_CHAIN_ID_TYPE:function
    • EVM_CHAIN_ID_TYPE(overrides?: CallOverrides): Promise<PopulatedTransaction>
  • _counts:function
    • _counts(arg0: BigNumberish, overrides?: CallOverrides): Promise<PopulatedTransaction>
  • _resourceIDToHandlerAddress:function
    • _resourceIDToHandlerAddress(arg0: BytesLike, overrides?: CallOverrides): Promise<PopulatedTransaction>
  • adminSetResourceWithSignature:function
    • adminSetResourceWithSignature(resourceID: BytesLike, functionSig: BytesLike, nonce: BigNumberish, newResourceID: BytesLike, handlerAddress: string, executionContextAddress: string, sig: BytesLike, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
    • Parameters

      • resourceID: BytesLike
      • functionSig: BytesLike
      • nonce: BigNumberish
      • newResourceID: BytesLike
      • handlerAddress: string
      • executionContextAddress: string
      • sig: BytesLike
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<PopulatedTransaction>

  • averageSessionLengthInMillisecs:function
    • averageSessionLengthInMillisecs(overrides?: CallOverrides): Promise<PopulatedTransaction>
  • currentVotingPeriod:function
    • currentVotingPeriod(overrides?: CallOverrides): Promise<PopulatedTransaction>
  • executeProposalWithSignature:function
    • executeProposalWithSignature(data: BytesLike, sig: BytesLike, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
  • getChainId:function
    • getChainId(overrides?: CallOverrides): Promise<PopulatedTransaction>
  • getChainIdType:function
    • getChainIdType(overrides?: CallOverrides): Promise<PopulatedTransaction>
  • governor:function
    • governor(overrides?: CallOverrides): Promise<PopulatedTransaction>
  • isGovernor:function
    • isGovernor(overrides?: CallOverrides): Promise<PopulatedTransaction>
  • isSignatureFromGovernor:function
    • isSignatureFromGovernor(data: BytesLike, sig: BytesLike, overrides?: CallOverrides): Promise<PopulatedTransaction>
  • lastGovernorUpdateTime:function
    • lastGovernorUpdateTime(overrides?: CallOverrides): Promise<PopulatedTransaction>
  • numOfProposers:function
    • numOfProposers(overrides?: CallOverrides): Promise<PopulatedTransaction>
  • paused:function
    • paused(overrides?: CallOverrides): Promise<PopulatedTransaction>
  • proposalNonce:function
    • proposalNonce(overrides?: CallOverrides): Promise<PopulatedTransaction>
  • proposerSetRoot:function
    • proposerSetRoot(overrides?: CallOverrides): Promise<PopulatedTransaction>
  • proposerSetUpdateNonce:function
    • proposerSetUpdateNonce(overrides?: CallOverrides): Promise<PopulatedTransaction>
  • recover:function
    • recover(data: BytesLike, sig: BytesLike, overrides?: CallOverrides): Promise<PopulatedTransaction>
  • refreshNonce:function
    • refreshNonce(overrides?: CallOverrides): Promise<PopulatedTransaction>
  • renounceOwnership:function
    • renounceOwnership(overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
  • sessionLengthMultiplier:function
    • sessionLengthMultiplier(overrides?: CallOverrides): Promise<PopulatedTransaction>
  • transferOwnership:function
    • transferOwnership(newOwner: string, nonce: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
  • transferOwnershipWithSignaturePubKey:function
    • transferOwnershipWithSignaturePubKey(publicKey: BytesLike, nonce: BigNumberish, sig: BytesLike, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
  • updateProposerSetData:function
    • updateProposerSetData(_proposerSetRoot: BytesLike, _averageSessionLengthInMillisecs: BigNumberish, _numOfProposers: BigNumberish, _proposerSetUpdateNonce: BigNumberish, _sig: BytesLike, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
    • Parameters

      • _proposerSetRoot: BytesLike
      • _averageSessionLengthInMillisecs: BigNumberish
      • _numOfProposers: BigNumberish
      • _proposerSetUpdateNonce: BigNumberish
      • _sig: BytesLike
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<PopulatedTransaction>

  • voteInFavorForceSetGovernor:function
    • voteInFavorForceSetGovernor(vote: { leafIndex: BigNumberish; proposedGovernor: string; siblingPathNodes: BytesLike[] }, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
    • Parameters

      • vote: { leafIndex: BigNumberish; proposedGovernor: string; siblingPathNodes: BytesLike[] }
        • leafIndex: BigNumberish
        • proposedGovernor: string
        • siblingPathNodes: BytesLike[]
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<PopulatedTransaction>

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

Methods

  • EVM_CHAIN_ID_TYPE(overrides?: CallOverrides): Promise<string>
  • _checkRunningEvents(runningEvent: RunningEvent): void
  • Parameters

    • runningEvent: RunningEvent

    Returns void

  • _counts(arg0: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>
  • _deployed(blockTag?: BlockTag): Promise<Contract>
  • Parameters

    • Optional blockTag: BlockTag

    Returns Promise<Contract>

  • _resourceIDToHandlerAddress(arg0: BytesLike, overrides?: CallOverrides): Promise<string>
  • _wrapEvent(runningEvent: RunningEvent, log: Log, listener: Listener): Event
  • Parameters

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

    Returns Event

  • adminSetResourceWithSignature(resourceID: BytesLike, functionSig: BytesLike, nonce: BigNumberish, newResourceID: BytesLike, handlerAddress: string, executionContextAddress: string, sig: BytesLike, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • Parameters

    • resourceID: BytesLike
    • functionSig: BytesLike
    • nonce: BigNumberish
    • newResourceID: BytesLike
    • handlerAddress: string
    • executionContextAddress: string
    • sig: BytesLike
    • Optional overrides: Overrides & { from?: string | Promise<string> }

    Returns Promise<ContractTransaction>

  • averageSessionLengthInMillisecs(overrides?: CallOverrides): Promise<BigNumber>
  • currentVotingPeriod(overrides?: CallOverrides): Promise<BigNumber>
  • emit(eventName: string | EventFilter, ...args: any[]): boolean
  • Parameters

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

    Returns boolean

  • executeProposalWithSignature(data: BytesLike, sig: BytesLike, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • fallback(overrides?: TransactionRequest): Promise<TransactionResponse>
  • Parameters

    • Optional overrides: TransactionRequest

    Returns Promise<TransactionResponse>

  • getChainId(overrides?: CallOverrides): Promise<BigNumber>
  • getChainIdType(overrides?: CallOverrides): Promise<number>
  • governor(overrides?: CallOverrides): Promise<string>
  • isGovernor(overrides?: CallOverrides): Promise<boolean>
  • isSignatureFromGovernor(data: BytesLike, sig: BytesLike, overrides?: CallOverrides): Promise<boolean>
  • lastGovernorUpdateTime(overrides?: CallOverrides): Promise<BigNumber>
  • 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[]
  • numOfProposers(overrides?: CallOverrides): Promise<number>
  • off<EventArgsArray, EventArgsObject>(eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>, listener: TypedListener<EventArgsArray, EventArgsObject>): Contracts.SignatureBridge
  • off(eventName: string, listener: Listener): Contracts.SignatureBridge
  • on<EventArgsArray, EventArgsObject>(eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>, listener: TypedListener<EventArgsArray, EventArgsObject>): Contracts.SignatureBridge
  • on(eventName: string, listener: Listener): Contracts.SignatureBridge
  • once<EventArgsArray, EventArgsObject>(eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>, listener: TypedListener<EventArgsArray, EventArgsObject>): Contracts.SignatureBridge
  • once(eventName: string, listener: Listener): Contracts.SignatureBridge
  • paused(overrides?: CallOverrides): Promise<boolean>
  • proposalNonce(overrides?: CallOverrides): Promise<BigNumber>
  • proposerSetRoot(overrides?: CallOverrides): Promise<string>
  • proposerSetUpdateNonce(overrides?: CallOverrides): Promise<number>
  • 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>[]>

  • recover(data: BytesLike, sig: BytesLike, overrides?: CallOverrides): Promise<string>
  • refreshNonce(overrides?: CallOverrides): Promise<number>
  • removeListener<EventArgsArray, EventArgsObject>(eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>, listener: TypedListener<EventArgsArray, EventArgsObject>): Contracts.SignatureBridge
  • removeListener(eventName: string, listener: Listener): Contracts.SignatureBridge
  • renounceOwnership(overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • sessionLengthMultiplier(overrides?: CallOverrides): Promise<BigNumber>
  • transferOwnership(newOwner: string, nonce: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • transferOwnershipWithSignaturePubKey(publicKey: BytesLike, nonce: BigNumberish, sig: BytesLike, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • updateProposerSetData(_proposerSetRoot: BytesLike, _averageSessionLengthInMillisecs: BigNumberish, _numOfProposers: BigNumberish, _proposerSetUpdateNonce: BigNumberish, _sig: BytesLike, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • Parameters

    • _proposerSetRoot: BytesLike
    • _averageSessionLengthInMillisecs: BigNumberish
    • _numOfProposers: BigNumberish
    • _proposerSetUpdateNonce: BigNumberish
    • _sig: BytesLike
    • Optional overrides: Overrides & { from?: string | Promise<string> }

    Returns Promise<ContractTransaction>

  • voteInFavorForceSetGovernor(vote: { leafIndex: BigNumberish; proposedGovernor: string; siblingPathNodes: BytesLike[] }, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • Parameters

    • vote: { leafIndex: BigNumberish; proposedGovernor: string; siblingPathNodes: BytesLike[] }
      • leafIndex: BigNumberish
      • proposedGovernor: string
      • siblingPathNodes: BytesLike[]
    • 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