Skip to content

Instantly share code, notes, and snippets.

@dome
dome / foxtoken.sol
Created August 30, 2021 12:10
Fox token
// SPDX-License-Identifier: MIT
/**
*
* Tokenine ERC20 Smartcontract
* Contact: Dome C. <[email protected]>
* Tokenine Inc
* 256 Chapman Road STE 105-4
* Newark New Castle
* Delaware(DE) 19702
{
"config": {
"chainId": 17,
"homesteadBlock": 0,
"eip150Block": 0,
"eip150Hash": "0x0000000000000000000000000000000000000000000000000000000000000000",
"eip155Block": 0,
"eip158Block": 0,
"byzantiumBlock": 0,
"constantinopleBlock": 0,
// SPDX-License-Identifier: MIT
pragma solidity 0.6.6;
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/math/SafeMath.sol";
import "./TokenineRewardPoint.sol";
@dome
dome / jfin.sol
Created March 27, 2021 05:26
jfin.sol
/**
*Submitted for verification at BscScan.com on 2021-02-07
*/
// Dependency file: contracts/openzeppelin/contracts/GSN/Context.sol
// SPDX-License-Identifier: MIT
// pragma solidity ^0.7.0;
{
"internal_transactions": [
{
"value": "10000000000000000000",
"transactionIndex": "1",
"tokenSymbol": "FFU",
"tokenName": "Fat Fuse Unicorn 🦄",
"tokenDecimal": "18",
"to": "0x7821225310a716d4d321ec140054aa549010c605",
"timeStamp": "1570173960",
@dome
dome / fake_token.json
Last active September 28, 2019 02:49
{"data":{"_id":"5d74a412a520a30011ce6391","address":"0x24D40d705aC5B54080678d83E628803cfFCe89c2","factoryAddress":"0xb895638fb3870AD5832402a5BcAa64A044687db0","blockNumber":669620,"tokenType":"basic","networkType":"fuse","name":"X SEGA ","symbol":"XSEGA","totalSupply":"0","createdAt":"2019-09-08T06:47:46.170Z","updatedAt":"2019-09-08T06:48:45.333Z","tokenURI":"ipfs://Qmc1WwfAweQgjjS1YSwrAeaHcFgiSNiqEoZFZsXeFr54Wo","owner":"0xAde4785c5B5699E25B1E345d708be6295CDce938"}}
@dome
dome / opcoin
Last active August 21, 2018 14:44
pragma solidity ^0.4.16;
contract OpCoin {
string public name = "OPCOIN"; // token name
string public symbol = "OPC"; // token symbol
uint256 public decimals = 0; // token digit
mapping (address => uint256) public balanceOf;
mapping (address => mapping (address => uint256)) public allowance;
pragma solidity ^0.4.16;
// sol ควรจะสั้นๆ ตรงไปตรงมา อย่าเยอะ
// Dome C. <[email protected]>
contract SbuyToken {
string public name = "SbuyMining"; // token name
string public symbol = "SBUY"; // token symbol
uint256 public decimals = 0; // token digit
mapping (address => uint256) public balanceOf;
pragma solidity ^0.4.18;
library SafeMath {
function add(uint a, uint b) internal pure returns (uint c) {
c = a + b;
require(c >= a);
}
function sub(uint a, uint b) internal pure returns (uint c) {
require(b <= a);
c = a - b;
pragma solidity ^0.4.18;
library SafeMath {
function add(uint a, uint b) internal pure returns (uint c) {
c = a + b;
require(c >= a);
}
function sub(uint a, uint b) internal pure returns (uint c) {
require(b <= a);
c = a - b;