Skip to content

Instantly share code, notes, and snippets.

pragma solidity ^0.4.24;
// Amis Dex OnChainOrderBook follows ERC20 Standards
contract ERC20 {
function totalSupply() constant returns (uint);
function balanceOf(address _owner) constant returns (uint balance);
function transfer(address _to, uint _value) returns (bool success);
function transferFrom(address _from, address _to, uint _value) returns (bool success);
function approve(address _spender, uint _value) returns (bool success);
function allowance(address _owner, address _spender) constant returns (uint remaining);
@amisolution
amisolution / WETC.sol
Last active September 19, 2019 06:46
// Copyright (C) 2015, 2016, 2017 Dapphub
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
@amisolution
amisolution / Amis.sol
Last active September 16, 2019 14:25
//**
//*// https://remix.ethereum.org/#version=soljson-v0.5.9+commit.e560f70d.js&optimize=true&gist=6ba2843f228efec36624338245bd09dd
//*//
pragma solidity >=0.4.22 <0.6.0;
library SafeMath {
/**
* @dev Multiplies two unsigned integers, reverts on overflow.
*/
@amisolution
amisolution / gist:1efbac64d0c95d06a10055c5e30118db
Last active October 27, 2018 12:45
EMOJI cheatsheet 😸🙈🙊😽💀💢💥✨💏👫👄👃👀👛😛😳😗😓🙉👛🗼🔮🎄🎅👻
cheat sheet.
✈ Got flash enabled? Click the emoji code and it will be copied to your clipboard.
:ledger:
:fuelpump:
:japanese_goblin:
:nut_and_bolt:
:postbox:
:radio_button:
:straight_ruler:

Keybase proof

I hereby claim:

  • I am amisolution on github.
  • I am amisolution (https://keybase.io/amisolution) on keybase.
  • I have a public key whose fingerprint is 5CC6 D89D 6649 0080 0DF0 52A8 3943 33EF 9007 64D8

To claim this, I am signing this object: