Contract
0x25d2e80cb6b86881fd7e07dd263fb79f4abe033c
17
[ Download CSV Export ]
Latest 1 internal transaction
Parent Txn Hash | Block | From | To | Value | |||
---|---|---|---|---|---|---|---|
0xb16db559be86eee143a021a10f05e641bd6d8591034ee6c0b2225ee434e3a1de | 1511682 | 484 days 15 hrs ago | 0x43db0ae258112eb8c58fb193b1c3809693690ec8 | MDEX: MDX Token | 0.001 HT |
[ Download CSV Export ]
Contract Name:
MdxToken
Compiler Version
v0.6.12+commit.27d51765
Contract Source Code (Solidity)
/** *Submitted for verification at hecoinfo.com on 2021-02-02 */ // SPDX-License-Identifier: MIT pragma solidity ^0.6.0; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with GSN meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address payable) { return msg.sender; } function _msgData() internal view virtual returns (bytes memory) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } } /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor () internal { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } /** * @dev Returns the address of the current owner. */ function owner() public view returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(_owner == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } } /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address sender, address recipient, uint256 amount) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); } /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming languages. * `SafeMath` restores this intuition by reverting the transaction when an * operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return sub(a, b, "SafeMath: subtraction overflow"); } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers. Reverts on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return div(a, b, "SafeMath: division by zero"); } /** * @dev Returns the integer division of two unsigned integers. Reverts with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return mod(a, b, "SafeMath: modulo by zero"); } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts with custom message when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } } /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // According to EIP-1052, 0x0 is the value returned for not-yet created accounts // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned // for accounts without code, i.e. `keccak256('')` bytes32 codehash; bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470; // solhint-disable-next-line no-inline-assembly assembly {codehash := extcodehash(account)} return (codehash != accountHash && codehash != 0x0); } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); // solhint-disable-next-line avoid-low-level-calls, avoid-call-value (bool success,) = recipient.call{value : amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain`call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { return _functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); return _functionCallWithValue(target, data, value, errorMessage); } function _functionCallWithValue(address target, bytes memory data, uint256 weiValue, string memory errorMessage) private returns (bytes memory) { require(isContract(target), "Address: call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.call{value : weiValue}(data); if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly // solhint-disable-next-line no-inline-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin guidelines: functions revert instead * of returning `false` on failure. This behavior is nonetheless conventional * and does not conflict with the expectations of ERC20 applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20 { using SafeMath for uint256; using Address for address; mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; uint8 private _decimals; /** * @dev Sets the values for {name} and {symbol}, initializes {decimals} with * a default value of 18. * * To select a different value for {decimals}, use {_setupDecimals}. * * All three of these values are immutable: they can only be set once during * construction. */ constructor (string memory name, string memory symbol) public { _name = name; _symbol = symbol; _decimals = 18; } /** * @dev Returns the name of the token. */ function name() public view returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5,05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless {_setupDecimals} is * called. * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view returns (uint8) { return _decimals; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `recipient` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(_msgSender(), spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}; * * Requirements: * - `sender` and `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. * - the caller must have allowance for ``sender``'s tokens of at least * `amount`. */ function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) { _transfer(sender, recipient, amount); _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance")); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue)); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero")); return true; } /** * @dev Moves tokens `amount` from `sender` to `recipient`. * * This is internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `sender` cannot be the zero address. * - `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. */ function _transfer(address sender, address recipient, uint256 amount) internal virtual { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(sender, recipient, amount); _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance"); _balances[recipient] = _balances[recipient].add(amount); emit Transfer(sender, recipient, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements * * - `to` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply = _totalSupply.add(amount); _balances[account] = _balances[account].add(amount); emit Transfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance"); _totalSupply = _totalSupply.sub(amount); emit Transfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner`s tokens. * * This 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 virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Sets {decimals} to a value other than the default one of 18. * * WARNING: This function should only be called from the constructor. Most * applications that interact with token contracts will not expect * {decimals} to ever change, and may work incorrectly if it does. */ function _setupDecimals(uint8 decimals_) internal { _decimals = decimals_; } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be to transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual {} } library EnumerableSet { // To implement this library for multiple types with as little code // repetition as possible, we write it in terms of a generic Set type with // bytes32 values. // The Set implementation uses private functions, and user-facing // implementations (such as AddressSet) are just wrappers around the // underlying Set. // This means that we can only create new EnumerableSets for types that fit // in bytes32. struct Set { // Storage of set values bytes32[] _values; // Position of the value in the `values` array, plus 1 because index 0 // means a value is not in the set. mapping (bytes32 => uint256) _indexes; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function _add(Set storage set, bytes32 value) private returns (bool) { if (!_contains(set, value)) { set._values.push(value); // The value is stored at length-1, but we add 1 to all indexes // and use 0 as a sentinel value set._indexes[value] = set._values.length; return true; } else { return false; } } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function _remove(Set storage set, bytes32 value) private returns (bool) { // We read and store the value's index to prevent multiple reads from the same storage slot uint256 valueIndex = set._indexes[value]; if (valueIndex != 0) { // Equivalent to contains(set, value) // To delete an element from the _values array in O(1), we swap the element to delete with the last one in // the array, and then remove the last element (sometimes called as 'swap and pop'). // This modifies the order of the array, as noted in {at}. uint256 toDeleteIndex = valueIndex - 1; uint256 lastIndex = set._values.length - 1; // When the value to delete is the last one, the swap operation is unnecessary. However, since this occurs // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement. bytes32 lastvalue = set._values[lastIndex]; // Move the last value to the index where the value to delete is set._values[toDeleteIndex] = lastvalue; // Update the index for the moved value set._indexes[lastvalue] = toDeleteIndex + 1; // All indexes are 1-based // Delete the slot where the moved value was stored set._values.pop(); // Delete the index for the deleted slot delete set._indexes[value]; return true; } else { return false; } } /** * @dev Returns true if the value is in the set. O(1). */ function _contains(Set storage set, bytes32 value) private view returns (bool) { return set._indexes[value] != 0; } /** * @dev Returns the number of values on the set. O(1). */ function _length(Set storage set) private view returns (uint256) { return set._values.length; } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function _at(Set storage set, uint256 index) private view returns (bytes32) { require(set._values.length > index, "EnumerableSet: index out of bounds"); return set._values[index]; } // Bytes32Set struct Bytes32Set { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(Bytes32Set storage set, bytes32 value) internal returns (bool) { return _add(set._inner, value); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) { return _remove(set._inner, value); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) { return _contains(set._inner, value); } /** * @dev Returns the number of values in the set. O(1). */ function length(Bytes32Set storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) { return _at(set._inner, index); } // AddressSet struct AddressSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(AddressSet storage set, address value) internal returns (bool) { return _add(set._inner, bytes32(uint256(value))); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(AddressSet storage set, address value) internal returns (bool) { return _remove(set._inner, bytes32(uint256(value))); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(AddressSet storage set, address value) internal view returns (bool) { return _contains(set._inner, bytes32(uint256(value))); } /** * @dev Returns the number of values in the set. O(1). */ function length(AddressSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(AddressSet storage set, uint256 index) internal view returns (address) { return address(uint256(_at(set._inner, index))); } // UintSet struct UintSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(UintSet storage set, uint256 value) internal returns (bool) { return _add(set._inner, bytes32(value)); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(UintSet storage set, uint256 value) internal returns (bool) { return _remove(set._inner, bytes32(value)); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(UintSet storage set, uint256 value) internal view returns (bool) { return _contains(set._inner, bytes32(value)); } /** * @dev Returns the number of values on the set. O(1). */ function length(UintSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(UintSet storage set, uint256 index) internal view returns (uint256) { return uint256(_at(set._inner, index)); } } pragma solidity ^0.6.0; pragma experimental ABIEncoderV2; abstract contract DelegateERC20 is ERC20 { // @notice A record of each accounts delegate mapping (address => address) internal _delegates; /// @notice A checkpoint for marking number of votes from a given block struct Checkpoint { uint32 fromBlock; uint256 votes; } /// @notice A record of votes checkpoints for each account, by index mapping (address => mapping (uint32 => Checkpoint)) public checkpoints; /// @notice The number of checkpoints for each account mapping (address => uint32) public numCheckpoints; /// @notice The EIP-712 typehash for the contract's domain bytes32 public constant DOMAIN_TYPEHASH = keccak256("EIP712Domain(string name,uint256 chainId,address verifyingContract)"); /// @notice The EIP-712 typehash for the delegation struct used by the contract bytes32 public constant DELEGATION_TYPEHASH = keccak256("Delegation(address delegatee,uint256 nonce,uint256 expiry)"); /// @notice A record of states for signing / validating signatures mapping (address => uint) public nonces; // support delegates mint function _mint(address account, uint256 amount) internal override virtual { super._mint(account, amount); // add delegates to the minter _moveDelegates(address(0), _delegates[account], amount); } function _transfer(address sender, address recipient, uint256 amount) internal override virtual { super._transfer(sender, recipient, amount); _moveDelegates(_delegates[sender], _delegates[recipient], amount); } /** * @notice Delegate votes from `msg.sender` to `delegatee` * @param delegatee The address to delegate votes to */ function delegate(address delegatee) external { return _delegate(msg.sender, delegatee); } /** * @notice Delegates votes from signatory to `delegatee` * @param delegatee The address to delegate votes to * @param nonce The contract state required to match the signature * @param expiry The time at which to expire the signature * @param v The recovery byte of the signature * @param r Half of the ECDSA signature pair * @param s Half of the ECDSA signature pair */ function delegateBySig( address delegatee, uint nonce, uint expiry, uint8 v, bytes32 r, bytes32 s ) external { bytes32 domainSeparator = keccak256( abi.encode( DOMAIN_TYPEHASH, keccak256(bytes(name())), getChainId(), address(this) ) ); bytes32 structHash = keccak256( abi.encode( DELEGATION_TYPEHASH, delegatee, nonce, expiry ) ); bytes32 digest = keccak256( abi.encodePacked( "\x19\x01", domainSeparator, structHash ) ); address signatory = ecrecover(digest, v, r, s); require(signatory != address(0), "MdxToken::delegateBySig: invalid signature"); require(nonce == nonces[signatory]++, "MdxToken::delegateBySig: invalid nonce"); require(now <= expiry, "MdxToken::delegateBySig: signature expired"); return _delegate(signatory, delegatee); } /** * @notice Gets the current votes balance for `account` * @param account The address to get votes balance * @return The number of current votes for `account` */ function getCurrentVotes(address account) external view returns (uint256) { uint32 nCheckpoints = numCheckpoints[account]; return nCheckpoints > 0 ? checkpoints[account][nCheckpoints - 1].votes : 0; } /** * @notice Determine the prior number of votes for an account as of a block number * @dev Block number must be a finalized block or else this function will revert to prevent misinformation. * @param account The address of the account to check * @param blockNumber The block number to get the vote balance at * @return The number of votes the account had as of the given block */ function getPriorVotes(address account, uint blockNumber) external view returns (uint256) { require(blockNumber < block.number, "MdxToken::getPriorVotes: not yet determined"); uint32 nCheckpoints = numCheckpoints[account]; if (nCheckpoints == 0) { return 0; } // First check most recent balance if (checkpoints[account][nCheckpoints - 1].fromBlock <= blockNumber) { return checkpoints[account][nCheckpoints - 1].votes; } // Next check implicit zero balance if (checkpoints[account][0].fromBlock > blockNumber) { return 0; } uint32 lower = 0; uint32 upper = nCheckpoints - 1; while (upper > lower) { uint32 center = upper - (upper - lower) / 2; // ceil, avoiding overflow Checkpoint memory cp = checkpoints[account][center]; if (cp.fromBlock == blockNumber) { return cp.votes; } else if (cp.fromBlock < blockNumber) { lower = center; } else { upper = center - 1; } } return checkpoints[account][lower].votes; } function _delegate(address delegator, address delegatee) internal { address currentDelegate = _delegates[delegator]; uint256 delegatorBalance = balanceOf(delegator); // balance of underlying balances (not scaled); _delegates[delegator] = delegatee; _moveDelegates(currentDelegate, delegatee, delegatorBalance); emit DelegateChanged(delegator, currentDelegate, delegatee); } function _moveDelegates(address srcRep, address dstRep, uint256 amount) internal { if (srcRep != dstRep && amount > 0) { if (srcRep != address(0)) { // decrease old representative uint32 srcRepNum = numCheckpoints[srcRep]; uint256 srcRepOld = srcRepNum > 0 ? checkpoints[srcRep][srcRepNum - 1].votes : 0; uint256 srcRepNew = srcRepOld.sub(amount); _writeCheckpoint(srcRep, srcRepNum, srcRepOld, srcRepNew); } if (dstRep != address(0)) { // increase new representative uint32 dstRepNum = numCheckpoints[dstRep]; uint256 dstRepOld = dstRepNum > 0 ? checkpoints[dstRep][dstRepNum - 1].votes : 0; uint256 dstRepNew = dstRepOld.add(amount); _writeCheckpoint(dstRep, dstRepNum, dstRepOld, dstRepNew); } } } function _writeCheckpoint( address delegatee, uint32 nCheckpoints, uint256 oldVotes, uint256 newVotes ) internal { uint32 blockNumber = safe32(block.number, "MdxToken::_writeCheckpoint: block number exceeds 32 bits"); if (nCheckpoints > 0 && checkpoints[delegatee][nCheckpoints - 1].fromBlock == blockNumber) { checkpoints[delegatee][nCheckpoints - 1].votes = newVotes; } else { checkpoints[delegatee][nCheckpoints] = Checkpoint(blockNumber, newVotes); numCheckpoints[delegatee] = nCheckpoints + 1; } emit DelegateVotesChanged(delegatee, oldVotes, newVotes); } function safe32(uint n, string memory errorMessage) internal pure returns (uint32) { require(n < 2**32, errorMessage); return uint32(n); } function getChainId() internal pure returns (uint) { uint256 chainId; assembly { chainId := chainid() } return chainId; } /// @notice An event thats emitted when an account changes its delegate event DelegateChanged(address indexed delegator, address indexed fromDelegate, address indexed toDelegate); /// @notice An event thats emitted when a delegate account's vote balance changes event DelegateVotesChanged(address indexed delegate, uint previousBalance, uint newBalance); } contract MdxToken is DelegateERC20, Ownable { uint256 private constant preMineSupply = 200000000 * 1e18; uint256 private constant maxSupply = 1000000000 * 1e18; // the total supply using EnumerableSet for EnumerableSet.AddressSet; EnumerableSet.AddressSet private _minters; constructor() public ERC20("MDX Token", "MDX"){ _mint(msg.sender, preMineSupply); } // mint with max supply function mint(address _to, uint256 _amount) public onlyMinter returns (bool) { if (_amount.add(totalSupply()) > maxSupply) { return false; } _mint(_to, _amount); return true; } function addMinter(address _addMinter) public onlyOwner returns (bool) { require(_addMinter != address(0), "MdxToken: _addMinter is the zero address"); return EnumerableSet.add(_minters, _addMinter); } function delMinter(address _delMinter) public onlyOwner returns (bool) { require(_delMinter != address(0), "MdxToken: _delMinter is the zero address"); return EnumerableSet.remove(_minters, _delMinter); } function getMinterLength() public view returns (uint256) { return EnumerableSet.length(_minters); } function isMinter(address account) public view returns (bool) { return EnumerableSet.contains(_minters, account); } function getMinter(uint256 _index) public view onlyOwner returns (address){ require(_index <= getMinterLength() - 1, "MdxToken: index out of bounds"); return EnumerableSet.at(_minters, _index); } // modifier for mint function modifier onlyMinter() { require(isMinter(msg.sender), "caller is not the minter"); _; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"delegator","type":"address"},{"indexed":true,"internalType":"address","name":"fromDelegate","type":"address"},{"indexed":true,"internalType":"address","name":"toDelegate","type":"address"}],"name":"DelegateChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"delegate","type":"address"},{"indexed":false,"internalType":"uint256","name":"previousBalance","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newBalance","type":"uint256"}],"name":"DelegateVotesChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"DELEGATION_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DOMAIN_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_addMinter","type":"address"}],"name":"addMinter","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint32","name":"","type":"uint32"}],"name":"checkpoints","outputs":[{"internalType":"uint32","name":"fromBlock","type":"uint32"},{"internalType":"uint256","name":"votes","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_delMinter","type":"address"}],"name":"delMinter","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"delegatee","type":"address"}],"name":"delegate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"delegatee","type":"address"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"uint256","name":"expiry","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"delegateBySig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getCurrentVotes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_index","type":"uint256"}],"name":"getMinter","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMinterLength","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"blockNumber","type":"uint256"}],"name":"getPriorVotes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isMinter","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"numCheckpoints","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b506040518060400160405280600981526020016826a22c102a37b5b2b760b91b8152506040518060400160405280600381526020016209a88b60eb1b815250816003908051906020019062000068929190620005f1565b5080516200007e906004906020840190620005f1565b50506005805460ff191660121790555060006200009a62000105565b600a80546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350620000ff336aa56fa5b99019a5c800000062000109565b62000768565b3390565b6200012082826200014b60201b62000e8d1760201c565b6001600160a01b038083166000908152600660205260408120546200014792168362000237565b5050565b6001600160a01b0382166200017d5760405162461bcd60e51b815260040162000174906200071a565b60405180910390fd5b6200018b60008383620003a4565b620001a781600254620003a960201b62000f4d1790919060201c565b6002556001600160a01b03821660009081526020818152604090912054620001da91839062000f4d620003a9821b17901c565b6001600160a01b0383166000818152602081905260408082209390935591519091907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906200022b90859062000751565b60405180910390a35050565b816001600160a01b0316836001600160a01b0316141580156200025a5750600081115b15620003a4576001600160a01b0383161562000302576001600160a01b03831660009081526008602052604081205463ffffffff1690816200029e576000620002d0565b6001600160a01b038516600090815260076020908152604080832063ffffffff60001987011684529091529020600101545b90506000620002ee8483620003d860201b62000f721790919060201c565b9050620002fe8684848462000422565b5050505b6001600160a01b03821615620003a4576001600160a01b03821660009081526008602052604081205463ffffffff1690816200034057600062000372565b6001600160a01b038416600090815260076020908152604080832063ffffffff60001987011684529091529020600101545b90506000620003908483620003a960201b62000f4d1790919060201c565b9050620003a08584848462000422565b5050505b505050565b600082820183811015620003d15760405162461bcd60e51b81526004016200017490620006e3565b9392505050565b6000620003d183836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506200058f60201b60201c565b600062000449436040518060600160405280603881526020016200271760389139620005be565b905060008463ffffffff161180156200049357506001600160a01b038516600090815260076020908152604080832063ffffffff6000198901811685529252909120548282169116145b15620004d2576001600160a01b038516600090815260076020908152604080832063ffffffff6000198901168452909152902060010182905562000543565b60408051808201825263ffffffff808416825260208083018681526001600160a01b038a166000818152600784528681208b8616825284528681209551865490861663ffffffff19918216178755925160019687015590815260089092529390208054928801909116919092161790555b846001600160a01b03167fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a7248484604051620005809291906200075a565b60405180910390a25050505050565b60008184841115620005b65760405162461bcd60e51b81526004016200017491906200068d565b505050900390565b6000816401000000008410620005e95760405162461bcd60e51b81526004016200017491906200068d565b509192915050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200063457805160ff191683800117855562000664565b8280016001018555821562000664579182015b828111156200066457825182559160200191906001019062000647565b506200067292915062000676565b5090565b5b8082111562000672576000815560010162000677565b6000602080835283518082850152825b81811015620006bb578581018301518582016040015282016200069d565b81811115620006cd5783604083870101525b50601f01601f1916929092016040019392505050565b6020808252601b908201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604082015260600190565b6020808252601f908201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604082015260600190565b90815260200190565b918252602082015260400190565b611f9f80620007786000396000f3fe608060405234801561001057600080fd5b50600436106101cf5760003560e01c8063715018a611610104578063a9059cbb116100a2578063dd62ed3e11610071578063dd62ed3e146103b0578063e7a324dc146103c3578063f1127ed8146103cb578063f2fde38b146103ec576101cf565b8063a9059cbb14610364578063aa271e1a14610377578063b4b5ea571461038a578063c3cda5201461039d576101cf565b80638da5cb5b116100de5780638da5cb5b1461032e57806395d89b4114610336578063983b2d561461033e578063a457c2d714610351576101cf565b8063715018a614610300578063782d6fe1146103085780637ecebe001461031b576101cf565b8063313ce567116101715780635b7121f81161014b5780635b7121f8146102985780635c19a95c146102b85780636fcfff45146102cd57806370a08231146102ed576101cf565b8063313ce5671461025d578063395093511461027257806340c10f1914610285576101cf565b806318160ddd116101ad57806318160ddd1461022757806320606b701461022f57806323338b881461023757806323b872dd1461024a576101cf565b80630323aac7146101d457806306fdde03146101f2578063095ea7b314610207575b600080fd5b6101dc6103ff565b6040516101e99190611948565b60405180910390f35b6101fa610410565b6040516101e991906119b7565b61021a61021536600461182e565b6104a6565b6040516101e9919061193d565b6101dc6104c4565b6101dc6104ca565b61021a61024536600461179f565b6104ee565b61021a6102583660046117ee565b61055f565b6102656105e6565b6040516101e99190611e9b565b61021a61028036600461182e565b6105ef565b61021a61029336600461182e565b61063d565b6102ab6102a63660046118f6565b61069b565b6040516101e99190611929565b6102cb6102c636600461179f565b610707565b005b6102e06102db36600461179f565b610714565b6040516101e99190611e74565b6101dc6102fb36600461179f565b61072c565b6102cb610747565b6101dc61031636600461182e565b6107c6565b6101dc61032936600461179f565b6109af565b6102ab6109c1565b6101fa6109d0565b61021a61034c36600461179f565b610a31565b61021a61035f36600461182e565b610a99565b61021a61037236600461182e565b610b01565b61021a61038536600461179f565b610b15565b6101dc61039836600461179f565b610b22565b6102cb6103ab366004611858565b610b86565b6101dc6103be3660046117ba565b610d5a565b6101dc610d85565b6103de6103d93660046118b7565b610da9565b6040516101e9929190611e85565b6102cb6103fa36600461179f565b610dd6565b600061040b600b610fb4565b905090565b60038054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561049c5780601f106104715761010080835404028352916020019161049c565b820191906000526020600020905b81548152906001019060200180831161047f57829003601f168201915b5050505050905090565b60006104ba6104b3610fbf565b8484610fc3565b5060015b92915050565b60025490565b7f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a86681565b60006104f8610fbf565b600a546001600160a01b0390811691161461052e5760405162461bcd60e51b815260040161052590611d29565b60405180910390fd5b6001600160a01b0382166105545760405162461bcd60e51b815260040161052590611da3565b6104be600b83611077565b600061056c84848461108c565b6105dc84610578610fbf565b6105d785604051806060016040528060288152602001611f1d602891396001600160a01b038a166000908152600160205260408120906105b6610fbf565b6001600160a01b0316815260208101919091526040016000205491906110ce565b610fc3565b5060019392505050565b60055460ff1690565b60006104ba6105fc610fbf565b846105d7856001600061060d610fbf565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490610f4d565b600061064833610b15565b6106645760405162461bcd60e51b815260040161052590611cbb565b6b033b2e3c9fd0803ce800000061068361067c6104c4565b8490610f4d565b1115610691575060006104be565b6104ba83836110fa565b60006106a5610fbf565b600a546001600160a01b039081169116146106d25760405162461bcd60e51b815260040161052590611d29565b60016106dc6103ff565b038211156106fc5760405162461bcd60e51b815260040161052590611cf2565b6104be600b8361112d565b6107113382611139565b50565b60086020526000908152604090205463ffffffff1681565b6001600160a01b031660009081526020819052604090205490565b61074f610fbf565b600a546001600160a01b0390811691161461077c5760405162461bcd60e51b815260040161052590611d29565b600a546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600a80546001600160a01b0319169055565b60004382106107e75760405162461bcd60e51b815260040161052590611ba9565b6001600160a01b03831660009081526008602052604090205463ffffffff16806108155760009150506104be565b6001600160a01b038416600090815260076020908152604080832063ffffffff600019860181168552925290912054168310610884576001600160a01b03841660009081526007602090815260408083206000199490940163ffffffff168352929052206001015490506104be565b6001600160a01b038416600090815260076020908152604080832083805290915290205463ffffffff168310156108bf5760009150506104be565b600060001982015b8163ffffffff168163ffffffff16111561097857600282820363ffffffff160481036108f1611771565b506001600160a01b038716600090815260076020908152604080832063ffffffff808616855290835292819020815180830190925280549093168082526001909301549181019190915290871415610953576020015194506104be9350505050565b805163ffffffff1687111561096a57819350610971565b6001820392505b50506108c7565b506001600160a01b038516600090815260076020908152604080832063ffffffff9094168352929052206001015491505092915050565b60096020526000908152604090205481565b600a546001600160a01b031690565b60048054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561049c5780601f106104715761010080835404028352916020019161049c565b6000610a3b610fbf565b600a546001600160a01b03908116911614610a685760405162461bcd60e51b815260040161052590611d29565b6001600160a01b038216610a8e5760405162461bcd60e51b815260040161052590611ad9565b6104be600b836111eb565b60006104ba610aa6610fbf565b846105d785604051806060016040528060258152602001611f456025913960016000610ad0610fbf565b6001600160a01b03908116825260208083019390935260409182016000908120918d168152925290205491906110ce565b60006104ba610b0e610fbf565b848461108c565b60006104be600b83611200565b6001600160a01b03811660009081526008602052604081205463ffffffff1680610b4d576000610b7f565b6001600160a01b038316600090815260076020908152604080832063ffffffff60001986011684529091529020600101545b9392505050565b60007f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a866610bb1610410565b80519060200120610bc0611215565b30604051602001610bd49493929190611975565b60405160208183030381529060405280519060200120905060007fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf888888604051602001610c259493929190611951565b60405160208183030381529060405280519060200120905060008282604051602001610c5292919061190e565b604051602081830303815290604052805190602001209050600060018288888860405160008152602001604052604051610c8f9493929190611999565b6020604051602081039080840390855afa158015610cb1573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116610ce45760405162461bcd60e51b815260040161052590611c2b565b6001600160a01b03811660009081526009602052604090208054600181019091558914610d235760405162461bcd60e51b815260040161052590611c75565b87421115610d435760405162461bcd60e51b815260040161052590611a8f565b610d4d818b611139565b505050505b505050505050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b7fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf81565b60076020908152600092835260408084209091529082529020805460019091015463ffffffff9091169082565b610dde610fbf565b600a546001600160a01b03908116911614610e0b5760405162461bcd60e51b815260040161052590611d29565b6001600160a01b038116610e315760405162461bcd60e51b815260040161052590611b21565b600a546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600a80546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b038216610eb35760405162461bcd60e51b815260040161052590611e2f565b610ebf600083836110c9565b600254610ecc9082610f4d565b6002556001600160a01b038216600090815260208190526040902054610ef29082610f4d565b6001600160a01b0383166000818152602081905260408082209390935591519091907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610f41908590611948565b60405180910390a35050565b600082820183811015610b7f5760405162461bcd60e51b815260040161052590611bf4565b6000610b7f83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506110ce565b60006104be82611219565b3390565b6001600160a01b038316610fe95760405162461bcd60e51b815260040161052590611deb565b6001600160a01b03821661100f5760405162461bcd60e51b815260040161052590611b67565b6001600160a01b0380841660008181526001602090815260408083209487168084529490915290819020849055517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259061106a908590611948565b60405180910390a3505050565b6000610b7f836001600160a01b03841661121d565b6110978383836112e3565b6001600160a01b038084166000908152600660205260408082205485841683529120546110c9929182169116836113f8565b505050565b600081848411156110f25760405162461bcd60e51b815260040161052591906119b7565b505050900390565b6111048282610e8d565b6001600160a01b038083166000908152600660205260408120546111299216836113f8565b5050565b6000610b7f8383611535565b6001600160a01b03808316600090815260066020526040812054909116906111608461072c565b6001600160a01b03858116600090815260066020526040902080546001600160a01b031916918616919091179055905061119b8284836113f8565b826001600160a01b0316826001600160a01b0316856001600160a01b03167f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f60405160405180910390a450505050565b6000610b7f836001600160a01b03841661157a565b6000610b7f836001600160a01b0384166115c4565b4690565b5490565b600081815260018301602052604081205480156112d9578354600019808301919081019060009087908390811061125057fe5b906000526020600020015490508087600001848154811061126d57fe5b60009182526020808320909101929092558281526001898101909252604090209084019055865487908061129d57fe5b600190038181906000526020600020016000905590558660010160008781526020019081526020016000206000905560019450505050506104be565b60009150506104be565b6001600160a01b0383166113095760405162461bcd60e51b815260040161052590611d5e565b6001600160a01b03821661132f5760405162461bcd60e51b815260040161052590611a4c565b61133a8383836110c9565b61137781604051806060016040528060268152602001611ef7602691396001600160a01b03861660009081526020819052604090205491906110ce565b6001600160a01b0380851660009081526020819052604080822093909355908416815220546113a69082610f4d565b6001600160a01b0380841660008181526020819052604090819020939093559151908516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9061106a908590611948565b816001600160a01b0316836001600160a01b03161415801561141a5750600081115b156110c9576001600160a01b038316156114ac576001600160a01b03831660009081526008602052604081205463ffffffff16908161145a57600061148c565b6001600160a01b038516600090815260076020908152604080832063ffffffff60001987011684529091529020600101545b9050600061149a8285610f72565b90506114a8868484846115dc565b5050505b6001600160a01b038216156110c9576001600160a01b03821660009081526008602052604081205463ffffffff1690816114e7576000611519565b6001600160a01b038416600090815260076020908152604080832063ffffffff60001987011684529091529020600101545b905060006115278285610f4d565b9050610d52858484846115dc565b815460009082106115585760405162461bcd60e51b815260040161052590611a0a565b82600001828154811061156757fe5b9060005260206000200154905092915050565b600061158683836115c4565b6115bc575081546001818101845560008481526020808220909301849055845484825282860190935260409020919091556104be565b5060006104be565b60009081526001919091016020526040902054151590565b600061160043604051806060016040528060388152602001611ebf60389139611741565b905060008463ffffffff1611801561164957506001600160a01b038516600090815260076020908152604080832063ffffffff6000198901811685529252909120548282169116145b15611686576001600160a01b038516600090815260076020908152604080832063ffffffff600019890116845290915290206001018290556116f7565b60408051808201825263ffffffff808416825260208083018681526001600160a01b038a166000818152600784528681208b8616825284528681209551865490861663ffffffff19918216178755925160019687015590815260089092529390208054928801909116919092161790555b846001600160a01b03167fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a7248484604051611732929190611e66565b60405180910390a25050505050565b60008164010000000084106117695760405162461bcd60e51b815260040161052591906119b7565b509192915050565b604080518082019091526000808252602082015290565b80356001600160a01b03811681146104be57600080fd5b6000602082840312156117b0578081fd5b610b7f8383611788565b600080604083850312156117cc578081fd5b6117d68484611788565b91506117e58460208501611788565b90509250929050565b600080600060608486031215611802578081fd5b833561180d81611ea9565b9250602084013561181d81611ea9565b929592945050506040919091013590565b60008060408385031215611840578182fd5b61184a8484611788565b946020939093013593505050565b60008060008060008060c08789031215611870578182fd5b61187a8888611788565b95506020870135945060408701359350606087013560ff8116811461189d578283fd5b9598949750929560808101359460a0909101359350915050565b600080604083850312156118c9578182fd5b6118d38484611788565b9150602083013563ffffffff811681146118eb578182fd5b809150509250929050565b600060208284031215611907578081fd5b5035919050565b61190160f01b81526002810192909252602282015260420190565b6001600160a01b0391909116815260200190565b901515815260200190565b90815260200190565b9384526001600160a01b039290921660208401526040830152606082015260800190565b938452602084019290925260408301526001600160a01b0316606082015260800190565b93845260ff9290921660208401526040830152606082015260800190565b6000602080835283518082850152825b818110156119e3578581018301518582016040015282016119c7565b818111156119f45783604083870101525b50601f01601f1916929092016040019392505050565b60208082526022908201527f456e756d657261626c655365743a20696e646578206f7574206f6620626f756e604082015261647360f01b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b6020808252602a908201527f4d6478546f6b656e3a3a64656c656761746542795369673a207369676e6174756040820152691c9948195e1c1a5c995960b21b606082015260800190565b60208082526028908201527f4d6478546f6b656e3a205f6164644d696e74657220697320746865207a65726f604082015267206164647265737360c01b606082015260800190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b60208082526022908201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604082015261737360f01b606082015260800190565b6020808252602b908201527f4d6478546f6b656e3a3a6765745072696f72566f7465733a206e6f742079657460408201526a0819195d195c9b5a5b995960aa1b606082015260800190565b6020808252601b908201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604082015260600190565b6020808252602a908201527f4d6478546f6b656e3a3a64656c656761746542795369673a20696e76616c6964604082015269207369676e617475726560b01b606082015260800190565b60208082526026908201527f4d6478546f6b656e3a3a64656c656761746542795369673a20696e76616c6964604082015265206e6f6e636560d01b606082015260800190565b60208082526018908201527f63616c6c6572206973206e6f7420746865206d696e7465720000000000000000604082015260600190565b6020808252601d908201527f4d6478546f6b656e3a20696e646578206f7574206f6620626f756e6473000000604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526028908201527f4d6478546f6b656e3a205f64656c4d696e74657220697320746865207a65726f604082015267206164647265737360c01b606082015260800190565b60208082526024908201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646040820152637265737360e01b606082015260800190565b6020808252601f908201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604082015260600190565b918252602082015260400190565b63ffffffff91909116815260200190565b63ffffffff929092168252602082015260400190565b60ff91909116815260200190565b6001600160a01b038116811461071157600080fdfe4d6478546f6b656e3a3a5f7772697465436865636b706f696e743a20626c6f636b206e756d6265722065786365656473203332206269747345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa26469706673582212200a894abfea5eb0fb48ef174fca2463e72e41175ac548f7f3f3c658f7877f3e0764736f6c634300060c00334d6478546f6b656e3a3a5f7772697465436865636b706f696e743a20626c6f636b206e756d62657220657863656564732033322062697473
Deployed ByteCode Sourcemap
45646:1781:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46793:113;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;19441:83;;;:::i;:::-;;;;;;;:::i;21547:169::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;20516:100::-;;;:::i;37844:122::-;;;:::i;46558:227::-;;;;;;:::i;:::-;;:::i;22190:321::-;;;;;;:::i;:::-;;:::i;20368:83::-;;;:::i;:::-;;;;;;;:::i;22920:218::-;;;;;;:::i;:::-;;:::i;46088:230::-;;;;;;:::i;:::-;;:::i;47051:218::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;38966:104::-;;;;;;:::i;:::-;;:::i;:::-;;37722:49;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;20679:119::-;;;;;;:::i;:::-;;:::i;2620:148::-;;;:::i;41565:1245::-;;;;;;:::i;:::-;;:::i;38258:39::-;;;;;;:::i;:::-;;:::i;1978:79::-;;;:::i;19643:87::-;;;:::i;46326:224::-;;;;;;:::i;:::-;;:::i;23641:269::-;;;;;;:::i;:::-;;:::i;21011:175::-;;;;;;:::i;:::-;;:::i;46914:129::-;;;;;;:::i;:::-;;:::i;40891:243::-;;;;;;:::i;:::-;;:::i;39504:1186::-;;;;;;:::i;:::-;;:::i;21249:151::-;;;;;;:::i;:::-;;:::i;38060:117::-;;;:::i;37583:70::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;:::i;2923:244::-;;;;;;:::i;:::-;;:::i;46793:113::-;46841:7;46868:30;46889:8;46868:20;:30::i;:::-;46861:37;;46793:113;:::o;19441:83::-;19511:5;19504:12;;;;;;;;-1:-1:-1;;19504:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19478:13;;19504:12;;19511:5;;19504:12;;19511:5;19504:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19441:83;:::o;21547:169::-;21630:4;21647:39;21656:12;:10;:12::i;:::-;21670:7;21679:6;21647:8;:39::i;:::-;-1:-1:-1;21704:4:0;21547:169;;;;;:::o;20516:100::-;20596:12;;20516:100;:::o;37844:122::-;37886:80;37844:122;:::o;46558:227::-;46623:4;2200:12;:10;:12::i;:::-;2190:6;;-1:-1:-1;;;;;2190:6:0;;;:22;;;2182:67;;;;-1:-1:-1;;;2182:67:0;;;;;;;:::i;:::-;;;;;;;;;-1:-1:-1;;;;;46648:24:0;::::1;46640:77;;;;-1:-1:-1::0;;;46640:77:0::1;;;;;;;:::i;:::-;46735:42;46756:8;46766:10;46735:20;:42::i;22190:321::-:0;22296:4;22313:36;22323:6;22331:9;22342:6;22313:9;:36::i;:::-;22360:121;22369:6;22377:12;:10;:12::i;:::-;22391:89;22429:6;22391:89;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;22391:19:0;;;;;;:11;:19;;;;;;22411:12;:10;:12::i;:::-;-1:-1:-1;;;;;22391:33:0;;;;;;;;;;;;-1:-1:-1;22391:33:0;;;:89;:37;:89::i;:::-;22360:8;:121::i;:::-;-1:-1:-1;22499:4:0;22190:321;;;;;:::o;20368:83::-;20434:9;;;;20368:83;:::o;22920:218::-;23008:4;23025:83;23034:12;:10;:12::i;:::-;23048:7;23057:50;23096:10;23057:11;:25;23069:12;:10;:12::i;:::-;-1:-1:-1;;;;;23057:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;23057:25:0;;;:34;;;;;;;;;;;:38;:50::i;46088:230::-;46159:4;47353:20;47362:10;47353:8;:20::i;:::-;47345:57;;;;-1:-1:-1;;;47345:57:0;;;;;;;:::i;:::-;45799:17:::1;46180:26;46192:13;:11;:13::i;:::-;46180:7:::0;;:11:::1;:26::i;:::-;:38;46176:83;;;-1:-1:-1::0;46242:5:0::1;46235:12;;46176:83;46269:19;46275:3;46280:7;46269:5;:19::i;47051:218::-:0;47117:7;2200:12;:10;:12::i;:::-;2190:6;;-1:-1:-1;;;;;2190:6:0;;;:22;;;2182:67;;;;-1:-1:-1;;;2182:67:0;;;;;;;:::i;:::-;47174:1:::1;47154:17;:15;:17::i;:::-;:21;47144:6;:31;;47136:73;;;;-1:-1:-1::0;;;47136:73:0::1;;;;;;;:::i;:::-;47227:34;47244:8;47254:6;47227:16;:34::i;38966:104::-:0;39030:32;39040:10;39052:9;39030;:32::i;:::-;38966:104;:::o;37722:49::-;;;;;;;;;;;;;;;:::o;20679:119::-;-1:-1:-1;;;;;20772:18:0;20745:7;20772:18;;;;;;;;;;;;20679:119::o;2620:148::-;2200:12;:10;:12::i;:::-;2190:6;;-1:-1:-1;;;;;2190:6:0;;;:22;;;2182:67;;;;-1:-1:-1;;;2182:67:0;;;;;;;:::i;:::-;2711:6:::1;::::0;2690:40:::1;::::0;2727:1:::1;::::0;-1:-1:-1;;;;;2711:6:0::1;::::0;2690:40:::1;::::0;2727:1;;2690:40:::1;2741:6;:19:::0;;-1:-1:-1;;;;;;2741:19:0::1;::::0;;2620:148::o;41565:1245::-;41661:7;41708:12;41694:11;:26;41686:82;;;;-1:-1:-1;;;41686:82:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;41803:23:0;;41781:19;41803:23;;;:14;:23;;;;;;;;41841:17;41837:58;;41882:1;41875:8;;;;;41837:58;-1:-1:-1;;;;;41955:20:0;;;;;;:11;:20;;;;;;;;:38;-1:-1:-1;;41976:16:0;;41955:38;;;;;;;;;:48;;:63;-1:-1:-1;41951:147:0;;-1:-1:-1;;;;;42042:20:0;;;;;;:11;:20;;;;;;;;-1:-1:-1;;42063:16:0;;;;42042:38;;;;;;;;42078:1;42042:44;;;-1:-1:-1;42035:51:0;;41951:147;-1:-1:-1;;;;;42159:20:0;;;;;;:11;:20;;;;;;;;:23;;;;;;;;:33;:23;:33;:47;-1:-1:-1;42155:88:0;;;42230:1;42223:8;;;;;42155:88;42255:12;-1:-1:-1;;42297:16:0;;42324:428;42339:5;42331:13;;:5;:13;;;42324:428;;;42403:1;42386:13;;;42385:19;;;42377:27;;42446:20;;:::i;:::-;-1:-1:-1;;;;;;42469:20:0;;;;;;:11;:20;;;;;;;;:28;;;;;;;;;;;;;42446:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42516:27;;42512:229;;;42571:8;;;;-1:-1:-1;42564:15:0;;-1:-1:-1;;;;42564:15:0;42512:229;42605:12;;:26;;;-1:-1:-1;42601:140:0;;;42660:6;42652:14;;42601:140;;;42724:1;42715:6;:10;42707:18;;42601:140;42324:428;;;;;-1:-1:-1;;;;;;42769:20:0;;;;;;:11;:20;;;;;;;;:27;;;;;;;;;;:33;;;;-1:-1:-1;;41565:1245:0;;;;:::o;38258:39::-;;;;;;;;;;;;;:::o;1978:79::-;2043:6;;-1:-1:-1;;;;;2043:6:0;1978:79;:::o;19643:87::-;19715:7;19708:14;;;;;;;;-1:-1:-1;;19708:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19682:13;;19708:14;;19715:7;;19708:14;;19715:7;19708:14;;;;;;;;;;;;;;;;;;;;;;;;46326:224;46391:4;2200:12;:10;:12::i;:::-;2190:6;;-1:-1:-1;;;;;2190:6:0;;;:22;;;2182:67;;;;-1:-1:-1;;;2182:67:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;46416:24:0;::::1;46408:77;;;;-1:-1:-1::0;;;46408:77:0::1;;;;;;;:::i;:::-;46503:39;46521:8;46531:10;46503:17;:39::i;23641:269::-:0;23734:4;23751:129;23760:12;:10;:12::i;:::-;23774:7;23783:96;23822:15;23783:96;;;;;;;;;;;;;;;;;:11;:25;23795:12;:10;:12::i;:::-;-1:-1:-1;;;;;23783:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;23783:25:0;;;:34;;;;;;;;;;;:96;:38;:96::i;21011:175::-;21097:4;21114:42;21124:12;:10;:12::i;:::-;21138:9;21149:6;21114:9;:42::i;46914:129::-;46970:4;46994:41;47017:8;47027:7;46994:22;:41::i;40891:243::-;-1:-1:-1;;;;;41018:23:0;;40971:7;41018:23;;;:14;:23;;;;;;;;41059:16;:67;;41125:1;41059:67;;;-1:-1:-1;;;;;41078:20:0;;;;;;:11;:20;;;;;;;;:38;-1:-1:-1;;41099:16:0;;41078:38;;;;;;;;41114:1;41078:44;;41059:67;41052:74;40891:243;-1:-1:-1;;;40891:243:0:o;39504:1186::-;39693:23;37886:80;39822:6;:4;:6::i;:::-;39806:24;;;;;;39849:12;:10;:12::i;:::-;39888:4;39743:165;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;39719:200;;;;;;39693:226;;39932:18;38106:71;40044:9;40072:5;40096:6;39977:140;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;39953:175;;;;;;39932:196;;40141:14;40246:15;40280:10;40182:123;;;;;;;;;:::i;:::-;;;;;;;;;;;;;40158:158;;;;;;40141:175;;40329:17;40349:26;40359:6;40367:1;40370;40373;40349:26;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;40349:26:0;;-1:-1:-1;;40349:26:0;;;-1:-1:-1;;;;;;;40394:23:0;;40386:78;;;;-1:-1:-1;;;40386:78:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;40492:17:0;;;;;;:6;:17;;;;;:19;;;;;;;;40483:28;;40475:79;;;;-1:-1:-1;;;40475:79:0;;;;;;;:::i;:::-;40580:6;40573:3;:13;;40565:68;;;;-1:-1:-1;;;40565:68:0;;;;;;;:::i;:::-;40651:31;40661:9;40672;40651;:31::i;:::-;40644:38;;;;39504:1186;;;;;;;:::o;21249:151::-;-1:-1:-1;;;;;21365:18:0;;;21338:7;21365:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;21249:151::o;38060:117::-;38106:71;38060:117;:::o;37583:70::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;2923:244::-;2200:12;:10;:12::i;:::-;2190:6;;-1:-1:-1;;;;;2190:6:0;;;:22;;;2182:67;;;;-1:-1:-1;;;2182:67:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;3012:22:0;::::1;3004:73;;;;-1:-1:-1::0;;;3004:73:0::1;;;;;;;:::i;:::-;3114:6;::::0;3093:38:::1;::::0;-1:-1:-1;;;;;3093:38:0;;::::1;::::0;3114:6:::1;::::0;3093:38:::1;::::0;3114:6:::1;::::0;3093:38:::1;3142:6;:17:::0;;-1:-1:-1;;;;;;3142:17:0::1;-1:-1:-1::0;;;;;3142:17:0;;;::::1;::::0;;;::::1;::::0;;2923:244::o;25220:378::-;-1:-1:-1;;;;;25304:21:0;;25296:65;;;;-1:-1:-1;;;25296:65:0;;;;;;;:::i;:::-;25374:49;25403:1;25407:7;25416:6;25374:20;:49::i;:::-;25451:12;;:24;;25468:6;25451:16;:24::i;:::-;25436:12;:39;-1:-1:-1;;;;;25507:18:0;;:9;:18;;;;;;;;;;;:30;;25530:6;25507:22;:30::i;:::-;-1:-1:-1;;;;;25486:18:0;;:9;:18;;;;;;;;;;;:51;;;;25553:37;;25486:18;;:9;25553:37;;;;25583:6;;25553:37;:::i;:::-;;;;;;;;25220:378;;:::o;6731:181::-;6789:7;6821:5;;;6845:6;;;;6837:46;;;;-1:-1:-1;;;6837:46:0;;;;;;;:::i;7195:136::-;7253:7;7280:43;7284:1;7287;7280:43;;;;;;;;;;;;;;;;;:3;:43::i;34905:117::-;34968:7;34995:19;35003:3;34995:7;:19::i;605:106::-;693:10;605:106;:::o;26788:346::-;-1:-1:-1;;;;;26890:19:0;;26882:68;;;;-1:-1:-1;;;26882:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;26969:21:0;;26961:68;;;;-1:-1:-1;;;26961:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;27042:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;;:36;;;27094:32;;;;;27072:6;;27094:32;:::i;:::-;;;;;;;;26788:346;;;:::o;34426:149::-;34499:4;34523:44;34531:3;-1:-1:-1;;;;;34551:14:0;;34523:7;:44::i;38578:233::-;38685:42;38701:6;38709:9;38720:6;38685:15;:42::i;:::-;-1:-1:-1;;;;;38753:18:0;;;;;;;:10;:18;;;;;;;38773:21;;;;;;;;38738:65;;38753:18;;;;38773:21;38796:6;38738:14;:65::i;:::-;38578:233;;;:::o;7634:192::-;7720:7;7756:12;7748:6;;;;7740:29;;;;-1:-1:-1;;;7740:29:0;;;;;;;;:::i;:::-;-1:-1:-1;;;7792:5:0;;;7634:192::o;38339:229::-;38424:28;38436:7;38445:6;38424:11;:28::i;:::-;-1:-1:-1;;;;;38532:19:0;;;38528:1;38532:19;;;:10;:19;;;;;;38505:55;;38532:19;38553:6;38505:14;:55::i;:::-;38339:229;;:::o;35366:149::-;35440:7;35483:22;35487:3;35499:5;35483:3;:22::i;42818:437::-;-1:-1:-1;;;;;42931:21:0;;;42905:23;42931:21;;;:10;:21;;;;;;;;;;42990:20;42942:9;42990;:20::i;:::-;-1:-1:-1;;;;;43069:21:0;;;;;;;:10;:21;;;;;:33;;-1:-1:-1;;;;;;43069:33:0;;;;;;;;;;42963:47;-1:-1:-1;43115:60:0;43130:15;43069:33;42963:47;43115:14;:60::i;:::-;43237:9;-1:-1:-1;;;;;43193:54:0;43220:15;-1:-1:-1;;;;;43193:54:0;43209:9;-1:-1:-1;;;;;43193:54:0;;;;;;;;;;;42818:437;;;;:::o;34107:143::-;34177:4;34201:41;34206:3;-1:-1:-1;;;;;34226:14:0;;34201:4;:41::i;34661:158::-;34741:4;34765:46;34775:3;-1:-1:-1;;;;;34795:14:0;;34765:9;:46::i;45099:155::-;45209:9;45099:155;:::o;31606:109::-;31689:18;;31606:109::o;29761:1544::-;29827:4;29966:19;;;:12;;;:19;;;;;;30002:15;;29998:1300;;30437:18;;-1:-1:-1;;30388:14:0;;;;30437:22;;;;30364:21;;30437:3;;:22;;30724;;;;;;;;;;;;;;30704:42;;30870:9;30841:3;:11;;30853:13;30841:26;;;;;;;;;;;;;;;;;;;:38;;;;30947:23;;;30989:1;30947:12;;;:23;;;;;;30973:17;;;30947:43;;31099:17;;30947:3;;31099:17;;;;;;;;;;;;;;;;;;;;;;31194:3;:12;;:19;31207:5;31194:19;;;;;;;;;;;31187:26;;;31237:4;31230:11;;;;;;;;29998:1300;31281:5;31274:12;;;;;24400:539;-1:-1:-1;;;;;24506:20:0;;24498:70;;;;-1:-1:-1;;;24498:70:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;24587:23:0;;24579:71;;;;-1:-1:-1;;;24579:71:0;;;;;;;:::i;:::-;24663:47;24684:6;24692:9;24703:6;24663:20;:47::i;:::-;24743:71;24765:6;24743:71;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;24743:17:0;;:9;:17;;;;;;;;;;;;:71;:21;:71::i;:::-;-1:-1:-1;;;;;24723:17:0;;;:9;:17;;;;;;;;;;;:91;;;;24848:20;;;;;;;:32;;24873:6;24848:24;:32::i;:::-;-1:-1:-1;;;;;24825:20:0;;;:9;:20;;;;;;;;;;;;:55;;;;24896:35;;;;;;;;;;24924:6;;24896:35;:::i;43263:947::-;43369:6;-1:-1:-1;;;;;43359:16:0;:6;-1:-1:-1;;;;;43359:16:0;;;:30;;;;;43388:1;43379:6;:10;43359:30;43355:848;;;-1:-1:-1;;;;;43410:20:0;;;43406:385;;-1:-1:-1;;;;;43518:22:0;;43499:16;43518:22;;;:14;:22;;;;;;;;;43579:13;:60;;43638:1;43579:60;;;-1:-1:-1;;;;;43595:19:0;;;;;;:11;:19;;;;;;;;:34;-1:-1:-1;;43615:13:0;;43595:34;;;;;;;;43627:1;43595:40;;43579:60;43559:80;-1:-1:-1;43658:17:0;43678:21;43559:80;43692:6;43678:13;:21::i;:::-;43658:41;;43718:57;43735:6;43743:9;43754;43765;43718:16;:57::i;:::-;43406:385;;;;-1:-1:-1;;;;;43811:20:0;;;43807:385;;-1:-1:-1;;;;;43919:22:0;;43900:16;43919:22;;;:14;:22;;;;;;;;;43980:13;:60;;44039:1;43980:60;;;-1:-1:-1;;;;;43996:19:0;;;;;;:11;:19;;;;;;;;:34;-1:-1:-1;;44016:13:0;;43996:34;;;;;;;;44028:1;43996:40;;43980:60;43960:80;-1:-1:-1;44059:17:0;44079:21;43960:80;44093:6;44079:13;:21::i;:::-;44059:41;;44119:57;44136:6;44144:9;44155;44166;44119:16;:57::i;32059:204::-;32154:18;;32126:7;;32154:26;-1:-1:-1;32146:73:0;;;;-1:-1:-1;;;32146:73:0;;;;;;;:::i;:::-;32237:3;:11;;32249:5;32237:18;;;;;;;;;;;;;;;;32230:25;;32059:204;;;;:::o;29171:414::-;29234:4;29256:21;29266:3;29271:5;29256:9;:21::i;:::-;29251:327;;-1:-1:-1;29294:23:0;;;;;;;;:11;:23;;;;;;;;;;;;;29477:18;;29455:19;;;:12;;;:19;;;;;;:40;;;;29510:11;;29251:327;-1:-1:-1;29561:5:0;29554:12;;31391:129;31464:4;31488:19;;;:12;;;;;:19;;;;;;:24;;;31391:129::o;44218:704::-;44393:18;44414:80;44421:12;44414:80;;;;;;;;;;;;;;;;;:6;:80::i;:::-;44393:101;;44526:1;44511:12;:16;;;:85;;;;-1:-1:-1;;;;;;44531:22:0;;;;;;:11;:22;;;;;;;;:65;-1:-1:-1;;44554:16:0;;44531:40;;;;;;;;;:50;:65;;;:50;;:65;44511:85;44507:339;;;-1:-1:-1;;;;;44613:22:0;;;;;;:11;:22;;;;;;;;:40;-1:-1:-1;;44636:16:0;;44613:40;;;;;;;;44651:1;44613:46;:57;;;44507:339;;;44742:33;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;44703:22:0;;-1:-1:-1;44703:22:0;;;:11;:22;;;;;:36;;;;;;;;;;:72;;;;;;;-1:-1:-1;;44703:72:0;;;;;;;;;;;;;44790:25;;;:14;:25;;;;;;:44;;44818:16;;;44790:44;;;;;;;;;;44507:339;44884:9;-1:-1:-1;;;;;44863:51:0;;44895:8;44905;44863:51;;;;;;;:::i;:::-;;;;;;;;44218:704;;;;;:::o;44930:161::-;45005:6;45043:12;45036:5;45032:9;;45024:32;;;;-1:-1:-1;;;45024:32:0;;;;;;;;:::i;:::-;-1:-1:-1;45081:1:0;;44930:161;-1:-1:-1;;44930:161:0:o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;:::o;5:130::-;72:20;;-1:-1;;;;;24255:54;;25105:35;;25095:2;;25154:1;;25144:12;684:241;;788:2;776:9;767:7;763:23;759:32;756:2;;;-1:-1;;794:12;756:2;856:53;901:7;877:22;856:53;:::i;932:366::-;;;1053:2;1041:9;1032:7;1028:23;1024:32;1021:2;;;-1:-1;;1059:12;1021:2;1121:53;1166:7;1142:22;1121:53;:::i;:::-;1111:63;;1229:53;1274:7;1211:2;1254:9;1250:22;1229:53;:::i;:::-;1219:63;;1015:283;;;;;:::o;1305:491::-;;;;1443:2;1431:9;1422:7;1418:23;1414:32;1411:2;;;-1:-1;;1449:12;1411:2;85:6;72:20;97:33;124:5;97:33;:::i;:::-;1501:63;-1:-1;1601:2;1640:22;;72:20;97:33;72:20;97:33;:::i;:::-;1405:391;;1609:63;;-1:-1;;;1709:2;1748:22;;;;346:20;;1405:391::o;1803:366::-;;;1924:2;1912:9;1903:7;1899:23;1895:32;1892:2;;;-1:-1;;1930:12;1892:2;1992:53;2037:7;2013:22;1992:53;:::i;:::-;1982:63;2082:2;2121:22;;;;346:20;;-1:-1;;;1886:283::o;2176:865::-;;;;;;;2363:3;2351:9;2342:7;2338:23;2334:33;2331:2;;;-1:-1;;2370:12;2331:2;2432:53;2477:7;2453:22;2432:53;:::i;:::-;2422:63;;2522:2;2565:9;2561:22;346:20;2530:63;;2630:2;2673:9;2669:22;346:20;2638:63;;2738:2;2779:9;2775:22;616:20;24566:4;25623:5;24555:16;25600:5;25597:33;25587:2;;-1:-1;;25634:12;25587:2;2325:716;;;;-1:-1;2325:716;;2844:3;2884:22;;209:20;;2953:3;2993:22;;;209:20;;-1:-1;2325:716;-1:-1;;2325:716::o;3048:364::-;;;3168:2;3156:9;3147:7;3143:23;3139:32;3136:2;;;-1:-1;;3174:12;3136:2;3236:53;3281:7;3257:22;3236:53;:::i;:::-;3226:63;;3326:2;3368:9;3364:22;482:20;24472:10;25503:5;24461:22;25479:5;25476:34;25466:2;;-1:-1;;25514:12;25466:2;3334:62;;;;3130:282;;;;;:::o;3419:241::-;;3523:2;3511:9;3502:7;3498:23;3494:32;3491:2;;;-1:-1;;3529:12;3491:2;-1:-1;346:20;;3485:175;-1:-1;3485:175::o;11588:659::-;-1:-1;;;7495:87;;7480:1;7601:11;;3969:37;;;;12099:12;;;3969:37;12210:12;;;11833:414::o;12254:222::-;-1:-1;;;;;24255:54;;;;3738:37;;12381:2;12366:18;;12352:124::o;12483:210::-;24088:13;;24081:21;3852:34;;12604:2;12589:18;;12575:118::o;12700:222::-;3969:37;;;12827:2;12812:18;;12798:124::o;12929:556::-;3969:37;;;-1:-1;;;;;24255:54;;;;13305:2;13290:18;;3738:37;13388:2;13373:18;;3969:37;13471:2;13456:18;;3969:37;13140:3;13125:19;;13111:374::o;13492:556::-;3969:37;;;13868:2;13853:18;;3969:37;;;;13951:2;13936:18;;3969:37;-1:-1;;;;;24255:54;14034:2;14019:18;;3738:37;13703:3;13688:19;;13674:374::o;14055:548::-;3969:37;;;24566:4;24555:16;;;;14423:2;14408:18;;11541:35;14506:2;14491:18;;3969:37;14589:2;14574:18;;3969:37;14262:3;14247:19;;14233:370::o;14610:310::-;;14757:2;;14778:17;14771:47;4322:5;23557:12;23714:6;14757:2;14746:9;14742:18;23702:19;-1:-1;24656:101;24670:6;24667:1;24664:13;24656:101;;;24737:11;;;;;24731:18;24718:11;;;23742:14;24718:11;24711:39;24685:10;;24656:101;;;24772:6;24769:1;24766:13;24763:2;;;-1:-1;23742:14;24828:6;14746:9;24819:16;;24812:27;24763:2;-1:-1;25025:7;25009:14;-1:-1;;25005:28;4480:39;;;;23742:14;4480:39;;14728:192;-1:-1;;;14728:192::o;14927:416::-;15127:2;15141:47;;;4756:2;15112:18;;;23702:19;4792:34;23742:14;;;4772:55;-1:-1;;;4847:12;;;4840:26;4885:12;;;15098:245::o;15350:416::-;15550:2;15564:47;;;5136:2;15535:18;;;23702:19;5172:34;23742:14;;;5152:55;-1:-1;;;5227:12;;;5220:27;5266:12;;;15521:245::o;15773:416::-;15973:2;15987:47;;;5517:2;15958:18;;;23702:19;5553:34;23742:14;;;5533:55;-1:-1;;;5608:12;;;5601:34;5654:12;;;15944:245::o;16196:416::-;16396:2;16410:47;;;5905:2;16381:18;;;23702:19;5941:34;23742:14;;;5921:55;-1:-1;;;5996:12;;;5989:32;6040:12;;;16367:245::o;16619:416::-;16819:2;16833:47;;;6291:2;16804:18;;;23702:19;6327:34;23742:14;;;6307:55;-1:-1;;;6382:12;;;6375:30;6424:12;;;16790:245::o;17042:416::-;17242:2;17256:47;;;6675:2;17227:18;;;23702:19;6711:34;23742:14;;;6691:55;-1:-1;;;6766:12;;;6759:26;6804:12;;;17213:245::o;17465:416::-;17665:2;17679:47;;;7055:2;17650:18;;;23702:19;7091:34;23742:14;;;7071:55;-1:-1;;;7146:12;;;7139:35;7193:12;;;17636:245::o;17888:416::-;18088:2;18102:47;;;7851:2;18073:18;;;23702:19;7887:29;23742:14;;;7867:50;7936:12;;;18059:245::o;18311:416::-;18511:2;18525:47;;;8187:2;18496:18;;;23702:19;8223:34;23742:14;;;8203:55;-1:-1;;;8278:12;;;8271:34;8324:12;;;18482:245::o;18734:416::-;18934:2;18948:47;;;8575:2;18919:18;;;23702:19;8611:34;23742:14;;;8591:55;-1:-1;;;8666:12;;;8659:30;8708:12;;;18905:245::o;19157:416::-;19357:2;19371:47;;;8959:2;19342:18;;;23702:19;8995:26;23742:14;;;8975:47;9041:12;;;19328:245::o;19580:416::-;19780:2;19794:47;;;9292:2;19765:18;;;23702:19;9328:31;23742:14;;;9308:52;9379:12;;;19751:245::o;20003:416::-;20203:2;20217:47;;;20188:18;;;23702:19;9666:34;23742:14;;;9646:55;9720:12;;;20174:245::o;20426:416::-;20626:2;20640:47;;;9971:2;20611:18;;;23702:19;10007:34;23742:14;;;9987:55;-1:-1;;;10062:12;;;10055:29;10103:12;;;20597:245::o;20849:416::-;21049:2;21063:47;;;10354:2;21034:18;;;23702:19;10390:34;23742:14;;;10370:55;-1:-1;;;10445:12;;;10438:32;10489:12;;;21020:245::o;21272:416::-;21472:2;21486:47;;;10740:2;21457:18;;;23702:19;10776:34;23742:14;;;10756:55;-1:-1;;;10831:12;;;10824:28;10871:12;;;21443:245::o;21695:416::-;21895:2;21909:47;;;11122:2;21880:18;;;23702:19;11158:33;23742:14;;;11138:54;11211:12;;;21866:245::o;22347:333::-;3969:37;;;22666:2;22651:18;;3969:37;22502:2;22487:18;;22473:207::o;22687:218::-;24472:10;24461:22;;;;11426:36;;22812:2;22797:18;;22783:122::o;22912:329::-;24472:10;24461:22;;;;11426:36;;23227:2;23212:18;;3969:37;23065:2;23050:18;;23036:205::o;23248:214::-;24566:4;24555:16;;;;11541:35;;23371:2;23356:18;;23342:120::o;25046:117::-;-1:-1;;;;;24255:54;;25105:35;;25095:2;;25154:1;;25144:12
Swarm Source
ipfs://0a894abfea5eb0fb48ef174fca2463e72e41175ac548f7f3f3c658f7877f3e07
Age | Block | Fee Address | Jailed | Incoming |
---|