Skip to content

Instantly share code, notes, and snippets.

// Dependency file: contracts/interfaces/IChainConfig.sol
// SPDX-License-Identifier: GPL-3.0-only
// pragma solidity ^0.8.0;
interface IChainConfig {
function getActiveValidatorsLength() external view returns (uint32);
function setActiveValidatorsLength(uint32 newValue) external;
{
"API": {
"HTTPHeaders": {
"Access-Control-Allow-Methods": [
"PUT",
"POST"
],
"Access-Control-Allow-Origin": [
"http://xx.xx.xx.xx:5001",
"http://localhost:3000",
pragma solidity ^0.6.6;
import "@chainlink/contracts/src/v0.6/interfaces/AggregatorV3Interface.sol";
contract ChainlinkOracle {
AggregatorV3Interface internal priceFeed;
/**
* Network: Kovan
@dome
dome / coin.txt
Created September 14, 2021 03:53
SRM
POLY
UNFI
MITH
XTZ
EGLD
SOL
XVS
ARPA
LTC
[binance_user_config]
api_key=
api_secret_key=
current_coin=
bridge=USDT
tld=com
hourToKeepScoutHistory=1
scout_multiplier=5
scout_sleep_time=1
strategy=ratio_adjust
ETH
NEAR
SOL
XVS
ARPA
LTC
ZEN
BLZ
ERN
ALPHA
// SPDX-License-Identifier: MIT
pragma solidity 0.6.12;
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 / 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";