Overview
Max Total Supply
800 xDEF2
Holders
393 (0.00%)
Total Transfers
-
Market
Price
$0.00 @ 0.000000 ETH
Onchain Market Cap
$0.13
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 9 Decimals)
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
XdefToken
Compiler Version
v0.6.12+commit.27d51765
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2021-01-10 */ // File: @openzeppelin/contracts/GSN/Context.sol // SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with GSN meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address payable) { return msg.sender; } function _msgData() internal view virtual returns (bytes memory) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } } // File: @openzeppelin/contracts/access/Ownable.sol pragma solidity >=0.6.0 <0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor () internal { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } /** * @dev Returns the address of the current owner. */ function owner() public view returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(_owner == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } } // File: @openzeppelin/contracts/token/ERC20/IERC20.sol pragma solidity >=0.6.0 <0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address sender, address recipient, uint256 amount) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); } // File: @openzeppelin/contracts/math/SafeMath.sol pragma solidity >=0.6.0 <0.8.0; /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming languages. * `SafeMath` restores this intuition by reverting the transaction when an * operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return sub(a, b, "SafeMath: subtraction overflow"); } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers. Reverts on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return div(a, b, "SafeMath: division by zero"); } /** * @dev Returns the integer division of two unsigned integers. Reverts with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return mod(a, b, "SafeMath: modulo by zero"); } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts with custom message when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } } // File: @openzeppelin/contracts/token/ERC20/ERC20.sol pragma solidity >=0.6.0 <0.8.0; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin guidelines: functions revert instead * of returning `false` on failure. This behavior is nonetheless conventional * and does not conflict with the expectations of ERC20 applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20 { using SafeMath for uint256; mapping (address => uint256) private _balances; mapping (address => mapping (address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; uint8 private _decimals; /** * @dev Sets the values for {name} and {symbol}, initializes {decimals} with * a default value of 18. * * To select a different value for {decimals}, use {_setupDecimals}. * * All three of these values are immutable: they can only be set once during * construction. */ constructor (string memory name_, string memory symbol_) public { _name = name_; _symbol = symbol_; _decimals = 18; } /** * @dev Returns the name of the token. */ function name() public view returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5,05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless {_setupDecimals} is * called. * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view returns (uint8) { return _decimals; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `recipient` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(_msgSender(), spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * Requirements: * * - `sender` and `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. * - the caller must have allowance for ``sender``'s tokens of at least * `amount`. */ function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) { _transfer(sender, recipient, amount); _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance")); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue)); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero")); return true; } /** * @dev Moves tokens `amount` from `sender` to `recipient`. * * This is internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `sender` cannot be the zero address. * - `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. */ function _transfer(address sender, address recipient, uint256 amount) internal virtual { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(sender, recipient, amount); _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance"); _balances[recipient] = _balances[recipient].add(amount); emit Transfer(sender, recipient, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `to` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply = _totalSupply.add(amount); _balances[account] = _balances[account].add(amount); emit Transfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance"); _totalSupply = _totalSupply.sub(amount); emit Transfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve(address owner, address spender, uint256 amount) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Sets {decimals} to a value other than the default one of 18. * * WARNING: This function should only be called from the constructor. Most * applications that interact with token contracts will not expect * {decimals} to ever change, and may work incorrectly if it does. */ function _setupDecimals(uint8 decimals_) internal { _decimals = decimals_; } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be to transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual { } } // File: contracts/lib/SafeMathInt.sol /* MIT License Copyright (c) 2018 requestnetwork Copyright (c) 2018 Fragments, Inc. Copyright (c) 2020 Base Protocol, Inc. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ pragma solidity 0.6.12; /** * @title SafeMathInt * @dev Math operations for int256 with overflow safety checks. */ library SafeMathInt { int256 private constant MIN_INT256 = int256(1) << 255; int256 private constant MAX_INT256 = ~(int256(1) << 255); /** * @dev Multiplies two int256 variables and fails on overflow. */ function mul(int256 a, int256 b) internal pure returns (int256) { int256 c = a * b; // Detect overflow when multiplying MIN_INT256 with -1 require(c != MIN_INT256 || (a & MIN_INT256) != (b & MIN_INT256)); require((b == 0) || (c / b == a)); return c; } /** * @dev Division of two int256 variables and fails on overflow. */ function div(int256 a, int256 b) internal pure returns (int256) { // Prevent overflow when dividing MIN_INT256 by -1 require(b != -1 || a != MIN_INT256); // Solidity already throws when dividing by 0. return a / b; } /** * @dev Subtracts two int256 variables and fails on overflow. */ function sub(int256 a, int256 b) internal pure returns (int256) { int256 c = a - b; require((b >= 0 && c <= a) || (b < 0 && c > a)); return c; } /** * @dev Adds two int256 variables and fails on overflow. */ function add(int256 a, int256 b) internal pure returns (int256) { int256 c = a + b; require((b >= 0 && c >= a) || (b < 0 && c < a)); return c; } /** * @dev Converts to absolute value, and fails on overflow. */ function abs(int256 a) internal pure returns (int256) { require(a != MIN_INT256); return a < 0 ? -a : a; } } // File: contracts/interfaces/ERC677.sol pragma solidity 0.6.12; abstract contract ERC677 { function transfer(address to, uint256 value) public virtual returns (bool); function transferAndCall(address to, uint value, bytes memory data) public virtual returns (bool success); // event Transfer(address indexed from, address indexed to, uint value, bytes data); } // File: contracts/interfaces/ERC677Receiver.sol pragma solidity 0.6.12; abstract contract ERC677Receiver { function onTokenTransfer(address _sender, uint _value, bytes memory _data) virtual public; } // File: contracts/ERC677Token.sol pragma solidity 0.6.12; abstract contract ERC677Token is ERC677 { /** * @dev transfer token to a contract address with additional data if the recipient is a contact. * @param _to The address to transfer to. * @param _value The amount to be transferred. * @param _data The extra data to be passed to the receiving contract. */ function transferAndCall(address _to, uint _value, bytes memory _data) public override returns (bool success) { transfer(_to, _value); if (isContract(_to)) { contractFallback(_to, _value, _data); } return true; } function contractFallback(address _to, uint _value, bytes memory _data) private { ERC677Receiver receiver = ERC677Receiver(_to); receiver.onTokenTransfer(msg.sender, _value, _data); } function isContract(address _addr) private view returns (bool hasCode) { uint length; // solhint-disable-next-line no-inline-assembly assembly { length := extcodesize(_addr) } return length > 0; } } // File: contracts/XdefToken.sol pragma solidity 0.6.12; /** * @title Xdef ERC20 token * @dev This is part of an implementation of the Xdef Index Fund protocol. * Xdef is a normal ERC20 token, but its supply can be adjusted by splitting and * combining tokens proportionally across all wallets. * * Xdef balances are internally represented with a hidden denomination, 'shares'. * We support splitting the currency in expansion and combining the currency on contraction by * changing the exchange rate between the hidden 'shares' and the public 'Xdef'. */ contract XdefToken is ERC20("xDEF Finance", "xDEF2"), ERC677Token, Ownable { // PLEASE READ BEFORE CHANGING ANY ACCOUNTING OR MATH // Anytime there is division, there is a risk of numerical instability from rounding errors. In // order to minimize this risk, we adhere to the following guidelines: // 1) The conversion rate adopted is the number of shares that equals 1 Xdef. // The inverse rate must not be used--totalShares is always the numerator and _totalSupply is // always the denominator. (i.e. If you want to convert shares to Xdef instead of // multiplying by the inverse rate, you should divide by the normal rate) // 2) Share balances converted into XdefToken are always rounded down (truncated). // // We make the following guarantees: // - If address 'A' transfers x XdefToken to address 'B'. A's resulting external balance will // be decreased by precisely x XdefToken, and B's external balance will be precisely // increased by x XdefToken. // // We do not guarantee that the sum of all balances equals the result of calling totalSupply(). // This is because, for any conversion function 'f()' that has non-zero rounding error, // f(x0) + f(x1) + ... + f(xn) is not always equal to f(x0 + x1 + ... xn). using SafeMath for uint256; using SafeMathInt for int256; event LogRebase(uint256 indexed epoch, uint256 totalSupply); event LogMonetaryPolicyUpdated(address monetaryPolicy); event LogUserBanStatusUpdated(address user, bool banned); // Used for authentication address public monetaryPolicy; modifier validRecipient(address to) { require(to != address(0x0)); require(to != address(this)); _; } uint256 private constant DECIMALS = 9; uint256 private constant MAX_UINT256 = ~uint256(0); uint256 private constant INITIAL_SUPPLY = 17000000 * 10**DECIMALS; uint256 private constant INITIAL_SHARES = (MAX_UINT256 / (10**36)) - ((MAX_UINT256 / (10**36)) % INITIAL_SUPPLY); uint256 private constant MAX_SUPPLY = ~uint128(0); uint256 private _totalShares; uint256 private _totalSupply; uint256 private _sharesPerXdef; mapping(address => uint256) private _shareBalances; mapping(address => bool) public bannedUsers; // This is denominated in XdefToken, because the shares-Xdef conversion might change before // it's fully paid. mapping(address => mapping(address => uint256)) private _allowedXdef; bool public transfersPaused; bool public rebasesPaused; mapping(address => bool) public transferPauseExemptList; constructor() public { _setupDecimals(uint8(DECIMALS)); _totalShares = INITIAL_SHARES; _totalSupply = INITIAL_SUPPLY; _shareBalances[owner()] = _totalShares; _sharesPerXdef = _totalShares.div(_totalSupply); emit Transfer(address(0x0), owner(), _totalSupply); } function setTransfersPaused(bool _transfersPaused) external onlyOwner { transfersPaused = _transfersPaused; } function setTransferPauseExempt(address user, bool exempt) external onlyOwner { if (exempt) { transferPauseExemptList[user] = true; } else { delete transferPauseExemptList[user]; } } function setRebasesPaused(bool _rebasesPaused) public onlyOwner { rebasesPaused = _rebasesPaused; } /** * @param monetaryPolicy_ The address of the monetary policy contract to use for authentication. */ function setMonetaryPolicy(address monetaryPolicy_) external onlyOwner { monetaryPolicy = monetaryPolicy_; emit LogMonetaryPolicyUpdated(monetaryPolicy_); } /** * @dev Notifies XdefToken contract about a new rebase cycle. * @param supplyDelta The number of new Xdef tokens to add into circulation via expansion. * @return The total number of Xdef after the supply adjustment. */ function rebase(uint256 epoch, int256 supplyDelta) external returns (uint256) { require(msg.sender == monetaryPolicy, "only monetary policy"); require(!rebasesPaused, "rebases paused"); if (supplyDelta == 0) { emit LogRebase(epoch, _totalSupply); return _totalSupply; } if (supplyDelta < 0) { _totalSupply = _totalSupply.sub(uint256(supplyDelta.abs())); } else { _totalSupply = _totalSupply.add(uint256(supplyDelta)); } if (_totalSupply > MAX_SUPPLY) { _totalSupply = MAX_SUPPLY; } _sharesPerXdef = _totalShares.div(_totalSupply); // From this point forward, _sharesPerXdef is taken as the source of truth. // We recalculate a new _totalSupply to be in agreement with the _sharesPerXdef // conversion rate. // This means our applied supplyDelta can deviate from the requested supplyDelta, // but this deviation is guaranteed to be < (_totalSupply^2)/(totalShares - _totalSupply). // // In the case of _totalSupply <= MAX_UINT128 (our current supply cap), this // deviation is guaranteed to be < 1, so we can omit this step. If the supply cap is // ever increased, it must be re-included. emit LogRebase(epoch, _totalSupply); return _totalSupply; } function totalShares() public view returns (uint256) { return _totalShares; } function sharesOf(address user) external view returns (uint256) { return _shareBalances[user]; } function setUserBanStatus(address user, bool banned) external onlyOwner { if (banned) { bannedUsers[user] = true; } else { delete bannedUsers[user]; } emit LogUserBanStatusUpdated(user, banned); } /** * @return The total number of Xdef. */ function totalSupply() public view override returns (uint256) { return _totalSupply; } /** * @param who The address to query. * @return The balance of the specified address. */ function balanceOf(address who) public view override returns (uint256) { return _shareBalances[who].div(_sharesPerXdef); } /** * @dev Transfer tokens to a specified address. * @param to The address to transfer to. * @param value The amount to be transferred. * @return True on success, false otherwise. */ function transfer(address to, uint256 value) public override(ERC20, ERC677) validRecipient(to) returns (bool) { require(bannedUsers[msg.sender] == false, "you are banned"); require( !transfersPaused || transferPauseExemptList[msg.sender], "paused" ); uint256 shareValue = value.mul(_sharesPerXdef); _shareBalances[msg.sender] = _shareBalances[msg.sender].sub(shareValue); _shareBalances[to] = _shareBalances[to].add(shareValue); emit Transfer(msg.sender, to, value); return true; } /** * @dev Function to check the amount of tokens that an owner has allowed to a spender. * @param owner_ The address which owns the funds. * @param spender The address which will spend the funds. * @return The number of tokens still available for the spender. */ function allowance(address owner_, address spender) public view override returns (uint256) { return _allowedXdef[owner_][spender]; } /** * @dev Transfer tokens from one address to another. * @param from The address you want to send tokens from. * @param to The address you want to transfer to. * @param value The amount of tokens to be transferred. */ function transferFrom( address from, address to, uint256 value ) public override validRecipient(to) returns (bool) { require(bannedUsers[msg.sender] == false, "you are banned"); require( !transfersPaused || transferPauseExemptList[msg.sender], "paused" ); _allowedXdef[from][msg.sender] = _allowedXdef[from][msg.sender].sub( value ); uint256 shareValue = value.mul(_sharesPerXdef); _shareBalances[from] = _shareBalances[from].sub(shareValue); _shareBalances[to] = _shareBalances[to].add(shareValue); emit Transfer(from, to, value); return true; } /** * @dev Approve the passed address to spend the specified amount of tokens on behalf of * msg.sender. This method is included for ERC20 compatibility. * increaseAllowance and decreaseAllowance should be used instead. * Changing an allowance with this method brings the risk that someone may transfer both * the old and the new allowance - if they are both greater than zero - if a transfer * transaction is mined before the later approve() call is mined. * * @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 override returns (bool) { require( !transfersPaused || transferPauseExemptList[msg.sender], "paused" ); _allowedXdef[msg.sender][spender] = value; emit Approval(msg.sender, spender, value); return true; } /** * @dev Increase the amount of tokens that an owner has allowed to a spender. * This method should be used instead of approve() to avoid the double approval vulnerability * described above. * @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 override returns (bool) { require( !transfersPaused || transferPauseExemptList[msg.sender], "paused" ); _allowedXdef[msg.sender][spender] = _allowedXdef[msg.sender][spender] .add(addedValue); emit Approval(msg.sender, spender, _allowedXdef[msg.sender][spender]); return true; } /** * @dev Decrease the amount of tokens that an owner has allowed to a spender. * * @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 override returns (bool) { require( !transfersPaused || transferPauseExemptList[msg.sender], "paused" ); uint256 oldValue = _allowedXdef[msg.sender][spender]; if (subtractedValue >= oldValue) { _allowedXdef[msg.sender][spender] = 0; } else { _allowedXdef[msg.sender][spender] = oldValue.sub(subtractedValue); } emit Approval(msg.sender, spender, _allowedXdef[msg.sender][spender]); return true; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"monetaryPolicy","type":"address"}],"name":"LogMonetaryPolicyUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"epoch","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"totalSupply","type":"uint256"}],"name":"LogRebase","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"bool","name":"banned","type":"bool"}],"name":"LogUserBanStatusUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"owner_","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"who","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"bannedUsers","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"monetaryPolicy","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"epoch","type":"uint256"},{"internalType":"int256","name":"supplyDelta","type":"int256"}],"name":"rebase","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rebasesPaused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"monetaryPolicy_","type":"address"}],"name":"setMonetaryPolicy","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_rebasesPaused","type":"bool"}],"name":"setRebasesPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"},{"internalType":"bool","name":"exempt","type":"bool"}],"name":"setTransferPauseExempt","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_transfersPaused","type":"bool"}],"name":"setTransfersPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"},{"internalType":"bool","name":"banned","type":"bool"}],"name":"setUserBanStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"sharesOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalShares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_value","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"transferAndCall","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"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"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"transferPauseExemptList","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"transfersPaused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b50604080518082018252600c81526b784445462046696e616e636560a01b6020808301918252835180850190945260058452643c2222a31960d91b9084015281519192916200006391600391620002f0565b50805162000079906004906020840190620002f0565b50506005805460ff1916601217905550600062000095620001ca565b60058054610100600160a81b0319166101006001600160a01b03841690810291909117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350620000f76009620001ce565b710154484932d2e725a5bbc9e5ded7ceef80006007819055663c6568f12e8000600855600a600062000128620001e4565b6001600160a01b03166001600160a01b03168152602001908152602001600020819055506200016a600854600754620001f860201b620015811790919060201c565b60095562000177620001e4565b6001600160a01b031660006001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6008546040518082815260200191505060405180910390a36200038c565b3390565b6005805460ff191660ff92909216919091179055565b60055461010090046001600160a01b031690565b60006200024283836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506200024960201b60201c565b9392505050565b60008183620002d95760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156200029d57818101518382015260200162000283565b50505050905090810190601f168015620002cb5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b506000838581620002e657fe5b0495945050505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200033357805160ff191683800117855562000363565b8280016001018555821562000363579182015b828111156200036357825182559160200191906001019062000346565b506200037192915062000375565b5090565b5b8082111562000371576000815560010162000376565b611964806200039c6000396000f3fe608060405234801561001057600080fd5b50600436106101c45760003560e01c80637a43e23f116100f9578063a457c2d711610097578063dd62ed3e11610071578063dd62ed3e146105b8578063f2fde38b146105e6578063f442b5701461060c578063f5eb42dc14610632576101c4565b8063a457c2d714610541578063a9059cbb1461056d578063c2a8834714610599576101c4565b80638d0bc428116100d35780638d0bc428146105055780638da5cb5b1461050d5780638e27d7d71461053157806395d89b4114610539576101c4565b80637a43e23f146104965780638988d078146104b95780638b5a6a08146104df576101c4565b80633a98ef39116101665780634563f30a116101405780634563f30a1461043257806367b8c3191461043a57806370a0823114610468578063715018a61461048e576101c4565b80633a98ef39146103505780634000aea01461035857806344e46dff14610413576101c4565b80631fc3371a116101a25780631fc3371a146102a057806323b872dd146102d0578063313ce567146103065780633950935114610324576101c4565b806306fdde03146101c9578063095ea7b31461024657806318160ddd14610286575b600080fd5b6101d1610658565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561020b5781810151838201526020016101f3565b50505050905090810190601f1680156102385780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102726004803603604081101561025c57600080fd5b506001600160a01b0381351690602001356106ee565b604080519115158252519081900360200190f35b61028e6107b4565b60408051918252519081900360200190f35b6102ce600480360360408110156102b657600080fd5b506001600160a01b03813516906020013515156107ba565b005b610272600480360360608110156102e657600080fd5b506001600160a01b0381358116916020810135909116906040013561086a565b61030e610a62565b6040805160ff9092168252519081900360200190f35b6102726004803603604081101561033a57600080fd5b506001600160a01b038135169060200135610a6b565b61028e610b5c565b6102726004803603606081101561036e57600080fd5b6001600160a01b038235169160208101359181019060608101604082013564010000000081111561039e57600080fd5b8201836020820111156103b057600080fd5b803590602001918460018302840111640100000000831117156103d257600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610b62945050505050565b6102ce6004803603602081101561042957600080fd5b50351515610b92565b610272610c02565b6102ce6004803603604081101561045057600080fd5b506001600160a01b0381351690602001351515610c0b565b61028e6004803603602081101561047e57600080fd5b50356001600160a01b0316610d00565b6102ce610d28565b61028e600480360360408110156104ac57600080fd5b5080359060200135610dd5565b610272600480360360208110156104cf57600080fd5b50356001600160a01b0316610f6a565b6102ce600480360360208110156104f557600080fd5b50356001600160a01b0316610f7f565b610272611030565b61051561103e565b604080516001600160a01b039092168252519081900360200190f35b610515611052565b6101d1611061565b6102726004803603604081101561055757600080fd5b506001600160a01b0381351690602001356110c2565b6102726004803603604081101561058357600080fd5b506001600160a01b038135169060200135611209565b6102ce600480360360208110156105af57600080fd5b503515156113a6565b61028e600480360360408110156105ce57600080fd5b506001600160a01b038135811691602001351661141d565b6102ce600480360360208110156105fc57600080fd5b50356001600160a01b0316611448565b6102726004803603602081101561062257600080fd5b50356001600160a01b0316611551565b61028e6004803603602081101561064857600080fd5b50356001600160a01b0316611566565b60038054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156106e45780601f106106b9576101008083540402835291602001916106e4565b820191906000526020600020905b8154815290600101906020018083116106c757829003601f168201915b5050505050905090565b600d5460009060ff1615806107125750336000908152600e602052604090205460ff165b61074c576040805162461bcd60e51b81526020600482015260066024820152651c185d5cd95960d21b604482015290519081900360640190fd5b336000818152600c602090815260408083206001600160a01b03881680855290835292819020869055805186815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35060015b92915050565b60085490565b6107c26115ca565b60055461010090046001600160a01b03908116911614610817576040805162461bcd60e51b8152602060048201819052602482015260008051602061190f833981519152604482015290519081900360640190fd5b8015610845576001600160a01b0382166000908152600e60205260409020805460ff19166001179055610866565b6001600160a01b0382166000908152600e60205260409020805460ff191690555b5050565b6000826001600160a01b03811661088057600080fd5b6001600160a01b03811630141561089657600080fd5b336000908152600b602052604090205460ff16156108ec576040805162461bcd60e51b815260206004820152600e60248201526d1e5bdd48185c994818985b9b995960921b604482015290519081900360640190fd5b600d5460ff16158061090d5750336000908152600e602052604090205460ff165b610947576040805162461bcd60e51b81526020600482015260066024820152651c185d5cd95960d21b604482015290519081900360640190fd5b6001600160a01b0385166000908152600c6020908152604080832033845290915290205461097590846115ce565b6001600160a01b0386166000908152600c602090815260408083203384529091528120919091556009546109aa908590611610565b6001600160a01b0387166000908152600a60205260409020549091506109d090826115ce565b6001600160a01b038088166000908152600a602052604080822093909355908716815220546109ff9082611669565b6001600160a01b038087166000818152600a602090815260409182902094909455805188815290519193928a16927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a350600195945050505050565b60055460ff1690565b600d5460009060ff161580610a8f5750336000908152600e602052604090205460ff165b610ac9576040805162461bcd60e51b81526020600482015260066024820152651c185d5cd95960d21b604482015290519081900360640190fd5b336000908152600c602090815260408083206001600160a01b0387168452909152902054610af79083611669565b336000818152600c602090815260408083206001600160a01b0389168085529083529281902085905580519485525191937f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929081900390910190a350600192915050565b60075490565b6000610b6e8484611209565b50610b78846116c3565b15610b8857610b888484846116c9565b5060019392505050565b610b9a6115ca565b60055461010090046001600160a01b03908116911614610bef576040805162461bcd60e51b8152602060048201819052602482015260008051602061190f833981519152604482015290519081900360640190fd5b600d805460ff1916911515919091179055565b600d5460ff1681565b610c136115ca565b60055461010090046001600160a01b03908116911614610c68576040805162461bcd60e51b8152602060048201819052602482015260008051602061190f833981519152604482015290519081900360640190fd5b8015610c96576001600160a01b0382166000908152600b60205260409020805460ff19166001179055610cb7565b6001600160a01b0382166000908152600b60205260409020805460ff191690555b604080516001600160a01b0384168152821515602082015281517f9d96fd0be79238fe0114d59e66ab2107b1369256adc03ad3f29b6deb2bc7508a929181900390910190a15050565b6009546001600160a01b0382166000908152600a602052604081205490916107ae9190611581565b610d306115ca565b60055461010090046001600160a01b03908116911614610d85576040805162461bcd60e51b8152602060048201819052602482015260008051602061190f833981519152604482015290519081900360640190fd5b60055460405160009161010090046001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a360058054610100600160a81b0319169055565b6006546000906001600160a01b03163314610e2e576040805162461bcd60e51b81526020600482015260146024820152736f6e6c79206d6f6e657461727920706f6c69637960601b604482015290519081900360640190fd5b600d54610100900460ff1615610e7c576040805162461bcd60e51b815260206004820152600e60248201526d1c9958985cd95cc81c185d5cd95960921b604482015290519081900360640190fd5b81610ec257600854604080519182525184917f72725a3b1e5bd622d6bcd1339bb31279c351abe8f541ac7fd320f24e1b1641f2919081900360200190a2506008546107ae565b6000821215610ee857610ee0610ed7836117a3565b600854906115ce565b600855610ef9565b600854610ef59083611669565b6008555b6008546001600160801b031015610f16576001600160801b036008555b600854600754610f2591611581565b600955600854604080519182525184917f72725a3b1e5bd622d6bcd1339bb31279c351abe8f541ac7fd320f24e1b1641f2919081900360200190a25060085492915050565b600b6020526000908152604090205460ff1681565b610f876115ca565b60055461010090046001600160a01b03908116911614610fdc576040805162461bcd60e51b8152602060048201819052602482015260008051602061190f833981519152604482015290519081900360640190fd5b600680546001600160a01b0383166001600160a01b0319909116811790915560408051918252517f0e6961f1a1afb87eaf51fd64f22ddc10062e23aa7838eac5d0bdf140bfd389729181900360200190a150565b600d54610100900460ff1681565b60055461010090046001600160a01b031690565b6006546001600160a01b031681565b60048054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156106e45780601f106106b9576101008083540402835291602001916106e4565b600d5460009060ff1615806110e65750336000908152600e602052604090205460ff165b611120576040805162461bcd60e51b81526020600482015260066024820152651c185d5cd95960d21b604482015290519081900360640190fd5b336000908152600c602090815260408083206001600160a01b038716845290915290205480831061117457336000908152600c602090815260408083206001600160a01b03881684529091528120556111a3565b61117e81846115ce565b336000908152600c602090815260408083206001600160a01b03891684529091529020555b336000818152600c602090815260408083206001600160a01b0389168085529083529281902054815190815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35060019392505050565b6000826001600160a01b03811661121f57600080fd5b6001600160a01b03811630141561123557600080fd5b336000908152600b602052604090205460ff161561128b576040805162461bcd60e51b815260206004820152600e60248201526d1e5bdd48185c994818985b9b995960921b604482015290519081900360640190fd5b600d5460ff1615806112ac5750336000908152600e602052604090205460ff165b6112e6576040805162461bcd60e51b81526020600482015260066024820152651c185d5cd95960d21b604482015290519081900360640190fd5b60006112fd6009548561161090919063ffffffff16565b336000908152600a602052604090205490915061131a90826115ce565b336000908152600a6020526040808220929092556001600160a01b038716815220546113469082611669565b6001600160a01b0386166000818152600a60209081526040918290209390935580518781529051919233927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a3506001949350505050565b6113ae6115ca565b60055461010090046001600160a01b03908116911614611403576040805162461bcd60e51b8152602060048201819052602482015260008051602061190f833981519152604482015290519081900360640190fd5b600d80549115156101000261ff0019909216919091179055565b6001600160a01b039182166000908152600c6020908152604080832093909416825291909152205490565b6114506115ca565b60055461010090046001600160a01b039081169116146114a5576040805162461bcd60e51b8152602060048201819052602482015260008051602061190f833981519152604482015290519081900360640190fd5b6001600160a01b0381166114ea5760405162461bcd60e51b81526004018080602001828103825260268152602001806118c86026913960400191505060405180910390fd5b6005546040516001600160a01b0380841692610100900416907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b600e6020526000908152604090205460ff1681565b6001600160a01b03166000908152600a602052604090205490565b60006115c383836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506117cb565b9392505050565b3390565b60006115c383836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061186d565b60008261161f575060006107ae565b8282028284828161162c57fe5b04146115c35760405162461bcd60e51b81526004018080602001828103825260218152602001806118ee6021913960400191505060405180910390fd5b6000828201838110156115c3576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b3b151590565b604051635260769b60e11b815233600482018181526024830185905260606044840190815284516064850152845187946001600160a01b0386169463a4c0ed369490938993899360840190602085019080838360005b8381101561173757818101518382015260200161171f565b50505050905090810190601f1680156117645780820380516001836020036101000a031916815260200191505b50945050505050600060405180830381600087803b15801561178557600080fd5b505af1158015611799573d6000803e3d6000fd5b5050505050505050565b6000600160ff1b8214156117b657600080fd5b600082126117c457816107ae565b5060000390565b600081836118575760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561181c578181015183820152602001611804565b50505050905090810190601f1680156118495780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50600083858161186357fe5b0495945050505050565b600081848411156118bf5760405162461bcd60e51b815260206004820181815283516024840152835190928392604490910191908501908083836000831561181c578181015183820152602001611804565b50505090039056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572a2646970667358221220d70ac4e7c3cc3ba7029ee9044547326fc2ec03a0c8b7fc8d2faaf688dd9dffe164736f6c634300060c0033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101c45760003560e01c80637a43e23f116100f9578063a457c2d711610097578063dd62ed3e11610071578063dd62ed3e146105b8578063f2fde38b146105e6578063f442b5701461060c578063f5eb42dc14610632576101c4565b8063a457c2d714610541578063a9059cbb1461056d578063c2a8834714610599576101c4565b80638d0bc428116100d35780638d0bc428146105055780638da5cb5b1461050d5780638e27d7d71461053157806395d89b4114610539576101c4565b80637a43e23f146104965780638988d078146104b95780638b5a6a08146104df576101c4565b80633a98ef39116101665780634563f30a116101405780634563f30a1461043257806367b8c3191461043a57806370a0823114610468578063715018a61461048e576101c4565b80633a98ef39146103505780634000aea01461035857806344e46dff14610413576101c4565b80631fc3371a116101a25780631fc3371a146102a057806323b872dd146102d0578063313ce567146103065780633950935114610324576101c4565b806306fdde03146101c9578063095ea7b31461024657806318160ddd14610286575b600080fd5b6101d1610658565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561020b5781810151838201526020016101f3565b50505050905090810190601f1680156102385780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102726004803603604081101561025c57600080fd5b506001600160a01b0381351690602001356106ee565b604080519115158252519081900360200190f35b61028e6107b4565b60408051918252519081900360200190f35b6102ce600480360360408110156102b657600080fd5b506001600160a01b03813516906020013515156107ba565b005b610272600480360360608110156102e657600080fd5b506001600160a01b0381358116916020810135909116906040013561086a565b61030e610a62565b6040805160ff9092168252519081900360200190f35b6102726004803603604081101561033a57600080fd5b506001600160a01b038135169060200135610a6b565b61028e610b5c565b6102726004803603606081101561036e57600080fd5b6001600160a01b038235169160208101359181019060608101604082013564010000000081111561039e57600080fd5b8201836020820111156103b057600080fd5b803590602001918460018302840111640100000000831117156103d257600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610b62945050505050565b6102ce6004803603602081101561042957600080fd5b50351515610b92565b610272610c02565b6102ce6004803603604081101561045057600080fd5b506001600160a01b0381351690602001351515610c0b565b61028e6004803603602081101561047e57600080fd5b50356001600160a01b0316610d00565b6102ce610d28565b61028e600480360360408110156104ac57600080fd5b5080359060200135610dd5565b610272600480360360208110156104cf57600080fd5b50356001600160a01b0316610f6a565b6102ce600480360360208110156104f557600080fd5b50356001600160a01b0316610f7f565b610272611030565b61051561103e565b604080516001600160a01b039092168252519081900360200190f35b610515611052565b6101d1611061565b6102726004803603604081101561055757600080fd5b506001600160a01b0381351690602001356110c2565b6102726004803603604081101561058357600080fd5b506001600160a01b038135169060200135611209565b6102ce600480360360208110156105af57600080fd5b503515156113a6565b61028e600480360360408110156105ce57600080fd5b506001600160a01b038135811691602001351661141d565b6102ce600480360360208110156105fc57600080fd5b50356001600160a01b0316611448565b6102726004803603602081101561062257600080fd5b50356001600160a01b0316611551565b61028e6004803603602081101561064857600080fd5b50356001600160a01b0316611566565b60038054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156106e45780601f106106b9576101008083540402835291602001916106e4565b820191906000526020600020905b8154815290600101906020018083116106c757829003601f168201915b5050505050905090565b600d5460009060ff1615806107125750336000908152600e602052604090205460ff165b61074c576040805162461bcd60e51b81526020600482015260066024820152651c185d5cd95960d21b604482015290519081900360640190fd5b336000818152600c602090815260408083206001600160a01b03881680855290835292819020869055805186815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35060015b92915050565b60085490565b6107c26115ca565b60055461010090046001600160a01b03908116911614610817576040805162461bcd60e51b8152602060048201819052602482015260008051602061190f833981519152604482015290519081900360640190fd5b8015610845576001600160a01b0382166000908152600e60205260409020805460ff19166001179055610866565b6001600160a01b0382166000908152600e60205260409020805460ff191690555b5050565b6000826001600160a01b03811661088057600080fd5b6001600160a01b03811630141561089657600080fd5b336000908152600b602052604090205460ff16156108ec576040805162461bcd60e51b815260206004820152600e60248201526d1e5bdd48185c994818985b9b995960921b604482015290519081900360640190fd5b600d5460ff16158061090d5750336000908152600e602052604090205460ff165b610947576040805162461bcd60e51b81526020600482015260066024820152651c185d5cd95960d21b604482015290519081900360640190fd5b6001600160a01b0385166000908152600c6020908152604080832033845290915290205461097590846115ce565b6001600160a01b0386166000908152600c602090815260408083203384529091528120919091556009546109aa908590611610565b6001600160a01b0387166000908152600a60205260409020549091506109d090826115ce565b6001600160a01b038088166000908152600a602052604080822093909355908716815220546109ff9082611669565b6001600160a01b038087166000818152600a602090815260409182902094909455805188815290519193928a16927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a350600195945050505050565b60055460ff1690565b600d5460009060ff161580610a8f5750336000908152600e602052604090205460ff165b610ac9576040805162461bcd60e51b81526020600482015260066024820152651c185d5cd95960d21b604482015290519081900360640190fd5b336000908152600c602090815260408083206001600160a01b0387168452909152902054610af79083611669565b336000818152600c602090815260408083206001600160a01b0389168085529083529281902085905580519485525191937f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929081900390910190a350600192915050565b60075490565b6000610b6e8484611209565b50610b78846116c3565b15610b8857610b888484846116c9565b5060019392505050565b610b9a6115ca565b60055461010090046001600160a01b03908116911614610bef576040805162461bcd60e51b8152602060048201819052602482015260008051602061190f833981519152604482015290519081900360640190fd5b600d805460ff1916911515919091179055565b600d5460ff1681565b610c136115ca565b60055461010090046001600160a01b03908116911614610c68576040805162461bcd60e51b8152602060048201819052602482015260008051602061190f833981519152604482015290519081900360640190fd5b8015610c96576001600160a01b0382166000908152600b60205260409020805460ff19166001179055610cb7565b6001600160a01b0382166000908152600b60205260409020805460ff191690555b604080516001600160a01b0384168152821515602082015281517f9d96fd0be79238fe0114d59e66ab2107b1369256adc03ad3f29b6deb2bc7508a929181900390910190a15050565b6009546001600160a01b0382166000908152600a602052604081205490916107ae9190611581565b610d306115ca565b60055461010090046001600160a01b03908116911614610d85576040805162461bcd60e51b8152602060048201819052602482015260008051602061190f833981519152604482015290519081900360640190fd5b60055460405160009161010090046001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a360058054610100600160a81b0319169055565b6006546000906001600160a01b03163314610e2e576040805162461bcd60e51b81526020600482015260146024820152736f6e6c79206d6f6e657461727920706f6c69637960601b604482015290519081900360640190fd5b600d54610100900460ff1615610e7c576040805162461bcd60e51b815260206004820152600e60248201526d1c9958985cd95cc81c185d5cd95960921b604482015290519081900360640190fd5b81610ec257600854604080519182525184917f72725a3b1e5bd622d6bcd1339bb31279c351abe8f541ac7fd320f24e1b1641f2919081900360200190a2506008546107ae565b6000821215610ee857610ee0610ed7836117a3565b600854906115ce565b600855610ef9565b600854610ef59083611669565b6008555b6008546001600160801b031015610f16576001600160801b036008555b600854600754610f2591611581565b600955600854604080519182525184917f72725a3b1e5bd622d6bcd1339bb31279c351abe8f541ac7fd320f24e1b1641f2919081900360200190a25060085492915050565b600b6020526000908152604090205460ff1681565b610f876115ca565b60055461010090046001600160a01b03908116911614610fdc576040805162461bcd60e51b8152602060048201819052602482015260008051602061190f833981519152604482015290519081900360640190fd5b600680546001600160a01b0383166001600160a01b0319909116811790915560408051918252517f0e6961f1a1afb87eaf51fd64f22ddc10062e23aa7838eac5d0bdf140bfd389729181900360200190a150565b600d54610100900460ff1681565b60055461010090046001600160a01b031690565b6006546001600160a01b031681565b60048054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156106e45780601f106106b9576101008083540402835291602001916106e4565b600d5460009060ff1615806110e65750336000908152600e602052604090205460ff165b611120576040805162461bcd60e51b81526020600482015260066024820152651c185d5cd95960d21b604482015290519081900360640190fd5b336000908152600c602090815260408083206001600160a01b038716845290915290205480831061117457336000908152600c602090815260408083206001600160a01b03881684529091528120556111a3565b61117e81846115ce565b336000908152600c602090815260408083206001600160a01b03891684529091529020555b336000818152600c602090815260408083206001600160a01b0389168085529083529281902054815190815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35060019392505050565b6000826001600160a01b03811661121f57600080fd5b6001600160a01b03811630141561123557600080fd5b336000908152600b602052604090205460ff161561128b576040805162461bcd60e51b815260206004820152600e60248201526d1e5bdd48185c994818985b9b995960921b604482015290519081900360640190fd5b600d5460ff1615806112ac5750336000908152600e602052604090205460ff165b6112e6576040805162461bcd60e51b81526020600482015260066024820152651c185d5cd95960d21b604482015290519081900360640190fd5b60006112fd6009548561161090919063ffffffff16565b336000908152600a602052604090205490915061131a90826115ce565b336000908152600a6020526040808220929092556001600160a01b038716815220546113469082611669565b6001600160a01b0386166000818152600a60209081526040918290209390935580518781529051919233927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a3506001949350505050565b6113ae6115ca565b60055461010090046001600160a01b03908116911614611403576040805162461bcd60e51b8152602060048201819052602482015260008051602061190f833981519152604482015290519081900360640190fd5b600d80549115156101000261ff0019909216919091179055565b6001600160a01b039182166000908152600c6020908152604080832093909416825291909152205490565b6114506115ca565b60055461010090046001600160a01b039081169116146114a5576040805162461bcd60e51b8152602060048201819052602482015260008051602061190f833981519152604482015290519081900360640190fd5b6001600160a01b0381166114ea5760405162461bcd60e51b81526004018080602001828103825260268152602001806118c86026913960400191505060405180910390fd5b6005546040516001600160a01b0380841692610100900416907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b600e6020526000908152604090205460ff1681565b6001600160a01b03166000908152600a602052604090205490565b60006115c383836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506117cb565b9392505050565b3390565b60006115c383836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061186d565b60008261161f575060006107ae565b8282028284828161162c57fe5b04146115c35760405162461bcd60e51b81526004018080602001828103825260218152602001806118ee6021913960400191505060405180910390fd5b6000828201838110156115c3576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b3b151590565b604051635260769b60e11b815233600482018181526024830185905260606044840190815284516064850152845187946001600160a01b0386169463a4c0ed369490938993899360840190602085019080838360005b8381101561173757818101518382015260200161171f565b50505050905090810190601f1680156117645780820380516001836020036101000a031916815260200191505b50945050505050600060405180830381600087803b15801561178557600080fd5b505af1158015611799573d6000803e3d6000fd5b5050505050505050565b6000600160ff1b8214156117b657600080fd5b600082126117c457816107ae565b5060000390565b600081836118575760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561181c578181015183820152602001611804565b50505050905090810190601f1680156118495780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50600083858161186357fe5b0495945050505050565b600081848411156118bf5760405162461bcd60e51b815260206004820181815283516024840152835190928392604490910191908501908083836000831561181c578181015183820152602001611804565b50505090039056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572a2646970667358221220d70ac4e7c3cc3ba7029ee9044547326fc2ec03a0c8b7fc8d2faaf688dd9dffe164736f6c634300060c0033
Deployed Bytecode Sourcemap
28140:11551:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13698:83;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37578:370;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;37578:370:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;34252:100;;;:::i;:::-;;;;;;;;;;;;;;;;31305:263;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;31305:263:0;;;;;;;;;;:::i;:::-;;36218:718;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;36218:718:0;;;;;;;;;;;;;;;;;:::i;14625:83::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;38321:471;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;38321:471:0;;;;;;;;:::i;33704:91::-;;;:::i;26717:298::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;26717:298:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;26717:298:0;;-1:-1:-1;26717:298:0;;-1:-1:-1;;;;;26717:298:0:i;31174:123::-;;;;;;;;;;;;;;;;-1:-1:-1;31174:123:0;;;;:::i;30711:27::-;;;:::i;33921:263::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;33921:263:0;;;;;;;;;;:::i;34473:136::-;;;;;;;;;;;;;;;;-1:-1:-1;34473:136:0;-1:-1:-1;;;;;34473:136:0;;:::i;2772:148::-;;;:::i;32255:1441::-;;;;;;;;;;;;;;;;-1:-1:-1;32255:1441:0;;;;;;;:::i;30460:43::-;;;;;;;;;;;;;;;;-1:-1:-1;30460:43:0;-1:-1:-1;;;;;30460:43:0;;:::i;31817:179::-;;;;;;;;;;;;;;;;-1:-1:-1;31817:179:0;-1:-1:-1;;;;;31817:179:0;;:::i;30745:25::-;;;:::i;2130:79::-;;;:::i;:::-;;;;-1:-1:-1;;;;;2130:79:0;;;;;;;;;;;;;;29756:29;;;:::i;13900:87::-;;;:::i;39054:634::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;39054:634:0;;;;;;;;:::i;34835:627::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;34835:627:0;;;;;;;;:::i;31576:113::-;;;;;;;;;;;;;;;;-1:-1:-1;31576:113:0;;;;:::i;35769:187::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;35769:187:0;;;;;;;;;;:::i;3075:244::-;;;;;;;;;;;;;;;;-1:-1:-1;3075:244:0;-1:-1:-1;;;;;3075:244:0;;:::i;30779:55::-;;;;;;;;;;;;;;;;-1:-1:-1;30779:55:0;-1:-1:-1;;;;;30779:55:0;;:::i;33803:110::-;;;;;;;;;;;;;;;;-1:-1:-1;33803:110:0;-1:-1:-1;;;;;33803:110:0;;:::i;13698:83::-;13768:5;13761:12;;;;;;;;-1:-1:-1;;13761:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13735:13;;13761:12;;13768:5;;13761:12;;13768:5;13761:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13698:83;:::o;37578:370::-;37724:15;;37679:4;;37724:15;;37723:16;;:55;;-1:-1:-1;37767:10:0;37743:35;;;;:23;:35;;;;;;;;37723:55;37701:111;;;;;-1:-1:-1;;;37701:111:0;;;;;;;;;;;;-1:-1:-1;;;37701:111:0;;;;;;;;;;;;;;;37838:10;37825:24;;;;:12;:24;;;;;;;;-1:-1:-1;;;;;37825:33:0;;;;;;;;;;;;:41;;;37882:36;;;;;;;37825:33;;37838:10;37882:36;;;;;;;;;;;-1:-1:-1;37936:4:0;37578:370;;;;;:::o;34252:100::-;34332:12;;34252:100;:::o;31305:263::-;2352:12;:10;:12::i;:::-;2342:6;;;;;-1:-1:-1;;;;;2342:6:0;;;:22;;;2334:67;;;;;-1:-1:-1;;;2334:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2334:67:0;;;;;;;;;;;;;;;31421:6:::1;31417:144;;;-1:-1:-1::0;;;;;31444:29:0;::::1;;::::0;;;:23:::1;:29;::::0;;;;:36;;-1:-1:-1;;31444:36:0::1;31476:4;31444:36;::::0;;31417:144:::1;;;-1:-1:-1::0;;;;;31520:29:0;::::1;;::::0;;;:23:::1;:29;::::0;;;;31513:36;;-1:-1:-1;;31513:36:0::1;::::0;;31417:144:::1;31305:263:::0;;:::o;36218:718::-;36359:4;36346:2;-1:-1:-1;;;;;29849:18:0;;29841:27;;;;;;-1:-1:-1;;;;;29887:19:0;;29901:4;29887:19;;29879:28;;;;;;36396:10:::1;36384:23;::::0;;;:11:::1;:23;::::0;;;;;::::1;;:32;36376:59;;;::::0;;-1:-1:-1;;;36376:59:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;36376:59:0;;;;;;;;;;;;;::::1;;36469:15;::::0;::::1;;36468:16;::::0;:55:::1;;-1:-1:-1::0;36512:10:0::1;36488:35;::::0;;;:23:::1;:35;::::0;;;;;::::1;;36468:55;36446:111;;;::::0;;-1:-1:-1;;;36446:111:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;36446:111:0;;;;;;;;;;;;;::::1;;-1:-1:-1::0;;;;;36603:18:0;::::1;;::::0;;;:12:::1;:18;::::0;;;;;;;36622:10:::1;36603:30:::0;;;;;;;;:65:::1;::::0;36652:5;36603:34:::1;:65::i;:::-;-1:-1:-1::0;;;;;36570:18:0;::::1;;::::0;;;:12:::1;:18;::::0;;;;;;;36589:10:::1;36570:30:::0;;;;;;;:98;;;;36712:14:::1;::::0;36702:25:::1;::::0;:5;;:9:::1;:25::i;:::-;-1:-1:-1::0;;;;;36761:20:0;::::1;;::::0;;;:14:::1;:20;::::0;;;;;36681:46;;-1:-1:-1;36761:36:0::1;::::0;36681:46;36761:24:::1;:36::i;:::-;-1:-1:-1::0;;;;;36738:20:0;;::::1;;::::0;;;:14:::1;:20;::::0;;;;;:59;;;;36829:18;;::::1;::::0;;;;:34:::1;::::0;36852:10;36829:22:::1;:34::i;:::-;-1:-1:-1::0;;;;;36808:18:0;;::::1;;::::0;;;:14:::1;:18;::::0;;;;;;;;:55;;;;36879:25;;;;;;;36808:18;;36879:25;;::::1;::::0;::::1;::::0;;;;;;;::::1;-1:-1:-1::0;36924:4:0::1;::::0;36218:718;-1:-1:-1;;;;;36218:718:0:o;14625:83::-;14691:9;;;;14625:83;:::o;38321:471::-;38482:15;;38437:4;;38482:15;;38481:16;;:55;;-1:-1:-1;38525:10:0;38501:35;;;;:23;:35;;;;;;;;38481:55;38459:111;;;;;-1:-1:-1;;;38459:111:0;;;;;;;;;;;;-1:-1:-1;;;38459:111:0;;;;;;;;;;;;;;;38632:10;38619:24;;;;:12;:24;;;;;;;;-1:-1:-1;;;;;38619:33:0;;;;;;;;;;:63;;38671:10;38619:51;:63::i;:::-;38596:10;38583:24;;;;:12;:24;;;;;;;;-1:-1:-1;;;;;38583:33:0;;;;;;;;;;;;:99;;;38698:64;;;;;;38583:33;;38698:64;;;;;;;;;;;-1:-1:-1;38780:4:0;38321:471;;;;:::o;33704:91::-;33775:12;;33704:91;:::o;26717:298::-;26840:12;26870:21;26879:3;26884:6;26870:8;:21::i;:::-;;26906:15;26917:3;26906:10;:15::i;:::-;26902:84;;;26938:36;26955:3;26960:6;26968:5;26938:16;:36::i;:::-;-1:-1:-1;27003:4:0;26717:298;;;;;:::o;31174:123::-;2352:12;:10;:12::i;:::-;2342:6;;;;;-1:-1:-1;;;;;2342:6:0;;;:22;;;2334:67;;;;;-1:-1:-1;;;2334:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2334:67:0;;;;;;;;;;;;;;;31255:15:::1;:34:::0;;-1:-1:-1;;31255:34:0::1;::::0;::::1;;::::0;;;::::1;::::0;;31174:123::o;30711:27::-;;;;;;:::o;33921:263::-;2352:12;:10;:12::i;:::-;2342:6;;;;;-1:-1:-1;;;;;2342:6:0;;;:22;;;2334:67;;;;;-1:-1:-1;;;2334:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2334:67:0;;;;;;;;;;;;;;;34008:6:::1;34004:120;;;-1:-1:-1::0;;;;;34031:17:0;::::1;;::::0;;;:11:::1;:17;::::0;;;;:24;;-1:-1:-1;;34031:24:0::1;34051:4;34031:24;::::0;;34004:120:::1;;;-1:-1:-1::0;;;;;34095:17:0;::::1;;::::0;;;:11:::1;:17;::::0;;;;34088:24;;-1:-1:-1;;34088:24:0::1;::::0;;34004:120:::1;34139:37;::::0;;-1:-1:-1;;;;;34139:37:0;::::1;::::0;;;::::1;;;::::0;::::1;::::0;;;::::1;::::0;;;;;;;;;::::1;33921:263:::0;;:::o;34473:136::-;34586:14;;-1:-1:-1;;;;;34562:19:0;;34535:7;34562:19;;;:14;:19;;;;;;34535:7;;34562:39;;:19;:23;:39::i;2772:148::-;2352:12;:10;:12::i;:::-;2342:6;;;;;-1:-1:-1;;;;;2342:6:0;;;:22;;;2334:67;;;;;-1:-1:-1;;;2334:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2334:67:0;;;;;;;;;;;;;;;2863:6:::1;::::0;2842:40:::1;::::0;2879:1:::1;::::0;2863:6:::1;::::0;::::1;-1:-1:-1::0;;;;;2863:6:0::1;::::0;2842:40:::1;::::0;2879:1;;2842:40:::1;2893:6;:19:::0;;-1:-1:-1;;;;;;2893:19:0::1;::::0;;2772:148::o;32255:1441::-;32389:14;;32342:7;;-1:-1:-1;;;;;32389:14:0;32375:10;:28;32367:61;;;;;-1:-1:-1;;;32367:61:0;;;;;;;;;;;;-1:-1:-1;;;32367:61:0;;;;;;;;;;;;;;;32448:13;;;;;;;32447:14;32439:41;;;;;-1:-1:-1;;;32439:41:0;;;;;;;;;;;;-1:-1:-1;;;32439:41:0;;;;;;;;;;;;;;;32497:16;32493:118;;32552:12;;32535:30;;;;;;;32545:5;;32535:30;;;;;;;;;;-1:-1:-1;32587:12:0;;32580:19;;32493:118;32641:1;32627:11;:15;32623:193;;;32674:44;32699:17;:11;:15;:17::i;:::-;32674:12;;;:16;:44::i;:::-;32659:12;:59;32623:193;;;32766:12;;:38;;32791:11;32766:16;:38::i;:::-;32751:12;:53;32623:193;32832:12;;-1:-1:-1;;;;;;32828:83:0;;;-1:-1:-1;;;;;32874:12:0;:25;32828:83;32957:12;;32940;;:30;;:16;:30::i;:::-;32923:14;:47;33645:12;;33628:30;;;;;;;33638:5;;33628:30;;;;;;;;;;-1:-1:-1;33676:12:0;;32255:1441;;;;:::o;30460:43::-;;;;;;;;;;;;;;;:::o;31817:179::-;2352:12;:10;:12::i;:::-;2342:6;;;;;-1:-1:-1;;;;;2342:6:0;;;:22;;;2334:67;;;;;-1:-1:-1;;;2334:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2334:67:0;;;;;;;;;;;;;;;31899:14:::1;:32:::0;;-1:-1:-1;;;;;31899:32:0;::::1;-1:-1:-1::0;;;;;;31899:32:0;;::::1;::::0;::::1;::::0;;;31947:41:::1;::::0;;;;;;::::1;::::0;;;;::::1;::::0;;::::1;31817:179:::0;:::o;30745:25::-;;;;;;;;;:::o;2130:79::-;2195:6;;;;;-1:-1:-1;;;;;2195:6:0;;2130:79::o;29756:29::-;;;-1:-1:-1;;;;;29756:29:0;;:::o;13900:87::-;13972:7;13965:14;;;;;;;;-1:-1:-1;;13965:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13939:13;;13965:14;;13972:7;;13965:14;;13972:7;13965:14;;;;;;;;;;;;;;;;;;;;;;;;39054:634;39220:15;;39175:4;;39220:15;;39219:16;;:55;;-1:-1:-1;39263:10:0;39239:35;;;;:23;:35;;;;;;;;39219:55;39197:111;;;;;-1:-1:-1;;;39197:111:0;;;;;;;;;;;;-1:-1:-1;;;39197:111:0;;;;;;;;;;;;;;;39353:10;39321:16;39340:24;;;:12;:24;;;;;;;;-1:-1:-1;;;;;39340:33:0;;;;;;;;;;39388:27;;;39384:195;;39445:10;39468:1;39432:24;;;:12;:24;;;;;;;;-1:-1:-1;;;;;39432:33:0;;;;;;;;;:37;39384:195;;;39538:29;:8;39551:15;39538:12;:29::i;:::-;39515:10;39502:24;;;;:12;:24;;;;;;;;-1:-1:-1;;;;;39502:33:0;;;;;;;;;:65;39384:195;39603:10;39624:24;;;;:12;:24;;;;;;;;-1:-1:-1;;;;;39594:64:0;;39624:33;;;;;;;;;;;39594:64;;;;;;;;;39603:10;39594:64;;;;;;;;;;;-1:-1:-1;39676:4:0;;39054:634;-1:-1:-1;;;39054:634:0:o;34835:627::-;34975:4;34953:2;-1:-1:-1;;;;;29849:18:0;;29841:27;;;;;;-1:-1:-1;;;;;29887:19:0;;29901:4;29887:19;;29879:28;;;;;;35017:10:::1;35005:23;::::0;;;:11:::1;:23;::::0;;;;;::::1;;:32;34997:59;;;::::0;;-1:-1:-1;;;34997:59:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;34997:59:0;;;;;;;;;;;;;::::1;;35090:15;::::0;::::1;;35089:16;::::0;:55:::1;;-1:-1:-1::0;35133:10:0::1;35109:35;::::0;;;:23:::1;:35;::::0;;;;;::::1;;35089:55;35067:111;;;::::0;;-1:-1:-1;;;35067:111:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;35067:111:0;;;;;;;;;;;;;::::1;;35191:18;35212:25;35222:14;;35212:5;:9;;:25;;;;:::i;:::-;35292:10;35277:26;::::0;;;:14:::1;:26;::::0;;;;;35191:46;;-1:-1:-1;35277:42:0::1;::::0;35191:46;35277:30:::1;:42::i;:::-;35263:10;35248:26;::::0;;;:14:::1;:26;::::0;;;;;:71;;;;-1:-1:-1;;;;;35351:18:0;::::1;::::0;;;;:34:::1;::::0;35374:10;35351:22:::1;:34::i;:::-;-1:-1:-1::0;;;;;35330:18:0;::::1;;::::0;;;:14:::1;:18;::::0;;;;;;;;:55;;;;35401:31;;;;;;;35330:18;;35410:10:::1;::::0;35401:31:::1;::::0;;;;;;;;::::1;-1:-1:-1::0;35450:4:0::1;::::0;34835:627;-1:-1:-1;;;;34835:627:0:o;31576:113::-;2352:12;:10;:12::i;:::-;2342:6;;;;;-1:-1:-1;;;;;2342:6:0;;;:22;;;2334:67;;;;;-1:-1:-1;;;2334:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2334:67:0;;;;;;;;;;;;;;;31651:13:::1;:30:::0;;;::::1;;;;-1:-1:-1::0;;31651:30:0;;::::1;::::0;;;::::1;::::0;;31576:113::o;35769:187::-;-1:-1:-1;;;;;35919:20:0;;;35887:7;35919:20;;;:12;:20;;;;;;;;:29;;;;;;;;;;;;;35769:187::o;3075:244::-;2352:12;:10;:12::i;:::-;2342:6;;;;;-1:-1:-1;;;;;2342:6:0;;;:22;;;2334:67;;;;;-1:-1:-1;;;2334:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2334:67:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;3164:22:0;::::1;3156:73;;;;-1:-1:-1::0;;;3156:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3266:6;::::0;3245:38:::1;::::0;-1:-1:-1;;;;;3245:38:0;;::::1;::::0;3266:6:::1;::::0;::::1;;::::0;3245:38:::1;::::0;;;::::1;3294:6;:17:::0;;-1:-1:-1;;;;;3294:17:0;;::::1;;;-1:-1:-1::0;;;;;;3294:17:0;;::::1;::::0;;;::::1;::::0;;3075:244::o;30779:55::-;;;;;;;;;;;;;;;:::o;33803:110::-;-1:-1:-1;;;;;33885:20:0;33858:7;33885:20;;;:14;:20;;;;;;;33803:110::o;9371:132::-;9429:7;9456:39;9460:1;9463;9456:39;;;;;;;;;;;;;;;;;:3;:39::i;:::-;9449:46;9371:132;-1:-1:-1;;;9371:132:0:o;665:106::-;753:10;665:106;:::o;7534:136::-;7592:7;7619:43;7623:1;7626;7619:43;;;;;;;;;;;;;;;;;:3;:43::i;8424:471::-;8482:7;8727:6;8723:47;;-1:-1:-1;8757:1:0;8750:8;;8723:47;8794:5;;;8798:1;8794;:5;:1;8818:5;;;;;:10;8810:56;;;;-1:-1:-1;;;8810:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7070:181;7128:7;7160:5;;;7184:6;;;;7176:46;;;;;-1:-1:-1;;;7176:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;27251:269;27465:18;27502:10;;;27251:269::o;27023:220::-;27184:51;;-1:-1:-1;;;27184:51:0;;27209:10;27184:51;;;;;;;;;;;;;;;;;;;;;;;;;;;27169:3;;-1:-1:-1;;;;;27184:24:0;;;;;27209:10;;27221:6;;27229:5;;27184:51;;;;;;;;;;27128:23;27184:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27023:220;;;;:::o;25532:161::-;25605:6;-1:-1:-1;;;25637:15:0;;;25629:24;;;;;;25675:1;25671;:5;:14;;25684:1;25671:14;;;-1:-1:-1;25679:2:0;;;25532:161::o;9999:278::-;10085:7;10120:12;10113:5;10105:28;;;;-1:-1:-1;;;10105:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10144:9;10160:1;10156;:5;;;;;;;9999:278;-1:-1:-1;;;;;9999:278:0:o;7973:192::-;8059:7;8095:12;8087:6;;;;8079:29;;;;-1:-1:-1;;;8079:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;8131:5:0;;;7973:192::o
Swarm Source
ipfs://d70ac4e7c3cc3ba7029ee9044547326fc2ec03a0c8b7fc8d2faaf688dd9dffe1
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.