Interface IAccessControllerInterface

Hierarchy

  • Interface
    • IAccessControllerInterface

Index

Constructors

constructor

Properties

Readonly _abiCoder

_abiCoder: AbiCoder

Readonly _isInterface

_isInterface: boolean

Readonly deploy

deploy: ConstructorFragment

Readonly errors

errors: {}

Type declaration

  • [name: string]: ErrorFragment

events

events: { GuardianAdded(address): EventFragment; GuardianRemoved(address): EventFragment; OwnerAdded(address): EventFragment; OwnerRemoved(address): EventFragment; ProposalDiscarded(uint256,address): EventFragment; ProposalSubmitted(uint256,address,address): EventFragment; ProposalTimelockChanged(uint256): EventFragment; QuorumNotReached(uint256,address,uint256): EventFragment }

Type declaration

  • GuardianAdded(address): EventFragment
  • GuardianRemoved(address): EventFragment
  • OwnerAdded(address): EventFragment
  • OwnerRemoved(address): EventFragment
  • ProposalDiscarded(uint256,address): EventFragment
  • ProposalSubmitted(uint256,address,address): EventFragment
  • ProposalTimelockChanged(uint256): EventFragment
  • QuorumNotReached(uint256,address,uint256): EventFragment

Readonly fragments

fragments: ReadonlyArray<Fragment>

functions

functions: { addGuardian(address): FunctionFragment; addOwner(address): FunctionFragment; changeProposalTimelock(uint256): FunctionFragment; discardCurrentProposal(): FunctionFragment; getProposal(uint256): FunctionFragment; guardianCosign(): FunctionFragment; guardianPropose(address): FunctionFragment; isGuardian(address): FunctionFragment; isOwner(address): FunctionFragment; removeGuardian(address): FunctionFragment; removeOwner(address): FunctionFragment }

Type declaration

  • addGuardian(address): FunctionFragment
  • addOwner(address): FunctionFragment
  • changeProposalTimelock(uint256): FunctionFragment
  • discardCurrentProposal(): FunctionFragment
  • getProposal(uint256): FunctionFragment
  • guardianCosign(): FunctionFragment
  • guardianPropose(address): FunctionFragment
  • isGuardian(address): FunctionFragment
  • isOwner(address): FunctionFragment
  • removeGuardian(address): FunctionFragment
  • removeOwner(address): FunctionFragment

Readonly structs

structs: {}

Type declaration

  • [name: string]: any

Methods

_decodeParams

  • _decodeParams(params: ReadonlyArray<ParamType>, data: BytesLike): Result

_encodeParams

  • _encodeParams(params: ReadonlyArray<ParamType>, values: ReadonlyArray<any>): string

decodeErrorResult

  • decodeErrorResult(fragment: ErrorFragment | string, data: BytesLike): Result

decodeEventLog

  • decodeEventLog(eventFragment: EventFragment | string, data: BytesLike, topics?: ReadonlyArray<string>): Result
  • Parameters

    • eventFragment: EventFragment | string
    • data: BytesLike
    • Optional topics: ReadonlyArray<string>

    Returns Result

decodeFunctionData

  • decodeFunctionData(functionFragment: FunctionFragment | string, data: BytesLike): Result

decodeFunctionResult

  • decodeFunctionResult(functionFragment: "addGuardian", data: BytesLike): Result
  • decodeFunctionResult(functionFragment: "addOwner", data: BytesLike): Result
  • decodeFunctionResult(functionFragment: "changeProposalTimelock", data: BytesLike): Result
  • decodeFunctionResult(functionFragment: "discardCurrentProposal", data: BytesLike): Result
  • decodeFunctionResult(functionFragment: "getProposal", data: BytesLike): Result
  • decodeFunctionResult(functionFragment: "guardianCosign", data: BytesLike): Result
  • decodeFunctionResult(functionFragment: "guardianPropose", data: BytesLike): Result
  • decodeFunctionResult(functionFragment: "isGuardian", data: BytesLike): Result
  • decodeFunctionResult(functionFragment: "isOwner", data: BytesLike): Result
  • decodeFunctionResult(functionFragment: "removeGuardian", data: BytesLike): Result
  • decodeFunctionResult(functionFragment: "removeOwner", data: BytesLike): Result

encodeDeploy

  • encodeDeploy(values?: ReadonlyArray<any>): string

encodeErrorResult

  • encodeErrorResult(fragment: ErrorFragment | string, values?: ReadonlyArray<any>): string

encodeEventLog

  • encodeEventLog(eventFragment: EventFragment | string, values: ReadonlyArray<any>): { data: string; topics: Array<string> }
  • Parameters

    • eventFragment: EventFragment | string
    • values: ReadonlyArray<any>

    Returns { data: string; topics: Array<string> }

    • data: string
    • topics: Array<string>

encodeFilterTopics

  • encodeFilterTopics(eventFragment: EventFragment | string, values: ReadonlyArray<any>): Array<string | Array<string>>

encodeFunctionData

  • encodeFunctionData(functionFragment: "addGuardian", values: []): string
  • encodeFunctionData(functionFragment: "addOwner", values: []): string
  • encodeFunctionData(functionFragment: "changeProposalTimelock", values: []): string
  • encodeFunctionData(functionFragment: "discardCurrentProposal", values?: undefined): string
  • encodeFunctionData(functionFragment: "getProposal", values: []): string
  • encodeFunctionData(functionFragment: "guardianCosign", values?: undefined): string
  • encodeFunctionData(functionFragment: "guardianPropose", values: []): string
  • encodeFunctionData(functionFragment: "isGuardian", values: []): string
  • encodeFunctionData(functionFragment: "isOwner", values: []): string
  • encodeFunctionData(functionFragment: "removeGuardian", values: []): string
  • encodeFunctionData(functionFragment: "removeOwner", values: []): string

encodeFunctionResult

  • encodeFunctionResult(functionFragment: FunctionFragment | string, values?: ReadonlyArray<any>): string

format

  • format(format?: string): string | Array<string>

getError

  • getError(nameOrSignatureOrSighash: string): ErrorFragment

getEvent

  • getEvent(nameOrSignatureOrTopic: "GuardianAdded"): EventFragment
  • getEvent(nameOrSignatureOrTopic: "GuardianRemoved"): EventFragment
  • getEvent(nameOrSignatureOrTopic: "OwnerAdded"): EventFragment
  • getEvent(nameOrSignatureOrTopic: "OwnerRemoved"): EventFragment
  • getEvent(nameOrSignatureOrTopic: "ProposalDiscarded"): EventFragment
  • getEvent(nameOrSignatureOrTopic: "ProposalSubmitted"): EventFragment
  • getEvent(nameOrSignatureOrTopic: "ProposalTimelockChanged"): EventFragment
  • getEvent(nameOrSignatureOrTopic: "QuorumNotReached"): EventFragment

getEventTopic

  • getEventTopic(eventFragment: EventFragment | string): string

getFunction

  • getFunction(nameOrSignatureOrTopic: "addGuardian" | "addOwner" | "changeProposalTimelock" | "discardCurrentProposal" | "getProposal" | "guardianCosign" | "guardianPropose" | "isGuardian" | "isOwner" | "removeGuardian" | "removeOwner"): FunctionFragment
  • Parameters

    • nameOrSignatureOrTopic: "addGuardian" | "addOwner" | "changeProposalTimelock" | "discardCurrentProposal" | "getProposal" | "guardianCosign" | "guardianPropose" | "isGuardian" | "isOwner" | "removeGuardian" | "removeOwner"

    Returns FunctionFragment

getSighash

  • getSighash(fragment: ErrorFragment | FunctionFragment | string): string

parseError

  • parseError(data: BytesLike): ErrorDescription

parseLog

  • parseLog(log: { data: string; topics: Array<string> }): LogDescription
  • Parameters

    • log: { data: string; topics: Array<string> }
      • data: string
      • topics: Array<string>

    Returns LogDescription

parseTransaction

  • parseTransaction(tx: { data: string; value?: BigNumberish }): TransactionDescription
  • Parameters

    • tx: { data: string; value?: BigNumberish }
      • data: string
      • Optional value?: BigNumberish

    Returns TransactionDescription

Static getAbiCoder

  • getAbiCoder(): AbiCoder

Static getAddress

  • getAddress(address: string): string

Static getEventTopic

  • getEventTopic(eventFragment: EventFragment): string

Static getSighash

  • getSighash(fragment: ErrorFragment | FunctionFragment): string

Static isInterface

  • isInterface(value: any): value is Interface