pub fn new_eof_address(address: Address, salt: B256) -> Address
Expand description
Calculated new EOF address from address and salt.
Buffer that is hashed is 65 bytes long. First bytes is magic number 0xFF, than comes 12 zeros, than 20 byte of address and in the end 32 bytes of salt.
| 0xFF | zero padding (12 bytes) | Address (20 bytes) | salt (32 bytes).