The code should do the following:
- Implement oracle which returns preimage of a contracts tree leaf,
- check the relevant preimage components (e.g. bytecode, construct args etc.)
- hash the preimage and check that it matches the contracts tree leaf,
- prove that the leaf is in the contracts tree at a given block,
- do the rest the same way as for notes etc.
The code should do the following: