Contract 0xe8670901e86818745b28c8b30b17986958fce8cc 1

 
 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0xfc9cc570251cef2695528946a5ed6ae862592313e700eb82c70e6d6cc047ad7dStake147784422022-01-29 4:03:0311 mins ago0x536dc1dce7f5a34de6252fc6e528d942821af855 IN  Citadel.one: XCT Token0 BNB0.001212012
0xfb6a46277586db2e76dcc7a420203d496254d5643ab928f61268fc607f7b957cStake147782062022-01-29 3:51:1523 mins ago0x1809408cdd958c230687bccf7a42b709fc563c0b IN  Citadel.one: XCT Token0 BNB0.00118674
0xd8a2b46a603c30493c6ee828c5da10abd930a8b52f2cabb2930460ef62df34a1Restake147782052022-01-29 3:51:1223 mins ago0x1809408cdd958c230687bccf7a42b709fc563c0b IN  Citadel.one: XCT Token0 BNB0.001626564
0xa36b6f63ea4424c0c87e088dc845c1408e6fade6124a905a1641ed5e7e0b07b2Transfer147756412022-01-29 1:42:592 hrs 31 mins ago0xd41fd4bca93de10b95cbc6d473150496ab3f0e5d IN  Citadel.one: XCT Token0 BNB0.00022407
0xc39761f018f50f72c375b5cb3656fdc771b742e91fa57beaaac57e6a6e3d296cUnstake147756192022-01-29 1:41:532 hrs 32 mins ago0xd41fd4bca93de10b95cbc6d473150496ab3f0e5d IN  Citadel.one: XCT Token0 BNB0.00130776
0xa2b0e734fce7e303e6dbb17118dddad61dcc7e0056682d214592216c18485acfStake147755822022-01-29 1:40:022 hrs 34 mins ago0xd41fd4bca93de10b95cbc6d473150496ab3f0e5d IN  Citadel.one: XCT Token0 BNB0.001201284
0x64e6e00991d53301dd30cdf1f657d29a13d5e9e3ef2d43b36f448004e79576b9Restake147755822022-01-29 1:40:022 hrs 34 mins ago0xd41fd4bca93de10b95cbc6d473150496ab3f0e5d IN  Citadel.one: XCT Token0 BNB0.001556424
0x8b31639682a2c4f1bf33463e648c3327ae14aa480e2d73f69fc18d9ffcd8297aTransfer147751902022-01-29 1:20:262 hrs 54 mins ago0x217044e96b90e81c6971a625e130409fdd46a648 IN  Citadel.one: XCT Token0 BNB0.000133998
0x035053cab7827e7dc728675c1f4bbe208bad8fdeb20b06a4b2b28cfc61382d15Stake147750432022-01-29 1:13:053 hrs 1 min ago0xf0ad06daeb1e2c7268e3f01de2c968c519d03f25 IN  Citadel.one: XCT Token0 BNB0.001302084
0x2281cf7faed1a97cb660c0211f96c60b9a746d3fe47e6ac1599af576b40ca0fcRestake147750412022-01-29 1:12:593 hrs 1 min ago0xf0ad06daeb1e2c7268e3f01de2c968c519d03f25 IN  Citadel.one: XCT Token0 BNB0.001556424
0x21a81fd907d9a7fe6e2dee4f09a9e91e93ca99a234e096adf9f5d19f838af369Stake147749982022-01-29 1:10:503 hrs 3 mins ago0xdddaa5901a25f1cde63faf3513d24198ebf2995f IN  Citadel.one: XCT Token0 BNB0.001111212
0xd0132d6b4bd73ee38fdbc1dd9c5abb0c0ef728cdd92c1b7fc836fd70a7a76462Restake147749982022-01-29 1:10:503 hrs 3 mins ago0xdddaa5901a25f1cde63faf3513d24198ebf2995f IN  Citadel.one: XCT Token0 BNB0.001556424
0x976353e722b02317e66f34803f354649311440e06ecae90abfe12710e55645f7Stake147749932022-01-29 1:10:353 hrs 4 mins ago0x71535aae1b6c0c51db317b54d5eee72d1ab843c1 IN  Citadel.one: XCT Token0 BNB0.001504482
0x5e41cc1d6b487038e6e72adfe72e73aac63f17328f6f4a45786b382dedcb83f1Restake147749722022-01-29 1:09:323 hrs 5 mins ago0x0002b7c8092cd24a9124025fa4dff5c3966cb281 IN  Citadel.one: XCT Token0 BNB0.001556424
0x38cc6e7de106a6fcb5e28664ce834449a485463eb5800553d052cc8ea53548aeStake147749522022-01-29 1:08:323 hrs 6 mins ago0x71535aae1b6c0c51db317b54d5eee72d1ab843c1 IN  Citadel.one: XCT Token0 BNB0.001493796
0x7ab2694a9434b954729d62398b4da1f60d396c1b83ec4c112aabc53ab02462cfTransfer147743892022-01-29 0:40:233 hrs 34 mins ago0x7291194bdf83277a5d9f3cd4fcb2cd1d0cfd5587 IN  Citadel.one: XCT Token0 BNB0.000261665
0x39eea206b87009ad0147166cc99cc42f9d36dc2e8bbf778e69e3f3016fbede7bTransfer147743702022-01-29 0:39:263 hrs 35 mins ago0x7291194bdf83277a5d9f3cd4fcb2cd1d0cfd5587 IN  Citadel.one: XCT Token0 BNB0.000261665
0xc2832482eeb865bd258b896c1a166a10d40e2486aa35dce83746a4800529af70Stake147738292022-01-29 0:12:114 hrs 2 mins ago0x32d88320a885ef7f68d4f5a8f9ccd7318e57f69a IN  Citadel.one: XCT Token0 BNB0.001111068
0x66b17420b193703eed43fdfa17688ce1177c190d54ad6d3d38e5810a74c146d5Restake147738292022-01-29 0:12:114 hrs 2 mins ago0x32d88320a885ef7f68d4f5a8f9ccd7318e57f69a IN  Citadel.one: XCT Token0 BNB0.001556424
0xf26e5f2c0c9b9c6c01cfc16f8f9a64369104085eecdac68f96dfa17038fe4622Stake147738012022-01-29 0:10:474 hrs 4 mins ago0x32d88320a885ef7f68d4f5a8f9ccd7318e57f69a IN  Citadel.one: XCT Token0 BNB0.001111212
0xdf1ef23baca6aadda3bdcc3302876624fb9da91d94f721a1fa0e0c1852d4c3afRestake147738012022-01-29 0:10:474 hrs 4 mins ago0x32d88320a885ef7f68d4f5a8f9ccd7318e57f69a IN  Citadel.one: XCT Token0 BNB0.001556424
0xfb24360b9f755d42bc9b3cbae737e33cbb5b7758a5dba2ebec6d2310fcb40323Stake147732982022-01-28 23:45:384 hrs 29 mins ago0x27e34a1d5595d477f2e30b57c199f803f2062a3d IN  Citadel.one: XCT Token0 BNB0.001111212
0xf78fe94a21fea04c94d4c401d9919f76004d139109124ffa22f4e40e86b6d56fRestake147732982022-01-28 23:45:384 hrs 29 mins ago0x27e34a1d5595d477f2e30b57c199f803f2062a3d IN  Citadel.one: XCT Token0 BNB0.001556424
0xc8f5dc65a3acb024f9269b2e659fc19aaa41d5d3d938784841fc66d469b83ec7Restake147725982022-01-28 23:10:385 hrs 4 mins ago0x7d0abfa891c524f10487207078ab43157bcca630 IN  Citadel.one: XCT Token0 BNB0.001556424
0xc16f0dc3a40d1883b7539cc52959841cf0196e35da4fa5b6ee9385291a4a844fTransfer147725112022-01-28 23:06:175 hrs 8 mins ago0x4982085c9e2f89f2ecb8131eca71afad896e89cb IN  Citadel.one: XCT Token0 BNB0.00104666
[ Download CSV Export 

OVERVIEW

Citadel.one is the platform, focusing on providing a range of high-quality Decentralized Finance products. The team is developing 4 main features: Validator service, Citadel.one mobile and web platform, extensions, and Citadel.one DAO with $XCT token that governs them all.

Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Citadel

Compiler Version
v0.6.2+commit.bacdbe57

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity Standard Json-Input format)

File 1 of 13 : Citadel.sol
// SPDX-License-Identifier: GPL-3.0
pragma solidity 0.6.2;
pragma experimental ABIEncoderV2;


import "./Token/CitadelTokenLocker.sol";


contract Citadel is CitadelTokenLocker {

    constructor ()
    public {
        // mint inflation
        uint inflation = uint(500000000).mul(1e6);
        _mint(address(1), inflation);

        _initInflation(inflation, inflation, 800, 40);

        _initCitadelTokenLocker(address(2));

        _mint(address(this), uint(500000000).mul(1e6));
    }

    function delegateTokens (address to, uint amount) external onlyOwner {
        _transfer(address(this), to, amount);
    }

}

File 2 of 13 : ICitadelDao.sol
// SPDX-License-Identifier: GPL-3.0
pragma solidity 0.6.2;
pragma experimental ABIEncoderV2;


interface ICitadelDao {

    function updatedStake(address holder) external;

}

File 3 of 13 : ICitadelVesting.sol
// SPDX-License-Identifier: GPL-3.0
pragma solidity 0.6.2;


interface ICitadelVesting {

    function updateInflationPct(uint value) external;
    function updateSnapshot(address account) external;
    function claimFor(address account) external returns (uint);

    function claimable(address account) external view returns (uint);

}

File 4 of 13 : CitadelInflation.sol
// SPDX-License-Identifier: GPL-3.0
pragma solidity 0.6.2;
pragma experimental ABIEncoderV2;

import "./CitadelToken.sol";

contract CitadelInflation is CitadelToken {

    struct InflationValues {
        uint inflationPct;
        uint stakingPct;
        uint currentSupply;
        uint yearlySupply;
        uint date;
    }

    uint internal startInflationDate;

    bool private _isInitialized;
    uint private _maxSupply;
    uint private _unlockedSupply;
    uint private _savedInflationYear;
    uint private _yearUnlockedBudget;

    InflationValues[] private _inflationHistory;

    event SetInflationStart(uint date);
    event InflationUpdated(uint index);
    event ChangeInflation(uint indexed issueId, uint pct);
    event ChangeVesting(uint indexed issueId, uint pct);

    modifier activeInflation(){
        require(startInflationDate > 0 && startInflationDate <= _timestamp(), "CitadelInflation: coming soon");
        _;
    }

    function getInflationStartDate() external view
    returns (uint) {
        return startInflationDate;
    }

    function getSavedInflationYear() external view
    returns (uint) {
        return _savedInflationYear;
    }

    function getMaxSupply() external view
    returns (uint) {
        return _maxSupply;
    }

    function inflationPoint(uint index) external view
    returns (InflationValues memory) {
        require(index < _inflationHistory.length, "CitadelInflation: unexpected index");
        return _inflationHistory[index];
    }

    function countInflationPoints() external view
    returns (uint) {
        return _inflationHistory.length;
    }

    function startInflation() external onlyOwner {
        require (startInflationDate == 0, "Inflation is already started");
        startInflationDate = _timestamp();
        _savedInflationYear = startInflationDate;
        _inflationHistory[0].date = _savedInflationYear;
        emit SetInflationStart(startInflationDate);
    }

    function startInflationTo(uint date) external onlyOwner {
        require (startInflationDate == 0 || startInflationDate > _timestamp(), "Inflation is already started");
        require (date > _timestamp(), "Starting date must be in the future");
        startInflationDate = date;
        _savedInflationYear = startInflationDate;
        _inflationHistory[0].date = _savedInflationYear;
        emit SetInflationStart(startInflationDate);
    }

    function withdraw(address to, uint amount) external onlyVestingOrDaoContracts {
        _makeInflationSnapshot();
        _transfer(address(1), to, amount);
    }

    function updateSnapshot() external onlyVestingOrDaoContracts {
        _makeInflationSnapshot();
    }

    function updateInflation(uint issueId, uint pct) external onlyDaoContract {
        require(pct >= 200 && pct <= 3000, "Percentage must be between 2% and 30%");
        
        InflationValues memory lastPoint = _inflationHistory[_inflationHistory.length - 1];
        uint spentTime = _timestamp() - lastPoint.date;
        require(spentTime >= 30 days, "You have to wait 30 days after last changing");

        _makeInflationSnapshot();
        _updateInflation(pct);
        emit ChangeInflation(issueId, pct);
    }

    function updateVesting(uint issueId, uint pct) external onlyDaoContract {
        require(pct >= 10 && pct <= 90, "Percentage must be between 10% and 90%");
        
        InflationValues memory lastPoint = _inflationHistory[_inflationHistory.length - 1];
        uint spentTime = _timestamp() - lastPoint.date;
        require(spentTime >= 30 days, "You have to wait 30 days after last changing");

        _makeInflationSnapshot();
        _updateVesting(pct);
        emit ChangeVesting(issueId, pct);
    }

    function _updateInflation(uint pct) internal {
        require(_maxSupply != _unlockedSupply);

        InflationValues memory lastPoint = _inflationHistory[_inflationHistory.length - 1];
        uint spentTime = _timestamp() - lastPoint.date;

        _unlockedSupply += _yearUnlockedBudget * lastPoint.inflationPct * spentTime / 365 days / 10000;

        require(_unlockedSupply < _maxSupply, "Max supply is reached");

        require(pct <= _restInflPct(), "Too high percentage");

        _inflationHistory.push(InflationValues(pct, lastPoint.stakingPct, _unlockedSupply, _yearUnlockedBudget, _timestamp()));
        emit InflationUpdated(_inflationHistory.length - 1);
    }

    function _updateVesting(uint pct) internal {
        require(_maxSupply != _unlockedSupply);

        InflationValues memory lastPoint = _inflationHistory[_inflationHistory.length - 1];
        uint spentTime = _timestamp() - lastPoint.date;

        _unlockedSupply += _yearUnlockedBudget * lastPoint.inflationPct * spentTime / 365 days / 10000;

        require(_unlockedSupply < _maxSupply, "Max supply is reached");

        _inflationHistory.push(InflationValues(lastPoint.inflationPct, pct, _unlockedSupply, _yearUnlockedBudget, _timestamp()));
        emit InflationUpdated(_inflationHistory.length - 1);
    }

    function _makeInflationSnapshot() internal {
        if (_maxSupply <= _unlockedSupply) return;

        uint spentTime = _timestamp() - _savedInflationYear;
        if (spentTime < 365 days) return;

        InflationValues memory lastPoint = _inflationHistory[_inflationHistory.length - 1];

        uint infl = lastPoint.inflationPct;
        for (uint y = 0; y < spentTime / 365 days; y++) {
            _savedInflationYear += 365 days;
            uint updateUnlock = _yearUnlockedBudget * infl * (_savedInflationYear - lastPoint.date) / 365 days / 10000;
            lastPoint.date = _savedInflationYear;
            if (updateUnlock + _unlockedSupply >= _maxSupply || infl < 200) {
                _unlockedSupply = _maxSupply;
                _inflationHistory.push(InflationValues(_restInflPct(), lastPoint.stakingPct, _unlockedSupply, _unlockedSupply, _savedInflationYear));
                emit InflationUpdated(_inflationHistory.length - 1);
                break;
            } else {
                _unlockedSupply += updateUnlock;
                if (infl > 200) {
                    infl -= 50; // -0.5% each year
                    if (infl < 200) infl = 200; // 2% is minimum
                } else if (infl == 200) {
                    uint rest = _restInflPct();
                    if (rest < 200) infl = rest;
                }
                _inflationHistory.push(InflationValues(infl, lastPoint.stakingPct, _unlockedSupply, _unlockedSupply, _savedInflationYear));
                emit InflationUpdated(_inflationHistory.length - 1);
            }

        }
        _yearUnlockedBudget = _unlockedSupply;
    }

    function _initInflation(
        uint otherSum,
        uint totalAmount,
        uint inflationPct,
        uint stakingPct
    ) internal {

        require(!_isInitialized);

        _isInitialized = true;

        _maxSupply = otherSum + totalAmount;
        _unlockedSupply = otherSum;
        _yearUnlockedBudget = otherSum;

        _inflationHistory.push(InflationValues(inflationPct, stakingPct, _unlockedSupply, _yearUnlockedBudget, _timestamp()));
        emit InflationUpdated(_inflationHistory.length - 1);

    }

    function _restInflPct() private view returns (uint) {
        return (_maxSupply - _unlockedSupply) * 10000 / _unlockedSupply;
    }

}

File 5 of 13 : CitadelToken.sol
// SPDX-License-Identifier: GPL-3.0
pragma solidity 0.6.2;
pragma experimental ABIEncoderV2;

import "../../node_modules/openzeppelin-solidity/contracts/token/ERC20/ERC20.sol";
import "../../node_modules/openzeppelin-solidity/contracts/access/Ownable.sol";
import "../../node_modules/openzeppelin-solidity/contracts/utils/Pausable.sol";
import "../ICitadelVesting.sol";
import "../ICitadelDao.sol";


contract CitadelToken is ERC20("Citadel.one", "XCT"), Ownable, Pausable {

    uint public deployDate;
    ICitadelVesting internal _vesting;
    ICitadelDao internal _dao;
    address constant internal addressForDelegations = address(10);

    event NewDaoTransport(address addr);
    event NewVestingTransport(address addr);

    modifier onlyVestingContract() {
        require(msg.sender == address(_vesting));
        _;
    }

    modifier onlyDaoContract() {
        require(msg.sender == address(_dao));
        _;
    }

    modifier onlyVestingOrDaoContracts() {
        require(msg.sender == address(_vesting) || msg.sender == address(_dao));
        _;
    }

    constructor () public {

        deployDate = block.timestamp;

        _setupDecimals(6);

    }

    function deployed() external view returns (uint) {
        return deployDate;
    }

    function burn(uint amount) external {
        require(uint(msg.sender) > 1000, "CitadelToken: fake sender");
        require(balanceOf(msg.sender) >= amount, "CitadelToken: insufficient balance");
        _burn(msg.sender, amount);
    }

    function initVestingTransport(address vestAddress) external onlyOwner {
        _vesting = ICitadelVesting(vestAddress);
        emit NewVestingTransport(vestAddress);
    }

    function getVestingAddress() external view returns (address) {
        return address(_vesting);
    }

    function initDaoTransport(address daoAddress) external onlyOwner {
        _dao = ICitadelDao(daoAddress);
        emit NewDaoTransport(daoAddress);
    }

    function getDaoAddress() external view returns (address) {
        return address(_dao);
    }

    function delegateToDAO(address from, uint amount) external onlyDaoContract {
        _transfer(from, addressForDelegations, amount);
    }

    function redeemFromDAO(address to, uint amount) external onlyDaoContract {
        _transfer(addressForDelegations, to, amount);
    }

    function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual override {
        super._beforeTokenTransfer(from, to, amount);

        require(uint(msg.sender) > 1000, "CitadelToken: fake sender");
        require(!paused(), "ERC20Pausable: token transfer while paused");
    }

    function _timestamp() internal virtual view returns (uint) {
        return block.timestamp;
    }

}

File 6 of 13 : CitadelTokenLocker.sol
// SPDX-License-Identifier: GPL-3.0
pragma solidity 0.6.2;
pragma experimental ABIEncoderV2;

import "./CitadelInflation.sol";

contract CitadelTokenLocker is CitadelInflation {

    struct HistoryItem {
        uint value;
        uint date;
    }

    mapping (address => uint) public lockedCoins;

    bool private _isInitialized;
    address private _lockerAddress;
    HistoryItem[] private _totalLockedSupplyHistory;
    mapping (address => HistoryItem[]) private _lockedCoinsHistory;

    function lockedBalanceOf(address account) external view returns (uint) {
        return lockedCoins[account];
    }

    function lockedSupply() external view returns (uint) {
        return _lockedTotalSupply();
    }

    function totalSupplyHistoryCount() external view
    returns (uint) {
        return _totalLockedSupplyHistory.length;
    }

    function totalSupplyHistory(uint index) external view
    returns (
        uint value,
        uint date
    ) {
        require (index < _totalLockedSupplyHistory.length, "CitadelTokenLocker: unexpected index");
        value = _totalLockedSupplyHistory[index].value;
        date = _totalLockedSupplyHistory[index].date;
    }

    function lockHistoryCount(address addr) external view
    returns (uint) {
        return _lockedCoinsHistory[addr].length;
    }

    function lockHistory(address addr, uint index) external view
    returns (
        uint value,
        uint date
    ) {
        require (index < _lockedCoinsHistory[addr].length, "CitadelTokenLocker: unexpected index");
        value = _lockedCoinsHistory[addr][index].value;
        date = _lockedCoinsHistory[addr][index].date;
    }

    function stake(uint amount) external activeInflation {
        
        _makeInflationSnapshot();

        _transfer(msg.sender, _lockerAddress, amount);
        lockedCoins[msg.sender] = lockedCoins[msg.sender].add(amount);
        // put mark in history
        _totalLockedSupplyHistory.push(HistoryItem(_lockedTotalSupply(), _timestamp()));
        _lockedCoinsHistory[msg.sender].push(HistoryItem(lockedCoins[msg.sender], _timestamp()));
        // ...
        stakeUpdated();

    }

    function unstake(uint amount) external activeInflation {

        require(lockedCoins[msg.sender] >= amount);

        _makeInflationSnapshot();

        _transfer(_lockerAddress, msg.sender, amount);
        lockedCoins[msg.sender] = lockedCoins[msg.sender].sub(amount);
        // put mark in history
        _totalLockedSupplyHistory.push(HistoryItem(_lockedTotalSupply(), _timestamp()));
        _lockedCoinsHistory[msg.sender].push(HistoryItem(lockedCoins[msg.sender], _timestamp()));
        // ...
        stakeUpdated();

    }

    function restake() external activeInflation {

        require(address(_vesting) != address(0), "CitadelTokenLocker: vesting contract undefined");
        
        uint amount = _vesting.claimFor(msg.sender);

        require(amount > 0);

        _makeInflationSnapshot();
        _transfer(address(1), _lockerAddress, amount);
        
        lockedCoins[msg.sender] = lockedCoins[msg.sender].add(amount);
        // put mark in history
        _totalLockedSupplyHistory.push(HistoryItem(_lockedTotalSupply(), _timestamp()));
        _lockedCoinsHistory[msg.sender].push(HistoryItem(lockedCoins[msg.sender], _timestamp()));
        // ...
        stakeUpdated();

    }

    function stakeUpdated() internal virtual {
        if (address(_dao) != address(0)) {
            _dao.updatedStake(msg.sender);
        }
        if (address(_vesting) != address(0)) {
            _vesting.updateSnapshot(msg.sender);
        }
    }

    function _initCitadelTokenLocker(address lockerAddress_) internal {

        require(!_isInitialized);

        _isInitialized = true;
        _lockerAddress = lockerAddress_;

    }

    function _lockedTotalSupply() private view returns (uint) {
        return balanceOf(_lockerAddress);
    }

}

File 7 of 13 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.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 8 of 13 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

import "../GSN/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.
 */
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 () internal {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view 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;
    }
}

File 9 of 13 : SafeMath.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.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, 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) {
        return sub(a, b, "SafeMath: subtraction overflow");
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * 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);
        uint256 c = a - b;

        return c;
    }

    /**
     * @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) {
        // 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 0;
        }

        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");

        return c;
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts 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) {
        return div(a, b, "SafeMath: division by zero");
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts with custom message 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, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        uint256 c = a / b;
        // assert(a == b * c + a % b); // There is no case in which this doesn't hold

        return c;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts 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) {
        return mod(a, b, "SafeMath: modulo by zero");
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts with custom message 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, string memory errorMessage) internal pure returns (uint256) {
        require(b != 0, errorMessage);
        return a % b;
    }
}

File 10 of 13 : ERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

import "../../GSN/Context.sol";
import "./IERC20.sol";
import "../../math/SafeMath.sol";
import "../../utils/Address.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;
    using Address for address;

    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) public {
        _name = name;
        _symbol = symbol;
        _decimals = 18;
    }

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

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view 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 returns (uint8) {
        return _decimals;
    }

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

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view 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 {
        _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 11 of 13 : IERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.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 12 of 13 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.2;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies in extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        // solhint-disable-next-line no-inline-assembly
        assembly { size := extcodesize(account) }
        return size > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (bool success, ) = recipient.call{ value: amount }("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain`call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
      return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
        return _functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        return _functionCallWithValue(target, data, value, errorMessage);
    }

    function _functionCallWithValue(address target, bytes memory data, uint256 weiValue, string memory errorMessage) private returns (bytes memory) {
        require(isContract(target), "Address: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: weiValue }(data);
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 13 of 13 : Pausable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

import "../GSN/Context.sol";

/**
 * @dev Contract module which allows children to implement an emergency stop
 * mechanism that can be triggered by an authorized account.
 *
 * This module is used through inheritance. It will make available the
 * modifiers `whenNotPaused` and `whenPaused`, which can be applied to
 * the functions of your contract. Note that they will not be pausable by
 * simply including this module, only once the modifiers are put in place.
 */
contract Pausable is Context {
    /**
     * @dev Emitted when the pause is triggered by `account`.
     */
    event Paused(address account);

    /**
     * @dev Emitted when the pause is lifted by `account`.
     */
    event Unpaused(address account);

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state.
     */
    constructor () internal {
        _paused = false;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view returns (bool) {
        return _paused;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    modifier whenNotPaused() {
        require(!_paused, "Pausable: paused");
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    modifier whenPaused() {
        require(_paused, "Pausable: not paused");
        _;
    }

    /**
     * @dev Triggers stopped state.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    function _pause() internal virtual whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Returns to normal state.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    function _unpause() internal virtual whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"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":true,"internalType":"uint256","name":"issueId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"pct","type":"uint256"}],"name":"ChangeInflation","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"issueId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"pct","type":"uint256"}],"name":"ChangeVesting","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"index","type":"uint256"}],"name":"InflationUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"addr","type":"address"}],"name":"NewDaoTransport","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"addr","type":"address"}],"name":"NewVestingTransport","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":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"date","type":"uint256"}],"name":"SetInflationStart","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":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"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":[],"name":"countInflationPoints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":[{"internalType":"address","name":"from","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"delegateToDAO","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"delegateTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"deployDate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"deployed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getDaoAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getInflationStartDate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMaxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getSavedInflationYear","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getVestingAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"index","type":"uint256"}],"name":"inflationPoint","outputs":[{"components":[{"internalType":"uint256","name":"inflationPct","type":"uint256"},{"internalType":"uint256","name":"stakingPct","type":"uint256"},{"internalType":"uint256","name":"currentSupply","type":"uint256"},{"internalType":"uint256","name":"yearlySupply","type":"uint256"},{"internalType":"uint256","name":"date","type":"uint256"}],"internalType":"struct CitadelInflation.InflationValues","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"daoAddress","type":"address"}],"name":"initDaoTransport","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"vestAddress","type":"address"}],"name":"initVestingTransport","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"lockHistory","outputs":[{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"date","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"lockHistoryCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"lockedBalanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"lockedCoins","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lockedSupply","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":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"redeemFromDAO","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"restake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"stake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startInflation","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"date","type":"uint256"}],"name":"startInflationTo","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":"uint256","name":"index","type":"uint256"}],"name":"totalSupplyHistory","outputs":[{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"date","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupplyHistoryCount","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":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"unstake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"issueId","type":"uint256"},{"internalType":"uint256","name":"pct","type":"uint256"}],"name":"updateInflation","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"updateSnapshot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"issueId","type":"uint256"},{"internalType":"uint256","name":"pct","type":"uint256"}],"name":"updateVesting","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b506040518060400160405280600b81526020016a4369746164656c2e6f6e6560a81b815250604051806040016040528060038152602001621610d560ea1b81525081600390805190602001906200006a92919062000515565b5080516200008090600490602084019062000515565b50506005805460ff19166012179055506000620000a56001600160e01b03620001c816565b60058054610100600160a81b0319166101006001600160a01b03841690810291909117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506005805460ff60a81b1916905542600690815562000122906001600160e01b03620001cd16565b600062000145620f4240631dcd6500620001e360201b6200287c1790919060201c565b90506200015d6001826001600160e01b036200023516565b62000177818061032060286001600160e01b036200032116565b6200018c60026001600160e01b036200042216565b620001c130620001b2620f4240631dcd6500620001e360201b6200287c1790919060201c565b6001600160e01b036200023516565b50620006f0565b335b90565b6005805460ff191660ff92909216919091179055565b600082620001f4575060006200022f565b828202828482816200020257fe5b04146200022c5760405162461bcd60e51b81526004016200022390620005ee565b60405180910390fd5b90505b92915050565b6001600160a01b0382166200025e5760405162461bcd60e51b8152600401620002239062000666565b62000275600083836001600160e01b036200046516565b6200029181600254620004d960201b62001c601790919060201c565b6002556001600160a01b03821660009081526020818152604090912054620002c491839062001c60620004d9821b17901c565b6001600160a01b0383166000818152602081905260408082209390935591519091907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9062000315908590620006e7565b60405180910390a35050565b600a5460ff16156200033257600080fd5b600a805460ff19166001179055838301600b55600c849055600e8490556040805160a0810182528381526020810183905290810185905260608101859052600f90608081016200038a6001600160e01b036200050116565b9052815460018181018455600093845260209384902083516005909302019182559282015192810192909255604080820151600284015560608201516003840155608090910151600490920191909155600f5490517fedc524a2d3f6ca20c1a24894433e36a31d7a2e9c37b78d9ab1c758bf83072d049162000414916000199190910190620006e7565b60405180910390a150505050565b60115460ff16156200043357600080fd5b601180546001600160a01b0390921661010002610100600160a81b031960ff1990931660011792909216919091179055565b6200047d838383620004d460201b620020a81760201c565b6103e83311620004a15760405162461bcd60e51b815260040162000223906200062f565b620004b46001600160e01b036200050516565b15620004d45760405162461bcd60e51b815260040162000223906200069d565b505050565b6000828201838110156200022c5760405162461bcd60e51b81526004016200022390620005b7565b4290565b600554600160a81b900460ff1690565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200055857805160ff191683800117855562000588565b8280016001018555821562000588579182015b82811115620005885782518255916020019190600101906200056b565b50620005969291506200059a565b5090565b620001ca91905b80821115620005965760008155600101620005a1565b6020808252601b908201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604082015260600190565b60208082526021908201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6040820152607760f81b606082015260800190565b60208082526019908201527f4369746164656c546f6b656e3a2066616b652073656e64657200000000000000604082015260600190565b6020808252601f908201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604082015260600190565b6020808252602a908201527f45524332305061757361626c653a20746f6b656e207472616e736665722077686040820152691a5b19481c185d5cd95960b21b606082015260800190565b90815260200190565b6129bb80620007006000396000f3fe608060405234801561001057600080fd5b506004361061028a5760003560e01c806369668fe91161015c578063bf17282a116100ce578063f1474bd811610087578063f1474bd814610526578063f2fde38b14610546578063f3fef3a314610559578063f905c15a1461056c578063f9b7ce0214610574578063ff1764a41461057c5761028a565b8063bf17282a146104bf578063c108a402146104d2578063c2ad5b74146104e5578063c686781d146104f8578063ca5c7b911461050b578063dd62ed3e146105135761028a565b80638da5cb5b116101205780638da5cb5b1461046357806395d89b411461046b578063a457c2d714610473578063a694fc3a14610486578063a9059cbb14610499578063ac3cd7c6146104ac5761028a565b806369668fe91461041a57806370a0823114610422578063715018a6146104355780637fa7faf81461043d57806389bb6081146104505761028a565b806344263fcb116102005780634f91440d116101b95780634f91440d146103d457806355b28b37146103dc57806359355736146103e45780635c975abb146103f75780636641d9a0146103ff57806369240426146104125761028a565b806344263fcb1461037557806344c40464146103885780634ab68e141461039b5780634b45aa12146103a35780634c0f38c2146103ab5780634cf54195146103b35761028a565b806323b872dd1161025257806323b872dd146102ff5780632e17de7814610312578063313ce56714610327578063395093511461033c5780633ba71a151461034f57806342966c68146103625761028a565b806306fdde031461028f578063095ea7b3146102ad57806318160ddd146102cd5780631d0a67e1146102e25780631d68702d146102ea575b600080fd5b610297610584565b6040516102a49190612239565b60405180910390f35b6102c06102bb36600461219f565b61061a565b6040516102a4919061222e565b6102d5610638565b6040516102a49190612842565b6102d561063e565b6102f2610644565b6040516102a4919061221a565b6102c061030d36600461215f565b610653565b6103256103203660046121c9565b6106e0565b005b61032f61083a565b6040516102a49190612859565b6102c061034a36600461219f565b610843565b61032561035d36600461219f565b610897565b6103256103703660046121c9565b6108be565b610325610383366004612110565b610911565b61032561039636600461219f565b6109a1565b6102d56109c4565b6102d56109ca565b6102d56109d0565b6103c66103c136600461219f565b6109d6565b6040516102a492919061284b565b610325610a92565b6102d5610bc9565b6102d56103f2366004612110565b610bcf565b6102c0610bea565b6103c661040d3660046121c9565b610bfa565b610325610c67565b6102d5610c9d565b6102d5610430366004612110565b610ca3565b610325610cbe565b61032561044b366004612110565b610d48565b6102d561045e366004612110565b610dcd565b6102f2610de8565b610297610dfc565b6102c061048136600461219f565b610e5d565b6103256104943660046121c9565b610ecb565b6102c06104a736600461219f565b610f27565b6103256104ba3660046121f9565b610f3b565b6102d56104cd366004612110565b61106b565b6103256104e03660046121f9565b61107d565b6103256104f336600461219f565b6111a0565b6103256105063660046121c9565b6111e5565b6102d56112d8565b6102d561052136600461212b565b6112e7565b6105396105343660046121c9565b611312565b6040516102a49190612808565b610325610554366004612110565b61139a565b61032561056736600461219f565b611461565b6102d56114a1565b6103256114a7565b6102f2611570565b60038054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156106105780601f106105e557610100808354040283529160200191610610565b820191906000526020600020905b8154815290600101906020018083116105f357829003601f168201915b5050505050905090565b600061062e61062761157f565b8484611583565b5060015b92915050565b60025490565b600d5490565b6008546001600160a01b031690565b6000610660848484611637565b6106d68461066c61157f565b6106d185604051806060016040528060288152602001612939602891396001600160a01b038a166000908152600160205260408120906106aa61157f565b6001600160a01b03168152602081019190915260400160002054919063ffffffff61175816565b611583565b5060019392505050565b60006009541180156106fb57506106f5611784565b60095411155b6107205760405162461bcd60e51b81526004016107179061255b565b60405180910390fd5b3360009081526010602052604090205481111561073c57600080fd5b610744611788565b6011546107609061010090046001600160a01b03163383611637565b33600090815260106020526040902054610780908263ffffffff611b1116565b3360009081526010602052604090819020919091558051808201909152601290806107a9611b5a565b81526020016107b6611784565b905281546001818101845560009384526020808520845160029094020192835592830151910155338252601381526040808320815180830183526010845291909320548152908101610806611784565b9052815460018181018455600093845260209384902083516002909302019182559290910151910155610837611b77565b50565b60055460ff1690565b600061062e61085061157f565b846106d1856001600061086161157f565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff611c6016565b6008546001600160a01b031633146108ae57600080fd5b6108ba600a8383611637565b5050565b6103e833116108df5760405162461bcd60e51b8152600401610717906125c7565b806108e933610ca3565b10156109075760405162461bcd60e51b81526004016107179061238f565b6108373382611c85565b61091961157f565b60055461010090046001600160a01b0390811691161461094b5760405162461bcd60e51b815260040161071790612592565b600880546001600160a01b0319166001600160a01b0383161790556040517f9e006baa245780a8a3d4098c11dd27a97c8d0c2e25b998fa057c6ab8eb0791919061099690839061221a565b60405180910390a150565b6008546001600160a01b031633146109b857600080fd5b6108ba82600a83611637565b60125490565b600f5490565b600b5490565b6001600160a01b03821660009081526013602052604081205481908310610a0f5760405162461bcd60e51b8152600401610717906124d2565b6001600160a01b0384166000908152601360205260409020805484908110610a3357fe5b906000526020600020906002020160000154915060136000856001600160a01b03166001600160a01b031681526020019081526020016000208381548110610a7757fe5b90600052602060002090600202016001015490509250929050565b6000600954118015610aad5750610aa7611784565b60095411155b610ac95760405162461bcd60e51b81526004016107179061255b565b6007546001600160a01b0316610af15760405162461bcd60e51b81526004016107179061228c565b60075460405163ddeae03360e01b81526000916001600160a01b03169063ddeae03390610b2290339060040161221a565b602060405180830381600087803b158015610b3c57600080fd5b505af1158015610b50573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250610b7491908101906121e1565b905060008111610b8357600080fd5b610b8b611788565b601154610ba99060019061010090046001600160a01b031683611637565b33600090815260106020526040902054610780908263ffffffff611c6016565b60095490565b6001600160a01b031660009081526010602052604090205490565b600554600160a81b900460ff1690565b60125460009081908310610c205760405162461bcd60e51b8152600401610717906124d2565b60128381548110610c2d57fe5b906000526020600020906002020160000154915060128381548110610c4e57fe5b9060005260206000209060020201600101549050915091565b6007546001600160a01b0316331480610c8a57506008546001600160a01b031633145b610c9357600080fd5b610c9b611788565b565b60065481565b6001600160a01b031660009081526020819052604090205490565b610cc661157f565b60055461010090046001600160a01b03908116911614610cf85760405162461bcd60e51b815260040161071790612592565b60055460405160009161010090046001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a360058054610100600160a81b0319169055565b610d5061157f565b60055461010090046001600160a01b03908116911614610d825760405162461bcd60e51b815260040161071790612592565b600780546001600160a01b0319166001600160a01b0383161790556040517f68e937a920bca55a7c599d782170d8606e7d5fe31c1c9cdc4c1fd7c74ca1de1c9061099690839061221a565b6001600160a01b031660009081526013602052604090205490565b60055461010090046001600160a01b031690565b60048054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156106105780601f106105e557610100808354040283529160200191610610565b600061062e610e6a61157f565b846106d1856040518060600160405280602581526020016129616025913960016000610e9461157f565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff61175816565b6000600954118015610ee65750610ee0611784565b60095411155b610f025760405162461bcd60e51b81526004016107179061255b565b610f0a611788565b601154610ba990339061010090046001600160a01b031683611637565b600061062e610f3461157f565b8484611637565b6008546001600160a01b03163314610f5257600080fd5b600a8110158015610f645750605a8111155b610f805760405162461bcd60e51b81526004016107179061272c565b610f886120ca565b600f80546000198101908110610f9a57fe5b90600052602060002090600502016040518060a001604052908160008201548152602001600182015481526020016002820154815260200160038201548152602001600482015481525050905060008160800151610ff6611784565b03905062278d0081101561101c5760405162461bcd60e51b815260040161071790612772565b611024611788565b61102d83611d73565b837f96a647810411309169e354743b6a4e9d05e3c777f5fae278e65f6168fe7279ba8460405161105d9190612842565b60405180910390a250505050565b60106020526000908152604090205481565b6008546001600160a01b0316331461109457600080fd5b60c881101580156110a75750610bb88111155b6110c35760405162461bcd60e51b815260040161071790612516565b6110cb6120ca565b600f805460001981019081106110dd57fe5b90600052602060002090600502016040518060a001604052908160008201548152602001600182015481526020016002820154815260200160038201548152602001600482015481525050905060008160800151611139611784565b03905062278d0081101561115f5760405162461bcd60e51b815260040161071790612772565b611167611788565b61117083611f1c565b837f8f4db2ceeda2c579bf7d6f7036f9f300565d76719308713e3c85d3484b4ebb308460405161105d9190612842565b6111a861157f565b60055461010090046001600160a01b039081169116146111da5760405162461bcd60e51b815260040161071790612592565b6108ba308383611637565b6111ed61157f565b60055461010090046001600160a01b0390811691161461121f5760405162461bcd60e51b815260040161071790612592565b60095415806112365750611231611784565b600954115b6112525760405162461bcd60e51b815260040161071790612684565b61125a611784565b81116112785760405162461bcd60e51b81526004016107179061231d565b6009819055600d819055600f805482919060009061129257fe5b9060005260206000209060050201600401819055507f9fc22fadaf2a60d0fc0b55f067aab3d342cd367b0ab3ffb49d3a4f8420768a3c6009546040516109969190612842565b60006112e2611b5a565b905090565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b61131a6120ca565b600f54821061133b5760405162461bcd60e51b815260040161071790612490565b600f828154811061134857fe5b90600052602060002090600502016040518060a0016040529081600082015481526020016001820154815260200160028201548152602001600382015481526020016004820154815250509050919050565b6113a261157f565b60055461010090046001600160a01b039081169116146113d45760405162461bcd60e51b815260040161071790612592565b6001600160a01b0381166113fa5760405162461bcd60e51b8152600401610717906123d1565b6005546040516001600160a01b0380841692610100900416907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b6007546001600160a01b031633148061148457506008546001600160a01b031633145b61148d57600080fd5b611495611788565b6108ba60018383611637565b60065490565b6114af61157f565b60055461010090046001600160a01b039081169116146114e15760405162461bcd60e51b815260040161071790612592565b600954156115015760405162461bcd60e51b815260040161071790612684565b611509611784565b6009819055600d819055600f805460009061152057fe5b9060005260206000209060050201600401819055507f9fc22fadaf2a60d0fc0b55f067aab3d342cd367b0ab3ffb49d3a4f8420768a3c6009546040516115669190612842565b60405180910390a1565b6007546001600160a01b031690565b3390565b6001600160a01b0383166115a95760405162461bcd60e51b8152600401610717906126bb565b6001600160a01b0382166115cf5760405162461bcd60e51b815260040161071790612417565b6001600160a01b0380841660008181526001602090815260408083209487168084529490915290819020849055517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259061162a908590612842565b60405180910390a3505050565b6001600160a01b03831661165d5760405162461bcd60e51b81526004016107179061263f565b6001600160a01b0382166116835760405162461bcd60e51b8152600401610717906122da565b61168e838383612057565b6116d181604051806060016040528060268152602001612913602691396001600160a01b038616600090815260208190526040902054919063ffffffff61175816565b6001600160a01b038085166000908152602081905260408082209390935590841681522054611706908263ffffffff611c6016565b6001600160a01b0380841660008181526020819052604090819020939093559151908516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9061162a908590612842565b6000818484111561177c5760405162461bcd60e51b81526004016107179190612239565b505050900390565b4290565b600c54600b541161179857610c9b565b6000600d546117a5611784565b0390506301e133808110156117ba5750610c9b565b6117c26120ca565b600f805460001981019081106117d457fe5b600091825260208083206040805160a0810182526005909402909101805480855260018201549385019390935260028101549184019190915260038101546060840152600401546080830152909250905b6301e133808404811015611b05576301e13380600d6000828254019250508190555060006127106301e133808560800151600d540385600e5402028161186757fe5b048161186f57fe5b049050600d54846080018181525050600b54600c548201101580611893575060c883105b1561196757600b54600c81905550600f6040518060a001604052806118b66120ad565b815260208781015181830152600c546040808401829052606080850192909252600d54608094850152855460018181018855600097885296849020865160059092020190815592850151958301959095558385015160028301558301516003820155910151600490910155600f5490517fedc524a2d3f6ca20c1a24894433e36a31d7a2e9c37b78d9ab1c758bf83072d0491611959916000199190910190612842565b60405180910390a150611b05565b600c80548201905560c88311156119915760328303925060c883101561198c5760c892505b6119b5565b8260c814156119b55760006119a46120ad565b905060c88110156119b3578093505b505b6040805160a081018252848152602086810151908201908152600c5482840181815260608401918252600d5460808501908152600f8054600181018255600082905295517f8d1108e10bcb7c27dddfc02ed9d693a074039d026cf4ea4240b40f7d581ac80260059097029687015593517f8d1108e10bcb7c27dddfc02ed9d693a074039d026cf4ea4240b40f7d581ac80386015590517f8d1108e10bcb7c27dddfc02ed9d693a074039d026cf4ea4240b40f7d581ac80485015590517f8d1108e10bcb7c27dddfc02ed9d693a074039d026cf4ea4240b40f7d581ac805840155517f8d1108e10bcb7c27dddfc02ed9d693a074039d026cf4ea4240b40f7d581ac806909201919091555490517fedc524a2d3f6ca20c1a24894433e36a31d7a2e9c37b78d9ab1c758bf83072d0491611af4916000199190910190612842565b60405180910390a150600101611825565b5050600c54600e555050565b6000611b5383836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611758565b9392505050565b6011546000906112e29061010090046001600160a01b0316610ca3565b6008546001600160a01b031615611beb5760085460405163070c88f360e41b81526001600160a01b03909116906370c88f3090611bb890339060040161221a565b600060405180830381600087803b158015611bd257600080fd5b505af1158015611be6573d6000803e3d6000fd5b505050505b6007546001600160a01b031615610c9b576007546040516303d9eba760e41b81526001600160a01b0390911690633d9eba7090611c2c90339060040161221a565b600060405180830381600087803b158015611c4657600080fd5b505af1158015611c5a573d6000803e3d6000fd5b50505050565b600082820183811015611b535760405162461bcd60e51b815260040161071790612459565b6001600160a01b038216611cab5760405162461bcd60e51b8152600401610717906125fe565b611cb782600083612057565b611cfa816040518060600160405280602281526020016128f1602291396001600160a01b038516600090815260208190526040902054919063ffffffff61175816565b6001600160a01b038316600090815260208190526040902055600254611d26908263ffffffff611b1116565b6002556040516000906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90611d67908590612842565b60405180910390a35050565b600c54600b541415611d8457600080fd5b611d8c6120ca565b600f80546000198101908110611d9e57fe5b90600052602060002090600502016040518060a001604052908160008201548152602001600182015481526020016002820154815260200160038201548152602001600482015481525050905060008160800151611dfa611784565b0390506127106301e13380828460000151600e54020281611e1757fe5b0481611e1f57fe5b04600c60008282540192505081905550600b54600c5410611e525760405162461bcd60e51b815260040161071790612360565b600f6040518060a0016040528084600001518152602001858152602001600c548152602001600e548152602001611e87611784565b9052815460018181018455600093845260209384902083516005909302019182559282015192810192909255604080820151600284015560608201516003840155608090910151600490920191909155600f5490517fedc524a2d3f6ca20c1a24894433e36a31d7a2e9c37b78d9ab1c758bf83072d0491611f0f916000199190910190612842565b60405180910390a1505050565b600c54600b541415611f2d57600080fd5b611f356120ca565b600f80546000198101908110611f4757fe5b90600052602060002090600502016040518060a001604052908160008201548152602001600182015481526020016002820154815260200160038201548152602001600482015481525050905060008160800151611fa3611784565b0390506127106301e13380828460000151600e54020281611fc057fe5b0481611fc857fe5b04600c60008282540192505081905550600b54600c5410611ffb5760405162461bcd60e51b815260040161071790612360565b6120036120ad565b8311156120225760405162461bcd60e51b8152600401610717906126ff565b600f6040518060a0016040528085815260200184602001518152602001600c548152602001600e548152602001611e87611784565b6120628383836120a8565b6103e833116120835760405162461bcd60e51b8152600401610717906125c7565b61208b610bea565b156120a85760405162461bcd60e51b8152600401610717906127be565b505050565b6000600c54600c54600b540361271002816120c457fe5b04905090565b6040518060a0016040528060008152602001600081526020016000815260200160008152602001600081525090565b80356001600160a01b038116811461063257600080fd5b600060208284031215612121578081fd5b611b5383836120f9565b6000806040838503121561213d578081fd5b61214784846120f9565b915061215684602085016120f9565b90509250929050565b600080600060608486031215612173578081fd5b833561217e81612867565b9250602084013561218e81612867565b929592945050506040919091013590565b600080604083850312156121b1578182fd5b6121bb84846120f9565b946020939093013593505050565b6000602082840312156121da578081fd5b5035919050565b6000602082840312156121f2578081fd5b5051919050565b6000806040838503121561220b578182fd5b50508035926020909101359150565b6001600160a01b0391909116815260200190565b901515815260200190565b6000602080835283518082850152825b8181101561226557858101830151858201604001528201612249565b818111156122765783604083870101525b50601f01601f1916929092016040019392505050565b6020808252602e908201527f4369746164656c546f6b656e4c6f636b65723a2076657374696e6720636f6e7460408201526d1c9858dd081d5b9919599a5b995960921b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60208082526023908201527f5374617274696e672064617465206d75737420626520696e207468652066757460408201526275726560e81b606082015260800190565b60208082526015908201527413585e081cdd5c1c1b1e481a5cc81c995858da1959605a1b604082015260600190565b60208082526022908201527f4369746164656c546f6b656e3a20696e73756666696369656e742062616c616e604082015261636560f01b606082015260800190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b60208082526022908201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604082015261737360f01b606082015260800190565b6020808252601b908201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604082015260600190565b60208082526022908201527f4369746164656c496e666c6174696f6e3a20756e657870656374656420696e646040820152610caf60f31b606082015260800190565b60208082526024908201527f4369746164656c546f6b656e4c6f636b65723a20756e657870656374656420696040820152630dcc8caf60e31b606082015260800190565b60208082526025908201527f50657263656e74616765206d757374206265206265747765656e20322520616e604082015264642033302560d81b606082015260800190565b6020808252601d908201527f4369746164656c496e666c6174696f6e3a20636f6d696e6720736f6f6e000000604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526019908201527f4369746164656c546f6b656e3a2066616b652073656e64657200000000000000604082015260600190565b60208082526021908201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736040820152607360f81b606082015260800190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b6020808252601c908201527f496e666c6174696f6e20697320616c7265616479207374617274656400000000604082015260600190565b60208082526024908201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646040820152637265737360e01b606082015260800190565b602080825260139082015272546f6f20686967682070657263656e7461676560681b604082015260600190565b60208082526026908201527f50657263656e74616765206d757374206265206265747765656e2031302520616040820152656e642039302560d01b606082015260800190565b6020808252602c908201527f596f75206861766520746f20776169742033302064617973206166746572206c60408201526b617374206368616e67696e6760a01b606082015260800190565b6020808252602a908201527f45524332305061757361626c653a20746f6b656e207472616e736665722077686040820152691a5b19481c185d5cd95960b21b606082015260800190565b600060a082019050825182526020830151602083015260408301516040830152606083015160608301526080830151608083015292915050565b90815260200190565b918252602082015260400190565b60ff91909116815260200190565b6001600160a01b038116811461083757600080fd5b60008261288b57506000610632565b8282028284828161289857fe5b0414611b535760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b606482015260840161071756fe45524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa26469706673582212205c2567bf31fb5bf7ebadf050e6530a63e702d6509330b48e425741f4695cf10864736f6c63430006020033

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