* Support state params * update tests * fix tests * add state=all support * update tests * update swagger * update swagger
* move sdk structs to moduels/structs * fix tests * fix fmt * fix swagger * fix vendor