We should put in a ticket and a TODO at the top of this file to rewrite _Originally posted by @adamewozniak in https://github.com/ojo-network/ojo/pull/382#discussion_r1492919893_