Finished adding wallet functions