As a start pointing let's consider these rpcs https://github.com/LayerTwo-Labs/bip300301_enforcer/blob/d0585acf1e945b6135841b275d08a8ec629735fc/proto/cusf/mainchain/v1/block_producer.proto#L87-L114 Ideally we want to let the miners to cast their own vote.
As a start pointing let's consider these rpcs
https://github.com/LayerTwo-Labs/bip300301_enforcer/blob/d0585acf1e945b6135841b275d08a8ec629735fc/proto/cusf/mainchain/v1/block_producer.proto#L87-L114
Ideally we want to let the miners to cast their own vote.