Analysis of smart contracts balances