Foldamer scaffolds suggest distinct structures are associated with alternative gains-of-function in a preamyloid toxin.