lib/contract_interact/helper.js
function (web3Provider, result) {
    return new Promise(function (onResolve, onReject) {
      onResolve(web3Provider.eth.abi.decodeParameter('address', result));
    });
  }
function (web3Provider, result) {
    return new Promise(function (onResolve, onReject) {
      onResolve(web3Provider.eth.abi.decodeParameter('address', result));
    });
  }
function ( web3Provider , result ) { return new Promise ( function ( onResolve , onReject ) { onResolve ( web3Provider . eth . abi . decodeParameter ( 'address' , result ) ) ; } ) ; }
Decode result and typecast it to an Address

@param {web3} web3Provider - It could be value chain or utility chain provider
@param {string} result - current contract address

@return {promise}
Decode result and typecast it to an Address