Skip to content

Instantly share code, notes, and snippets.

Tanmay Bhattacharya kingpinXD

Block or report user

Report or block kingpinXD

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@kingpinXD
kingpinXD / ERC20.sol
Created Jul 6, 2018
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.24+commit.e67f0147.js&optimize=false&gist=
View ERC20.sol
pragma solidity ^0.4.23;
import "browser/ERC20Basic.sol";
/**
* @title ERC20 interface
* @dev see https://github.com/ethereum/EIPs/issues/20
*/
contract ERC20 is ERC20Basic {
@kingpinXD
kingpinXD / Campaign.sol
Created May 23, 2018
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.24+commit.e67f0147.js&optimize=false&gist=
View Campaign.sol
pragma solidity ^0.4.17;
contract CampaignFactory{
address[] public deployedcampaigns;
function createCampaign(uint min)public {
address newcampaign=new Campaign(min,msg.sender);
deployedcampaigns.push(newcampaign);
}
function getDeployedCampaigns()public view returns (address[]){
return deployedcampaigns;
You can’t perform that action at this time.