I´m trying to write a function that returns the balance of the account where the contract is deployed.
Something with the following form:
pub fn get_balance(&self) -> Balance { env::account_balance() } The above code returns the balance of the account that is calling the method, the signer. Is there a way to make it returns the balance of the contract account?