function RaidenContracts(host) {

    // Doing it this way means that we can share a single Web3 object between
    // all the different contracts.
    this.web3 = new Web3(host);

    // the interface method becomes a constructor for the contract interface.
    this.interface = new ContractConstructor(this.web3);
}
/**
 * Sets up interfaces for all constant methods provided by the Raiden contracts.
 * @param {string} host - The Ethereum node RPC, e.g. 'http://127.0.0.1:8545'.
 * @constructor
 */
Sets up interfaces for all constant methods provided by the Raiden contracts.
@param {string} host - The Ethereum node RPC, e.g.
Sets up interfaces for all constant methods provided by the Raiden contracts . @param { string } host - The Ethereum node RPC e . g .
function RaidenContracts(host) {
    this.web3 = new Web3(host);
    this.interface = new ContractConstructor(this.web3);
}
function RaidenContracts ( host ) { this . web3 = new Web3 ( host ) ; this . interface = new ContractConstructor ( this . web3 ) ; }
Sets up interfaces for all constant methods provided by the Raiden contracts.
Sets up interfaces for all constant methods provided by the Raiden contracts .
// Doing it this way means that we can share a single Web3 object between // all the different contracts. // the interface method becomes a constructor for the contract interface.