Overview
Max Total Supply
1,000,000 YAX
Holders
946 (0.00%)
Market
Price
$3.53 @ 0.001417 ETH
Onchain Market Cap
$3,530,751.31
Circulating Supply Market Cap
$3,290,294.42
Other Info
Token Contract (WITH 18 Decimals)
Balance
0.000077429322884044 YAXValue
$0.00 ( ~0 Eth) [0.0000%]Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
YaxisToken
Compiler Version
v0.6.12+commit.27d51765
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2020-09-17 */ // SPDX-License-Identifier: MIT pragma solidity 0.6.12; // File: @openzeppelin/contracts/GSN/Context.sol /* * @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/token/ERC20/IERC20.sol /** * @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 /** * @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/utils/Address.sol /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies in extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; // solhint-disable-next-line no-inline-assembly assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); // solhint-disable-next-line avoid-low-level-calls, avoid-call-value (bool success, ) = recipient.call{ value: amount }(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain`call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { return _functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); return _functionCallWithValue(target, data, value, errorMessage); } function _functionCallWithValue(address target, bytes memory data, uint256 weiValue, string memory errorMessage) private returns (bytes memory) { require(isContract(target), "Address: call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.call{ value: weiValue }(data); if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly // solhint-disable-next-line no-inline-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // File: @openzeppelin/contracts/token/ERC20/ERC20.sol /** * @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; using Address for address; 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 override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view 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: @openzeppelin/contracts/token/ERC20/SafeERC20.sol /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeERC20 { using SafeMath for uint256; using Address for address; function safeTransfer(IERC20 token, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } /** * @dev Deprecated. This function has issues similar to the ones found in * {IERC20-approve}, and its usage is discouraged. * * Whenever possible, use {safeIncreaseAllowance} and * {safeDecreaseAllowance} instead. */ function safeApprove(IERC20 token, address spender, uint256 value) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' // solhint-disable-next-line max-line-length require((value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal { uint256 newAllowance = token.allowance(address(this), spender).add(value); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal { uint256 newAllowance = token.allowance(address(this), spender).sub(value, "SafeERC20: decreased allowance below zero"); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function _callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed"); if (returndata.length > 0) { // Return data is optional // solhint-disable-next-line max-line-length require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } } // File: contracts/YaxisToken.sol // yAxis (YAX) with Governance Alpha contract YaxisToken is ERC20 { using SafeERC20 for IERC20; using SafeMath for uint256; address public governance; uint256 public cap; mapping(address => bool) public minters; constructor (uint256 _cap) public ERC20("yAxis", "YAX") { governance = msg.sender; cap = _cap; } function mint(address _to, uint256 _amount) public { require(msg.sender == governance || minters[msg.sender], "!governance && !minter"); _mint(_to, _amount); _moveDelegates(address(0), _delegates[_to], _amount); } function burn(uint256 _amount) public { _burn(msg.sender, _amount); _moveDelegates(_delegates[msg.sender], address(0), _amount); } function burnFrom(address _account, uint256 _amount) public { uint256 decreasedAllowance = allowance(_account, msg.sender).sub(_amount, "ERC20: burn amount exceeds allowance"); _approve(_account, msg.sender, decreasedAllowance); _burn(_account, _amount); _moveDelegates(_delegates[_account], address(0), _amount); } function setGovernance(address _governance) public { require(msg.sender == governance, "!governance"); governance = _governance; } function addMinter(address _minter) public { require(msg.sender == governance, "!governance"); minters[_minter] = true; } function removeMinter(address _minter) public { require(msg.sender == governance, "!governance"); minters[_minter] = false; } function setCap(uint256 _cap) public { require(msg.sender == governance, "!governance"); require(_cap >= totalSupply(), "_cap is below current total supply"); cap = _cap; } // This function allows governance to take unsupported tokens out of the contract. // This is in an effort to make someone whole, should they seriously mess up. // There is no guarantee governance will vote to return these. // It also allows for removal of airdropped tokens. function governanceRecoverUnsupported(IERC20 _token, address _to, uint256 _amount) external { require(msg.sender == governance, "!governance"); _token.safeTransfer(_to, _amount); } /** * @dev See {ERC20-_beforeTokenTransfer}. * * Requirements: * * - minted tokens must not cause the total supply to go over the cap. */ function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual override { super._beforeTokenTransfer(from, to, amount); if (from == address(0)) {// When minting tokens require(totalSupply().add(amount) <= cap, "ERC20Capped: cap exceeded"); } } // Copied and modified from YAM code: // https://github.com/yam-finance/yam-protocol/blob/master/contracts/token/YAMGovernanceStorage.sol // https://github.com/yam-finance/yam-protocol/blob/master/contracts/token/YAMGovernance.sol // Which is copied and modified from COMPOUND: // https://github.com/compound-finance/compound-protocol/blob/master/contracts/Governance/Comp.sol /// @dev A record of each accounts delegate mapping(address => address) internal _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)"); /// @dev 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); /** * @notice Delegate votes from `msg.sender` to `delegatee` * @param delegator The address to get delegatee for */ function delegates(address delegator) external view returns (address) { return _delegates[delegator]; } /** * @notice Delegate votes from `msg.sender` to `delegatee` * @param delegatee The address to delegate votes to */ function delegate(address delegatee) external { 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 ) external { 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), "YAX::delegateBySig: invalid signature"); require(nonce == nonces[signatory]++, "YAX::delegateBySig: invalid nonce"); require(now <= expiry, "YAX::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) external view returns (uint256) { require(blockNumber < block.number, "YAX::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); // balance of underlying YAXs (not scaled); _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)) { // decrease old representative 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)) { // increase new representative 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, "YAX::_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
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"uint256","name":"_cap","type":"uint256"}],"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":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"DELEGATION_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DOMAIN_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_minter","type":"address"}],"name":"addMinter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"cap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"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"}],"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":"delegatee","type":"address"}],"name":"delegate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"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":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"delegator","type":"address"}],"name":"delegates","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getCurrentVotes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"blockNumber","type":"uint256"}],"name":"getPriorVotes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"governance","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"_token","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"governanceRecoverUnsupported","outputs":[],"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":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"minters","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"numCheckpoints","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_minter","type":"address"}],"name":"removeMinter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_cap","type":"uint256"}],"name":"setCap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_governance","type":"address"}],"name":"setGovernance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b50604051620023c6380380620023c6833981810160405260208110156200003757600080fd5b50516040805180820182526005815264794178697360d81b602082810191825283518085019094526003808552620b282b60eb1b918501919091528251929392620000839290620000c5565b50805162000099906004906020840190620000c5565b505060058054601260ff1990911617610100600160a81b03191661010033021790555060065562000161565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200010857805160ff191683800117855562000138565b8280016001018555821562000138579182015b82811115620001385782518255916020019190600101906200011b565b50620001469291506200014a565b5090565b5b808211156200014657600081556001016200014b565b61225580620001716000396000f3fe608060405234801561001057600080fd5b50600436106101f05760003560e01c806370a082311161010f578063ab033ea9116100a2578063e7a324dc11610071578063e7a324dc14610684578063f1127ed81461068c578063f46eccc4146106de578063f6383b2c14610704576101f0565b8063ab033ea9146105c3578063b4b5ea57146105e9578063c3cda5201461060f578063dd62ed3e14610656576101f0565b806395d89b41116100de57806395d89b411461053d578063983b2d5614610545578063a457c2d71461056b578063a9059cbb14610597576101f0565b806370a0823114610499578063782d6fe1146104bf57806379cc6790146104eb5780637ecebe0014610517576101f0565b80633950935111610187578063587cde1e11610156578063587cde1e146103ea5780635aa6e6751461042c5780635c19a95c146104345780636fcfff451461045a576101f0565b8063395093511461035857806340c10f191461038457806342966c68146103b057806347786d37146103cd576101f0565b806323b872dd116101c357806323b872dd146102d45780633092afd51461030a578063313ce56714610332578063355274ea14610350576101f0565b806306fdde03146101f5578063095ea7b31461027257806318160ddd146102b257806320606b70146102cc575b600080fd5b6101fd61073a565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561023757818101518382015260200161021f565b50505050905090810190601f1680156102645780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61029e6004803603604081101561028857600080fd5b506001600160a01b0381351690602001356107d0565b604080519115158252519081900360200190f35b6102ba6107ee565b60408051918252519081900360200190f35b6102ba6107f4565b61029e600480360360608110156102ea57600080fd5b506001600160a01b03813581169160208101359091169060400135610818565b6103306004803603602081101561032057600080fd5b50356001600160a01b031661089f565b005b61033a610912565b6040805160ff9092168252519081900360200190f35b6102ba61091b565b61029e6004803603604081101561036e57600080fd5b506001600160a01b038135169060200135610921565b6103306004803603604081101561039a57600080fd5b506001600160a01b03813516906020013561096f565b610330600480360360208110156103c657600080fd5b5035610a19565b610330600480360360208110156103e357600080fd5b5035610a4c565b6104106004803603602081101561040057600080fd5b50356001600160a01b0316610ae9565b604080516001600160a01b039092168252519081900360200190f35b610410610b07565b6103306004803603602081101561044a57600080fd5b50356001600160a01b0316610b1b565b6104806004803603602081101561047057600080fd5b50356001600160a01b0316610b25565b6040805163ffffffff9092168252519081900360200190f35b6102ba600480360360208110156104af57600080fd5b50356001600160a01b0316610b3d565b6102ba600480360360408110156104d557600080fd5b506001600160a01b038135169060200135610b58565b6103306004803603604081101561050157600080fd5b506001600160a01b038135169060200135610d60565b6102ba6004803603602081101561052d57600080fd5b50356001600160a01b0316610dd2565b6101fd610de4565b6103306004803603602081101561055b57600080fd5b50356001600160a01b0316610e45565b61029e6004803603604081101561058157600080fd5b506001600160a01b038135169060200135610ebb565b61029e600480360360408110156105ad57600080fd5b506001600160a01b038135169060200135610f23565b610330600480360360208110156105d957600080fd5b50356001600160a01b0316610f37565b6102ba600480360360208110156105ff57600080fd5b50356001600160a01b0316610fb1565b610330600480360360c081101561062557600080fd5b506001600160a01b038135169060208101359060408101359060ff6060820135169060808101359060a00135611015565b6102ba6004803603604081101561066c57600080fd5b506001600160a01b0381358116916020013516611288565b6102ba6112b3565b6106be600480360360408110156106a257600080fd5b5080356001600160a01b0316906020013563ffffffff166112d7565b6040805163ffffffff909316835260208301919091528051918290030190f35b61029e600480360360208110156106f457600080fd5b50356001600160a01b0316611304565b6103306004803603606081101561071a57600080fd5b506001600160a01b03813581169160208101359091169060400135611319565b60038054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156107c65780601f1061079b576101008083540402835291602001916107c6565b820191906000526020600020905b8154815290600101906020018083116107a957829003601f168201915b5050505050905090565b60006107e46107dd61137f565b8484611383565b5060015b92915050565b60025490565b7f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a86681565b600061082584848461146f565b6108958461083161137f565b610890856040518060600160405280602881526020016120d4602891396001600160a01b038a1660009081526001602052604081209061086f61137f565b6001600160a01b0316815260208101919091526040016000205491906115ca565b611383565b5060019392505050565b60055461010090046001600160a01b031633146108f1576040805162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b604482015290519081900360640190fd5b6001600160a01b03166000908152600760205260409020805460ff19169055565b60055460ff1690565b60065481565b60006107e461092e61137f565b84610890856001600061093f61137f565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490611661565b60055461010090046001600160a01b031633148061099c57503360009081526007602052604090205460ff165b6109e6576040805162461bcd60e51b815260206004820152601660248201527510b3b7bb32b93730b731b29013131010b6b4b73a32b960511b604482015290519081900360640190fd5b6109f082826116bb565b6001600160a01b03808316600090815260086020526040812054610a159216836117ab565b5050565b610a2333826118e8565b33600090815260086020526040812054610a49916001600160a01b0390911690836117ab565b50565b60055461010090046001600160a01b03163314610a9e576040805162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b604482015290519081900360640190fd5b610aa66107ee565b811015610ae45760405162461bcd60e51b81526004018080602001828103825260228152602001806121666022913960400191505060405180910390fd5b600655565b6001600160a01b039081166000908152600860205260409020541690565b60055461010090046001600160a01b031681565b610a4933826119e4565b600a6020526000908152604090205463ffffffff1681565b6001600160a01b031660009081526020819052604090205490565b6000438210610b985760405162461bcd60e51b81526004018080602001828103825260268152602001806120306026913960400191505060405180910390fd5b6001600160a01b0383166000908152600a602052604090205463ffffffff1680610bc65760009150506107e8565b6001600160a01b038416600090815260096020908152604080832063ffffffff600019860181168552925290912054168310610c35576001600160a01b03841660009081526009602090815260408083206000199490940163ffffffff168352929052206001015490506107e8565b6001600160a01b038416600090815260096020908152604080832083805290915290205463ffffffff16831015610c705760009150506107e8565b600060001982015b8163ffffffff168163ffffffff161115610d2957600282820363ffffffff16048103610ca2611f90565b506001600160a01b038716600090815260096020908152604080832063ffffffff808616855290835292819020815180830190925280549093168082526001909301549181019190915290871415610d04576020015194506107e89350505050565b805163ffffffff16871115610d1b57819350610d22565b6001820392505b5050610c78565b506001600160a01b038516600090815260096020908152604080832063ffffffff9094168352929052206001015491505092915050565b6000610d90826040518060600160405280602481526020016120fc60249139610d898633611288565b91906115ca565b9050610d9d833383611383565b610da783836118e8565b6001600160a01b03808416600090815260086020526040812054610dcd921690846117ab565b505050565b600b6020526000908152604090205481565b60048054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156107c65780601f1061079b576101008083540402835291602001916107c6565b60055461010090046001600160a01b03163314610e97576040805162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b604482015290519081900360640190fd5b6001600160a01b03166000908152600760205260409020805460ff19166001179055565b60006107e4610ec861137f565b84610890856040518060600160405280602581526020016121fb6025913960016000610ef261137f565b6001600160a01b03908116825260208083019390935260409182016000908120918d168152925290205491906115ca565b60006107e4610f3061137f565b848461146f565b60055461010090046001600160a01b03163314610f89576040805162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b604482015290519081900360640190fd5b600580546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b6001600160a01b0381166000908152600a602052604081205463ffffffff1680610fdc57600061100e565b6001600160a01b038316600090815260096020908152604080832063ffffffff60001986011684529091529020600101545b9392505050565b60007f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a86661104061073a565b8051906020012061104f611a79565b60408051602080820195909552808201939093526060830191909152306080808401919091528151808403909101815260a0830182528051908401207fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf60c08401526001600160a01b038b1660e084015261010083018a90526101208084018a9052825180850390910181526101408401835280519085012061190160f01b6101608501526101628401829052610182808501829052835180860390910181526101a285018085528151918701919091206000918290526101c2860180865281905260ff8b166101e287015261020286018a90526102228601899052935192965090949293909260019261024280840193601f198301929081900390910190855afa158015611182573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166111d45760405162461bcd60e51b81526004018080602001828103825260258152602001806120af6025913960400191505060405180910390fd5b6001600160a01b0381166000908152600b6020526040902080546001810190915589146112325760405162461bcd60e51b8152600401808060200182810382526021815260200180611fa86021913960400191505060405180910390fd5b874211156112715760405162461bcd60e51b81526004018080602001828103825260258152602001806121206025913960400191505060405180910390fd5b61127b818b6119e4565b505050505b505050505050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b7fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf81565b60096020908152600092835260408084209091529082529020805460019091015463ffffffff9091169082565b60076020526000908152604090205460ff1681565b60055461010090046001600160a01b0316331461136b576040805162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b604482015290519081900360640190fd5b610dcd6001600160a01b0384168383611a7d565b3390565b6001600160a01b0383166113c85760405162461bcd60e51b81526004018080602001828103825260248152602001806121ad6024913960400191505060405180910390fd5b6001600160a01b03821661140d5760405162461bcd60e51b815260040180806020018281038252602281526020018061200e6022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b0383166114b45760405162461bcd60e51b81526004018080602001828103825260258152602001806121886025913960400191505060405180910390fd5b6001600160a01b0382166114f95760405162461bcd60e51b8152600401808060200182810382526023815260200180611fc96023913960400191505060405180910390fd5b611504838383611acf565b61154181604051806060016040528060268152602001612056602691396001600160a01b03861660009081526020819052604090205491906115ca565b6001600160a01b0380851660009081526020819052604080822093909355908416815220546115709082611661565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600081848411156116595760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561161e578181015183820152602001611606565b50505050905090810190601f16801561164b5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b60008282018381101561100e576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6001600160a01b038216611716576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b61172260008383611acf565b60025461172f9082611661565b6002556001600160a01b0382166000908152602081905260409020546117559082611661565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b816001600160a01b0316836001600160a01b0316141580156117cd5750600081115b15610dcd576001600160a01b0383161561185f576001600160a01b0383166000908152600a602052604081205463ffffffff16908161180d57600061183f565b6001600160a01b038516600090815260096020908152604080832063ffffffff60001987011684529091529020600101545b9050600061184d8285611b50565b905061185b86848484611b92565b5050505b6001600160a01b03821615610dcd576001600160a01b0382166000908152600a602052604081205463ffffffff16908161189a5760006118cc565b6001600160a01b038416600090815260096020908152604080832063ffffffff60001987011684529091529020600101545b905060006118da8285611661565b905061128085848484611b92565b6001600160a01b03821661192d5760405162461bcd60e51b81526004018080602001828103825260218152602001806121456021913960400191505060405180910390fd5b61193982600083611acf565b61197681604051806060016040528060228152602001611fec602291396001600160a01b03851660009081526020819052604090205491906115ca565b6001600160a01b03831660009081526020819052604090205560025461199c9082611b50565b6002556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b6001600160a01b0380831660009081526008602052604081205490911690611a0b84610b3d565b6001600160a01b0385811660008181526008602052604080822080546001600160a01b031916898616908117909155905194955093928616927f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f9190a4611a738284836117ab565b50505050565b4690565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610dcd908490611cf7565b611ada838383610dcd565b6001600160a01b038316610dcd57600654611afd82611af76107ee565b90611661565b1115610dcd576040805162461bcd60e51b815260206004820152601960248201527f45524332304361707065643a2063617020657863656564656400000000000000604482015290519081900360640190fd5b600061100e83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506115ca565b6000611bb64360405180606001604052806033815260200161207c60339139611da8565b905060008463ffffffff16118015611bff57506001600160a01b038516600090815260096020908152604080832063ffffffff6000198901811685529252909120548282169116145b15611c3c576001600160a01b038516600090815260096020908152604080832063ffffffff60001989011684529091529020600101829055611cad565b60408051808201825263ffffffff808416825260208083018681526001600160a01b038a166000818152600984528681208b8616825284528681209551865490861663ffffffff199182161787559251600196870155908152600a9092529390208054928801909116919092161790555b604080518481526020810184905281516001600160a01b038816927fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724928290030190a25050505050565b6060611d4c826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316611e069092919063ffffffff16565b805190915015610dcd57808060200190516020811015611d6b57600080fd5b5051610dcd5760405162461bcd60e51b815260040180806020018281038252602a8152602001806121d1602a913960400191505060405180910390fd5b6000816401000000008410611dfe5760405162461bcd60e51b815260206004820181815283516024840152835190928392604490910191908501908083836000831561161e578181015183820152602001611606565b509192915050565b6060611e158484600085611e1d565b949350505050565b6060611e2885611f8a565b611e79576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b60208310611eb85780518252601f199092019160209182019101611e99565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114611f1a576040519150601f19603f3d011682016040523d82523d6000602084013e611f1f565b606091505b50915091508115611f33579150611e159050565b805115611f435780518082602001fd5b60405162461bcd60e51b815260206004820181815286516024840152865187939192839260440191908501908083836000831561161e578181015183820152602001611606565b3b151590565b60408051808201909152600080825260208201529056fe5941583a3a64656c656761746542795369673a20696e76616c6964206e6f6e636545524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a20617070726f766520746f20746865207a65726f20616464726573735941583a3a6765745072696f72566f7465733a206e6f74207965742064657465726d696e656445524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e63655941583a3a5f7772697465436865636b706f696e743a20626c6f636b206e756d626572206578636565647320333220626974735941583a3a64656c656761746542795369673a20696e76616c6964207369676e617475726545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e20616d6f756e74206578636565647320616c6c6f77616e63655941583a3a64656c656761746542795369673a207369676e6174757265206578706972656445524332303a206275726e2066726f6d20746865207a65726f20616464726573735f6361702069732062656c6f772063757272656e7420746f74616c20737570706c7945524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f20616464726573735361666545524332303a204552433230206f7065726174696f6e20646964206e6f74207375636365656445524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa264697066735822122083182ca2151eb7c56cb50a3f45a231f5ec7ab90790a709bcc3ef7058126793da64736f6c634300060c003300000000000000000000000000000000000000000000d3c21bcecceda1000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101f05760003560e01c806370a082311161010f578063ab033ea9116100a2578063e7a324dc11610071578063e7a324dc14610684578063f1127ed81461068c578063f46eccc4146106de578063f6383b2c14610704576101f0565b8063ab033ea9146105c3578063b4b5ea57146105e9578063c3cda5201461060f578063dd62ed3e14610656576101f0565b806395d89b41116100de57806395d89b411461053d578063983b2d5614610545578063a457c2d71461056b578063a9059cbb14610597576101f0565b806370a0823114610499578063782d6fe1146104bf57806379cc6790146104eb5780637ecebe0014610517576101f0565b80633950935111610187578063587cde1e11610156578063587cde1e146103ea5780635aa6e6751461042c5780635c19a95c146104345780636fcfff451461045a576101f0565b8063395093511461035857806340c10f191461038457806342966c68146103b057806347786d37146103cd576101f0565b806323b872dd116101c357806323b872dd146102d45780633092afd51461030a578063313ce56714610332578063355274ea14610350576101f0565b806306fdde03146101f5578063095ea7b31461027257806318160ddd146102b257806320606b70146102cc575b600080fd5b6101fd61073a565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561023757818101518382015260200161021f565b50505050905090810190601f1680156102645780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61029e6004803603604081101561028857600080fd5b506001600160a01b0381351690602001356107d0565b604080519115158252519081900360200190f35b6102ba6107ee565b60408051918252519081900360200190f35b6102ba6107f4565b61029e600480360360608110156102ea57600080fd5b506001600160a01b03813581169160208101359091169060400135610818565b6103306004803603602081101561032057600080fd5b50356001600160a01b031661089f565b005b61033a610912565b6040805160ff9092168252519081900360200190f35b6102ba61091b565b61029e6004803603604081101561036e57600080fd5b506001600160a01b038135169060200135610921565b6103306004803603604081101561039a57600080fd5b506001600160a01b03813516906020013561096f565b610330600480360360208110156103c657600080fd5b5035610a19565b610330600480360360208110156103e357600080fd5b5035610a4c565b6104106004803603602081101561040057600080fd5b50356001600160a01b0316610ae9565b604080516001600160a01b039092168252519081900360200190f35b610410610b07565b6103306004803603602081101561044a57600080fd5b50356001600160a01b0316610b1b565b6104806004803603602081101561047057600080fd5b50356001600160a01b0316610b25565b6040805163ffffffff9092168252519081900360200190f35b6102ba600480360360208110156104af57600080fd5b50356001600160a01b0316610b3d565b6102ba600480360360408110156104d557600080fd5b506001600160a01b038135169060200135610b58565b6103306004803603604081101561050157600080fd5b506001600160a01b038135169060200135610d60565b6102ba6004803603602081101561052d57600080fd5b50356001600160a01b0316610dd2565b6101fd610de4565b6103306004803603602081101561055b57600080fd5b50356001600160a01b0316610e45565b61029e6004803603604081101561058157600080fd5b506001600160a01b038135169060200135610ebb565b61029e600480360360408110156105ad57600080fd5b506001600160a01b038135169060200135610f23565b610330600480360360208110156105d957600080fd5b50356001600160a01b0316610f37565b6102ba600480360360208110156105ff57600080fd5b50356001600160a01b0316610fb1565b610330600480360360c081101561062557600080fd5b506001600160a01b038135169060208101359060408101359060ff6060820135169060808101359060a00135611015565b6102ba6004803603604081101561066c57600080fd5b506001600160a01b0381358116916020013516611288565b6102ba6112b3565b6106be600480360360408110156106a257600080fd5b5080356001600160a01b0316906020013563ffffffff166112d7565b6040805163ffffffff909316835260208301919091528051918290030190f35b61029e600480360360208110156106f457600080fd5b50356001600160a01b0316611304565b6103306004803603606081101561071a57600080fd5b506001600160a01b03813581169160208101359091169060400135611319565b60038054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156107c65780601f1061079b576101008083540402835291602001916107c6565b820191906000526020600020905b8154815290600101906020018083116107a957829003601f168201915b5050505050905090565b60006107e46107dd61137f565b8484611383565b5060015b92915050565b60025490565b7f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a86681565b600061082584848461146f565b6108958461083161137f565b610890856040518060600160405280602881526020016120d4602891396001600160a01b038a1660009081526001602052604081209061086f61137f565b6001600160a01b0316815260208101919091526040016000205491906115ca565b611383565b5060019392505050565b60055461010090046001600160a01b031633146108f1576040805162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b604482015290519081900360640190fd5b6001600160a01b03166000908152600760205260409020805460ff19169055565b60055460ff1690565b60065481565b60006107e461092e61137f565b84610890856001600061093f61137f565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490611661565b60055461010090046001600160a01b031633148061099c57503360009081526007602052604090205460ff165b6109e6576040805162461bcd60e51b815260206004820152601660248201527510b3b7bb32b93730b731b29013131010b6b4b73a32b960511b604482015290519081900360640190fd5b6109f082826116bb565b6001600160a01b03808316600090815260086020526040812054610a159216836117ab565b5050565b610a2333826118e8565b33600090815260086020526040812054610a49916001600160a01b0390911690836117ab565b50565b60055461010090046001600160a01b03163314610a9e576040805162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b604482015290519081900360640190fd5b610aa66107ee565b811015610ae45760405162461bcd60e51b81526004018080602001828103825260228152602001806121666022913960400191505060405180910390fd5b600655565b6001600160a01b039081166000908152600860205260409020541690565b60055461010090046001600160a01b031681565b610a4933826119e4565b600a6020526000908152604090205463ffffffff1681565b6001600160a01b031660009081526020819052604090205490565b6000438210610b985760405162461bcd60e51b81526004018080602001828103825260268152602001806120306026913960400191505060405180910390fd5b6001600160a01b0383166000908152600a602052604090205463ffffffff1680610bc65760009150506107e8565b6001600160a01b038416600090815260096020908152604080832063ffffffff600019860181168552925290912054168310610c35576001600160a01b03841660009081526009602090815260408083206000199490940163ffffffff168352929052206001015490506107e8565b6001600160a01b038416600090815260096020908152604080832083805290915290205463ffffffff16831015610c705760009150506107e8565b600060001982015b8163ffffffff168163ffffffff161115610d2957600282820363ffffffff16048103610ca2611f90565b506001600160a01b038716600090815260096020908152604080832063ffffffff808616855290835292819020815180830190925280549093168082526001909301549181019190915290871415610d04576020015194506107e89350505050565b805163ffffffff16871115610d1b57819350610d22565b6001820392505b5050610c78565b506001600160a01b038516600090815260096020908152604080832063ffffffff9094168352929052206001015491505092915050565b6000610d90826040518060600160405280602481526020016120fc60249139610d898633611288565b91906115ca565b9050610d9d833383611383565b610da783836118e8565b6001600160a01b03808416600090815260086020526040812054610dcd921690846117ab565b505050565b600b6020526000908152604090205481565b60048054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156107c65780601f1061079b576101008083540402835291602001916107c6565b60055461010090046001600160a01b03163314610e97576040805162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b604482015290519081900360640190fd5b6001600160a01b03166000908152600760205260409020805460ff19166001179055565b60006107e4610ec861137f565b84610890856040518060600160405280602581526020016121fb6025913960016000610ef261137f565b6001600160a01b03908116825260208083019390935260409182016000908120918d168152925290205491906115ca565b60006107e4610f3061137f565b848461146f565b60055461010090046001600160a01b03163314610f89576040805162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b604482015290519081900360640190fd5b600580546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b6001600160a01b0381166000908152600a602052604081205463ffffffff1680610fdc57600061100e565b6001600160a01b038316600090815260096020908152604080832063ffffffff60001986011684529091529020600101545b9392505050565b60007f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a86661104061073a565b8051906020012061104f611a79565b60408051602080820195909552808201939093526060830191909152306080808401919091528151808403909101815260a0830182528051908401207fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf60c08401526001600160a01b038b1660e084015261010083018a90526101208084018a9052825180850390910181526101408401835280519085012061190160f01b6101608501526101628401829052610182808501829052835180860390910181526101a285018085528151918701919091206000918290526101c2860180865281905260ff8b166101e287015261020286018a90526102228601899052935192965090949293909260019261024280840193601f198301929081900390910190855afa158015611182573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166111d45760405162461bcd60e51b81526004018080602001828103825260258152602001806120af6025913960400191505060405180910390fd5b6001600160a01b0381166000908152600b6020526040902080546001810190915589146112325760405162461bcd60e51b8152600401808060200182810382526021815260200180611fa86021913960400191505060405180910390fd5b874211156112715760405162461bcd60e51b81526004018080602001828103825260258152602001806121206025913960400191505060405180910390fd5b61127b818b6119e4565b505050505b505050505050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b7fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf81565b60096020908152600092835260408084209091529082529020805460019091015463ffffffff9091169082565b60076020526000908152604090205460ff1681565b60055461010090046001600160a01b0316331461136b576040805162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b604482015290519081900360640190fd5b610dcd6001600160a01b0384168383611a7d565b3390565b6001600160a01b0383166113c85760405162461bcd60e51b81526004018080602001828103825260248152602001806121ad6024913960400191505060405180910390fd5b6001600160a01b03821661140d5760405162461bcd60e51b815260040180806020018281038252602281526020018061200e6022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b0383166114b45760405162461bcd60e51b81526004018080602001828103825260258152602001806121886025913960400191505060405180910390fd5b6001600160a01b0382166114f95760405162461bcd60e51b8152600401808060200182810382526023815260200180611fc96023913960400191505060405180910390fd5b611504838383611acf565b61154181604051806060016040528060268152602001612056602691396001600160a01b03861660009081526020819052604090205491906115ca565b6001600160a01b0380851660009081526020819052604080822093909355908416815220546115709082611661565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600081848411156116595760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561161e578181015183820152602001611606565b50505050905090810190601f16801561164b5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b60008282018381101561100e576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6001600160a01b038216611716576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b61172260008383611acf565b60025461172f9082611661565b6002556001600160a01b0382166000908152602081905260409020546117559082611661565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b816001600160a01b0316836001600160a01b0316141580156117cd5750600081115b15610dcd576001600160a01b0383161561185f576001600160a01b0383166000908152600a602052604081205463ffffffff16908161180d57600061183f565b6001600160a01b038516600090815260096020908152604080832063ffffffff60001987011684529091529020600101545b9050600061184d8285611b50565b905061185b86848484611b92565b5050505b6001600160a01b03821615610dcd576001600160a01b0382166000908152600a602052604081205463ffffffff16908161189a5760006118cc565b6001600160a01b038416600090815260096020908152604080832063ffffffff60001987011684529091529020600101545b905060006118da8285611661565b905061128085848484611b92565b6001600160a01b03821661192d5760405162461bcd60e51b81526004018080602001828103825260218152602001806121456021913960400191505060405180910390fd5b61193982600083611acf565b61197681604051806060016040528060228152602001611fec602291396001600160a01b03851660009081526020819052604090205491906115ca565b6001600160a01b03831660009081526020819052604090205560025461199c9082611b50565b6002556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b6001600160a01b0380831660009081526008602052604081205490911690611a0b84610b3d565b6001600160a01b0385811660008181526008602052604080822080546001600160a01b031916898616908117909155905194955093928616927f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f9190a4611a738284836117ab565b50505050565b4690565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610dcd908490611cf7565b611ada838383610dcd565b6001600160a01b038316610dcd57600654611afd82611af76107ee565b90611661565b1115610dcd576040805162461bcd60e51b815260206004820152601960248201527f45524332304361707065643a2063617020657863656564656400000000000000604482015290519081900360640190fd5b600061100e83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506115ca565b6000611bb64360405180606001604052806033815260200161207c60339139611da8565b905060008463ffffffff16118015611bff57506001600160a01b038516600090815260096020908152604080832063ffffffff6000198901811685529252909120548282169116145b15611c3c576001600160a01b038516600090815260096020908152604080832063ffffffff60001989011684529091529020600101829055611cad565b60408051808201825263ffffffff808416825260208083018681526001600160a01b038a166000818152600984528681208b8616825284528681209551865490861663ffffffff199182161787559251600196870155908152600a9092529390208054928801909116919092161790555b604080518481526020810184905281516001600160a01b038816927fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724928290030190a25050505050565b6060611d4c826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316611e069092919063ffffffff16565b805190915015610dcd57808060200190516020811015611d6b57600080fd5b5051610dcd5760405162461bcd60e51b815260040180806020018281038252602a8152602001806121d1602a913960400191505060405180910390fd5b6000816401000000008410611dfe5760405162461bcd60e51b815260206004820181815283516024840152835190928392604490910191908501908083836000831561161e578181015183820152602001611606565b509192915050565b6060611e158484600085611e1d565b949350505050565b6060611e2885611f8a565b611e79576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b60208310611eb85780518252601f199092019160209182019101611e99565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114611f1a576040519150601f19603f3d011682016040523d82523d6000602084013e611f1f565b606091505b50915091508115611f33579150611e159050565b805115611f435780518082602001fd5b60405162461bcd60e51b815260206004820181815286516024840152865187939192839260440191908501908083836000831561161e578181015183820152602001611606565b3b151590565b60408051808201909152600080825260208201529056fe5941583a3a64656c656761746542795369673a20696e76616c6964206e6f6e636545524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a20617070726f766520746f20746865207a65726f20616464726573735941583a3a6765745072696f72566f7465733a206e6f74207965742064657465726d696e656445524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e63655941583a3a5f7772697465436865636b706f696e743a20626c6f636b206e756d626572206578636565647320333220626974735941583a3a64656c656761746542795369673a20696e76616c6964207369676e617475726545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e20616d6f756e74206578636565647320616c6c6f77616e63655941583a3a64656c656761746542795369673a207369676e6174757265206578706972656445524332303a206275726e2066726f6d20746865207a65726f20616464726573735f6361702069732062656c6f772063757272656e7420746f74616c20737570706c7945524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f20616464726573735361666545524332303a204552433230206f7065726174696f6e20646964206e6f74207375636365656445524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa264697066735822122083182ca2151eb7c56cb50a3f45a231f5ec7ab90790a709bcc3ef7058126793da64736f6c634300060c0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000d3c21bcecceda1000000
-----Decoded View---------------
Arg [0] : _cap (uint256): 1000000000000000000000000
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000d3c21bcecceda1000000
Deployed Bytecode Sourcemap
29888:11376:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17304:83;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19410:169;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;19410:169:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;18379:100;;;:::i;:::-;;;;;;;;;;;;;;;;33696:122;;;:::i;20053:321::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;20053:321:0;;;;;;;;;;;;;;;;;:::i;31315:148::-;;;;;;;;;;;;;;;;-1:-1:-1;31315:148:0;-1:-1:-1;;;;;31315:148:0;;:::i;:::-;;18231:83;;;:::i;:::-;;;;;;;;;;;;;;;;;;;30024:18;;;:::i;20783:218::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;20783:218:0;;;;;;;;:::i;30224:245::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;30224:245:0;;;;;;;;:::i;30477:153::-;;;;;;;;;;;;;;;;-1:-1:-1;30477:153:0;;:::i;31471:204::-;;;;;;;;;;;;;;;;-1:-1:-1;31471:204:0;;:::i;34673:149::-;;;;;;;;;;;;;;;;-1:-1:-1;34673:149:0;-1:-1:-1;;;;;34673:149:0;;:::i;:::-;;;;-1:-1:-1;;;;;34673:149:0;;;;;;;;;;;;;;29992:25;;;:::i;34970:104::-;;;;;;;;;;;;;;;;-1:-1:-1;34970:104:0;-1:-1:-1;;;;;34970:104:0;;:::i;33575:48::-;;;;;;;;;;;;;;;;-1:-1:-1;33575:48:0;-1:-1:-1;;;;;33575:48:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;18542:119;;;;;;;;;;;;;;;;-1:-1:-1;18542:119:0;-1:-1:-1;;;;;18542:119:0;;:::i;37568:1252::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;37568:1252:0;;;;;;;;:::i;30638:356::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;30638:356:0;;;;;;;;:::i;34107:38::-;;;;;;;;;;;;;;;;-1:-1:-1;34107:38:0;-1:-1:-1;;;;;34107:38:0;;:::i;17506:87::-;;;:::i;31163:144::-;;;;;;;;;;;;;;;;-1:-1:-1;31163:144:0;-1:-1:-1;;;;;31163:144:0;;:::i;21504:269::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;21504:269:0;;;;;;;;:::i;18874:175::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;18874:175:0;;;;;;;;:::i;31002:153::-;;;;;;;;;;;;;;;;-1:-1:-1;31002:153:0;-1:-1:-1;;;;;31002:153:0;;:::i;36882:255::-;;;;;;;;;;;;;;;;-1:-1:-1;36882:255:0;-1:-1:-1;;;;;36882:255:0;;:::i;35508:1173::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;35508:1173:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;19112:151::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;19112:151:0;;;;;;;;;;:::i;33912:117::-;;;:::i;33438:68::-;;;;;;;;;;;;;;;;-1:-1:-1;33438:68:0;;-1:-1:-1;;;;;33438:68:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;30049:39;;;;;;;;;;;;;;;;-1:-1:-1;30049:39:0;-1:-1:-1;;;;;30049:39:0;;:::i;31979:203::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;31979:203:0;;;;;;;;;;;;;;;;;:::i;17304:83::-;17374:5;17367:12;;;;;;;;-1:-1:-1;;17367:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17341:13;;17367:12;;17374:5;;17367:12;;17374:5;17367:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17304:83;:::o;19410:169::-;19493:4;19510:39;19519:12;:10;:12::i;:::-;19533:7;19542:6;19510:8;:39::i;:::-;-1:-1:-1;19567:4:0;19410:169;;;;;:::o;18379:100::-;18459:12;;18379:100;:::o;33696:122::-;33738:80;33696:122;:::o;20053:321::-;20159:4;20176:36;20186:6;20194:9;20205:6;20176:9;:36::i;:::-;20223:121;20232:6;20240:12;:10;:12::i;:::-;20254:89;20292:6;20254:89;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;20254:19:0;;;;;;:11;:19;;;;;;20274:12;:10;:12::i;:::-;-1:-1:-1;;;;;20254:33:0;;;;;;;;;;;;-1:-1:-1;20254:33:0;;;:89;:37;:89::i;:::-;20223:8;:121::i;:::-;-1:-1:-1;20362:4:0;20053:321;;;;;:::o;31315:148::-;31394:10;;;;;-1:-1:-1;;;;;31394:10:0;31380;:24;31372:48;;;;;-1:-1:-1;;;31372:48:0;;;;;;;;;;;;-1:-1:-1;;;31372:48:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;31431:16:0;31450:5;31431:16;;;:7;:16;;;;;:24;;-1:-1:-1;;31431:24:0;;;31315:148::o;18231:83::-;18297:9;;;;18231:83;:::o;30024:18::-;;;;:::o;20783:218::-;20871:4;20888:83;20897:12;:10;:12::i;:::-;20911:7;20920:50;20959:10;20920:11;:25;20932:12;:10;:12::i;:::-;-1:-1:-1;;;;;20920:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;20920:25:0;;;:34;;;;;;;;;;;:38;:50::i;30224:245::-;30308:10;;;;;-1:-1:-1;;;;;30308:10:0;30294;:24;;:47;;-1:-1:-1;30330:10:0;30322:19;;;;:7;:19;;;;;;;;30294:47;30286:82;;;;;-1:-1:-1;;;30286:82:0;;;;;;;;;;;;-1:-1:-1;;;30286:82:0;;;;;;;;;;;;;;;30379:19;30385:3;30390:7;30379:5;:19::i;:::-;-1:-1:-1;;;;;30436:15:0;;;30432:1;30436:15;;;:10;:15;;;;;;30409:52;;30436:15;30453:7;30409:14;:52::i;:::-;30224:245;;:::o;30477:153::-;30526:26;30532:10;30544:7;30526:5;:26::i;:::-;30589:10;30578:22;;;;:10;:22;;;;;;30563:59;;-1:-1:-1;;;;;30578:22:0;;;;30614:7;30563:14;:59::i;:::-;30477:153;:::o;31471:204::-;31541:10;;;;;-1:-1:-1;;;;;31541:10:0;31527;:24;31519:48;;;;;-1:-1:-1;;;31519:48:0;;;;;;;;;;;;-1:-1:-1;;;31519:48:0;;;;;;;;;;;;;;;31594:13;:11;:13::i;:::-;31586:4;:21;;31578:68;;;;-1:-1:-1;;;31578:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31657:3;:10;31471:204::o;34673:149::-;-1:-1:-1;;;;;34793:21:0;;;34761:7;34793:21;;;:10;:21;;;;;;;;34673:149::o;29992:25::-;;;;;;-1:-1:-1;;;;;29992:25:0;;:::o;34970:104::-;35034:32;35044:10;35056:9;35034;:32::i;33575:48::-;;;;;;;;;;;;;;;:::o;18542:119::-;-1:-1:-1;;;;;18635:18:0;18608:7;18635:18;;;;;;;;;;;;18542:119::o;37568:1252::-;37676:7;37723:12;37709:11;:26;37701:77;;;;-1:-1:-1;;;37701:77:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;37813:23:0;;37791:19;37813:23;;;:14;:23;;;;;;;;37851:17;37847:58;;37892:1;37885:8;;;;;37847:58;-1:-1:-1;;;;;37965:20:0;;;;;;:11;:20;;;;;;;;:38;-1:-1:-1;;37986:16:0;;37965:38;;;;;;;;;:48;;:63;-1:-1:-1;37961:147:0;;-1:-1:-1;;;;;38052:20:0;;;;;;:11;:20;;;;;;;;-1:-1:-1;;38073:16:0;;;;38052:38;;;;;;;;38088:1;38052:44;;;-1:-1:-1;38045:51:0;;37961:147;-1:-1:-1;;;;;38169:20:0;;;;;;:11;:20;;;;;;;;:23;;;;;;;;:33;:23;:33;:47;-1:-1:-1;38165:88:0;;;38240:1;38233:8;;;;;38165:88;38265:12;-1:-1:-1;;38307:16:0;;38334:428;38349:5;38341:13;;:5;:13;;;38334:428;;;38413:1;38396:13;;;38395:19;;;38387:27;;38456:20;;:::i;:::-;-1:-1:-1;;;;;;38479:20:0;;;;;;:11;:20;;;;;;;;:28;;;;;;;;;;;;;38456:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38526:27;;38522:229;;;38581:8;;;;-1:-1:-1;38574:15:0;;-1:-1:-1;;;;38574:15:0;38522:229;38615:12;;:26;;;-1:-1:-1;38611:140:0;;;38670:6;38662:14;;38611:140;;;38734:1;38725:6;:10;38717:18;;38611:140;38334:428;;;;;-1:-1:-1;;;;;;38779:20:0;;;;;;:11;:20;;;;;;;;:27;;;;;;;;;;:33;;;;-1:-1:-1;;37568:1252:0;;;;:::o;30638:356::-;30709:26;30738:84;30774:7;30738:84;;;;;;;;;;;;;;;;;:31;30748:8;30758:10;30738:9;:31::i;:::-;:35;:84;:35;:84::i;:::-;30709:113;;30833:50;30842:8;30852:10;30864:18;30833:8;:50::i;:::-;30894:24;30900:8;30910:7;30894:5;:24::i;:::-;-1:-1:-1;;;;;30944:20:0;;;;;;;:10;:20;;;;;;30929:57;;30944:20;;30978:7;30929:14;:57::i;:::-;30638:356;;;:::o;34107:38::-;;;;;;;;;;;;;:::o;17506:87::-;17578:7;17571:14;;;;;;;;-1:-1:-1;;17571:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17545:13;;17571:14;;17578:7;;17571:14;;17578:7;17571:14;;;;;;;;;;;;;;;;;;;;;;;;31163:144;31239:10;;;;;-1:-1:-1;;;;;31239:10:0;31225;:24;31217:48;;;;;-1:-1:-1;;;31217:48:0;;;;;;;;;;;;-1:-1:-1;;;31217:48:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;31276:16:0;;;;;:7;:16;;;;;:23;;-1:-1:-1;;31276:23:0;31295:4;31276:23;;;31163:144::o;21504:269::-;21597:4;21614:129;21623:12;:10;:12::i;:::-;21637:7;21646:96;21685:15;21646:96;;;;;;;;;;;;;;;;;:11;:25;21658:12;:10;:12::i;:::-;-1:-1:-1;;;;;21646:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;21646:25:0;;;:34;;;;;;;;;;;:96;:38;:96::i;18874:175::-;18960:4;18977:42;18987:12;:10;:12::i;:::-;19001:9;19012:6;18977:9;:42::i;31002:153::-;31086:10;;;;;-1:-1:-1;;;;;31086:10:0;31072;:24;31064:48;;;;;-1:-1:-1;;;31064:48:0;;;;;;;;;;;;-1:-1:-1;;;31064:48:0;;;;;;;;;;;;;;;31123:10;:24;;-1:-1:-1;;;;;31123:24:0;;;;;-1:-1:-1;;;;;;31123:24:0;;;;;;;;;31002:153::o;36882:255::-;-1:-1:-1;;;;;37021:23:0;;36974:7;37021:23;;;:14;:23;;;;;;;;37062:16;:67;;37128:1;37062:67;;;-1:-1:-1;;;;;37081:20:0;;;;;;:11;:20;;;;;;;;:38;-1:-1:-1;;37102:16:0;;37081:38;;;;;;;;37117:1;37081:44;;37062:67;37055:74;36882:255;-1:-1:-1;;;36882:255:0:o;35508:1173::-;35701:23;33738:80;35830:6;:4;:6::i;:::-;35814:24;;;;;;35857:12;:10;:12::i;:::-;35751:165;;;;;;;;;;;;;;;;;;;;;;;;;35896:4;35751:165;;;;;;;;;;;;;;;;;;;;;;;35727:200;;;;;;33958:71;35985:140;;;;-1:-1:-1;;;;;35985:140:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35961:175;;;;;;-1:-1:-1;;;36190:123:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36166:158;;;;;;;;;-1:-1:-1;36355:26:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35727:200;;-1:-1:-1;35961:175:0;;36166:158;;-1:-1:-1;;36355:26:0;;;;;;;-1:-1:-1;;36355:26:0;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;36355:26:0;;-1:-1:-1;;36355:26:0;;;-1:-1:-1;;;;;;;36400:23:0;;36392:73;;;;-1:-1:-1;;;36392:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;36493:17:0;;;;;;:6;:17;;;;;:19;;;;;;;;36484:28;;36476:74;;;;-1:-1:-1;;;36476:74:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36576:6;36569:3;:13;;36561:63;;;;-1:-1:-1;;;36561:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36642:31;36652:9;36663;36642;:31::i;:::-;36635:38;;;;35508:1173;;;;;;;:::o;19112:151::-;-1:-1:-1;;;;;19228:18:0;;;19201:7;19228:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;19112:151::o;33912:117::-;33958:71;33912:117;:::o;33438:68::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;30049:39::-;;;;;;;;;;;;;;;:::o;31979:203::-;32104:10;;;;;-1:-1:-1;;;;;32104:10:0;32090;:24;32082:48;;;;;-1:-1:-1;;;32082:48:0;;;;;;;;;;;;-1:-1:-1;;;32082:48:0;;;;;;;;;;;;;;;32141:33;-1:-1:-1;;;;;32141:19:0;;32161:3;32166:7;32141:19;:33::i;657:106::-;745:10;657:106;:::o;24649:346::-;-1:-1:-1;;;;;24751:19:0;;24743:68;;;;-1:-1:-1;;;24743:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;24830:21:0;;24822:68;;;;-1:-1:-1;;;24822:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;24903:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;24955:32;;;;;;;;;;;;;;;;;24649:346;;;:::o;22263:539::-;-1:-1:-1;;;;;22369:20:0;;22361:70;;;;-1:-1:-1;;;22361:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;22450:23:0;;22442:71;;;;-1:-1:-1;;;22442:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22526:47;22547:6;22555:9;22566:6;22526:20;:47::i;:::-;22606:71;22628:6;22606:71;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;22606:17:0;;:9;:17;;;;;;;;;;;;:71;:21;:71::i;:::-;-1:-1:-1;;;;;22586:17:0;;;:9;:17;;;;;;;;;;;:91;;;;22711:20;;;;;;;:32;;22736:6;22711:24;:32::i;:::-;-1:-1:-1;;;;;22688:20:0;;;:9;:20;;;;;;;;;;;;:55;;;;22759:35;;;;;;;22688:20;;22759:35;;;;;;;;;;;;;22263:539;;;:::o;5580:192::-;5666:7;5702:12;5694:6;;;;5686:29;;;;-1:-1:-1;;;5686:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;5738:5:0;;;5580:192::o;4677:181::-;4735:7;4767:5;;;4791:6;;;;4783:46;;;;;-1:-1:-1;;;4783:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;23083:378;-1:-1:-1;;;;;23167:21:0;;23159:65;;;;;-1:-1:-1;;;23159:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;23237:49;23266:1;23270:7;23279:6;23237:20;:49::i;:::-;23314:12;;:24;;23331:6;23314:16;:24::i;:::-;23299:12;:39;-1:-1:-1;;;;;23370:18:0;;:9;:18;;;;;;;;;;;:30;;23393:6;23370:22;:30::i;:::-;-1:-1:-1;;;;;23349:18:0;;:9;:18;;;;;;;;;;;:51;;;;23416:37;;;;;;;23349:18;;:9;;23416:37;;;;;;;;;;23083:378;;:::o;39273:947::-;39379:6;-1:-1:-1;;;;;39369:16:0;:6;-1:-1:-1;;;;;39369:16:0;;;:30;;;;;39398:1;39389:6;:10;39369:30;39365:848;;;-1:-1:-1;;;;;39420:20:0;;;39416:385;;-1:-1:-1;;;;;39528:22:0;;39509:16;39528:22;;;:14;:22;;;;;;;;;39589:13;:60;;39648:1;39589:60;;;-1:-1:-1;;;;;39605:19:0;;;;;;:11;:19;;;;;;;;:34;-1:-1:-1;;39625:13:0;;39605:34;;;;;;;;39637:1;39605:40;;39589:60;39569:80;-1:-1:-1;39668:17:0;39688:21;39569:80;39702:6;39688:13;:21::i;:::-;39668:41;;39728:57;39745:6;39753:9;39764;39775;39728:16;:57::i;:::-;39416:385;;;;-1:-1:-1;;;;;39821:20:0;;;39817:385;;-1:-1:-1;;;;;39929:22:0;;39910:16;39929:22;;;:14;:22;;;;;;;;;39990:13;:60;;40049:1;39990:60;;;-1:-1:-1;;;;;40006:19:0;;;;;;:11;:19;;;;;;;;:34;-1:-1:-1;;40026:13:0;;40006:34;;;;;;;;40038:1;40006:40;;39990:60;39970:80;-1:-1:-1;40069:17:0;40089:21;39970:80;40103:6;40089:13;:21::i;:::-;40069:41;;40129:57;40146:6;40154:9;40165;40176;40129:16;:57::i;23793:418::-;-1:-1:-1;;;;;23877:21:0;;23869:67;;;;-1:-1:-1;;;23869:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23949:49;23970:7;23987:1;23991:6;23949:20;:49::i;:::-;24032:68;24055:6;24032:68;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;24032:18:0;;:9;:18;;;;;;;;;;;;:68;:22;:68::i;:::-;-1:-1:-1;;;;;24011:18:0;;:9;:18;;;;;;;;;;:89;24126:12;;:24;;24143:6;24126:16;:24::i;:::-;24111:12;:39;24166:37;;;;;;;;24192:1;;-1:-1:-1;;;;;24166:37:0;;;;;;;;;;;;23793:418;;:::o;38828:437::-;-1:-1:-1;;;;;38945:21:0;;;38919:23;38945:21;;;:10;:21;;;;;;;;;;39004:20;38956:9;39004;:20::i;:::-;-1:-1:-1;;;;;39079:21:0;;;;;;;:10;:21;;;;;;:33;;-1:-1:-1;;;;;;39079:33:0;;;;;;;;;;39130:54;;38977:47;;-1:-1:-1;39079:33:0;39130:54;;;;;;39079:21;39130:54;39197:60;39212:15;39229:9;39240:16;39197:14;:60::i;:::-;38828:437;;;;:::o;41110:151::-;41219:9;41110:151;:::o;26740:177::-;26850:58;;;-1:-1:-1;;;;;26850:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;26850:58:0;-1:-1:-1;;;26850:58:0;;;26823:86;;26843:5;;26823:19;:86::i;32369:316::-;32478:44;32505:4;32511:2;32515:6;32478:26;:44::i;:::-;-1:-1:-1;;;;;32539:18:0;;32535:143;;32633:3;;32604:25;32622:6;32604:13;:11;:13::i;:::-;:17;;:25::i;:::-;:32;;32596:70;;;;;-1:-1:-1;;;32596:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;5141:136;5199:7;5226:43;5230:1;5233;5226:43;;;;;;;;;;;;;;;;;:3;:43::i;40228:703::-;40407:18;40428:75;40435:12;40428:75;;;;;;;;;;;;;;;;;:6;:75::i;:::-;40407:96;;40535:1;40520:12;:16;;;:85;;;;-1:-1:-1;;;;;;40540:22:0;;;;;;:11;:22;;;;;;;;:65;-1:-1:-1;;40563:16:0;;40540:40;;;;;;;;;:50;:65;;;:50;;:65;40520:85;40516:339;;;-1:-1:-1;;;;;40622:22:0;;;;;;:11;:22;;;;;;;;:40;-1:-1:-1;;40645:16:0;;40622:40;;;;;;;;40660:1;40622:46;:57;;;40516:339;;;40751:33;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;40712:22:0;;-1:-1:-1;40712:22:0;;;:11;:22;;;;;:36;;;;;;;;;;:72;;;;;;;-1:-1:-1;;40712:72:0;;;;;;;;;;;;;40799:25;;;:14;:25;;;;;;:44;;40827:16;;;40799:44;;;;;;;;;;40516:339;40872:51;;;;;;;;;;;;;;-1:-1:-1;;;;;40872:51:0;;;;;;;;;;;40228:703;;;;;:::o;29045:761::-;29469:23;29495:69;29523:4;29495:69;;;;;;;;;;;;;;;;;29503:5;-1:-1:-1;;;;;29495:27:0;;;:69;;;;;:::i;:::-;29579:17;;29469:95;;-1:-1:-1;29579:21:0;29575:224;;29721:10;29710:30;;;;;;;;;;;;;;;-1:-1:-1;29710:30:0;29702:85;;;;-1:-1:-1;;;29702:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40939:163;41014:6;41054:12;41045:7;41041:11;;41033:34;;;;-1:-1:-1;;;41033:34:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;41092:1:0;;40939:163;-1:-1:-1;;40939:163:0:o;12790:196::-;12893:12;12925:53;12948:6;12956:4;12962:1;12965:12;12925:22;:53::i;:::-;12918:60;12790:196;-1:-1:-1;;;;12790:196:0:o;14167:979::-;14297:12;14330:18;14341:6;14330:10;:18::i;:::-;14322:60;;;;;-1:-1:-1;;;14322:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;14456:12;14470:23;14497:6;-1:-1:-1;;;;;14497:11:0;14517:8;14528:4;14497:36;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;14497:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14455:78;;;;14548:7;14544:595;;;14579:10;-1:-1:-1;14572:17:0;;-1:-1:-1;14572:17:0;14544:595;14693:17;;:21;14689:439;;14956:10;14950:17;15017:15;15004:10;15000:2;14996:19;14989:44;14904:148;15092:20;;-1:-1:-1;;;15092:20:0;;;;;;;;;;;;;;;;;15099:12;;15092:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9872:422;10239:20;10278:8;;;9872:422::o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;:::o
Swarm Source
ipfs://83182ca2151eb7c56cb50a3f45a231f5ec7ab90790a709bcc3ef7058126793da
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.