Skip to content

Commit

Permalink
Add mybit to 'noDecimals' (snapshot-labs#100)
Browse files Browse the repository at this point in the history
* Add mybit to 'noDecimals'

* Add MYB token address for noDecimals
  • Loading branch information
eip1599 authored Sep 18, 2020
1 parent d91369d commit 8870b72
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/store/modules/web3.ts
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ const actions = {
},
metadata: async ({ commit }) => {
try {
const noDecimals = ['yearn'];
const noDecimals = ['yearn', 'mybit'];
const response = await multicall(
rpcProvider,
abi['TestToken'],
Expand All @@ -325,6 +325,7 @@ const actions = {
])
);
payload['0xBa37B002AbaFDd8E89a1995dA52740bbC013D992'] = { decimals: 18 };
payload['0x5d60d8d7ef6d37e16ebabc324de3be57f135e0bc'] = { decimals: 18 };
commit('METADATA_SUCCESS', payload);
return payload;
} catch (e) {
Expand Down

0 comments on commit 8870b72

Please sign in to comment.