diff --git a/web/src/main/resources/static/js/app/components/contract.js b/web/src/main/resources/static/js/app/components/contract.js index bb537d3c8..c3d468bc2 100644 --- a/web/src/main/resources/static/js/app/components/contract.js +++ b/web/src/main/resources/static/js/app/components/contract.js @@ -61,13 +61,6 @@ define(['require', 'jquery'], function (require, $) { "outputs": [{"name": "", "type": "uint256"}], "payable": false, "type": "function" - }, { - "constant": true, - "inputs": [], - "name": "fundRequestContractAddress", - "outputs": [{"name": "", "type": "address"}], - "payable": false, - "type": "function" }, { "constant": false, "inputs": [{"name": "_from", "type": "address"}, {"name": "_to", "type": "address"}, { @@ -211,6 +204,13 @@ define(['require', 'jquery'], function (require, $) { "outputs": [{"name": "", "type": "bool"}], "payable": false, "type": "function" + }, { + "constant": true, + "inputs": [], + "name": "fundRequestContract", + "outputs": [{"name": "", "type": "address"}], + "payable": false, + "type": "function" }, { "constant": false, "inputs": [{"name": "_to", "type": "address"}, {"name": "_value", "type": "uint256"}], @@ -360,12 +360,12 @@ define(['require', 'jquery'], function (require, $) { }, { "constant": true, "inputs": [], - "name": "tokenAddress", + "name": "token", "outputs": [{"name": "", "type": "address"}], "payable": false, "type": "function" }, {"inputs": [{"name": "_tokenAddress", "type": "address"}], "payable": false, "type": "constructor"}]; - var contractAddress = "0x78b75506895392daca4273aee6393048714da5c3"; + var contractAddress = "0xb6a0d43b4dd2024861578ae165ced97ec2d70a16"; fundRequestContract = web3.eth.contract(contractAbi).at(contractAddress); }