Skip to content

Instantly share code, notes, and snippets.

View juanlcoto's full-sized avatar

Juan Luis Coto juanlcoto

View GitHub Profile
@juanlcoto
juanlcoto / Propiedades de transacciones y bloques...funciones_globales.sol
Last active January 23, 2022 17:10
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.7.6+commit.7338295f.js&optimize=false&runs=200&gist=
// SPDX-License-Identifier: MIT
//Versión
pragma solidity ^0.7.0;
contract funciones_globales{
//Función msg.sender
function MsgSender() public view returns(address){
return msg.sender;
}
const { src, dest, watch } = require("gulp");
sass = require("gulp-sass");
minifyCSS = require("gulp-csso");
babel = require("gulp-babel");
concat = require("gulp-concat");
uglify = require("gulp-uglify");
browserSync = require("browser-sync").create();
function css() {
return src("./sass/*.scss", { sourcemaps: true })
@juanlcoto
juanlcoto / gulpfile.js
Created June 23, 2020 12:25 — forked from jasonyingling/gulpfile.js
A simple gulpfile setup for modern JavaScript and SASS
const { src, dest, watch } = require('gulp');
const sass = require('gulp-sass');
const minifyCSS = require('gulp-csso');
const babel = require('gulp-babel');
const concat = require('gulp-concat');
const browserSync = require('browser-sync').create();
function css() {
return src('./sass/*.scss', { sourcemaps: true })
.pipe(sass())