Skip to content

Instantly share code, notes, and snippets.

@suattop
suattop / metadata.json
Created September 14, 2021 07:17
New Project
{"valueParameterDescriptions":[],"slotParameterDescriptions":[],"roleDescriptions":[],"contractType":"O","contractName":"","contractDescription":"","choiceDescriptions":[]}
@suattop
suattop / calendar.js
Created February 9, 2019 06:00 — forked from OneYX/calendar.js
1900年至2100年公历、农历互转Js代码 form: http://blog.jjonline.cn/userInterFace/173.html
/**
* @1900-2100区间内的公历、农历互转
* @charset UTF-8
* @Author Jea杨(JJonline@JJonline.Cn)
* @Time 2014-7-21
* @Time 2016-8-13 Fixed 2033hex、Attribution Annals
* @Time 2016-9-25 Fixed lunar LeapMonth Param Bug
* @Time 2017-7-24 Fixed use getTerm Func Param Error.use solar year,NOT lunar year
* @Version 1.0.3
* @公历转农历:calendar.solar2lunar(1987,11,01); //[you can ignore params of prefix 0]
@suattop
suattop / BaniCoin.sol
Created January 2, 2019 08:13
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.5.2+commit.1df8f40c.js&optimize=false&gist=
pragma solidity ^0.4.13;
import '../node_modules/zeppelin-solidity/contracts/token/ERC20/MintableToken.sol';
contract BaniCoin is MintableToken {
string public name = "Banigo COIN";
string public symbol = "BG$";
uint8 public decimals = 18;
}
@suattop
suattop / variable-1.sol
Created January 2, 2019 08:11
Developing you first Smart Contract - variables and functions - 1.1
pragma solidity ^0.5.1;
// create contract named Hashcademy
contract Hashcademy {
string name = 'Eric';
uint level = 3;
}
@suattop
suattop / keybase.md
Created September 13, 2018 03:59
keybase.md

Keybase proof

I hereby claim:

  • I am suattop on github.
  • I am suattop (https://keybase.io/suattop) on keybase.
  • I have a public key ASDXOo10jvKclnLd32VUTxZRhHtg_cnOJsDCAF3LTQyI0go

To claim this, I am signing this object: