false
true
0

Contract Address Details

0x165440036Ce972C5F8EBef667086707e48B2623e

Token
UniGraph (GRAPH)
Creator
0x4d6452–0df7bf at 0x7e4952–304812
Balance
0 PLS ( )
Tokens
Fetching tokens...
Transactions
1,388 Transactions
Transfers
0 Transfers
Gas Used
59,572,225
Last Balance Update
25999180
Warning! Contract bytecode has been changed and doesn't match the verified one. Therefore, interaction with this smart contract may be risky.
This contract has been verified via Sourcify. View contract in Sourcify repository
Contract name:
Graph




Optimization enabled
true
Compiler version
v0.6.0+commit.26b70077




Optimization runs
200
EVM Version
istanbul




Verified at
2026-03-11T18:32:26.103188Z

browser/GRAPH.sol

pragma solidity 0.6.0;

/*

                                       https://UniGraph.app

      ___           ___                       ___           ___           ___           ___           ___     
     /\__\         /\__\          ___        /\  \         /\  \         /\  \         /\  \         /\__\    
    /:/  /        /::|  |        /\  \      /::\  \       /::\  \       /::\  \       /::\  \       /:/  /    
   /:/  /        /:|:|  |        \:\  \    /:/\:\  \     /:/\:\  \     /:/\:\  \     /:/\:\  \     /:/__/     
  /:/  /  ___   /:/|:|  |__      /::\__\  /:/  \:\  \   /::\~\:\  \   /::\~\:\  \   /::\~\:\  \   /::\  \ ___ 
 /:/__/  /\__\ /:/ |:| /\__\  __/:/\/__/ /:/__/_\:\__\ /:/\:\ \:\__\ /:/\:\ \:\__\ /:/\:\ \:\__\ /:/\:\  /\__\
 \:\  \ /:/  / \/__|:|/:/  / /\/:/  /    \:\  /\ \/__/ \/_|::\/:/  / \/__\:\/:/  / \/__\:\/:/  / \/__\:\/:/  /
  \:\  /:/  /      |:/:/  /  \::/__/      \:\ \:\__\      |:|::/  /       \::/  /       \::/  /       \::/  / 
   \:\/:/  /       |::/  /    \:\__\       \:\/:/  /      |:|\/__/        /:/  /         \/__/        /:/  /  
    \::/  /        /:/  /      \/__/        \::/  /       |:|  |         /:/  /                      /:/  /   
     \/__/         \/__/                     \/__/         \|__|         \/__/                       \/__/    


*/

library SafeMath {
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");

        return c;
    }

    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return sub(a, b, "SafeMath: subtraction overflow");
    }

    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        uint256 c = a - b;

        return c;
    }

    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        if (a == 0) {
            return 0;
        }

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

        return c;
    }

    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return div(a, b, "SafeMath: division by zero");
    }

    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        uint256 c = a / b;

        return c;
    }

    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return mod(a, b, "SafeMath: modulo by zero");
    }

    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b != 0, errorMessage);
        return a % b;
    }
}

contract Ownable {
    address public _owner;

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

    constructor () public {
        _owner = msg.sender;
        emit OwnershipTransferred(address(0), msg.sender);
    }

    function owner() public view returns (address) {
        return _owner;
    }

    modifier onlyOwner() {
        require(_owner == msg.sender, "Ownable: caller is not the 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;
    }
}

// Uniswap v2 interfaces
interface IUniswapV2Pair {
    function sync() external;
}

interface IUniswapV2Factory {
    function createPair(address tokenA, address tokenB) external returns (address pair);
}

contract Graph is Ownable {
    string public name = "UniGraph";
    string public symbol = "GRAPH";
    uint256 public constant decimals = 18;
    
    using SafeMath for uint256;

    event LogRebase(uint256 indexed epoch, uint256 totalSupply);

    modifier validRecipient(address to) {
        require(to != address(0x0));
        require(to != address(this));
        _;
    }
    
    event Transfer(address indexed from, address indexed to, uint256 value);
    event Approval(address indexed owner, address indexed spender, uint256 value);
    
    constructor() public override {
        _owner = msg.sender;
        _feeTaker = msg.sender;
        
        _totalSupply = INITIAL_FRAGMENTS_SUPPLY;
        _gonBalances[_owner] = TOTAL_GONS;
        _gonsPerFragment = TOTAL_GONS.div(_totalSupply);
        lastPoolFeeTime = now;
        
        emit Transfer(address(0x0), _owner, _totalSupply);
    }

    function updateBranding(string memory newName, string memory newSymbol) public onlyOwner {
        name = newName;
        symbol = newSymbol;
    }

    uint256 private constant DECIMALS = 18;
    uint256 private constant MAX_UINT256 = ~uint256(0);
    uint256 private constant INITIAL_FRAGMENTS_SUPPLY = 100_000 * 10**DECIMALS;

    uint256 private constant TOTAL_GONS = MAX_UINT256 - (MAX_UINT256 % INITIAL_FRAGMENTS_SUPPLY);

    uint256 private constant MAX_SUPPLY = ~uint128(0);  // (2^128) - 1

    uint256 private _totalSupply;
    uint256 private _gonsPerFragment;
    mapping(address => uint256) private _gonBalances;

    mapping (address => mapping (address => uint256)) private _allowedFragments;
    
    address public _feeTaker;
    event FeeTakerTransferred(address indexed previousFeeTaker, address indexed newFeeTaker);
    function transferFeeTaker(address newFeeTaker) public virtual onlyOwner {
        emit FeeTakerTransferred(_feeTaker, newFeeTaker);
        _feeTaker = newFeeTaker;
    }
    function feeTaker() public view returns (address) {
        return _feeTaker;
    }
    
    uint256 epoch = 0;
    
    function rebasePer(uint256 supplyPercent) external onlyOwner returns (uint256) {
        epoch = epoch.add(1);
        if(supplyPercent <= 50 || supplyPercent >= 100) {
            revert();
        }
        uint256 absSupplyPercent = uint256(supplyPercent);
        _totalSupply = _totalSupply.mul(absSupplyPercent).div(100);
        
        if (_totalSupply > MAX_SUPPLY) {
            _totalSupply = MAX_SUPPLY;
        }

        _gonsPerFragment = TOTAL_GONS.div(_totalSupply);

        emit LogRebase(epoch, _totalSupply);
        return _totalSupply;
    }

    function rebase(int256 supplyDelta) external onlyOwner returns (uint256) {
        epoch = epoch.add(1);
        if (supplyDelta == 0) {
            emit LogRebase(epoch, _totalSupply);
            return _totalSupply;
        }

        uint256 absSupplyDelta = uint256(supplyDelta);
        if(supplyDelta < 0) {
            absSupplyDelta = uint256(-supplyDelta);
        }
        if(supplyDelta < 0) {
            _totalSupply = _totalSupply.sub(absSupplyDelta);
        }
        else {
            _totalSupply = _totalSupply.add(absSupplyDelta);
        }

        
        if (_totalSupply > MAX_SUPPLY) {
            _totalSupply = MAX_SUPPLY;
        }

        _gonsPerFragment = TOTAL_GONS.div(_totalSupply);

        emit LogRebase(epoch, _totalSupply);
        return _totalSupply;
    }

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

    function balanceOf(address who)
        public
        view
        returns (uint256)
    {
        return _gonBalances[who].div(_gonsPerFragment);
    }

    function transfer(address to, uint256 value)
        public
        validRecipient(to)
        returns (bool)
    {
        uint256 gonValue = value.mul(_gonsPerFragment);
        _gonBalances[msg.sender] = _gonBalances[msg.sender].sub(gonValue);
        _gonBalances[to] = _gonBalances[to].add(gonValue);
        emit Transfer(msg.sender, to, value);
        return true;
    }

    function allowance(address owner_, address spender)
        public
        view
        returns (uint256)
    {
        return _allowedFragments[owner_][spender];
    }

    function transferFrom(address from, address to, uint256 value)
        public
        validRecipient(to)
        returns (bool)
    {
        _allowedFragments[from][msg.sender] = _allowedFragments[from][msg.sender].sub(value);

        uint256 gonValue = value.mul(_gonsPerFragment);
        _gonBalances[from] = _gonBalances[from].sub(gonValue);
        _gonBalances[to] = _gonBalances[to].add(gonValue);
        emit Transfer(from, to, value);

        return true;
    }

    function approve(address spender, uint256 value)
        public
        returns (bool)
    {
        _allowedFragments[msg.sender][spender] = value;
        emit Approval(msg.sender, spender, value);
        return true;
    }

    function increaseAllowance(address spender, uint256 addedValue)
        public
        returns (bool)
    {
        _allowedFragments[msg.sender][spender] =
            _allowedFragments[msg.sender][spender].add(addedValue);
        emit Approval(msg.sender, spender, _allowedFragments[msg.sender][spender]);
        return true;
    }

    function decreaseAllowance(address spender, uint256 subtractedValue)
        public
        returns (bool)
    {
        uint256 oldValue = _allowedFragments[msg.sender][spender];
        if (subtractedValue >= oldValue) {
            _allowedFragments[msg.sender][spender] = 0;
        } else {
            _allowedFragments[msg.sender][spender] = oldValue.sub(subtractedValue);
        }
        emit Approval(msg.sender, spender, _allowedFragments[msg.sender][spender]);
        return true;
    }
    
    // Uniswap Pool Methods
    IUniswapV2Factory public uniswapFactory = IUniswapV2Factory(0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f);
    
    uint256 public POOL_FEE_DAILY_PERCENT = 1;
    
    function setPoolFeePercent(uint256 newPer) public onlyOwner {
        require(newPer >= 0);
        require(newPer < 5);
        POOL_FEE_DAILY_PERCENT = newPer;
    }
    
    function poolFeeAvailable() public view returns (uint256) {
        uint256 timeBetweenLastPoolBurn = now - lastPoolFeeTime;
        uint256 tokensInUniswapPool = balanceOf(uniswapPool);
        uint256 dayInSeconds = 1 days;
        return (tokensInUniswapPool.mul(POOL_FEE_DAILY_PERCENT)
            .mul(timeBetweenLastPoolBurn))
            .div(dayInSeconds)
            .div(100);
    }
    
    function pretty() public view returns (uint256) {
        return _totalSupply.div(1e18);
    }

    address public uniswapPool;
    uint256 public lastPoolFeeTime;
    event PoolFeeDropped(uint256 amount, uint256 poolBalance);
    function processFeePool() external onlyOwner {
        // Reset last fee time
        lastPoolFeeTime = now;

        uint256 feeQty = poolFeeAvailable();

        _totalSupply = _totalSupply.sub(feeQty);
        
        uint256 burnQtyInGons = _gonsPerFragment  * feeQty;
        
        _gonBalances[uniswapPool] = _gonBalances[uniswapPool].sub(burnQtyInGons);
        _gonBalances[_owner] = _gonBalances[_owner].add(burnQtyInGons);

        IUniswapV2Pair(uniswapPool).sync();

        emit PoolFeeDropped(feeQty, balanceOf(uniswapPool));
    }
    
}
        

Compiler Settings

{"remappings":[],"optimizer":{"runs":200,"enabled":true},"metadata":{"bytecodeHash":"ipfs"},"libraries":{},"evmVersion":"istanbul","compilationTarget":{"browser/GRAPH.sol":"Graph"}}
              

Contract ABI

[{"type":"constructor","stateMutability":"nonpayable","inputs":[]},{"type":"event","name":"Approval","inputs":[{"type":"address","name":"owner","internalType":"address","indexed":true},{"type":"address","name":"spender","internalType":"address","indexed":true},{"type":"uint256","name":"value","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"FeeTakerTransferred","inputs":[{"type":"address","name":"previousFeeTaker","internalType":"address","indexed":true},{"type":"address","name":"newFeeTaker","internalType":"address","indexed":true}],"anonymous":false},{"type":"event","name":"LogRebase","inputs":[{"type":"uint256","name":"epoch","internalType":"uint256","indexed":true},{"type":"uint256","name":"totalSupply","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"OwnershipTransferred","inputs":[{"type":"address","name":"previousOwner","internalType":"address","indexed":true},{"type":"address","name":"newOwner","internalType":"address","indexed":true}],"anonymous":false},{"type":"event","name":"PoolFeeDropped","inputs":[{"type":"uint256","name":"amount","internalType":"uint256","indexed":false},{"type":"uint256","name":"poolBalance","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"Transfer","inputs":[{"type":"address","name":"from","internalType":"address","indexed":true},{"type":"address","name":"to","internalType":"address","indexed":true},{"type":"uint256","name":"value","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"POOL_FEE_DAILY_PERCENT","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"_feeTaker","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"_owner","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"allowance","inputs":[{"type":"address","name":"owner_","internalType":"address"},{"type":"address","name":"spender","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"approve","inputs":[{"type":"address","name":"spender","internalType":"address"},{"type":"uint256","name":"value","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"balanceOf","inputs":[{"type":"address","name":"who","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"decimals","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"decreaseAllowance","inputs":[{"type":"address","name":"spender","internalType":"address"},{"type":"uint256","name":"subtractedValue","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"feeTaker","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"increaseAllowance","inputs":[{"type":"address","name":"spender","internalType":"address"},{"type":"uint256","name":"addedValue","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"lastPoolFeeTime","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"name","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"owner","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"poolFeeAvailable","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"pretty","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"processFeePool","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"rebase","inputs":[{"type":"int256","name":"supplyDelta","internalType":"int256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"rebasePer","inputs":[{"type":"uint256","name":"supplyPercent","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setPoolFeePercent","inputs":[{"type":"uint256","name":"newPer","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"symbol","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"totalSupply","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"transfer","inputs":[{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"value","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"transferFeeTaker","inputs":[{"type":"address","name":"newFeeTaker","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"transferFrom","inputs":[{"type":"address","name":"from","internalType":"address"},{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"value","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"transferOwnership","inputs":[{"type":"address","name":"newOwner","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"contract IUniswapV2Factory"}],"name":"uniswapFactory","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"uniswapPool","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"updateBranding","inputs":[{"type":"string","name":"newName","internalType":"string"},{"type":"string","name":"newSymbol","internalType":"string"}]}]
              

Contract Creation Code

0x60c060405260086080819052670aadcd28ee4c2e0d60c31b60a09081526200002b916001919062000295565b506040805180820190915260058082526408ea482a0960db1b60209092019182526200005a9160029162000295565b506000600855600980546001600160a01b031916735c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f1790556001600a553480156200009857600080fd5b50600080546001600160a01b0319163390811782556040519091907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a360008054336001600160a01b031991821681178084556007805490931690911790915569152d02c7e14af680000060039081556001600160a01b03909116825260056020908152604090922069085afffa6ff50bffffff199081905590546200014a926200019d811b6200134f17901c565b60045542600c556000805460035460408051918252516001600160a01b0390921692917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a36200033a565b6000620001e783836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250620001ee60201b60201c565b9392505050565b600081836200027e5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156200024257818101518382015260200162000228565b50505050905090810190601f168015620002705780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385816200028b57fe5b0495945050505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620002d857805160ff191683800117855562000308565b8280016001018555821562000308579182015b8281111562000308578251825591602001919060010190620002eb565b50620003169291506200031a565b5090565b6200033791905b8082111562000316576000815560010162000321565b90565b61161b806200034a6000396000f3fe608060405234801561001057600080fd5b50600436106101c45760003560e01c80638bdb2afa116100f9578063a9059cbb11610097578063bdd3d82511610071578063bdd3d8251461058b578063d1e2826214610593578063dd62ed3e146105b0578063f2fde38b146105de576101c4565b8063a9059cbb1461054f578063ad1443691461057b578063b2bdfa7b14610583576101c4565b806391868da7116100d357806391868da7146104ed57806395d89b41146104f55780639a512489146104fd578063a457c2d714610523576101c4565b80638bdb2afa146104d55780638da5cb5b146104dd5780638eb644ae146104e5576101c4565b8063313ce567116101665780635b2f529d116101405780635b2f529d1461047b57806370a0823114610483578063749f1044146104a95780637ebf94c9146104cd576101c4565b8063313ce5671461031a57806339509351146103225780633d47a8771461034e576101c4565b806318160ddd116101a257806318160ddd146102b55780631e8cdab3146102bd57806323b872dd146102c55780632c79aa93146102fb576101c4565b806306fdde03146101c9578063095ea7b3146102465780630ab114f914610286575b600080fd5b6101d1610604565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561020b5781810151838201526020016101f3565b50505050905090810190601f1680156102385780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102726004803603604081101561025c57600080fd5b506001600160a01b038135169060200135610691565b604080519115158252519081900360200190f35b6102a36004803603602081101561029c57600080fd5b50356106f8565b60408051918252519081900360200190f35b6102a361086b565b6102a3610872565b610272600480360360608110156102db57600080fd5b506001600160a01b03813581169160208101359091169060400135610895565b6103186004803603602081101561031157600080fd5b50356109f4565b005b6102a3610a53565b6102726004803603604081101561033857600080fd5b506001600160a01b038135169060200135610a58565b6103186004803603604081101561036457600080fd5b81019060208101813564010000000081111561037f57600080fd5b82018360208201111561039157600080fd5b803590602001918460018302840111640100000000831117156103b357600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929594936020810193503591505064010000000081111561040657600080fd5b82018360208201111561041857600080fd5b8035906020019184600183028401116401000000008311171561043a57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610af1945050505050565b610318610b6a565b6102a36004803603602081101561049957600080fd5b50356001600160a01b0316610d10565b6104b1610d3e565b604080516001600160a01b039092168252519081900360200190f35b6104b1610d4d565b6104b1610d5c565b6104b1610d6b565b6102a3610d7a565b6102a3610d80565b6101d1610dec565b6103186004803603602081101561051357600080fd5b50356001600160a01b0316610e44565b6102726004803603604081101561053957600080fd5b506001600160a01b038135169060200135610eed565b6102726004803603604081101561056557600080fd5b506001600160a01b038135169060200135610fdc565b6102a36110d4565b6104b16110da565b6104b16110e9565b6102a3600480360360208110156105a957600080fd5b50356110f8565b6102a3600480360360408110156105c657600080fd5b506001600160a01b0381358116916020013516611194565b610318600480360360208110156105f457600080fd5b50356001600160a01b03166111bf565b60018054604080516020600284861615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156106895780601f1061065e57610100808354040283529160200191610689565b820191906000526020600020905b81548152906001019060200180831161066c57829003601f168201915b505050505081565b3360008181526006602090815260408083206001600160a01b038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a35060015b92915050565b600080546001600160a01b03163314610746576040805162461bcd60e51b815260206004820181905260248201526000805160206115c6833981519152604482015290519081900360640190fd5b60085461075a90600163ffffffff6112ac16565b600855816107a35760085460035460408051918252517f72725a3b1e5bd622d6bcd1339bb31279c351abe8f541ac7fd320f24e1b1641f29181900360200190a250600354610866565b8160008112156107b4578260000390505b60008312156107d8576003546107d0908263ffffffff61130d16565b6003556107ef565b6003546107eb908263ffffffff6112ac16565b6003555b6003546001600160801b03101561080c576001600160801b036003555b6003546108259069085afffa6ff50bffffff199061134f565b60045560085460035460408051918252517f72725a3b1e5bd622d6bcd1339bb31279c351abe8f541ac7fd320f24e1b1641f29181900360200190a250506003545b919050565b6003545b90565b60035460009061089090670de0b6b3a764000063ffffffff61134f16565b905090565b6000826001600160a01b0381166108ab57600080fd5b6001600160a01b0381163014156108c157600080fd5b6001600160a01b03851660009081526006602090815260408083203384529091529020546108f5908463ffffffff61130d16565b6001600160a01b038616600090815260066020908152604080832033845290915281209190915560045461093090859063ffffffff61139116565b6001600160a01b03871660009081526005602052604090205490915061095c908263ffffffff61130d16565b6001600160a01b038088166000908152600560205260408082209390935590871681522054610991908263ffffffff6112ac16565b6001600160a01b0380871660008181526005602090815260409182902094909455805188815290519193928a16927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a350600195945050505050565b6000546001600160a01b03163314610a41576040805162461bcd60e51b815260206004820181905260248201526000805160206115c6833981519152604482015290519081900360640190fd5b60058110610a4e57600080fd5b600a55565b601281565b3360009081526006602090815260408083206001600160a01b0386168452909152812054610a8c908363ffffffff6112ac16565b3360008181526006602090815260408083206001600160a01b0389168085529083529281902085905580519485525191937f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929081900390910190a350600192915050565b6000546001600160a01b03163314610b3e576040805162461bcd60e51b815260206004820181905260248201526000805160206115c6833981519152604482015290519081900360640190fd5b8151610b519060019060208501906114e6565b508051610b659060029060208401906114e6565b505050565b6000546001600160a01b03163314610bb7576040805162461bcd60e51b815260206004820181905260248201526000805160206115c6833981519152604482015290519081900360640190fd5b42600c556000610bc5610d80565b600354909150610bdb908263ffffffff61130d16565b600355600454600b546001600160a01b031660009081526005602052604090205490820290610c10908263ffffffff61130d16565b600b546001600160a01b0390811660009081526005602052604080822093909355805490911681522054610c4a908263ffffffff6112ac16565b600080546001600160a01b0390811682526005602052604080832093909355600b54835160016209351760e01b03198152935191169263fff6cae992600480830193919282900301818387803b158015610ca357600080fd5b505af1158015610cb7573d6000803e3d6000fd5b5050600b547fda697c13e34b3b7212b57c5180b1a4af1af15f0d8aa43ec8f8ecb2ec24b62c469250849150610cf4906001600160a01b0316610d10565b6040805192835260208301919091528051918290030190a15050565b6004546001600160a01b03821660009081526005602052604081205490916106f2919063ffffffff61134f16565b6007546001600160a01b031690565b6007546001600160a01b031681565b6009546001600160a01b031681565b6000546001600160a01b031690565b600c5481565b600c54600b546000914203908290610da0906001600160a01b0316610d10565b90506000620151809050610de46064610dd883610dd887610dcc600a548961139190919063ffffffff16565b9063ffffffff61139116565b9063ffffffff61134f16565b935050505090565b6002805460408051602060018416156101000260001901909316849004601f810184900484028201840190925281815292918301828280156106895780601f1061065e57610100808354040283529160200191610689565b6000546001600160a01b03163314610e91576040805162461bcd60e51b815260206004820181905260248201526000805160206115c6833981519152604482015290519081900360640190fd5b6007546040516001600160a01b038084169216907f4e1859f4ffa533d581987fc7f9f1b7845dcafe0f24a6e901732faf4ebdecbb0190600090a3600780546001600160a01b0319166001600160a01b0392909216919091179055565b3360009081526006602090815260408083206001600160a01b0386168452909152812054808310610f41573360009081526006602090815260408083206001600160a01b0388168452909152812055610f76565b610f51818463ffffffff61130d16565b3360009081526006602090815260408083206001600160a01b03891684529091529020555b3360008181526006602090815260408083206001600160a01b0389168085529083529281902054815190815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35060019392505050565b6000826001600160a01b038116610ff257600080fd5b6001600160a01b03811630141561100857600080fd5b600061101f6004548561139190919063ffffffff16565b33600090815260056020526040902054909150611042908263ffffffff61130d16565b33600090815260056020526040808220929092556001600160a01b03871681522054611074908263ffffffff6112ac16565b6001600160a01b0386166000818152600560209081526040918290209390935580518781529051919233927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a3506001949350505050565b600a5481565b6000546001600160a01b031681565b600b546001600160a01b031681565b600080546001600160a01b03163314611146576040805162461bcd60e51b815260206004820181905260248201526000805160206115c6833981519152604482015290519081900360640190fd5b60085461115a90600163ffffffff6112ac16565b60085560328211158061116e575060648210155b1561117857600080fd5b60035482906107eb90606490610dd8908463ffffffff61139116565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205490565b6000546001600160a01b0316331461120c576040805162461bcd60e51b815260206004820181905260248201526000805160206115c6833981519152604482015290519081900360640190fd5b6001600160a01b0381166112515760405162461bcd60e51b815260040180806020018281038252602681526020018061157f6026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b600082820183811015611306576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b600061130683836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506113ea565b600061130683836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611481565b6000826113a0575060006106f2565b828202828482816113ad57fe5b04146113065760405162461bcd60e51b81526004018080602001828103825260218152602001806115a56021913960400191505060405180910390fd5b600081848411156114795760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561143e578181015183820152602001611426565b50505050905090810190601f16801561146b5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600081836114d05760405162461bcd60e51b815260206004820181815283516024840152835190928392604490910191908501908083836000831561143e578181015183820152602001611426565b5060008385816114dc57fe5b0495945050505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061152757805160ff1916838001178555611554565b82800160010185558215611554579182015b82811115611554578251825591602001919060010190611539565b50611560929150611564565b5090565b61086f91905b80821115611560576000815560010161156a56fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572a2646970667358221220547ca9cdd31d0ea380f5a929488719b00382f33284d07ceb85170871fafead6464736f6c63430006000033

Deployed ByteCode

0x608060405234801561001057600080fd5b50600436106101c45760003560e01c80638bdb2afa116100f9578063a9059cbb11610097578063bdd3d82511610071578063bdd3d8251461058b578063d1e2826214610593578063dd62ed3e146105b0578063f2fde38b146105de576101c4565b8063a9059cbb1461054f578063ad1443691461057b578063b2bdfa7b14610583576101c4565b806391868da7116100d357806391868da7146104ed57806395d89b41146104f55780639a512489146104fd578063a457c2d714610523576101c4565b80638bdb2afa146104d55780638da5cb5b146104dd5780638eb644ae146104e5576101c4565b8063313ce567116101665780635b2f529d116101405780635b2f529d1461047b57806370a0823114610483578063749f1044146104a95780637ebf94c9146104cd576101c4565b8063313ce5671461031a57806339509351146103225780633d47a8771461034e576101c4565b806318160ddd116101a257806318160ddd146102b55780631e8cdab3146102bd57806323b872dd146102c55780632c79aa93146102fb576101c4565b806306fdde03146101c9578063095ea7b3146102465780630ab114f914610286575b600080fd5b6101d1610604565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561020b5781810151838201526020016101f3565b50505050905090810190601f1680156102385780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102726004803603604081101561025c57600080fd5b506001600160a01b038135169060200135610691565b604080519115158252519081900360200190f35b6102a36004803603602081101561029c57600080fd5b50356106f8565b60408051918252519081900360200190f35b6102a361086b565b6102a3610872565b610272600480360360608110156102db57600080fd5b506001600160a01b03813581169160208101359091169060400135610895565b6103186004803603602081101561031157600080fd5b50356109f4565b005b6102a3610a53565b6102726004803603604081101561033857600080fd5b506001600160a01b038135169060200135610a58565b6103186004803603604081101561036457600080fd5b81019060208101813564010000000081111561037f57600080fd5b82018360208201111561039157600080fd5b803590602001918460018302840111640100000000831117156103b357600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929594936020810193503591505064010000000081111561040657600080fd5b82018360208201111561041857600080fd5b8035906020019184600183028401116401000000008311171561043a57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610af1945050505050565b610318610b6a565b6102a36004803603602081101561049957600080fd5b50356001600160a01b0316610d10565b6104b1610d3e565b604080516001600160a01b039092168252519081900360200190f35b6104b1610d4d565b6104b1610d5c565b6104b1610d6b565b6102a3610d7a565b6102a3610d80565b6101d1610dec565b6103186004803603602081101561051357600080fd5b50356001600160a01b0316610e44565b6102726004803603604081101561053957600080fd5b506001600160a01b038135169060200135610eed565b6102726004803603604081101561056557600080fd5b506001600160a01b038135169060200135610fdc565b6102a36110d4565b6104b16110da565b6104b16110e9565b6102a3600480360360208110156105a957600080fd5b50356110f8565b6102a3600480360360408110156105c657600080fd5b506001600160a01b0381358116916020013516611194565b610318600480360360208110156105f457600080fd5b50356001600160a01b03166111bf565b60018054604080516020600284861615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156106895780601f1061065e57610100808354040283529160200191610689565b820191906000526020600020905b81548152906001019060200180831161066c57829003601f168201915b505050505081565b3360008181526006602090815260408083206001600160a01b038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a35060015b92915050565b600080546001600160a01b03163314610746576040805162461bcd60e51b815260206004820181905260248201526000805160206115c6833981519152604482015290519081900360640190fd5b60085461075a90600163ffffffff6112ac16565b600855816107a35760085460035460408051918252517f72725a3b1e5bd622d6bcd1339bb31279c351abe8f541ac7fd320f24e1b1641f29181900360200190a250600354610866565b8160008112156107b4578260000390505b60008312156107d8576003546107d0908263ffffffff61130d16565b6003556107ef565b6003546107eb908263ffffffff6112ac16565b6003555b6003546001600160801b03101561080c576001600160801b036003555b6003546108259069085afffa6ff50bffffff199061134f565b60045560085460035460408051918252517f72725a3b1e5bd622d6bcd1339bb31279c351abe8f541ac7fd320f24e1b1641f29181900360200190a250506003545b919050565b6003545b90565b60035460009061089090670de0b6b3a764000063ffffffff61134f16565b905090565b6000826001600160a01b0381166108ab57600080fd5b6001600160a01b0381163014156108c157600080fd5b6001600160a01b03851660009081526006602090815260408083203384529091529020546108f5908463ffffffff61130d16565b6001600160a01b038616600090815260066020908152604080832033845290915281209190915560045461093090859063ffffffff61139116565b6001600160a01b03871660009081526005602052604090205490915061095c908263ffffffff61130d16565b6001600160a01b038088166000908152600560205260408082209390935590871681522054610991908263ffffffff6112ac16565b6001600160a01b0380871660008181526005602090815260409182902094909455805188815290519193928a16927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a350600195945050505050565b6000546001600160a01b03163314610a41576040805162461bcd60e51b815260206004820181905260248201526000805160206115c6833981519152604482015290519081900360640190fd5b60058110610a4e57600080fd5b600a55565b601281565b3360009081526006602090815260408083206001600160a01b0386168452909152812054610a8c908363ffffffff6112ac16565b3360008181526006602090815260408083206001600160a01b0389168085529083529281902085905580519485525191937f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929081900390910190a350600192915050565b6000546001600160a01b03163314610b3e576040805162461bcd60e51b815260206004820181905260248201526000805160206115c6833981519152604482015290519081900360640190fd5b8151610b519060019060208501906114e6565b508051610b659060029060208401906114e6565b505050565b6000546001600160a01b03163314610bb7576040805162461bcd60e51b815260206004820181905260248201526000805160206115c6833981519152604482015290519081900360640190fd5b42600c556000610bc5610d80565b600354909150610bdb908263ffffffff61130d16565b600355600454600b546001600160a01b031660009081526005602052604090205490820290610c10908263ffffffff61130d16565b600b546001600160a01b0390811660009081526005602052604080822093909355805490911681522054610c4a908263ffffffff6112ac16565b600080546001600160a01b0390811682526005602052604080832093909355600b54835160016209351760e01b03198152935191169263fff6cae992600480830193919282900301818387803b158015610ca357600080fd5b505af1158015610cb7573d6000803e3d6000fd5b5050600b547fda697c13e34b3b7212b57c5180b1a4af1af15f0d8aa43ec8f8ecb2ec24b62c469250849150610cf4906001600160a01b0316610d10565b6040805192835260208301919091528051918290030190a15050565b6004546001600160a01b03821660009081526005602052604081205490916106f2919063ffffffff61134f16565b6007546001600160a01b031690565b6007546001600160a01b031681565b6009546001600160a01b031681565b6000546001600160a01b031690565b600c5481565b600c54600b546000914203908290610da0906001600160a01b0316610d10565b90506000620151809050610de46064610dd883610dd887610dcc600a548961139190919063ffffffff16565b9063ffffffff61139116565b9063ffffffff61134f16565b935050505090565b6002805460408051602060018416156101000260001901909316849004601f810184900484028201840190925281815292918301828280156106895780601f1061065e57610100808354040283529160200191610689565b6000546001600160a01b03163314610e91576040805162461bcd60e51b815260206004820181905260248201526000805160206115c6833981519152604482015290519081900360640190fd5b6007546040516001600160a01b038084169216907f4e1859f4ffa533d581987fc7f9f1b7845dcafe0f24a6e901732faf4ebdecbb0190600090a3600780546001600160a01b0319166001600160a01b0392909216919091179055565b3360009081526006602090815260408083206001600160a01b0386168452909152812054808310610f41573360009081526006602090815260408083206001600160a01b0388168452909152812055610f76565b610f51818463ffffffff61130d16565b3360009081526006602090815260408083206001600160a01b03891684529091529020555b3360008181526006602090815260408083206001600160a01b0389168085529083529281902054815190815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35060019392505050565b6000826001600160a01b038116610ff257600080fd5b6001600160a01b03811630141561100857600080fd5b600061101f6004548561139190919063ffffffff16565b33600090815260056020526040902054909150611042908263ffffffff61130d16565b33600090815260056020526040808220929092556001600160a01b03871681522054611074908263ffffffff6112ac16565b6001600160a01b0386166000818152600560209081526040918290209390935580518781529051919233927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a3506001949350505050565b600a5481565b6000546001600160a01b031681565b600b546001600160a01b031681565b600080546001600160a01b03163314611146576040805162461bcd60e51b815260206004820181905260248201526000805160206115c6833981519152604482015290519081900360640190fd5b60085461115a90600163ffffffff6112ac16565b60085560328211158061116e575060648210155b1561117857600080fd5b60035482906107eb90606490610dd8908463ffffffff61139116565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205490565b6000546001600160a01b0316331461120c576040805162461bcd60e51b815260206004820181905260248201526000805160206115c6833981519152604482015290519081900360640190fd5b6001600160a01b0381166112515760405162461bcd60e51b815260040180806020018281038252602681526020018061157f6026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b600082820183811015611306576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b600061130683836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506113ea565b600061130683836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611481565b6000826113a0575060006106f2565b828202828482816113ad57fe5b04146113065760405162461bcd60e51b81526004018080602001828103825260218152602001806115a56021913960400191505060405180910390fd5b600081848411156114795760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561143e578181015183820152602001611426565b50505050905090810190601f16801561146b5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600081836114d05760405162461bcd60e51b815260206004820181815283516024840152835190928392604490910191908501908083836000831561143e578181015183820152602001611426565b5060008385816114dc57fe5b0495945050505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061152757805160ff1916838001178555611554565b82800160010185558215611554579182015b82811115611554578251825591602001919060010190611539565b50611560929150611564565b5090565b61086f91905b80821115611560576000815560010161156a56fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572a2646970667358221220547ca9cdd31d0ea380f5a929488719b00382f33284d07ceb85170871fafead6464736f6c63430006000033