A Secondary contract can only be used by its primary account (the one that created it).
event PrimaryTransferred(address recipient)
Reverts if called from any account other than the primary.
function () internal
Sets the primary account to the one that is creating the Secondary contract.
function primary() public view returns (address)
- the address of the primary.
function transferPrimary(address recipient) public
Transfers contract to a new primary.
recipient- The address of new primary.