Skip to content

Commit

Permalink
frontend: arb merkle rewards
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelmota committed Jun 12, 2024
1 parent 7b0ee81 commit f9e9b67
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/frontend/src/pages/Rewards/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ if (isGoerli) {
chainId: 10,
rewardsContractAddress: '0x45269F59aA76bB491D0Fc4c26F468D8E1EE26b73',
merkleBaseUrl: getQueryParam('merkleBaseUrl') ?? 'https://raw.githubusercontent.com/hop-protocol/optimism-refund-merkle-rewards/master'
}/*, {
}, {
chainId: 42161,
rewardsContractAddress: '',
merkleBaseUrl: 'https://raw.githubusercontent.com/hop-protocol/arbitrum-refund-merkle-rewards/master'
}*/]
}]
}

export { configs }
2 changes: 1 addition & 1 deletion packages/frontend/src/pages/Send/useSend.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -871,7 +871,7 @@ export function useSend(): SendResponseProps {
toTokenAmount,
])

const showFeeRefund = feeRefundEnabled && [ChainSlug.Optimism].includes(toNetwork?.slug as ChainSlug) && !!feeRefund && !!feeRefundUsd && !!feeRefundTokenSymbol
const showFeeRefund = feeRefundEnabled && [ChainSlug.Optimism, ChainSlug.Arbitrum].includes(toNetwork?.slug as ChainSlug) && !!feeRefund && !!feeRefundUsd && !!feeRefundTokenSymbol
const feeRefundDisplay = feeRefund && feeRefundUsd && feeRefundTokenSymbol ? `${feeRefund} ($${feeRefundUsd})` : ''
const maxButtonFixedAmountToSubtract = fromToken?.symbol === 'ETH' ? relayFeeEth : BigNumber.from(0)

Expand Down

0 comments on commit f9e9b67

Please sign in to comment.