Skip to content

Commit

Permalink
Hotfix: Arbitrum claim (#821)
Browse files Browse the repository at this point in the history
* add LM claiming on Arbitrum

* update LM page info

* version bump

* add merkleRedeem address to arbitrum config file

* Bump version

Co-authored-by: Gareth Fuller <[email protected]>
  • Loading branch information
markusbkoch and garethfuller authored Sep 16, 2021
1 parent d4a9752 commit 078b027
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 10 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@balancer-labs/frontend-v2",
"version": "1.19.4",
"version": "1.19.5",
"engines": {
"node": "14.x",
"npm": ">=7"
Expand Down
8 changes: 4 additions & 4 deletions src/components/navs/AppNav/AppNavClaimBtn.vue
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,17 @@
{{ $t('airdropExplainer') }}
</div>
<BalAlert
v-if="shouldShowClaimFreezeWarning & isMainnet"
v-if="shouldShowClaimFreezeWarning & !isPolygon"
title="Too many claims"
:description="$t('claimFreezeWarning')"
type="warning"
size="sm"
class="mb-3"
/>
<div v-if="isMainnet" class="text-sm text-gray-600 mb-1">
<div v-if="!isPolygon" class="text-sm text-gray-600 mb-1">
{{ $t('availableToClaim') }}
</div>
<div v-if="isMainnet" class="flex justify-between items-center mb-2">
<div v-if="!isPolygon" class="flex justify-between items-center mb-2">
<div class="text-lg font-bold font-numeric">
{{
fNum(
Expand All @@ -53,7 +53,7 @@
</div>
</div>
<BalBtn
v-if="isMainnet"
v-if="!isPolygon"
color="gradient"
size="md"
block
Expand Down
2 changes: 1 addition & 1 deletion src/lib/config/arbitrum.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
},
"addresses": {
"exchangeProxy": "",
"merkleRedeem": "",
"merkleRedeem": "0x6bd0B17713aaa29A2d7c9A39dDc120114f9fD809",
"multicall": "0x269ff446d9892c9e19082564df3f5e8741e190a1",
"authorizer": "0x6207ed574152496c9B072C24FD87cE9cd9E17320",
"vault": "0xBA12222222228d8Ba445958a75a0704d566BF2C8",
Expand Down
4 changes: 2 additions & 2 deletions src/pages/LiquidityMining.vue
Original file line number Diff line number Diff line change
Expand Up @@ -202,8 +202,8 @@ export default defineComponent({
addresses weekly.`;
}
if (networkConfig.chainId === Network.ARBITRUM) {
return `BAL distributions on Arbitrum are automatically airdropped to eligible
addresses weekly.`;
return `BAL distributions on Arbitrum can be claimed weekly by tapping the
liquidity mining claim tool in the header.`;
}
return '';
});
Expand Down
5 changes: 5 additions & 0 deletions src/services/claim.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@ export const constants: Record<NetworkId, Record<string, string>> = {
merkleRedeem: '0x3bc73D276EEE8cA9424Ecb922375A0357c1833B3',
snapshot:
'https://raw.githubusercontent.com/balancer-labs/bal-mining-scripts/master/reports-kovan/_current.json'
},
42161: {
merkleRedeem: '0x6bd0B17713aaa29A2d7c9A39dDc120114f9fD809',
snapshot:
'https://raw.githubusercontent.com/balancer-labs/bal-mining-scripts/master/reports/_current-arbitrum.json'
}
};

Expand Down

4 comments on commit 078b027

@vercel
Copy link

@vercel vercel bot commented on 078b027 Sep 16, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 078b027 Sep 16, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 078b027 Sep 16, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 078b027 Sep 16, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

app – ./

pm2.vercel.app
app-git-master-balancer.vercel.app
app-balancer.vercel.app
app.balancer.fi

Please sign in to comment.