event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
What is the purpose of this line?
https://github.com/OpenZeppelin/zeppelin-solidity/blob/master/contracts/ownership/Ownable.sol
Ethereum Stack Exchange is a question and answer site for users of Ethereum, the decentralized application platform and smart contract enabled blockchain. It only takes a minute to sign up.
Sign up to join this communityevent OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
What is the purpose of this line?
https://github.com/OpenZeppelin/zeppelin-solidity/blob/master/contracts/ownership/Ownable.sol
This line defines an event which can be emitted after something takes place. Clients can then listen for this event and react when it happens. http://solidity.readthedocs.io/en/develop/contracts.html#events