Skip to content

Files

Latest commit

 

History

History
31 lines (22 loc) · 473 Bytes

Common.md

File metadata and controls

31 lines (22 loc) · 473 Bytes

contract: Common

Documentation:

@title Common functions
@author Ocean Protocol Team

Functions

external getCurrentBlockNumber

Documentation:

@notice getCurrentBlockNumber get block number
@return the current block number

public isContract

Documentation:

@dev isContract detect whether the address is 
         is a contract address or externally owned account
@return true if it is a contract address

Parameters:

  • address addr