These treaties are largely useless because certain large powers refuse to sign them. Sure, it's nice if Switzerland or Norway signs such a treaty, but that doesn't exactly change anything.
Ukraine has ratified the Ottawa Treaty
linked above.
I'll note that it only bans the use of all non-remote-controlled anti-personnel landmines.
The US committed to the treaty with an exception for its existing use of mines between North and South Korea