Could someone help explain the proxy address for solidity contracts?

Hi all! I’m looking over the OpenSea smart contract ERC1155Tradable (https://github.com/ProjectOpenSea/opensea-erc1155/blob/master/contracts/ERC1155Tradable.sol) and found that there is this code:

contract OwnableDelegateProxy { }

contract ProxyRegistry {
  mapping(address => OwnableDelegateProxy) public proxies;
}

Then there is also:

address proxyRegistryAddress;

Could someone please explain to me what these proxy addresses are referring to? Thanks!

1 Like

Hey @choochoochen

Take a look here, it's ERC721 but should be pretty much same/similar

A proxy is a clone contract using the erc1167 proxy standard, you can use it when you have a smart contract you need to deploy multiple times. You create a proxy factory clones the initial contract by using it's logic