Its a Slovenian master clip, the pin is safety wired, looks like a bodge job to put the chain on, they added a larger sproket, probably needed more chain so they jiggered some more on.
It leaked oil when my brother layed it on her side to transport it up here, over there, who knows how far..