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
import './SafeMath.sol'; | |
import './Stoppable.sol'; | |
import './MyCoolNFT.sol'; | |
/** | |
* @title NFT Linkdrop Contract | |
* | |
*/ | |
contract NFTLinkdropContract is Stoppable { |
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
//import "openzeppelin-solidity/contracts/ECRecovery.sol"; | |
contract InviteLink { | |
using ECRecovery for bytes32; | |
IERC1077 owner; | |
// Mappings of transit pub key => true if link is used. | |
mapping (bytes => bool) usedLinks; | |
constructor(IERC1077 _owner) { |
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.23; | |
/* | |
* Ownable | |
* | |
* Base contract with an owner. | |
* Provides onlyOwner modifier, which prevents function from running if it is called by anyone other than the owner. | |
*/ | |
contract Ownable { |
NewerOlder