Skip to content

Latest commit

 

History

History
51 lines (39 loc) · 1.34 KB

Address.md

File metadata and controls

51 lines (39 loc) · 1.34 KB

Address.sol

View Source: openzeppelin-solidity/contracts/utils/Address.sol

Address

Collection of functions related to the address type,

Functions

isContract

Returns true if account is a contract. * This test is non-exhaustive, and there may be false-negatives: during the execution of a contract's constructor, its address will be reported as not containing a contract. * > It is unsafe to assume that an address for which this function returns false is an externally-owned account (EOA) and not a contract.

function isContract(address account) internal view
returns(bool)

Arguments

Name Type Description
account address

Contracts