CryptoFly.us | CRYPTOCURRENCY BITCOIN SHIRTS CLOTHING APPAREL HATS

CRYPTO NEWS

6 Questions for Yat Siu of Animoca Brands

Can I use create2 to deploy minimal proxies in solidity, without using assembly?

Solidity 0.6.2 allows the creation of contracts with the create2 opcode via the new keyword and passing a salt in addition to any args. This is adequate for creating standard contracts, but what if I want to deploy minimal proxies as per eip-1167? I can’t see a way to pass in the creation bytecode for::Listen

Solidity 0.6.2 allows the creation of contracts with the create2 opcode via the new keyword and passing a salt in addition to any args. This is adequate for creating standard contracts, but what if I want to deploy minimal proxies as per eip-1167? I can’t see a way to pass in the creation bytecode for the proxy, with the template’s address included. I know how I can do this with inline assembly, but it would be nice if I didn’t have to!

6 Questions for Yat Siu of Animoca Brands

Shopping cart
There are no products in the cart!
Continue shopping
0