ethereum.forks.dao_fork.utils.addressethereum.forks.tangerine_whistle.utils.address
Hardfork Utility Functions For Addresses.
.. contents:: Table of Contents :backlinks: none :local:
Introduction
Address specific functions used in this Dao Fork version of specification.Address specific functions used in this tangerine whistle version of
specification.
to_address_masked ¶
Convert a Uint or U256 value to a valid address (20 bytes).
Parameters
data : The numeric value to be converted to address.
Returns
address : Address
The obtained address.
compute_contract_address ¶
Computes address of the new account that needs to be created.
Parameters
address : The address of the account that wants to create the new account. nonce : The transaction count of the account that wants to create the new account.
Returns
address:
The computed address of the new account.ethereum.forks.dao_fork.fork_types.Addressethereum.forks.tangerine_whistle.fork_types.Address