Skip to content

Commit

Permalink
feat: djkhaledanotherone.jpg
Browse files Browse the repository at this point in the history
  • Loading branch information
gomesalexandre committed Jan 9, 2025
1 parent 3875675 commit c45fc59
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export const getHopExecutionStateSummaryStepTranslation = (

type StepperStepParams = {
firstHopAllowanceApproval: ApprovalExecutionMetadata
firstHopPermit2: Omit<ApprovalExecutionMetadata, 'txHash' | 'isInitiallyRequired'> & {
firstHopPermit2Eip712: Omit<ApprovalExecutionMetadata, 'txHash' | 'isInitiallyRequired'> & {
permit2Signature?: string | undefined
}
firstHopAllowanceReset: ApprovalExecutionMetadata
Expand All @@ -73,7 +73,7 @@ export const getStepperSteps = (params: StepperStepParams): Record<StepperStep,
const {
firstHopAllowanceReset,
firstHopAllowanceApproval,
firstHopPermit2,
firstHopPermit2Eip712,
lastHopAllowanceReset,
lastHopAllowanceApproval,
lastHopPermit2,
Expand All @@ -85,7 +85,7 @@ export const getStepperSteps = (params: StepperStepParams): Record<StepperStep,
[StepperStep.FirstHopApproval]:
firstHopAllowanceApproval.isInitiallyRequired === true ||
firstHopAllowanceApproval.txHash !== undefined,
[StepperStep.FirstHopPermit2Eip712Sign]: firstHopPermit2.isRequired === true,
[StepperStep.FirstHopPermit2Eip712Sign]: firstHopPermit2Eip712.isRequired === true,
[StepperStep.FirstHopSwap]: true,
[StepperStep.LastHopReset]:
isMultiHopTrade === true &&
Expand Down

0 comments on commit c45fc59

Please sign in to comment.