Skip to content

Instantly share code, notes, and snippets.

View netpoe's full-sized avatar
🤘
Puro Rock!

Gus netpoe

🤘
Puro Rock!
View GitHub Profile
@netpoe
netpoe / _ebm-loops.scss
Created September 17, 2014 17:20
EBM - Sass rapid-prototyping helper loops
// Multiply the loop variable by this number:
$times: 7;
// Pixel to REMs conversion:
$px-to-rems: true;
// Box Model abbreviations list
$box-model-abbr: p, pt, pr, pb, pl, m, mt, mr, mb, ml;
$box-model-sides: padding, padding-top, padding-right, padding-bottom, padding-left, margin, margin-top, margin-right, margin-bottom, margin-left;
@netpoe
netpoe / SANDER1.sol
Created November 21, 2018 02:00
SANDER1 ERC20 Token
pragma solidity ^0.4.24;
import './StandardToken.sol';
import './DetailedERC20.sol';
contract SANDER1 is StandardToken, DetailedERC20 {
/**
* 12 tokens equal 12 songs equal 1 album
* uint256 supply
@netpoe
netpoe / SANDER1.sol
Created January 22, 2019 22:51
SANDER1. ERC20 token representing Súper Ánder's next music album.
pragma solidity ^0.4.24;
import './StandardToken.sol';
import './DetailedERC20.sol';
contract SANDER1 is StandardToken, DetailedERC20 {
/**
* 12 tokens equal 12 songs equal 1 album
* uint256 supply
@netpoe
netpoe / SuperCrowdsale.sol
Created January 22, 2019 22:54
El SuperCrowdsale. Una adaptación de un OZ Capped Crowdsale para vender el SANDER1.
pragma solidity ^0.4.24;
import './CappedCrowdsale.sol';
import './SANDER1.sol';
import './SafeERC20.sol';
contract SuperCrowdsale is CappedCrowdsale {
using SafeERC20 for SANDER1;
@netpoe
netpoe / ERC721Flattened.sol
Created April 9, 2021 05:47
Custom ERC721 flattened with hardhat
// Sources flattened with hardhat v2.1.2 https://hardhat.org
// File @openzeppelin/contracts/utils/introspection/[email protected]
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC165 standard, as defined in the