refactor _state for multichain identities