feature: added balanceof, fee, and memory of a contract