Contract 0x6911f552842236bd9e8ea8ddbb3fb414e2c5fa9d 5

 

Contract Overview

Synapse Network: SNP Token
Balance:
0.9 MATIC

MATIC Value:
$0.82 (@ $0.91/MATIC)
 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0xbd5633789fdb63b268b9407899df5226515d49f27540cd7a595becd4f4473822Approve365029372022-12-06 16:34:4910 hrs 7 mins ago0x237b008e6472f65fd7a34d93ff265f47a2a0d8fb IN  Synapse Network: SNP Token0 MATIC0.014372661726308.386510896
0xdd0df50c3cf803142765ef5c54c87a00142e24a5c0c60467b641db6e00f3d5d9Approve364334172022-12-04 23:48:232 days 2 hrs ago0x947c4efaf086821ed8f5d3980d466808f3fe4808 IN  Synapse Network: SNP Token0 MATIC0.001763105057 37.830001673
0x2cf073ba2f3c4906494ad341eeac52010965381bcd123469d103886d0abd5f3fApprove364334052022-12-04 23:46:482 days 2 hrs ago0x947c4efaf086821ed8f5d3980d466808f3fe4808 IN  Synapse Network: SNP Token0 MATIC0.009088170061 195.000001319
0xbea15d63b923d0b39495ebc2db416add316b3d433875a42221354837ab727dc8Approve364095792022-12-04 9:39:022 days 17 hrs ago0xb430cdecb2b547ed6803e613e54d322e7472efc3 IN  Synapse Network: SNP Token0 MATIC0.002324765275 49.88124437
0x52a879aea08173bf1a2d8129d143ca74f2e6381e0d7d3267c5c932bc3e1ac096Approve363711732022-12-03 10:35:043 days 16 hrs ago0x993d8b9168be7091f26b39e7c2aa3af0ecb589e1 IN  Synapse Network: SNP Token0 MATIC0.002606576 56
0x8d569a3d70aac5115370c45d577a28c898189e3a13e77a2bb536f0ea89a31143Approve363708802022-12-03 10:25:023 days 16 hrs ago0x993d8b9168be7091f26b39e7c2aa3af0ecb589e1 IN  Synapse Network: SNP Token0 MATIC0.004649946498 99.771413512
0xd8ca5b197caff8bb1a91b2311051c44624dcbfedaf5b7ebbcc12e7764e63109aApprove363201812022-12-02 3:53:344 days 22 hrs ago0x96709e7b82d382d2e28b82d4519922f45b47fd83 IN  Synapse Network: SNP Token0 MATIC0.000976682833.4
0xc5778f5ab8bd36486bb1e398c20e0146ab6d33995ff427824f4c0b195bf4bf4eApprove362338872022-11-30 0:58:007 days 1 hr ago0x96709e7b82d382d2e28b82d4519922f45b47fd83 IN  Synapse Network: SNP Token0 MATIC0.0051406418110.3
0x1822d4d6268bcc97e11809f207ec1de2b3111f3290de8f1f0512e01474b79397Approve361261112022-11-27 9:13:419 days 17 hrs ago0x7813fb425f9409fe9cc0a24c9d2a074a1f3d21aa IN  Synapse Network: SNP Token0 MATIC0.00138954 30.000000018
0x4fa1784e640a0c86452d0d6317cf939a84e9fe7b96f10faeb7a7524a6f17283aApprove361259742022-11-27 9:08:599 days 17 hrs ago0x7813fb425f9409fe9cc0a24c9d2a074a1f3d21aa IN  Synapse Network: SNP Token0 MATIC0.0019015248 40.8
0x7fe82cedfd9a1ca722f1eb9e6685077a7b83bcd46d205a65aa82bcaf0d09dc24Approve360603792022-11-25 19:01:3111 days 7 hrs ago0xad8272f7ac2c70520ce785db26cbdcdd1a450c76 IN  Synapse Network: SNP Token0 MATIC0.00139818 30.000000019
0x8903e538f828a5847ab8f6673b53b1374155ed3365474f13fde4d71421a080e7Approve360514652022-11-25 13:54:4711 days 12 hrs ago0x083e958db271a5ba105c0878a94507fe37f25446 IN  Synapse Network: SNP Token0 MATIC0.004834628069 103.734027153
0x6ca4e02adb8fb082f820d070e32d17ea745c0a662e27bdafa25406bbe5fff353Approve360514612022-11-25 13:54:3911 days 12 hrs ago0x1d87febd7586c41fc49365cbbd68ff0f5dea8324 IN  Synapse Network: SNP Token0 MATIC0.0058210894124.9
0xfedd7240dba7bb5cbb2121ae21c102d8f41d94a31a54174ad1e114cb954e147bApprove359444992022-11-22 23:27:2614 days 3 hrs ago0x9543fd6450ee62f6b2c0ccd3eb4730fefe656e83 IN  Synapse Network: SNP Token0 MATIC0.001398180029 30.000000638
0x13e92951e533132b53a78b46614e140dab1b816ba8c7eaa21a98e0ec9d129c70Approve359368582022-11-22 19:00:3014 days 7 hrs ago0xab3ee173409605240a4ce85d80f372f46383c50f IN  Synapse Network: SNP Token0 MATIC0.003547042883 76.560390321
0x4edcfd9def60c256f4c7afb5f4931ded0acd8dc6b6e31dab858736e7c9248642Transfer357334902022-11-17 20:36:0219 days 6 hrs ago0xba7768ab3b71ce9401d7aa07675aa0fe61b57182 IN  Synapse Network: SNP Token0 MATIC0.003227190024 30.000000226
0xbd8c88d8a492e9c142d71ad3c8494e0f27d8bb2fe492db8eaa546dedbd6ca104Approve357228472022-11-17 14:25:0519 days 12 hrs ago0x92a603dc31e96ee564351269e7a6e5eba0487d43 IN  Synapse Network: SNP Token0 MATIC0.015718513196 337.263725627
0x4c6a0aafbd38a0f56ce82f01581980f2261b31cdc8a79b028f9d89389c7a1fe0Approve356884412022-11-16 18:15:5720 days 8 hrs ago0x8c043cf8b455d4accbb2b05e413cd51f83153ab3 IN  Synapse Network: SNP Token0 MATIC0.002105749734 45.181945132
0x473c04bbcb95e7487f80c1017975b96e76ba8278f86b46988f60db6831f653c2Approve356838262022-11-16 15:37:1920 days 11 hrs ago0x09c9e37efc001fc9b849457a8fba96574f00c0ce IN  Synapse Network: SNP Token0 MATIC0.003440718824 73.825662464
0xfceddc85212bd13f25f38df852f98507257cd1f3743b9293fae32273c64fbf12Approve356836972022-11-16 15:32:5320 days 11 hrs ago0x09c9e37efc001fc9b849457a8fba96574f00c0ce IN  Synapse Network: SNP Token0 MATIC0.0077179536165.6
0x48a4f058ec23c63d86f59ec51a394936f679f3b7884ad69b7acad1ce809ac9c2Approve356778612022-11-16 12:10:0620 days 14 hrs ago0xd706b095ddb0fa2fea063cace1d0820791417d73 IN  Synapse Network: SNP Token0 MATIC0.001219391441.7
0x307c307c81ccb1883485d2bde1fead967663afd19c2632bbc6787330b4df6249Approve356485452022-11-15 19:03:3521 days 7 hrs ago0x09c9e37efc001fc9b849457a8fba96574f00c0ce IN  Synapse Network: SNP Token0 MATIC0.002334653006 50.093400135
0xa51072461e853af62d1c28c5375762f435ee29baa17f337169989ddbc491c144Approve356484622022-11-15 19:00:4521 days 7 hrs ago0xd706b095ddb0fa2fea063cace1d0820791417d73 IN  Synapse Network: SNP Token0 MATIC0.002442154452.4
0xdd113fc69a4729c56f52b184f7e66ad42b9f22d1bd03d1e79c094b9594b6a97aApprove356381232022-11-15 13:04:0621 days 13 hrs ago0x10bfa1f513855e4336392fa0504e5389b323dd55 IN  Synapse Network: SNP Token0 MATIC0.001772335725 38.244696502
0x769050cf5185be1a201d94aee25a475c82e526186610e706fe4d608740979f3aApprove355471542022-11-13 8:13:4523 days 18 hrs ago0x4e1f8384f992978182901c98c89c7cd3bc0d1fb9 IN  Synapse Network: SNP Token0 MATIC0.001612556633 34.599764695
[ Download CSV Export 

OVERVIEW

Synapse is the bridge to a new world of fundraising across all smart-contract-based blockchains.

Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
SynapseNetwork

Compiler Version
v0.8.6+commit.11564f7e

Optimization Enabled:
Yes with 999999 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity Standard Json-Input format)

File 1 of 7 : SynapseNetwork.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.8.6;

import { EIP712 } from "./external/openzeppelin/draft-EIP712.sol";
import { ECDSA } from "./external/openzeppelin/ECDSA.sol";

import { IERC20 } from "./interfaces/IERC20.sol";
import { Ownable } from "./abstract/Ownable.sol";
import { TransactionThrottler } from "./abstract/TransactionThrottler.sol";
import { Constants } from "./libraries/Constants.sol";

contract SynapseNetwork is IERC20, EIP712, Ownable, TransactionThrottler {
    uint256 private _totalSupply;
    mapping(address => uint256) private _balances;
    mapping(address => mapping(address => uint256)) private _allowances;

    // keccak256("Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)");
    // solhint-disable-next-line var-name-mixedcase
    bytes32 public constant PERMIT_TYPEHASH = 0x6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9;
    // keccak256("Transfer(address owner,address to,uint256 value,uint256 nonce,uint256 deadline)");
    // solhint-disable-next-line var-name-mixedcase
    bytes32 public constant TRANSFER_TYPEHASH = 0x42ce63790c28229c123925d83266e77c04d28784552ab68b350a9003226cbd59;
    mapping(address => uint256) public override nonces;

    mapping(address => bool) private _excludedFromFees;
    // Basis points means divide by 10,000 to get decimal
    uint256 private constant MAX_TRANSFER_FEE_BASIS_POINTS = 1000;
    uint256 private constant BASIS_POINTS_MULTIPLIER = 10000;
    uint256 public transferFeeBasisPoints;
    address public feeContract;
    bool private isFeeManager;

    event MarkedExcluded(address indexed account, bool isExcluded);
    event FeeBasisPoints(uint256 feeBasisPoints);
    event FeeContractChanged(address feeContract, bool isFeeManager);

    constructor(address _admin) EIP712(Constants.getName(), "1") {
        transferFeeBasisPoints = 50;
        setExcludedFromFees(_admin, true);

        _setOwner(_admin);
        _mint(_admin, 500_000_000 * 10**18);
    }

    function name() external pure returns (string memory) {
        return Constants.getName();
    }

    function symbol() external pure returns (string memory) {
        return Constants.getSymbol();
    }

    function decimals() external pure override returns (uint8) {
        return Constants.getDecimals();
    }

    function totalSupply() external view override returns (uint256) {
        return _totalSupply;
    }

    function _mint(address account, uint256 amount) private {
        require(account != address(0), "ERC20: mint to the zero address");

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

    function burn(uint256 amount) external onlyOwner returns (bool) {
        _burn(msg.sender, amount);
        return true;
    }

    function burnFrom(address account, uint256 amount) external onlyOwner returns (bool) {
        uint256 currentAllowance = _allowances[account][msg.sender];
        require(currentAllowance >= amount, "ERC20: burn amount exceeds allowance");
        unchecked {
            _approve(account, msg.sender, currentAllowance - amount);
        }
        _burn(account, amount);
        return true;
    }

    function _burn(address account, uint256 amount) private {
        require(account != address(0), "ERC20: burn from the zero address");

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        unchecked {
            _balances[account] = accountBalance - amount;
        }
        _totalSupply -= amount;

        emit Transfer(account, address(0), amount);
    }

    function balanceOf(address account) public view override returns (uint256) {
        return _balances[account];
    }

    function transfer(address recipient, uint256 amount) external override returns (bool) {
        _transfer(msg.sender, recipient, amount);
        return true;
    }

    function allowance(address _owner, address spender) external view override returns (uint256) {
        return _allowances[_owner][spender];
    }

    function approve(address spender, uint256 amount) external override returns (bool) {
        _approve(msg.sender, spender, amount);
        return true;
    }

    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) external override returns (bool) {
        uint256 currentAllowance = _allowances[sender][msg.sender];
        require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance");
        if (currentAllowance < type(uint256).max) {
            // DEXes can use max allowance
            _approve(sender, msg.sender, currentAllowance - amount);
        }
        _transfer(sender, recipient, amount);
        return true;
    }

    function increaseAllowance(address spender, uint256 addedValue) external returns (bool) {
        _approve(msg.sender, spender, _allowances[msg.sender][spender] + addedValue);
        return true;
    }

    function decreaseAllowance(address spender, uint256 subtractedValue) external returns (bool) {
        uint256 currentAllowance = _allowances[msg.sender][spender];
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        _approve(msg.sender, spender, currentAllowance - subtractedValue);
        return true;
    }

    function _transfer(
        address sender,
        address recipient,
        uint256 amount
    ) private transactionThrottler(sender, recipient, amount) {
        require(sender != address(0), "ERC20: transfer from the zero address");
        require(recipient != address(0), "ERC20: transfer to the zero address");
        require(amount > 0, "Transfer amount is 0");
        require(_balances[sender] >= amount, "ERC20: transfer amount exceeds balance");

        uint256 fee;
        if (feeContract != address(0) && transferFeeBasisPoints > 0 && !_excludedFromFees[sender] && !_excludedFromFees[recipient]) {
            fee = (amount * transferFeeBasisPoints) / BASIS_POINTS_MULTIPLIER;
            _balances[feeContract] += fee;
            emit Transfer(sender, feeContract, fee);

            if (isFeeManager && IFeeManager(feeContract).canSyncFee(sender, recipient)) {
                IFeeManager(feeContract).syncFee();
            }
        }

        uint256 sendAmount = amount - fee;
        _balances[sender] -= amount;
        _balances[recipient] += sendAmount;
        emit Transfer(sender, recipient, sendAmount);
    }

    function _approve(
        address _owner,
        address spender,
        uint256 amount
    ) private {
        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);
    }

    // solhint-disable-next-line func-name-mixedcase
    function DOMAIN_SEPARATOR() external view override returns (bytes32) {
        return _domainSeparatorV4();
    }

    function permit(
        address _owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external override {
        // Revert faster here then later on signature (gas saving for user)
        require(_owner != address(0), "ERC20Permit: Permit from zero address");
        // solhint-disable-next-line not-rely-on-time
        require(block.timestamp <= deadline, "ERC20Permit: expired deadline");

        bytes32 structHash = keccak256(abi.encode(PERMIT_TYPEHASH, _owner, spender, value, nonces[_owner]++, deadline));
        bytes32 hash = _hashTypedDataV4(structHash);

        address signer = ECDSA.recover(hash, v, r, s);
        require(signer == _owner, "ERC20Permit: invalid signature");

        _approve(_owner, spender, value);
    }

    function transferWithPermit(
        address _owner,
        address to,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external override returns (bool) {
        // Revert faster here then later on signature (gas saving for user)
        require(_owner != address(0) && to != address(0), "ERC20Permit: Zero address");
        require(block.timestamp <= deadline, "ERC20Permit: expired deadline");

        bytes32 structHash = keccak256(abi.encode(TRANSFER_TYPEHASH, _owner, to, value, nonces[_owner]++, deadline));
        bytes32 hash = _hashTypedDataV4(structHash);

        address signer = ECDSA.recover(hash, v, r, s);
        require(signer == _owner, "ERC20Permit: invalid signature");

        _transfer(_owner, to, value);
        return true;
    }

    function isExcludedFromFees(address account) external view returns (bool) {
        return _excludedFromFees[account];
    }

    function setExcludedFromFees(address account, bool isExcluded) public onlyOwner {
        require(account != address(0), "Zero address");
        _excludedFromFees[account] = isExcluded;
        emit MarkedExcluded(account, isExcluded);
    }

    function setTransferFeeBasisPoints(uint256 fee) external onlyOwner {
        require(fee <= MAX_TRANSFER_FEE_BASIS_POINTS, "Fee is outside of range 0-1000");
        transferFeeBasisPoints = fee;
        emit FeeBasisPoints(transferFeeBasisPoints);
    }

    function changeFeeContract(address _feeContract, bool _isFeeManager) external onlyOwner {
        feeContract = _feeContract;
        isFeeManager = _isFeeManager;
        emit FeeContractChanged(feeContract, isFeeManager);
    }
}

interface IFeeManager {
    function canSyncFee(address sender, address recipient) external view returns (bool);

    function syncFee() external;
}

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

pragma solidity 0.8.6;

abstract contract OwnableData {
    address public owner;
    address public pendingOwner;
}

abstract contract Ownable is OwnableData {
    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev `owner` defaults to msg.sender on construction.
     */
    constructor() {
        _setOwner(msg.sender);
    }

    /**
     * @dev Transfers ownership to `newOwner`. Either directly or claimable by the new pending owner.
     *      Can only be invoked by the current `owner`.
     * @param _newOwner Address of the new owner.
     * @param _direct True if `newOwner` should be set immediately. False if `newOwner` needs to use `claimOwnership`.
     */
    function transferOwnership(address _newOwner, bool _direct) external onlyOwner {
        if (_direct) {
            require(_newOwner != address(0), "zero address");

            emit OwnershipTransferred(owner, _newOwner);
            owner = _newOwner;
            pendingOwner = address(0);
        } else {
            pendingOwner = _newOwner;
        }
    }

    /**
     * @dev Needs to be called by `pendingOwner` to claim ownership.
     */
    function claimOwnership() external {
        address _pendingOwner = pendingOwner;
        require(msg.sender == _pendingOwner, "caller != pending owner");

        emit OwnershipTransferred(owner, _pendingOwner);
        owner = _pendingOwner;
        pendingOwner = address(0);
    }

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

    function _setOwner(address newOwner) internal {
        address oldOwner = owner;
        owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 3 of 7 : TransactionThrottler.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.8.6;

import { Ownable } from "./Ownable.sol";

abstract contract TransactionThrottler is Ownable {
    bool private _restrictionActive;
    uint256 private _tradingStart;
    uint256 private _restrictionEndTime;
    uint256 private _maxTransferAmount;
    uint256 private constant _delayBetweenTx = 30;
    mapping(address => bool) private _isWhitelisted;
    mapping(address => uint256) private _previousTx;

    event TradingTimeChanged(uint256 tradingTime);
    event RestrictionEndTimeChanged(uint256 endTime);
    event RestrictionActiveChanged(bool active);
    event MaxTransferAmountChanged(uint256 maxTransferAmount);
    event MarkedWhitelisted(address indexed account, bool isWhitelisted);

    constructor() {
        _tradingStart = block.timestamp + 3 days;
        _restrictionEndTime = _tradingStart + 30 * 60;
        _maxTransferAmount = 60000 * 10**18;
        _restrictionActive = true;
    }

    function setTradingStart(uint256 _time) external onlyOwner() {
        require(_tradingStart > block.timestamp, "Protection: To late");
        _tradingStart = _time;
        _restrictionEndTime = _time + 30 * 60;
        emit TradingTimeChanged(_tradingStart);
        emit RestrictionEndTimeChanged(_restrictionEndTime);
    }

    function setMaxTransferAmount(uint256 _amount) external onlyOwner() {
        require(_restrictionEndTime > block.timestamp, "Protection: To late");
        _maxTransferAmount = _amount;
        emit MaxTransferAmountChanged(_maxTransferAmount);
    }

    function setRestrictionActive(bool _active) external onlyOwner() {
        _restrictionActive = _active;
        emit RestrictionActiveChanged(_active);
    }

    function whitelistAccount(address _account, bool _whitelisted) external onlyOwner() {
        require(_account != address(0), "Zero address");
        _isWhitelisted[_account] = true;
        emit MarkedWhitelisted(_account, _whitelisted);
    }

    modifier transactionThrottler(
        address sender,
        address recipient,
        uint256 amount
    ) {
        if (_tradingStart > block.timestamp) {
            require(sender == owner || recipient == owner, "Protection: Transfers disabled");
        } else if (_restrictionActive) {
            uint256 requiredDelay;

            // During the first restricted period tokens amount are limited
            if (_restrictionEndTime > block.timestamp) {
                require(amount <= _maxTransferAmount, "Protection: Limit exceeded");
                requiredDelay = 60 seconds;
            } else {
                requiredDelay = _delayBetweenTx;
            }

            if (!_isWhitelisted[recipient]) {
                require(_previousTx[recipient] + requiredDelay <= block.timestamp, "Protection: 1 tx/min allowed");
                _previousTx[recipient] = block.timestamp;
            }
            if (!_isWhitelisted[sender]) {
                require(_previousTx[sender] + requiredDelay <= block.timestamp, "Protection: 1 tx/min allowed");
                _previousTx[sender] = block.timestamp;
            }
        }
        _;
    }
}

File 4 of 7 : ECDSA.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.8.6;

/**
 * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.
 *
 * These functions can be used to verify that a message was signed by the holder
 * of the private keys of a given address.
 */
library ECDSA {
    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature`. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     */
    function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
        // Divide the signature in r, s and v variables
        bytes32 r;
        bytes32 s;
        uint8 v;

        // Check the signature length
        // - case 65: r,s,v signature (standard)
        // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._
        if (signature.length == 65) {
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            // solhint-disable-next-line no-inline-assembly
            assembly {
                r := mload(add(signature, 0x20))
                s := mload(add(signature, 0x40))
                v := byte(0, mload(add(signature, 0x60)))
            }
        } else if (signature.length == 64) {
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            // solhint-disable-next-line no-inline-assembly
            assembly {
                let vs := mload(add(signature, 0x40))
                r := mload(add(signature, 0x20))
                s := and(vs, 0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff)
                v := add(shr(255, vs), 27)
            }
        } else {
            revert("ECDSA: invalid signature length");
        }

        return recover(hash, v, r, s);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `v`,
     * `r` and `s` signature fields separately.
     */
    function recover(bytes32 hash, uint8 v, bytes32 r, bytes32 s) internal pure returns (address) {
        // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature
        // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines
        // the valid range for s in (281): 0 < s < secp256k1n ÷ 2 + 1, and for v in (282): v ∈ {27, 28}. Most
        // signatures from current libraries generate a unique signature with an s-value in the lower half order.
        //
        // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value
        // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or
        // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept
        // these malleable signatures as well.
        require(uint256(s) <= 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0, "ECDSA: invalid signature 's' value");
        require(v == 27 || v == 28, "ECDSA: invalid signature 'v' value");

        // If the signature is valid (and not malleable), return the signer address
        address signer = ecrecover(hash, v, r, s);
        require(signer != address(0), "ECDSA: invalid signature");

        return signer;
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from a `hash`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) {
        // 32 is the length in bytes of hash,
        // enforced by the type signature above
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash));
    }

    /**
     * @dev Returns an Ethereum Signed Typed Data, created from a
     * `domainSeparator` and a `structHash`. This produces hash corresponding
     * to the one signed with the
     * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`]
     * JSON-RPC method as part of EIP-712.
     *
     * See {recover}.
     */
    function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash));
    }
}

File 5 of 7 : draft-EIP712.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.8.6;

import "./ECDSA.sol";

/**
 * @dev https://eips.ethereum.org/EIPS/eip-712[EIP 712] is a standard for hashing and signing of typed structured data.
 *
 * The encoding specified in the EIP is very generic, and such a generic implementation in Solidity is not feasible,
 * thus this contract does not implement the encoding itself. Protocols need to implement the type-specific encoding
 * they need in their contracts using a combination of `abi.encode` and `keccak256`.
 *
 * This contract implements the EIP 712 domain separator ({_domainSeparatorV4}) that is used as part of the encoding
 * scheme, and the final step of the encoding to obtain the message digest that is then signed via ECDSA
 * ({_hashTypedDataV4}).
 *
 * The implementation of the domain separator was designed to be as efficient as possible while still properly updating
 * the chain id to protect against replay attacks on an eventual fork of the chain.
 *
 * NOTE: This contract implements the version of the encoding known as "v4", as implemented by the JSON RPC method
 * https://docs.metamask.io/guide/signing-data.html[`eth_signTypedDataV4` in MetaMask].
 *
 * _Available since v3.4._
 */
abstract contract EIP712 {
    /* solhint-disable var-name-mixedcase */
    // Cache the domain separator as an immutable value, but also store the chain id that it corresponds to, in order to
    // invalidate the cached domain separator if the chain id changes.
    bytes32 private immutable _CACHED_DOMAIN_SEPARATOR;
    uint256 private immutable _CACHED_CHAIN_ID;

    bytes32 private immutable _HASHED_NAME;
    bytes32 private immutable _HASHED_VERSION;
    bytes32 private immutable _TYPE_HASH;
    /* solhint-enable var-name-mixedcase */

    /**
     * @dev Initializes the domain separator and parameter caches.
     *
     * The meaning of `name` and `version` is specified in
     * https://eips.ethereum.org/EIPS/eip-712#definition-of-domainseparator[EIP 712]:
     *
     * - `name`: the user readable name of the signing domain, i.e. the name of the DApp or the protocol.
     * - `version`: the current major version of the signing domain.
     *
     * NOTE: These parameters cannot be changed except through a xref:learn::upgrading-smart-contracts.adoc[smart
     * contract upgrade].
     */
    constructor(string memory name, string memory version) {
        bytes32 hashedName = keccak256(bytes(name));
        bytes32 hashedVersion = keccak256(bytes(version));
        bytes32 typeHash = keccak256("EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)");
        _HASHED_NAME = hashedName;
        _HASHED_VERSION = hashedVersion;
        _CACHED_CHAIN_ID = block.chainid;
        _CACHED_DOMAIN_SEPARATOR = _buildDomainSeparator(typeHash, hashedName, hashedVersion);
        _TYPE_HASH = typeHash;
    }

    /**
     * @dev Returns the domain separator for the current chain.
     */
    function _domainSeparatorV4() internal view returns (bytes32) {
        if (block.chainid == _CACHED_CHAIN_ID) {
            return _CACHED_DOMAIN_SEPARATOR;
        } else {
            return _buildDomainSeparator(_TYPE_HASH, _HASHED_NAME, _HASHED_VERSION);
        }
    }

    function _buildDomainSeparator(bytes32 typeHash, bytes32 name, bytes32 version) private view returns (bytes32) {
        return keccak256(
            abi.encode(
                typeHash,
                name,
                version,
                block.chainid,
                address(this)
            )
        );
    }

    /**
     * @dev Given an already https://eips.ethereum.org/EIPS/eip-712#definition-of-hashstruct[hashed struct], this
     * function returns the hash of the fully encoded EIP712 message for this domain.
     *
     * This hash can be used together with {ECDSA-recover} to obtain the signer of a message. For example:
     *
     * ```solidity
     * bytes32 digest = _hashTypedDataV4(keccak256(abi.encode(
     *     keccak256("Mail(address to,string contents)"),
     *     mailTo,
     *     keccak256(bytes(mailContents))
     * )));
     * address signer = ECDSA.recover(digest, signature);
     * ```
     */
    function _hashTypedDataV4(bytes32 structHash) internal view virtual returns (bytes32) {
        return ECDSA.toTypedDataHash(_domainSeparatorV4(), structHash);
    }
}

File 6 of 7 : IERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.8.6;

interface IERC20 {
    event Transfer(address indexed from, address indexed to, uint256 value);
    event Approval(address indexed owner, address indexed spender, uint256 value);

    function totalSupply() external view returns (uint256);
    function decimals() external view returns (uint8);
    function balanceOf(address account) external view returns (uint256);
    function allowance(address owner, address spender) external view returns (uint256);

    function approve(address spender, uint256 amount) external returns (bool);
    function transfer(address to, uint256 value) external returns (bool);
    function transferFrom(address from, address to, uint256 value) external returns (bool);

    // EIP 2612
    // solhint-disable-next-line func-name-mixedcase
    function DOMAIN_SEPARATOR() external view returns (bytes32);
    function nonces(address owner) external view returns (uint256);
    function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) external;
    function transferWithPermit(address target, address to, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) external returns (bool);
}

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

pragma solidity 0.8.6;

library Constants {
    string private constant _name = "Synapse Network";
    string private constant _symbol = "SNP";
    uint8 private constant _decimals = 18;

    function getName() internal pure returns (string memory) {
        return _name;
    }

    function getSymbol() internal pure returns (string memory) {
        return _symbol;
    }

    function getDecimals() internal pure returns (uint8) {
        return _decimals;
    }
}

Settings
{
  "evmVersion": "berlin",
  "libraries": {},
  "metadata": {
    "bytecodeHash": "ipfs",
    "useLiteralContent": true
  },
  "optimizer": {
    "enabled": true,
    "runs": 999999
  },
  "remappings": [],
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_admin","type":"address"}],"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":false,"internalType":"uint256","name":"feeBasisPoints","type":"uint256"}],"name":"FeeBasisPoints","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"feeContract","type":"address"},{"indexed":false,"internalType":"bool","name":"isFeeManager","type":"bool"}],"name":"FeeContractChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"MarkedExcluded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isWhitelisted","type":"bool"}],"name":"MarkedWhitelisted","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"maxTransferAmount","type":"uint256"}],"name":"MaxTransferAmountChanged","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":"bool","name":"active","type":"bool"}],"name":"RestrictionActiveChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"endTime","type":"uint256"}],"name":"RestrictionEndTimeChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tradingTime","type":"uint256"}],"name":"TradingTimeChanged","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"},{"inputs":[],"name":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PERMIT_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TRANSFER_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"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":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_feeContract","type":"address"},{"internalType":"bool","name":"_isFeeManager","type":"bool"}],"name":"changeFeeContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"pure","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":"feeContract","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":"address","name":"account","type":"address"}],"name":"isExcludedFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pendingOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"permit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"setExcludedFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"setMaxTransferAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_active","type":"bool"}],"name":"setRestrictionActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_time","type":"uint256"}],"name":"setTradingStart","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"fee","type":"uint256"}],"name":"setTransferFeeBasisPoints","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","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":[],"name":"transferFeeBasisPoints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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"},{"internalType":"bool","name":"_direct","type":"bool"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"transferWithPermit","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"},{"internalType":"bool","name":"_whitelisted","type":"bool"}],"name":"whitelistAccount","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6101206040523480156200001257600080fd5b506040516200343d3803806200343d8339810160408190526200003591620003f5565b6200004a6200019160201b62001b3d1760201c565b60408051808201825260018152603160f81b60209182015282519281019290922060c08181527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660e08190524660a081815285517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f8189018190528188019690965260608101939093526080808401929092523083820152855180840390910181529190920190935282519290930191909120909152610100526200010f33620001ba565b6200011e426203f48062000427565b6002819055620001319061070862000427565b600355690cb49b44ba602d8000006004556001805460ff60a01b1916600160a01b1781556032600c55620001679082906200020a565b6200017281620001ba565b6200018a816b019d971e4fe8401e7400000062000310565b506200044e565b60408051808201909152600f81526e53796e61707365204e6574776f726b60881b602082015290565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000546001600160a01b031633146200026a5760405162461bcd60e51b815260206004820152601760248201527f63616c6c6572206973206e6f7420746865206f776e657200000000000000000060448201526064015b60405180910390fd5b6001600160a01b038216620002b15760405162461bcd60e51b815260206004820152600c60248201526b5a65726f206164647265737360a01b604482015260640162000261565b6001600160a01b0382166000818152600b6020908152604091829020805460ff191685151590811790915591519182527ff9c8a5f57610c46ccc680954a15976ee96ac8bd02b829439b8a6a40258763611910160405180910390a25050565b6001600160a01b038216620003685760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640162000261565b80600760008282546200037c919062000427565b90915550506001600160a01b03821660009081526008602052604081208054839290620003ab90849062000427565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6000602082840312156200040857600080fd5b81516001600160a01b03811681146200042057600080fd5b9392505050565b600082198211156200044957634e487b7160e01b600052601160045260246000fd5b500190565b60805160a05160c05160e05161010051612faa6200049360003960006126bc0152600061270b015260006126e60152600061266a015260006126930152612faa6000f3fe608060405234801561001057600080fd5b506004361061020a5760003560e01c8063605629d61161012a57806399c8df18116100bd578063b242e5341161008c578063da40390311610071578063da403903146104f3578063dd62ed3e14610506578063e30c39781461054c57600080fd5b8063b242e534146104cd578063d505accf146104e057600080fd5b806399c8df18146104815780639a5b0dde14610494578063a457c2d7146104a7578063a9059cbb146104ba57600080fd5b80637ecebe00116100f95780637ecebe00146104265780638bf55409146104465780638da5cb5b1461045957806395d89b411461047957600080fd5b8063605629d6146103b757806370a08231146103ca5780637419683c1461040057806379cc67901461041357600080fd5b8063313ce567116101a25780634af640d1116101715780634af640d11461034e5780634e71e0c8146103635780634fbee1931461036b578063590ffdce146103a457600080fd5b8063313ce567146103115780633644e51514610320578063395093511461032857806342966c681461033b57600080fd5b806318160ddd116101de57806318160ddd146102c6578063183767da146102ce57806323b872dd146102d757806330adf81f146102ea57600080fd5b8062bf26f41461020f57806306e297121461024957806306fdde031461028e578063095ea7b3146102a3575b600080fd5b6102367f42ce63790c28229c123925d83266e77c04d28784552ab68b350a9003226cbd5981565b6040519081526020015b60405180910390f35b600d546102699073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610240565b61029661056c565b6040516102409190612de1565b6102b66102b1366004612d64565b6105ad565b6040519015158152602001610240565b600754610236565b610236600c5481565b6102b66102e5366004612c7e565b6105c3565b6102367f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c981565b60405160128152602001610240565b6102366106db565b6102b6610336366004612d64565b6106e5565b6102b6610349366004612dc8565b610729565b61036161035c366004612d8e565b6107be565b005b6103616108c3565b6102b6610379366004612c29565b73ffffffffffffffffffffffffffffffffffffffff166000908152600b602052604090205460ff1690565b6103616103b2366004612d2d565b6109d9565b6102b66103c5366004612cba565b610b62565b6102366103d8366004612c29565b73ffffffffffffffffffffffffffffffffffffffff1660009081526008602052604090205490565b61036161040e366004612dc8565b610df7565b6102b6610421366004612d64565b610f60565b610236610434366004612c29565b600a6020526000908152604090205481565b610361610454366004612dc8565b6110c3565b6000546102699073ffffffffffffffffffffffffffffffffffffffff1681565b6102966111e4565b61036161048f366004612d2d565b611220565b6103616104a2366004612d2d565b6113a0565b6102b66104b5366004612d64565b6114cd565b6102b66104c8366004612d64565b61159d565b6103616104db366004612d2d565b6115aa565b6103616104ee366004612cba565b61178a565b610361610501366004612dc8565b611a1b565b610236610514366004612c4b565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260096020908152604080832093909416825291909152205490565b6001546102699073ffffffffffffffffffffffffffffffffffffffff1681565b60606105a860408051808201909152600f81527f53796e61707365204e6574776f726b0000000000000000000000000000000000602082015290565b905090565b60006105ba338484611b74565b50600192915050565b73ffffffffffffffffffffffffffffffffffffffff8316600090815260096020908152604080832033845290915281205482811015610689576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206160448201527f6c6c6f77616e636500000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8110156106c5576106c585336106c08685612ee4565b611b74565b6106d0858585611d28565b506001949350505050565b60006105a8612666565b33600081815260096020908152604080832073ffffffffffffffffffffffffffffffffffffffff8716845290915281205490916105ba9185906106c0908690612e54565b6000805473ffffffffffffffffffffffffffffffffffffffff1633146107ab576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f63616c6c6572206973206e6f7420746865206f776e65720000000000000000006044820152606401610680565b6107b53383612759565b5060015b919050565b60005473ffffffffffffffffffffffffffffffffffffffff16331461083f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f63616c6c6572206973206e6f7420746865206f776e65720000000000000000006044820152606401610680565b6001805482151574010000000000000000000000000000000000000000027fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff9091161790556040517ff19da345eb86d7718a0c6e1d1e68d0c70e9fb40e7f54bfaaa1110c5dd5942eaa906108b890831515815260200190565b60405180910390a150565b60015473ffffffffffffffffffffffffffffffffffffffff16338114610945576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f63616c6c657220213d2070656e64696e67206f776e65720000000000000000006044820152606401610680565b6000805460405173ffffffffffffffffffffffffffffffffffffffff808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a36000805473ffffffffffffffffffffffffffffffffffffffff9092167fffffffffffffffffffffffff0000000000000000000000000000000000000000928316179055600180549091169055565b60005473ffffffffffffffffffffffffffffffffffffffff163314610a5a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f63616c6c6572206973206e6f7420746865206f776e65720000000000000000006044820152606401610680565b73ffffffffffffffffffffffffffffffffffffffff8216610ad7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f5a65726f206164647265737300000000000000000000000000000000000000006044820152606401610680565b73ffffffffffffffffffffffffffffffffffffffff82166000818152600b602090815260409182902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001685151590811790915591519182527ff9c8a5f57610c46ccc680954a15976ee96ac8bd02b829439b8a6a4025876361191015b60405180910390a25050565b600073ffffffffffffffffffffffffffffffffffffffff881615801590610b9e575073ffffffffffffffffffffffffffffffffffffffff871615155b610c04576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f45524332305065726d69743a205a65726f2061646472657373000000000000006044820152606401610680565b84421115610c6e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f45524332305065726d69743a206578706972656420646561646c696e650000006044820152606401610680565b73ffffffffffffffffffffffffffffffffffffffff88166000908152600a6020526040812080547f42ce63790c28229c123925d83266e77c04d28784552ab68b350a9003226cbd59918b918b918b919086610cc883612efb565b9091555060408051602081019690965273ffffffffffffffffffffffffffffffffffffffff94851690860152929091166060840152608083015260a082015260c0810187905260e0016040516020818303038152906040528051906020012090506000610d348261293e565b90506000610d44828888886129ad565b90508a73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610ddb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f45524332305065726d69743a20696e76616c6964207369676e617475726500006044820152606401610680565b610de68b8b8b611d28565b5060019a9950505050505050505050565b60005473ffffffffffffffffffffffffffffffffffffffff163314610e78576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f63616c6c6572206973206e6f7420746865206f776e65720000000000000000006044820152606401610680565b4260025411610ee3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f50726f74656374696f6e3a20546f206c617465000000000000000000000000006044820152606401610680565b6002819055610ef481610708612e54565b6003556002546040519081527feb0dd367985442b0f5a817b2cee27fa94416adda70f365044808a6552418fec69060200160405180910390a17f25ae26aca5f366a617b1a046565a1a5aab86756f3d81b81ec1b2574b0015c59f6003546040516108b891815260200190565b6000805473ffffffffffffffffffffffffffffffffffffffff163314610fe2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f63616c6c6572206973206e6f7420746865206f776e65720000000000000000006044820152606401610680565b73ffffffffffffffffffffffffffffffffffffffff83166000908152600960209081526040808320338452909152902054828110156110a2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f45524332303a206275726e20616d6f756e74206578636565647320616c6c6f7760448201527f616e6365000000000000000000000000000000000000000000000000000000006064820152608401610680565b6110af8433858403611b74565b6110b98484612759565b5060019392505050565b60005473ffffffffffffffffffffffffffffffffffffffff163314611144576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f63616c6c6572206973206e6f7420746865206f776e65720000000000000000006044820152606401610680565b42600354116111af576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f50726f74656374696f6e3a20546f206c617465000000000000000000000000006044820152606401610680565b60048190556040518181527ff81e49436a9468d4e5a18ec3a66d9a51fd5eb03de3ddddd43bd85f6ae1b072b3906020016108b8565b60606105a860408051808201909152600381527f534e500000000000000000000000000000000000000000000000000000000000602082015290565b60005473ffffffffffffffffffffffffffffffffffffffff1633146112a1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f63616c6c6572206973206e6f7420746865206f776e65720000000000000000006044820152606401610680565b73ffffffffffffffffffffffffffffffffffffffff821661131e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f5a65726f206164647265737300000000000000000000000000000000000000006044820152606401610680565b73ffffffffffffffffffffffffffffffffffffffff82166000818152600560205260409081902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055517fc1f37bd5d85be2239236c010011c8837e596c2c28d94d45893872fb5064e75ce90610b5690841515815260200190565b60005473ffffffffffffffffffffffffffffffffffffffff163314611421576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f63616c6c6572206973206e6f7420746865206f776e65720000000000000000006044820152606401610680565b600d8054821515740100000000000000000000000000000000000000009081027fffffffffffffffffffffff00000000000000000000000000000000000000000090921673ffffffffffffffffffffffffffffffffffffffff868116919091179290921792839055604080519284168352920460ff16151560208201527f2cac56f3d6789110a38dfa5e7a439665eb0bfb1b4f1b0e6c845a5f058c417ce4910160405180910390a15050565b33600090815260096020908152604080832073ffffffffffffffffffffffffffffffffffffffff861684529091528120548281101561158e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f0000000000000000000000000000000000000000000000000000006064820152608401610680565b6110b933856106c08685612ee4565b60006105ba338484611d28565b60005473ffffffffffffffffffffffffffffffffffffffff16331461162b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f63616c6c6572206973206e6f7420746865206f776e65720000000000000000006044820152606401610680565b80156117445773ffffffffffffffffffffffffffffffffffffffff82166116ae576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f7a65726f206164647265737300000000000000000000000000000000000000006044820152606401610680565b6000805460405173ffffffffffffffffffffffffffffffffffffffff808616939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a36000805473ffffffffffffffffffffffffffffffffffffffff84167fffffffffffffffffffffffff0000000000000000000000000000000000000000918216179091556001805490911690555050565b6001805473ffffffffffffffffffffffffffffffffffffffff84167fffffffffffffffffffffffff00000000000000000000000000000000000000009091161790555050565b73ffffffffffffffffffffffffffffffffffffffff871661182d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332305065726d69743a205065726d69742066726f6d207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610680565b83421115611897576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f45524332305065726d69743a206578706972656420646561646c696e650000006044820152606401610680565b73ffffffffffffffffffffffffffffffffffffffff87166000908152600a6020526040812080547f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9918a918a918a9190866118f183612efb565b9091555060408051602081019690965273ffffffffffffffffffffffffffffffffffffffff94851690860152929091166060840152608083015260a082015260c0810186905260e001604051602081830303815290604052805190602001209050600061195d8261293e565b9050600061196d828787876129ad565b90508973ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611a04576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f45524332305065726d69743a20696e76616c6964207369676e617475726500006044820152606401610680565b611a0f8a8a8a611b74565b50505050505050505050565b60005473ffffffffffffffffffffffffffffffffffffffff163314611a9c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f63616c6c6572206973206e6f7420746865206f776e65720000000000000000006044820152606401610680565b6103e8811115611b08576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f466565206973206f757473696465206f662072616e676520302d3130303000006044820152606401610680565b600c8190556040518181527fe396b37908dcee506ba44e86c1f6cc8bddf91651189816a834568b4f54901f57906020016108b8565b60408051808201909152600f81527f53796e61707365204e6574776f726b0000000000000000000000000000000000602082015290565b73ffffffffffffffffffffffffffffffffffffffff8316611c16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610680565b73ffffffffffffffffffffffffffffffffffffffff8216611cb9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f73730000000000000000000000000000000000000000000000000000000000006064820152608401610680565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526009602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b828282426002541115611de35760005473ffffffffffffffffffffffffffffffffffffffff84811691161480611d78575060005473ffffffffffffffffffffffffffffffffffffffff8381169116145b611dde576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f50726f74656374696f6e3a205472616e73666572732064697361626c656400006044820152606401610680565b61206e565b60015474010000000000000000000000000000000000000000900460ff161561206e576000426003541115611e8657600454821115611e7e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f50726f74656374696f6e3a204c696d69742065786365656465640000000000006044820152606401610680565b50603c611e8a565b50601e5b73ffffffffffffffffffffffffffffffffffffffff831660009081526005602052604090205460ff16611f7b5773ffffffffffffffffffffffffffffffffffffffff83166000908152600660205260409020544290611eea908390612e54565b1115611f52576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f50726f74656374696f6e3a20312074782f6d696e20616c6c6f776564000000006044820152606401610680565b73ffffffffffffffffffffffffffffffffffffffff831660009081526006602052604090204290555b73ffffffffffffffffffffffffffffffffffffffff841660009081526005602052604090205460ff1661206c5773ffffffffffffffffffffffffffffffffffffffff84166000908152600660205260409020544290611fdb908390612e54565b1115612043576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f50726f74656374696f6e3a20312074782f6d696e20616c6c6f776564000000006044820152606401610680565b73ffffffffffffffffffffffffffffffffffffffff841660009081526006602052604090204290555b505b73ffffffffffffffffffffffffffffffffffffffff8616612111576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610680565b73ffffffffffffffffffffffffffffffffffffffff85166121b4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610680565b6000841161221e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f5472616e7366657220616d6f756e7420697320300000000000000000000000006044820152606401610680565b73ffffffffffffffffffffffffffffffffffffffff86166000908152600860205260409020548411156122d3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e636500000000000000000000000000000000000000000000000000006064820152608401610680565b600d5460009073ffffffffffffffffffffffffffffffffffffffff16158015906122ff57506000600c54115b8015612331575073ffffffffffffffffffffffffffffffffffffffff87166000908152600b602052604090205460ff16155b8015612363575073ffffffffffffffffffffffffffffffffffffffff86166000908152600b602052604090205460ff16155b1561256e57612710600c54866123799190612ea7565b6123839190612e6c565b600d5473ffffffffffffffffffffffffffffffffffffffff166000908152600860205260408120805492935083929091906123bf908490612e54565b9091555050600d5460405182815273ffffffffffffffffffffffffffffffffffffffff918216918916907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3600d5474010000000000000000000000000000000000000000900460ff1680156124e65750600d546040517fb105cd5200000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff898116600483015288811660248301529091169063b105cd529060440160206040518083038186803b1580156124ae57600080fd5b505afa1580156124c2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124e69190612dab565b1561256e57600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663e605bca06040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561255557600080fd5b505af1158015612569573d6000803e3d6000fd5b505050505b600061257a8287612ee4565b73ffffffffffffffffffffffffffffffffffffffff89166000908152600860205260408120805492935088929091906125b4908490612ee4565b909155505073ffffffffffffffffffffffffffffffffffffffff8716600090815260086020526040812080548392906125ee908490612e54565b925050819055508673ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161265491815260200190565b60405180910390a35050505050505050565b60007f00000000000000000000000000000000000000000000000000000000000000004614156126b557507f000000000000000000000000000000000000000000000000000000000000000090565b50604080517f00000000000000000000000000000000000000000000000000000000000000006020808301919091527f0000000000000000000000000000000000000000000000000000000000000000828401527f000000000000000000000000000000000000000000000000000000000000000060608301524660808301523060a0808401919091528351808403909101815260c0909201909252805191012090565b73ffffffffffffffffffffffffffffffffffffffff82166127fc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f73000000000000000000000000000000000000000000000000000000000000006064820152608401610680565b73ffffffffffffffffffffffffffffffffffffffff8216600090815260086020526040902054818110156128b2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f63650000000000000000000000000000000000000000000000000000000000006064820152608401610680565b73ffffffffffffffffffffffffffffffffffffffff831660009081526008602052604081208383039055600780548492906128ee908490612ee4565b909155505060405182815260009073ffffffffffffffffffffffffffffffffffffffff8516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001611d1b565b60006129a761294b612666565b836040517f19010000000000000000000000000000000000000000000000000000000000006020820152602281018390526042810182905260009060620160405160208183030381529060405280519060200120905092915050565b92915050565b60007f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0821115612a5f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c60448201527f75650000000000000000000000000000000000000000000000000000000000006064820152608401610680565b8360ff16601b1480612a7457508360ff16601c145b612b00576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c60448201527f75650000000000000000000000000000000000000000000000000000000000006064820152608401610680565b6040805160008082526020820180845288905260ff871692820192909252606081018590526080810184905260019060a0016020604051602081039080840390855afa158015612b54573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0015191505073ffffffffffffffffffffffffffffffffffffffff8116612bfc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610680565b95945050505050565b803573ffffffffffffffffffffffffffffffffffffffff811681146107b957600080fd5b600060208284031215612c3b57600080fd5b612c4482612c05565b9392505050565b60008060408385031215612c5e57600080fd5b612c6783612c05565b9150612c7560208401612c05565b90509250929050565b600080600060608486031215612c9357600080fd5b612c9c84612c05565b9250612caa60208501612c05565b9150604084013590509250925092565b600080600080600080600060e0888a031215612cd557600080fd5b612cde88612c05565b9650612cec60208901612c05565b95506040880135945060608801359350608088013560ff81168114612d1057600080fd5b9699959850939692959460a0840135945060c09093013592915050565b60008060408385031215612d4057600080fd5b612d4983612c05565b91506020830135612d5981612f63565b809150509250929050565b60008060408385031215612d7757600080fd5b612d8083612c05565b946020939093013593505050565b600060208284031215612da057600080fd5b8135612c4481612f63565b600060208284031215612dbd57600080fd5b8151612c4481612f63565b600060208284031215612dda57600080fd5b5035919050565b600060208083528351808285015260005b81811015612e0e57858101830151858201604001528201612df2565b81811115612e20576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b60008219821115612e6757612e67612f34565b500190565b600082612ea2577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615612edf57612edf612f34565b500290565b600082821015612ef657612ef6612f34565b500390565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415612f2d57612f2d612f34565b5060010190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b8015158114612f7157600080fd5b5056fea2646970667358221220627dc87c9696f4601ba1131766955ff949a52676093756f1bb0788bacfa2d41c64736f6c634300080600330000000000000000000000006471ec553527eaec9b717dd8b6ca3cef6596e2cb

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

0000000000000000000000006471ec553527eaec9b717dd8b6ca3cef6596e2cb

-----Decoded View---------------
Arg [0] : _admin (address): 0x6471ec553527eaec9b717dd8b6ca3cef6596e2cb

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000006471ec553527eaec9b717dd8b6ca3cef6596e2cb


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.