× Smart stable coin NDAO

If you want to make your ERC-1155 contract upgradeable or you hit the max contra

  • 匿名
  • 提案作者
  • 访客
  • 访客
2 个月 2 周 前 - 2 个月 2 周 前 #51 匿名
If you want to make your ERC-1155 contract upgradeable or you hit the max contract size limit then consider using the Diamond Standard, which is EIP-2535.

ERC-1155 mentions EIP-2535 in the Upgrades section.

ERC-1155 says this:

To alleviate the need to emit events when changing contract address, consider using the proxy pattern, such as described in EIP-2535. This will also have the added benefit of providing a stable contract address for users.

Also, one of the authors (Ronan Sandford) of ERC-1155 is currently building tooling for EIP-2535. Here is a link to his announcement: https://twitter.com/wighawag/status/1280992800545349644

Here's a couple articles about EIP-2535:

Understanding Diamonds on Ethereum

Ethereum's Maximum Contract Size Limit is Solved with the Diamond Standard

I am the author of EIP-2535 so if you have any questions let me know.

原文地址:https://www.reddit.com/r/EnjinCoin/comments/hu074k/diamond_standard_for_upgrading_erc1155_contracts/
Last edit: 2 个月 2 周 前 by User_4ac被盗.

Please 登录 to join the conversation.