Skip to content

Commit

Permalink
switch token contract
Browse files Browse the repository at this point in the history
  • Loading branch information
kvhnuke committed Jan 16, 2019
1 parent 185813f commit d7ea71f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
3 changes: 1 addition & 2 deletions packages/eth-token-balance/dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de

var contractAddress = {
// Mainnet
"1": "0xdAFf2b3BdC710EB33A847CCb30A24789c0Ef9c5b",
"1": "0x2783c0A4Bfd3721961653a9e9939Fc63687bf07f",
"3": "0xB8E1Bbc50FD87Ea00D8ce73747Ac6F516aF26dAC"
};

Expand Down Expand Up @@ -49,7 +49,6 @@ class TokenBalance {
this.tokenContract.methods.getAllBalance(address, name, website, email, count).call().then(res => {
resolve((0, _binaryDecoder.default)(res));
}).catch(reject);
;
}).catch(reject);
});
}
Expand Down
5 changes: 3 additions & 2 deletions packages/eth-token-balance/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import abi from "./abi";
import Web3 from "web3";
var contractAddress = {
// Mainnet
"1": "0xdAFf2b3BdC710EB33A847CCb30A24789c0Ef9c5b",
"1": "0x2783c0A4Bfd3721961653a9e9939Fc63687bf07f",
"3": "0xB8E1Bbc50FD87Ea00D8ce73747Ac6F516aF26dAC"
};

Expand Down Expand Up @@ -33,7 +33,8 @@ class TokenBalance {
.call()
.then(res => {
resolve(decode(res));
}).catch(reject);;
})
.catch(reject);
})
.catch(reject);
});
Expand Down

0 comments on commit d7ea71f

Please sign in to comment.