Skip to content

[Tech Task] Update Header, Footer and Title to support contract interactions #23950

@pedronfigueiredo

Description

@pedronfigueiredo

Progresses #23905

Context

There are a few files in the redesigned confirmations architecture that require minimal changes to support new transaction types such as contract interaction. This task deals with updating them all in one pass.

Approach

Update the files described below in the acceptance criteria.

Acceptance Criteria

  • Extract hardwareWalletRequiresConnection from Footer into a hook and add support for determining from from contract interactions.
  • In useConfirmationRecipientInfo used on Header, add support for determining from from contract interactions.
  • Add to the title translation reference in ui/pages/confirmations/components/confirm/title/title.tsx for contract interaction transaction type.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions