Class representing an SSRI trait. Should be used as the base of all SSRI traits.

Hierarchy

  • Trait

    Constructors

    • Creates an instance of SSRI trait.

      Parameters

      • code: OutPointLike

        The cell dependency.

      • Optionalexecutor: null | Executor

        The SSRI executor instance.

      Returns Trait

    Properties

    code: OutPoint
    executor?: Executor

    Methods

    • Retrieves a list of methods.

      Parameters

      • offset: NumLike = 0

        The offset for the methods.

      • limit: NumLike = 0

        The limit for the methods.

      Returns Promise<ExecutorResponse<`0x${string}`[]>>

      A promise that resolves to a list of methods.

    • Checks if the specified methods exist.

      Parameters

      • methodNames: string[]

        The methods to check.

      • OptionalextraMethodPaths: BytesLike[]

      Returns Promise<ExecutorResponse<boolean[]>>

      A promise that resolves to an array of booleans indicating if methods exist.