add support for basic deposit state checking