Sound Design + Revenue Share

Hey all! I'm wondering if anyone has any experience with adding revenue share into their contracts when working on sound design + implementation for indie games?

I can't find much online so not sure about specific details like percentage and how it all works in the contract and for actual payment as well.

If anyone has any info they could share or resources to take a look at, that would be fab!!