[CS] Add arity to `encode` for origin tracing.
Merge pull request #2 from turbovote/origin-encode

[CS] Add arity to `encode` for origin tracing.