access private properties via inline assembly? I found code to clone contract, but I need to edit the private property
assembly {
let pos := mload(0x40)
mstore(pos, 0x3d602d80600a3d3981f3363d3d373d3d3d363d73000000000000000000000000)
mstore(add(pos, 0x14), contractAddressBytes)
mstore(add(pos, 0x28), 0x5af43d82803e903d91602b57fd5bf30000000000000000000000000000000000)
newContractAddress := create(0, pos, 0x37)
}
as I understand I need yul dataoffset, datasize, datacopy functions, but I have not found any examples of their use
Обсуждают сегодня