Feature Tip: Add private address tag to any address under My Name Tag !
Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
DfDepositToken
Compiler Version
v0.5.17+commit.d19bba13
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2020-08-07 */ pragma solidity ^0.5.16; /** * @title Initializable * * @dev Helper contract to support initializer functions. To use it, replace * the constructor with a function that has the `initializer` modifier. * WARNING: Unlike constructors, initializer functions must be manually * invoked. This applies both to deploying an Initializable contract, as well * as extending an Initializable contract via inheritance. * WARNING: When used with inheritance, manual care must be taken to not invoke * a parent initializer twice, or ensure that all initializers are idempotent, * because this is not dealt with automatically as with constructors. */ contract Initializable { /** * @dev Indicates that the contract has been initialized. */ bool private initialized; /** * @dev Indicates that the contract is in the process of being initialized. */ bool private initializing; /** * @dev Modifier to use in the initializer function of a contract. */ modifier initializer() { require(initializing || isConstructor() || !initialized, "Contract instance has already been initialized"); bool isTopLevelCall = !initializing; if (isTopLevelCall) { initializing = true; initialized = true; } _; if (isTopLevelCall) { initializing = false; } } /// @dev Returns true if and only if the function is running in the constructor function isConstructor() private view returns (bool) { // extcodesize checks the size of the code stored in an address, and // address returns the current address. Since the code is still not // deployed when running a constructor, any checks on its code size will // yield zero, making it an effective way to detect if a contract is // under construction or not. address self = address(this); uint256 cs; assembly { cs := extcodesize(self) } return cs == 0; } // Reserved storage space to allow for layout changes in the future. uint256[50] private ______gap; } /** * @dev Interface of the ERC20 standard as defined in the EIP. Does not include * the optional functions; to access them see {ERC20Detailed}. */ 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); } /** * @dev Optional functions from the ERC20 standard. */ contract ERC20Detailed is Initializable, IERC20 { string private _name; string private _symbol; uint8 private _decimals; /** * @dev Sets the values for `name`, `symbol`, and `decimals`. All three of * these values are immutable: they can only be set once during * construction. */ function initialize(string memory name, string memory symbol, uint8 decimals) public initializer { _name = name; _symbol = symbol; _decimals = decimals; } /** * @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. * * 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; } uint256[50] private ______gap; } /** * @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. * * _Available since v2.4.0._ */ 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. * * _Available since v2.4.0._ */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { // Solidity only automatically asserts when dividing by 0 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. * * _Available since v2.4.0._ */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } } /** * @dev Standard math utilities missing in the Solidity language. */ library Math { /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a >= b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow, so we distribute return (a / 2) + (b / 2) + ((a % 2 + b % 2) / 2); } } /** * @dev Collection of functions related to array types. */ library Arrays { /** * @dev Searches a sorted `array` and returns the first index that contains * a value greater or equal to `element`. If no such index exists (i.e. all * values in the array are strictly less than `element`), the array length is * returned. Time complexity O(log n). * * `array` is expected to be sorted in ascending order, and to contain no * repeated elements. */ function findUpperBound(uint256[] storage array, uint256 element) internal view returns (uint256) { if (array.length == 0) { return 0; } uint256 low = 0; uint256 high = array.length; while (low < high) { uint256 mid = Math.average(low, high); // Note that mid will always be strictly less than high (i.e. it will be a valid array index) // because Math.average rounds down (it does integer division with truncation). if (array[mid] > element) { high = mid; } else { low = mid + 1; } } // At this point `low` is the exclusive upper bound. We will return the inclusive upper bound. if (low > 0 && array[low - 1] == element) { return low - 1; } else { return low; } } } /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented or decremented by one. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` * Since it is not possible to overflow a 256 bit integer with increments of one, `increment` can skip the {SafeMath} * overflow check, thereby saving gas. This does assume however correct usage, in that the underlying `_value` is never * directly accessed. */ library Counters { using SafeMath for uint256; struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { // The {SafeMath} overflow check can be skipped here, see the comment at the top counter._value += 1; } function decrement(Counter storage counter) internal { counter._value = counter._value.sub(1); } } /** * @dev Implementation of the {IERC20} interface. */ contract ERC20 is Initializable, IERC20 { using SafeMath for uint256; mapping (address => uint256) internal _balances; mapping (address => mapping (address => uint256)) internal _allowances; uint256 internal _totalSupply; /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view 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 returns (bool) { _transfer(msg.sender, recipient, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public returns (bool) { _approve(msg.sender, 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 returns (bool) { _transfer(sender, recipient, amount); _approve(sender, msg.sender, _allowances[sender][msg.sender].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 returns (bool) { _approve(msg.sender, spender, _allowances[msg.sender][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 returns (bool) { _approve(msg.sender, spender, _allowances[msg.sender][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 { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _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 { require(account != address(0), "ERC20: mint to the zero address"); _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 { require(account != address(0), "ERC20: burn from the zero address"); _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 is 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 { 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 Destroys `amount` tokens from `account`.`amount` is then deducted * from the caller's allowance. * * See {_burn} and {_approve}. */ function _burnFrom(address account, uint256 amount) internal { _burn(account, amount); _approve(account, msg.sender, _allowances[account][msg.sender].sub(amount, "ERC20: burn amount exceeds allowance")); } uint256[50] private ______gap; } /** * @dev This contract extends an ERC20 token with a snapshot mechanism. When a snapshot is created, the balances and * total supply at the time are recorded for later access. * * This can be used to safely create mechanisms based on token balances such as trustless dividends or weighted voting. * In naive implementations it's possible to perform a "double spend" attack by reusing the same balance from different * accounts. By using snapshots to calculate dividends or voting power, those attacks no longer apply. It can also be * used to create an efficient ERC20 forking mechanism. * * Snapshots are created by the internal {_snapshot} function, which will emit the {Snapshot} event and return a * snapshot id. To get the total supply at the time of a snapshot, call the function {totalSupplyAt} with the snapshot * id. To get the balance of an account at the time of a snapshot, call the {balanceOfAt} function with the snapshot id * and the account address. * * ==== Gas Costs * * Snapshots are efficient. Snapshot creation is _O(1)_. Retrieval of balances or total supply from a snapshot is _O(log * n)_ in the number of snapshots that have been created, although _n_ for a specific account will generally be much * smaller since identical balances in subsequent snapshots are stored as a single entry. * * There is a constant overhead for normal ERC20 transfers due to the additional snapshot bookkeeping. This overhead is * only significant for the first transfer that immediately follows a snapshot for a particular account. Subsequent * transfers will have normal cost until the next snapshot, and so on. */ contract ERC20Snapshot is Initializable, ERC20 { using SafeMath for uint256; using Arrays for uint256[]; using Counters for Counters.Counter; // Snapshotted values have arrays of ids and the value corresponding to that id. These could be an array of a // Snapshot struct, but that would impede usage of functions that work on an array. struct Snapshots { uint256[] ids; uint256[] values; } mapping (address => Snapshots) private _accountBalanceSnapshots; Snapshots private _totalSupplySnapshots; // Snapshot ids increase monotonically, with the first value being 1. An id of 0 is invalid. Counters.Counter private _currentSnapshotId; /** * @dev Emitted by {_snapshot} when a snapshot identified by `id` is created. */ event Snapshot(uint256 id); /** * @dev Creates a new snapshot and returns its snapshot id. * * Emits a {Snapshot} event that contains the same id. * * {_snapshot} is `internal` and you have to decide how to expose it externally. Its usage may be restricted to a * set of accounts, for example using {AccessControl}, or it may be open to the public. * * [WARNING] * ==== * While an open way of calling {_snapshot} is required for certain trust minimization mechanisms such as forking, * you must consider that it can potentially be used by attackers in two ways. * * First, it can be used to increase the cost of retrieval of values from snapshots, although it will grow * logarithmically thus rendering this attack ineffective in the long term. Second, it can be used to target * specific accounts and increase the cost of ERC20 transfers for them, in the ways specified in the Gas Costs * section above. * * We haven't measured the actual numbers; if this is something you're interested in please reach out to us. * ==== */ function _snapshot() internal returns (uint256) { _currentSnapshotId.increment(); uint256 currentId = _currentSnapshotId.current(); emit Snapshot(currentId); return currentId; } /** * @dev Retrieves the balance of `account` at the time `snapshotId` was created. */ function balanceOfAt(address account, uint256 snapshotId) public view returns (uint256) { (bool snapshotted, uint256 value) = _valueAt(snapshotId, _accountBalanceSnapshots[account]); return snapshotted ? value : balanceOf(account); } /** * @dev Retrieves the total supply at the time `snapshotId` was created. */ function totalSupplyAt(uint256 snapshotId) public view returns(uint256) { (bool snapshotted, uint256 value) = _valueAt(snapshotId, _totalSupplySnapshots); return snapshotted ? value : totalSupply(); } // _transfer, _mint and _burn are the only functions where the balances are modified, so it is there that the // snapshots are updated. Note that the update happens _before_ the balance change, with the pre-modified value. // The same is true for the total supply and _mint and _burn. function _transfer(address from, address to, uint256 value) internal { _updateAccountSnapshot(from); _updateAccountSnapshot(to); super._transfer(from, to, value); } function _mint(address account, uint256 value) internal { _updateAccountSnapshot(account); _updateTotalSupplySnapshot(); super._mint(account, value); } function _burn(address account, uint256 value) internal { _updateAccountSnapshot(account); _updateTotalSupplySnapshot(); super._burn(account, value); } function _valueAt(uint256 snapshotId, Snapshots storage snapshots) private view returns (bool, uint256) { require(snapshotId > 0, "ERC20Snapshot: id is 0"); // solhint-disable-next-line max-line-length require(snapshotId <= _currentSnapshotId.current(), "ERC20Snapshot: nonexistent id"); // When a valid snapshot is queried, there are three possibilities: // a) The queried value was not modified after the snapshot was taken. Therefore, a snapshot entry was never // created for this id, and all stored snapshot ids are smaller than the requested one. The value that corresponds // to this id is the current one. // b) The queried value was modified after the snapshot was taken. Therefore, there will be an entry with the // requested id, and its value is the one to return. // c) More snapshots were created after the requested one, and the queried value was later modified. There will be // no entry for the requested id: the value that corresponds to it is that of the smallest snapshot id that is // larger than the requested one. // // In summary, we need to find an element in an array, returning the index of the smallest value that is larger if // it is not found, unless said value doesn't exist (e.g. when all values are smaller). Arrays.findUpperBound does // exactly this. uint256 index = snapshots.ids.findUpperBound(snapshotId); if (index == snapshots.ids.length) { return (false, 0); } else { return (true, snapshots.values[index]); } } function _updateAccountSnapshot(address account) private { _updateSnapshot(_accountBalanceSnapshots[account], balanceOf(account)); } function _updateTotalSupplySnapshot() private { _updateSnapshot(_totalSupplySnapshots, totalSupply()); } function _updateSnapshot(Snapshots storage snapshots, uint256 currentValue) private { uint256 currentId = _currentSnapshotId.current(); if (_lastSnapshotId(snapshots.ids) < currentId) { snapshots.ids.push(currentId); snapshots.values.push(currentValue); } } function _lastSnapshotId(uint256[] storage ids) private view returns (uint256) { if (ids.length == 0) { return 0; } else { return ids[ids.length - 1]; } } } // ECDSA operations for signature /** * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations. * * These functions can be used to verify that a message was signed by the holder * of the private keys of a given address. */ library ECDSA { /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature`. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * NOTE: This call _does not revert_ if the signature is invalid, or * if the signer is otherwise unable to be retrieved. In those scenarios, * the zero address is returned. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. */ function recover(bytes32 hash, bytes memory signature) internal pure returns (address) { // Check the signature length if (signature.length != 65) { return (address(0)); } // Divide the signature in r, s and v variables bytes32 r; bytes32 s; uint8 v; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. // solhint-disable-next-line no-inline-assembly assembly { r := mload(add(signature, 0x20)) s := mload(add(signature, 0x40)) v := byte(0, mload(add(signature, 0x60))) } // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines // the valid range for s in (281): 0 < s < secp256k1n ÷ 2 + 1, and for v in (282): v ∈ {27, 28}. Most // signatures from current libraries generate a unique signature with an s-value in the lower half order. // // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept // these malleable signatures as well. if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) { return address(0); } if (v != 27 && v != 28) { return address(0); } // If the signature is valid (and not malleable), return the signer address return ecrecover(hash, v, r, s); } /** * @dev Returns an Ethereum Signed Message, created from a `hash`. This * replicates the behavior of the * https://github.com/ethereum/wiki/wiki/JSON-RPC#eth_sign[`eth_sign`] * JSON-RPC method. * * See {recover}. */ function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) { // 32 is the length in bytes of hash, // enforced by the type signature above return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash)); } } contract ERC20Delegatable is Initializable, ERC20 { using ECDSA for bytes32; struct DelegateBalance { uint128 delegatedBalance; // number of delegated tokens uint128 receivedBalance; // number of received tokens mapping(address => uint128) receivedFromBalances; // [tokenOwner] => amount } // ** PUBLIC VARIABLES ** // A record of accounts delegate – ([tokenReceiver] => DelegateBalance) mapping(address => DelegateBalance) public delegates; // ** EVENTS ** event Delegated(address indexed owner, address indexed recipient, uint256 amount); event Undelegated(address indexed owner, address indexed recipient, uint256 amount); // ** MODIFIERS ** modifier checkDelegates(address _tokenSpender, uint _amountToSpend) { uint balance = balanceOf(_tokenSpender); uint receivedBalance = delegates[_tokenSpender].receivedBalance; require(balance.sub(receivedBalance) >= _amountToSpend, "not enough undelgated tokens"); _; } modifier onlyVerified( address delegator, address recipient, uint256 amount, uint256 maxAllowedTimestamp, bytes memory _signature // signature is v, r, s for ECDSA ) { require(now < maxAllowedTimestamp, "sign is expired"); bytes32 hash = keccak256(abi.encodePacked( address(this), recipient, amount, maxAllowedTimestamp )); require(delegator == hash.recover(_signature), "This action is not verified"); _; } // ** PUBLIC view function ** function balanceOfWithDelegated(address account) public view returns (uint256) { return balanceOf(account).add(delegates[account].delegatedBalance); } function balanceOfWithoutReceived(address account) public view returns (uint256) { return balanceOf(account).sub(delegates[account].receivedBalance); } // ** PUBLIC function ** function delgate(address recipient, uint256 amount) public returns(bool) { _delegate(msg.sender, recipient, amount); return true; } function undelgate(address recipient, uint256 amount) public returns(bool) { _undelegate(msg.sender, recipient, amount); return true; } // ** PUBLIC with SIGN function ** function delgateWithSign( address delegator, address recipient, uint256 amount, uint256 maxAllowedTimestamp, bytes memory _signature // signature is v, r, s for ECDSA ) public onlyVerified(delegator, recipient, amount, maxAllowedTimestamp, _signature) returns( bool ) { _delegate(delegator, recipient, amount); return true; } function undelgateWithSign( address delegator, address recipient, uint256 amount, uint256 maxAllowedTimestamp, bytes memory _signature // signature is v, r, s for ECDSA ) public onlyVerified(delegator, recipient, amount, maxAllowedTimestamp, _signature) returns( bool ) { _undelegate(delegator, recipient, amount); return true; } // ** INTERNAL functions ** function _delegate(address owner, address recipient, uint256 amount) internal { require(owner != recipient, "Unable to delegate to delegator address"); // UPD delegates states delegates[owner].delegatedBalance = uint128(uint256(delegates[owner].delegatedBalance).add(amount)); delegates[recipient].receivedBalance = uint128(uint256(delegates[recipient].receivedBalance).add(amount)); delegates[recipient].receivedFromBalances[owner] = uint128(uint256(delegates[recipient].receivedFromBalances[owner]).add(amount)); // transfer tokens from owner to recipient _transfer(owner, recipient, amount); emit Delegated(owner, recipient, amount); } function _undelegate(address owner, address recipient, uint256 amount) internal { // UPD delegates states with validation delegates[owner].delegatedBalance = uint128(uint256(delegates[owner].delegatedBalance).sub(amount)); delegates[recipient].receivedBalance = uint128(uint256(delegates[recipient].receivedBalance).sub(amount)); delegates[recipient].receivedFromBalances[owner] = uint128(uint256(delegates[recipient].receivedFromBalances[owner]).sub(amount)); // transfer tokens from recipient to owner _transfer(recipient, owner, amount); emit Undelegated(owner, recipient, amount); } // ** INTERNAL overrided with CHECK_DELEGATES functions ** function _transfer(address sender, address recipient, uint256 amount) internal checkDelegates(sender, amount) { super._transfer(sender, recipient, amount); } function _burn(address account, uint256 amount) internal checkDelegates(account, amount) { super._burn(account, amount); } } // import "../openzeppelin/upgrades/contracts/Initializable.sol"; contract OwnableUpgradable is Initializable { address payable public owner; address payable internal newOwnerCandidate; modifier onlyOwner { require(msg.sender == owner, "Permission denied"); _; } // ** INITIALIZERS – Constructors for Upgradable contracts ** function initialize() public initializer { owner = msg.sender; } function initialize(address payable newOwner) public initializer { owner = newOwner; } function changeOwner(address payable newOwner) public onlyOwner { newOwnerCandidate = newOwner; } function acceptOwner() public { require(msg.sender == newOwnerCandidate, "Permission denied"); owner = newOwnerCandidate; } uint256[50] private ______gap; } contract DfDepositToken is Initializable, ERC20Detailed, ERC20Snapshot, OwnableUpgradable, ERC20Delegatable { // ** INITIALIZER ** function initialize( string memory _name, string memory _symbol, uint8 _decimals, address payable _controller ) public initializer { // Initialize Parents Contracts ERC20Detailed.initialize(_name, _symbol, _decimals); OwnableUpgradable.initialize(_controller); } // ** PUBLIC functions ** // Transfer to array of addresses function transfer(address[] memory recipients, uint256[] memory amounts) public returns(bool) { require(recipients.length == amounts.length, "Arrays lengths not equal"); // transfer to all addresses for (uint i = 0; i < recipients.length; i++) { _transfer(msg.sender, recipients[i], amounts[i]); } return true; } // ** ONLY_OWNER functions ** function snapshot() public onlyOwner returns(uint256 currentId) { currentId = _snapshot(); } function mint(address account, uint256 amount) public onlyOwner { _mint(account, amount); } function burnFrom(address account, uint256 amount) public onlyOwner { _burn(account, amount); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"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":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"recipient","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Delegated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"}],"name":"Snapshot","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"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"recipient","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Undelegated","type":"event"},{"constant":false,"inputs":[],"name":"acceptOwner","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"snapshotId","type":"uint256"}],"name":"balanceOfAt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOfWithDelegated","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOfWithoutReceived","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFrom","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address payable","name":"newOwner","type":"address"}],"name":"changeOwner","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"delegates","outputs":[{"internalType":"uint128","name":"delegatedBalance","type":"uint128"},{"internalType":"uint128","name":"receivedBalance","type":"uint128"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"delgate","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"delegator","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"maxAllowedTimestamp","type":"uint256"},{"internalType":"bytes","name":"_signature","type":"bytes"}],"name":"delgateWithSign","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"uint8","name":"decimals","type":"uint8"}],"name":"initialize","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"initialize","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address payable","name":"newOwner","type":"address"}],"name":"initialize","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"uint8","name":"_decimals","type":"uint8"},{"internalType":"address payable","name":"_controller","type":"address"}],"name":"initialize","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"internalType":"address payable","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"snapshot","outputs":[{"internalType":"uint256","name":"currentId","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"snapshotId","type":"uint256"}],"name":"totalSupplyAt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address[]","name":"recipients","type":"address[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"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"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"undelgate","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"delegator","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"maxAllowedTimestamp","type":"uint256"},{"internalType":"bytes","name":"_signature","type":"bytes"}],"name":"undelgateWithSign","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405234801561001057600080fd5b50612777806100206000396000f3fe608060405234801561001057600080fd5b50600436106101e55760003560e01c806379cc67901161010f578063a6f9dae1116100a2578063de7ea79d11610071578063de7ea79d146107ff578063ebbc496514610939578063fb9b826414610941578063ffc3a76914610a0a576101e5565b8063a6f9dae114610759578063a9059cbb1461077f578063c4d66de8146107ab578063dd62ed3e146107d1576101e5565b80639711715a116100de5780639711715a1461063f578063981b24d014610647578063a021312214610664578063a457c2d71461072d576101e5565b806379cc6790146105df5780638129fc1c1461060b5780638da5cb5b1461061357806395d89b4114610637576101e5565b8063313ce56711610187578063587cde1e11610156578063587cde1e1461051b5780636ba320f91461056757806370a082311461059357806378380b1d146105b9576101e5565b8063313ce56714610479578063395093511461049757806340c10f19146104c35780634ee2cd7e146104ef576101e5565b80631187d9b3116101c35780631187d9b3146102df5780631624f6c61461030b57806318160ddd1461043b57806323b872dd14610443576101e5565b806306fdde03146101ea578063083d24ae14610267578063095ea7b31461029f575b600080fd5b6101f2610b2d565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561022c578181015183820152602001610214565b50505050905090810190601f1680156102595780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61028d6004803603602081101561027d57600080fd5b50356001600160a01b0316610bc4565b60408051918252519081900360200190f35b6102cb600480360360408110156102b557600080fd5b506001600160a01b038135169060200135610c0e565b604080519115158252519081900360200190f35b6102cb600480360360408110156102f557600080fd5b506001600160a01b038135169060200135610c25565b6104396004803603606081101561032157600080fd5b810190602081018135600160201b81111561033b57600080fd5b82018360208201111561034d57600080fd5b803590602001918460018302840111600160201b8311171561036e57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295949360208101935035915050600160201b8111156103c057600080fd5b8201836020820111156103d257600080fd5b803590602001918460018302840111600160201b831117156103f357600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295505050903560ff169150610c329050565b005b61028d610d0e565b6102cb6004803603606081101561045957600080fd5b506001600160a01b03813581169160208101359091169060400135610d14565b610481610d83565b6040805160ff9092168252519081900360200190f35b6102cb600480360360408110156104ad57600080fd5b506001600160a01b038135169060200135610d8c565b610439600480360360408110156104d957600080fd5b506001600160a01b038135169060200135610dc8565b61028d6004803603604081101561050557600080fd5b506001600160a01b038135169060200135610e29565b6105416004803603602081101561053157600080fd5b50356001600160a01b0316610e72565b604080516001600160801b03938416815291909216602082015281519081900390910190f35b6102cb6004803603604081101561057d57600080fd5b506001600160a01b038135169060200135610e98565b61028d600480360360208110156105a957600080fd5b50356001600160a01b0316610ea5565b61028d600480360360208110156105cf57600080fd5b50356001600160a01b0316610ec0565b610439600480360360408110156105f557600080fd5b506001600160a01b038135169060200135610efb565b610439610f58565b61061b61100c565b604080516001600160a01b039092168252519081900360200190f35b6101f261101b565b61028d61107c565b61028d6004803603602081101561065d57600080fd5b50356110df565b6102cb600480360360a081101561067a57600080fd5b6001600160a01b03823581169260208101359091169160408201359160608101359181019060a081016080820135600160201b8111156106b957600080fd5b8201836020820111156106cb57600080fd5b803590602001918460018302840111600160201b831117156106ec57600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955061110f945050505050565b6102cb6004803603604081101561074357600080fd5b506001600160a01b038135169060200135611239565b6104396004803603602081101561076f57600080fd5b50356001600160a01b031661128e565b6102cb6004803603604081101561079557600080fd5b506001600160a01b038135169060200135611303565b610439600480360360208110156107c157600080fd5b50356001600160a01b0316611310565b61028d600480360360408110156107e757600080fd5b506001600160a01b03813581169160200135166113cd565b6104396004803603608081101561081557600080fd5b810190602081018135600160201b81111561082f57600080fd5b82018360208201111561084157600080fd5b803590602001918460018302840111600160201b8311171561086257600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295949360208101935035915050600160201b8111156108b457600080fd5b8201836020820111156108c657600080fd5b803590602001918460018302840111600160201b831117156108e757600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295505050813560ff16925050602001356001600160a01b03166113f8565b6104396114b2565b6102cb600480360360a081101561095757600080fd5b6001600160a01b03823581169260208101359091169160408201359160608101359181019060a081016080820135600160201b81111561099657600080fd5b8201836020820111156109a857600080fd5b803590602001918460018302840111600160201b831117156109c957600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550611529945050505050565b6102cb60048036036040811015610a2057600080fd5b810190602081018135600160201b811115610a3a57600080fd5b820183602082011115610a4c57600080fd5b803590602001918460208302840111600160201b83111715610a6d57600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295949360208101935035915050600160201b811115610abc57600080fd5b820183602082011115610ace57600080fd5b803590602001918460208302840111600160201b83111715610aef57600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550611641945050505050565b60338054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610bb95780601f10610b8e57610100808354040283529160200191610bb9565b820191906000526020600020905b815481529060010190602001808311610b9c57829003601f168201915b505050505090505b90565b6001600160a01b038116600090815260d56020526040812054610c0690600160801b90046001600160801b0316610bfa84610ea5565b9063ffffffff6116de16565b90505b919050565b6000610c1b338484611727565b5060015b92915050565b6000610c1b338484611813565b600054610100900460ff1680610c4b5750610c4b6119da565b80610c59575060005460ff16155b610c945760405162461bcd60e51b815260040180806020018281038252602e81526020018061265f602e913960400191505060405180910390fd5b600054610100900460ff16158015610cbf576000805460ff1961ff0019909116610100171660011790555b8351610cd2906033906020870190612511565b508251610ce6906034906020860190612511565b506035805460ff191660ff84161790558015610d08576000805461ff00191690555b50505050565b606a5490565b6000610d218484846119e0565b610d798433610d7485604051806060016040528060288152602001612637602891396001600160a01b038a166000908152606960209081526040808320338452909152902054919063ffffffff611a8b16565b611727565b5060019392505050565b60355460ff1690565b3360008181526069602090815260408083206001600160a01b03871684529091528120549091610c1b918590610d74908663ffffffff611b2216565b60a1546001600160a01b03163314610e1b576040805162461bcd60e51b815260206004820152601160248201527014195c9b5a5cdcda5bdb8819195b9a5959607a1b604482015290519081900360640190fd5b610e258282611b7c565b5050565b6001600160a01b0382166000908152609d6020526040812081908190610e50908590611b97565b9150915081610e6757610e6285610ea5565b610e69565b805b95945050505050565b60d5602052600090815260409020546001600160801b0380821691600160801b90041682565b6000610c1b338484611c9a565b6001600160a01b031660009081526068602052604090205490565b6001600160a01b038116600090815260d56020526040812054610c06906001600160801b0316610eef84610ea5565b9063ffffffff611b2216565b60a1546001600160a01b03163314610f4e576040805162461bcd60e51b815260206004820152601160248201527014195c9b5a5cdcda5bdb8819195b9a5959607a1b604482015290519081900360640190fd5b610e258282611e10565b600054610100900460ff1680610f715750610f716119da565b80610f7f575060005460ff16155b610fba5760405162461bcd60e51b815260040180806020018281038252602e81526020018061265f602e913960400191505060405180910390fd5b600054610100900460ff16158015610fe5576000805460ff1961ff0019909116610100171660011790555b60a180546001600160a01b031916331790558015611009576000805461ff00191690555b50565b60a1546001600160a01b031681565b60348054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610bb95780601f10610b8e57610100808354040283529160200191610bb9565b60a1546000906001600160a01b031633146110d2576040805162461bcd60e51b815260206004820152601160248201527014195c9b5a5cdcda5bdb8819195b9a5959607a1b604482015290519081900360640190fd5b6110da611eb9565b905090565b60008060006110ef84609e611b97565b915091508161110557611100610d0e565b611107565b805b949350505050565b6000858585858581421061115c576040805162461bcd60e51b815260206004820152600f60248201526e1cda59db881a5cc8195e1c1a5c9959608a1b604482015290519081900360640190fd5b6040805130606090811b6020808401919091529087901b6bffffffffffffffffffffffff1916603483015260488201869052606880830186905283518084039091018152608890920190925280519101206111b78183611f0d565b6001600160a01b0316866001600160a01b03161461121c576040805162461bcd60e51b815260206004820152601b60248201527f5468697320616374696f6e206973206e6f742076657269666965640000000000604482015290519081900360640190fd5b6112278c8c8c611813565b5060019b9a5050505050505050505050565b6000610c1b3384610d748560405180606001604052806025815260200161271e602591393360009081526069602090815260408083206001600160a01b038d168452909152902054919063ffffffff611a8b16565b60a1546001600160a01b031633146112e1576040805162461bcd60e51b815260206004820152601160248201527014195c9b5a5cdcda5bdb8819195b9a5959607a1b604482015290519081900360640190fd5b60a280546001600160a01b0319166001600160a01b0392909216919091179055565b6000610c1b3384846119e0565b600054610100900460ff168061132957506113296119da565b80611337575060005460ff16155b6113725760405162461bcd60e51b815260040180806020018281038252602e81526020018061265f602e913960400191505060405180910390fd5b600054610100900460ff1615801561139d576000805460ff1961ff0019909116610100171660011790555b60a180546001600160a01b0319166001600160a01b0384161790558015610e25576000805461ff00191690555050565b6001600160a01b03918216600090815260696020908152604080832093909416825291909152205490565b600054610100900460ff168061141157506114116119da565b8061141f575060005460ff16155b61145a5760405162461bcd60e51b815260040180806020018281038252602e81526020018061265f602e913960400191505060405180910390fd5b600054610100900460ff16158015611485576000805460ff1961ff0019909116610100171660011790555b611490858585610c32565b61149982611310565b80156114ab576000805461ff00191690555b5050505050565b60a2546001600160a01b03163314611505576040805162461bcd60e51b815260206004820152601160248201527014195c9b5a5cdcda5bdb8819195b9a5959607a1b604482015290519081900360640190fd5b60a25460a180546001600160a01b0319166001600160a01b03909216919091179055565b60008585858585814210611576576040805162461bcd60e51b815260206004820152600f60248201526e1cda59db881a5cc8195e1c1a5c9959608a1b604482015290519081900360640190fd5b6040805130606090811b6020808401919091529087901b6bffffffffffffffffffffffff1916603483015260488201869052606880830186905283518084039091018152608890920190925280519101206115d18183611f0d565b6001600160a01b0316866001600160a01b031614611636576040805162461bcd60e51b815260206004820152601b60248201527f5468697320616374696f6e206973206e6f742076657269666965640000000000604482015290519081900360640190fd5b6112278c8c8c611c9a565b60008151835114611699576040805162461bcd60e51b815260206004820152601860248201527f417272617973206c656e67746873206e6f7420657175616c0000000000000000604482015290519081900360640190fd5b60005b8351811015610d79576116d6338583815181106116b557fe5b60200260200101518584815181106116c957fe5b60200260200101516119e0565b60010161169c565b600061172083836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611a8b565b9392505050565b6001600160a01b03831661176c5760405162461bcd60e51b81526004018080602001828103825260248152602001806126fa6024913960400191505060405180910390fd5b6001600160a01b0382166117b15760405162461bcd60e51b81526004018080602001828103825260228152602001806125ef6022913960400191505060405180910390fd5b6001600160a01b03808416600081815260696020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b816001600160a01b0316836001600160a01b031614156118645760405162461bcd60e51b81526004018080602001828103825260278152602001806126d36027913960400191505060405180910390fd5b6001600160a01b038316600090815260d56020526040902054611896906001600160801b03168263ffffffff611b2216565b6001600160a01b03848116600090815260d5602052604080822080546001600160801b0319166001600160801b03958616179055918516815220546118e491600160801b9091041682611b22565b6001600160a01b03808416600090815260d56020908152604080832080546001600160801b03968716600160801b02908716178155938816835260019093019052205461193891168263ffffffff611b2216565b6001600160a01b03838116600090815260d5602090815260408083209388168352600190930190522080546001600160801b0319166001600160801b039290921691909117905561198a8383836119e0565b816001600160a01b0316836001600160a01b03167fe5541a6b6103d4fa7e021ed54fad39c66f27a76bd13d374cf6240ae6bd0bb72b836040518082815260200191505060405180910390a3505050565b303b1590565b828160006119ed83610ea5565b6001600160a01b038416600090815260d56020526040902054909150600160801b90046001600160801b031682611a2483836116de565b1015611a77576040805162461bcd60e51b815260206004820152601c60248201527f6e6f7420656e6f75676820756e64656c676174656420746f6b656e7300000000604482015290519081900360640190fd5b611a82878787611ffb565b50505050505050565b60008184841115611b1a5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611adf578181015183820152602001611ac7565b50505050905090810190601f168015611b0c5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600082820183811015611720576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b611b858261201d565b611b8d612047565b610e258282612056565b60008060008411611be8576040805162461bcd60e51b815260206004820152601660248201527504552433230536e617073686f743a20696420697320360541b604482015290519081900360640190fd5b611bf260a0612148565b841115611c46576040805162461bcd60e51b815260206004820152601d60248201527f4552433230536e617073686f743a206e6f6e6578697374656e74206964000000604482015290519081900360640190fd5b6000611c58848663ffffffff61214c16565b8454909150811415611c71575060009150819050611c93565b6001846001018281548110611c8257fe5b906000526020600020015492509250505b9250929050565b6001600160a01b038316600090815260d56020526040902054611ccc906001600160801b03168263ffffffff6116de16565b6001600160a01b03848116600090815260d5602052604080822080546001600160801b0319166001600160801b0395861617905591851681522054611d1a91600160801b90910416826116de565b6001600160a01b03808416600090815260d56020908152604080832080546001600160801b03968716600160801b029087161781559388168352600190930190522054611d6e91168263ffffffff6116de16565b6001600160a01b03838116600090815260d5602090815260408083209388168352600190930190522080546001600160801b0319166001600160801b0392909216919091179055611dc08284836119e0565b816001600160a01b0316836001600160a01b03167f4d10bd049775c77bd7f255195afba5088028ecb3c7c277d393ccff7934f2f92c836040518082815260200191505060405180910390a3505050565b81816000611e1d83610ea5565b6001600160a01b038416600090815260d56020526040902054909150600160801b90046001600160801b031682611e5483836116de565b1015611ea7576040805162461bcd60e51b815260206004820152601c60248201527f6e6f7420656e6f75676820756e64656c676174656420746f6b656e7300000000604482015290519081900360640190fd5b611eb186866121ed565b505050505050565b6000611ec560a0612208565b6000611ed160a0612148565b6040805182815290519192507f8030e83b04d87bef53480e26263266d6ca66863aa8506aca6f2559d18aa1cb67919081900360200190a1905090565b60008151604114611f2057506000610c1f565b60208201516040830151606084015160001a7f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0821115611f665760009350505050610c1f565b8060ff16601b14158015611f7e57508060ff16601c14155b15611f8f5760009350505050610c1f565b6040805160008152602080820180845289905260ff8416828401526060820186905260808201859052915160019260a0808401939192601f1981019281900390910190855afa158015611fe6573d6000803e3d6000fd5b5050604051601f190151979650505050505050565b6120048361201d565b61200d8261201d565b612018838383612211565b505050565b6001600160a01b0381166000908152609d602052604090206110099061204283610ea5565b61236f565b612054609e612042610d0e565b565b6001600160a01b0382166120b1576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b606a546120c4908263ffffffff611b2216565b606a556001600160a01b0382166000908152606860205260409020546120f0908263ffffffff611b2216565b6001600160a01b03831660008181526068602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b5490565b815460009061215d57506000610c1f565b82546000905b808210156121ac57600061217783836123bb565b90508486828154811061218657fe5b9060005260206000200154111561219f578091506121a6565b8060010192505b50612163565b6000821180156121d45750838560018403815481106121c757fe5b9060005260206000200154145b156121e55750600019019050610c1f565b509050610c1f565b6121f68261201d565b6121fe612047565b610e2582826123e0565b80546001019055565b6001600160a01b0383166122565760405162461bcd60e51b81526004018080602001828103825260258152602001806126ae6025913960400191505060405180910390fd5b6001600160a01b03821661229b5760405162461bcd60e51b81526004018080602001828103825260238152602001806125aa6023913960400191505060405180910390fd5b6122de81604051806060016040528060268152602001612611602691396001600160a01b038616600090815260686020526040902054919063ffffffff611a8b16565b6001600160a01b038085166000908152606860205260408082209390935590841681522054612313908263ffffffff611b2216565b6001600160a01b0380841660008181526068602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600061237b60a0612148565b905080612387846124dc565b1015612018578254600180820185556000858152602080822090930193909355938401805494850181558252902090910155565b600060028083066002850601816123ce57fe5b04600283046002850401019392505050565b6001600160a01b0382166124255760405162461bcd60e51b815260040180806020018281038252602181526020018061268d6021913960400191505060405180910390fd5b612468816040518060600160405280602281526020016125cd602291396001600160a01b038516600090815260686020526040902054919063ffffffff611a8b16565b6001600160a01b038316600090815260686020526040902055606a54612494908263ffffffff6116de16565b606a556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b80546000906124ed57506000610c09565b8154829060001981019081106124ff57fe5b90600052602060002001549050610c09565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061255257805160ff191683800117855561257f565b8280016001018555821561257f579182015b8281111561257f578251825591602001919060010190612564565b5061258b92915061258f565b5090565b610bc191905b8082111561258b576000815560010161259556fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365436f6e747261637420696e7374616e63652068617320616c7265616479206265656e20696e697469616c697a656445524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f2061646472657373556e61626c6520746f2064656c656761746520746f2064656c656761746f72206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa265627a7a72315820c7e26a7cd2c46a9bfcd2269a82dff241a8ed52fdeb9da21c1d81d02ce00c450f64736f6c63430005110032
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101e55760003560e01c806379cc67901161010f578063a6f9dae1116100a2578063de7ea79d11610071578063de7ea79d146107ff578063ebbc496514610939578063fb9b826414610941578063ffc3a76914610a0a576101e5565b8063a6f9dae114610759578063a9059cbb1461077f578063c4d66de8146107ab578063dd62ed3e146107d1576101e5565b80639711715a116100de5780639711715a1461063f578063981b24d014610647578063a021312214610664578063a457c2d71461072d576101e5565b806379cc6790146105df5780638129fc1c1461060b5780638da5cb5b1461061357806395d89b4114610637576101e5565b8063313ce56711610187578063587cde1e11610156578063587cde1e1461051b5780636ba320f91461056757806370a082311461059357806378380b1d146105b9576101e5565b8063313ce56714610479578063395093511461049757806340c10f19146104c35780634ee2cd7e146104ef576101e5565b80631187d9b3116101c35780631187d9b3146102df5780631624f6c61461030b57806318160ddd1461043b57806323b872dd14610443576101e5565b806306fdde03146101ea578063083d24ae14610267578063095ea7b31461029f575b600080fd5b6101f2610b2d565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561022c578181015183820152602001610214565b50505050905090810190601f1680156102595780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61028d6004803603602081101561027d57600080fd5b50356001600160a01b0316610bc4565b60408051918252519081900360200190f35b6102cb600480360360408110156102b557600080fd5b506001600160a01b038135169060200135610c0e565b604080519115158252519081900360200190f35b6102cb600480360360408110156102f557600080fd5b506001600160a01b038135169060200135610c25565b6104396004803603606081101561032157600080fd5b810190602081018135600160201b81111561033b57600080fd5b82018360208201111561034d57600080fd5b803590602001918460018302840111600160201b8311171561036e57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295949360208101935035915050600160201b8111156103c057600080fd5b8201836020820111156103d257600080fd5b803590602001918460018302840111600160201b831117156103f357600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295505050903560ff169150610c329050565b005b61028d610d0e565b6102cb6004803603606081101561045957600080fd5b506001600160a01b03813581169160208101359091169060400135610d14565b610481610d83565b6040805160ff9092168252519081900360200190f35b6102cb600480360360408110156104ad57600080fd5b506001600160a01b038135169060200135610d8c565b610439600480360360408110156104d957600080fd5b506001600160a01b038135169060200135610dc8565b61028d6004803603604081101561050557600080fd5b506001600160a01b038135169060200135610e29565b6105416004803603602081101561053157600080fd5b50356001600160a01b0316610e72565b604080516001600160801b03938416815291909216602082015281519081900390910190f35b6102cb6004803603604081101561057d57600080fd5b506001600160a01b038135169060200135610e98565b61028d600480360360208110156105a957600080fd5b50356001600160a01b0316610ea5565b61028d600480360360208110156105cf57600080fd5b50356001600160a01b0316610ec0565b610439600480360360408110156105f557600080fd5b506001600160a01b038135169060200135610efb565b610439610f58565b61061b61100c565b604080516001600160a01b039092168252519081900360200190f35b6101f261101b565b61028d61107c565b61028d6004803603602081101561065d57600080fd5b50356110df565b6102cb600480360360a081101561067a57600080fd5b6001600160a01b03823581169260208101359091169160408201359160608101359181019060a081016080820135600160201b8111156106b957600080fd5b8201836020820111156106cb57600080fd5b803590602001918460018302840111600160201b831117156106ec57600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955061110f945050505050565b6102cb6004803603604081101561074357600080fd5b506001600160a01b038135169060200135611239565b6104396004803603602081101561076f57600080fd5b50356001600160a01b031661128e565b6102cb6004803603604081101561079557600080fd5b506001600160a01b038135169060200135611303565b610439600480360360208110156107c157600080fd5b50356001600160a01b0316611310565b61028d600480360360408110156107e757600080fd5b506001600160a01b03813581169160200135166113cd565b6104396004803603608081101561081557600080fd5b810190602081018135600160201b81111561082f57600080fd5b82018360208201111561084157600080fd5b803590602001918460018302840111600160201b8311171561086257600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295949360208101935035915050600160201b8111156108b457600080fd5b8201836020820111156108c657600080fd5b803590602001918460018302840111600160201b831117156108e757600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295505050813560ff16925050602001356001600160a01b03166113f8565b6104396114b2565b6102cb600480360360a081101561095757600080fd5b6001600160a01b03823581169260208101359091169160408201359160608101359181019060a081016080820135600160201b81111561099657600080fd5b8201836020820111156109a857600080fd5b803590602001918460018302840111600160201b831117156109c957600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550611529945050505050565b6102cb60048036036040811015610a2057600080fd5b810190602081018135600160201b811115610a3a57600080fd5b820183602082011115610a4c57600080fd5b803590602001918460208302840111600160201b83111715610a6d57600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295949360208101935035915050600160201b811115610abc57600080fd5b820183602082011115610ace57600080fd5b803590602001918460208302840111600160201b83111715610aef57600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550611641945050505050565b60338054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610bb95780601f10610b8e57610100808354040283529160200191610bb9565b820191906000526020600020905b815481529060010190602001808311610b9c57829003601f168201915b505050505090505b90565b6001600160a01b038116600090815260d56020526040812054610c0690600160801b90046001600160801b0316610bfa84610ea5565b9063ffffffff6116de16565b90505b919050565b6000610c1b338484611727565b5060015b92915050565b6000610c1b338484611813565b600054610100900460ff1680610c4b5750610c4b6119da565b80610c59575060005460ff16155b610c945760405162461bcd60e51b815260040180806020018281038252602e81526020018061265f602e913960400191505060405180910390fd5b600054610100900460ff16158015610cbf576000805460ff1961ff0019909116610100171660011790555b8351610cd2906033906020870190612511565b508251610ce6906034906020860190612511565b506035805460ff191660ff84161790558015610d08576000805461ff00191690555b50505050565b606a5490565b6000610d218484846119e0565b610d798433610d7485604051806060016040528060288152602001612637602891396001600160a01b038a166000908152606960209081526040808320338452909152902054919063ffffffff611a8b16565b611727565b5060019392505050565b60355460ff1690565b3360008181526069602090815260408083206001600160a01b03871684529091528120549091610c1b918590610d74908663ffffffff611b2216565b60a1546001600160a01b03163314610e1b576040805162461bcd60e51b815260206004820152601160248201527014195c9b5a5cdcda5bdb8819195b9a5959607a1b604482015290519081900360640190fd5b610e258282611b7c565b5050565b6001600160a01b0382166000908152609d6020526040812081908190610e50908590611b97565b9150915081610e6757610e6285610ea5565b610e69565b805b95945050505050565b60d5602052600090815260409020546001600160801b0380821691600160801b90041682565b6000610c1b338484611c9a565b6001600160a01b031660009081526068602052604090205490565b6001600160a01b038116600090815260d56020526040812054610c06906001600160801b0316610eef84610ea5565b9063ffffffff611b2216565b60a1546001600160a01b03163314610f4e576040805162461bcd60e51b815260206004820152601160248201527014195c9b5a5cdcda5bdb8819195b9a5959607a1b604482015290519081900360640190fd5b610e258282611e10565b600054610100900460ff1680610f715750610f716119da565b80610f7f575060005460ff16155b610fba5760405162461bcd60e51b815260040180806020018281038252602e81526020018061265f602e913960400191505060405180910390fd5b600054610100900460ff16158015610fe5576000805460ff1961ff0019909116610100171660011790555b60a180546001600160a01b031916331790558015611009576000805461ff00191690555b50565b60a1546001600160a01b031681565b60348054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610bb95780601f10610b8e57610100808354040283529160200191610bb9565b60a1546000906001600160a01b031633146110d2576040805162461bcd60e51b815260206004820152601160248201527014195c9b5a5cdcda5bdb8819195b9a5959607a1b604482015290519081900360640190fd5b6110da611eb9565b905090565b60008060006110ef84609e611b97565b915091508161110557611100610d0e565b611107565b805b949350505050565b6000858585858581421061115c576040805162461bcd60e51b815260206004820152600f60248201526e1cda59db881a5cc8195e1c1a5c9959608a1b604482015290519081900360640190fd5b6040805130606090811b6020808401919091529087901b6bffffffffffffffffffffffff1916603483015260488201869052606880830186905283518084039091018152608890920190925280519101206111b78183611f0d565b6001600160a01b0316866001600160a01b03161461121c576040805162461bcd60e51b815260206004820152601b60248201527f5468697320616374696f6e206973206e6f742076657269666965640000000000604482015290519081900360640190fd5b6112278c8c8c611813565b5060019b9a5050505050505050505050565b6000610c1b3384610d748560405180606001604052806025815260200161271e602591393360009081526069602090815260408083206001600160a01b038d168452909152902054919063ffffffff611a8b16565b60a1546001600160a01b031633146112e1576040805162461bcd60e51b815260206004820152601160248201527014195c9b5a5cdcda5bdb8819195b9a5959607a1b604482015290519081900360640190fd5b60a280546001600160a01b0319166001600160a01b0392909216919091179055565b6000610c1b3384846119e0565b600054610100900460ff168061132957506113296119da565b80611337575060005460ff16155b6113725760405162461bcd60e51b815260040180806020018281038252602e81526020018061265f602e913960400191505060405180910390fd5b600054610100900460ff1615801561139d576000805460ff1961ff0019909116610100171660011790555b60a180546001600160a01b0319166001600160a01b0384161790558015610e25576000805461ff00191690555050565b6001600160a01b03918216600090815260696020908152604080832093909416825291909152205490565b600054610100900460ff168061141157506114116119da565b8061141f575060005460ff16155b61145a5760405162461bcd60e51b815260040180806020018281038252602e81526020018061265f602e913960400191505060405180910390fd5b600054610100900460ff16158015611485576000805460ff1961ff0019909116610100171660011790555b611490858585610c32565b61149982611310565b80156114ab576000805461ff00191690555b5050505050565b60a2546001600160a01b03163314611505576040805162461bcd60e51b815260206004820152601160248201527014195c9b5a5cdcda5bdb8819195b9a5959607a1b604482015290519081900360640190fd5b60a25460a180546001600160a01b0319166001600160a01b03909216919091179055565b60008585858585814210611576576040805162461bcd60e51b815260206004820152600f60248201526e1cda59db881a5cc8195e1c1a5c9959608a1b604482015290519081900360640190fd5b6040805130606090811b6020808401919091529087901b6bffffffffffffffffffffffff1916603483015260488201869052606880830186905283518084039091018152608890920190925280519101206115d18183611f0d565b6001600160a01b0316866001600160a01b031614611636576040805162461bcd60e51b815260206004820152601b60248201527f5468697320616374696f6e206973206e6f742076657269666965640000000000604482015290519081900360640190fd5b6112278c8c8c611c9a565b60008151835114611699576040805162461bcd60e51b815260206004820152601860248201527f417272617973206c656e67746873206e6f7420657175616c0000000000000000604482015290519081900360640190fd5b60005b8351811015610d79576116d6338583815181106116b557fe5b60200260200101518584815181106116c957fe5b60200260200101516119e0565b60010161169c565b600061172083836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611a8b565b9392505050565b6001600160a01b03831661176c5760405162461bcd60e51b81526004018080602001828103825260248152602001806126fa6024913960400191505060405180910390fd5b6001600160a01b0382166117b15760405162461bcd60e51b81526004018080602001828103825260228152602001806125ef6022913960400191505060405180910390fd5b6001600160a01b03808416600081815260696020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b816001600160a01b0316836001600160a01b031614156118645760405162461bcd60e51b81526004018080602001828103825260278152602001806126d36027913960400191505060405180910390fd5b6001600160a01b038316600090815260d56020526040902054611896906001600160801b03168263ffffffff611b2216565b6001600160a01b03848116600090815260d5602052604080822080546001600160801b0319166001600160801b03958616179055918516815220546118e491600160801b9091041682611b22565b6001600160a01b03808416600090815260d56020908152604080832080546001600160801b03968716600160801b02908716178155938816835260019093019052205461193891168263ffffffff611b2216565b6001600160a01b03838116600090815260d5602090815260408083209388168352600190930190522080546001600160801b0319166001600160801b039290921691909117905561198a8383836119e0565b816001600160a01b0316836001600160a01b03167fe5541a6b6103d4fa7e021ed54fad39c66f27a76bd13d374cf6240ae6bd0bb72b836040518082815260200191505060405180910390a3505050565b303b1590565b828160006119ed83610ea5565b6001600160a01b038416600090815260d56020526040902054909150600160801b90046001600160801b031682611a2483836116de565b1015611a77576040805162461bcd60e51b815260206004820152601c60248201527f6e6f7420656e6f75676820756e64656c676174656420746f6b656e7300000000604482015290519081900360640190fd5b611a82878787611ffb565b50505050505050565b60008184841115611b1a5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611adf578181015183820152602001611ac7565b50505050905090810190601f168015611b0c5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600082820183811015611720576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b611b858261201d565b611b8d612047565b610e258282612056565b60008060008411611be8576040805162461bcd60e51b815260206004820152601660248201527504552433230536e617073686f743a20696420697320360541b604482015290519081900360640190fd5b611bf260a0612148565b841115611c46576040805162461bcd60e51b815260206004820152601d60248201527f4552433230536e617073686f743a206e6f6e6578697374656e74206964000000604482015290519081900360640190fd5b6000611c58848663ffffffff61214c16565b8454909150811415611c71575060009150819050611c93565b6001846001018281548110611c8257fe5b906000526020600020015492509250505b9250929050565b6001600160a01b038316600090815260d56020526040902054611ccc906001600160801b03168263ffffffff6116de16565b6001600160a01b03848116600090815260d5602052604080822080546001600160801b0319166001600160801b0395861617905591851681522054611d1a91600160801b90910416826116de565b6001600160a01b03808416600090815260d56020908152604080832080546001600160801b03968716600160801b029087161781559388168352600190930190522054611d6e91168263ffffffff6116de16565b6001600160a01b03838116600090815260d5602090815260408083209388168352600190930190522080546001600160801b0319166001600160801b0392909216919091179055611dc08284836119e0565b816001600160a01b0316836001600160a01b03167f4d10bd049775c77bd7f255195afba5088028ecb3c7c277d393ccff7934f2f92c836040518082815260200191505060405180910390a3505050565b81816000611e1d83610ea5565b6001600160a01b038416600090815260d56020526040902054909150600160801b90046001600160801b031682611e5483836116de565b1015611ea7576040805162461bcd60e51b815260206004820152601c60248201527f6e6f7420656e6f75676820756e64656c676174656420746f6b656e7300000000604482015290519081900360640190fd5b611eb186866121ed565b505050505050565b6000611ec560a0612208565b6000611ed160a0612148565b6040805182815290519192507f8030e83b04d87bef53480e26263266d6ca66863aa8506aca6f2559d18aa1cb67919081900360200190a1905090565b60008151604114611f2057506000610c1f565b60208201516040830151606084015160001a7f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0821115611f665760009350505050610c1f565b8060ff16601b14158015611f7e57508060ff16601c14155b15611f8f5760009350505050610c1f565b6040805160008152602080820180845289905260ff8416828401526060820186905260808201859052915160019260a0808401939192601f1981019281900390910190855afa158015611fe6573d6000803e3d6000fd5b5050604051601f190151979650505050505050565b6120048361201d565b61200d8261201d565b612018838383612211565b505050565b6001600160a01b0381166000908152609d602052604090206110099061204283610ea5565b61236f565b612054609e612042610d0e565b565b6001600160a01b0382166120b1576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b606a546120c4908263ffffffff611b2216565b606a556001600160a01b0382166000908152606860205260409020546120f0908263ffffffff611b2216565b6001600160a01b03831660008181526068602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b5490565b815460009061215d57506000610c1f565b82546000905b808210156121ac57600061217783836123bb565b90508486828154811061218657fe5b9060005260206000200154111561219f578091506121a6565b8060010192505b50612163565b6000821180156121d45750838560018403815481106121c757fe5b9060005260206000200154145b156121e55750600019019050610c1f565b509050610c1f565b6121f68261201d565b6121fe612047565b610e2582826123e0565b80546001019055565b6001600160a01b0383166122565760405162461bcd60e51b81526004018080602001828103825260258152602001806126ae6025913960400191505060405180910390fd5b6001600160a01b03821661229b5760405162461bcd60e51b81526004018080602001828103825260238152602001806125aa6023913960400191505060405180910390fd5b6122de81604051806060016040528060268152602001612611602691396001600160a01b038616600090815260686020526040902054919063ffffffff611a8b16565b6001600160a01b038085166000908152606860205260408082209390935590841681522054612313908263ffffffff611b2216565b6001600160a01b0380841660008181526068602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600061237b60a0612148565b905080612387846124dc565b1015612018578254600180820185556000858152602080822090930193909355938401805494850181558252902090910155565b600060028083066002850601816123ce57fe5b04600283046002850401019392505050565b6001600160a01b0382166124255760405162461bcd60e51b815260040180806020018281038252602181526020018061268d6021913960400191505060405180910390fd5b612468816040518060600160405280602281526020016125cd602291396001600160a01b038516600090815260686020526040902054919063ffffffff611a8b16565b6001600160a01b038316600090815260686020526040902055606a54612494908263ffffffff6116de16565b606a556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b80546000906124ed57506000610c09565b8154829060001981019081106124ff57fe5b90600052602060002001549050610c09565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061255257805160ff191683800117855561257f565b8280016001018555821561257f579182015b8281111561257f578251825591602001919060010190612564565b5061258b92915061258f565b5090565b610bc191905b8082111561258b576000815560010161259556fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365436f6e747261637420696e7374616e63652068617320616c7265616479206265656e20696e697469616c697a656445524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f2061646472657373556e61626c6520746f2064656c656761746520746f2064656c656761746f72206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa265627a7a72315820c7e26a7cd2c46a9bfcd2269a82dff241a8ed52fdeb9da21c1d81d02ce00c450f64736f6c63430005110032
Deployed Bytecode Sourcemap
40454:1349:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;40454:1349:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5514:83;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;5514:83:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36299:165;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;36299:165:0;-1:-1:-1;;;;;36299:165:0;;:::i;:::-;;;;;;;;;;;;;;;;16936:150;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;16936:150:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;36504:154;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;36504:154:0;;;;;;;;:::i;5258:186::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;5258:186:0;;;;;;;;-1:-1:-1;;;5:28;;2:2;;;46:1;43;36:12;2:2;5258:186:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;5258:186:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;-1:-1;;;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;5258:186:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;5258:186:0;;;;;;;;-1:-1:-1;5258:186:0;;-1:-1:-1;;;;;5:28;;2:2;;;46:1;43;36:12;2:2;5258:186:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;5258:186:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;-1:-1;;;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;5258:186:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;5258:186:0;;-1:-1:-1;;;5258:186:0;;;;;-1:-1:-1;5258:186:0;;-1:-1:-1;5258:186:0:i;:::-;;15959:91;;;:::i;17558:300::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;17558:300:0;;;;;;;;;;;;;;;;;:::i;6366:83::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;18267:206;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;18267:206:0;;;;;;;;:::i;41578:105::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;41578:105:0;;;;;;;;:::i;26682:258::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;26682:258:0;;;;;;;;:::i;34913:52::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;34913:52:0;-1:-1:-1;;;;;34913:52:0;;:::i;:::-;;;;-1:-1:-1;;;;;34913:52:0;;;;;;;;;;;;;;;;;;;;;;;;36666:158;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;36666:158:0;;;;;;;;:::i;16113:110::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;16113:110:0;-1:-1:-1;;;;;16113:110:0;;:::i;36127:164::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;36127:164:0;-1:-1:-1;;;;;36127:164:0;;:::i;41691:109::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;41691:109:0;;;;;;;;:::i;39950:78::-;;;:::i;39686:28::-;;;:::i;:::-;;;;-1:-1:-1;;;;;39686:28:0;;;;;;;;;;;;;;5716:87;;;:::i;41464:106::-;;;:::i;27044:225::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;27044:225:0;;:::i;36874:426::-;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;-1:-1;;;;;36874:426:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;5:28;;2:2;;;46:1;43;36:12;2:2;36874:426:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;36874:426:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;-1:-1;;;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;36874:426:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;36874:426:0;;-1:-1:-1;36874:426:0;;-1:-1:-1;;;;;36874:426:0:i;18976:257::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;18976:257:0;;;;;;;;:::i;40144:111::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;40144:111:0;-1:-1:-1;;;;;40144:111:0;;:::i;16436:156::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;16436:156:0;;;;;;;;:::i;40036:100::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;40036:100:0;-1:-1:-1;;;;;40036:100:0;;:::i;16655:134::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;16655:134:0;;;;;;;;;;:::i;40625:335::-;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;40625:335:0;;;;;;;;-1:-1:-1;;;5:28;;2:2;;;46:1;43;36:12;2:2;40625:335:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;40625:335:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;-1:-1;;;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;40625:335:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;40625:335:0;;;;;;;;-1:-1:-1;40625:335:0;;-1:-1:-1;;;;;5:28;;2:2;;;46:1;43;36:12;2:2;40625:335:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;40625:335:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;-1:-1;;;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;40625:335:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;40625:335:0;;-1:-1:-1;;;40625:335:0;;;;;-1:-1:-1;;40625:335:0;;;-1:-1:-1;;;;;40625:335:0;;:::i;40263:146::-;;;:::i;37308:430::-;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;-1:-1;;;;;37308:430:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;5:28;;2:2;;;46:1;43;36:12;2:2;37308:430:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;37308:430:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;-1:-1;;;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;37308:430:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;37308:430:0;;-1:-1:-1;37308:430:0;;-1:-1:-1;;;;;37308:430:0:i;41040:379::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;41040:379:0;;;;;;;;-1:-1:-1;;;5:28;;2:2;;;46:1;43;36:12;2:2;41040:379:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;41040:379:0;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;-1:-1;;;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;41040:379:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;41040:379:0;;;;;;;;-1:-1:-1;41040:379:0;;-1:-1:-1;;;;;5:28;;2:2;;;46:1;43;36:12;2:2;41040:379:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;41040:379:0;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;-1:-1;;;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;41040:379:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;41040:379:0;;-1:-1:-1;41040:379:0;;-1:-1:-1;;;;;41040:379:0:i;5514:83::-;5584:5;5577:12;;;;;;;;-1:-1:-1;;5577:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5551:13;;5577:12;;5584:5;;5577:12;;5584:5;5577:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5514:83;;:::o;36299:165::-;-1:-1:-1;;;;;36421:18:0;;36371:7;36421:18;;;:9;:18;;;;;:34;36398:58;;-1:-1:-1;;;36421:34:0;;-1:-1:-1;;;;;36421:34:0;36398:18;36421;36398:9;:18::i;:::-;:22;:58;:22;:58;:::i;:::-;36391:65;;36299:165;;;;:::o;16936:150::-;17002:4;17019:37;17028:10;17040:7;17049:6;17019:8;:37::i;:::-;-1:-1:-1;17074:4:0;16936:150;;;;;:::o;36504:154::-;36571:4;36588:40;36598:10;36610:9;36621:6;36588:9;:40::i;5258:186::-;1045:12;;;;;;;;:31;;;1061:15;:13;:15::i;:::-;1045:47;;;-1:-1:-1;1081:11:0;;;;1080:12;1045:47;1037:106;;;;-1:-1:-1;;;1037:106:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1152:19;1175:12;;;;;;1174:13;1194:83;;;;1223:12;:19;;-1:-1:-1;;;;1223:19:0;;;;;1251:18;1238:4;1251:18;;;1194:83;5366:12;;;;:5;;:12;;;;;:::i;:::-;-1:-1:-1;5389:16:0;;;;:7;;:16;;;;;:::i;:::-;-1:-1:-1;5416:9:0;:20;;-1:-1:-1;;5416:20:0;;;;;;;1295:57;;;;1339:5;1324:20;;-1:-1:-1;;1324:20:0;;;1295:57;5258:186;;;;:::o;15959:91::-;16030:12;;15959:91;:::o;17558:300::-;17647:4;17664:36;17674:6;17682:9;17693:6;17664:9;:36::i;:::-;17711:117;17720:6;17728:10;17740:87;17776:6;17740:87;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;17740:19:0;;;;;;:11;:19;;;;;;;;17760:10;17740:31;;;;;;;;;:87;;:35;:87;:::i;:::-;17711:8;:117::i;:::-;-1:-1:-1;17846:4:0;17558:300;;;;;:::o;6366:83::-;6432:9;;;;6366:83;:::o;18267:206::-;18373:10;18347:4;18394:23;;;:11;:23;;;;;;;;-1:-1:-1;;;;;18394:32:0;;;;;;;;;;18347:4;;18364:79;;18385:7;;18394:48;;18431:10;18394:48;:36;:48;:::i;41578:105::-;39824:5;;-1:-1:-1;;;;;39824:5:0;39810:10;:19;39802:49;;;;;-1:-1:-1;;;39802:49:0;;;;;;;;;;;;-1:-1:-1;;;39802:49:0;;;;;;;;;;;;;;;41653:22;41659:7;41668:6;41653:5;:22::i;:::-;41578:105;;:::o;26682:258::-;-1:-1:-1;;;;;26838:33:0;;26761:7;26838:33;;;:24;:33;;;;;26761:7;;;;26817:55;;26826:10;;26817:8;:55::i;:::-;26781:91;;;;26892:11;:40;;26914:18;26924:7;26914:9;:18::i;:::-;26892:40;;;26906:5;26892:40;26885:47;26682:258;-1:-1:-1;;;;;26682:258:0:o;34913:52::-;;;;;;;;;;;;-1:-1:-1;;;;;34913:52:0;;;;-1:-1:-1;;;34913:52:0;;;;:::o;36666:158::-;36735:4;36752:42;36764:10;36776:9;36787:6;36752:11;:42::i;16113:110::-;-1:-1:-1;;;;;16197:18:0;16170:7;16197:18;;;:9;:18;;;;;;;16113:110::o;36127:164::-;-1:-1:-1;;;;;36247:18:0;;36197:7;36247:18;;;:9;:18;;;;;:35;36224:59;;-1:-1:-1;;;;;36247:35:0;36224:18;36257:7;36224:9;:18::i;:::-;:22;:59;:22;:59;:::i;41691:109::-;39824:5;;-1:-1:-1;;;;;39824:5:0;39810:10;:19;39802:49;;;;;-1:-1:-1;;;39802:49:0;;;;;;;;;;;;-1:-1:-1;;;39802:49:0;;;;;;;;;;;;;;;41770:22;41776:7;41785:6;41770:5;:22::i;39950:78::-;1045:12;;;;;;;;:31;;;1061:15;:13;:15::i;:::-;1045:47;;;-1:-1:-1;1081:11:0;;;;1080:12;1045:47;1037:106;;;;-1:-1:-1;;;1037:106:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1152:19;1175:12;;;;;;1174:13;1194:83;;;;1223:12;:19;;-1:-1:-1;;;;1223:19:0;;;;;1251:18;1238:4;1251:18;;;1194:83;40002:5;:18;;-1:-1:-1;;;;;;40002:18:0;40010:10;40002:18;;;1295:57;;;;1339:5;1324:20;;-1:-1:-1;;1324:20:0;;;1295:57;39950:78;:::o;39686:28::-;;;-1:-1:-1;;;;;39686:28:0;;:::o;5716:87::-;5788:7;5781:14;;;;;;;;-1:-1:-1;;5781:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5755:13;;5781:14;;5788:7;;5781:14;;5788:7;5781:14;;;;;;;;;;;;;;;;;;;;;;;;41464:106;39824:5;;41509:17;;-1:-1:-1;;;;;39824:5:0;39810:10;:19;39802:49;;;;;-1:-1:-1;;;39802:49:0;;;;;;;;;;;;-1:-1:-1;;;39802:49:0;;;;;;;;;;;;;;;41551:11;:9;:11::i;:::-;41539:23;;41464:106;:::o;27044:225::-;27107:7;27128:16;27146:13;27163:43;27172:10;27184:21;27163:8;:43::i;:::-;27127:79;;;;27226:11;:35;;27248:13;:11;:13::i;:::-;27226:35;;;27240:5;27226:35;27219:42;27044:225;-1:-1:-1;;;;27044:225:0:o;36874:426::-;37208:4;37122:9;37133;37144:6;37152:19;37173:10;35762:19;35756:3;:25;35748:53;;;;;-1:-1:-1;;;35748:53:0;;;;;;;;;;;;-1:-1:-1;;;35748:53:0;;;;;;;;;;;;;;;35839:134;;;35878:4;35839:134;;;;;;;;;;;;;;;;-1:-1:-1;;35839:134:0;;;;;;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;35839:134:0;;;;;;;35829:145;;;;;36006:24;35829:145;36019:10;36006:12;:24::i;:::-;-1:-1:-1;;;;;35993:37:0;:9;-1:-1:-1;;;;;35993:37:0;;35985:77;;;;;-1:-1:-1;;;35985:77:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;37231:39;37241:9;37252;37263:6;37231:9;:39::i;:::-;-1:-1:-1;37288:4:0;;36874:426;-1:-1:-1;;;;;;;;;;;36874:426:0:o;18976:257::-;19061:4;19078:125;19087:10;19099:7;19108:94;19145:15;19108:94;;;;;;;;;;;;;;;;;19120:10;19108:23;;;;:11;:23;;;;;;;;-1:-1:-1;;;;;19108:32:0;;;;;;;;;;;:94;;:36;:94;:::i;40144:111::-;39824:5;;-1:-1:-1;;;;;39824:5:0;39810:10;:19;39802:49;;;;;-1:-1:-1;;;39802:49:0;;;;;;;;;;;;-1:-1:-1;;;39802:49:0;;;;;;;;;;;;;;;40219:17;:28;;-1:-1:-1;;;;;;40219:28:0;-1:-1:-1;;;;;40219:28:0;;;;;;;;;;40144:111::o;16436:156::-;16505:4;16522:40;16532:10;16544:9;16555:6;16522:9;:40::i;40036:100::-;1045:12;;;;;;;;:31;;;1061:15;:13;:15::i;:::-;1045:47;;;-1:-1:-1;1081:11:0;;;;1080:12;1045:47;1037:106;;;;-1:-1:-1;;;1037:106:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1152:19;1175:12;;;;;;1174:13;1194:83;;;;1223:12;:19;;-1:-1:-1;;;;1223:19:0;;;;;1251:18;1238:4;1251:18;;;1194:83;40112:5;:16;;-1:-1:-1;;;;;;40112:16:0;-1:-1:-1;;;;;40112:16:0;;;;;1295:57;;;;1339:5;1324:20;;-1:-1:-1;;1324:20:0;;;40036:100;;:::o;16655:134::-;-1:-1:-1;;;;;16754:18:0;;;16727:7;16754:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;16655:134::o;40625:335::-;1045:12;;;;;;;;:31;;;1061:15;:13;:15::i;:::-;1045:47;;;-1:-1:-1;1081:11:0;;;;1080:12;1045:47;1037:106;;;;-1:-1:-1;;;1037:106:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1152:19;1175:12;;;;;;1174:13;1194:83;;;;1223:12;:19;;-1:-1:-1;;;;1223:19:0;;;;;1251:18;1238:4;1251:18;;;1194:83;40849:51;40874:5;40881:7;40890:9;40849:24;:51::i;:::-;40911:41;40940:11;40911:28;:41::i;:::-;1299:14;1295:57;;;1339:5;1324:20;;-1:-1:-1;;1324:20:0;;;1295:57;40625:335;;;;;:::o;40263:146::-;40326:17;;-1:-1:-1;;;;;40326:17:0;40312:10;:31;40304:61;;;;;-1:-1:-1;;;40304:61:0;;;;;;;;;;;;-1:-1:-1;;;40304:61:0;;;;;;;;;;;;;;;40384:17;;40376:5;:25;;-1:-1:-1;;;;;;40376:25:0;-1:-1:-1;;;;;40384:17:0;;;40376:25;;;;;;40263:146::o;37308:430::-;37644:4;37558:9;37569;37580:6;37588:19;37609:10;35762:19;35756:3;:25;35748:53;;;;;-1:-1:-1;;;35748:53:0;;;;;;;;;;;;-1:-1:-1;;;35748:53:0;;;;;;;;;;;;;;;35839:134;;;35878:4;35839:134;;;;;;;;;;;;;;;;-1:-1:-1;;35839:134:0;;;;;;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;35839:134:0;;;;;;;35829:145;;;;;36006:24;35829:145;36019:10;36006:12;:24::i;:::-;-1:-1:-1;;;;;35993:37:0;:9;-1:-1:-1;;;;;35993:37:0;;35985:77;;;;;-1:-1:-1;;;35985:77:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;37667:41;37679:9;37690;37701:6;37667:11;:41::i;41040:379::-;41128:4;41174:7;:14;41153:10;:17;:35;41145:72;;;;;-1:-1:-1;;;41145:72:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;41273:6;41268:120;41289:10;:17;41285:1;:21;41268:120;;;41328:48;41338:10;41350;41361:1;41350:13;;;;;;;;;;;;;;41365:7;41373:1;41365:10;;;;;;;;;;;;;;41328:9;:48::i;:::-;41308:3;;41268:120;;7782:136;7840:7;7867:43;7871:1;7874;7867:43;;;;;;;;;;;;;;;;;:3;:43::i;:::-;7860:50;7782:136;-1:-1:-1;;;7782:136:0:o;21903:338::-;-1:-1:-1;;;;;21997:19:0;;21989:68;;;;-1:-1:-1;;;21989:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;22076:21:0;;22068:68;;;;-1:-1:-1;;;22068:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;22149:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;22201:32;;;;;;;;;;;;;;;;;21903:338;;;:::o;37781:721::-;37887:9;-1:-1:-1;;;;;37878:18:0;:5;-1:-1:-1;;;;;37878:18:0;;;37870:70;;;;-1:-1:-1;;;37870:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;38038:16:0;;;;;;:9;:16;;;;;:33;38030:54;;-1:-1:-1;;;;;38038:33:0;38077:6;38030:54;:46;:54;:::i;:::-;-1:-1:-1;;;;;37986:16:0;;;;;;;:9;:16;;;;;;:99;;-1:-1:-1;;;;;;37986:99:0;-1:-1:-1;;;;;37986:99:0;;;;;;38151:20;;;;;;:36;38143:57;;-1:-1:-1;;;38151:36:0;;;;38193:6;38143:49;:57::i;:::-;-1:-1:-1;;;;;38096:20:0;;;;;;;:9;:20;;;;;;;;:105;;-1:-1:-1;;;;;38096:105:0;;;-1:-1:-1;;;38096:105:0;;;;;;;38279:48;;;;;-1:-1:-1;38279:41:0;;;:48;;;;38271:69;;38279:48;38333:6;38271:69;:61;:69;:::i;:::-;-1:-1:-1;;;;;38212:20:0;;;;;;;:9;:20;;;;;;;;:48;;;;;:41;;;;:48;;;:129;;-1:-1:-1;;;;;;38212:129:0;-1:-1:-1;;;;;38212:129:0;;;;;;;;;;38406:35;38212:48;:20;38434:6;38406:9;:35::i;:::-;38476:9;-1:-1:-1;;;;;38459:35:0;38469:5;-1:-1:-1;;;;;38459:35:0;;38487:6;38459:35;;;;;;;;;;;;;;;;;;37781:721;;;:::o;1446:508::-;1863:4;1909:17;1941:7;1446:508;:::o;39242:171::-;39336:6;39344;35282:12;35297:24;35307:13;35297:9;:24::i;:::-;-1:-1:-1;;;;;35355:24:0;;35332:20;35355:24;;;:9;:24;;;;;:40;35282:39;;-1:-1:-1;;;;35355:40:0;;-1:-1:-1;;;;;35355:40:0;35446:14;35414:28;35282:39;35355:40;35414:11;:28::i;:::-;:46;;35406:87;;;;;-1:-1:-1;;;35406:87:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;39363:42;39379:6;39387:9;39398:6;39363:15;:42::i;:::-;39242:171;;;;;;;:::o;8255:192::-;8341:7;8377:12;8369:6;;;;8361:29;;;;-1:-1:-1;;;8361:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;8361:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;8413:5:0;;;8255:192::o;7326:181::-;7384:7;7416:5;;;7440:6;;;;7432:46;;;;;-1:-1:-1;;;7432:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;27783:185;27850:31;27873:7;27850:22;:31::i;:::-;27892:28;:26;:28::i;:::-;27933:27;27945:7;27954:5;27933:11;:27::i;28169:1692::-;28267:4;28273:7;28319:1;28306:10;:14;28298:49;;;;;-1:-1:-1;;;28298:49:0;;;;;;;;;;;;-1:-1:-1;;;28298:49:0;;;;;;;;;;;;;;;28434:28;:18;:26;:28::i;:::-;28420:10;:42;;28412:84;;;;;-1:-1:-1;;;28412:84:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;29635:13;29651:40;:9;29680:10;29651:40;:28;:40;:::i;:::-;29717:20;;29635:56;;-1:-1:-1;29708:29:0;;29704:150;;;-1:-1:-1;29762:5:0;;-1:-1:-1;29762:5:0;;-1:-1:-1;29754:17:0;;29704:150;29812:4;29818:9;:16;;29835:5;29818:23;;;;;;;;;;;;;;;;29804:38;;;;;28169:1692;;;;;;:::o;38510:658::-;-1:-1:-1;;;;;38702:16:0;;;;;;:9;:16;;;;;:33;38694:54;;-1:-1:-1;;;;;38702:33:0;38741:6;38694:54;:46;:54;:::i;:::-;-1:-1:-1;;;;;38650:16:0;;;;;;;:9;:16;;;;;;:99;;-1:-1:-1;;;;;;38650:99:0;-1:-1:-1;;;;;38650:99:0;;;;;;38815:20;;;;;;:36;38807:57;;-1:-1:-1;;;38815:36:0;;;;38857:6;38807:49;:57::i;:::-;-1:-1:-1;;;;;38760:20:0;;;;;;;:9;:20;;;;;;;;:105;;-1:-1:-1;;;;;38760:105:0;;;-1:-1:-1;;;38760:105:0;;;;;;;38943:48;;;;;-1:-1:-1;38943:41:0;;;:48;;;;38935:69;;38943:48;38997:6;38935:69;:61;:69;:::i;:::-;-1:-1:-1;;;;;38876:20:0;;;;;;;:9;:20;;;;;;;;:48;;;;;:41;;;;:48;;;:129;;-1:-1:-1;;;;;;38876:129:0;-1:-1:-1;;;;;38876:129:0;;;;;;;;;;39070:35;38876:20;:48;39098:6;39070:9;:35::i;:::-;39142:9;-1:-1:-1;;;;;39123:37:0;39135:5;-1:-1:-1;;;;;39123:37:0;;39153:6;39123:37;;;;;;;;;;;;;;;;;;38510:658;;;:::o;39421:136::-;39493:7;39502:6;35282:12;35297:24;35307:13;35297:9;:24::i;:::-;-1:-1:-1;;;;;35355:24:0;;35332:20;35355:24;;;:9;:24;;;;;:40;35282:39;;-1:-1:-1;;;;35355:40:0;;-1:-1:-1;;;;;35355:40:0;35446:14;35414:28;35282:39;35355:40;35414:11;:28::i;:::-;:46;;35406:87;;;;;-1:-1:-1;;;35406:87:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;39521:28;39533:7;39542:6;39521:11;:28::i;:::-;39421:136;;;;;;:::o;26350:220::-;26389:7;26409:30;:18;:28;:30::i;:::-;26452:17;26472:28;:18;:26;:28::i;:::-;26516:19;;;;;;;;26452:48;;-1:-1:-1;26516:19:0;;;;;;;;;;26553:9;-1:-1:-1;26350:220:0;:::o;31954:1930::-;32032:7;32095:9;:16;32115:2;32095:22;32091:74;;-1:-1:-1;32150:1:0;32134:19;;32091:74;32526:4;32511:20;;32505:27;32572:4;32557:20;;32551:27;32626:4;32611:20;;32605:27;32234:9;32597:36;33556:66;33543:79;;33539:129;;;33654:1;33639:17;;;;;;;33539:129;33684:1;:7;;33689:2;33684:7;;:18;;;;;33695:1;:7;;33700:2;33695:7;;33684:18;33680:68;;;33734:1;33719:17;;;;;;;33680:68;33852:24;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;33852:24:0;;;;;;;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;;33852:24:0;;-1:-1:-1;;33852:24:0;;;31954:1930;-1:-1:-1;;;;;;;31954:1930:0:o;27577:198::-;27657:28;27680:4;27657:22;:28::i;:::-;27696:26;27719:2;27696:22;:26::i;:::-;27735:32;27751:4;27757:2;27761:5;27735:15;:32::i;:::-;27577:198;;;:::o;29869:146::-;-1:-1:-1;;;;;29953:33:0;;;;;;:24;:33;;;;;29937:70;;29988:18;29978:7;29988:9;:18::i;:::-;29937:15;:70::i;30023:118::-;30080:53;30096:21;30119:13;:11;:13::i;30080:53::-;30023:118::o;20475:308::-;-1:-1:-1;;;;;20551:21:0;;20543:65;;;;;-1:-1:-1;;;20543:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;20636:12;;:24;;20653:6;20636:24;:16;:24;:::i;:::-;20621:12;:39;-1:-1:-1;;;;;20692:18:0;;;;;;:9;:18;;;;;;:30;;20715:6;20692:30;:22;:30;:::i;:::-;-1:-1:-1;;;;;20671:18:0;;;;;;:9;:18;;;;;;;;:51;;;;20738:37;;;;;;;20671:18;;;;20738:37;;;;;;;;;;20475:308;;:::o;15158:114::-;15250:14;;15158:114::o;13204:918::-;13317:12;;13293:7;;13313:58;;-1:-1:-1;13358:1:0;13351:8;;13313:58;13424:12;;13383:11;;13449:424;13462:4;13456:3;:10;13449:424;;;13483:11;13497:23;13510:3;13515:4;13497:12;:23::i;:::-;13483:37;;13754:7;13741:5;13747:3;13741:10;;;;;;;;;;;;;;;;:20;13737:125;;;13789:3;13782:10;;13737:125;;;13839:3;13845:1;13839:7;13833:13;;13737:125;13449:424;;;;13999:1;13993:3;:7;:36;;;;;14022:7;14004:5;14016:1;14010:3;:7;14004:14;;;;;;;;;;;;;;;;:25;13993:36;13989:126;;;-1:-1:-1;;;14053:7:0;;-1:-1:-1;14046:14:0;;13989:126;-1:-1:-1;14100:3:0;-1:-1:-1;14093:10:0;;27976:185;28043:31;28066:7;28043:22;:31::i;:::-;28085:28;:26;:28::i;:::-;28126:27;28138:7;28147:5;28126:11;:27::i;15280:181::-;15434:19;;15452:1;15434:19;;;15280:181::o;19723:471::-;-1:-1:-1;;;;;19821:20:0;;19813:70;;;;-1:-1:-1;;;19813:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;19902:23:0;;19894:71;;;;-1:-1:-1;;;19894:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19998;20020:6;19998:71;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;19998:17:0;;;;;;:9;:17;;;;;;;:71;;:21;:71;:::i;:::-;-1:-1:-1;;;;;19978:17:0;;;;;;;:9;:17;;;;;;:91;;;;20103:20;;;;;;;:32;;20128:6;20103:32;:24;:32;:::i;:::-;-1:-1:-1;;;;;20080:20:0;;;;;;;:9;:20;;;;;;;;;:55;;;;20151:35;;;;;;;20080:20;;20151:35;;;;;;;;;;;;;19723:471;;;:::o;30149:315::-;30244:17;30264:28;:18;:26;:28::i;:::-;30244:48;-1:-1:-1;30244:48:0;30307:30;30323:9;30307:15;:30::i;:::-;:42;30303:154;;;27:10:-1;;39:1;23:18;;;45:23;;-1:-1;30366:29:0;;;;;;;;;;;;;;30410:16;;;27:10:-1;;23:18;;;45:23;;30410:35:0;;;;;;;;30149:315::o;12495:193::-;12557:7;12678:1;;12669;:5;12665:1;12661;:5;:13;12660:19;;;;;;12654:1;12650;:5;12644:1;12640;:5;12639:17;:41;;12495:193;-1:-1:-1;;;12495:193:0:o;21115:348::-;-1:-1:-1;;;;;21191:21:0;;21183:67;;;;-1:-1:-1;;;21183:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21284:68;21307:6;21284:68;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;21284:18:0;;;;;;:9;:18;;;;;;;:68;;:22;:68;:::i;:::-;-1:-1:-1;;;;;21263:18:0;;;;;;:9;:18;;;;;:89;21378:12;;:24;;21395:6;21378:24;:16;:24;:::i;:::-;21363:12;:39;21418:37;;;;;;;;21444:1;;-1:-1:-1;;;;;21418:37:0;;;;;;;;;;;;21115:348;;:::o;30472:212::-;30566:10;;30542:7;;30562:115;;-1:-1:-1;30605:1:0;30598:8;;30562:115;30650:10;;30646:3;;-1:-1:-1;;30650:14:0;;;30646:19;;;;;;;;;;;;;;30639:26;;;;40454:1349;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;40454:1349:0;;;-1:-1:-1;40454:1349:0;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;
Swarm Source
bzzr://c7e26a7cd2c46a9bfcd2269a82dff241a8ed52fdeb9da21c1d81d02ce00c450f
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.