Miscellaneous code snippets relating to Ethereum development

For ease of access when working across a lot of smart contracts.