ERC20 token type interface, single-contract base implementation, and factory. An example base definition as well as a mintable/burnable/freezable building block token can be found in ds-token.