Nick Barry

Results 80 issues of Nick Barry

This branch replaces the `ManagedProxy` contracts with a standard "beacon" pattern, and introduces a `DiamondBeacon`. The latter is an improvement over the pattern used in the Premia and Insrt contracts...

closes #166 closes #162

Merging this change directly into `master` to make the diff of #236 easier to read.

A function like this must be added to each storage library: ```solidity function layout(bytes32 slot) internal pure returns (Layout storage l) { assembly { l.slot := slot } } ```

[This EIP](https://eips.ethereum.org/EIPS/eip-1967) uses `keccak256` to generate storage slots, and subtracts 1 from the result to avoid preimage attacks. This works for the EIP because it uses only single-slot storage values,...

closes #180 I think I'm going to merge this library with the existing `DoublyLinkedList` so that each type of list is under the same namespace.

The diamond beacon proxy pattern that we've been using and recommending is not minimal, and includes some features that are non-functional in the context of proxies which reference the beacon....

Modifiers should be called on `internal virtual` functions so that they may be replaced via function override.

Add a basic system for underwriting flashloans. Support ETH and ERC20, and perhaps ERC1155 and ERC721.

On the surface, this is not a good idea. But I think it would be worth it for most IMT use cases.