ETH Price: $3,435.76 (+3.66%)

Token

Onyxcoin (XCN)
 

Overview

Max Total Supply

68,892,071,756.90896214749976 XCN

Holders

15,555 ( 0.039%)

Market

Price

$0.00 @ 0.000001 ETH (+1.30%)

Onchain Market Cap

$128,687,634.36

Circulating Supply Market Cap

$58,588,839.00

Other Info

Token Contract (WITH 18 Decimals)

Balance
147,769.44669047 XCN

Value
$276.03 ( ~0.0803402398577106 Eth) [0.0002%]
0xC81046973Ba80FDacD9E877d35152987a5B86166
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

Onyx Protocol is the backbone of web3 blockchain infrastructure powered by XCN.

Market

Volume (24H):$3,476,327.00
Market Capitalization:$58,588,839.00
Circulating Supply:31,314,778,278.00 XCN
Market Data Source: Coinmarketcap

# Exchange Pair Price  24H Volume % Volume
1
BtcTurk | Kripto
XCN-TRY$0.0019
0.0000005 Eth
$1,290,526.00
692,307,457.813 XCN
37.0247%
2
HTX
XCN-USDT$0.0019
0.0000005 Eth
$512,025.00
278,959,060.482 XCN
14.9188%
3
Coinbase Exchange
XCN-USD$0.0019
0.0000005 Eth
$428,062.00
230,140,783.700 XCN
12.3079%
4
Ourbit
XCN-USDT$0.0019
0.0000005 Eth
$366,261.00
199,940,738.530 XCN
10.6928%
5
Bithumb
XCN-KRW$0.0019
0.0000005 Eth
$248,227.00
133,080,524.821 XCN
7.1172%
6
BtcTurk | Kripto
XCN-USDT$0.0019
0.0000005 Eth
$211,971.00
112,744,602.077 XCN
6.0296%
7
CoinCatch
XCN-USDT$0.0019
0.0000005 Eth
$87,602.00
47,780,448.000 XCN
2.5553%
8
Gate.io
XCN-USDT$0.0019
0.0000005 Eth
$81,009.00
44,300,896.000 XCN
2.3692%
9
Bitget
XCN-USDT$0.0019
0.0000005 Eth
$60,062.00
32,703,136.000 XCN
1.7490%
10
Kraken
XCN-USD$0.0019
0.0000005 Eth
$52,261.00
27,947,042.778 XCN
1.4946%
11
KuCoin
XCN-USDT$0.0019
0.0000005 Eth
$48,172.00
25,766,610.670 XCN
1.3780%
12
Uniswap V2 (Ethereum)
0XA2CD3D43C775978A96BDBF12D733D5A1ED94FB18-0XC02AAA39B223FE8D0A0E5C4F27EAD9083C756CC2$0.0018
0.0000005 Eth
$35,760.00
19,072,401.827 0XA2CD3D43C775978A96BDBF12D733D5A1ED94FB18
1.0200%
13
BingX
XCN-USDT$0.0019
0.0000005 Eth
$29,413.00
16,021,566.614 XCN
0.8568%
14
MEXC
XCN-USDT$0.0019
0.0000005 Eth
$27,441.00
14,719,531.990 XCN
0.7872%
15
LATOKEN
XCN-USDT$0.0019
0.0000005 Eth
$15,863.28
8,486,136.300 XCN
0.4538%
16
CoinEx
XCN-USDT$0.0019
0.0000005 Eth
$4,679.89
2,557,707.634 XCN
0.1368%
17
Uniswap V3 (Base)
0X9C632E6AAA3EA73F91554F8A3CB2ED2F29605E0C-0X833589FCD6EDB6E08F4C7C32D4F71B54BDA02913$0.0019
0.0000005 Eth
$2,184.11
1,199,667.919 0X9C632E6AAA3EA73F91554F8A3CB2ED2F29605E0C
0.0642%
18
Kraken
XCN-EUR$0.0019
0.0000005 Eth
$1,780.32
956,569.305 XCN
0.0512%
19
PancakeSwap (v2)
0X7324C7C0D95CEBC73EEA7E85CBAAC0DBDF88A05B-0XBB4CDB9CBD36B01BD1CBAEBF2DE08D9173BC095C$0.002
0.0000006 Eth
$981.14
529,648.619 0X7324C7C0D95CEBC73EEA7E85CBAAC0DBDF88A05B
0.0283%
20
KuCoin
XCN-BTC$0.0018
0.0000005 Eth
$443.62
240,253.859 XCN
0.0128%
21
Bitrue
XCN-USDT$0.002
0.0000006 Eth
$66.20
33,264.486 XCN
0.0018%
22
Gate.io
XCN-ETH$0.0019
0.0000006 Eth
$3.97
2,136.490 XCN
0.0001%
23
Poloniex
XCN-USDT$0.002
0.0000006 Eth
$0.6005
294.226 XCN
0.0000%
24
HitBTC
XCN-USDT$0.0015
0.0000004 Eth
$0.0574
39.000 XCN
0.0000%

Contract Source Code Verified (Exact Match)

Contract Name:
Chain

Compiler Version
v0.5.16+commit.9c3226ce

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2022-03-07
*/

pragma solidity 0.5.16;

/**
 * @title Roles
 * @dev Library for managing addresses assigned to a Role.
 */
library Roles {
    struct Role {
        mapping (address => bool) bearer;
    }

    /**
     * @dev give an account access to this role
     */
    function add(Role storage role, address account) internal {
        require(account != address(0));
        require(!has(role, account));

        role.bearer[account] = true;
    }

    /**
     * @dev remove an account's access to this role
     */
    function remove(Role storage role, address account) internal {
        require(account != address(0));
        require(has(role, account));

        role.bearer[account] = false;
    }

    /**
     * @dev check if an account has this role
     * @return bool
     */
    function has(Role storage role, address account) internal view returns (bool) {
        require(account != address(0));
        return role.bearer[account];
    }
}

contract MinterRole {
    using Roles for Roles.Role;

    event MinterAdded(address indexed account);
    event MinterRemoved(address indexed account);

    Roles.Role private _minters;

    constructor () internal {
        _addMinter(msg.sender);
    }

    modifier onlyMinter() {
        require(isMinter(msg.sender));
        _;
    }

    function isMinter(address account) public view returns (bool) {
        return _minters.has(account);
    }

    function addMinter(address account) public onlyMinter {
        _addMinter(account);
    }

    function renounceMinter() public {
        _removeMinter(msg.sender);
    }

    function _addMinter(address account) internal {
        _minters.add(account);
        emit MinterAdded(account);
    }

    function _removeMinter(address account) internal {
        _minters.remove(account);
        emit MinterRemoved(account);
    }
}

/**
 * @title SafeMath
 * @dev Unsigned math operations with safety checks that revert on error
 */
library SafeMath {
    /**
     * @dev Multiplies two unsigned integers, reverts on overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
        // benefit is lost if 'b' is also tested.
        // See: https://github.com/OpenZeppelin/openzeppelin-solidity/pull/522
        if (a == 0) {
            return 0;
        }

        uint256 c = a * b;
        require(c / a == b);

        return c;
    }

    /**
     * @dev Integer division of two unsigned integers truncating the quotient, reverts on division by zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        // Solidity only automatically asserts when dividing by 0
        require(b > 0);
        uint256 c = a / b;
        // assert(a == b * c + a % b); // There is no case in which this doesn't hold

        return c;
    }

    /**
     * @dev Subtracts two unsigned integers, reverts on overflow (i.e. if subtrahend is greater than minuend).
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        require(b <= a);
        uint256 c = a - b;

        return c;
    }

    /**
     * @dev Adds two unsigned integers, reverts on overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a);

        return c;
    }

    /**
     * @dev Divides two unsigned integers and returns the remainder (unsigned integer modulo),
     * reverts when dividing by zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        require(b != 0);
        return a % b;
    }
}

/**
 * @title SafeMath96
 * @dev Unsigned math operations with safety checks that revert on error with 96 bit unsiged integer
 */
library SafeMath96 {
    function safe32(uint n, string memory errorMessage) internal pure returns (uint32) {
        require(n < 2**32, errorMessage);
        return uint32(n);
    }

    function safe96(uint n, string memory errorMessage) internal pure returns (uint96) {
        require(n < 2**96, errorMessage);
        return uint96(n);
    }

    function add96(uint96 a, uint96 b, string memory errorMessage) internal pure returns (uint96) {
        uint96 c = a + b;
        require(c >= a, errorMessage);
        return c;
    }

    function sub96(uint96 a, uint96 b, string memory errorMessage) internal pure returns (uint96) {
        require(b <= a, errorMessage);
        return a - b;
    }
}
/**
 * @title ERC20 interface
 * @dev see https://eips.ethereum.org/EIPS/eip-20
 */
interface IERC20 {
    function transfer(address to, uint256 value) external returns (bool);

    function approve(address spender, uint256 value) external returns (bool);

    function transferFrom(address from, address to, uint256 value) external returns (bool);

    function totalSupply() external view returns (uint256);

    function balanceOf(address who) external view returns (uint256);

    function allowance(address owner, address spender) external view returns (uint256);

    event Transfer(address indexed from, address indexed to, uint256 value);

    event Approval(address indexed owner, address indexed spender, uint256 value);
}

/**
 * @title CHN interface
 * @dev see https://github.com/chain/chain-token/blob/main/ChainToken.sol
 */
interface CHNInterface {
    function transfer(address to, uint256 value) external returns (bool);

    function approve(address spender, uint256 value) external returns (bool);

    function transferFrom(address from, address to, uint256 value) external returns (bool);

    function totalSupply() external view returns (uint256);

    function balanceOf(address who) external view returns (uint256);

    function allowance(address owner, address spender) external view returns (uint256);

    function burn(uint256 _value) external;

    event Transfer(address indexed from, address indexed to, uint256 value);

    event Approval(address indexed owner, address indexed spender, uint256 value);

    event Burn(address indexed burner, uint256 value);
}

/**
 * @title Standard ERC20 token
 *
 * @dev Implementation of the basic standard token.
 * https://eips.ethereum.org/EIPS/eip-20
 * Originally based on code by FirstBlood:
 * https://github.com/Firstbloodio/token/blob/master/smart_contract/FirstBloodToken.sol
 *
 * This implementation emits additional Approval events, allowing applications to reconstruct the allowance status for
 * all accounts just by listening to said events. Note that this isn't required by the specification, and other
 * compliant implementations may not do it.
 */
contract ERC20 is IERC20 {
    using SafeMath for uint256;

    mapping (address => uint256) private _balances;

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

    uint256 private _totalSupply;

    /**
     * @dev Total number of tokens in existence
     */
    function totalSupply() public view returns (uint256) {
        return _totalSupply;
    }

    /**
     * @dev Gets the balance of the specified address.
     * @param owner The address to query the balance of.
     * @return An uint256 representing the amount owned by the passed address.
     */
    function balanceOf(address owner) public view returns (uint256) {
        return _balances[owner];
    }

    /**
     * @dev Function to check the amount of tokens that an owner allowed to a spender.
     * @param owner address The address which owns the funds.
     * @param spender address The address which will spend the funds.
     * @return A uint256 specifying the amount of tokens still available for the spender.
     */
    function allowance(address owner, address spender) public view returns (uint256) {
        return _allowed[owner][spender];
    }

    /**
     * @dev Transfer token to a specified address
     * @param to The address to transfer to.
     * @param value The amount to be transferred.
     */
    function transfer(address to, uint256 value) public returns (bool) {
        _transfer(msg.sender, to, value);
        return true;
    }

    /**
     * @dev Approve the passed address to spend the specified amount of tokens on behalf of msg.sender.
     * Beware that changing an allowance with this method brings the risk that someone may use both the old
     * and the new allowance by unfortunate transaction ordering. One possible solution to mitigate this
     * race condition is to first reduce the spender's allowance to 0 and set the desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     * @param spender The address which will spend the funds.
     * @param value The amount of tokens to be spent.
     */
    function approve(address spender, uint256 value) public returns (bool) {
        _approve(msg.sender, spender, value);
        return true;
    }

    /**
     * @dev Transfer tokens from one address to another.
     * Note that while this function emits an Approval event, this is not required as per the specification,
     * and other compliant implementations may not emit the event.
     * @param from address The address which you want to send tokens from
     * @param to address The address which you want to transfer to
     * @param value uint256 the amount of tokens to be transferred
     */
    function transferFrom(address from, address to, uint256 value) public returns (bool) {
        _transfer(from, to, value);
        _approve(from, msg.sender, _allowed[from][msg.sender].sub(value));
        return true;
    }

    /**
     * @dev Increase the amount of tokens that an owner allowed to a spender.
     * approve should be called when _allowed[msg.sender][spender] == 0. To increment
     * allowed value is better to use this function to avoid 2 calls (and wait until
     * the first transaction is mined)
     * From MonolithDAO Token.sol
     * Emits an Approval event.
     * @param spender The address which will spend the funds.
     * @param addedValue The amount of tokens to increase the allowance by.
     */
    function increaseAllowance(address spender, uint256 addedValue) public returns (bool) {
        _approve(msg.sender, spender, _allowed[msg.sender][spender].add(addedValue));
        return true;
    }

    /**
     * @dev Decrease the amount of tokens that an owner allowed to a spender.
     * approve should be called when _allowed[msg.sender][spender] == 0. To decrement
     * allowed value is better to use this function to avoid 2 calls (and wait until
     * the first transaction is mined)
     * From MonolithDAO Token.sol
     * Emits an Approval event.
     * @param spender The address which will spend the funds.
     * @param subtractedValue The amount of tokens to decrease the allowance by.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue) public returns (bool) {
        _approve(msg.sender, spender, _allowed[msg.sender][spender].sub(subtractedValue));
        return true;
    }

    /**
     * @dev Transfer token for a specified addresses
     * @param from The address to transfer from.
     * @param to The address to transfer to.
     * @param value The amount to be transferred.
     */
    function _transfer(address from, address to, uint256 value) internal {
        require(to != address(0));

        _balances[from] = _balances[from].sub(value);
        _balances[to] = _balances[to].add(value);
        emit Transfer(from, to, value);
    }

    /**
     * @dev Internal function that mints an amount of the token and assigns it to
     * an account. This encapsulates the modification of balances such that the
     * proper events are emitted.
     * @param account The account that will receive the created tokens.
     * @param value The amount that will be created.
     */
    function _mint(address account, uint256 value) internal {
        require(account != address(0));

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

    /**
     * @dev Internal function that burns an amount of the token of a given
     * account.
     * @param account The account whose tokens will be burnt.
     * @param value The amount that will be burnt.
     */
    function _burn(address account, uint256 value) internal {
        require(account != address(0));

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

    /**
     * @dev Approve an address to spend another addresses' tokens.
     * @param owner The address that owns the tokens.
     * @param spender The address that will spend the tokens.
     * @param value The number of tokens that can be spent.
     */
    function _approve(address owner, address spender, uint256 value) internal {
        require(spender != address(0));
        require(owner != address(0));

        _allowed[owner][spender] = value;
        emit Approval(owner, spender, value);
    }

    /**
     * @dev Internal function that burns an amount of the token of a given
     * account, deducting from the sender's allowance for said account. Uses the
     * internal burn function.
     * Emits an Approval event (reflecting the reduced allowance).
     * @param account The account whose tokens will be burnt.
     * @param value The amount that will be burnt.
     */
    function _burnFrom(address account, uint256 value) internal {
        _burn(account, value);
        _approve(account, msg.sender, _allowed[account][msg.sender].sub(value));
    }
}

/**
 * @title ERC20Mintable
 * @dev ERC20 minting logic
 */
contract ERC20Mintable is ERC20, MinterRole {
    address private MINT_BASE_TOKEN;
    uint256 private MAX_SUPPLY_AMOUNT;

    constructor (address mintBaseToken, uint256 MAX_SUPPLY) public {
        MINT_BASE_TOKEN = mintBaseToken;
        MAX_SUPPLY_AMOUNT = MAX_SUPPLY;
    }

    /**
     * @dev Function to mint tokens
     * @param to The address that will receive the minted tokens.
     * @param value The amount of tokens to mint.
     * @return A boolean that indicates if the operation was successful.
     */
    function mint(address to, uint256 value) public returns (bool) {
        require(CHNInterface(MINT_BASE_TOKEN).balanceOf(msg.sender) >= value, "Mint Base Token Insufficient");
        require(totalSupply().add(value.mul(1000)) < MAX_SUPPLY_AMOUNT, "Mint limited max supply");
        IERC20(MINT_BASE_TOKEN).transferFrom(msg.sender, address(this), value);
        CHNInterface(MINT_BASE_TOKEN).burn(value);
        _mint(to, value.mul(1000));
        return true;
    }
}

/**
 * @title ERC20Detailed token
 * @dev The decimals are only for visualization purposes.
 * All the operations are done using the smallest and indivisible token unit,
 * just as on Ethereum all the operations are done in wei.
 */
contract ERC20Detailed is IERC20 {
    string private _name;
    string private _symbol;
    uint8 private _decimals;

    constructor (string memory name, string memory symbol, uint8 decimals) public {
        _name = name;
        _symbol = symbol;
        _decimals = decimals;
    }

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

    /**
     * @return the symbol of the token.
     */
    function symbol() public view returns (string memory) {
        return _symbol;
    }

    /**
     * @return the number of decimals of the token.
     */
    function decimals() public view returns (uint8) {
        return _decimals;
    }
}

contract Chain is ERC20Mintable, ERC20Detailed {
    using SafeMath96 for uint96;

    uint8 public constant DECIMALS = 18;
    uint256 public constant INITIAL_SUPPLY = 21537311000 * (10 ** uint256(DECIMALS));
    uint256 public constant MAX_SUPPLY = 68895442185 * (10 ** uint256(DECIMALS));
    address public constant MINT_BASE = 0x41C37A4683d6a05adB31c39D71348A8403B13Ca9;

    /// @notice A record of each accounts delegate
    mapping (address => address) public delegates;

    /// @notice A checkpoint for marking number of votes from a given block
    struct Checkpoint {
        uint32 fromBlock;
        uint256 votes;
    }

    /// @notice A record of votes checkpoints for each account, by index
    mapping (address => mapping (uint32 => Checkpoint)) public checkpoints;

    /// @notice The number of checkpoints for each account
    mapping (address => uint32) public numCheckpoints;

    /// @notice The EIP-712 typehash for the contract's domain
    bytes32 public constant DOMAIN_TYPEHASH = keccak256("EIP712Domain(string name,uint256 chainId,address verifyingContract)");

    /// @notice The EIP-712 typehash for the delegation struct used by the contract
    bytes32 public constant DELEGATION_TYPEHASH = keccak256("Delegation(address delegatee,uint256 nonce,uint256 expiry)");

    /// @notice A record of states for signing / validating signatures
    mapping (address => uint) public nonces;

    /// @notice An event thats emitted when an account changes its delegate
    event DelegateChanged(address indexed delegator, address indexed fromDelegate, address indexed toDelegate);

    /// @notice An event thats emitted when a delegate account's vote balance changes
    event DelegateVotesChanged(address indexed delegate, uint previousBalance, uint newBalance);

    /**
     * @dev Constructor that gives msg.sender all of existing tokens.
     */
    constructor () public ERC20Detailed("Chain", "XCN", DECIMALS) ERC20Mintable(MINT_BASE, MAX_SUPPLY) {
        _mint(msg.sender, INITIAL_SUPPLY);
    }

    function transfer(address to, uint256 value) public returns (bool) {
        _transfer(msg.sender, to, value);
        _moveDelegates(delegates[msg.sender], delegates[to], value);
        return true;
    }


    function transferFrom(address from, address to, uint256 value) public returns (bool) {
        _transfer(from, to, value);
        _approve(from, msg.sender, allowance(from, msg.sender).sub(value));
        _moveDelegates(delegates[msg.sender], delegates[to], value);
        return true;
    }

    /**
     * @notice Delegate votes from `msg.sender` to `delegatee`
     * @param delegatee The address to delegate votes to
     */
    function delegate(address delegatee) public {
        return _delegate(msg.sender, delegatee);
    }

    /**
     * @notice Delegates votes from signatory to `delegatee`
     * @param delegatee The address to delegate votes to
     * @param nonce The contract state required to match the signature
     * @param expiry The time at which to expire the signature
     * @param v The recovery byte of the signature
     * @param r Half of the ECDSA signature pair
     * @param s Half of the ECDSA signature pair
     */
    function delegateBySig(address delegatee, uint nonce, uint expiry, uint8 v, bytes32 r, bytes32 s) public {
        bytes32 domainSeparator = keccak256(abi.encode(DOMAIN_TYPEHASH, keccak256(bytes(name())), getChainId(), address(this)));
        bytes32 structHash = keccak256(abi.encode(DELEGATION_TYPEHASH, delegatee, nonce, expiry));
        bytes32 digest = keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash));
        address signatory = ecrecover(digest, v, r, s);
        require(signatory != address(0), "Xcn::delegateBySig: invalid signature");
        require(nonce == nonces[signatory]++, "Xcn::delegateBySig: invalid nonce");
        require(now <= expiry, "Xcn::delegateBySig: signature expired");
        return _delegate(signatory, delegatee);
    }

    /**
     * @notice Gets the current votes balance for `account`
     * @param account The address to get votes balance
     * @return The number of current votes for `account`
     */
    function getCurrentVotes(address account) external view returns (uint256) {
        uint32 nCheckpoints = numCheckpoints[account];
        return nCheckpoints > 0 ? checkpoints[account][nCheckpoints - 1].votes : 0;
    }

    /**
     * @notice Determine the prior number of votes for an account as of a block number
     * @dev Block number must be a finalized block or else this function will revert to prevent misinformation.
     * @param account The address of the account to check
     * @param blockNumber The block number to get the vote balance at
     * @return The number of votes the account had as of the given block
     */
    function getPriorVotes(address account, uint blockNumber) public view returns (uint256) {
        require(blockNumber < block.number, "Xcn::getPriorVotes: not yet determined");

        uint32 nCheckpoints = numCheckpoints[account];
        if (nCheckpoints == 0) {
            return 0;
        }

        // First check most recent balance
        if (checkpoints[account][nCheckpoints - 1].fromBlock <= blockNumber) {
            return checkpoints[account][nCheckpoints - 1].votes;
        }

        // Next check implicit zero balance
        if (checkpoints[account][0].fromBlock > blockNumber) {
            return 0;
        }

        uint32 lower = 0;
        uint32 upper = nCheckpoints - 1;
        while (upper > lower) {
            uint32 center = upper - (upper - lower) / 2; // ceil, avoiding overflow
            Checkpoint memory cp = checkpoints[account][center];
            if (cp.fromBlock == blockNumber) {
                return cp.votes;
            } else if (cp.fromBlock < blockNumber) {
                lower = center;
            } else {
                upper = center - 1;
            }
        }
        return checkpoints[account][lower].votes;
    }

    function _delegate(address delegator, address delegatee) internal {
        address currentDelegate = delegates[delegator];
        uint256 delegatorBalance = balanceOf(delegator);
        delegates[delegator] = delegatee;

        emit DelegateChanged(delegator, currentDelegate, delegatee);

        _moveDelegates(currentDelegate, delegatee, delegatorBalance);
    }

    function _moveDelegates(address srcRep, address dstRep, uint256 amount) internal {
        if (srcRep != dstRep && amount > 0) {
            if (srcRep != address(0)) {
                uint32 srcRepNum = numCheckpoints[srcRep];
                uint256 srcRepOld = srcRepNum > 0 ? checkpoints[srcRep][srcRepNum - 1].votes : 0;
                uint256 srcRepNew = srcRepOld.sub(amount);
                _writeCheckpoint(srcRep, srcRepNum, srcRepOld, srcRepNew);
            }

            if (dstRep != address(0)) {
                uint32 dstRepNum = numCheckpoints[dstRep];
                uint256 dstRepOld = dstRepNum > 0 ? checkpoints[dstRep][dstRepNum - 1].votes : 0;
                uint256 dstRepNew = dstRepOld.add(amount);
                _writeCheckpoint(dstRep, dstRepNum, dstRepOld, dstRepNew);
            }
        }
    }

    function _writeCheckpoint(address delegatee, uint32 nCheckpoints, uint256 oldVotes, uint256 newVotes) internal {
      uint32 blockNumber = safe32(block.number, "Xcn::_writeCheckpoint: block number exceeds 32 bits");

      if (nCheckpoints > 0 && checkpoints[delegatee][nCheckpoints - 1].fromBlock == blockNumber) {
          checkpoints[delegatee][nCheckpoints - 1].votes = newVotes;
      } else {
          checkpoints[delegatee][nCheckpoints] = Checkpoint(blockNumber, newVotes);
          numCheckpoints[delegatee] = nCheckpoints + 1;
      }

      emit DelegateVotesChanged(delegatee, oldVotes, newVotes);
    }
    
    function safe32(uint n, string memory errorMessage) internal pure returns (uint32) {
        require(n < 2**32, errorMessage);
        return uint32(n);
    }

    function getChainId() internal pure returns (uint) {
        uint256 chainId;
        assembly { chainId := chainid() }
        return chainId;
    }
}

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":"delegator","type":"address"},{"indexed":true,"internalType":"address","name":"fromDelegate","type":"address"},{"indexed":true,"internalType":"address","name":"toDelegate","type":"address"}],"name":"DelegateChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"delegate","type":"address"},{"indexed":false,"internalType":"uint256","name":"previousBalance","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newBalance","type":"uint256"}],"name":"DelegateVotesChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"MinterAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"MinterRemoved","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":"DECIMALS","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"DELEGATION_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"DOMAIN_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"INITIAL_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"MINT_BASE","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"addMinter","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","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":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint32","name":"","type":"uint32"}],"name":"checkpoints","outputs":[{"internalType":"uint32","name":"fromBlock","type":"uint32"},{"internalType":"uint256","name":"votes","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"delegatee","type":"address"}],"name":"delegate","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"delegatee","type":"address"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"uint256","name":"expiry","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"delegateBySig","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"delegates","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getCurrentVotes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"blockNumber","type":"uint256"}],"name":"getPriorVotes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isMinter","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"mint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":true,"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"numCheckpoints","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"renounceMinter","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":true,"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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"}]

60806040523480156200001157600080fd5b50604080518082018252600581526421b430b4b760d91b602080830191909152825180840190935260038352622c21a760e91b908301529060127341c37a4683d6a05adb31c39d71348a8403b13ca96bde9cf95c90fa9269d684000062000081336001600160e01b036200010616565b600480546001600160a01b0319166001600160a01b0393909316929092179091556005558251620000ba906006906020860190620002ba565b508151620000d0906007906020850190620002ba565b506008805460ff191660ff9290921691909117905550620001009050336b45973f00c8e87ed73560000062000158565b6200035f565b620001218160036200021160201b6200178a1790919060201c565b6040516001600160a01b038216907f6ae172837ea30b801fbfcdd4108aa1d5bf8ff775444fd70256b44e6bf3dfc3f690600090a250565b6001600160a01b0382166200016c57600080fd5b62000188816002546200026a60201b620013e61790919060201c565b6002556001600160a01b03821660009081526020818152604090912054620001bb918390620013e66200026a821b17901c565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b6001600160a01b0381166200022557600080fd5b6200023a82826001600160e01b036200028416565b156200024557600080fd5b6001600160a01b0316600090815260209190915260409020805460ff19166001179055565b6000828201838110156200027d57600080fd5b9392505050565b60006001600160a01b0382166200029a57600080fd5b506001600160a01b03166000908152602091909152604090205460ff1690565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620002fd57805160ff19168380011785556200032d565b828001600101855582156200032d579182015b828111156200032d57825182559160200191906001019062000310565b506200033b9291506200033f565b5090565b6200035c91905b808211156200033b576000815560010162000346565b90565b611a46806200036f6000396000f3fe608060405234801561001057600080fd5b50600436106101cf5760003560e01c806370a0823111610104578063a457c2d7116100a2578063c3cda52011610071578063c3cda5201461057a578063dd62ed3e146105c1578063e7a324dc146105ef578063f1127ed8146105f7576101cf565b8063a457c2d7146104d6578063a9059cbb14610502578063aa271e1a1461052e578063b4b5ea5714610554576101cf565b806381ea3cc7116100de57806381ea3cc71461049857806395d89b41146104a0578063983b2d56146104a857806398650275146104ce576101cf565b806370a0823114610420578063782d6fe1146104465780637ecebe0014610472576101cf565b8063313ce5671161017157806340c10f191161014b57806340c10f191461034b578063587cde1e146103775780635c19a95c146103b95780636fcfff45146103e1576101cf565b8063313ce5671461030f57806332cb6b0c14610317578063395093511461031f576101cf565b806320606b70116101ad57806320606b70146102ab57806323b872dd146102b35780632e0f2625146102e95780632ff2e9dc14610307576101cf565b806306fdde03146101d4578063095ea7b31461025157806318160ddd14610291575b600080fd5b6101dc610649565b6040805160208082528351818301528351919283929083019185019080838360005b838110156102165781810151838201526020016101fe565b50505050905090810190601f1680156102435780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61027d6004803603604081101561026757600080fd5b506001600160a01b0381351690602001356106df565b604080519115158252519081900360200190f35b6102996106f6565b60408051918252519081900360200190f35b6102996106fc565b61027d600480360360608110156102c957600080fd5b506001600160a01b03813581169160208101359091169060400135610717565b6102f1610783565b6040805160ff9092168252519081900360200190f35b610299610788565b6102f1610798565b6102996107a1565b61027d6004803603604081101561033557600080fd5b506001600160a01b0381351690602001356107b1565b61027d6004803603604081101561036157600080fd5b506001600160a01b0381351690602001356107ed565b61039d6004803603602081101561038d57600080fd5b50356001600160a01b0316610a42565b604080516001600160a01b039092168252519081900360200190f35b6103df600480360360208110156103cf57600080fd5b50356001600160a01b0316610a5d565b005b610407600480360360208110156103f757600080fd5b50356001600160a01b0316610a6a565b6040805163ffffffff9092168252519081900360200190f35b6102996004803603602081101561043657600080fd5b50356001600160a01b0316610a82565b6102996004803603604081101561045c57600080fd5b506001600160a01b038135169060200135610a9d565b6102996004803603602081101561048857600080fd5b50356001600160a01b0316610ca5565b61039d610cb7565b6101dc610ccf565b6103df600480360360208110156104be57600080fd5b50356001600160a01b0316610d30565b6103df610d4b565b61027d600480360360408110156104ec57600080fd5b506001600160a01b038135169060200135610d56565b61027d6004803603604081101561051857600080fd5b506001600160a01b038135169060200135610d92565b61027d6004803603602081101561054457600080fd5b50356001600160a01b0316610dd0565b6102996004803603602081101561056a57600080fd5b50356001600160a01b0316610de3565b6103df600480360360c081101561059057600080fd5b506001600160a01b038135169060208101359060408101359060ff6060820135169060808101359060a00135610e47565b610299600480360360408110156105d757600080fd5b506001600160a01b03813581169160200135166110bd565b6102996110e8565b6106296004803603604081101561060d57600080fd5b5080356001600160a01b0316906020013563ffffffff16611103565b6040805163ffffffff909316835260208301919091528051918290030190f35b60068054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156106d55780601f106106aa576101008083540402835291602001916106d5565b820191906000526020600020905b8154815290600101906020018083116106b857829003601f168201915b5050505050905090565b60006106ec338484611130565b5060015b92915050565b60025490565b60405180604361192982396043019050604051809103902081565b60006107248484846111b8565b61074884336107438561073789336110bd565b9063ffffffff61128316565b611130565b33600090815260096020526040808220546001600160a01b0386811684529190922054610779928216911684611298565b5060019392505050565b601281565b6b45973f00c8e87ed73560000081565b60085460ff1690565b6bde9cf95c90fa9269d684000081565b3360008181526001602090815260408083206001600160a01b038716845290915281205490916106ec918590610743908663ffffffff6113e616565b60048054604080516370a0823160e01b815233938101939093525160009284926001600160a01b0316916370a0823191602480820192602092909190829003018186803b15801561083d57600080fd5b505afa158015610851573d6000803e3d6000fd5b505050506040513d602081101561086757600080fd5b505110156108bc576040805162461bcd60e51b815260206004820152601c60248201527f4d696e74204261736520546f6b656e20496e73756666696369656e7400000000604482015290519081900360640190fd5b6005546108e86108d4846103e863ffffffff6113f816565b6108dc6106f6565b9063ffffffff6113e616565b1061093a576040805162461bcd60e51b815260206004820152601760248201527f4d696e74206c696d69746564206d617820737570706c79000000000000000000604482015290519081900360640190fd5b60048054604080516323b872dd60e01b8152339381019390935230602484015260448301859052516001600160a01b03909116916323b872dd9160648083019260209291908290030181600087803b15801561099557600080fd5b505af11580156109a9573d6000803e3d6000fd5b505050506040513d60208110156109bf57600080fd5b50506004805460408051630852cd8d60e31b8152928301859052516001600160a01b03909116916342966c6891602480830192600092919082900301818387803b158015610a0c57600080fd5b505af1158015610a20573d6000803e3d6000fd5b505050506106ec83610a3d6103e8856113f890919063ffffffff16565b61141f565b6009602052600090815260409020546001600160a01b031681565b610a6733826114c7565b50565b600b6020526000908152604090205463ffffffff1681565b6001600160a01b031660009081526020819052604090205490565b6000438210610add5760405162461bcd60e51b815260040180806020018281038252602681526020018061196c6026913960400191505060405180910390fd5b6001600160a01b0383166000908152600b602052604090205463ffffffff1680610b0b5760009150506106f0565b6001600160a01b0384166000908152600a6020908152604080832063ffffffff600019860181168552925290912054168310610b7a576001600160a01b0384166000908152600a602090815260408083206000199490940163ffffffff168352929052206001015490506106f0565b6001600160a01b0384166000908152600a6020908152604080832083805290915290205463ffffffff16831015610bb55760009150506106f0565b600060001982015b8163ffffffff168163ffffffff161115610c6e57600282820363ffffffff16048103610be76118b9565b506001600160a01b0387166000908152600a6020908152604080832063ffffffff808616855290835292819020815180830190925280549093168082526001909301549181019190915290871415610c49576020015194506106f09350505050565b805163ffffffff16871115610c6057819350610c67565b6001820392505b5050610bbd565b506001600160a01b0385166000908152600a6020908152604080832063ffffffff9094168352929052206001015491505092915050565b600c6020526000908152604090205481565b7341c37a4683d6a05adb31c39d71348a8403b13ca981565b60078054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156106d55780601f106106aa576101008083540402835291602001916106d5565b610d3933610dd0565b610d4257600080fd5b610a678161155c565b610d54336115a4565b565b3360008181526001602090815260408083206001600160a01b038716845290915281205490916106ec918590610743908663ffffffff61128316565b6000610d9f3384846111b8565b33600090815260096020526040808220546001600160a01b03868116845291909220546106ec928216911684611298565b60006106f060038363ffffffff6115ec16565b6001600160a01b0381166000908152600b602052604081205463ffffffff1680610e0e576000610e40565b6001600160a01b0383166000908152600a6020908152604080832063ffffffff60001986011684529091529020600101545b9392505050565b600060405180806119296043913960430190506040518091039020610e6a610649565b80519060200120610e79611621565b3060405160200180858152602001848152602001838152602001826001600160a01b03166001600160a01b03168152602001945050505050604051602081830303815290604052805190602001209050600060405180806119b7603a91396040805191829003603a0182206020808401919091526001600160a01b038c1683830152606083018b905260808084018b90528251808503909101815260a08401835280519082012061190160f01b60c085015260c2840187905260e2808501829052835180860390910181526101028501808552815191840191909120600091829052610122860180865281905260ff8c1661014287015261016286018b905261018286018a9052935191965092945091926001926101a28083019392601f198301929081900390910190855afa158015610fb7573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166110095760405162461bcd60e51b81526004018080602001828103825260258152602001806119046025913960400191505060405180910390fd5b6001600160a01b0381166000908152600c6020526040902080546001810190915589146110675760405162461bcd60e51b81526004018080602001828103825260218152602001806119f16021913960400191505060405180910390fd5b874211156110a65760405162461bcd60e51b81526004018080602001828103825260258152602001806119926025913960400191505060405180910390fd5b6110b0818b6114c7565b505050505b505050505050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b60405180603a6119b78239603a019050604051809103902081565b600a6020908152600092835260408084209091529082529020805460019091015463ffffffff9091169082565b6001600160a01b03821661114357600080fd5b6001600160a01b03831661115657600080fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b0382166111cb57600080fd5b6001600160a01b0383166000908152602081905260409020546111f4908263ffffffff61128316565b6001600160a01b038085166000908152602081905260408082209390935590841681522054611229908263ffffffff6113e616565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b60008282111561129257600080fd5b50900390565b816001600160a01b0316836001600160a01b0316141580156112ba5750600081115b156113e1576001600160a01b03831615611352576001600160a01b0383166000908152600b602052604081205463ffffffff1690816112fa57600061132c565b6001600160a01b0385166000908152600a6020908152604080832063ffffffff60001987011684529091529020600101545b90506000611340828563ffffffff61128316565b905061134e86848484611625565b5050505b6001600160a01b038216156113e1576001600160a01b0382166000908152600b602052604081205463ffffffff16908161138d5760006113bf565b6001600160a01b0384166000908152600a6020908152604080832063ffffffff60001987011684529091529020600101545b905060006113d3828563ffffffff6113e616565b90506110b585848484611625565b505050565b600082820183811015610e4057600080fd5b600082611407575060006106f0565b8282028284828161141457fe5b0414610e4057600080fd5b6001600160a01b03821661143257600080fd5b600254611445908263ffffffff6113e616565b6002556001600160a01b038216600090815260208190526040902054611471908263ffffffff6113e616565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b6001600160a01b03808316600090815260096020526040812054909116906114ee84610a82565b6001600160a01b0385811660008181526009602052604080822080546001600160a01b031916898616908117909155905194955093928616927f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f9190a4611556828483611298565b50505050565b61156d60038263ffffffff61178a16565b6040516001600160a01b038216907f6ae172837ea30b801fbfcdd4108aa1d5bf8ff775444fd70256b44e6bf3dfc3f690600090a250565b6115b560038263ffffffff6117d616565b6040516001600160a01b038216907fe94479a9f7e1952cc78f2d6baab678adc1b772d936c6583def489e524cb6669290600090a250565b60006001600160a01b03821661160157600080fd5b506001600160a01b03166000908152602091909152604090205460ff1690565b4690565b6000611649436040518060600160405280603381526020016118d16033913961181e565b905060008463ffffffff1611801561169257506001600160a01b0385166000908152600a6020908152604080832063ffffffff6000198901811685529252909120548282169116145b156116cf576001600160a01b0385166000908152600a6020908152604080832063ffffffff60001989011684529091529020600101829055611740565b60408051808201825263ffffffff808416825260208083018681526001600160a01b038a166000818152600a84528681208b8616825284528681209551865490861663ffffffff199182161787559251600196870155908152600b9092529390208054928801909116919092161790555b604080518481526020810184905281516001600160a01b038816927fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724928290030190a25050505050565b6001600160a01b03811661179d57600080fd5b6117a782826115ec565b156117b157600080fd5b6001600160a01b0316600090815260209190915260409020805460ff19166001179055565b6001600160a01b0381166117e957600080fd5b6117f382826115ec565b6117fc57600080fd5b6001600160a01b0316600090815260209190915260409020805460ff19169055565b60008164010000000084106118b15760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561187657818101518382015260200161185e565b50505050905090810190601f1680156118a35780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b509192915050565b60408051808201909152600080825260208201529056fe58636e3a3a5f7772697465436865636b706f696e743a20626c6f636b206e756d6265722065786365656473203332206269747358636e3a3a64656c656761746542795369673a20696e76616c6964207369676e6174757265454950373132446f6d61696e28737472696e67206e616d652c75696e7432353620636861696e49642c6164647265737320766572696679696e67436f6e74726163742958636e3a3a6765745072696f72566f7465733a206e6f74207965742064657465726d696e656458636e3a3a64656c656761746542795369673a207369676e6174757265206578706972656444656c65676174696f6e28616464726573732064656c6567617465652c75696e74323536206e6f6e63652c75696e74323536206578706972792958636e3a3a64656c656761746542795369673a20696e76616c6964206e6f6e6365a265627a7a72315820785d674bad5af3e332f4d46ffd3287330c425b188408647655b04b6ef1ce6e5c64736f6c63430005100032

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101cf5760003560e01c806370a0823111610104578063a457c2d7116100a2578063c3cda52011610071578063c3cda5201461057a578063dd62ed3e146105c1578063e7a324dc146105ef578063f1127ed8146105f7576101cf565b8063a457c2d7146104d6578063a9059cbb14610502578063aa271e1a1461052e578063b4b5ea5714610554576101cf565b806381ea3cc7116100de57806381ea3cc71461049857806395d89b41146104a0578063983b2d56146104a857806398650275146104ce576101cf565b806370a0823114610420578063782d6fe1146104465780637ecebe0014610472576101cf565b8063313ce5671161017157806340c10f191161014b57806340c10f191461034b578063587cde1e146103775780635c19a95c146103b95780636fcfff45146103e1576101cf565b8063313ce5671461030f57806332cb6b0c14610317578063395093511461031f576101cf565b806320606b70116101ad57806320606b70146102ab57806323b872dd146102b35780632e0f2625146102e95780632ff2e9dc14610307576101cf565b806306fdde03146101d4578063095ea7b31461025157806318160ddd14610291575b600080fd5b6101dc610649565b6040805160208082528351818301528351919283929083019185019080838360005b838110156102165781810151838201526020016101fe565b50505050905090810190601f1680156102435780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61027d6004803603604081101561026757600080fd5b506001600160a01b0381351690602001356106df565b604080519115158252519081900360200190f35b6102996106f6565b60408051918252519081900360200190f35b6102996106fc565b61027d600480360360608110156102c957600080fd5b506001600160a01b03813581169160208101359091169060400135610717565b6102f1610783565b6040805160ff9092168252519081900360200190f35b610299610788565b6102f1610798565b6102996107a1565b61027d6004803603604081101561033557600080fd5b506001600160a01b0381351690602001356107b1565b61027d6004803603604081101561036157600080fd5b506001600160a01b0381351690602001356107ed565b61039d6004803603602081101561038d57600080fd5b50356001600160a01b0316610a42565b604080516001600160a01b039092168252519081900360200190f35b6103df600480360360208110156103cf57600080fd5b50356001600160a01b0316610a5d565b005b610407600480360360208110156103f757600080fd5b50356001600160a01b0316610a6a565b6040805163ffffffff9092168252519081900360200190f35b6102996004803603602081101561043657600080fd5b50356001600160a01b0316610a82565b6102996004803603604081101561045c57600080fd5b506001600160a01b038135169060200135610a9d565b6102996004803603602081101561048857600080fd5b50356001600160a01b0316610ca5565b61039d610cb7565b6101dc610ccf565b6103df600480360360208110156104be57600080fd5b50356001600160a01b0316610d30565b6103df610d4b565b61027d600480360360408110156104ec57600080fd5b506001600160a01b038135169060200135610d56565b61027d6004803603604081101561051857600080fd5b506001600160a01b038135169060200135610d92565b61027d6004803603602081101561054457600080fd5b50356001600160a01b0316610dd0565b6102996004803603602081101561056a57600080fd5b50356001600160a01b0316610de3565b6103df600480360360c081101561059057600080fd5b506001600160a01b038135169060208101359060408101359060ff6060820135169060808101359060a00135610e47565b610299600480360360408110156105d757600080fd5b506001600160a01b03813581169160200135166110bd565b6102996110e8565b6106296004803603604081101561060d57600080fd5b5080356001600160a01b0316906020013563ffffffff16611103565b6040805163ffffffff909316835260208301919091528051918290030190f35b60068054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156106d55780601f106106aa576101008083540402835291602001916106d5565b820191906000526020600020905b8154815290600101906020018083116106b857829003601f168201915b5050505050905090565b60006106ec338484611130565b5060015b92915050565b60025490565b60405180604361192982396043019050604051809103902081565b60006107248484846111b8565b61074884336107438561073789336110bd565b9063ffffffff61128316565b611130565b33600090815260096020526040808220546001600160a01b0386811684529190922054610779928216911684611298565b5060019392505050565b601281565b6b45973f00c8e87ed73560000081565b60085460ff1690565b6bde9cf95c90fa9269d684000081565b3360008181526001602090815260408083206001600160a01b038716845290915281205490916106ec918590610743908663ffffffff6113e616565b60048054604080516370a0823160e01b815233938101939093525160009284926001600160a01b0316916370a0823191602480820192602092909190829003018186803b15801561083d57600080fd5b505afa158015610851573d6000803e3d6000fd5b505050506040513d602081101561086757600080fd5b505110156108bc576040805162461bcd60e51b815260206004820152601c60248201527f4d696e74204261736520546f6b656e20496e73756666696369656e7400000000604482015290519081900360640190fd5b6005546108e86108d4846103e863ffffffff6113f816565b6108dc6106f6565b9063ffffffff6113e616565b1061093a576040805162461bcd60e51b815260206004820152601760248201527f4d696e74206c696d69746564206d617820737570706c79000000000000000000604482015290519081900360640190fd5b60048054604080516323b872dd60e01b8152339381019390935230602484015260448301859052516001600160a01b03909116916323b872dd9160648083019260209291908290030181600087803b15801561099557600080fd5b505af11580156109a9573d6000803e3d6000fd5b505050506040513d60208110156109bf57600080fd5b50506004805460408051630852cd8d60e31b8152928301859052516001600160a01b03909116916342966c6891602480830192600092919082900301818387803b158015610a0c57600080fd5b505af1158015610a20573d6000803e3d6000fd5b505050506106ec83610a3d6103e8856113f890919063ffffffff16565b61141f565b6009602052600090815260409020546001600160a01b031681565b610a6733826114c7565b50565b600b6020526000908152604090205463ffffffff1681565b6001600160a01b031660009081526020819052604090205490565b6000438210610add5760405162461bcd60e51b815260040180806020018281038252602681526020018061196c6026913960400191505060405180910390fd5b6001600160a01b0383166000908152600b602052604090205463ffffffff1680610b0b5760009150506106f0565b6001600160a01b0384166000908152600a6020908152604080832063ffffffff600019860181168552925290912054168310610b7a576001600160a01b0384166000908152600a602090815260408083206000199490940163ffffffff168352929052206001015490506106f0565b6001600160a01b0384166000908152600a6020908152604080832083805290915290205463ffffffff16831015610bb55760009150506106f0565b600060001982015b8163ffffffff168163ffffffff161115610c6e57600282820363ffffffff16048103610be76118b9565b506001600160a01b0387166000908152600a6020908152604080832063ffffffff808616855290835292819020815180830190925280549093168082526001909301549181019190915290871415610c49576020015194506106f09350505050565b805163ffffffff16871115610c6057819350610c67565b6001820392505b5050610bbd565b506001600160a01b0385166000908152600a6020908152604080832063ffffffff9094168352929052206001015491505092915050565b600c6020526000908152604090205481565b7341c37a4683d6a05adb31c39d71348a8403b13ca981565b60078054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156106d55780601f106106aa576101008083540402835291602001916106d5565b610d3933610dd0565b610d4257600080fd5b610a678161155c565b610d54336115a4565b565b3360008181526001602090815260408083206001600160a01b038716845290915281205490916106ec918590610743908663ffffffff61128316565b6000610d9f3384846111b8565b33600090815260096020526040808220546001600160a01b03868116845291909220546106ec928216911684611298565b60006106f060038363ffffffff6115ec16565b6001600160a01b0381166000908152600b602052604081205463ffffffff1680610e0e576000610e40565b6001600160a01b0383166000908152600a6020908152604080832063ffffffff60001986011684529091529020600101545b9392505050565b600060405180806119296043913960430190506040518091039020610e6a610649565b80519060200120610e79611621565b3060405160200180858152602001848152602001838152602001826001600160a01b03166001600160a01b03168152602001945050505050604051602081830303815290604052805190602001209050600060405180806119b7603a91396040805191829003603a0182206020808401919091526001600160a01b038c1683830152606083018b905260808084018b90528251808503909101815260a08401835280519082012061190160f01b60c085015260c2840187905260e2808501829052835180860390910181526101028501808552815191840191909120600091829052610122860180865281905260ff8c1661014287015261016286018b905261018286018a9052935191965092945091926001926101a28083019392601f198301929081900390910190855afa158015610fb7573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166110095760405162461bcd60e51b81526004018080602001828103825260258152602001806119046025913960400191505060405180910390fd5b6001600160a01b0381166000908152600c6020526040902080546001810190915589146110675760405162461bcd60e51b81526004018080602001828103825260218152602001806119f16021913960400191505060405180910390fd5b874211156110a65760405162461bcd60e51b81526004018080602001828103825260258152602001806119926025913960400191505060405180910390fd5b6110b0818b6114c7565b505050505b505050505050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b60405180603a6119b78239603a019050604051809103902081565b600a6020908152600092835260408084209091529082529020805460019091015463ffffffff9091169082565b6001600160a01b03821661114357600080fd5b6001600160a01b03831661115657600080fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b0382166111cb57600080fd5b6001600160a01b0383166000908152602081905260409020546111f4908263ffffffff61128316565b6001600160a01b038085166000908152602081905260408082209390935590841681522054611229908263ffffffff6113e616565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b60008282111561129257600080fd5b50900390565b816001600160a01b0316836001600160a01b0316141580156112ba5750600081115b156113e1576001600160a01b03831615611352576001600160a01b0383166000908152600b602052604081205463ffffffff1690816112fa57600061132c565b6001600160a01b0385166000908152600a6020908152604080832063ffffffff60001987011684529091529020600101545b90506000611340828563ffffffff61128316565b905061134e86848484611625565b5050505b6001600160a01b038216156113e1576001600160a01b0382166000908152600b602052604081205463ffffffff16908161138d5760006113bf565b6001600160a01b0384166000908152600a6020908152604080832063ffffffff60001987011684529091529020600101545b905060006113d3828563ffffffff6113e616565b90506110b585848484611625565b505050565b600082820183811015610e4057600080fd5b600082611407575060006106f0565b8282028284828161141457fe5b0414610e4057600080fd5b6001600160a01b03821661143257600080fd5b600254611445908263ffffffff6113e616565b6002556001600160a01b038216600090815260208190526040902054611471908263ffffffff6113e616565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b6001600160a01b03808316600090815260096020526040812054909116906114ee84610a82565b6001600160a01b0385811660008181526009602052604080822080546001600160a01b031916898616908117909155905194955093928616927f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f9190a4611556828483611298565b50505050565b61156d60038263ffffffff61178a16565b6040516001600160a01b038216907f6ae172837ea30b801fbfcdd4108aa1d5bf8ff775444fd70256b44e6bf3dfc3f690600090a250565b6115b560038263ffffffff6117d616565b6040516001600160a01b038216907fe94479a9f7e1952cc78f2d6baab678adc1b772d936c6583def489e524cb6669290600090a250565b60006001600160a01b03821661160157600080fd5b506001600160a01b03166000908152602091909152604090205460ff1690565b4690565b6000611649436040518060600160405280603381526020016118d16033913961181e565b905060008463ffffffff1611801561169257506001600160a01b0385166000908152600a6020908152604080832063ffffffff6000198901811685529252909120548282169116145b156116cf576001600160a01b0385166000908152600a6020908152604080832063ffffffff60001989011684529091529020600101829055611740565b60408051808201825263ffffffff808416825260208083018681526001600160a01b038a166000818152600a84528681208b8616825284528681209551865490861663ffffffff199182161787559251600196870155908152600b9092529390208054928801909116919092161790555b604080518481526020810184905281516001600160a01b038816927fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724928290030190a25050505050565b6001600160a01b03811661179d57600080fd5b6117a782826115ec565b156117b157600080fd5b6001600160a01b0316600090815260209190915260409020805460ff19166001179055565b6001600160a01b0381166117e957600080fd5b6117f382826115ec565b6117fc57600080fd5b6001600160a01b0316600090815260209190915260409020805460ff19169055565b60008164010000000084106118b15760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561187657818101518382015260200161185e565b50505050905090810190601f1680156118a35780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b509192915050565b60408051808201909152600080825260208201529056fe58636e3a3a5f7772697465436865636b706f696e743a20626c6f636b206e756d6265722065786365656473203332206269747358636e3a3a64656c656761746542795369673a20696e76616c6964207369676e6174757265454950373132446f6d61696e28737472696e67206e616d652c75696e7432353620636861696e49642c6164647265737320766572696679696e67436f6e74726163742958636e3a3a6765745072696f72566f7465733a206e6f74207965742064657465726d696e656458636e3a3a64656c656761746542795369673a207369676e6174757265206578706972656444656c65676174696f6e28616464726573732064656c6567617465652c75696e74323536206e6f6e63652c75696e74323536206578706972792958636e3a3a64656c656761746542795369673a20696e76616c6964206e6f6e6365a265627a7a72315820785d674bad5af3e332f4d46ffd3287330c425b188408647655b04b6ef1ce6e5c64736f6c63430005100032

Deployed Bytecode Sourcemap

16184:8364:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;16184:8364:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15778:83;;;:::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;15778:83:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9042:148;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;9042:148:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;7194:91;;;:::i;:::-;;;;;;;;;;;;;;;;17176:122;;;:::i;18485:299::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;18485:299:0;;;;;;;;;;;;;;;;;:::i;16274:35::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;16316:80;;;:::i;16094:83::-;;;:::i;16403:76::-;;;:::i;10417:203::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;10417:203:0;;;;;;;;:::i;14696:476::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;14696:476:0;;;;;;;;:::i;16625:45::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;16625:45:0;-1:-1:-1;;;;;16625:45:0;;:::i;:::-;;;;-1:-1:-1;;;;;16625:45:0;;;;;;;;;;;;;;18932:102;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;18932:102:0;-1:-1:-1;;;;;18932:102:0;;:::i;:::-;;17054:49;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;17054:49:0;-1:-1:-1;;;;;17054:49:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;7505:106;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;7505:106:0;-1:-1:-1;;;;;7505:106:0;;:::i;21111:1218::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;21111:1218:0;;;;;;;;:::i;17590:39::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;17590:39:0;-1:-1:-1;;;;;17590:39:0;;:::i;16486:78::-;;;:::i;15928:87::-;;;:::i;1473:92::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1473:92:0;-1:-1:-1;;;;;1473:92:0;;:::i;1573:77::-;;;:::i;11151:213::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;11151:213:0;;;;;;;;:::i;18265:210::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;18265:210:0;;;;;;;;:::i;1356:109::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1356:109:0;-1:-1:-1;;;;;1356:109:0;;:::i;20457:223::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;20457:223:0;-1:-1:-1;;;;;20457:223:0;;:::i;19468:788::-;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;-1:-1;;;;;;19468:788:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;7950:131::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;7950:131:0;;;;;;;;;;:::i;17392:117::-;;;:::i;16915:70::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;16915:70:0;;-1:-1:-1;;;;;16915:70:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;15778:83;15848:5;15841:12;;;;;;;;-1:-1:-1;;15841:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15815:13;;15841:12;;15848:5;;15841:12;;15848:5;15841:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15778:83;:::o;9042:148::-;9107:4;9124:36;9133:10;9145:7;9154:5;9124:8;:36::i;:::-;-1:-1:-1;9178:4:0;9042:148;;;;;:::o;7194:91::-;7265:12;;7194:91;:::o;17176:122::-;17218:80;;;;;;;;;;;;;;;;;;17176:122;:::o;18485:299::-;18564:4;18581:26;18591:4;18597:2;18601:5;18581:9;:26::i;:::-;18618:66;18627:4;18633:10;18645:38;18677:5;18645:27;18655:4;18661:10;18645:9;:27::i;:::-;:31;:38;:31;:38;:::i;:::-;18618:8;:66::i;:::-;18720:10;18710:21;;;;:9;:21;;;;;;;-1:-1:-1;;;;;18733:13:0;;;;;;;;;;18695:59;;18710:21;;;18733:13;18748:5;18695:14;:59::i;:::-;-1:-1:-1;18772:4:0;18485:299;;;;;:::o;16274:35::-;16307:2;16274:35;:::o;16316:80::-;16357:39;16316:80;:::o;16094:83::-;16160:9;;;;16094:83;:::o;16403:76::-;16440:39;16403:76;:::o;10417:203::-;10523:10;10497:4;10544:20;;;:8;:20;;;;;;;;-1:-1:-1;;;;;10544:29:0;;;;;;;;;;10497:4;;10514:76;;10535:7;;10544:45;;10578:10;10544:45;:33;:45;:::i;14696:476::-;14791:15;;;14778:51;;;-1:-1:-1;;;14778:51:0;;14818:10;14778:51;;;;;;;;14753:4;;14833:5;;-1:-1:-1;;;;;14791:15:0;;14778:39;;:51;;;;;;;;;;;;;;;14791:15;14778:51;;;5:2:-1;;;;30:1;27;20:12;5:2;14778:51:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;14778:51:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;14778:51:0;:60;;14770:101;;;;;-1:-1:-1;;;14770:101:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;14927:17;;14890:34;14908:15;:5;14918:4;14908:15;:9;:15;:::i;:::-;14890:13;:11;:13::i;:::-;:17;:34;:17;:34;:::i;:::-;:54;14882:90;;;;;-1:-1:-1;;;14882:90:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;14990:15;;;14983:70;;;-1:-1:-1;;;14983:70:0;;15020:10;14983:70;;;;;;;15040:4;14983:70;;;;;;;;;;;-1:-1:-1;;;;;14990:15:0;;;;14983:36;;:70;;;;;;;;;;;;;;14990:15;;14983:70;;;5:2:-1;;;;30:1;27;20:12;5:2;14983:70:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;14983:70:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;15077:15:0;;;15064:41;;;-1:-1:-1;;;15064:41:0;;;;;;;;;-1:-1:-1;;;;;15077:15:0;;;;15064:34;;:41;;;;;15077:15;;15064:41;;;;;;;15077:15;;15064:41;;;5:2:-1;;;;30:1;27;20:12;5:2;15064:41:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;15064:41:0;;;;15116:26;15122:2;15126:15;15136:4;15126:5;:9;;:15;;;;:::i;:::-;15116:5;:26::i;16625:45::-;;;;;;;;;;;;-1:-1:-1;;;;;16625:45:0;;:::o;18932:102::-;18994:32;19004:10;19016:9;18994;:32::i;:::-;18932:102;:::o;17054:49::-;;;;;;;;;;;;;;;:::o;7505:106::-;-1:-1:-1;;;;;7587:16:0;7560:7;7587:16;;;;;;;;;;;;7505:106::o;21111:1218::-;21190:7;21232:12;21218:11;:26;21210:77;;;;-1:-1:-1;;;21210:77:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;21322:23:0;;21300:19;21322:23;;;:14;:23;;;;;;;;21360:17;21356:58;;21401:1;21394:8;;;;;21356:58;-1:-1:-1;;;;;21474:20:0;;;;;;:11;:20;;;;;;;;:38;-1:-1:-1;;21495:16:0;;21474:38;;;;;;;;;:48;;:63;-1:-1:-1;21470:147:0;;-1:-1:-1;;;;;21561:20:0;;;;;;:11;:20;;;;;;;;-1:-1:-1;;21582:16:0;;;;21561:38;;;;;;;;21597:1;21561:44;;;-1:-1:-1;21554:51:0;;21470:147;-1:-1:-1;;;;;21678:20:0;;;;;;:11;:20;;;;;;;;:23;;;;;;;;:33;:23;:33;:47;-1:-1:-1;21674:88:0;;;21749:1;21742:8;;;;;21674:88;21774:12;-1:-1:-1;;21816:16:0;;21843:428;21858:5;21850:13;;:5;:13;;;21843:428;;;21922:1;21905:13;;;21904:19;;;21896:27;;21965:20;;:::i;:::-;-1:-1:-1;;;;;;21988:20:0;;;;;;:11;:20;;;;;;;;:28;;;;;;;;;;;;;21965:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22035:27;;22031:229;;;22090:8;;;;-1:-1:-1;22083:15:0;;-1:-1:-1;;;;22083:15:0;22031:229;22124:12;;:26;;;-1:-1:-1;22120:140:0;;;22179:6;22171:14;;22120:140;;;22243:1;22234:6;:10;22226:18;;22120:140;21843:428;;;;;-1:-1:-1;;;;;;22288:20:0;;;;;;:11;:20;;;;;;;;:27;;;;;;;;;;:33;;;;-1:-1:-1;;21111:1218:0;;;;:::o;17590:39::-;;;;;;;;;;;;;:::o;16486:78::-;16522:42;16486:78;:::o;15928:87::-;16000:7;15993:14;;;;;;;;-1:-1:-1;;15993:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15967:13;;15993:14;;16000:7;;15993:14;;16000:7;15993:14;;;;;;;;;;;;;;;;;;;;;;;;1473:92;1307:20;1316:10;1307:8;:20::i;:::-;1299:29;;;;;;1538:19;1549:7;1538:10;:19::i;1573:77::-;1617:25;1631:10;1617:13;:25::i;:::-;1573:77::o;11151:213::-;11262:10;11236:4;11283:20;;;:8;:20;;;;;;;;-1:-1:-1;;;;;11283:29:0;;;;;;;;;;11236:4;;11253:81;;11274:7;;11283:50;;11317:15;11283:50;:33;:50;:::i;18265:210::-;18326:4;18343:32;18353:10;18365:2;18369:5;18343:9;:32::i;:::-;18411:10;18401:21;;;;:9;:21;;;;;;;-1:-1:-1;;;;;18424:13:0;;;;;;;;;;18386:59;;18401:21;;;18424:13;18439:5;18386:14;:59::i;1356:109::-;1412:4;1436:21;:8;1449:7;1436:21;:12;:21;:::i;20457:223::-;-1:-1:-1;;;;;20564:23:0;;20522:7;20564:23;;;:14;:23;;;;;;;;20605:16;:67;;20671:1;20605:67;;;-1:-1:-1;;;;;20624:20:0;;;;;;:11;:20;;;;;;;;:38;-1:-1:-1;;20645:16:0;;20624:38;;;;;;;;20660:1;20624:44;;20605:67;20598:74;20457:223;-1:-1:-1;;;20457:223:0:o;19468:788::-;19584:23;17218:80;;;;;;;;;;;;;;;;;;;19664:6;:4;:6::i;:::-;19648:24;;;;;;19674:12;:10;:12::i;:::-;19696:4;19620:82;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;19620:82:0;-1:-1:-1;;;;;19620:82:0;;;;;;;;;;;;;49:4:-1;39:7;30;26:21;22:32;13:7;6:49;19620:82:0;;;19610:93;;;;;;19584:119;;19714:18;17438:71;;;;;;;;;;;;;;;;;;;19745:57;;;;;;;;-1:-1:-1;;;;;19745:57:0;;;;;;;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;19745:57:0;;;;;19735:68;;;;;;-1:-1:-1;;;19841:57:0;;;;;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;19841:57:0;;;;;;19831:68;;;;;;;;;-1:-1:-1;19930:26:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19735:68;;-1:-1:-1;19831:68:0;;-1:-1:-1;;;19930:26:0;;;;;;;19745:57;-1:-1:-1;;19930:26:0;;;;;;;;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;;19930:26:0;;-1:-1:-1;;19930:26:0;;;-1:-1:-1;;;;;;;19975:23:0;;19967:73;;;;-1:-1:-1;;;19967:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;20068:17:0;;;;;;:6;:17;;;;;:19;;;;;;;;20059:28;;20051:74;;;;-1:-1:-1;;;20051:74:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20151:6;20144:3;:13;;20136:63;;;;-1:-1:-1;;;20136:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20217:31;20227:9;20238;20217;:31::i;:::-;20210:38;;;;19468:788;;;;;;;:::o;7950:131::-;-1:-1:-1;;;;;8049:15:0;;;8022:7;8049:15;;;:8;:15;;;;;;;;:24;;;;;;;;;;;;;7950:131::o;17392:117::-;17438:71;;;;;;;;;;;;;;;;;;17392:117;:::o;16915:70::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;13250:254::-;-1:-1:-1;;;;;13343:21:0;;13335:30;;;;;;-1:-1:-1;;;;;13384:19:0;;13376:28;;;;;;-1:-1:-1;;;;;13417:15:0;;;;;;;:8;:15;;;;;;;;:24;;;;;;;;;;;;;:32;;;13465:31;;;;;;;;;;;;;;;;;13250:254;;;:::o;11591:262::-;-1:-1:-1;;;;;11679:16:0;;11671:25;;;;;;-1:-1:-1;;;;;11727:15:0;;:9;:15;;;;;;;;;;;:26;;11747:5;11727:26;:19;:26;:::i;:::-;-1:-1:-1;;;;;11709:15:0;;;:9;:15;;;;;;;;;;;:44;;;;11780:13;;;;;;;:24;;11798:5;11780:24;:17;:24;:::i;:::-;-1:-1:-1;;;;;11764:13:0;;;:9;:13;;;;;;;;;;;;:40;;;;11820:25;;;;;;;11764:13;;11820:25;;;;;;;;;;;;;11591:262;;;:::o;3148:150::-;3206:7;3239:1;3234;:6;;3226:15;;;;;;-1:-1:-1;3264:5:0;;;3148:150::o;22722:851::-;22828:6;-1:-1:-1;;;;;22818:16:0;:6;-1:-1:-1;;;;;22818:16:0;;;:30;;;;;22847:1;22838:6;:10;22818:30;22814:752;;;-1:-1:-1;;;;;22869:20:0;;;22865:337;;-1:-1:-1;;;;;22929:22:0;;22910:16;22929:22;;;:14;:22;;;;;;;;;22990:13;:60;;23049:1;22990:60;;;-1:-1:-1;;;;;23006:19:0;;;;;;:11;:19;;;;;;;;:34;-1:-1:-1;;23026:13:0;;23006:34;;;;;;;;23038:1;23006:40;;22990:60;22970:80;-1:-1:-1;23069:17:0;23089:21;22970:80;23103:6;23089:21;:13;:21;:::i;:::-;23069:41;;23129:57;23146:6;23154:9;23165;23176;23129:16;:57::i;:::-;22865:337;;;;-1:-1:-1;;;;;23222:20:0;;;23218:337;;-1:-1:-1;;;;;23282:22:0;;23263:16;23282:22;;;:14;:22;;;;;;;;;23343:13;:60;;23402:1;23343:60;;;-1:-1:-1;;;;;23359:19:0;;;;;;:11;:19;;;;;;;;:34;-1:-1:-1;;23379:13:0;;23359:34;;;;;;;;23391:1;23359:40;;23343:60;23323:80;-1:-1:-1;23422:17:0;23442:21;23323:80;23456:6;23442:21;:13;:21;:::i;:::-;23422:41;;23482:57;23499:6;23507:9;23518;23529;23482:16;:57::i;23218:337::-;22722:851;;;:::o;3386:150::-;3444:7;3476:5;;;3500:6;;;;3492:15;;;;;2139:433;2197:7;2441:6;2437:47;;-1:-1:-1;2471:1:0;2464:8;;2437:47;2508:5;;;2512:1;2508;:5;:1;2532:5;;;;;:10;2524:19;;;;;12205:269;-1:-1:-1;;;;;12280:21:0;;12272:30;;;;;;12330:12;;:23;;12347:5;12330:23;:16;:23;:::i;:::-;12315:12;:38;-1:-1:-1;;;;;12385:18:0;;:9;:18;;;;;;;;;;;:29;;12408:5;12385:29;:22;:29;:::i;:::-;-1:-1:-1;;;;;12364:18:0;;:9;:18;;;;;;;;;;;:50;;;;12430:36;;;;;;;12364:18;;:9;;12430:36;;;;;;;;;;12205:269;;:::o;22337:377::-;-1:-1:-1;;;;;22440:20:0;;;22414:23;22440:20;;;:9;:20;;;;;;;;;;22498;22450:9;22498;:20::i;:::-;-1:-1:-1;;;;;22529:20:0;;;;;;;:9;:20;;;;;;:32;;-1:-1:-1;;;;;;22529:32:0;;;;;;;;;;22579:54;;22471:47;;-1:-1:-1;22529:32:0;22579:54;;;;;;22529:20;22579:54;22646:60;22661:15;22678:9;22689:16;22646:14;:60::i;:::-;22337:377;;;;:::o;1658:122::-;1715:21;:8;1728:7;1715:21;:12;:21;:::i;:::-;1752:20;;-1:-1:-1;;;;;1752:20:0;;;;;;;;1658:122;:::o;1788:130::-;1848:24;:8;1864:7;1848:24;:15;:24;:::i;:::-;1888:22;;-1:-1:-1;;;;;1888:22:0;;;;;;;;1788:130;:::o;821:165::-;893:4;-1:-1:-1;;;;;918:21:0;;910:30;;;;;;-1:-1:-1;;;;;;958:20:0;:11;:20;;;;;;;;;;;;;;;821:165::o;24392:153::-;24502:9;24392:153;:::o;23581:630::-;23701:18;23722:75;23729:12;23722:75;;;;;;;;;;;;;;;;;:6;:75::i;:::-;23701:96;;23827:1;23812:12;:16;;;:85;;;;-1:-1:-1;;;;;;23832:22:0;;;;;;:11;:22;;;;;;;;:65;-1:-1:-1;;23855:16:0;;23832:40;;;;;;;;;:50;:65;;;:50;;:65;23812:85;23808:329;;;-1:-1:-1;;;;;23912:22:0;;;;;;:11;:22;;;;;;;;:40;-1:-1:-1;;23935:16:0;;23912:40;;;;;;;;23950:1;23912:46;:57;;;23808:329;;;24037:33;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;23998:22:0;;-1:-1:-1;23998:22:0;;;:11;:22;;;;;:36;;;;;;;;;;:72;;;;;;;-1:-1:-1;;23998:72:0;;;;;;;;;;;;;24083:25;;;:14;:25;;;;;;:44;;24111:16;;;24083:44;;;;;;;;;;23808:329;24152:51;;;;;;;;;;;;;;-1:-1:-1;;;;;24152:51:0;;;;;;;;;;;23581:630;;;;;:::o;273:186::-;-1:-1:-1;;;;;350:21:0;;342:30;;;;;;392:18;396:4;402:7;392:3;:18::i;:::-;391:19;383:28;;;;;;-1:-1:-1;;;;;424:20:0;:11;:20;;;;;;;;;;;:27;;-1:-1:-1;;424:27:0;447:4;424:27;;;273:186::o;538:189::-;-1:-1:-1;;;;;618:21:0;;610:30;;;;;;659:18;663:4;669:7;659:3;:18::i;:::-;651:27;;;;;;-1:-1:-1;;;;;691:20:0;714:5;691:20;;;;;;;;;;;:28;;-1:-1:-1;;691:28:0;;;538:189::o;24223:161::-;24298:6;24336:12;24329:5;24325:9;;24317:32;;;;-1:-1:-1;;;24317:32:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;24317:32:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;24374:1:0;;24223:161;-1:-1:-1;;24223:161:0:o;16184:8364::-;;;;;;;;;;-1:-1:-1;16184:8364:0;;;;;;;;:::o

Swarm Source

bzzr://785d674bad5af3e332f4d46ffd3287330c425b188408647655b04b6ef1ce6e5c
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.