I'm just learning about coding in general, and fighting my way through an Ethereum course.
I've seen the answers about the "contract member balance is deprecated" issue, but I'm just trying to use it in the following:
function GetMyContractBalance() public constant returns (uint) {
return this.balance;
I added:
address myAddress = this;
but how do I construct it just using that return function? I've tried:
require (return (this).balance);
require return (this).balance;
return (this).balance;
aaaannnnddd - I'm pretty much out of ideas.
Thanks in advance.