ETH Price: $2,508.01 (-0.11%)

Token

Deerfi (DF-V1)
 

Overview

Max Total Supply

59.340266974882054504 DF-V1

Holders

1

Total Transfers

-

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Similar Match Source Code
This contract matches the deployed Bytecode of the Source Code for Contract 0xc9518162...F4Fe60773
The constructor portion of the code might be different and could alter the actual behaviour of the contract

Contract Name:
DeerfiV1Pair

Compiler Version
v0.5.16+commit.9c3226ce

Optimization Enabled:
Yes with 999999 runs

Other Settings:
istanbul EvmVersion, GNU GPLv3 license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2020-07-12
*/

// File: contracts/interfaces/IDeerfiV1Pair.sol

pragma solidity >=0.5.0;

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

    function name() external pure returns (string memory);
    function symbol() external pure returns (string memory);
    function decimals() external pure returns (uint8);
    function totalSupply() external view returns (uint);
    function balanceOf(address owner) external view returns (uint);
    function allowance(address owner, address spender) external view returns (uint);

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

    function DOMAIN_SEPARATOR() external view returns (bytes32);
    function PERMIT_TYPEHASH() external pure returns (bytes32);
    function nonces(address owner) external view returns (uint);

    function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external;

    event Mint(address indexed sender, uint amountLiqidity);
    event Burn(address indexed sender, uint amountLiqidity, address indexed to);
    event LongSwap(
        address indexed sender,
        uint amountTradeTokenIn,
        uint amountLongTokenOut,
        address indexed to
    );
    event CloseSwap(
        address indexed sender,
        uint amountLongTokenIn,
        uint amountTradeTokenOut,
        address indexed to
    );
    event Sync(uint256 reserveTradeToken);

    function MINIMUM_LIQUIDITY() external pure returns (uint);
    function factory() external view returns (address);
    function tradeToken() external view returns (address);
    function fromToken() external view returns (address);
    function toToken() external view returns (address);
    function longToken() external view returns (address);

    function getReserves() external view returns (uint256 reserveTradeToken);
    function kLast() external view returns (uint);

    function mint(address to) external returns (uint liquidity);
    function burn(address to) external returns (uint amountTradeToken);
    function swap(address to) external;
    function closeSwap(address to) external;
    function skim(address to) external;
    function sync() external;

    function initialize(address, address, address, address) external;
}

// File: contracts/interfaces/IDeerfiV1ERC20.sol

pragma solidity >=0.5.0;

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

    function name() external pure returns (string memory);
    function symbol() external pure returns (string memory);
    function decimals() external pure returns (uint8);
    function totalSupply() external view returns (uint);
    function balanceOf(address owner) external view returns (uint);
    function allowance(address owner, address spender) external view returns (uint);

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

    function DOMAIN_SEPARATOR() external view returns (bytes32);
    function PERMIT_TYPEHASH() external pure returns (bytes32);
    function nonces(address owner) external view returns (uint);

    function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external;
}

// File: contracts/libraries/SafeMath.sol

pragma solidity =0.5.16;

// a library for performing overflow-safe math, courtesy of DappHub (https://github.com/dapphub/ds-math)

library SafeMath {
    function add(uint x, uint y) internal pure returns (uint z) {
        require((z = x + y) >= x, 'ds-math-add-overflow');
    }

    function sub(uint x, uint y) internal pure returns (uint z) {
        require((z = x - y) <= x, 'ds-math-sub-underflow');
    }

    function mul(uint x, uint y) internal pure returns (uint z) {
        require(y == 0 || (z = x * y) / y == x, 'ds-math-mul-overflow');
    }
}

// File: contracts/DeerfiV1ERC20.sol

pragma solidity =0.5.16;



contract DeerfiV1ERC20 is IDeerfiV1ERC20 {
    using SafeMath for uint;

    string public constant name = 'Deerfi';
    string public constant symbol = 'DF-V1';
    uint8 public constant decimals = 18;
    uint  public totalSupply;
    mapping(address => uint) public balanceOf;
    mapping(address => mapping(address => uint)) public allowance;

    bytes32 public DOMAIN_SEPARATOR;
    // keccak256("Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)");
    bytes32 public constant PERMIT_TYPEHASH = 0x6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9;
    mapping(address => uint) public nonces;

    event Approval(address indexed owner, address indexed spender, uint value);
    event Transfer(address indexed from, address indexed to, uint value);

    constructor() public {
        uint chainId;
        assembly {
            chainId := chainid
        }
        DOMAIN_SEPARATOR = keccak256(
            abi.encode(
                keccak256('EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)'),
                keccak256(bytes(name)),
                keccak256(bytes('1')),
                chainId,
                address(this)
            )
        );
    }

    function _mint(address to, uint value) internal {
        totalSupply = totalSupply.add(value);
        balanceOf[to] = balanceOf[to].add(value);
        emit Transfer(address(0), to, value);
    }

    function _burn(address from, uint value) internal {
        balanceOf[from] = balanceOf[from].sub(value);
        totalSupply = totalSupply.sub(value);
        emit Transfer(from, address(0), value);
    }

    function _approve(address owner, address spender, uint value) private {
        allowance[owner][spender] = value;
        emit Approval(owner, spender, value);
    }

    function _transfer(address from, address to, uint value) private {
        balanceOf[from] = balanceOf[from].sub(value);
        balanceOf[to] = balanceOf[to].add(value);
        emit Transfer(from, to, value);
    }

    function approve(address spender, uint value) external returns (bool) {
        _approve(msg.sender, spender, value);
        return true;
    }

    function transfer(address to, uint value) external returns (bool) {
        _transfer(msg.sender, to, value);
        return true;
    }

    function transferFrom(address from, address to, uint value) external returns (bool) {
        if (allowance[from][msg.sender] != uint(-1)) {
            allowance[from][msg.sender] = allowance[from][msg.sender].sub(value);
        }
        _transfer(from, to, value);
        return true;
    }

    function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external {
        require(deadline >= block.timestamp, 'DeerfiV1: EXPIRED');
        bytes32 digest = keccak256(
            abi.encodePacked(
                '\x19\x01',
                DOMAIN_SEPARATOR,
                keccak256(abi.encode(PERMIT_TYPEHASH, owner, spender, value, nonces[owner]++, deadline))
            )
        );
        address recoveredAddress = ecrecover(digest, v, r, s);
        require(recoveredAddress != address(0) && recoveredAddress == owner, 'DeerfiV1: INVALID_SIGNATURE');
        _approve(owner, spender, value);
    }
}

// File: contracts/libraries/Math.sol

pragma solidity =0.5.16;

// a library for performing various math operations

library Math {
    function min(uint x, uint y) internal pure returns (uint z) {
        z = x < y ? x : y;
    }
}

// File: contracts/interfaces/IERC20.sol

pragma solidity >=0.5.0;

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

    function name() external view returns (string memory);
    function symbol() external view returns (string memory);
    function decimals() external view returns (uint8);
    function totalSupply() external view returns (uint);
    function balanceOf(address owner) external view returns (uint);
    function allowance(address owner, address spender) external view returns (uint);

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

// File: contracts/interfaces/IDeerfiV1Factory.sol

pragma solidity >=0.5.0;

interface IDeerfiV1Factory {
    event PairCreated(address indexed tradeToken, address indexed fromToken, address indexed toToken, address pair, address longToken, uint);
    event FeedPairCreated(address indexed tokenA, address indexed tokenB, address indexed feedPair, uint);

    function feeTo() external view returns (address);
    function feeToSetter() external view returns (address);
    function feeFactor() external view returns (uint16);

    function getPair(address tradeToken, address fromToken, address toToken) external view returns (address pair);
    function getFeedPair(address tokenA, address tokenB) external view returns (address feedPair);
    function allPairsLength() external view returns (uint);
    function allFeedPairsLength() external view returns (uint);

    function createPair(address tradeToken, address fromToken, address toToken) external returns (address pair);
    function setFeedPair(address tokenA, address tokenB, uint8 decimalsA, uint8 decimalsB,
        address aggregator0, address aggregator1, uint8 decimals0, uint8 decimals1, bool isReverse0, bool isReverse1) external returns (address feedPair);

    function setFeeTo(address) external;
    function setFeeFactor(uint16) external;
    function setFeeToSetter(address) external;
}

// File: contracts/interfaces/IDeerfiV1FeedPair.sol

pragma solidity >=0.5.0;

interface IDeerfiV1FeedPair {
    function factory() external view returns (address);
    function tokenA() external view returns (address);
    function tokenB() external view returns (address);
    function decimalsA() external view returns (uint8);
    function decimalsB() external view returns (uint8);
    function aggregator0() external view returns (address);
    function aggregator1() external view returns (address);
    function decimals0() external view returns (uint8);
    function decimals1() external view returns (uint8);
    function isReverse0() external view returns (bool);
    function isReverse1() external view returns (bool);
    function initialize(address, address, uint8, uint8, address, address, uint8, uint8, bool, bool) external;
    function getReserves() external view returns (uint reserveA, uint reserveB);
}

// File: contracts/interfaces/IDeerfiV1SwapToken.sol

pragma solidity >=0.5.0;

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

    function name() external pure returns (string memory);
    function symbol() external pure returns (string memory);
    function decimals() external pure returns (uint8);
    function totalSupply() external view returns (uint);
    function balanceOf(address owner) external view returns (uint);
    function allowance(address owner, address spender) external view returns (uint);

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

    function mint(address to, uint value) external returns (bool);
    function burn(address from, uint value) external returns (bool);

    function transferOwnership(address _newOwner) external;
}

// File: contracts/libraries/Ownable.sol

pragma solidity =0.5.16;

/**
 * @title Ownable contract
 * @dev The Ownable contract has an owner address, and provides basic authorization control functions.
 */
contract Ownable {
    address public owner;

    // Modifiers
    modifier onlyOwner() {
        require(msg.sender == owner);
        _;
    }

    modifier validAddress(address _address) {
        require(_address != address(0));
        _;
    }

    // Events
    event OwnershipTransferred(address indexed _previousOwner, address indexed _newOwner);

    /// @dev The Ownable constructor sets the original `owner` of the contract to the sender account.
    constructor(address _owner) public validAddress(_owner) {
        owner = _owner;
    }

    /// @dev Allows the current owner to transfer control of the contract to a newOwner.
    /// @param _newOwner The address to transfer ownership to.
    function transferOwnership(address _newOwner) public onlyOwner validAddress(_newOwner) {
        emit OwnershipTransferred(owner, _newOwner);
        owner = _newOwner;
    }
}

// File: contracts/DeerfiV1SwapToken.sol

pragma solidity =0.5.16;




contract DeerfiV1SwapToken is IDeerfiV1SwapToken, Ownable {
    using SafeMath for uint;

    string public constant name = 'Deerfi Swap Token';
    string public constant symbol = 'DFT-V1';
    uint8 public constant decimals = 18;
    uint  public totalSupply;
    mapping(address => uint) public balanceOf;
    mapping(address => mapping(address => uint)) public allowance;

    event Approval(address indexed owner, address indexed spender, uint value);
    event Transfer(address indexed from, address indexed to, uint value);

    constructor() Ownable(msg.sender) public {
    }

    function _approve(address owner, address spender, uint value) private {
        allowance[owner][spender] = value;
        emit Approval(owner, spender, value);
    }

    function _transfer(address from, address to, uint value) private {
        balanceOf[from] = balanceOf[from].sub(value);
        balanceOf[to] = balanceOf[to].add(value);
        emit Transfer(from, to, value);
    }

    function approve(address spender, uint value) external returns (bool) {
        _approve(msg.sender, spender, value);
        return true;
    }

    function transfer(address to, uint value) external returns (bool) {
        _transfer(msg.sender, to, value);
        return true;
    }

    function transferFrom(address from, address to, uint value) external returns (bool) {
        if (allowance[from][msg.sender] != uint(-1)) {
            allowance[from][msg.sender] = allowance[from][msg.sender].sub(value);
        }
        _transfer(from, to, value);
        return true;
    }

    function mint(address to, uint value) external onlyOwner returns (bool) {
        totalSupply = totalSupply.add(value);
        balanceOf[to] = balanceOf[to].add(value);
        emit Transfer(address(0), to, value);
        return true;
    }

    function burn(address from, uint value) external onlyOwner returns (bool){
        balanceOf[from] = balanceOf[from].sub(value);
        totalSupply = totalSupply.sub(value);
        emit Transfer(from, address(0), value);
        return true;
    }
}

// File: contracts/DeerfiV1Pair.sol

pragma solidity =0.5.16;








contract DeerfiV1Pair is IDeerfiV1Pair, DeerfiV1ERC20 {
    using SafeMath for uint;

    uint public constant MINIMUM_LIQUIDITY = 10**3;
    bytes4 private constant SELECTOR = bytes4(keccak256(bytes('transfer(address,uint256)')));
    bytes4 private constant MINT_SELECTOR = bytes4(keccak256(bytes('mint(address,uint256)')));
    bytes4 private constant BURN_SELECTOR = bytes4(keccak256(bytes('burn(address,uint256)')));

    address public factory;
    address public tradeToken;
    address public fromToken;
    address public toToken;
    address public longToken;

    uint256 private reserveTradeToken;  // uses single storage slot, accessible via getReserves

    uint public kLast; // reserveTradeToken, as of immediately after the most recent liquidity event

    uint private unlocked = 1;
    modifier lock() {
        require(unlocked == 1, 'DeerfiV1: LOCKED');
        unlocked = 0;
        _;
        unlocked = 1;
    }

    function getReserves() public view returns (uint256 _reserveTradeToken) {
        _reserveTradeToken = reserveTradeToken;
    }

    function _safeTransfer(address token, address to, uint value) private {
        (bool success, bytes memory data) = token.call(abi.encodeWithSelector(SELECTOR, to, value));
        require(success && (data.length == 0 || abi.decode(data, (bool))), 'DeerfiV1: TRANSFER_FAILED');
    }

    function _safeMint(address token, address to, uint value) private {
        (bool success, bytes memory data) = token.call(abi.encodeWithSelector(MINT_SELECTOR, to, value));
        require(success && (data.length == 0 || abi.decode(data, (bool))), 'DeerfiV1: MINT_FAILED');
    }

    function _safeBurn(address token, address from, uint value) private {
        (bool success, bytes memory data) = token.call(abi.encodeWithSelector(BURN_SELECTOR, from, value));
        require(success && (data.length == 0 || abi.decode(data, (bool))), 'DeerfiV1: BURN_FAILED');
    }

    event Mint(address indexed sender, uint amountLiqidity);
    event Burn(address indexed sender, uint amountLiqidity, address indexed to);
    event LongSwap(
        address indexed sender,
        uint amountTradeTokenIn,
        uint amountLongTokenOut,
        address indexed to
    );
    event CloseSwap(
        address indexed sender,
        uint amountLongTokenIn,
        uint amountTradeTokenOut,
        address indexed to
    );
    event Sync(uint256 reserveTradeToken);

    constructor() public {
        factory = msg.sender;
    }

    // calculates the CREATE2 address for a feed pair without making any external calls
    function feedPairFor(address tokenA, address tokenB) internal view returns (address feedPair) {
        feedPair = address(uint(keccak256(abi.encodePacked(
            hex'ff',
            factory,
            keccak256(abi.encodePacked(tokenA, tokenB)),
            hex'b557e6ca017e5e64c7b98af8b844db236b5b74c622e26e209bef1f92d2e5b7df' // init code hash
        ))));
    }

    // called once by the factory at time of deployment
    function initialize(address _tradeToken, address _fromToken, address _toToken, address _longToken) external {
        require(msg.sender == factory, 'DeerfiV1: FORBIDDEN'); // sufficient check
        tradeToken = _tradeToken;
        fromToken = _fromToken;
        toToken = _toToken;
        longToken = _longToken;
    }

    // update reserves and, on the first call per block
    function _update(uint balanceTradeToken) private {
        require(balanceTradeToken <= uint256(-1), 'DeerfiV1: OVERFLOW');
        reserveTradeToken = uint256(balanceTradeToken);
        emit Sync(reserveTradeToken);
    }

    // if fee is on, mint liquidity equivalent to 1/6th of the growth in
    function _mintFee(uint256 rootK) private returns (bool feeOn) {
        address feeTo = IDeerfiV1Factory(factory).feeTo();
        feeOn = feeTo != address(0);
        uint _kLast = kLast; // gas savings
        if (feeOn) {
            if (_kLast != 0) {
                if (rootK > _kLast) {
                    uint numerator = totalSupply.mul(rootK.sub(_kLast));
                    uint denominator = rootK.mul(5).add(_kLast);
                    uint liquidity = numerator / denominator;
                    if (liquidity > 0) _mint(feeTo, liquidity);
                }
            }
        } else if (_kLast != 0) {
            kLast = 0;
        }
    }

    // given some amount of an asset and pair reserves, returns an equivalent amount of the other asset
    function quote(uint256 amountA, uint256 reserveA, uint256 reserveB) internal pure returns (uint amountB) {
        require(amountA >= 0, 'DeerfiV1: INSUFFICIENT_AMOUNT');
        require(reserveA > 0 && reserveB > 0, 'DeerfiV1: INSUFFICIENT_LIQUIDITY');
        amountB = amountA.mul(reserveB) / reserveA;
    }

    // this low-level function should be called from a contract which performs important safety checks
    function mint(address to) external lock returns (uint liquidity) {
        uint256 _reserveTradeToken = getReserves(); // gas savings
        uint balanceTradeToken = IERC20(tradeToken).balanceOf(address(this));
        uint amountTradeToken = balanceTradeToken.sub(_reserveTradeToken);

        uint256 amountUserTradeToken;
        {
        (uint reserveOut, uint reserveIn) = IDeerfiV1FeedPair(feedPairFor(fromToken, toToken)).getReserves();
        uint amountSwapTokenIn = IERC20(longToken).totalSupply();
        amountUserTradeToken = Math.min(quote(amountSwapTokenIn, reserveIn, reserveOut), _reserveTradeToken);
        }

        bool feeOn = _mintFee(_reserveTradeToken.sub(amountUserTradeToken));
        uint _totalSupply = totalSupply; // gas savings, must be defined here since totalSupply can update in _mintFee

        if (_totalSupply == 0 || _reserveTradeToken <= amountUserTradeToken) {
            liquidity = amountTradeToken.sub(MINIMUM_LIQUIDITY);
           _mint(address(0), MINIMUM_LIQUIDITY); // permanently lock the first MINIMUM_LIQUIDITY tokens
        } else {
            liquidity = Math.min(amountTradeToken.mul(_totalSupply) / (_reserveTradeToken.sub(amountUserTradeToken)), amountTradeToken);
        }
        require(liquidity > 0, 'DeerfiV1: INSUFFICIENT_LIQUIDITY_MINTED');
        _mint(to, liquidity);

        _update(balanceTradeToken);
        if (feeOn) kLast = uint(reserveTradeToken.sub(amountUserTradeToken)); // reserve0 and reserve1 are up-to-date
        emit Mint(msg.sender, amountTradeToken);
    }

    // this low-level function should be called from a contract which performs important safety checks
    function burn(address to) external lock returns (uint amountTradeToken) {
        uint256 _reserveTradeToken = getReserves(); // gas savings
        address _tradeToken = tradeToken;           // gas savings
        uint balanceTradeToken = IERC20(_tradeToken).balanceOf(address(this));
        uint liquidity = balanceOf[address(this)];

        uint amountUserTradeToken;
        {
        (uint reserveOut, uint reserveIn) = IDeerfiV1FeedPair(feedPairFor(fromToken, toToken)).getReserves();
        uint amountSwapTokenIn = IERC20(longToken).totalSupply();
        amountUserTradeToken = Math.min(quote(amountSwapTokenIn, reserveIn, reserveOut), _reserveTradeToken);
        }

        bool feeOn = _mintFee(_reserveTradeToken.sub(amountUserTradeToken));
        uint _totalSupply = totalSupply; // gas savings, must be defined here since totalSupply can update in _mintFee

        amountTradeToken = liquidity.mul(balanceTradeToken.sub(amountUserTradeToken)) / _totalSupply; // using balances ensures pro-rata distribution
        require(amountTradeToken > 0, 'DeerfiV1: INSUFFICIENT_LIQUIDITY_BURNED');
        _burn(address(this), liquidity);
        _safeTransfer(_tradeToken, to, amountTradeToken);
        balanceTradeToken = IERC20(_tradeToken).balanceOf(address(this));

        _update(balanceTradeToken);
        if (feeOn) kLast = uint(reserveTradeToken.sub(amountUserTradeToken)); // reserve0 and reserve1 are up-to-date
        emit Burn(msg.sender, amountTradeToken, to);
    }

    // this low-level function should be called from a contract which performs important safety checks
    function swap(address to) external lock {
        uint256 _reserveTradeToken = getReserves(); // gas savings

        uint balanceTradeToken;
        uint reserveIn;
        uint reserveOut;
        address _swapToken = longToken;
        { // scope for _token{0,1}, avoids stack too deep errors
        address _tradeToken = tradeToken;
        require(to != _tradeToken, 'DeerfiV1: INVALID_TO');
        (reserveIn, reserveOut) = IDeerfiV1FeedPair(feedPairFor(fromToken, toToken)).getReserves();
        balanceTradeToken = IERC20(_tradeToken).balanceOf(address(this));
        }
        uint amountTradeTokenIn = balanceTradeToken > _reserveTradeToken ? balanceTradeToken.sub(_reserveTradeToken) : 0;
        require(amountTradeTokenIn > 0, 'DeerfiV1: INSUFFICIENT_INPUT_AMOUNT');
        uint16 feeFactor = IDeerfiV1Factory(factory).feeFactor();
        uint amountSwapTokenOut = quote(amountTradeTokenIn, reserveIn, reserveOut).mul(feeFactor) / (1000);
        require(amountSwapTokenOut > 0, 'DeerfiV1: INSUFFICIENT_OUTPUT_AMOUNT');
        _safeMint(_swapToken, to, amountSwapTokenOut); // optimistically mint tokens

        _update(balanceTradeToken);
        emit LongSwap(msg.sender, amountTradeTokenIn, amountSwapTokenOut, to);
    }

    // this low-level function should be called from a contract which performs important safety checks
    function closeSwap(address to) external lock {
        uint amountSwapTokenIn;
        uint reserveIn;
        uint reserveOut;
        address _tradeToken = tradeToken;
        { // scope for _token{0,1}, avoids stack too deep errors
        address _swapToken = longToken;
        require(to != _tradeToken, 'DeerfiV1: INVALID_TO');
        (reserveOut, reserveIn) = IDeerfiV1FeedPair(feedPairFor(fromToken, toToken)).getReserves();
        amountSwapTokenIn = IERC20(_swapToken).balanceOf(address(this));
        require(amountSwapTokenIn > 0, 'DeerfiV1: INSUFFICIENT_INPUT_AMOUNT');
        _safeBurn(_swapToken, address(this), amountSwapTokenIn); // optimistically mint tokens
        }
        uint16 feeFactor = IDeerfiV1Factory(factory).feeFactor();
        uint amountTradeTokenOut = quote(amountSwapTokenIn, reserveIn, reserveOut).mul(feeFactor) / (1000);
        require(amountTradeTokenOut > 0, 'DeerfiV1: INSUFFICIENT_OUTPUT_AMOUNT');
        _safeTransfer(_tradeToken, to, amountTradeTokenOut); // optimistically transfer tokens
        uint balanceTradeToken = IERC20(_tradeToken).balanceOf(address(this));

        _update(balanceTradeToken);
        emit CloseSwap(msg.sender, amountSwapTokenIn, amountTradeTokenOut, to);
    }

    // force balances to match reserves
    function skim(address to) external lock {
        address _tradeToken = tradeToken; // gas savings
        _safeTransfer(_tradeToken, to, IERC20(_tradeToken).balanceOf(address(this)).sub(reserveTradeToken));
    }

    // force reserves to match balances
    function sync() external lock {
        _update(IERC20(tradeToken).balanceOf(address(this)));
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"amountLiqidity","type":"uint256"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"Burn","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"amountLongTokenIn","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amountTradeTokenOut","type":"uint256"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"CloseSwap","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"amountTradeTokenIn","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amountLongTokenOut","type":"uint256"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"LongSwap","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"amountLiqidity","type":"uint256"}],"name":"Mint","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"reserveTradeToken","type":"uint256"}],"name":"Sync","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"},{"constant":true,"inputs":[],"name":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"MINIMUM_LIQUIDITY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"PERMIT_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"burn","outputs":[{"internalType":"uint256","name":"amountTradeToken","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"closeSwap","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"factory","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"fromToken","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getReserves","outputs":[{"internalType":"uint256","name":"_reserveTradeToken","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_tradeToken","type":"address"},{"internalType":"address","name":"_fromToken","type":"address"},{"internalType":"address","name":"_toToken","type":"address"},{"internalType":"address","name":"_longToken","type":"address"}],"name":"initialize","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"kLast","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"longToken","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"mint","outputs":[{"internalType":"uint256","name":"liquidity","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"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":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"skim","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"swap","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"sync","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"toToken","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"tradeToken","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"}]

60806040526001600c5534801561001557600080fd5b506040514690806052612f9e8239604080519182900360520182208282018252600683526544656572666960d01b6020938401528151808301835260018152603160f81b908401528151808401919091527fbfe54f407930cd7cef27818265fc2f38444f5f7686675a9ea96fc0520496559d818301527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc6606082015260808101949094523060a0808601919091528151808603909101815260c09094019052825192019190912060035550600580546001600160a01b03191633179055612e9d806101016000396000f3fe608060405234801561001057600080fd5b50600436106101c45760003560e01c80637464fc3d116100f9578063bc25cf7711610097578063d83678ac11610071578063d83678ac14610585578063dd62ed3e1461058d578063f8c8765e146105c8578063fff6cae914610613576101c4565b8063bc25cf77146104ec578063c45a01551461051f578063d505accf14610527576101c4565b806395d89b41116100d357806395d89b411461049b578063a9059cbb146104a3578063b66333cd146104dc578063ba9a7a56146104e4576101c4565b80637464fc3d1461042d5780637ecebe001461043557806389afcb4414610468576101c4565b806330adf81f116101665780633644e515116101405780633644e515146103b75780633c930575146103bf5780636a627842146103c757806370a08231146103fa576101c4565b806330adf81f14610360578063313ce5671461036857806332a4685714610386576101c4565b8063095ea7b3116101a2578063095ea7b31461029557806314f4d475146102e257806318160ddd1461031557806323b872dd1461031d576101c4565b806303438dd0146101c957806306fdde03146101fe5780630902f1ac1461027b575b600080fd5b6101fc600480360360208110156101df57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff1661061b565b005b610206610a89565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610240578181015183820152602001610228565b50505050905090810190601f16801561026d5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610283610ac2565b60408051918252519081900360200190f35b6102ce600480360360408110156102ab57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135610ac8565b604080519115158252519081900360200190f35b6101fc600480360360208110156102f857600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610adf565b610283610fb6565b6102ce6004803603606081101561033357600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813581169160208101359091169060400135610fbc565b61028361109b565b6103706110bf565b6040805160ff9092168252519081900360200190f35b61038e6110c4565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b6102836110e0565b61038e6110e6565b610283600480360360208110156103dd57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16611102565b6102836004803603602081101561041057600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166114fb565b61028361150d565b6102836004803603602081101561044b57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16611513565b6102836004803603602081101561047e57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16611525565b610206611992565b6102ce600480360360408110156104b957600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81351690602001356119cb565b61038e6119d8565b6102836119f4565b6101fc6004803603602081101561050257600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166119fa565b61038e611b39565b6101fc600480360360e081101561053d57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813581169160208101359091169060408101359060608101359060ff6080820135169060a08101359060c00135611b55565b61038e611e21565b610283600480360360408110156105a357600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81358116916020013516611e3d565b6101fc600480360360808110156105de57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135811691602081013582169160408201358116916060013516611e5a565b6101fc611f55565b600c5460011461068c57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f44656572666956313a204c4f434b454400000000000000000000000000000000604482015290519081900360640190fd5b6000600c81905561069b610ac2565b6009546006549192506000918291829173ffffffffffffffffffffffffffffffffffffffff9182169190811690871681141561073857604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f44656572666956313a20494e56414c49445f544f000000000000000000000000604482015290519081900360640190fd5b6007546008546107619173ffffffffffffffffffffffffffffffffffffffff9081169116612075565b73ffffffffffffffffffffffffffffffffffffffff16630902f1ac6040518163ffffffff1660e01b8152600401604080518083038186803b1580156107a557600080fd5b505afa1580156107b9573d6000803e3d6000fd5b505050506040513d60408110156107cf57600080fd5b508051602091820151604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905192975090955073ffffffffffffffffffffffffffffffffffffffff8416926370a0823192602480840193829003018186803b15801561084557600080fd5b505afa158015610859573d6000803e3d6000fd5b505050506040513d602081101561086f57600080fd5b5051945060009050858511610885576000610895565b610895858763ffffffff61214a16565b9050600081116108f0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526023815260200180612dfb6023913960400191505060405180910390fd5b600554604080517ff91d27c1000000000000000000000000000000000000000000000000000000008152905160009273ffffffffffffffffffffffffffffffffffffffff169163f91d27c1916004808301926020929190829003018186803b15801561095b57600080fd5b505afa15801561096f573d6000803e3d6000fd5b505050506040513d602081101561098557600080fd5b5051905060006103e86109ad61ffff84166109a1868a8a6121bc565b9063ffffffff61225916565b816109b457fe5b04905060008111610a10576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526024815260200180612e1e6024913960400191505060405180910390fd5b610a1b848a836122df565b610a24876124ec565b6040805184815260208101839052815173ffffffffffffffffffffffffffffffffffffffff8c169233927fe8a6ebea76f280a39af7019719164dbf2a2552f8586d0a7e90286f8980ba57a9929081900390910190a350506001600c5550505050505050565b6040518060400160405280600681526020017f446565726669000000000000000000000000000000000000000000000000000081525081565b600a5490565b6000610ad5338484612527565b5060015b92915050565b600c54600114610b5057604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f44656572666956313a204c4f434b454400000000000000000000000000000000604482015290519081900360640190fd5b6000600c8190556006546009548291829173ffffffffffffffffffffffffffffffffffffffff91821691908116908616821415610bee57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f44656572666956313a20494e56414c49445f544f000000000000000000000000604482015290519081900360640190fd5b600754600854610c179173ffffffffffffffffffffffffffffffffffffffff9081169116612075565b73ffffffffffffffffffffffffffffffffffffffff16630902f1ac6040518163ffffffff1660e01b8152600401604080518083038186803b158015610c5b57600080fd5b505afa158015610c6f573d6000803e3d6000fd5b505050506040513d6040811015610c8557600080fd5b508051602091820151604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905191975091955073ffffffffffffffffffffffffffffffffffffffff8416926370a082319260248082019391829003018186803b158015610cfc57600080fd5b505afa158015610d10573d6000803e3d6000fd5b505050506040513d6020811015610d2657600080fd5b5051945084610d80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526023815260200180612dfb6023913960400191505060405180910390fd5b610d8b813087612596565b50600554604080517ff91d27c1000000000000000000000000000000000000000000000000000000008152905160009273ffffffffffffffffffffffffffffffffffffffff169163f91d27c1916004808301926020929190829003018186803b158015610df757600080fd5b505afa158015610e0b573d6000803e3d6000fd5b505050506040513d6020811015610e2157600080fd5b5051905060006103e8610e3d61ffff84166109a18989896121bc565b81610e4457fe5b04905060008111610ea0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526024815260200180612e1e6024913960400191505060405180910390fd5b610eab83888361279c565b604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905160009173ffffffffffffffffffffffffffffffffffffffff8616916370a0823191602480820192602092909190829003018186803b158015610f1b57600080fd5b505afa158015610f2f573d6000803e3d6000fd5b505050506040513d6020811015610f4557600080fd5b50519050610f52816124ec565b6040805188815260208101849052815173ffffffffffffffffffffffffffffffffffffffff8b169233927f91f1b6b270bb2697938aacfe4275424e452fb651858e1818d5c420e30dd05cea929081900390910190a350506001600c55505050505050565b60005481565b73ffffffffffffffffffffffffffffffffffffffff831660009081526002602090815260408083203384529091528120547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff146110865773ffffffffffffffffffffffffffffffffffffffff84166000908152600260209081526040808320338452909152902054611054908363ffffffff61214a16565b73ffffffffffffffffffffffffffffffffffffffff851660009081526002602090815260408083203384529091529020555b6110918484846129a2565b5060019392505050565b7f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c981565b601281565b60075473ffffffffffffffffffffffffffffffffffffffff1681565b60035481565b60085473ffffffffffffffffffffffffffffffffffffffff1681565b6000600c5460011461117557604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f44656572666956313a204c4f434b454400000000000000000000000000000000604482015290519081900360640190fd5b6000600c819055611184610ac2565b600654604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905192935060009273ffffffffffffffffffffffffffffffffffffffff909216916370a0823191602480820192602092909190829003018186803b1580156111fb57600080fd5b505afa15801561120f573d6000803e3d6000fd5b505050506040513d602081101561122557600080fd5b50519050600061123b828463ffffffff61214a16565b6007546008549192506000918291829161126e9173ffffffffffffffffffffffffffffffffffffffff9081169116612075565b73ffffffffffffffffffffffffffffffffffffffff16630902f1ac6040518163ffffffff1660e01b8152600401604080518083038186803b1580156112b257600080fd5b505afa1580156112c6573d6000803e3d6000fd5b505050506040513d60408110156112dc57600080fd5b508051602091820151600954604080517f18160ddd000000000000000000000000000000000000000000000000000000008152905193965091945060009373ffffffffffffffffffffffffffffffffffffffff909116926318160ddd926004808201939291829003018186803b15801561135557600080fd5b505afa158015611369573d6000803e3d6000fd5b505050506040513d602081101561137f57600080fd5b505190506113976113918284866121bc565b88612a83565b935050505060006113b96113b4838761214a90919063ffffffff16565b612a9b565b6000549091508015806113cc5750828611155b156113f7576113e3846103e863ffffffff61214a16565b96506113f260006103e8612bec565b61142b565b61142861140a878563ffffffff61214a16565b61141a868463ffffffff61225916565b8161142157fe5b0485612a83565b96505b60008711611484576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526027815260200180612dd46027913960400191505060405180910390fd5b61148e8888612bec565b611497856124ec565b81156114b457600a546114b0908463ffffffff61214a16565b600b555b60408051858152905133917f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885919081900360200190a250506001600c555092949350505050565b60016020526000908152604090205481565b600b5481565b60046020526000908152604090205481565b6000600c5460011461159857604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f44656572666956313a204c4f434b454400000000000000000000000000000000604482015290519081900360640190fd5b6000600c8190556115a7610ac2565b600654604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905192935073ffffffffffffffffffffffffffffffffffffffff9091169160009183916370a0823191602480820192602092909190829003018186803b15801561162057600080fd5b505afa158015611634573d6000803e3d6000fd5b505050506040513d602081101561164a57600080fd5b50513060009081526001602052604081205460075460085493945090928291829161168e9173ffffffffffffffffffffffffffffffffffffffff9081169116612075565b73ffffffffffffffffffffffffffffffffffffffff16630902f1ac6040518163ffffffff1660e01b8152600401604080518083038186803b1580156116d257600080fd5b505afa1580156116e6573d6000803e3d6000fd5b505050506040513d60408110156116fc57600080fd5b508051602091820151600954604080517f18160ddd000000000000000000000000000000000000000000000000000000008152905193965091945060009373ffffffffffffffffffffffffffffffffffffffff909116926318160ddd926004808201939291829003018186803b15801561177557600080fd5b505afa158015611789573d6000803e3d6000fd5b505050506040513d602081101561179f57600080fd5b505190506117b76117b18284866121bc565b89612a83565b935050505060006117d46113b4838861214a90919063ffffffff16565b600054909150806117fb6117ee878663ffffffff61214a16565b869063ffffffff61225916565b8161180257fe5b0497506000881161185e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526027815260200180612e426027913960400191505060405180910390fd5b6118683085612c9c565b611873868a8a61279c565b604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905173ffffffffffffffffffffffffffffffffffffffff8816916370a08231916024808301926020929190829003018186803b1580156118df57600080fd5b505afa1580156118f3573d6000803e3d6000fd5b505050506040513d602081101561190957600080fd5b50519450611916856124ec565b811561193357600a5461192f908463ffffffff61214a16565b600b555b60408051898152905173ffffffffffffffffffffffffffffffffffffffff8b169133917fdbdf9b8e4b75e75b162d151ec8fc7f0561cabab5fcccfa2600be62223e4300c49181900360200190a350506001600c55509395945050505050565b6040518060400160405280600581526020017f44462d563100000000000000000000000000000000000000000000000000000081525081565b6000610ad53384846129a2565b60095473ffffffffffffffffffffffffffffffffffffffff1681565b6103e881565b600c54600114611a6b57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f44656572666956313a204c4f434b454400000000000000000000000000000000604482015290519081900360640190fd5b6000600c55600654600a54604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905173ffffffffffffffffffffffffffffffffffffffff90931692611b309284928692611b2b929185916370a0823191602480820192602092909190829003018186803b158015611af357600080fd5b505afa158015611b07573d6000803e3d6000fd5b505050506040513d6020811015611b1d57600080fd5b50519063ffffffff61214a16565b61279c565b50506001600c55565b60055473ffffffffffffffffffffffffffffffffffffffff1681565b42841015611bc457604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f44656572666956313a2045585049524544000000000000000000000000000000604482015290519081900360640190fd5b60035473ffffffffffffffffffffffffffffffffffffffff80891660008181526004602090815260408083208054600180820190925582517f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98186015280840196909652958d166060860152608085018c905260a085019590955260c08085018b90528151808603909101815260e0850182528051908301207f19010000000000000000000000000000000000000000000000000000000000006101008601526101028501969096526101228085019690965280518085039096018652610142840180825286519683019690962095839052610162840180825286905260ff89166101828501526101a284018890526101c28401879052519193926101e2808201937fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe081019281900390910190855afa158015611d25573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0015191505073ffffffffffffffffffffffffffffffffffffffff811615801590611da057508873ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16145b611e0b57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f44656572666956313a20494e56414c49445f5349474e41545552450000000000604482015290519081900360640190fd5b611e16898989612527565b505050505050505050565b60065473ffffffffffffffffffffffffffffffffffffffff1681565b600260209081526000928352604080842090915290825290205481565b60055473ffffffffffffffffffffffffffffffffffffffff163314611ee057604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f44656572666956313a20464f5242494444454e00000000000000000000000000604482015290519081900360640190fd5b6006805473ffffffffffffffffffffffffffffffffffffffff9586167fffffffffffffffffffffffff0000000000000000000000000000000000000000918216179091556007805494861694821694909417909355600880549285169284169290921790915560098054919093169116179055565b600c54600114611fc657604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f44656572666956313a204c4f434b454400000000000000000000000000000000604482015290519081900360640190fd5b6000600c55600654604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905161206e9273ffffffffffffffffffffffffffffffffffffffff16916370a08231916024808301926020929190829003018186803b15801561203d57600080fd5b505afa158015612051573d6000803e3d6000fd5b505050506040513d602081101561206757600080fd5b50516124ec565b6001600c55565b600554604080517fffffffffffffffffffffffffffffffffffffffff000000000000000000000000606095861b811660208084019190915294861b81166034830152825160288184030181526048830184528051908601207fff0000000000000000000000000000000000000000000000000000000000000060688401529390951b9094166069850152607d8401919091527fb557e6ca017e5e64c7b98af8b844db236b5b74c622e26e209bef1f92d2e5b7df609d808501919091528151808503909101815260bd9093019052815191012090565b80820382811115610ad957604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f64732d6d6174682d7375622d756e646572666c6f770000000000000000000000604482015290519081900360640190fd5b600080831180156121cd5750600082115b61223857604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f44656572666956313a20494e53554646494349454e545f4c4951554944495459604482015290519081900360640190fd5b82612249858463ffffffff61225916565b8161225057fe5b04949350505050565b60008115806122745750508082028282828161227157fe5b04145b610ad957604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f64732d6d6174682d6d756c2d6f766572666c6f77000000000000000000000000604482015290519081900360640190fd5b604080518082018252601581527f6d696e7428616464726573732c75696e74323536290000000000000000000000602091820152815173ffffffffffffffffffffffffffffffffffffffff85811660248301526044808301869052845180840390910181526064909201845291810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f40c10f19000000000000000000000000000000000000000000000000000000001781529251815160009460609489169392918291908083835b602083106123e557805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe090920191602091820191016123a8565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114612447576040519150601f19603f3d011682016040523d82523d6000602084013e61244c565b606091505b509150915081801561247a57508051158061247a575080806020019051602081101561247757600080fd5b50515b6124e557604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f44656572666956313a204d494e545f4641494c45440000000000000000000000604482015290519081900360640190fd5b5050505050565b600a8190556040805182815290517f8a0df8ef054fae2c3d2d19a7b322e864870cc9fd3cb07fb9526309c596244bf49181900360200190a150565b73ffffffffffffffffffffffffffffffffffffffff808416600081815260026020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b604080518082018252601581527f6275726e28616464726573732c75696e74323536290000000000000000000000602091820152815173ffffffffffffffffffffffffffffffffffffffff85811660248301526044808301869052845180840390910181526064909201845291810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f9dc29fac000000000000000000000000000000000000000000000000000000001781529251815160009460609489169392918291908083835b6020831061269c57805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0909201916020918201910161265f565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d80600081146126fe576040519150601f19603f3d011682016040523d82523d6000602084013e612703565b606091505b5091509150818015612731575080511580612731575080806020019051602081101561272e57600080fd5b50515b6124e557604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f44656572666956313a204255524e5f4641494c45440000000000000000000000604482015290519081900360640190fd5b604080518082018252601981527f7472616e7366657228616464726573732c75696e743235362900000000000000602091820152815173ffffffffffffffffffffffffffffffffffffffff85811660248301526044808301869052845180840390910181526064909201845291810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb000000000000000000000000000000000000000000000000000000001781529251815160009460609489169392918291908083835b602083106128a257805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101612865565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114612904576040519150601f19603f3d011682016040523d82523d6000602084013e612909565b606091505b5091509150818015612937575080511580612937575080806020019051602081101561293457600080fd5b50515b6124e557604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f44656572666956313a205452414e534645525f4641494c454400000000000000604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff83166000908152600160205260409020546129d8908263ffffffff61214a16565b73ffffffffffffffffffffffffffffffffffffffff8085166000908152600160205260408082209390935590841681522054612a1a908263ffffffff612d6116565b73ffffffffffffffffffffffffffffffffffffffff80841660008181526001602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b6000818310612a925781612a94565b825b9392505050565b600080600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663017e7e586040518163ffffffff1660e01b815260040160206040518083038186803b158015612b0657600080fd5b505afa158015612b1a573d6000803e3d6000fd5b505050506040513d6020811015612b3057600080fd5b5051600b5473ffffffffffffffffffffffffffffffffffffffff8216158015945091925090612bd9578015612bd45780841115612bd4576000612b8b612b7c868463ffffffff61214a16565b6000549063ffffffff61225916565b90506000612bb083612ba488600563ffffffff61225916565b9063ffffffff612d6116565b90506000818381612bbd57fe5b0490508015612bd057612bd08582612bec565b5050505b612be5565b8015612be5576000600b555b5050919050565b600054612bff908263ffffffff612d6116565b600090815573ffffffffffffffffffffffffffffffffffffffff8316815260016020526040902054612c37908263ffffffff612d6116565b73ffffffffffffffffffffffffffffffffffffffff831660008181526001602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b73ffffffffffffffffffffffffffffffffffffffff8216600090815260016020526040902054612cd2908263ffffffff61214a16565b73ffffffffffffffffffffffffffffffffffffffff831660009081526001602052604081209190915554612d0c908263ffffffff61214a16565b600090815560408051838152905173ffffffffffffffffffffffffffffffffffffffff8516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef919081900360200190a35050565b80820182811015610ad957604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f64732d6d6174682d6164642d6f766572666c6f77000000000000000000000000604482015290519081900360640190fdfe44656572666956313a20494e53554646494349454e545f4c49515549444954595f4d494e54454444656572666956313a20494e53554646494349454e545f494e5055545f414d4f554e5444656572666956313a20494e53554646494349454e545f4f55545055545f414d4f554e5444656572666956313a20494e53554646494349454e545f4c49515549444954595f4255524e4544a265627a7a72315820a389bf9404a912734103dabe6da58e5732bb34833344fbefb21fe6a3d7dae85964736f6c63430005100032454950373132446f6d61696e28737472696e67206e616d652c737472696e672076657273696f6e2c75696e7432353620636861696e49642c6164647265737320766572696679696e67436f6e747261637429

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101c45760003560e01c80637464fc3d116100f9578063bc25cf7711610097578063d83678ac11610071578063d83678ac14610585578063dd62ed3e1461058d578063f8c8765e146105c8578063fff6cae914610613576101c4565b8063bc25cf77146104ec578063c45a01551461051f578063d505accf14610527576101c4565b806395d89b41116100d357806395d89b411461049b578063a9059cbb146104a3578063b66333cd146104dc578063ba9a7a56146104e4576101c4565b80637464fc3d1461042d5780637ecebe001461043557806389afcb4414610468576101c4565b806330adf81f116101665780633644e515116101405780633644e515146103b75780633c930575146103bf5780636a627842146103c757806370a08231146103fa576101c4565b806330adf81f14610360578063313ce5671461036857806332a4685714610386576101c4565b8063095ea7b3116101a2578063095ea7b31461029557806314f4d475146102e257806318160ddd1461031557806323b872dd1461031d576101c4565b806303438dd0146101c957806306fdde03146101fe5780630902f1ac1461027b575b600080fd5b6101fc600480360360208110156101df57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff1661061b565b005b610206610a89565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610240578181015183820152602001610228565b50505050905090810190601f16801561026d5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610283610ac2565b60408051918252519081900360200190f35b6102ce600480360360408110156102ab57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135610ac8565b604080519115158252519081900360200190f35b6101fc600480360360208110156102f857600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610adf565b610283610fb6565b6102ce6004803603606081101561033357600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813581169160208101359091169060400135610fbc565b61028361109b565b6103706110bf565b6040805160ff9092168252519081900360200190f35b61038e6110c4565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b6102836110e0565b61038e6110e6565b610283600480360360208110156103dd57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16611102565b6102836004803603602081101561041057600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166114fb565b61028361150d565b6102836004803603602081101561044b57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16611513565b6102836004803603602081101561047e57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16611525565b610206611992565b6102ce600480360360408110156104b957600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81351690602001356119cb565b61038e6119d8565b6102836119f4565b6101fc6004803603602081101561050257600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166119fa565b61038e611b39565b6101fc600480360360e081101561053d57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813581169160208101359091169060408101359060608101359060ff6080820135169060a08101359060c00135611b55565b61038e611e21565b610283600480360360408110156105a357600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81358116916020013516611e3d565b6101fc600480360360808110156105de57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135811691602081013582169160408201358116916060013516611e5a565b6101fc611f55565b600c5460011461068c57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f44656572666956313a204c4f434b454400000000000000000000000000000000604482015290519081900360640190fd5b6000600c81905561069b610ac2565b6009546006549192506000918291829173ffffffffffffffffffffffffffffffffffffffff9182169190811690871681141561073857604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f44656572666956313a20494e56414c49445f544f000000000000000000000000604482015290519081900360640190fd5b6007546008546107619173ffffffffffffffffffffffffffffffffffffffff9081169116612075565b73ffffffffffffffffffffffffffffffffffffffff16630902f1ac6040518163ffffffff1660e01b8152600401604080518083038186803b1580156107a557600080fd5b505afa1580156107b9573d6000803e3d6000fd5b505050506040513d60408110156107cf57600080fd5b508051602091820151604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905192975090955073ffffffffffffffffffffffffffffffffffffffff8416926370a0823192602480840193829003018186803b15801561084557600080fd5b505afa158015610859573d6000803e3d6000fd5b505050506040513d602081101561086f57600080fd5b5051945060009050858511610885576000610895565b610895858763ffffffff61214a16565b9050600081116108f0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526023815260200180612dfb6023913960400191505060405180910390fd5b600554604080517ff91d27c1000000000000000000000000000000000000000000000000000000008152905160009273ffffffffffffffffffffffffffffffffffffffff169163f91d27c1916004808301926020929190829003018186803b15801561095b57600080fd5b505afa15801561096f573d6000803e3d6000fd5b505050506040513d602081101561098557600080fd5b5051905060006103e86109ad61ffff84166109a1868a8a6121bc565b9063ffffffff61225916565b816109b457fe5b04905060008111610a10576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526024815260200180612e1e6024913960400191505060405180910390fd5b610a1b848a836122df565b610a24876124ec565b6040805184815260208101839052815173ffffffffffffffffffffffffffffffffffffffff8c169233927fe8a6ebea76f280a39af7019719164dbf2a2552f8586d0a7e90286f8980ba57a9929081900390910190a350506001600c5550505050505050565b6040518060400160405280600681526020017f446565726669000000000000000000000000000000000000000000000000000081525081565b600a5490565b6000610ad5338484612527565b5060015b92915050565b600c54600114610b5057604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f44656572666956313a204c4f434b454400000000000000000000000000000000604482015290519081900360640190fd5b6000600c8190556006546009548291829173ffffffffffffffffffffffffffffffffffffffff91821691908116908616821415610bee57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f44656572666956313a20494e56414c49445f544f000000000000000000000000604482015290519081900360640190fd5b600754600854610c179173ffffffffffffffffffffffffffffffffffffffff9081169116612075565b73ffffffffffffffffffffffffffffffffffffffff16630902f1ac6040518163ffffffff1660e01b8152600401604080518083038186803b158015610c5b57600080fd5b505afa158015610c6f573d6000803e3d6000fd5b505050506040513d6040811015610c8557600080fd5b508051602091820151604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905191975091955073ffffffffffffffffffffffffffffffffffffffff8416926370a082319260248082019391829003018186803b158015610cfc57600080fd5b505afa158015610d10573d6000803e3d6000fd5b505050506040513d6020811015610d2657600080fd5b5051945084610d80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526023815260200180612dfb6023913960400191505060405180910390fd5b610d8b813087612596565b50600554604080517ff91d27c1000000000000000000000000000000000000000000000000000000008152905160009273ffffffffffffffffffffffffffffffffffffffff169163f91d27c1916004808301926020929190829003018186803b158015610df757600080fd5b505afa158015610e0b573d6000803e3d6000fd5b505050506040513d6020811015610e2157600080fd5b5051905060006103e8610e3d61ffff84166109a18989896121bc565b81610e4457fe5b04905060008111610ea0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526024815260200180612e1e6024913960400191505060405180910390fd5b610eab83888361279c565b604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905160009173ffffffffffffffffffffffffffffffffffffffff8616916370a0823191602480820192602092909190829003018186803b158015610f1b57600080fd5b505afa158015610f2f573d6000803e3d6000fd5b505050506040513d6020811015610f4557600080fd5b50519050610f52816124ec565b6040805188815260208101849052815173ffffffffffffffffffffffffffffffffffffffff8b169233927f91f1b6b270bb2697938aacfe4275424e452fb651858e1818d5c420e30dd05cea929081900390910190a350506001600c55505050505050565b60005481565b73ffffffffffffffffffffffffffffffffffffffff831660009081526002602090815260408083203384529091528120547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff146110865773ffffffffffffffffffffffffffffffffffffffff84166000908152600260209081526040808320338452909152902054611054908363ffffffff61214a16565b73ffffffffffffffffffffffffffffffffffffffff851660009081526002602090815260408083203384529091529020555b6110918484846129a2565b5060019392505050565b7f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c981565b601281565b60075473ffffffffffffffffffffffffffffffffffffffff1681565b60035481565b60085473ffffffffffffffffffffffffffffffffffffffff1681565b6000600c5460011461117557604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f44656572666956313a204c4f434b454400000000000000000000000000000000604482015290519081900360640190fd5b6000600c819055611184610ac2565b600654604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905192935060009273ffffffffffffffffffffffffffffffffffffffff909216916370a0823191602480820192602092909190829003018186803b1580156111fb57600080fd5b505afa15801561120f573d6000803e3d6000fd5b505050506040513d602081101561122557600080fd5b50519050600061123b828463ffffffff61214a16565b6007546008549192506000918291829161126e9173ffffffffffffffffffffffffffffffffffffffff9081169116612075565b73ffffffffffffffffffffffffffffffffffffffff16630902f1ac6040518163ffffffff1660e01b8152600401604080518083038186803b1580156112b257600080fd5b505afa1580156112c6573d6000803e3d6000fd5b505050506040513d60408110156112dc57600080fd5b508051602091820151600954604080517f18160ddd000000000000000000000000000000000000000000000000000000008152905193965091945060009373ffffffffffffffffffffffffffffffffffffffff909116926318160ddd926004808201939291829003018186803b15801561135557600080fd5b505afa158015611369573d6000803e3d6000fd5b505050506040513d602081101561137f57600080fd5b505190506113976113918284866121bc565b88612a83565b935050505060006113b96113b4838761214a90919063ffffffff16565b612a9b565b6000549091508015806113cc5750828611155b156113f7576113e3846103e863ffffffff61214a16565b96506113f260006103e8612bec565b61142b565b61142861140a878563ffffffff61214a16565b61141a868463ffffffff61225916565b8161142157fe5b0485612a83565b96505b60008711611484576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526027815260200180612dd46027913960400191505060405180910390fd5b61148e8888612bec565b611497856124ec565b81156114b457600a546114b0908463ffffffff61214a16565b600b555b60408051858152905133917f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885919081900360200190a250506001600c555092949350505050565b60016020526000908152604090205481565b600b5481565b60046020526000908152604090205481565b6000600c5460011461159857604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f44656572666956313a204c4f434b454400000000000000000000000000000000604482015290519081900360640190fd5b6000600c8190556115a7610ac2565b600654604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905192935073ffffffffffffffffffffffffffffffffffffffff9091169160009183916370a0823191602480820192602092909190829003018186803b15801561162057600080fd5b505afa158015611634573d6000803e3d6000fd5b505050506040513d602081101561164a57600080fd5b50513060009081526001602052604081205460075460085493945090928291829161168e9173ffffffffffffffffffffffffffffffffffffffff9081169116612075565b73ffffffffffffffffffffffffffffffffffffffff16630902f1ac6040518163ffffffff1660e01b8152600401604080518083038186803b1580156116d257600080fd5b505afa1580156116e6573d6000803e3d6000fd5b505050506040513d60408110156116fc57600080fd5b508051602091820151600954604080517f18160ddd000000000000000000000000000000000000000000000000000000008152905193965091945060009373ffffffffffffffffffffffffffffffffffffffff909116926318160ddd926004808201939291829003018186803b15801561177557600080fd5b505afa158015611789573d6000803e3d6000fd5b505050506040513d602081101561179f57600080fd5b505190506117b76117b18284866121bc565b89612a83565b935050505060006117d46113b4838861214a90919063ffffffff16565b600054909150806117fb6117ee878663ffffffff61214a16565b869063ffffffff61225916565b8161180257fe5b0497506000881161185e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526027815260200180612e426027913960400191505060405180910390fd5b6118683085612c9c565b611873868a8a61279c565b604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905173ffffffffffffffffffffffffffffffffffffffff8816916370a08231916024808301926020929190829003018186803b1580156118df57600080fd5b505afa1580156118f3573d6000803e3d6000fd5b505050506040513d602081101561190957600080fd5b50519450611916856124ec565b811561193357600a5461192f908463ffffffff61214a16565b600b555b60408051898152905173ffffffffffffffffffffffffffffffffffffffff8b169133917fdbdf9b8e4b75e75b162d151ec8fc7f0561cabab5fcccfa2600be62223e4300c49181900360200190a350506001600c55509395945050505050565b6040518060400160405280600581526020017f44462d563100000000000000000000000000000000000000000000000000000081525081565b6000610ad53384846129a2565b60095473ffffffffffffffffffffffffffffffffffffffff1681565b6103e881565b600c54600114611a6b57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f44656572666956313a204c4f434b454400000000000000000000000000000000604482015290519081900360640190fd5b6000600c55600654600a54604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905173ffffffffffffffffffffffffffffffffffffffff90931692611b309284928692611b2b929185916370a0823191602480820192602092909190829003018186803b158015611af357600080fd5b505afa158015611b07573d6000803e3d6000fd5b505050506040513d6020811015611b1d57600080fd5b50519063ffffffff61214a16565b61279c565b50506001600c55565b60055473ffffffffffffffffffffffffffffffffffffffff1681565b42841015611bc457604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f44656572666956313a2045585049524544000000000000000000000000000000604482015290519081900360640190fd5b60035473ffffffffffffffffffffffffffffffffffffffff80891660008181526004602090815260408083208054600180820190925582517f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98186015280840196909652958d166060860152608085018c905260a085019590955260c08085018b90528151808603909101815260e0850182528051908301207f19010000000000000000000000000000000000000000000000000000000000006101008601526101028501969096526101228085019690965280518085039096018652610142840180825286519683019690962095839052610162840180825286905260ff89166101828501526101a284018890526101c28401879052519193926101e2808201937fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe081019281900390910190855afa158015611d25573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0015191505073ffffffffffffffffffffffffffffffffffffffff811615801590611da057508873ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16145b611e0b57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f44656572666956313a20494e56414c49445f5349474e41545552450000000000604482015290519081900360640190fd5b611e16898989612527565b505050505050505050565b60065473ffffffffffffffffffffffffffffffffffffffff1681565b600260209081526000928352604080842090915290825290205481565b60055473ffffffffffffffffffffffffffffffffffffffff163314611ee057604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f44656572666956313a20464f5242494444454e00000000000000000000000000604482015290519081900360640190fd5b6006805473ffffffffffffffffffffffffffffffffffffffff9586167fffffffffffffffffffffffff0000000000000000000000000000000000000000918216179091556007805494861694821694909417909355600880549285169284169290921790915560098054919093169116179055565b600c54600114611fc657604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f44656572666956313a204c4f434b454400000000000000000000000000000000604482015290519081900360640190fd5b6000600c55600654604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905161206e9273ffffffffffffffffffffffffffffffffffffffff16916370a08231916024808301926020929190829003018186803b15801561203d57600080fd5b505afa158015612051573d6000803e3d6000fd5b505050506040513d602081101561206757600080fd5b50516124ec565b6001600c55565b600554604080517fffffffffffffffffffffffffffffffffffffffff000000000000000000000000606095861b811660208084019190915294861b81166034830152825160288184030181526048830184528051908601207fff0000000000000000000000000000000000000000000000000000000000000060688401529390951b9094166069850152607d8401919091527fb557e6ca017e5e64c7b98af8b844db236b5b74c622e26e209bef1f92d2e5b7df609d808501919091528151808503909101815260bd9093019052815191012090565b80820382811115610ad957604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f64732d6d6174682d7375622d756e646572666c6f770000000000000000000000604482015290519081900360640190fd5b600080831180156121cd5750600082115b61223857604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f44656572666956313a20494e53554646494349454e545f4c4951554944495459604482015290519081900360640190fd5b82612249858463ffffffff61225916565b8161225057fe5b04949350505050565b60008115806122745750508082028282828161227157fe5b04145b610ad957604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f64732d6d6174682d6d756c2d6f766572666c6f77000000000000000000000000604482015290519081900360640190fd5b604080518082018252601581527f6d696e7428616464726573732c75696e74323536290000000000000000000000602091820152815173ffffffffffffffffffffffffffffffffffffffff85811660248301526044808301869052845180840390910181526064909201845291810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f40c10f19000000000000000000000000000000000000000000000000000000001781529251815160009460609489169392918291908083835b602083106123e557805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe090920191602091820191016123a8565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114612447576040519150601f19603f3d011682016040523d82523d6000602084013e61244c565b606091505b509150915081801561247a57508051158061247a575080806020019051602081101561247757600080fd5b50515b6124e557604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f44656572666956313a204d494e545f4641494c45440000000000000000000000604482015290519081900360640190fd5b5050505050565b600a8190556040805182815290517f8a0df8ef054fae2c3d2d19a7b322e864870cc9fd3cb07fb9526309c596244bf49181900360200190a150565b73ffffffffffffffffffffffffffffffffffffffff808416600081815260026020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b604080518082018252601581527f6275726e28616464726573732c75696e74323536290000000000000000000000602091820152815173ffffffffffffffffffffffffffffffffffffffff85811660248301526044808301869052845180840390910181526064909201845291810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f9dc29fac000000000000000000000000000000000000000000000000000000001781529251815160009460609489169392918291908083835b6020831061269c57805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0909201916020918201910161265f565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d80600081146126fe576040519150601f19603f3d011682016040523d82523d6000602084013e612703565b606091505b5091509150818015612731575080511580612731575080806020019051602081101561272e57600080fd5b50515b6124e557604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f44656572666956313a204255524e5f4641494c45440000000000000000000000604482015290519081900360640190fd5b604080518082018252601981527f7472616e7366657228616464726573732c75696e743235362900000000000000602091820152815173ffffffffffffffffffffffffffffffffffffffff85811660248301526044808301869052845180840390910181526064909201845291810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb000000000000000000000000000000000000000000000000000000001781529251815160009460609489169392918291908083835b602083106128a257805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101612865565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114612904576040519150601f19603f3d011682016040523d82523d6000602084013e612909565b606091505b5091509150818015612937575080511580612937575080806020019051602081101561293457600080fd5b50515b6124e557604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f44656572666956313a205452414e534645525f4641494c454400000000000000604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff83166000908152600160205260409020546129d8908263ffffffff61214a16565b73ffffffffffffffffffffffffffffffffffffffff8085166000908152600160205260408082209390935590841681522054612a1a908263ffffffff612d6116565b73ffffffffffffffffffffffffffffffffffffffff80841660008181526001602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b6000818310612a925781612a94565b825b9392505050565b600080600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663017e7e586040518163ffffffff1660e01b815260040160206040518083038186803b158015612b0657600080fd5b505afa158015612b1a573d6000803e3d6000fd5b505050506040513d6020811015612b3057600080fd5b5051600b5473ffffffffffffffffffffffffffffffffffffffff8216158015945091925090612bd9578015612bd45780841115612bd4576000612b8b612b7c868463ffffffff61214a16565b6000549063ffffffff61225916565b90506000612bb083612ba488600563ffffffff61225916565b9063ffffffff612d6116565b90506000818381612bbd57fe5b0490508015612bd057612bd08582612bec565b5050505b612be5565b8015612be5576000600b555b5050919050565b600054612bff908263ffffffff612d6116565b600090815573ffffffffffffffffffffffffffffffffffffffff8316815260016020526040902054612c37908263ffffffff612d6116565b73ffffffffffffffffffffffffffffffffffffffff831660008181526001602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b73ffffffffffffffffffffffffffffffffffffffff8216600090815260016020526040902054612cd2908263ffffffff61214a16565b73ffffffffffffffffffffffffffffffffffffffff831660009081526001602052604081209190915554612d0c908263ffffffff61214a16565b600090815560408051838152905173ffffffffffffffffffffffffffffffffffffffff8516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef919081900360200190a35050565b80820182811015610ad957604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f64732d6d6174682d6164642d6f766572666c6f77000000000000000000000000604482015290519081900360640190fdfe44656572666956313a20494e53554646494349454e545f4c49515549444954595f4d494e54454444656572666956313a20494e53554646494349454e545f494e5055545f414d4f554e5444656572666956313a20494e53554646494349454e545f4f55545055545f414d4f554e5444656572666956313a20494e53554646494349454e545f4c49515549444954595f4255524e4544a265627a7a72315820a389bf9404a912734103dabe6da58e5732bb34833344fbefb21fe6a3d7dae85964736f6c63430005100032

Deployed Bytecode Sourcemap

15935:11406:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;15935:11406:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24279:1267;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;24279:1267:0;;;;:::i;:::-;;4596:38;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;4596:38:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16902:129;;;:::i;:::-;;;;;;;;;;;;;;;;6638:147;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;6638:147:0;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;25658:1265;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;25658:1265:0;;;;:::i;4729:24::-;;;:::i;6940:301::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;6940:301:0;;;;;;;;;;;;;;;;;;:::i;5021:108::-;;;:::i;4687:35::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;16431:24;;;:::i;:::-;;;;;;;;;;;;;;;;;;;4878:31;;;:::i;16462:22::-;;;:::i;20951:1583::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;20951:1583:0;;;;:::i;4760:41::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;4760:41:0;;;;:::i;16623:17::-;;;:::i;5136:38::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;5136:38:0;;;;:::i;22646:1521::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;22646:1521:0;;;;:::i;4641:39::-;;;:::i;6793:139::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;6793:139:0;;;;;;;;;:::i;16491:24::-;;;:::i;16028:46::-;;;:::i;26972:216::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;26972:216:0;;;;:::i;16370:22::-;;;:::i;7249:672::-;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;-1:-1;7249:672:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;16399:25::-;;;:::i;4808:61::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;4808:61:0;;;;;;;;;;;:::i;19029:330::-;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;-1:-1;19029:330:0;;;;;;;;;;;;;;;;;;;;;;;;;:::i;27237:101::-;;;:::i;24279:1267::-;16794:8;;16806:1;16794:13;16786:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16850:1;16839:8;:12;;;24359:13;:11;:13::i;:::-;24505:9;;24613:10;;24330:42;;-1:-1:-1;24400:22:0;;;;;;24505:9;;;;;24613:10;;;;24642:17;;;;;24634:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24751:9;;24762:7;;24739:31;;24751:9;;;;;24762:7;24739:11;:31::i;:::-;24721:62;;;:64;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;24721:64:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;24721:64:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;24721:64:0;;;;;;;;24816:44;;;;;24854:4;24816:44;;;;;;24721:64;;-1:-1:-1;24721:64:0;;-1:-1:-1;24816:29:0;;;;;;:44;;;;;;;;;;:29;:44;;;5:2:-1;;;;30:1;27;20:12;5:2;24816:44:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;24816:44:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;24816:44:0;;-1:-1:-1;24882:23:0;;-1:-1:-1;24908:38:0;;;:86;;24993:1;24908:86;;;24949:41;:17;24971:18;24949:41;:21;:41;:::i;:::-;24882:112;;25034:1;25013:18;:22;25005:70;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25122:7;;25105:37;;;;;;;;25086:16;;25122:7;;;25105:35;;:37;;;;;;;;;;;;;;25122:7;25105:37;;;5:2:-1;;;;30:1;27;20:12;5:2;25105:37:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;25105:37:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;25105:37:0;;-1:-1:-1;25153:23:0;25246:4;25179:63;;;;:48;25185:18;25205:9;25216:10;25179:5;:48::i;:::-;:52;:63;:52;:63;:::i;:::-;:72;;;;;;25153:98;;25291:1;25270:18;:22;25262:71;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25344:45;25354:10;25366:2;25370:18;25344:9;:45::i;:::-;25432:26;25440:17;25432:7;:26::i;:::-;25474:64;;;;;;;;;;;;;;;;;;25483:10;;25474:64;;;;;;;;;;;-1:-1:-1;;16885:1:0;16874:8;:12;-1:-1:-1;;;;;;;24279:1267:0:o;4596:38::-;;;;;;;;;;;;;;;;;;;:::o;16902:129::-;17006:17;;;16902:129::o;6638:147::-;6702:4;6719:36;6728:10;6740:7;6749:5;6719:8;:36::i;:::-;-1:-1:-1;6773:4:0;6638:147;;;;;:::o;25658:1265::-;16794:8;;16806:1;16794:13;16786:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16850:1;16839:8;:12;;;25820:10;;25928:9;;16850:1;;;;25820:10;;;;;25928:9;;;;25956:17;;;;;25948:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26065:9;;26076:7;;26053:31;;26065:9;;;;;26076:7;26053:11;:31::i;:::-;26035:62;;;:64;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;26035:64:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;26035:64:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;26035:64:0;;;;;;;;26130:43;;;;;26167:4;26130:43;;;;;;26035:64;;-1:-1:-1;26035:64:0;;-1:-1:-1;26130:28:0;;;;;;:43;;;;;;;;;;;:28;:43;;;5:2:-1;;;;30:1;27;20:12;5:2;26130:43:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;26130:43:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;26130:43:0;;-1:-1:-1;26192:21:0;26184:69;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26264:55;26274:10;26294:4;26301:17;26264:9;:55::i;:::-;-1:-1:-1;26407:7:0;;26390:37;;;;;;;;26371:16;;26407:7;;;26390:35;;:37;;;;;;;;;;;;;;26407:7;26390:37;;;5:2:-1;;;;30:1;27;20:12;5:2;26390:37:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;26390:37:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;26390:37:0;;-1:-1:-1;26438:24:0;26531:4;26465:62;;;;:47;26471:17;26490:9;26501:10;26465:5;:47::i;:62::-;:71;;;;;;26438:98;;26577:1;26555:19;:23;26547:72;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26630:51;26644:11;26657:2;26661:19;26630:13;:51::i;:::-;26751:44;;;;;;26789:4;26751:44;;;;;;26726:22;;26751:29;;;;;;:44;;;;;;;;;;;;;;;:29;:44;;;5:2:-1;;;;30:1;27;20:12;5:2;26751:44:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;26751:44:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;26751:44:0;;-1:-1:-1;26808:26:0;26751:44;26808:7;:26::i;:::-;26850:65;;;;;;;;;;;;;;;;;;26860:10;;26850:65;;;;;;;;;;;-1:-1:-1;;16885:1:0;16874:8;:12;-1:-1:-1;;;;;;25658:1265:0:o;4729:24::-;;;;:::o;6940:301::-;7039:15;;;7018:4;7039:15;;;:9;:15;;;;;;;;7055:10;7039:27;;;;;;;;7075:2;7039:39;7035:140;;7125:15;;;;;;;:9;:15;;;;;;;;7141:10;7125:27;;;;;;;;:38;;7157:5;7125:38;:31;:38;:::i;:::-;7095:15;;;;;;;:9;:15;;;;;;;;7111:10;7095:27;;;;;;;:68;7035:140;7185:26;7195:4;7201:2;7205:5;7185:9;:26::i;:::-;-1:-1:-1;7229:4:0;6940:301;;;;;:::o;5021:108::-;5063:66;5021:108;:::o;4687:35::-;4720:2;4687:35;:::o;16431:24::-;;;;;;:::o;4878:31::-;;;;:::o;16462:22::-;;;;;;:::o;20951:1583::-;21000:14;16794:8;;16806:1;16794:13;16786:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16850:1;16839:8;:12;;;21056:13;:11;:13::i;:::-;21127:10;;21120:43;;;;;;21157:4;21120:43;;;;;;21027:42;;-1:-1:-1;21095:22:0;;21127:10;;;;;21120:28;;:43;;;;;;;;;;;;;;;21127:10;21120:43;;;5:2:-1;;;;30:1;27;20:12;5:2;21120:43:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;21120:43:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;21120:43:0;;-1:-1:-1;21174:21:0;21198:41;21120:43;21220:18;21198:41;:21;:41;:::i;:::-;21368:9;;21379:7;;21174:65;;-1:-1:-1;21252:28:0;;;;;;21356:31;;21368:9;;;;;21379:7;21356:11;:31::i;:::-;21338:62;;;:64;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;21338:64:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;21338:64:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;21338:64:0;;;;;;;21445:9;;21338:64;21438:31;;;;;;;21338:64;;-1:-1:-1;21338:64:0;;-1:-1:-1;21413:22:0;;21445:9;;;;;21438:29;;:31;;;;;21338:64;21438:31;;;;;;21445:9;21438:31;;;5:2:-1;;;;30:1;27;20:12;5:2;21438:31:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;21438:31:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;21438:31:0;;-1:-1:-1;21503:77:0;21512:47;21438:31;21537:9;21548:10;21512:5;:47::i;:::-;21561:18;21503:8;:77::i;:::-;21480:100;;16862:1;;;21604:10;21617:54;21626:44;21649:20;21626:18;:22;;:44;;;;:::i;:::-;21617:8;:54::i;:::-;21682:17;21702:11;21604:67;;-1:-1:-1;21808:17:0;;;:63;;;21851:20;21829:18;:42;;21808:63;21804:408;;;21900:39;:16;16069:5;21900:39;:20;:39;:::i;:::-;21888:51;;21953:36;21967:1;16069:5;21953;:36::i;:::-;21804:408;;;22089:111;22136:44;:18;22159:20;22136:44;:22;:44;:::i;:::-;22098:34;:16;22119:12;22098:34;:20;:34;:::i;:::-;:83;;;;;;22183:16;22089:8;:111::i;:::-;22077:123;;21804:408;22242:1;22230:9;:13;22222:65;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22298:20;22304:2;22308:9;22298:5;:20::i;:::-;22331:26;22339:17;22331:7;:26::i;:::-;22372:5;22368:68;;;22392:17;;:43;;22414:20;22392:43;:21;:43;:::i;:::-;22379:5;:57;22368:68;22492:34;;;;;;;;22497:10;;22492:34;;;;;;;;;;-1:-1:-1;;16885:1:0;16874:8;:12;-1:-1:-1;20951:1583:0;;;-1:-1:-1;;;;20951:1583:0:o;4760:41::-;;;;;;;;;;;;;:::o;16623:17::-;;;;:::o;5136:38::-;;;;;;;;;;;;;:::o;22646:1521::-;22695:21;16794:8;;16806:1;16794:13;16786:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16850:1;16839:8;:12;;;22758:13;:11;:13::i;:::-;22819:10;;22890:44;;;;;;22928:4;22890:44;;;;;;22729:42;;-1:-1:-1;22819:10:0;;;;;22797:19;;22819:10;;22890:29;;:44;;;;;;;;;;;;;;;22819:10;22890:44;;;5:2:-1;;;;30:1;27;20:12;5:2;22890:44:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;22890:44:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;22890:44:0;22980:4;22945:14;22962:24;;;:9;22890:44;22962:24;;;;;23112:9;;23123:7;;22890:44;;-1:-1:-1;22962:24:0;;22945:14;;;;23100:31;;22962:24;23112:9;;;;23123:7;23100:11;:31::i;:::-;23082:62;;;:64;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;23082:64:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;23082:64:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;23082:64:0;;;;;;;23189:9;;23082:64;23182:31;;;;;;;23082:64;;-1:-1:-1;23082:64:0;;-1:-1:-1;23157:22:0;;23189:9;;;;;23182:29;;:31;;;;;23082:64;23182:31;;;;;;23189:9;23182:31;;;5:2:-1;;;;30:1;27;20:12;5:2;23182:31:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;23182:31:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;23182:31:0;;-1:-1:-1;23247:77:0;23256:47;23182:31;23281:9;23292:10;23256:5;:47::i;:::-;23305:18;23247:8;:77::i;:::-;23224:100;;16862:1;;;23348:10;23361:54;23370:44;23393:20;23370:18;:22;;:44;;;;:::i;23361:54::-;23426:17;23446:11;23348:67;;-1:-1:-1;23446:11:0;23567:58;23581:43;:17;23603:20;23581:43;:21;:43;:::i;:::-;23567:9;;:58;:13;:58;:::i;:::-;:73;;;;;;23548:92;;23726:1;23707:16;:20;23699:72;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23782:31;23796:4;23803:9;23782:5;:31::i;:::-;23824:48;23838:11;23851:2;23855:16;23824:13;:48::i;:::-;23903:44;;;;;;23941:4;23903:44;;;;;;:29;;;;;;:44;;;;;;;;;;;;;;:29;:44;;;5:2:-1;;;;30:1;27;20:12;5:2;23903:44:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;23903:44:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;23903:44:0;;-1:-1:-1;23960:26:0;23903:44;23960:7;:26::i;:::-;24001:5;23997:68;;;24021:17;;:43;;24043:20;24021:43;:21;:43;:::i;:::-;24008:5;:57;23997:68;24121:38;;;;;;;;;;;;24126:10;;24121:38;;;;;;;;;-1:-1:-1;;16885:1:0;16874:8;:12;-1:-1:-1;22646:1521:0;;;-1:-1:-1;;;;;22646:1521:0:o;4641:39::-;;;;;;;;;;;;;;;;;;;:::o;6793:139::-;6853:4;6870:32;6880:10;6892:2;6896:5;6870:9;:32::i;16491:24::-;;;;;;:::o;16028:46::-;16069:5;16028:46;:::o;26972:216::-;16794:8;;16806:1;16794:13;16786:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16850:1;16839:8;:12;27045:10;;27161:17;;27112:44;;;;;;27150:4;27112:44;;;;;;27045:10;;;;;27081:99;;27045:10;;27108:2;;27112:67;;27161:17;27045:10;;27112:29;;:44;;;;;;;;;;;;;;;27045:10;27112:44;;;5:2:-1;;;;30:1;27;20:12;5:2;27112:44:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;27112:44:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;27112:44:0;;:67;:48;:67;:::i;:::-;27081:13;:99::i;:::-;-1:-1:-1;;16885:1:0;16874:8;:12;26972:216::o;16370:22::-;;;;;;:::o;7249:672::-;7395:15;7383:8;:27;;7375:57;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7548:16;;7644:13;;;;7443:14;7644:13;;;:6;:13;;;;;;;;:15;;;;;;;;;7593:77;;5063:66;7593:77;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;7593:77:0;;;;;7583:88;;;;;;7484:202;;;;;;;;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;7484:202:0;;;;;;7460:237;;;;;;;;;7735:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7443:14;;7644:15;7735:26;;;;;-1:-1:-1;7735:26:0;;;;;;;;;;7644:15;7735:26;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;;7735:26:0;;;;;;-1:-1:-1;;7780:30:0;;;;;;;:59;;;7834:5;7814:25;;:16;:25;;;7780:59;7772:99;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7882:31;7891:5;7898:7;7907:5;7882:8;:31::i;:::-;7249:672;;;;;;;;;:::o;16399:25::-;;;;;;:::o;4808:61::-;;;;;;;;;;;;;;;;;;;;;;;;:::o;19029:330::-;19170:7;;;;19156:10;:21;19148:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19232:10;:24;;;;;;;;;;;;;;19267:9;:22;;;;;;;;;;;;;;;19300:7;:18;;;;;;;;;;;;;;;19329:9;:22;;;;;;;;;;;19029:330::o;27237:101::-;16794:8;;16806:1;16794:13;16786:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16850:1;16839:8;:12;27293:10;;27286:43;;;;;;27323:4;27286:43;;;;;;27278:52;;27293:10;;;27286:28;;:43;;;;;;;;;;;;;;27293:10;27286:43;;;5:2:-1;;;;30:1;27;20:12;5:2;27286:43:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;27286:43:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;27286:43:0;27278:7;:52::i;:::-;16885:1;16874:8;:12;27237:101::o;18583:381::-;18775:7;;18807:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22::-1;26:21;;;22:32;6:49;;18807:32:0;;;;;18797:43;;;;;;18722:231;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;18722:231:0;;;;;;18712:242;;;;;;18583:381::o;4158:129::-;4242:5;;;4237:16;;;;4229:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20524:315;20615:12;20724:1;20713:8;:12;:28;;;;;20740:1;20729:8;:12;20713:28;20705:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20823:8;20799:21;:7;20811:8;20799:21;:11;:21;:::i;:::-;:32;;;;;;;20524:315;-1:-1:-1;;;;20524:315:0:o;4295:142::-;4347:6;4374;;;:30;;-1:-1:-1;;4389:5:0;;;4403:1;4398;4389:5;4398:1;4384:15;;;;;:20;4374:30;4366:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17333:283;16233:30;;;;;;;;;;;;;;;;;17457:48;;17446:10;17457:48;;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;17457:48:0;;;;;;25:18:-1;;;61:17;;17457:48:0;182:15:-1;17457:48:0;179:29:-1;160:49;;17446:60:0;;;;17411:12;;17425:17;;17446:10;;;17457:48;17446:60;;;25:18:-1;17446:60:0;;25:18:-1;36:153;66:2;61:3;58:11;36:153;;176:10;;164:23;;139:12;;;;;98:2;89:12;;;;114;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;17446:60:0;;;;;;;;;;;;;;;;;;;;;;;;14:1:-1;21;16:31;;;;75:4;69:11;64:16;;144:4;140:9;133:4;115:16;111:27;107:43;104:1;100:51;94:4;87:65;169:16;166:1;159:27;225:16;222:1;215:4;212:1;208:12;193:49;7:242;;16:31;36:4;31:9;;7:242;;17410:96:0;;;;17525:7;:57;;;;-1:-1:-1;17537:11:0;;:16;;:44;;;17568:4;17557:24;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;17557:24:0;17537:44;17517:91;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17333:283;;;;;:::o;19424:227::-;19558:17;:46;;;19620:23;;;;;;;;;;;;;;;;;19424:227;:::o;6233:169::-;6314:16;;;;;;;;:9;:16;;;;;;;;:25;;;;;;;;;;;;;:33;;;6363:31;;;;;;;;;;;;;;;;;6233:169;;;:::o;17624:287::-;16329:30;;;;;;;;;;;;;;;;;17750:50;;17739:10;17750:50;;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;17750:50:0;;;;;;25:18:-1;;;61:17;;17750:50:0;182:15:-1;17750:50:0;179:29:-1;160:49;;17739:62:0;;;;17704:12;;17718:17;;17739:10;;;17750:50;17739:62;;;25:18:-1;17739:62:0;;25:18:-1;36:153;66:2;61:3;58:11;36:153;;176:10;;164:23;;139:12;;;;;98:2;89:12;;;;114;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;17739:62:0;;;;;;;;;;;;;;;;;;;;;;;;14:1:-1;21;16:31;;;;75:4;69:11;64:16;;144:4;140:9;133:4;115:16;111:27;107:43;104:1;100:51;94:4;87:65;169:16;166:1;159:27;225:16;222:1;215:4;212:1;208:12;193:49;7:242;;16:31;36:4;31:9;;7:242;;17703:98:0;;;;17820:7;:57;;;;-1:-1:-1;17832:11:0;;:16;;:44;;;17863:4;17852:24;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;17852:24:0;17832:44;17812:91;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17039:286;16133:34;;;;;;;;;;;;;;;;;17167:43;;17156:10;17167:43;;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;17167:43:0;;;;;;25:18:-1;;;61:17;;17167:43:0;182:15:-1;17167:43:0;179:29:-1;160:49;;17156:55:0;;;;17121:12;;17135:17;;17156:10;;;17167:43;17156:55;;;25:18:-1;17156:55:0;;25:18:-1;36:153;66:2;61:3;58:11;36:153;;176:10;;164:23;;139:12;;;;;98:2;89:12;;;;114;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;17156:55:0;;;;;;;;;;;;;;;;;;;;;;;;14:1:-1;21;16:31;;;;75:4;69:11;64:16;;144:4;140:9;133:4;115:16;111:27;107:43;104:1;100:51;94:4;87:65;169:16;166:1;159:27;225:16;222:1;215:4;212:1;208:12;193:49;7:242;;16:31;36:4;31:9;;7:242;;17120:91:0;;;;17230:7;:57;;;;-1:-1:-1;17242:11:0;;:16;;:44;;;17273:4;17262:24;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;17262:24:0;17242:44;17222:95;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6410:220;6504:15;;;;;;;:9;:15;;;;;;:26;;6524:5;6504:26;:19;:26;:::i;:::-;6486:15;;;;;;;;:9;:15;;;;;;:44;;;;6557:13;;;;;;;:24;;6575:5;6557:24;:17;:24;:::i;:::-;6541:13;;;;;;;;:9;:13;;;;;;;;;:40;;;;6597:25;;;;;;;6541:13;;6597:25;;;;;;;;;;;;;6410:220;;;:::o;8072:96::-;8124:6;8151:1;8147;:5;:13;;8159:1;8147:13;;;8155:1;8147:13;8143:17;8072:96;-1:-1:-1;;;8072:96:0:o;19733:678::-;19783:10;19806:13;19839:7;;;;;;;;;;;19822:31;;;:33;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;19822:33:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;19822:33:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;19822:33:0;19918:5;;19874:19;;;;;;;-1:-1:-1;19822:33:0;;-1:-1:-1;19918:5:0;19949:455;;19979:11;;19975:359;;20023:6;20015:5;:14;20011:308;;;20054:14;20071:34;20087:17;:5;20097:6;20087:17;:9;:17;:::i;:::-;20071:11;;;:34;:15;:34;:::i;:::-;20054:51;-1:-1:-1;20128:16:0;20147:24;20164:6;20147:12;:5;20157:1;20147:12;:9;:12;:::i;:::-;:16;:24;:16;:24;:::i;:::-;20128:43;;20194:14;20223:11;20211:9;:23;;;;;;;-1:-1:-1;20261:13:0;;20257:42;;20276:23;20282:5;20289:9;20276:5;:23::i;:::-;20011:308;;;;19949:455;;;20355:11;;20351:53;;20391:1;20383:5;:9;20351:53;19733:678;;;;;:::o;5807:201::-;5880:11;;:22;;5896:5;5880:22;:15;:22;:::i;:::-;5866:11;:36;;;5929:13;;;;;:9;:13;;;;;;:24;;5947:5;5929:24;:17;:24;:::i;:::-;5913:13;;;;;;;:9;:13;;;;;;;;:40;;;;5969:31;;;;;;;5913:13;;;;5969:31;;;;;;;;;;5807:201;;:::o;6016:209::-;6095:15;;;;;;;:9;:15;;;;;;:26;;6115:5;6095:26;:19;:26;:::i;:::-;6077:15;;;;;;;:9;:15;;;;;:44;;;;6146:11;:22;;6162:5;6146:22;:15;:22;:::i;:::-;6132:11;:36;;;6184:33;;;;;;;;;;;;;;;;;;;;;;6016:209;;:::o;4022:128::-;4106:5;;;4101:16;;;;4093:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

Swarm Source

bzzr://a389bf9404a912734103dabe6da58e5732bb34833344fbefb21fe6a3d7dae859
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.