Skip to content

Instantly share code, notes, and snippets.

View mikhaildobs's full-sized avatar

Mikhail mikhaildobs

View GitHub Profile
contract IGivethBridge {
function donateAndCreateGiver(address giver, uint64 receiverId, address token, uint _amount) payable public {
}
}
contract Donator {
IGivethBridge givethBridge = IGivethBridge(0xC59dCE5CCC065A4b51A2321F857466A25ca49B40);
uint64 public givethReceiverId = 226;
import './SafeMath.sol';
import './Stoppable.sol';
import './MyCoolNFT.sol';
/**
* @title NFT Linkdrop Contract
*
*/
contract NFTLinkdropContract is Stoppable {
@mikhaildobs
mikhaildobs / InviteLink.sol
Last active January 22, 2019 10:44
InviteLink module for ERC-1077
@mikhaildobs
mikhaildobs / Owned.sol
Created May 13, 2018 17:41
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.4.23+commit.124ca40d.js&optimize=false&gist=
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 {