writing docs

This commit is contained in:
Demian Elias Brener
2016-12-18 19:52:20 -03:00
parent 8ba40d066f
commit ec07dce76f
19 changed files with 345 additions and 314 deletions

16
docs/source/ownable.rst Normal file
View File

@ -0,0 +1,16 @@
Ownable
=============================================
Base contract with an owner.
Ownable( )
""""""""""""""""""""""""""""""""""""""
Sets the address of the creator of the contract as the owner.
modifier onlyOwner( )
""""""""""""""""""""""""""""""""""""""
Prevents function from running if it is called by anyone other than the owner.
transfer(address newOwner) onlyOwner
""""""""""""""""""""""""""""""""""""""
Transfers ownership of the contract to the passed address.