An empty vertex can neither donate nor receive a coin, so it remains empty forever.
For a positive vertex, an even amount can only decrease by one and an odd amount can only increase by one. Thus its amount stays in the fixed pair
First check that each target belongs to its allowed pair, or is zero when the initial amount is zero. Delete the initially empty vertices and their incident edges.
At each remaining vertex, represent an odd amount by a token and an even amount by a vacancy. A legal transfer swaps a token and a vacancy across an edge. Both amounts in every allowed pair are positive, so every such swap is legal. Therefore each connected component must contain the same number of odd vertices initially and in the target.
This condition is sufficient. Take a spanning tree of one component and fix a leaf. If its token state is wrong, choose a nearest vertex with the state the leaf needs. Such a vertex exists because the current and target token counts agree. All intermediate vertices have the other state, so successive swaps along the path bring the required state to the leaf. Remove that leaf and repeat. Removing a correct leaf preserves equality of the remaining token counts. This constructs the target state throughout the component.
Find the components of the positive-vertex subgraph with DFS, BFS, or DSU, and compare their odd counts. Time is with DFS/BFS, or with DSU, and memory is or respectively when edges are processed as they are read.
Total coin conservation alone is not sufficient. Neither is checking parity counts in the original graph: empty vertices cannot connect two movable parts.