encodedScript:

Hopefully the whitepaper will be of use!