This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pragma solidity ^0.4.24; | |
import "./mortal.sol"; | |
contract Crowdfund { | |
struct Funder { | |
address addr; | |
uint amount; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pragma solidity ^0.4.24; | |
contract BaseContentManagementContract { | |
address internal owner; | |
constructor () public { | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pragma solidity ^0.4.24; | |
contract BaseContentManagementContract { | |
address internal owner; | |
constructor () public { | |
owner= msg.sender; | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pragma solidity ^0.4.24; | |
import "./sharedTypes.sol"; | |
contract BaseContentManagementContract { | |
address internal author; | |
SharedTypes.contentType internal typeOfContent; | |
uint internal numberOfViews; | |
mapping (address => address) viewersList; // List of user that |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pragma solidity ^0.4.24; | |
import "./sharedTypes.sol"; | |
contract BaseContentManagementContract { | |
address internal author; | |
SharedTypes.contentType internal typeOfContent; | |
uint internal numberOfViews; | |
mapping (address => address) viewersList; // List of user that |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pragma solidity ^0.4.24; | |
import "./sharedTypes.sol"; | |
contract BaseContentManagementContract { | |
address private author; | |
SharedTypes.contentType private typeOfContent; | |
uint private numberOfViews; | |
string contentTitle; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pragma solidity ^0.4.24; | |
import "./sharedTypes.sol"; | |
contract BaseContentManagementContract { | |
address private authorAddress; // Address of contract's author | |
address private catalogAddress; // Address of catalog to check if determined functions are called only by catalog | |
SharedTypes.contentType private typeOfContent; // Tpe of content which this contract contains | |
uint private numberOfViews; // Number of viwes about content of this contract |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pragma solidity ^0.4.24; | |
import "./sharedTypes.sol"; | |
contract BaseContentManagementContract { | |
address private authorAddress; // Address of contract's author | |
address private catalogAddress; // Address of catalog to check if determined functions are called only by catalog | |
SharedTypes.contentType private typeOfContent; // Tpe of content which this contract contains | |
uint private numberOfViews; // Number of viwes about content of this contract |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pragma solidity ^0.4.24; | |
import "./sharedTypes.sol"; | |
contract BaseContentManagementContract { | |
address private authorAddress; // Address of contract's author | |
address private catalogAddress; // Address of catalog to check if determined functions are called only by catalog | |
SharedTypes.contentType private typeOfContent; // Tpe of content which this contract contains | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pragma solidity ^0.4.24; | |
import "./sharedTypes.sol"; | |
contract BaseContentManagementContract { | |
address private authorAddress; // Address of contract's author | |
address private catalogAddress; // Address of catalog to check if determined functions are called only by catalog | |
SharedTypes.contentType private typeOfContent; // Tpe of content which this contract contains | |
OlderNewer