@oceanprotocol/keeper-contracts
Version:
Integration of SEAs, DID and OceanToken in Solidity
32 lines (22 loc) • 473 B
Markdown
# 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