How to use castVoteBySig and delegateBySig function in Governor

Dear OpenZeppelin team,

I'm trying to build my DAO using Governor document, when I see 2 function castVoteBySig and delegateBySig I have a wonder:

With these two functions, it seems to be possible to build a gas-free governor application which means maybe the service provider pays all necessary gases. Would it be possible? Is this feature in development? Because I don't seem to find any useful information in the Doc or in the introduction video.

Thank you in advance.


This is supported at the contract level. We do not however provide offchain tolling/UI to do that. You'd have to come up with your own interface that gets user to produce the signatures, and relay them (with all the DOS protection needed)

1 Like