Code has been adapted from convex-eth/platform. File structure kept in place to make diff viewing easier.
Solidity changes can be seen here: https://github.com/aurafinance/convex-platform/pull/23/files?file-filters%5B%5D=.sol&show-deleted-files=true&show-viewed-files=true