Contract 0x3d9907f9a368ad0a51be60f7da3b97cf940982d8 4

 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x92723511adad0ea61ad39da43bbc8686cccd76180863ac874c125373542b9da8Approve760402042023-04-01 20:00:4725 secs ago0x26327ad83d55b5a7d55abc505074aa6218ef5aa4 IN  Camelot: GRAIL Token0 ETH0.0000435 0.1
0x4486f9934881d6a2ddb05d7ff0e9cd4160e652a8ff62f97818a4c5951207ef85Approve760400842023-04-01 20:00:2250 secs ago0x081e1078d58035d0c240a2ee73952072e2e25c6d IN  Camelot: GRAIL Token0 ETH0.00004539 0.1
0x201f90f2e409cf53f86a62cea7ca0c1a2e6b000965587b31bc575d711d11ec41Approve760399902023-04-01 19:59:581 min ago0xc2fb45222575cee0426865194fc849d6736a61a0 IN  Camelot: GRAIL Token0 ETH0.00004584 0.1
0x95d625d2735491258a8d4c0a87b70697cbe5e41fbc08a264b415c606236570a3Approve760396452023-04-01 19:58:242 mins ago0x2570b040b3528f3ff6589b6ddfe13d93ec6940e0 IN  Camelot: GRAIL Token0 ETH0.00004629 0.1
0xb9ec9c373c424d01c2b1d0ef7819de10c487ec1cb52c3b78afa32c63a68f8125Approve760389572023-04-01 19:55:195 mins ago0x4a401ee7fef089cd20d183fe2510d7bd38294728 IN  Camelot: GRAIL Token0 ETH0.00004584 0.1
0x1659cd9437e852b074506d8add0afb682b535c2686062bca9e4091f3f8e09232Approve760387322023-04-01 19:54:166 mins ago0x7072d68676778f421f05cd36dfbe63b402f40baf IN  Camelot: GRAIL Token0 ETH0.00004539 0.1
0xe5dc59aa9de1aa5af86f096ed32608d9211527038d3dcea9c243a3b0abfc9aa6Approve760379002023-04-01 19:50:4310 mins ago0xe45325d2443bb06963b9e7f1c5ce39e89d4563d9 IN  Camelot: GRAIL Token0 ETH0.00004166 0.1
0x6bf931fe481aee18835323c92b740860b39423bd03d52efdf0c1ef99530e2824Approve760371302023-04-01 19:47:2313 mins ago0x3c9554077128f0a1fc2f43ed8a092762b43954b3 IN  Camelot: GRAIL Token0 ETH0.0000432 0.1
0x7ca80162351ad6d06041306d1cbc9dd089372d1523f452a9560718e6cb59db27Transfer760361602023-04-01 19:43:0418 mins ago0x0b4549eecf70b4f21c0e2e7bb395df5a52ecab3b IN  Camelot: GRAIL Token0 ETH0.000043070.1
0x8862d80ee76657cc96e0c9d11005353cffbf8988b2729265299acef74234dd80Transfer760361572023-04-01 19:43:0318 mins ago0x020fa7d7bd2890603b195d6c246ec75f9a005463 IN  Camelot: GRAIL Token0 ETH0.000043070.1
0xd85256c11a8f31567576f51808cbe38e172c2f3a28ac862d6df204db06d67f64Transfer760361482023-04-01 19:43:0118 mins ago0x9f2fa8543a0458c5e33c83693f5889237a8fec60 IN  Camelot: GRAIL Token0 ETH0.000042850.1
0xc967253edd93b9d90ce0325d1684189a158d9ea7338b9d2432e2bc015c0bda60Approve760356952023-04-01 19:41:0520 mins ago0x7b1e8b4c96982d828ec3d99bb4d5951ac62d94a5 IN  Camelot: GRAIL Token0 ETH0.000044380.1
0xb1d7b276b059132b6858aae84e2332021f08ecd1ec20dbd99f5542012dbf59a9Approve760356592023-04-01 19:40:5520 mins ago0x7b1e8b4c96982d828ec3d99bb4d5951ac62d94a5 IN  Camelot: GRAIL Token0 ETH0.000044180.1
0x7b75abd98d34838df6801db6c82bd63fd6aaea031d686b20cd6c80541a8ba562Transfer760344272023-04-01 19:35:3025 mins ago0xd02e0119e1cb3f81f731aba0cba814310c19a177 IN  Camelot: GRAIL Token0 ETH0.000045210.1
0x173f370a96ff741406831be1db114da8c91dbf78036eb1ec1b605028226c6291Transfer760341742023-04-01 19:34:2626 mins ago0xf7ae2fb1593e31b1f6056fd98e2f3d5c49910087 IN  Camelot: GRAIL Token0 ETH0.000047120.1
0x9521ce0abfb710df70fb9d80bd4b5b2f204a1529e7181a39157dde5adcf252adApprove760340142023-04-01 19:33:4027 mins ago0xc27fd9d5113de19ea89d0265be9fd93f35f052c8 IN  Camelot: GRAIL Token0 ETH0.00004728 0.1
0xe70252ffc5b1605eee7dfac48475b76a15c1f5b002f00cd20d2c34071a85b7b4Transfer760338672023-04-01 19:32:5928 mins ago0xd02e0119e1cb3f81f731aba0cba814310c19a177 IN  Camelot: GRAIL Token0 ETH0.000045410.1
0x250a34c71529685fdd9778cc7acb3c02b30968f327781a5333a55948411b84d3Approve760337752023-04-01 19:32:3528 mins ago0x5b7da11ab33b76b2045bb12c247752dd711f3690 IN  Camelot: GRAIL Token0 ETH0.00004681 0.1
0xa7cf808643356873d5a9a2781c35e82facd5f8dbb94c6e279a8485bc20474f18Approve760332152023-04-01 19:30:0531 mins ago0xcf270ed9556d1be901e6b8a3ed8c3ca12fd76d46 IN  Camelot: GRAIL Token0 ETH0.00004681 0.1
0xc2e53a42d3a38fd13c8f718459ee6f4e700f21bd0bbf81e2cf61a8b17ba2bacdApprove760331212023-04-01 19:29:3931 mins ago0xf8948d879830211017d5b3156dcd7b0f8a339a10 IN  Camelot: GRAIL Token0 ETH0.00004482 0.1
0xaff0c04c5ec9b219c47f05170102a251f85a6e4a2b3b25863721955621edae4fTransfer760330052023-04-01 19:29:0832 mins ago0xd02e0119e1cb3f81f731aba0cba814310c19a177 IN  Camelot: GRAIL Token0 ETH0.000047120.1
0x76fe9aebc6561cfc43ccf4fbe28ea95cad6ddb46da5f1e96585febc33870d023Approve760328962023-04-01 19:28:3932 mins ago0xbdafccb12b147d5c168a9e0196b56e1343e325fd IN  Camelot: GRAIL Token0 ETH0.00004505 0.1
0x70cda887403902d73d22abcec4250f49b016068230550fa9380c491d9ec80bceApprove760315142023-04-01 19:22:3438 mins ago0x9f1967cfb9f91a6d0f77e90c7f563f8e3f918082 IN  Camelot: GRAIL Token0 ETH0.00003996 0.1
0x588945337ba21eaaa3f3beb30e3b46f9d1fb01cd4f98e161cb98f5786d297126Approve760314952023-04-01 19:22:2938 mins ago0x9f1967cfb9f91a6d0f77e90c7f563f8e3f918082 IN  Camelot: GRAIL Token0 ETH0.00003996 0.1
0xe0c85eb29b97591cf31869a1aeb130b6042f46f335e254d1b3430f05d722fa00Approve760311302023-04-01 19:20:5340 mins ago0xf067a77ed156f328982f0b927e0e9659bd4c144a IN  Camelot: GRAIL Token0 ETH0.0000437 0.1
[ Download CSV Export 

OVERVIEW

Camelot is an ecosystem-focused and community-driven DEX built on Arbitrum.

Latest 25 internal transaction
Parent Txn Hash Block From To Value
0x8c935987692b2bcfd759ab8a81f1b844bc10cbffa9602575cc12753898800fa9720866482023-03-21 10:18:4311 days 9 hrs ago Camelot: Master Camelot: GRAIL Token0 ETH
0x8c935987692b2bcfd759ab8a81f1b844bc10cbffa9602575cc12753898800fa9720866482023-03-21 10:18:4311 days 9 hrs ago Camelot: Master Camelot: GRAIL Token0 ETH
0x8c935987692b2bcfd759ab8a81f1b844bc10cbffa9602575cc12753898800fa9720866482023-03-21 10:18:4311 days 9 hrs ago Camelot: Master Camelot: GRAIL Token0 ETH
0x8c935987692b2bcfd759ab8a81f1b844bc10cbffa9602575cc12753898800fa9720866482023-03-21 10:18:4311 days 9 hrs ago Camelot: Master Camelot: GRAIL Token0 ETH
0x8c935987692b2bcfd759ab8a81f1b844bc10cbffa9602575cc12753898800fa9720866482023-03-21 10:18:4311 days 9 hrs ago Camelot: xGRAIL Token Camelot: GRAIL Token0 ETH
0x007aef05a3858fee2dee2ccd68f58d0514b89584f752e22feae1a2aef951b145720858202023-03-21 10:15:1811 days 9 hrs ago Camelot: Master Camelot: GRAIL Token0 ETH
0x007aef05a3858fee2dee2ccd68f58d0514b89584f752e22feae1a2aef951b145720858202023-03-21 10:15:1811 days 9 hrs ago Camelot: Master Camelot: GRAIL Token0 ETH
0x007aef05a3858fee2dee2ccd68f58d0514b89584f752e22feae1a2aef951b145720858202023-03-21 10:15:1811 days 9 hrs ago Camelot: Master Camelot: GRAIL Token0 ETH
0x007aef05a3858fee2dee2ccd68f58d0514b89584f752e22feae1a2aef951b145720858202023-03-21 10:15:1811 days 9 hrs ago Camelot: Master Camelot: GRAIL Token0 ETH
0x007aef05a3858fee2dee2ccd68f58d0514b89584f752e22feae1a2aef951b145720858202023-03-21 10:15:1811 days 9 hrs ago Camelot: Master Camelot: GRAIL Token0 ETH
0x75796c69846e71b4c4a2f4697570c269a2877b72999c9b3369de62c3c413c753720858182023-03-21 10:15:1811 days 9 hrs ago Camelot: Master Camelot: GRAIL Token0 ETH
0x75796c69846e71b4c4a2f4697570c269a2877b72999c9b3369de62c3c413c753720858182023-03-21 10:15:1811 days 9 hrs ago Camelot: Master Camelot: GRAIL Token0 ETH
0x75796c69846e71b4c4a2f4697570c269a2877b72999c9b3369de62c3c413c753720858182023-03-21 10:15:1811 days 9 hrs ago Camelot: Master Camelot: GRAIL Token0 ETH
0x75796c69846e71b4c4a2f4697570c269a2877b72999c9b3369de62c3c413c753720858182023-03-21 10:15:1811 days 9 hrs ago Camelot: Master Camelot: GRAIL Token0 ETH
0x75796c69846e71b4c4a2f4697570c269a2877b72999c9b3369de62c3c413c753720858182023-03-21 10:15:1811 days 9 hrs ago Camelot: Master Camelot: GRAIL Token0 ETH
0xabe61976c8c081bf7fb7d6af73f2c29b62411174fecbef8211545a1767502af8720857942023-03-21 10:15:1211 days 9 hrs ago 0x87425d8812f44726091831a9a109f4bdc3ea34b4 Camelot: GRAIL Token0 ETH
0xabe61976c8c081bf7fb7d6af73f2c29b62411174fecbef8211545a1767502af8720857942023-03-21 10:15:1211 days 9 hrs ago 0x87425d8812f44726091831a9a109f4bdc3ea34b4 Camelot: GRAIL Token0 ETH
0xabe61976c8c081bf7fb7d6af73f2c29b62411174fecbef8211545a1767502af8720857942023-03-21 10:15:1211 days 9 hrs ago Camelot: Router Camelot: GRAIL Token0 ETH
0xabe61976c8c081bf7fb7d6af73f2c29b62411174fecbef8211545a1767502af8720857942023-03-21 10:15:1211 days 9 hrs ago Camelot: Router Camelot: GRAIL Token0 ETH
0xcd56f5de9e659c9e5245ded143d234ed54a1aa5df3de909346eb94cf93e865ab720855302023-03-21 10:14:0511 days 9 hrs ago Camelot: Router Camelot: GRAIL Token0 ETH
0xcd56f5de9e659c9e5245ded143d234ed54a1aa5df3de909346eb94cf93e865ab720855302023-03-21 10:14:0511 days 9 hrs ago 0x87425d8812f44726091831a9a109f4bdc3ea34b4 Camelot: GRAIL Token0 ETH
0xcd56f5de9e659c9e5245ded143d234ed54a1aa5df3de909346eb94cf93e865ab720855302023-03-21 10:14:0511 days 9 hrs ago 0x87425d8812f44726091831a9a109f4bdc3ea34b4 Camelot: GRAIL Token0 ETH
0xcd56f5de9e659c9e5245ded143d234ed54a1aa5df3de909346eb94cf93e865ab720855302023-03-21 10:14:0511 days 9 hrs ago Camelot: Router Camelot: GRAIL Token0 ETH
0x6f5fa6b3041dbf472be8342a3358b137db95699c189650d3cfdc6ef8bf40a9af720854562023-03-21 10:13:4611 days 9 hrs ago 0x87425d8812f44726091831a9a109f4bdc3ea34b4 Camelot: GRAIL Token0 ETH
0x6f5fa6b3041dbf472be8342a3358b137db95699c189650d3cfdc6ef8bf40a9af720854562023-03-21 10:13:4611 days 9 hrs ago 0x87425d8812f44726091831a9a109f4bdc3ea34b4 Camelot: GRAIL Token0 ETH
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
GrailTokenV2

Compiler Version
v0.7.6+commit.7338295f

Optimization Enabled:
Yes with 50000 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity Standard Json-Input format)

File 1 of 8 : GrailTokenV2.sol
// SPDX-License-Identifier: MIT
pragma solidity =0.7.6;

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/math/Math.sol";
import "@openzeppelin/contracts/math/SafeMath.sol";
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";

import "./interfaces/tokens/IGrailTokenV2.sol";


/*
 * GRAIL is Camelot's native ERC20 token.
 * It has an hard cap and manages its own emissions and allocations.
 */
contract GrailTokenV2 is Ownable, ERC20("Camelot token", "GRAIL"), IGrailTokenV2 {
  using SafeMath for uint256;

  uint256 public constant MAX_EMISSION_RATE = 0.01 ether;
  uint256 public constant MAX_SUPPLY_LIMIT = 200000 ether;
  uint256 public elasticMaxSupply; // Once deployed, controlled through governance only
  uint256 public emissionRate; // Token emission per second

  uint256 public override lastEmissionTime;
  uint256 public masterReserve; // Pending rewards for the master

  uint256 public constant ALLOCATION_PRECISION = 100;
  // Allocations emitted over time. When < 100%, the rest is minted into the treasury (default 15%)
  uint256 public farmingAllocation = 50; // = 50%
  uint256 public legacyAllocation; // V1 holders allocation

  address public masterAddress;
  address public treasuryAddress;

  address public constant BURN_ADDRESS = 0x000000000000000000000000000000000000dEaD;

  constructor(uint256 maxSupply_, uint256 initialSupply, uint256 initialEmissionRate, address treasuryAddress_) {
    require(initialEmissionRate <= MAX_EMISSION_RATE, "invalid emission rate");
    require(maxSupply_ <= MAX_SUPPLY_LIMIT, "invalid initial maxSupply");
    require(initialSupply < maxSupply_, "invalid initial supply");
    require(treasuryAddress_ != address(0), "invalid treasury address");

    elasticMaxSupply = maxSupply_;
    emissionRate = initialEmissionRate;
    treasuryAddress = treasuryAddress_;

    _mint(msg.sender, initialSupply);
  }


  /********************************************/
  /****************** EVENTS ******************/
  /********************************************/

  event ClaimMasterRewards(uint256 amount);
  event AllocationsDistributed(uint256 masterShare, uint256 treasuryShare);
  event InitializeMasterAddress(address masterAddress);
  event InitializeEmissionStart(uint256 startTime);
  event UpdateAllocations(uint256 farmingAllocation, uint256 legacyAllocation, uint256 treasuryAllocation);
  event UpdateEmissionRate(uint256 previousEmissionRate, uint256 newEmissionRate);
  event UpdateMaxSupply(uint256 previousMaxSupply, uint256 newMaxSupply);
  event UpdateTreasuryAddress(address previousTreasuryAddress, address newTreasuryAddress);

  /***********************************************/
  /****************** MODIFIERS ******************/
  /***********************************************/

  /*
   * @dev Throws error if called by any account other than the master
   */
  modifier onlyMaster() {
    require(msg.sender == masterAddress, "GrailToken: caller is not the master");
    _;
  }


  /**************************************************/
  /****************** PUBLIC VIEWS ******************/
  /**************************************************/

  /**
   * @dev Returns total master allocation
   */
  function masterAllocation() public view returns (uint256) {
    return farmingAllocation.add(legacyAllocation);
  }

  /**
   * @dev Returns master emission rate
   */
  function masterEmissionRate() public view override returns (uint256) {
    return emissionRate.mul(farmingAllocation.add(legacyAllocation)).div(ALLOCATION_PRECISION);
  }

  /**
   * @dev Returns treasury allocation
   */
  function treasuryAllocation() public view returns (uint256) {
    return uint256(ALLOCATION_PRECISION).sub(masterAllocation());
  }


  /*****************************************************************/
  /******************  EXTERNAL PUBLIC FUNCTIONS  ******************/
  /*****************************************************************/

  /**
   * @dev Mint rewards and distribute it between master and treasury
   *
   * Treasury share is directly minted to the treasury address
   * Master incentives are minted into this contract and claimed later by the master contract
   */
  function emitAllocations() public {
    uint256 circulatingSupply = totalSupply();
    uint256 currentBlockTimestamp = _currentBlockTimestamp();

    uint256 _lastEmissionTime = lastEmissionTime; // gas saving
    uint256 _maxSupply = elasticMaxSupply; // gas saving

    // if already up to date or not started
    if (currentBlockTimestamp <= _lastEmissionTime || _lastEmissionTime == 0) {
      return;
    }

    // if max supply is already reached or emissions deactivated
    if (_maxSupply <= circulatingSupply || emissionRate == 0) {
      lastEmissionTime = currentBlockTimestamp;
      return;
    }

    uint256 newEmissions = currentBlockTimestamp.sub(_lastEmissionTime).mul(emissionRate);

    // cap new emissions if exceeding max supply
    if(_maxSupply < circulatingSupply.add(newEmissions)) {
      newEmissions = _maxSupply.sub(circulatingSupply);
    }

    // calculate master and treasury shares from new emissions
    uint256 masterShare = newEmissions.mul(masterAllocation()).div(ALLOCATION_PRECISION);
    // sub to avoid rounding errors
    uint256 treasuryShare = newEmissions.sub(masterShare);

    lastEmissionTime = currentBlockTimestamp;

    // add master shares to its claimable reserve
    masterReserve = masterReserve.add(masterShare);
    // mint shares
    _mint(address(this), masterShare);
    _mint(treasuryAddress, treasuryShare);

    emit AllocationsDistributed(masterShare, treasuryShare);
  }

  /**
   * @dev Sends to Master contract the asked "amount" from masterReserve
   *
   * Can only be called by the MasterContract
   */
  function claimMasterRewards(uint256 amount) external override onlyMaster returns (uint256 effectiveAmount) {
    // update emissions
    emitAllocations();

    // cap asked amount with available reserve
    effectiveAmount = Math.min(masterReserve, amount);

    // if no rewards to transfer
    if (effectiveAmount == 0) {
      return effectiveAmount;
    }

    // remove claimed rewards from reserve and transfer to master
    masterReserve = masterReserve.sub(effectiveAmount);
    _transfer(address(this), masterAddress, effectiveAmount);
    emit ClaimMasterRewards(effectiveAmount);
  }

  /**
   * @dev Burns "amount" of GRAIL by sending it to BURN_ADDRESS
   */
  function burn(uint256 amount) external override {
    _transfer(msg.sender, BURN_ADDRESS, amount);
  }

  /*****************************************************************/
  /****************** EXTERNAL OWNABLE FUNCTIONS  ******************/
  /*****************************************************************/

  /**
   * @dev Setup Master contract address
   *
   * Can only be initialized once
   * Must only be called by the owner
   */
  function initializeMasterAddress(address masterAddress_) external onlyOwner {
    require(masterAddress == address(0), "initializeMasterAddress: master already initialized");
    require(masterAddress_ != address(0), "initializeMasterAddress: master initialized to zero address");

    masterAddress = masterAddress_;
    emit InitializeMasterAddress(masterAddress_);
  }

  /**
   * @dev Set emission start time
   *
   * Can only be initialized once
   * Must only be called by the owner
   */
  function initializeEmissionStart(uint256 startTime) external onlyOwner {
    require(lastEmissionTime == 0, "initializeEmissionStart: emission start already initialized");
    require(_currentBlockTimestamp() < startTime, "initializeEmissionStart: invalid");

    lastEmissionTime = startTime;
    emit InitializeEmissionStart(startTime);
  }

  /**
   * @dev Updates emission allocations between farming incentives, legacy holders and treasury (remaining share)
   *
   * Must only be called by the owner
   */
  function updateAllocations(uint256 farmingAllocation_, uint256 legacyAllocation_) external onlyOwner {
    // apply emissions before changes
    emitAllocations();

    // total sum of allocations can't be > 100%
    uint256 totalAllocationsSet = farmingAllocation_.add(legacyAllocation_);
    require(totalAllocationsSet <= 100, "updateAllocations: total allocation is too high");

    // set new allocations
    farmingAllocation = farmingAllocation_;
    legacyAllocation = legacyAllocation_;

    emit UpdateAllocations(farmingAllocation_, legacyAllocation_, treasuryAllocation());
  }

  /**
   * @dev Updates GRAIL emission rate per second
   *
   * Must only be called by the owner
   */
  function updateEmissionRate(uint256 emissionRate_) external onlyOwner {
    require(emissionRate_ <= MAX_EMISSION_RATE, "updateEmissionRate: can't exceed maximum");

    // apply emissions before changes
    emitAllocations();

    emit UpdateEmissionRate(emissionRate, emissionRate_);
    emissionRate = emissionRate_;
  }

  /**
   * @dev Updates GRAIL max supply
   *
   * Must only be called by the owner
   */
  function updateMaxSupply(uint256 maxSupply_) external onlyOwner {
    require(maxSupply_ >= totalSupply(), "updateMaxSupply: can't be lower than current circulating supply");
    require(maxSupply_ <= MAX_SUPPLY_LIMIT, "updateMaxSupply: invalid maxSupply");

    emit UpdateMaxSupply(elasticMaxSupply, maxSupply_);
    elasticMaxSupply = maxSupply_;
  }

  /**
   * @dev Updates treasury address
   *
   * Must only be called by owner
   */
  function updateTreasuryAddress(address treasuryAddress_) external onlyOwner {
    require(treasuryAddress_ != address(0), "updateTreasuryAddress: invalid address");

    emit UpdateTreasuryAddress(treasuryAddress, treasuryAddress_);
    treasuryAddress = treasuryAddress_;
  }


  /********************************************************/
  /****************** INTERNAL FUNCTIONS ******************/
  /********************************************************/

  /**
   * @dev Utility function to get the current block timestamp
   */
  function _currentBlockTimestamp() internal view virtual returns (uint256) {
    /* solhint-disable not-rely-on-time */
    return block.timestamp;
  }
}

File 2 of 8 : IGrailTokenV2.sol
// SPDX-License-Identifier: MIT
pragma solidity =0.7.6;

import "@openzeppelin/contracts/token/ERC20/IERC20.sol";

interface IGrailTokenV2 is IERC20{
  function lastEmissionTime() external view returns (uint256);

  function claimMasterRewards(uint256 amount) external returns (uint256 effectiveAmount);
  function masterEmissionRate() external view returns (uint256);
  function burn(uint256 amount) external;
}

File 3 of 8 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

/*
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with GSN meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address payable) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes memory) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

File 4 of 8 : IERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.7.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `sender` to `recipient` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}

File 5 of 8 : ERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.7.0;

import "../../utils/Context.sol";
import "./IERC20.sol";
import "../../math/SafeMath.sol";

/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin guidelines: functions revert instead
 * of returning `false` on failure. This behavior is nonetheless conventional
 * and does not conflict with the expectations of ERC20 applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, IERC20 {
    using SafeMath for uint256;

    mapping (address => uint256) private _balances;

    mapping (address => mapping (address => uint256)) private _allowances;

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;
    uint8 private _decimals;

    /**
     * @dev Sets the values for {name} and {symbol}, initializes {decimals} with
     * a default value of 18.
     *
     * To select a different value for {decimals}, use {_setupDecimals}.
     *
     * All three of these values are immutable: they can only be set once during
     * construction.
     */
    constructor (string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
        _decimals = 18;
    }

    /**
     * @dev Returns the name of the token.
     */
    function name() public view virtual returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5,05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the value {ERC20} uses, unless {_setupDecimals} is
     * called.
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view virtual returns (uint8) {
        return _decimals;
    }

    /**
     * @dev See {IERC20-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        return _totalSupply;
    }

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view virtual override returns (uint256) {
        return _balances[account];
    }

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `recipient` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

    /**
     * @dev See {IERC20-allowance}.
     */
    function allowance(address owner, address spender) public view virtual override returns (uint256) {
        return _allowances[owner][spender];
    }

    /**
     * @dev See {IERC20-approve}.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        _approve(_msgSender(), spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * Requirements:
     *
     * - `sender` and `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     * - the caller must have allowance for ``sender``'s tokens of at least
     * `amount`.
     */
    function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(sender, recipient, amount);
        _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance"));
        return true;
    }

    /**
     * @dev Atomically increases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue));
        return true;
    }

    /**
     * @dev Atomically decreases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `spender` must have allowance for the caller of at least
     * `subtractedValue`.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero"));
        return true;
    }

    /**
     * @dev Moves tokens `amount` from `sender` to `recipient`.
     *
     * This is internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * Requirements:
     *
     * - `sender` cannot be the zero address.
     * - `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     */
    function _transfer(address sender, address recipient, uint256 amount) internal virtual {
        require(sender != address(0), "ERC20: transfer from the zero address");
        require(recipient != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(sender, recipient, amount);

        _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance");
        _balances[recipient] = _balances[recipient].add(amount);
        emit Transfer(sender, recipient, amount);
    }

    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

        _beforeTokenTransfer(address(0), account, amount);

        _totalSupply = _totalSupply.add(amount);
        _balances[account] = _balances[account].add(amount);
        emit Transfer(address(0), account, amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, reducing the
     * total supply.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens.
     */
    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: burn from the zero address");

        _beforeTokenTransfer(account, address(0), amount);

        _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance");
        _totalSupply = _totalSupply.sub(amount);
        emit Transfer(account, address(0), amount);
    }

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
     *
     * This internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     */
    function _approve(address owner, address spender, uint256 amount) internal virtual {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

    /**
     * @dev Sets {decimals} to a value other than the default one of 18.
     *
     * WARNING: This function should only be called from the constructor. Most
     * applications that interact with token contracts will not expect
     * {decimals} to ever change, and may work incorrectly if it does.
     */
    function _setupDecimals(uint8 decimals_) internal virtual {
        _decimals = decimals_;
    }

    /**
     * @dev Hook that is called before any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * will be to transferred to `to`.
     * - when `from` is zero, `amount` tokens will be minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual { }
}

File 6 of 8 : SafeMath.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.7.0;

/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        uint256 c = a + b;
        if (c < a) return (false, 0);
        return (true, c);
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b > a) return (false, 0);
        return (true, a - b);
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
        // benefit is lost if 'b' is also tested.
        // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
        if (a == 0) return (true, 0);
        uint256 c = a * b;
        if (c / a != b) return (false, 0);
        return (true, c);
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b == 0) return (false, 0);
        return (true, a / b);
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b == 0) return (false, 0);
        return (true, a % b);
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");
        return c;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        require(b <= a, "SafeMath: subtraction overflow");
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        if (a == 0) return 0;
        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");
        return c;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        require(b > 0, "SafeMath: division by zero");
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        require(b > 0, "SafeMath: modulo by zero");
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        return a - b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryDiv}.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        return a % b;
    }
}

File 7 of 8 : Math.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.7.0;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    /**
     * @dev Returns the largest of two numbers.
     */
    function max(uint256 a, uint256 b) internal pure returns (uint256) {
        return a >= b ? a : b;
    }

    /**
     * @dev Returns the smallest of two numbers.
     */
    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two numbers. The result is rounded towards
     * zero.
     */
    function average(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b) / 2 can overflow, so we distribute
        return (a / 2) + (b / 2) + ((a % 2 + b % 2) / 2);
    }
}

File 8 of 8 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.7.0;

import "../utils/Context.sol";
/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor () {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        emit OwnershipTransferred(_owner, address(0));
        _owner = address(0);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

Settings
{
  "remappings": [],
  "optimizer": {
    "enabled": true,
    "runs": 50000
  },
  "evmVersion": "istanbul",
  "libraries": {},
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  }
}

Contract ABI

[{"inputs":[{"internalType":"uint256","name":"maxSupply_","type":"uint256"},{"internalType":"uint256","name":"initialSupply","type":"uint256"},{"internalType":"uint256","name":"initialEmissionRate","type":"uint256"},{"internalType":"address","name":"treasuryAddress_","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"masterShare","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"treasuryShare","type":"uint256"}],"name":"AllocationsDistributed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"ClaimMasterRewards","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"startTime","type":"uint256"}],"name":"InitializeEmissionStart","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"masterAddress","type":"address"}],"name":"InitializeMasterAddress","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"farmingAllocation","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"legacyAllocation","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"treasuryAllocation","type":"uint256"}],"name":"UpdateAllocations","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"previousEmissionRate","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newEmissionRate","type":"uint256"}],"name":"UpdateEmissionRate","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"previousMaxSupply","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newMaxSupply","type":"uint256"}],"name":"UpdateMaxSupply","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"previousTreasuryAddress","type":"address"},{"indexed":false,"internalType":"address","name":"newTreasuryAddress","type":"address"}],"name":"UpdateTreasuryAddress","type":"event"},{"inputs":[],"name":"ALLOCATION_PRECISION","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"BURN_ADDRESS","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_EMISSION_RATE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY_LIMIT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"claimMasterRewards","outputs":[{"internalType":"uint256","name":"effectiveAmount","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"elasticMaxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"emissionRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"emitAllocations","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"farmingAllocation","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"startTime","type":"uint256"}],"name":"initializeEmissionStart","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"masterAddress_","type":"address"}],"name":"initializeMasterAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"lastEmissionTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"legacyAllocation","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"masterAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"masterAllocation","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"masterEmissionRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"masterReserve","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"treasuryAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"treasuryAllocation","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"farmingAllocation_","type":"uint256"},{"internalType":"uint256","name":"legacyAllocation_","type":"uint256"}],"name":"updateAllocations","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"emissionRate_","type":"uint256"}],"name":"updateEmissionRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxSupply_","type":"uint256"}],"name":"updateMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"treasuryAddress_","type":"address"}],"name":"updateTreasuryAddress","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526032600b553480156200001657600080fd5b506040516200295b3803806200295b833981810160405260808110156200003c57600080fd5b50805160208083015160408085015160609095015181518083018352600d81526c21b0b6b2b637ba103a37b5b2b760991b818601528251808401909352600583526411d490525360da1b94830194909452939491939192906000620000a0620002ce565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3508151620000ff9060049060208501906200044c565b508051620001159060059060208401906200044c565b50506006805460ff1916601217905550662386f26fc1000082111562000182576040805162461bcd60e51b815260206004820152601560248201527f696e76616c696420656d697373696f6e20726174650000000000000000000000604482015290519081900360640190fd5b692a5a058fc295ed000000841115620001e2576040805162461bcd60e51b815260206004820152601960248201527f696e76616c696420696e697469616c206d6178537570706c7900000000000000604482015290519081900360640190fd5b83831062000237576040805162461bcd60e51b815260206004820152601660248201527f696e76616c696420696e697469616c20737570706c7900000000000000000000604482015290519081900360640190fd5b6001600160a01b03811662000293576040805162461bcd60e51b815260206004820152601860248201527f696e76616c696420747265617375727920616464726573730000000000000000604482015290519081900360640190fd5b60078490556008829055600e80546001600160a01b0319166001600160a01b038316179055620002c43384620002d2565b50505050620004f8565b3390565b6001600160a01b0382166200032e576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b6200033c60008383620003e5565b6200035881600354620003ea60201b62001a241790919060201c565b6003556001600160a01b0382166000908152600160209081526040909120546200038d91839062001a24620003ea821b17901c565b6001600160a01b03831660008181526001602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b505050565b60008282018381101562000445576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282620004845760008555620004cf565b82601f106200049f57805160ff1916838001178555620004cf565b82800160010185558215620004cf579182015b82811115620004cf578251825591602001919060010190620004b2565b50620004dd929150620004e1565b5090565b5b80821115620004dd5760008155600101620004e2565b61245380620005086000396000f3fe608060405234801561001057600080fd5b50600436106102915760003560e01c80637813570511610160578063c5f956af116100d8578063ed424fd01161008c578063f2fde38b11610071578063f2fde38b146106ac578063fc1852fb146106df578063fccc2813146106fc57610291565b8063ed424fd014610687578063f103b4331461068f57610291565b8063d365a08e116100bd578063d365a08e1461063c578063dd62ed3e14610644578063e4ef9dce1461067f57610291565b8063c5f956af1461062c578063c68bb4c51461063457610291565b806395d89b411161012f578063a457c2d711610114578063a457c2d714610597578063a9059cbb146105d0578063b71144a41461060957610291565b806395d89b411461058757806396afc4501461058f57610291565b806378135705146104fe578063841e45611461051b5780638da5cb5b1461054e5780638f88bba31461057f57610291565b8063395093511161020e5780634f3147ba116101c257806367c0f278116101a757806367c0f2781461049057806370a08231146104c3578063715018a6146104f657610291565b80634f3147ba14610480578063617d11261461048857610291565b806342966c68116101f357806342966c6814610453578063436cc3d614610470578063439af45e1461047857610291565b8063395093511461041257806339eb41891461044b57610291565b80630ba84cd21161026557806323b872dd1161024a57806323b872dd146103a957806327dede2d146103ec578063313ce567146103f457610291565b80630ba84cd21461038257806318160ddd146103a157610291565b80624fbf6b146102965780630495d11c146102b057806306fdde03146102b8578063095ea7b314610335575b600080fd5b61029e610704565b60408051918252519081900360200190f35b61029e610709565b6102c061070f565b6040805160208082528351818301528351919283929083019185019080838360005b838110156102fa5781810151838201526020016102e2565b50505050905090810190601f1680156103275780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61036e6004803603604081101561034b57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81351690602001356107c3565b604080519115158252519081900360200190f35b61039f6004803603602081101561039857600080fd5b50356107e1565b005b61029e610933565b61036e600480360360608110156103bf57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813581169160208101359091169060400135610939565b61029e6109da565b6103fc6109e0565b6040805160ff9092168252519081900360200190f35b61036e6004803603604081101561042857600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81351690602001356109e9565b61029e610a44565b61039f6004803603602081101561046957600080fd5b5035610a79565b61029e610a89565b61029e610a94565b61029e610a9a565b61029e610aaf565b61039f600480360360208110156104a657600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610abd565b61029e600480360360208110156104d957600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610cb9565b61039f610ce5565b61029e6004803603602081101561051457600080fd5b5035610dfc565b61039f6004803603602081101561053157600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610efc565b6105566110ac565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b61029e6110c8565b6102c06110ce565b61029e61114d565b61036e600480360360408110156105ad57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135611153565b61036e600480360360408110156105e657600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81351690602001356111c8565b61039f6004803603604081101561061f57600080fd5b50803590602001356111dc565b61055661134b565b61029e611367565b610556611380565b61029e6004803603604081101561065a57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135811691602001351661139c565b61039f6113d4565b61029e611519565b61039f600480360360208110156106a557600080fd5b503561151f565b61039f600480360360208110156106c257600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166116cc565b61039f600480360360208110156106f557600080fd5b503561186d565b610556611a1e565b606481565b600c5481565b60048054604080516020601f60027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156107b95780601f1061078e576101008083540402835291602001916107b9565b820191906000526020600020905b81548152906001019060200180831161079c57829003601f168201915b5050505050905090565b60006107d76107d0611a9f565b8484611aa3565b5060015b92915050565b6107e9611a9f565b73ffffffffffffffffffffffffffffffffffffffff166108076110ac565b73ffffffffffffffffffffffffffffffffffffffff161461088957604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b662386f26fc100008111156108e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260288152602001806123966028913960400191505060405180910390fd5b6108f16113d4565b600854604080519182526020820183905280517f16b9091836a63537907593ebc3a80f3528891f3575b10f58ad7dd9c29fd0d44f9281900390910190a1600855565b60035490565b6000610946848484611bea565b6109d084610952611a9f565b6109cb856040518060600160405280602881526020016122c36028913973ffffffffffffffffffffffffffffffffffffffff8a1660009081526002602052604081209061099d611a9f565b73ffffffffffffffffffffffffffffffffffffffff1681526020810191909152604001600020549190611dbc565b611aa3565b5060019392505050565b600a5481565b60065460ff1690565b60006107d76109f6611a9f565b846109cb8560026000610a07611a9f565b73ffffffffffffffffffffffffffffffffffffffff908116825260208083019390935260409182016000908120918c168152925290205490611a24565b6000610a746064610a6e610a65600c54600b54611a2490919063ffffffff16565b60085490611e6d565b90611ee0565b905090565b610a863361dead83611bea565b50565b662386f26fc1000081565b60095481565b6000610a74610aa7611367565b606490611f61565b692a5a058fc295ed00000081565b610ac5611a9f565b73ffffffffffffffffffffffffffffffffffffffff16610ae36110ac565b73ffffffffffffffffffffffffffffffffffffffff1614610b6557604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600d5473ffffffffffffffffffffffffffffffffffffffff1615610bd4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260338152602001806123636033913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff8116610c40576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603b815260200180612267603b913960400191505060405180910390fd5b600d805473ffffffffffffffffffffffffffffffffffffffff83167fffffffffffffffffffffffff0000000000000000000000000000000000000000909116811790915560408051918252517fcba13eb1e65d2c1588ce6d10f862f4535cc67855c3f31e3d2732f8fb6b5317b29181900360200190a150565b73ffffffffffffffffffffffffffffffffffffffff81166000908152600160205260409020545b919050565b610ced611a9f565b73ffffffffffffffffffffffffffffffffffffffff16610d0b6110ac565b73ffffffffffffffffffffffffffffffffffffffff1614610d8d57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6000805460405173ffffffffffffffffffffffffffffffffffffffff909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b600d5460009073ffffffffffffffffffffffffffffffffffffffff163314610e6f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602481526020018061214e6024913960400191505060405180910390fd5b610e776113d4565b610e83600a5483611fd8565b905080610e8f57610ce0565b600a54610e9c9082611f61565b600a55600d54610ec490309073ffffffffffffffffffffffffffffffffffffffff1683611bea565b6040805182815290517f45102e9ef2c4f14fd9f3e8510c4bb2ad67fe498584602f26647da23039f125319181900360200190a1919050565b610f04611a9f565b73ffffffffffffffffffffffffffffffffffffffff16610f226110ac565b73ffffffffffffffffffffffffffffffffffffffff1614610fa457604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff8116611010576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806122026026913960400191505060405180910390fd5b600e546040805173ffffffffffffffffffffffffffffffffffffffff9283168152918316602083015280517f5634a90413b79beba6c5f37aa8f19d1aee84a5320ff20ac7bd1ac63280867d5c9281900390910190a1600e80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b60005473ffffffffffffffffffffffffffffffffffffffff1690565b600b5481565b60058054604080516020601f60027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156107b95780601f1061078e576101008083540402835291602001916107b9565b60085481565b60006107d7611160611a9f565b846109cb856040518060600160405280602581526020016123f9602591396002600061118a611a9f565b73ffffffffffffffffffffffffffffffffffffffff908116825260208083019390935260409182016000908120918d16815292529020549190611dbc565b60006107d76111d5611a9f565b8484611bea565b6111e4611a9f565b73ffffffffffffffffffffffffffffffffffffffff166112026110ac565b73ffffffffffffffffffffffffffffffffffffffff161461128457604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b61128c6113d4565b60006112988383611a24565b905060648111156112f4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f815260200180612310602f913960400191505060405180910390fd5b600b839055600c8290557fa4a1bde80c0d4ba37d1bd0feec135fb515a9def4e8baee90221348069946b86c8383611329610a9a565b60408051938452602084019290925282820152519081900360600190a1505050565b600e5473ffffffffffffffffffffffffffffffffffffffff1681565b6000610a74600c54600b54611a2490919063ffffffff16565b600d5473ffffffffffffffffffffffffffffffffffffffff1681565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260026020908152604080832093909416825291909152205490565b60006113de610933565b905060006113ea611fee565b600954600754919250908183111580611401575081155b1561140f5750505050611517565b838111158061141e5750600854155b1561142e57505060095550611517565b600854600090611448906114428686611f61565b90611e6d565b90506114548582611a24565b821015611468576114658286611f61565b90505b60006114816064610a6e61147a611367565b8590611e6d565b9050600061148f8383611f61565b6009879055600a549091506114a49083611a24565b600a556114b13083611ff2565b600e546114d49073ffffffffffffffffffffffffffffffffffffffff1682611ff2565b604080518381526020810183905281517f26c155e7637ca49a34c19c7f8cb8533322897de0808134df1a98f71557111684929181900390910190a1505050505050505b565b60075481565b611527611a9f565b73ffffffffffffffffffffffffffffffffffffffff166115456110ac565b73ffffffffffffffffffffffffffffffffffffffff16146115c757604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6115cf610933565b811015611627576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603f815260200180612228603f913960400191505060405180910390fd5b692a5a058fc295ed00000081111561168a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260228152602001806121ba6022913960400191505060405180910390fd5b600754604080519182526020820183905280517f6a84334bf6663b783f2bbfcaf459b2cbc73570cf346a46d9e6a0f290fcf3ebfc9281900390910190a1600755565b6116d4611a9f565b73ffffffffffffffffffffffffffffffffffffffff166116f26110ac565b73ffffffffffffffffffffffffffffffffffffffff161461177457604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff81166117e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806121726026913960400191505060405180910390fd5b6000805460405173ffffffffffffffffffffffffffffffffffffffff808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b611875611a9f565b73ffffffffffffffffffffffffffffffffffffffff166118936110ac565b73ffffffffffffffffffffffffffffffffffffffff161461191557604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6009541561196e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603b8152602001806123be603b913960400191505060405180910390fd5b80611977611fee565b106119e357604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f696e697469616c697a65456d697373696f6e53746172743a20696e76616c6964604482015290519081900360640190fd5b60098190556040805182815290517f10e116be9bb4f621259f592ccd7e00d783e796535f2a5f3bc91a79da0fc3456d9181900360200190a150565b61dead81565b600082820183811015611a9857604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b3390565b73ffffffffffffffffffffffffffffffffffffffff8316611b0f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602481526020018061233f6024913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff8216611b7b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260228152602001806121986022913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff808416600081815260026020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b73ffffffffffffffffffffffffffffffffffffffff8316611c56576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260258152602001806122eb6025913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff8216611cc2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602381526020018061212b6023913960400191505060405180910390fd5b611ccd838383612125565b611d17816040518060600160405280602681526020016121dc6026913973ffffffffffffffffffffffffffffffffffffffff86166000908152600160205260409020549190611dbc565b73ffffffffffffffffffffffffffffffffffffffff8085166000908152600160205260408082209390935590841681522054611d539082611a24565b73ffffffffffffffffffffffffffffffffffffffff80841660008181526001602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b60008184841115611e65576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611e2a578181015183820152602001611e12565b50505050905090810190601f168015611e575780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600082611e7c575060006107db565b82820282848281611e8957fe5b0414611a98576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806122a26021913960400191505060405180910390fd5b6000808211611f5057604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b818381611f5957fe5b049392505050565b600082821115611fd257604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b6000818310611fe75781611a98565b5090919050565b4290565b73ffffffffffffffffffffffffffffffffffffffff821661207457604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b61208060008383612125565b60035461208d9082611a24565b60035573ffffffffffffffffffffffffffffffffffffffff82166000908152600160205260409020546120c09082611a24565b73ffffffffffffffffffffffffffffffffffffffff831660008181526001602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b50505056fe45524332303a207472616e7366657220746f20746865207a65726f2061646472657373477261696c546f6b656e3a2063616c6c6572206973206e6f7420746865206d61737465724f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f20616464726573737570646174654d6178537570706c793a20696e76616c6964206d6178537570706c7945524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e63657570646174655472656173757279416464726573733a20696e76616c696420616464726573737570646174654d6178537570706c793a2063616e2774206265206c6f776572207468616e2063757272656e742063697263756c6174696e6720737570706c79696e697469616c697a654d6173746572416464726573733a206d617374657220696e697469616c697a656420746f207a65726f2061646472657373536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a207472616e736665722066726f6d20746865207a65726f2061646472657373757064617465416c6c6f636174696f6e733a20746f74616c20616c6c6f636174696f6e20697320746f6f206869676845524332303a20617070726f76652066726f6d20746865207a65726f2061646472657373696e697469616c697a654d6173746572416464726573733a206d617374657220616c726561647920696e697469616c697a6564757064617465456d697373696f6e526174653a2063616e277420657863656564206d6178696d756d696e697469616c697a65456d697373696f6e53746172743a20656d697373696f6e20737461727420616c726561647920696e697469616c697a656445524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa26469706673582212200734b411152e314442ac2ea4554de6f7e2eb1a67fc9f385f95347f21dad2608764736f6c6343000706003300000000000000000000000000000000000000000000152d02c7e14af6800000000000000000000000000000000000000000000000000f5a3b9db6898c5000000000000000000000000000000000000000000000000000000000ab840f094ae000000000000000000000000003ff2d78afb69e0859ec6beb4cf107d3741e97ab

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

00000000000000000000000000000000000000000000152d02c7e14af6800000000000000000000000000000000000000000000000000f5a3b9db6898c5000000000000000000000000000000000000000000000000000000000ab840f094ae000000000000000000000000003ff2d78afb69e0859ec6beb4cf107d3741e97ab

-----Decoded View---------------
Arg [0] : maxSupply_ (uint256): 100000000000000000000000
Arg [1] : initialSupply (uint256): 72500000000000000000000
Arg [2] : initialEmissionRate (uint256): 188583676300000
Arg [3] : treasuryAddress_ (address): 0x03ff2d78afb69e0859ec6beb4cf107d3741e97ab

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000152d02c7e14af6800000
Arg [1] : 000000000000000000000000000000000000000000000f5a3b9db6898c500000
Arg [2] : 0000000000000000000000000000000000000000000000000000ab840f094ae0
Arg [3] : 00000000000000000000000003ff2d78afb69e0859ec6beb4cf107d3741e97ab


Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.