Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 293 transactions
| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
| Safe Transfer Fr... | 22304324 | 316 days ago | IN | 0 ETH | 0.00005604 | ||||
| Set Approval For... | 21203130 | 470 days ago | IN | 0 ETH | 0.00050196 | ||||
| Set Approval For... | 20544803 | 562 days ago | IN | 0 ETH | 0.00002252 | ||||
| Set Approval For... | 20544802 | 562 days ago | IN | 0 ETH | 0.0000231 | ||||
| Set Approval For... | 19456299 | 714 days ago | IN | 0 ETH | 0.00167258 | ||||
| Set Approval For... | 17937021 | 927 days ago | IN | 0 ETH | 0.00166781 | ||||
| Safe Transfer Fr... | 17934331 | 927 days ago | IN | 0 ETH | 0.00146499 | ||||
| Safe Transfer Fr... | 17934328 | 927 days ago | IN | 0 ETH | 0.00150363 | ||||
| Safe Transfer Fr... | 17934325 | 927 days ago | IN | 0 ETH | 0.00166131 | ||||
| Safe Transfer Fr... | 17934323 | 927 days ago | IN | 0 ETH | 0.00159025 | ||||
| Set Approval For... | 16182854 | 1173 days ago | IN | 0 ETH | 0.00069359 | ||||
| Set Approval For... | 15630328 | 1250 days ago | IN | 0 ETH | 0.00060725 | ||||
| Safe Transfer Fr... | 15574775 | 1258 days ago | IN | 0 ETH | 0.00096244 | ||||
| Set Approval For... | 15444040 | 1278 days ago | IN | 0 ETH | 0.00094214 | ||||
| Set Approval For... | 15347403 | 1294 days ago | IN | 0 ETH | 0.0010523 | ||||
| Transfer From | 15319531 | 1298 days ago | IN | 0 ETH | 0.00156248 | ||||
| Transfer From | 15319522 | 1298 days ago | IN | 0 ETH | 0.00211769 | ||||
| Transfer From | 15319515 | 1298 days ago | IN | 0 ETH | 0.00205658 | ||||
| Set Approval For... | 15213054 | 1315 days ago | IN | 0 ETH | 0.00140037 | ||||
| Transfer From | 15208927 | 1315 days ago | IN | 0 ETH | 0.0006876 | ||||
| Transfer From | 15208925 | 1315 days ago | IN | 0 ETH | 0.00072329 | ||||
| Transfer From | 15208925 | 1315 days ago | IN | 0 ETH | 0.00087217 | ||||
| Transfer From | 15208922 | 1315 days ago | IN | 0 ETH | 0.00103343 | ||||
| Set Approval For... | 15044178 | 1341 days ago | IN | 0 ETH | 0.00117617 | ||||
| Set Approval For... | 14279513 | 1464 days ago | IN | 0 ETH | 0.0010631 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
EthFighterToken
Compiler Version
v0.6.11+commit.5ef660b1
Contract Source Code (Solidity)
/**
*Submitted for verification at Etherscan.io on 2020-08-25
*/
// File: @openzeppelin/contracts/GSN/Context.sol
// 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;
}
}
// File: @openzeppelin/contracts/introspection/IERC165.sol
pragma solidity ^0.6.0;
/**
* @dev Interface of the ERC165 standard, as defined in the
* https://eips.ethereum.org/EIPS/eip-165[EIP].
*
* Implementers can declare support of contract interfaces, which can then be
* queried by others ({ERC165Checker}).
*
* For an implementation, see {ERC165}.
*/
interface IERC165 {
/**
* @dev Returns true if this contract implements the interface defined by
* `interfaceId`. See the corresponding
* https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
* to learn more about how these ids are created.
*
* This function call must use less than 30 000 gas.
*/
function supportsInterface(bytes4 interfaceId) external view returns (bool);
}
// File: @openzeppelin/contracts/token/ERC721/IERC721.sol
pragma solidity ^0.6.2;
/**
* @dev Required interface of an ERC721 compliant contract.
*/
interface IERC721 is IERC165 {
/**
* @dev Emitted when `tokenId` token is transfered from `from` to `to`.
*/
event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);
/**
* @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
*/
event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);
/**
* @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.
*/
event ApprovalForAll(address indexed owner, address indexed operator, bool approved);
/**
* @dev Returns the number of tokens in ``owner``'s account.
*/
function balanceOf(address owner) external view returns (uint256 balance);
/**
* @dev Returns the owner of the `tokenId` token.
*
* Requirements:
*
* - `tokenId` must exist.
*/
function ownerOf(uint256 tokenId) external view returns (address owner);
/**
* @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
* are aware of the ERC721 protocol to prevent tokens from being forever locked.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must exist and be owned by `from`.
* - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.
* - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
*
* Emits a {Transfer} event.
*/
function safeTransferFrom(address from, address to, uint256 tokenId) external;
/**
* @dev Transfers `tokenId` token from `from` to `to`.
*
* WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must be owned by `from`.
* - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
*
* Emits a {Transfer} event.
*/
function transferFrom(address from, address to, uint256 tokenId) external;
/**
* @dev Gives permission to `to` to transfer `tokenId` token to another account.
* The approval is cleared when the token is transferred.
*
* Only a single account can be approved at a time, so approving the zero address clears previous approvals.
*
* Requirements:
*
* - The caller must own the token or be an approved operator.
* - `tokenId` must exist.
*
* Emits an {Approval} event.
*/
function approve(address to, uint256 tokenId) external;
/**
* @dev Returns the account approved for `tokenId` token.
*
* Requirements:
*
* - `tokenId` must exist.
*/
function getApproved(uint256 tokenId) external view returns (address operator);
/**
* @dev Approve or remove `operator` as an operator for the caller.
* Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
*
* Requirements:
*
* - The `operator` cannot be the caller.
*
* Emits an {ApprovalForAll} event.
*/
function setApprovalForAll(address operator, bool _approved) external;
/**
* @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
*
* See {setApprovalForAll}
*/
function isApprovedForAll(address owner, address operator) external view returns (bool);
/**
* @dev Safely transfers `tokenId` token from `from` to `to`.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must exist and be owned by `from`.
* - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
* - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
*
* Emits a {Transfer} event.
*/
function safeTransferFrom(address from, address to, uint256 tokenId, bytes calldata data) external;
}
// File: @openzeppelin/contracts/token/ERC721/IERC721Metadata.sol
pragma solidity ^0.6.2;
/**
* @title ERC-721 Non-Fungible Token Standard, optional metadata extension
* @dev See https://eips.ethereum.org/EIPS/eip-721
*/
interface IERC721Metadata is IERC721 {
/**
* @dev Returns the token collection name.
*/
function name() external view returns (string memory);
/**
* @dev Returns the token collection symbol.
*/
function symbol() external view returns (string memory);
/**
* @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
*/
function tokenURI(uint256 tokenId) external view returns (string memory);
}
// File: @openzeppelin/contracts/token/ERC721/IERC721Enumerable.sol
pragma solidity ^0.6.2;
/**
* @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
* @dev See https://eips.ethereum.org/EIPS/eip-721
*/
interface IERC721Enumerable is IERC721 {
/**
* @dev Returns the total amount of tokens stored by the contract.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns a token ID owned by `owner` at a given `index` of its token list.
* Use along with {balanceOf} to enumerate all of ``owner``'s tokens.
*/
function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId);
/**
* @dev Returns a token ID at a given `index` of all the tokens stored by the contract.
* Use along with {totalSupply} to enumerate all tokens.
*/
function tokenByIndex(uint256 index) external view returns (uint256);
}
// File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol
pragma solidity ^0.6.0;
/**
* @title ERC721 token receiver interface
* @dev Interface for any contract that wants to support safeTransfers
* from ERC721 asset contracts.
*/
interface IERC721Receiver {
/**
* @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
* by `operator` from `from`, this function is called.
*
* It must return its Solidity selector to confirm the token transfer.
* If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.
*
* The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`.
*/
function onERC721Received(address operator, address from, uint256 tokenId, bytes calldata data)
external returns (bytes4);
}
// File: @openzeppelin/contracts/introspection/ERC165.sol
pragma solidity ^0.6.0;
/**
* @dev Implementation of the {IERC165} interface.
*
* Contracts may inherit from this and call {_registerInterface} to declare
* their support of an interface.
*/
contract ERC165 is IERC165 {
/*
* bytes4(keccak256('supportsInterface(bytes4)')) == 0x01ffc9a7
*/
bytes4 private constant _INTERFACE_ID_ERC165 = 0x01ffc9a7;
/**
* @dev Mapping of interface ids to whether or not it's supported.
*/
mapping(bytes4 => bool) private _supportedInterfaces;
constructor () internal {
// Derived contracts need only register support for their own interfaces,
// we register support for ERC165 itself here
_registerInterface(_INTERFACE_ID_ERC165);
}
/**
* @dev See {IERC165-supportsInterface}.
*
* Time complexity O(1), guaranteed to always use less than 30 000 gas.
*/
function supportsInterface(bytes4 interfaceId) public view override returns (bool) {
return _supportedInterfaces[interfaceId];
}
/**
* @dev Registers the contract as an implementer of the interface defined by
* `interfaceId`. Support of the actual ERC165 interface is automatic and
* registering its interface id is not required.
*
* See {IERC165-supportsInterface}.
*
* Requirements:
*
* - `interfaceId` cannot be the ERC165 invalid interface (`0xffffffff`).
*/
function _registerInterface(bytes4 interfaceId) internal virtual {
require(interfaceId != 0xffffffff, "ERC165: invalid interface id");
_supportedInterfaces[interfaceId] = true;
}
}
// File: @openzeppelin/contracts/math/SafeMath.sol
pragma solidity ^0.6.0;
/**
* @dev Wrappers over Solidity's arithmetic operations with added overflow
* checks.
*
* Arithmetic operations in Solidity wrap on overflow. This can easily result
* in bugs, because programmers usually assume that an overflow raises an
* error, which is the standard behavior in high level programming languages.
* `SafeMath` restores this intuition by reverting the transaction when an
* operation overflows.
*
* Using this library instead of the unchecked operations eliminates an entire
* class of bugs, so it's recommended to use it always.
*/
library SafeMath {
/**
* @dev Returns the addition of two unsigned integers, reverting on
* overflow.
*
* Counterpart to Solidity's `+` operator.
*
* Requirements:
*
* - Addition cannot overflow.
*/
function add(uint256 a, uint256 b) internal pure returns (uint256) {
uint256 c = a + b;
require(c >= a, "SafeMath: addition overflow");
return c;
}
/**
* @dev Returns the subtraction of two unsigned integers, reverting on
* overflow (when the result is negative).
*
* Counterpart to Solidity's `-` operator.
*
* Requirements:
*
* - Subtraction cannot overflow.
*/
function sub(uint256 a, uint256 b) internal pure returns (uint256) {
return sub(a, b, "SafeMath: subtraction overflow");
}
/**
* @dev Returns the subtraction of two unsigned integers, reverting with custom message on
* overflow (when the result is negative).
*
* Counterpart to Solidity's `-` operator.
*
* Requirements:
*
* - Subtraction cannot overflow.
*/
function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
require(b <= a, errorMessage);
uint256 c = a - b;
return c;
}
/**
* @dev Returns the multiplication of two unsigned integers, reverting on
* overflow.
*
* Counterpart to Solidity's `*` operator.
*
* Requirements:
*
* - Multiplication cannot overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
// Gas optimization: this is cheaper than requiring 'a' not being zero, but the
// benefit is lost if 'b' is also tested.
// See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
if (a == 0) {
return 0;
}
uint256 c = a * b;
require(c / a == b, "SafeMath: multiplication overflow");
return c;
}
/**
* @dev Returns the integer division of two unsigned integers. Reverts on
* division by zero. The result is rounded towards zero.
*
* Counterpart to Solidity's `/` operator. Note: this function uses a
* `revert` opcode (which leaves remaining gas untouched) while Solidity
* uses an invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function div(uint256 a, uint256 b) internal pure returns (uint256) {
return div(a, b, "SafeMath: division by zero");
}
/**
* @dev Returns the integer division of two unsigned integers. Reverts with custom message on
* division by zero. The result is rounded towards zero.
*
* Counterpart to Solidity's `/` operator. Note: this function uses a
* `revert` opcode (which leaves remaining gas untouched) while Solidity
* uses an invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
require(b > 0, errorMessage);
uint256 c = a / b;
// assert(a == b * c + a % b); // There is no case in which this doesn't hold
return c;
}
/**
* @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
* Reverts when dividing by zero.
*
* Counterpart to Solidity's `%` operator. This function uses a `revert`
* opcode (which leaves remaining gas untouched) while Solidity uses an
* invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function mod(uint256 a, uint256 b) internal pure returns (uint256) {
return mod(a, b, "SafeMath: modulo by zero");
}
/**
* @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
* Reverts with custom message when dividing by zero.
*
* Counterpart to Solidity's `%` operator. This function uses a `revert`
* opcode (which leaves remaining gas untouched) while Solidity uses an
* invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
require(b != 0, errorMessage);
return a % b;
}
}
// File: @openzeppelin/contracts/utils/Address.sol
pragma solidity ^0.6.2;
/**
* @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);
}
}
}
}
// File: @openzeppelin/contracts/utils/EnumerableSet.sol
pragma solidity ^0.6.0;
/**
* @dev Library for managing
* https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive
* types.
*
* Sets have the following properties:
*
* - Elements are added, removed, and checked for existence in constant time
* (O(1)).
* - Elements are enumerated in O(n). No guarantees are made on the ordering.
*
* ```
* contract Example {
* // Add the library methods
* using EnumerableSet for EnumerableSet.AddressSet;
*
* // Declare a set state variable
* EnumerableSet.AddressSet private mySet;
* }
* ```
*
* As of v3.0.0, only sets of type `address` (`AddressSet`) and `uint256`
* (`UintSet`) are supported.
*/
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];
}
// 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));
}
}
// File: @openzeppelin/contracts/utils/EnumerableMap.sol
pragma solidity ^0.6.0;
/**
* @dev Library for managing an enumerable variant of Solidity's
* https://solidity.readthedocs.io/en/latest/types.html#mapping-types[`mapping`]
* type.
*
* Maps have the following properties:
*
* - Entries are added, removed, and checked for existence in constant time
* (O(1)).
* - Entries are enumerated in O(n). No guarantees are made on the ordering.
*
* ```
* contract Example {
* // Add the library methods
* using EnumerableMap for EnumerableMap.UintToAddressMap;
*
* // Declare a set state variable
* EnumerableMap.UintToAddressMap private myMap;
* }
* ```
*
* As of v3.0.0, only maps of type `uint256 -> address` (`UintToAddressMap`) are
* supported.
*/
library EnumerableMap {
// To implement this library for multiple types with as little code
// repetition as possible, we write it in terms of a generic Map type with
// bytes32 keys and values.
// The Map implementation uses private functions, and user-facing
// implementations (such as Uint256ToAddressMap) are just wrappers around
// the underlying Map.
// This means that we can only create new EnumerableMaps for types that fit
// in bytes32.
struct MapEntry {
bytes32 _key;
bytes32 _value;
}
struct Map {
// Storage of map keys and values
MapEntry[] _entries;
// Position of the entry defined by a key in the `entries` array, plus 1
// because index 0 means a key is not in the map.
mapping (bytes32 => uint256) _indexes;
}
/**
* @dev Adds a key-value pair to a map, or updates the value for an existing
* key. O(1).
*
* Returns true if the key was added to the map, that is if it was not
* already present.
*/
function _set(Map storage map, bytes32 key, bytes32 value) private returns (bool) {
// We read and store the key's index to prevent multiple reads from the same storage slot
uint256 keyIndex = map._indexes[key];
if (keyIndex == 0) { // Equivalent to !contains(map, key)
map._entries.push(MapEntry({ _key: key, _value: value }));
// The entry is stored at length-1, but we add 1 to all indexes
// and use 0 as a sentinel value
map._indexes[key] = map._entries.length;
return true;
} else {
map._entries[keyIndex - 1]._value = value;
return false;
}
}
/**
* @dev Removes a key-value pair from a map. O(1).
*
* Returns true if the key was removed from the map, that is if it was present.
*/
function _remove(Map storage map, bytes32 key) private returns (bool) {
// We read and store the key's index to prevent multiple reads from the same storage slot
uint256 keyIndex = map._indexes[key];
if (keyIndex != 0) { // Equivalent to contains(map, key)
// To delete a key-value pair from the _entries array in O(1), we swap the entry to delete with the last one
// in the array, and then remove the last entry (sometimes called as 'swap and pop').
// This modifies the order of the array, as noted in {at}.
uint256 toDeleteIndex = keyIndex - 1;
uint256 lastIndex = map._entries.length - 1;
// When the entry 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.
MapEntry storage lastEntry = map._entries[lastIndex];
// Move the last entry to the index where the entry to delete is
map._entries[toDeleteIndex] = lastEntry;
// Update the index for the moved entry
map._indexes[lastEntry._key] = toDeleteIndex + 1; // All indexes are 1-based
// Delete the slot where the moved entry was stored
map._entries.pop();
// Delete the index for the deleted slot
delete map._indexes[key];
return true;
} else {
return false;
}
}
/**
* @dev Returns true if the key is in the map. O(1).
*/
function _contains(Map storage map, bytes32 key) private view returns (bool) {
return map._indexes[key] != 0;
}
/**
* @dev Returns the number of key-value pairs in the map. O(1).
*/
function _length(Map storage map) private view returns (uint256) {
return map._entries.length;
}
/**
* @dev Returns the key-value pair stored at position `index` in the map. O(1).
*
* Note that there are no guarantees on the ordering of entries inside the
* array, and it may change when more entries are added or removed.
*
* Requirements:
*
* - `index` must be strictly less than {length}.
*/
function _at(Map storage map, uint256 index) private view returns (bytes32, bytes32) {
require(map._entries.length > index, "EnumerableMap: index out of bounds");
MapEntry storage entry = map._entries[index];
return (entry._key, entry._value);
}
/**
* @dev Returns the value associated with `key`. O(1).
*
* Requirements:
*
* - `key` must be in the map.
*/
function _get(Map storage map, bytes32 key) private view returns (bytes32) {
return _get(map, key, "EnumerableMap: nonexistent key");
}
/**
* @dev Same as {_get}, with a custom error message when `key` is not in the map.
*/
function _get(Map storage map, bytes32 key, string memory errorMessage) private view returns (bytes32) {
uint256 keyIndex = map._indexes[key];
require(keyIndex != 0, errorMessage); // Equivalent to contains(map, key)
return map._entries[keyIndex - 1]._value; // All indexes are 1-based
}
// UintToAddressMap
struct UintToAddressMap {
Map _inner;
}
/**
* @dev Adds a key-value pair to a map, or updates the value for an existing
* key. O(1).
*
* Returns true if the key was added to the map, that is if it was not
* already present.
*/
function set(UintToAddressMap storage map, uint256 key, address value) internal returns (bool) {
return _set(map._inner, bytes32(key), bytes32(uint256(value)));
}
/**
* @dev Removes a value from a set. O(1).
*
* Returns true if the key was removed from the map, that is if it was present.
*/
function remove(UintToAddressMap storage map, uint256 key) internal returns (bool) {
return _remove(map._inner, bytes32(key));
}
/**
* @dev Returns true if the key is in the map. O(1).
*/
function contains(UintToAddressMap storage map, uint256 key) internal view returns (bool) {
return _contains(map._inner, bytes32(key));
}
/**
* @dev Returns the number of elements in the map. O(1).
*/
function length(UintToAddressMap storage map) internal view returns (uint256) {
return _length(map._inner);
}
/**
* @dev Returns the element 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(UintToAddressMap storage map, uint256 index) internal view returns (uint256, address) {
(bytes32 key, bytes32 value) = _at(map._inner, index);
return (uint256(key), address(uint256(value)));
}
/**
* @dev Returns the value associated with `key`. O(1).
*
* Requirements:
*
* - `key` must be in the map.
*/
function get(UintToAddressMap storage map, uint256 key) internal view returns (address) {
return address(uint256(_get(map._inner, bytes32(key))));
}
/**
* @dev Same as {get}, with a custom error message when `key` is not in the map.
*/
function get(UintToAddressMap storage map, uint256 key, string memory errorMessage) internal view returns (address) {
return address(uint256(_get(map._inner, bytes32(key), errorMessage)));
}
}
// File: @openzeppelin/contracts/utils/Strings.sol
pragma solidity ^0.6.0;
/**
* @dev String operations.
*/
library Strings {
/**
* @dev Converts a `uint256` to its ASCII `string` representation.
*/
function toString(uint256 value) internal pure returns (string memory) {
// Inspired by OraclizeAPI's implementation - MIT licence
// https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol
if (value == 0) {
return "0";
}
uint256 temp = value;
uint256 digits;
while (temp != 0) {
digits++;
temp /= 10;
}
bytes memory buffer = new bytes(digits);
uint256 index = digits - 1;
temp = value;
while (temp != 0) {
buffer[index--] = byte(uint8(48 + temp % 10));
temp /= 10;
}
return string(buffer);
}
}
// File: @openzeppelin/contracts/token/ERC721/ERC721.sol
pragma solidity ^0.6.0;
/**
* @title ERC721 Non-Fungible Token Standard basic implementation
* @dev see https://eips.ethereum.org/EIPS/eip-721
*/
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable {
using SafeMath for uint256;
using Address for address;
using EnumerableSet for EnumerableSet.UintSet;
using EnumerableMap for EnumerableMap.UintToAddressMap;
using Strings for uint256;
// Equals to `bytes4(keccak256("onERC721Received(address,address,uint256,bytes)"))`
// which can be also obtained as `IERC721Receiver(0).onERC721Received.selector`
bytes4 private constant _ERC721_RECEIVED = 0x150b7a02;
// Mapping from holder address to their (enumerable) set of owned tokens
mapping (address => EnumerableSet.UintSet) private _holderTokens;
// Enumerable mapping from token ids to their owners
EnumerableMap.UintToAddressMap private _tokenOwners;
// Mapping from token ID to approved address
mapping (uint256 => address) private _tokenApprovals;
// Mapping from owner to operator approvals
mapping (address => mapping (address => bool)) private _operatorApprovals;
// Token name
string private _name;
// Token symbol
string private _symbol;
// Optional mapping for token URIs
mapping(uint256 => string) private _tokenURIs;
// Base URI
string private _baseURI;
/*
* bytes4(keccak256('balanceOf(address)')) == 0x70a08231
* bytes4(keccak256('ownerOf(uint256)')) == 0x6352211e
* bytes4(keccak256('approve(address,uint256)')) == 0x095ea7b3
* bytes4(keccak256('getApproved(uint256)')) == 0x081812fc
* bytes4(keccak256('setApprovalForAll(address,bool)')) == 0xa22cb465
* bytes4(keccak256('isApprovedForAll(address,address)')) == 0xe985e9c5
* bytes4(keccak256('transferFrom(address,address,uint256)')) == 0x23b872dd
* bytes4(keccak256('safeTransferFrom(address,address,uint256)')) == 0x42842e0e
* bytes4(keccak256('safeTransferFrom(address,address,uint256,bytes)')) == 0xb88d4fde
*
* => 0x70a08231 ^ 0x6352211e ^ 0x095ea7b3 ^ 0x081812fc ^
* 0xa22cb465 ^ 0xe985e9c ^ 0x23b872dd ^ 0x42842e0e ^ 0xb88d4fde == 0x80ac58cd
*/
bytes4 private constant _INTERFACE_ID_ERC721 = 0x80ac58cd;
/*
* bytes4(keccak256('name()')) == 0x06fdde03
* bytes4(keccak256('symbol()')) == 0x95d89b41
* bytes4(keccak256('tokenURI(uint256)')) == 0xc87b56dd
*
* => 0x06fdde03 ^ 0x95d89b41 ^ 0xc87b56dd == 0x5b5e139f
*/
bytes4 private constant _INTERFACE_ID_ERC721_METADATA = 0x5b5e139f;
/*
* bytes4(keccak256('totalSupply()')) == 0x18160ddd
* bytes4(keccak256('tokenOfOwnerByIndex(address,uint256)')) == 0x2f745c59
* bytes4(keccak256('tokenByIndex(uint256)')) == 0x4f6ccce7
*
* => 0x18160ddd ^ 0x2f745c59 ^ 0x4f6ccce7 == 0x780e9d63
*/
bytes4 private constant _INTERFACE_ID_ERC721_ENUMERABLE = 0x780e9d63;
/**
* @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.
*/
constructor (string memory name, string memory symbol) public {
_name = name;
_symbol = symbol;
// register the supported interfaces to conform to ERC721 via ERC165
_registerInterface(_INTERFACE_ID_ERC721);
_registerInterface(_INTERFACE_ID_ERC721_METADATA);
_registerInterface(_INTERFACE_ID_ERC721_ENUMERABLE);
}
/**
* @dev See {IERC721-balanceOf}.
*/
function balanceOf(address owner) public view override returns (uint256) {
require(owner != address(0), "ERC721: balance query for the zero address");
return _holderTokens[owner].length();
}
/**
* @dev See {IERC721-ownerOf}.
*/
function ownerOf(uint256 tokenId) public view override returns (address) {
return _tokenOwners.get(tokenId, "ERC721: owner query for nonexistent token");
}
/**
* @dev See {IERC721Metadata-name}.
*/
function name() public view override returns (string memory) {
return _name;
}
/**
* @dev See {IERC721Metadata-symbol}.
*/
function symbol() public view override returns (string memory) {
return _symbol;
}
/**
* @dev See {IERC721Metadata-tokenURI}.
*/
function tokenURI(uint256 tokenId) public view override returns (string memory) {
require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");
string memory _tokenURI = _tokenURIs[tokenId];
// If there is no base URI, return the token URI.
if (bytes(_baseURI).length == 0) {
return _tokenURI;
}
// If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked).
if (bytes(_tokenURI).length > 0) {
return string(abi.encodePacked(_baseURI, _tokenURI));
}
// If there is a baseURI but no tokenURI, concatenate the tokenID to the baseURI.
return string(abi.encodePacked(_baseURI, tokenId.toString()));
}
/**
* @dev Returns the base URI set via {_setBaseURI}. This will be
* automatically added as a prefix in {tokenURI} to each token's URI, or
* to the token ID if no specific URI is set for that token ID.
*/
function baseURI() public view returns (string memory) {
return _baseURI;
}
/**
* @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
*/
function tokenOfOwnerByIndex(address owner, uint256 index) public view override returns (uint256) {
return _holderTokens[owner].at(index);
}
/**
* @dev See {IERC721Enumerable-totalSupply}.
*/
function totalSupply() public view override returns (uint256) {
// _tokenOwners are indexed by tokenIds, so .length() returns the number of tokenIds
return _tokenOwners.length();
}
/**
* @dev See {IERC721Enumerable-tokenByIndex}.
*/
function tokenByIndex(uint256 index) public view override returns (uint256) {
(uint256 tokenId, ) = _tokenOwners.at(index);
return tokenId;
}
/**
* @dev See {IERC721-approve}.
*/
function approve(address to, uint256 tokenId) public virtual override {
address owner = ownerOf(tokenId);
require(to != owner, "ERC721: approval to current owner");
require(_msgSender() == owner || isApprovedForAll(owner, _msgSender()),
"ERC721: approve caller is not owner nor approved for all"
);
_approve(to, tokenId);
}
/**
* @dev See {IERC721-getApproved}.
*/
function getApproved(uint256 tokenId) public view override returns (address) {
require(_exists(tokenId), "ERC721: approved query for nonexistent token");
return _tokenApprovals[tokenId];
}
/**
* @dev See {IERC721-setApprovalForAll}.
*/
function setApprovalForAll(address operator, bool approved) public virtual override {
require(operator != _msgSender(), "ERC721: approve to caller");
_operatorApprovals[_msgSender()][operator] = approved;
emit ApprovalForAll(_msgSender(), operator, approved);
}
/**
* @dev See {IERC721-isApprovedForAll}.
*/
function isApprovedForAll(address owner, address operator) public view override returns (bool) {
return _operatorApprovals[owner][operator];
}
/**
* @dev See {IERC721-transferFrom}.
*/
function transferFrom(address from, address to, uint256 tokenId) public virtual override {
//solhint-disable-next-line max-line-length
require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");
_transfer(from, to, tokenId);
}
/**
* @dev See {IERC721-safeTransferFrom}.
*/
function safeTransferFrom(address from, address to, uint256 tokenId) public virtual override {
safeTransferFrom(from, to, tokenId, "");
}
/**
* @dev See {IERC721-safeTransferFrom}.
*/
function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory _data) public virtual override {
require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");
_safeTransfer(from, to, tokenId, _data);
}
/**
* @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
* are aware of the ERC721 protocol to prevent tokens from being forever locked.
*
* `_data` is additional data, it has no specified format and it is sent in call to `to`.
*
* This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
* implement alternative mecanisms to perform token transfer, such as signature-based.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must exist and be owned by `from`.
* - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
*
* Emits a {Transfer} event.
*/
function _safeTransfer(address from, address to, uint256 tokenId, bytes memory _data) internal virtual {
_transfer(from, to, tokenId);
require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer");
}
/**
* @dev Returns whether `tokenId` exists.
*
* Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
*
* Tokens start existing when they are minted (`_mint`),
* and stop existing when they are burned (`_burn`).
*/
function _exists(uint256 tokenId) internal view returns (bool) {
return _tokenOwners.contains(tokenId);
}
/**
* @dev Returns whether `spender` is allowed to manage `tokenId`.
*
* Requirements:
*
* - `tokenId` must exist.
*/
function _isApprovedOrOwner(address spender, uint256 tokenId) internal view returns (bool) {
require(_exists(tokenId), "ERC721: operator query for nonexistent token");
address owner = ownerOf(tokenId);
return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender));
}
/**
* @dev Safely mints `tokenId` and transfers it to `to`.
*
* Requirements:
d*
* - `tokenId` must not exist.
* - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
*
* Emits a {Transfer} event.
*/
function _safeMint(address to, uint256 tokenId) internal virtual {
_safeMint(to, tokenId, "");
}
/**
* @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is
* forwarded in {IERC721Receiver-onERC721Received} to contract recipients.
*/
function _safeMint(address to, uint256 tokenId, bytes memory _data) internal virtual {
_mint(to, tokenId);
require(_checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer");
}
/**
* @dev Mints `tokenId` and transfers it to `to`.
*
* WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible
*
* Requirements:
*
* - `tokenId` must not exist.
* - `to` cannot be the zero address.
*
* Emits a {Transfer} event.
*/
function _mint(address to, uint256 tokenId) internal virtual {
require(to != address(0), "ERC721: mint to the zero address");
require(!_exists(tokenId), "ERC721: token already minted");
_beforeTokenTransfer(address(0), to, tokenId);
_holderTokens[to].add(tokenId);
_tokenOwners.set(tokenId, to);
emit Transfer(address(0), to, tokenId);
}
/**
* @dev Destroys `tokenId`.
* The approval is cleared when the token is burned.
*
* Requirements:
*
* - `tokenId` must exist.
*
* Emits a {Transfer} event.
*/
function _burn(uint256 tokenId) internal virtual {
address owner = ownerOf(tokenId);
_beforeTokenTransfer(owner, address(0), tokenId);
// Clear approvals
_approve(address(0), tokenId);
// Clear metadata (if any)
if (bytes(_tokenURIs[tokenId]).length != 0) {
delete _tokenURIs[tokenId];
}
_holderTokens[owner].remove(tokenId);
_tokenOwners.remove(tokenId);
emit Transfer(owner, address(0), tokenId);
}
/**
* @dev Transfers `tokenId` from `from` to `to`.
* As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
*
* Requirements:
*
* - `to` cannot be the zero address.
* - `tokenId` token must be owned by `from`.
*
* Emits a {Transfer} event.
*/
function _transfer(address from, address to, uint256 tokenId) internal virtual {
require(ownerOf(tokenId) == from, "ERC721: transfer of token that is not own");
require(to != address(0), "ERC721: transfer to the zero address");
_beforeTokenTransfer(from, to, tokenId);
// Clear approvals from the previous owner
_approve(address(0), tokenId);
_holderTokens[from].remove(tokenId);
_holderTokens[to].add(tokenId);
_tokenOwners.set(tokenId, to);
emit Transfer(from, to, tokenId);
}
/**
* @dev Sets `_tokenURI` as the tokenURI of `tokenId`.
*
* Requirements:
*
* - `tokenId` must exist.
*/
function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual {
require(_exists(tokenId), "ERC721Metadata: URI set of nonexistent token");
_tokenURIs[tokenId] = _tokenURI;
}
/**
* @dev Internal function to set the base URI for all token IDs. It is
* automatically added as a prefix to the value returned in {tokenURI},
* or to the token ID if {tokenURI} is empty.
*/
function _setBaseURI(string memory baseURI_) internal virtual {
_baseURI = baseURI_;
}
/**
* @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
* The call is not executed if the target address is not a contract.
*
* @param from address representing the previous owner of the given token ID
* @param to target address that will receive the tokens
* @param tokenId uint256 ID of the token to be transferred
* @param _data bytes optional data to send along with the call
* @return bool whether the call correctly returned the expected magic value
*/
function _checkOnERC721Received(address from, address to, uint256 tokenId, bytes memory _data)
private returns (bool)
{
if (!to.isContract()) {
return true;
}
bytes memory returndata = to.functionCall(abi.encodeWithSelector(
IERC721Receiver(to).onERC721Received.selector,
_msgSender(),
from,
tokenId,
_data
), "ERC721: transfer to non ERC721Receiver implementer");
bytes4 retval = abi.decode(returndata, (bytes4));
return (retval == _ERC721_RECEIVED);
}
function _approve(address to, uint256 tokenId) private {
_tokenApprovals[tokenId] = to;
emit Approval(ownerOf(tokenId), to, tokenId);
}
/**
* @dev Hook that is called before any token transfer. This includes minting
* and burning.
*
* Calling conditions:
*
* - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
* transferred to `to`.
* - When `from` is zero, `tokenId` will be minted for `to`.
* - When `to` is zero, ``from``'s `tokenId` will be burned.
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
*
* To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
*/
function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal virtual { }
}
// File: @openzeppelin/contracts/access/AccessControl.sol
pragma solidity ^0.6.0;
/**
* @dev Contract module that allows children to implement role-based access
* control mechanisms.
*
* Roles are referred to by their `bytes32` identifier. These should be exposed
* in the external API and be unique. The best way to achieve this is by
* using `public constant` hash digests:
*
* ```
* bytes32 public constant MY_ROLE = keccak256("MY_ROLE");
* ```
*
* Roles can be used to represent a set of permissions. To restrict access to a
* function call, use {hasRole}:
*
* ```
* function foo() public {
* require(hasRole(MY_ROLE, msg.sender));
* ...
* }
* ```
*
* Roles can be granted and revoked dynamically via the {grantRole} and
* {revokeRole} functions. Each role has an associated admin role, and only
* accounts that have a role's admin role can call {grantRole} and {revokeRole}.
*
* By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means
* that only accounts with this role will be able to grant or revoke other
* roles. More complex role relationships can be created by using
* {_setRoleAdmin}.
*
* WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to
* grant and revoke this role. Extra precautions should be taken to secure
* accounts that have been granted it.
*/
abstract contract AccessControl is Context {
using EnumerableSet for EnumerableSet.AddressSet;
using Address for address;
struct RoleData {
EnumerableSet.AddressSet members;
bytes32 adminRole;
}
mapping (bytes32 => RoleData) private _roles;
bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;
/**
* @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`
*
* `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite
* {RoleAdminChanged} not being emitted signaling this.
*
* _Available since v3.1._
*/
event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);
/**
* @dev Emitted when `account` is granted `role`.
*
* `sender` is the account that originated the contract call, an admin role
* bearer except when using {_setupRole}.
*/
event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);
/**
* @dev Emitted when `account` is revoked `role`.
*
* `sender` is the account that originated the contract call:
* - if using `revokeRole`, it is the admin role bearer
* - if using `renounceRole`, it is the role bearer (i.e. `account`)
*/
event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);
/**
* @dev Returns `true` if `account` has been granted `role`.
*/
function hasRole(bytes32 role, address account) public view returns (bool) {
return _roles[role].members.contains(account);
}
/**
* @dev Returns the number of accounts that have `role`. Can be used
* together with {getRoleMember} to enumerate all bearers of a role.
*/
function getRoleMemberCount(bytes32 role) public view returns (uint256) {
return _roles[role].members.length();
}
/**
* @dev Returns one of the accounts that have `role`. `index` must be a
* value between 0 and {getRoleMemberCount}, non-inclusive.
*
* Role bearers are not sorted in any particular way, and their ordering may
* change at any point.
*
* WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure
* you perform all queries on the same block. See the following
* https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post]
* for more information.
*/
function getRoleMember(bytes32 role, uint256 index) public view returns (address) {
return _roles[role].members.at(index);
}
/**
* @dev Returns the admin role that controls `role`. See {grantRole} and
* {revokeRole}.
*
* To change a role's admin, use {_setRoleAdmin}.
*/
function getRoleAdmin(bytes32 role) public view returns (bytes32) {
return _roles[role].adminRole;
}
/**
* @dev Grants `role` to `account`.
*
* If `account` had not been already granted `role`, emits a {RoleGranted}
* event.
*
* Requirements:
*
* - the caller must have ``role``'s admin role.
*/
function grantRole(bytes32 role, address account) public virtual {
require(hasRole(_roles[role].adminRole, _msgSender()), "AccessControl: sender must be an admin to grant");
_grantRole(role, account);
}
/**
* @dev Revokes `role` from `account`.
*
* If `account` had been granted `role`, emits a {RoleRevoked} event.
*
* Requirements:
*
* - the caller must have ``role``'s admin role.
*/
function revokeRole(bytes32 role, address account) public virtual {
require(hasRole(_roles[role].adminRole, _msgSender()), "AccessControl: sender must be an admin to revoke");
_revokeRole(role, account);
}
/**
* @dev Revokes `role` from the calling account.
*
* Roles are often managed via {grantRole} and {revokeRole}: this function's
* purpose is to provide a mechanism for accounts to lose their privileges
* if they are compromised (such as when a trusted device is misplaced).
*
* If the calling account had been granted `role`, emits a {RoleRevoked}
* event.
*
* Requirements:
*
* - the caller must be `account`.
*/
function renounceRole(bytes32 role, address account) public virtual {
require(account == _msgSender(), "AccessControl: can only renounce roles for self");
_revokeRole(role, account);
}
/**
* @dev Grants `role` to `account`.
*
* If `account` had not been already granted `role`, emits a {RoleGranted}
* event. Note that unlike {grantRole}, this function doesn't perform any
* checks on the calling account.
*
* [WARNING]
* ====
* This function should only be called from the constructor when setting
* up the initial roles for the system.
*
* Using this function in any other way is effectively circumventing the admin
* system imposed by {AccessControl}.
* ====
*/
function _setupRole(bytes32 role, address account) internal virtual {
_grantRole(role, account);
}
/**
* @dev Sets `adminRole` as ``role``'s admin role.
*
* Emits a {RoleAdminChanged} event.
*/
function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {
emit RoleAdminChanged(role, _roles[role].adminRole, adminRole);
_roles[role].adminRole = adminRole;
}
function _grantRole(bytes32 role, address account) private {
if (_roles[role].members.add(account)) {
emit RoleGranted(role, account, _msgSender());
}
}
function _revokeRole(bytes32 role, address account) private {
if (_roles[role].members.remove(account)) {
emit RoleRevoked(role, account, _msgSender());
}
}
}
// File: contracts/EthFighterAccessControls.sol
pragma solidity ^0.6.0;
contract EthFighterAccessControls is AccessControl {
bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE");
constructor() public {
_setupRole(DEFAULT_ADMIN_ROLE, _msgSender());
}
///////////////
// Accessors //
///////////////
function hasAdminRole(address _address) public view returns (bool) {
return hasRole(DEFAULT_ADMIN_ROLE, _address);
}
function hasMinterRole(address _address) public view returns (bool) {
return hasRole(MINTER_ROLE, _address);
}
///////////////
// Modifiers //
///////////////
function grantAdminRole(address _address) public {
require(hasRole(DEFAULT_ADMIN_ROLE, _msgSender()), "AccessControl: sender must be an admin to grant role");
_setupRole(DEFAULT_ADMIN_ROLE, _address);
}
function revokeAdminRole(address _address) public {
require(hasRole(DEFAULT_ADMIN_ROLE, _msgSender()), "AccessControl: sender must be an admin to revoke role");
revokeRole(DEFAULT_ADMIN_ROLE, _address);
}
function grantMinterRole(address _address) public {
require(hasRole(DEFAULT_ADMIN_ROLE, _msgSender()), "AccessControl: sender must be an admin to grant role");
_setupRole(MINTER_ROLE, _address);
}
function revokeMinterRole(address _address) public {
require(hasRole(DEFAULT_ADMIN_ROLE, _msgSender()), "AccessControl: sender must be an admin to revoke role");
revokeRole(MINTER_ROLE, _address);
}
}
// File: contracts/EthFighterCharacterDefinitionRegistry.sol
pragma solidity 0.6.11;
contract EthFighterCharacterDefinitionRegistry {
event CharacterDefinitionSet(
uint256 characterTypeId
);
struct CharacterDefinition {
uint8 skin;
uint8 power;
uint8 health;
uint8 mobility;
uint8 techniques;
uint8 range;
uint8 speed;
uint8 extras;
}
mapping(uint256 => CharacterDefinition) public characterDefinitions;
EthFighterAccessControls public accessControls;
constructor(EthFighterAccessControls _accessControls) public {
accessControls = _accessControls;
}
function setCharacterDefinition(
uint256 _characterTypeId,
uint8 _skin,
uint8 _power,
uint8 _health,
uint8 _mobility,
uint8 _techniques,
uint8 _range,
uint8 _speed,
uint8 _extras
) external {
require(accessControls.hasAdminRole(msg.sender), "EthFighterCharacterDefinitionRegistry.setCharacterDefinition: Sender is not admin");
characterDefinitions[_characterTypeId] = CharacterDefinition({
skin : _skin,
power : _power,
health : _health,
mobility : _mobility,
techniques : _techniques,
range : _range,
speed : _speed,
extras : _extras
});
emit CharacterDefinitionSet(_characterTypeId);
}
function getCharacterDefinition(uint256 _characterTypeId) external view returns (
uint8 _skin,
uint8 _power,
uint8 _health,
uint8 _mobility,
uint8 _techniques,
uint8 _range,
uint8 _speed,
uint8 _extras
) {
CharacterDefinition memory characterDefinition = characterDefinitions[_characterTypeId];
return (
characterDefinition.skin,
characterDefinition.power,
characterDefinition.health,
characterDefinition.mobility,
characterDefinition.techniques,
characterDefinition.range,
characterDefinition.speed,
characterDefinition.extras
);
}
}
// File: contracts/EthFighterToken.sol
pragma solidity ^0.6.0;
contract EthFighterToken is ERC721 {
EthFighterAccessControls public accessControls;
EthFighterCharacterDefinitionRegistry public characterDefinitionRegistry;
uint256 public tokenPointer = 0;
struct CharacterConfig {
uint256 characterTypeId;
uint8 skin;
uint8 power;
uint8 health;
uint8 mobility;
uint8 techniques;
uint8 range;
uint8 speed;
uint8 extras;
}
mapping(uint256 => CharacterConfig) public tokenCharacterConfig;
mapping(uint256 => uint256) public characterTypeMintCount;
constructor (EthFighterAccessControls _accessControls, string memory _tokenBaseUri, EthFighterCharacterDefinitionRegistry _characterDefinitionRegistry)
ERC721("ETHFighter", "ETHF") public {
accessControls = _accessControls;
characterDefinitionRegistry = _characterDefinitionRegistry;
_setBaseURI(_tokenBaseUri);
}
////////////////////
// Action methods //
////////////////////
function mintDefault(address _to, uint256 _characterTypeId) external returns (uint256) {
(
uint8 _skin,
uint8 _power,
uint8 _health,
uint8 _mobility,
uint8 _techniques,
uint8 _range,
uint8 _speed,
uint8 _extras
) = characterDefinitionRegistry.getCharacterDefinition(_characterTypeId);
return mint(
_to,
_characterTypeId,
_skin,
_power,
_health,
_mobility,
_techniques,
_range,
_speed,
_extras
);
}
function mint(
address _to,
uint256 _characterTypeId,
uint8 _skin,
uint8 _power,
uint8 _health,
uint8 _mobility,
uint8 _techniques,
uint8 _range,
uint8 _speed,
uint8 _extras
) public returns (uint256) {
require(accessControls.hasMinterRole(_msgSender()), "EthFighterToken.mint: MinterRole: caller is not a whitelisted.");
tokenPointer = tokenPointer.add(1);
uint256 tokenId = tokenPointer;
_safeMint(_to, tokenId);
tokenCharacterConfig[tokenPointer] = CharacterConfig({
characterTypeId : _characterTypeId,
skin : _skin,
power : _power,
health : _health,
mobility : _mobility,
techniques : _techniques,
range : _range,
speed : _speed,
extras : _extras
});
characterTypeMintCount[_characterTypeId] = characterTypeMintCount[_characterTypeId].add(1);
return tokenId;
}
function burn(uint256 _tokenId) public {
require(_exists(_tokenId), "Burn: token does not exist.");
require(ownerOf(_tokenId) == _msgSender(), "Burn: caller is not token owner.");
_burn(_tokenId);
}
///////////////////
// Query methods //
///////////////////
function exists(uint256 _tokenId) external view returns (bool) {
return _exists(_tokenId);
}
function isApprovedOrOwner(address _spender, uint256 _tokenId) external view returns (bool) {
return _isApprovedOrOwner(_spender, _tokenId);
}
function tokenDetails(uint256 _tokenId) public view returns (
address _owner,
uint256 _characterTypeId,
uint8 _skin,
uint8 _power,
uint8 _health,
uint8 _mobility,
uint8 _techniques,
uint8 _range,
uint8 _speed,
uint8 _extras
) {
require(_exists(_tokenId), "Details: token does not exist.");
CharacterConfig memory config = tokenCharacterConfig[_tokenId];
return (
ownerOf(_tokenId),
config.characterTypeId,
config.skin,
config.power,
config.health,
config.mobility,
config.techniques,
config.range,
config.speed,
config.extras
);
}
/////////////
// Setters //
/////////////
function setCharacterType(uint256 _tokenId, uint256 _characterTypeId) external {
require(accessControls.hasMinterRole(_msgSender()), "TraitChange: caller is not a whitelisted.");
tokenCharacterConfig[_tokenId].characterTypeId = _characterTypeId;
}
function setCharacterSkin(uint256 _tokenId, uint8 _skin) external {
require(accessControls.hasMinterRole(_msgSender()), "TraitChange: caller is not a whitelisted.");
tokenCharacterConfig[_tokenId].skin = _skin;
}
function setCharacterPower(uint256 _tokenId, uint8 _power) external {
require(accessControls.hasMinterRole(_msgSender()), "TraitChange: caller is not a whitelisted.");
tokenCharacterConfig[_tokenId].power = _power;
}
function setCharacterHealth(uint256 _tokenId, uint8 _health) external {
require(accessControls.hasMinterRole(_msgSender()), "TraitChange: caller is not a whitelisted.");
tokenCharacterConfig[_tokenId].health = _health;
}
function setCharacterMobility(uint256 _tokenId, uint8 _mobility) external {
require(accessControls.hasMinterRole(_msgSender()), "TraitChange: caller is not a whitelisted.");
tokenCharacterConfig[_tokenId].mobility = _mobility;
}
function setCharacterTechniques(uint256 _tokenId, uint8 _techniques) external {
require(accessControls.hasMinterRole(_msgSender()), "TraitChange: caller is not a whitelisted.");
tokenCharacterConfig[_tokenId].techniques = _techniques;
}
function setCharacterRange(uint256 _tokenId, uint8 _range) external {
require(accessControls.hasMinterRole(_msgSender()), "TraitChange: caller is not a whitelisted.");
tokenCharacterConfig[_tokenId].range = _range;
}
function setCharacterSpeed(uint256 _tokenId, uint8 _speed) external {
require(accessControls.hasMinterRole(_msgSender()), "TraitChange: caller is not a whitelisted.");
tokenCharacterConfig[_tokenId].speed = _speed;
}
function setCharacterExtras(uint256 _tokenId, uint8 _extras) external {
require(accessControls.hasMinterRole(_msgSender()), "TraitChange: caller is not a whitelisted.");
tokenCharacterConfig[_tokenId].extras = _extras;
}
function setCharacterMakeup(uint256 _tokenId, uint8 _skin, uint8 _power, uint8 _health, uint8 _mobility, uint8 _techniques, uint8 _range, uint8 _speed, uint8 _extras) external {
require(accessControls.hasMinterRole(_msgSender()), "TraitChange: caller is not a whitelisted.");
CharacterConfig storage config = tokenCharacterConfig[_tokenId];
config.skin = _skin;
config.power = _power;
config.health = _health;
config.mobility = _mobility;
config.techniques = _techniques;
config.range = _range;
config.speed = _speed;
config.extras = _extras;
}
function setTokenURI(uint256 _tokenId, string calldata _uri) external {
require(accessControls.hasAdminRole(_msgSender()), "AdminRole: caller is not a admin.");
_setTokenURI(_tokenId, _uri);
}
function setBaseURI(string calldata _baseURI) external {
require(accessControls.hasAdminRole(_msgSender()), "AdminRole: caller is not a admin.");
_setBaseURI(_baseURI);
}
function _beforeTokenTransfer(address _from, address _to, uint256 _tokenId) internal virtual override(ERC721) {
super._beforeTokenTransfer(_from, _to, _tokenId);
}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"contract EthFighterAccessControls","name":"_accessControls","type":"address"},{"internalType":"string","name":"_tokenBaseUri","type":"string"},{"internalType":"contract EthFighterCharacterDefinitionRegistry","name":"_characterDefinitionRegistry","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"accessControls","outputs":[{"internalType":"contract EthFighterAccessControls","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"characterDefinitionRegistry","outputs":[{"internalType":"contract EthFighterCharacterDefinitionRegistry","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"characterTypeMintCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"exists","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_spender","type":"address"},{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"isApprovedOrOwner","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_characterTypeId","type":"uint256"},{"internalType":"uint8","name":"_skin","type":"uint8"},{"internalType":"uint8","name":"_power","type":"uint8"},{"internalType":"uint8","name":"_health","type":"uint8"},{"internalType":"uint8","name":"_mobility","type":"uint8"},{"internalType":"uint8","name":"_techniques","type":"uint8"},{"internalType":"uint8","name":"_range","type":"uint8"},{"internalType":"uint8","name":"_speed","type":"uint8"},{"internalType":"uint8","name":"_extras","type":"uint8"}],"name":"mint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_characterTypeId","type":"uint256"}],"name":"mintDefault","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint8","name":"_extras","type":"uint8"}],"name":"setCharacterExtras","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint8","name":"_health","type":"uint8"}],"name":"setCharacterHealth","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint8","name":"_skin","type":"uint8"},{"internalType":"uint8","name":"_power","type":"uint8"},{"internalType":"uint8","name":"_health","type":"uint8"},{"internalType":"uint8","name":"_mobility","type":"uint8"},{"internalType":"uint8","name":"_techniques","type":"uint8"},{"internalType":"uint8","name":"_range","type":"uint8"},{"internalType":"uint8","name":"_speed","type":"uint8"},{"internalType":"uint8","name":"_extras","type":"uint8"}],"name":"setCharacterMakeup","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint8","name":"_mobility","type":"uint8"}],"name":"setCharacterMobility","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint8","name":"_power","type":"uint8"}],"name":"setCharacterPower","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint8","name":"_range","type":"uint8"}],"name":"setCharacterRange","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint8","name":"_skin","type":"uint8"}],"name":"setCharacterSkin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint8","name":"_speed","type":"uint8"}],"name":"setCharacterSpeed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint8","name":"_techniques","type":"uint8"}],"name":"setCharacterTechniques","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_characterTypeId","type":"uint256"}],"name":"setCharacterType","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"string","name":"_uri","type":"string"}],"name":"setTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokenCharacterConfig","outputs":[{"internalType":"uint256","name":"characterTypeId","type":"uint256"},{"internalType":"uint8","name":"skin","type":"uint8"},{"internalType":"uint8","name":"power","type":"uint8"},{"internalType":"uint8","name":"health","type":"uint8"},{"internalType":"uint8","name":"mobility","type":"uint8"},{"internalType":"uint8","name":"techniques","type":"uint8"},{"internalType":"uint8","name":"range","type":"uint8"},{"internalType":"uint8","name":"speed","type":"uint8"},{"internalType":"uint8","name":"extras","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenDetails","outputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"uint256","name":"_characterTypeId","type":"uint256"},{"internalType":"uint8","name":"_skin","type":"uint8"},{"internalType":"uint8","name":"_power","type":"uint8"},{"internalType":"uint8","name":"_health","type":"uint8"},{"internalType":"uint8","name":"_mobility","type":"uint8"},{"internalType":"uint8","name":"_techniques","type":"uint8"},{"internalType":"uint8","name":"_range","type":"uint8"},{"internalType":"uint8","name":"_speed","type":"uint8"},{"internalType":"uint8","name":"_extras","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenPointer","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","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":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"}]Contract Creation Code
60806040526000600c553480156200001657600080fd5b5060405162003de538038062003de5833981810160405260608110156200003c57600080fd5b8151602083018051604051929492938301929190846401000000008211156200006457600080fd5b9083019060208201858111156200007a57600080fd5b82516401000000008111828201881017156200009557600080fd5b82525081516020918201929091019080838360005b83811015620000c4578181015183820152602001620000aa565b50505050905090810190601f168015620000f25780820380516001836020036101000a031916815260200191505b5060408181526020928301518282018252600a83526922aa242334b3b43a32b960b11b848401528151808301909252600482526322aa242360e11b938201939093529193509150620001546301ffc9a760e01b6001600160e01b036200022016565b815162000169906006906020850190620002be565b5080516200017f906007906020840190620002be565b506200019b6380ac58cd60e01b6001600160e01b036200022016565b620001b6635b5e139f60e01b6001600160e01b036200022016565b620001d163780e9d6360e01b6001600160e01b036200022016565b5050600a80546001600160a01b038086166001600160a01b031992831617909255600b80549284169290911691909117905562000217826001600160e01b03620002a516565b50505062000363565b6001600160e01b0319808216141562000280576040805162461bcd60e51b815260206004820152601c60248201527f4552433136353a20696e76616c696420696e7465726661636520696400000000604482015290519081900360640190fd5b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b8051620002ba906009906020840190620002be565b5050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200030157805160ff191683800117855562000331565b8280016001018555821562000331579182015b828111156200033157825182559160200191906001019062000314565b506200033f92915062000343565b5090565b6200036091905b808211156200033f57600081556001016200034a565b90565b613a7280620003736000396000f3fe608060405234801561001057600080fd5b50600436106102c85760003560e01c80635ab9bfbe1161017b5780637d36d39c116100d8578063c87b56dd1161008c578063e985e9c511610071578063e985e9c514610a52578063f932871614610a80578063fc314e3114610aa6576102c8565b8063c87b56dd14610a0f578063cbc9ff6f14610a2c576102c8565b80639863d6d2116100bd5780639863d6d2146108ef578063a22cb4651461091b578063b88d4fde14610949576102c8565b80637d36d39c1461087757806395d89b41146108e7576102c8565b80636b4034d61161012f57806370a082311161011457806370a08231146107e9578063748365ef1461080f57806379c29f6d14610817576102c8565b80636b4034d6146107d95780636c0360eb146107e1576102c8565b80636352211e116101605780636352211e14610770578063680691a01461078d57806368d29b69146107b3576102c8565b80635ab9bfbe1461072d5780636033ef5814610753576102c8565b806323b872dd116102295780634ded3edd116101dd5780634f6ccce7116101c25780634f6ccce71461063057806355f804b31461064d57806358a81c66146106bd576102c8565b80634ded3edd146105f05780634f558e7914610613576102c8565b806342842e0e1161020e57806342842e0e1461057157806342966c68146105a7578063430c2081146105c4576102c8565b806323b872dd1461050f5780632f745c5914610545576102c8565b8063095ea7b311610280578063162094c411610265578063162094c41461046a57806318160ddd146104e15780631cfa5663146104e9576102c8565b8063095ea7b3146104185780630e58ebde14610444576102c8565b806304b993b7116102b157806304b993b71461033a57806306fdde0314610362578063081812fc146103df576102c8565b806301ffc9a7146102cd5780630283165114610320575b600080fd5b61030c600480360360208110156102e357600080fd5b50357fffffffff0000000000000000000000000000000000000000000000000000000016610b26565b604080519115158252519081900360200190f35b610328610b61565b60408051918252519081900360200190f35b6103606004803603604081101561035057600080fd5b508035906020013560ff16610b67565b005b61036a610c61565b6040805160208082528351818301528351919283929083019185019080838360005b838110156103a457818101518382015260200161038c565b50505050905090810190601f1680156103d15780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6103fc600480360360208110156103f557600080fd5b5035610cf8565b604080516001600160a01b039092168252519081900360200190f35b6103606004803603604081101561042e57600080fd5b506001600160a01b038135169060200135610d5a565b6103606004803603604081101561045a57600080fd5b508035906020013560ff16610e35565b6103606004803603604081101561048057600080fd5b813591908101906040810160208201356401000000008111156104a257600080fd5b8201836020820111156104b457600080fd5b803590602001918460018302840111640100000000831117156104d657600080fd5b509092509050610f20565b610328611026565b610360600480360360408110156104ff57600080fd5b508035906020013560ff16611037565b6103606004803603606081101561052557600080fd5b506001600160a01b03813581169160208101359091169060400135611133565b6103286004803603604081101561055b57600080fd5b506001600160a01b03813516906020013561118a565b6103606004803603606081101561058757600080fd5b506001600160a01b038135811691602081013590911690604001356111bb565b610360600480360360208110156105bd57600080fd5b50356111d6565b61030c600480360360408110156105da57600080fd5b506001600160a01b0381351690602001356112b1565b6103606004803603604081101561060657600080fd5b50803590602001356112bd565b61030c6004803603602081101561062957600080fd5b5035611395565b6103286004803603602081101561064657600080fd5b50356113a0565b6103606004803603602081101561066357600080fd5b81019060208101813564010000000081111561067e57600080fd5b82018360208201111561069057600080fd5b803590602001918460018302840111640100000000831117156106b257600080fd5b5090925090506113bc565b6106da600480360360208110156106d357600080fd5b50356114c5565b60408051998a5260ff98891660208b0152968816898801529487166060890152928616608088015290851660a0870152841660c0860152831660e085015290911661010083015251908190036101200190f35b6103606004803603604081101561074357600080fd5b508035906020013560ff1661152f565b6103286004803603602081101561076957600080fd5b5035611627565b6103fc6004803603602081101561078657600080fd5b5035611639565b610360600480360360408110156107a357600080fd5b508035906020013560ff16611667565b610360600480360360408110156107c957600080fd5b508035906020013560ff1661175b565b6103fc611859565b61036a611868565b610328600480360360208110156107ff57600080fd5b50356001600160a01b03166118c9565b6103fc611931565b610360600480360361012081101561082e57600080fd5b5080359060ff602082013581169160408101358216916060820135811691608081013582169160a082013581169160c081013582169160e0820135811691610100013516611940565b610328600480360361014081101561088e57600080fd5b506001600160a01b038135169060208101359060ff60408201358116916060810135821691608082013581169160a081013582169160c082013581169160e0810135821691610100820135811691610120013516611b11565b61036a611dc6565b6103286004803603604081101561090557600080fd5b506001600160a01b038135169060200135611e27565b6103606004803603604081101561093157600080fd5b506001600160a01b0381351690602001351515611f16565b6103606004803603608081101561095f57600080fd5b6001600160a01b0382358116926020810135909116916040820135919081019060808101606082013564010000000081111561099a57600080fd5b8201836020820111156109ac57600080fd5b803590602001918460018302840111640100000000831117156109ce57600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955061201b945050505050565b61036a60048036036020811015610a2557600080fd5b5035612079565b61036060048036036040811015610a4257600080fd5b508035906020013560ff16612320565b61030c60048036036040811015610a6857600080fd5b506001600160a01b0381358116916020013516612412565b61036060048036036040811015610a9657600080fd5b508035906020013560ff16612440565b610ac360048036036020811015610abc57600080fd5b5035612536565b604080516001600160a01b03909b168b5260208b019990995260ff9788168a8a015295871660608a0152938616608089015291851660a0880152841660c0870152831660e086015282166101008501521661012083015251908190036101400190f35b7fffffffff00000000000000000000000000000000000000000000000000000000811660009081526020819052604090205460ff165b919050565b600c5481565b600a546001600160a01b031663099db017610b806126a1565b6040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b158015610bc657600080fd5b505afa158015610bda573d6000803e3d6000fd5b505050506040513d6020811015610bf057600080fd5b5051610c2d5760405162461bcd60e51b81526004018080602001828103825260298152602001806137626029913960400191505060405180910390fd5b6000918252600d6020526040909120600101805460ff909216650100000000000265ff000000000019909216919091179055565b60068054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610ced5780601f10610cc257610100808354040283529160200191610ced565b820191906000526020600020905b815481529060010190602001808311610cd057829003601f168201915b505050505090505b90565b6000610d03826126a5565b610d3e5760405162461bcd60e51b815260040180806020018281038252602c81526020018061393b602c913960400191505060405180910390fd5b506000908152600460205260409020546001600160a01b031690565b6000610d6582611639565b9050806001600160a01b0316836001600160a01b03161415610db85760405162461bcd60e51b81526004018080602001828103825260218152602001806139eb6021913960400191505060405180910390fd5b806001600160a01b0316610dca6126a1565b6001600160a01b03161480610deb5750610deb81610de66126a1565b612412565b610e265760405162461bcd60e51b815260040180806020018281038252603881526020018061388e6038913960400191505060405180910390fd5b610e3083836126b8565b505050565b600a546001600160a01b031663099db017610e4e6126a1565b6040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b158015610e9457600080fd5b505afa158015610ea8573d6000803e3d6000fd5b505050506040513d6020811015610ebe57600080fd5b5051610efb5760405162461bcd60e51b81526004018080602001828103825260298152602001806137626029913960400191505060405180910390fd5b6000918252600d6020526040909120600101805460ff191660ff909216919091179055565b600a546001600160a01b031663c395fcb3610f396126a1565b6040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b158015610f7f57600080fd5b505afa158015610f93573d6000803e3d6000fd5b505050506040513d6020811015610fa957600080fd5b5051610fe65760405162461bcd60e51b81526004018080602001828103825260218152602001806138416021913960400191505060405180910390fd5b610e308383838080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061273e92505050565b600061103260026127a1565b905090565b600a546001600160a01b031663099db0176110506126a1565b6040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b15801561109657600080fd5b505afa1580156110aa573d6000803e3d6000fd5b505050506040513d60208110156110c057600080fd5b50516110fd5760405162461bcd60e51b81526004018080602001828103825260298152602001806137626029913960400191505060405180910390fd5b6000918252600d6020526040909120600101805460ff90921666010000000000000266ff00000000000019909216919091179055565b61114461113e6126a1565b826127ac565b61117f5760405162461bcd60e51b8152600401808060200182810382526031815260200180613a0c6031913960400191505060405180910390fd5b610e30838383612850565b6001600160a01b03821660009081526001602052604081206111b2908363ffffffff6129ae16565b90505b92915050565b610e308383836040518060200160405280600081525061201b565b6111df816126a5565b611230576040805162461bcd60e51b815260206004820152601b60248201527f4275726e3a20746f6b656e20646f6573206e6f742065786973742e0000000000604482015290519081900360640190fd5b6112386126a1565b6001600160a01b031661124a82611639565b6001600160a01b0316146112a5576040805162461bcd60e51b815260206004820181905260248201527f4275726e3a2063616c6c6572206973206e6f7420746f6b656e206f776e65722e604482015290519081900360640190fd5b6112ae816129ba565b50565b60006111b283836127ac565b600a546001600160a01b031663099db0176112d66126a1565b6040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b15801561131c57600080fd5b505afa158015611330573d6000803e3d6000fd5b505050506040513d602081101561134657600080fd5b50516113835760405162461bcd60e51b81526004018080602001828103825260298152602001806137626029913960400191505060405180910390fd5b6000918252600d602052604090912055565b60006111b5826126a5565b6000806113b460028463ffffffff612a9316565b509392505050565b600a546001600160a01b031663c395fcb36113d56126a1565b6040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b15801561141b57600080fd5b505afa15801561142f573d6000803e3d6000fd5b505050506040513d602081101561144557600080fd5b50516114825760405162461bcd60e51b81526004018080602001828103825260218152602001806138416021913960400191505060405180910390fd5b6114c182828080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250612aaf92505050565b5050565b600d602052600090815260409020805460019091015460ff8082169161010081048216916201000082048116916301000000810482169164010000000082048116916501000000000081048216916601000000000000820481169167010000000000000090041689565b600a546001600160a01b031663099db0176115486126a1565b6040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b15801561158e57600080fd5b505afa1580156115a2573d6000803e3d6000fd5b505050506040513d60208110156115b857600080fd5b50516115f55760405162461bcd60e51b81526004018080602001828103825260298152602001806137626029913960400191505060405180910390fd5b6000918252600d6020526040909120600101805460ff9092166401000000000264ff0000000019909216919091179055565b600e6020526000908152604090205481565b60006111b5826040518060600160405280602981526020016138f0602991396002919063ffffffff612ac216565b600a546001600160a01b031663099db0176116806126a1565b6040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b1580156116c657600080fd5b505afa1580156116da573d6000803e3d6000fd5b505050506040513d60208110156116f057600080fd5b505161172d5760405162461bcd60e51b81526004018080602001828103825260298152602001806137626029913960400191505060405180910390fd5b6000918252600d6020526040909120600101805460ff909216620100000262ff000019909216919091179055565b600a546001600160a01b031663099db0176117746126a1565b6040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b1580156117ba57600080fd5b505afa1580156117ce573d6000803e3d6000fd5b505050506040513d60208110156117e457600080fd5b50516118215760405162461bcd60e51b81526004018080602001828103825260298152602001806137626029913960400191505060405180910390fd5b6000918252600d6020526040909120600101805460ff9092166701000000000000000267ff0000000000000019909216919091179055565b600b546001600160a01b031681565b60098054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610ced5780601f10610cc257610100808354040283529160200191610ced565b60006001600160a01b0382166119105760405162461bcd60e51b815260040180806020018281038252602a8152602001806138c6602a913960400191505060405180910390fd5b6001600160a01b03821660009081526001602052604090206111b5906127a1565b600a546001600160a01b031681565b600a546001600160a01b031663099db0176119596126a1565b6040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b15801561199f57600080fd5b505afa1580156119b3573d6000803e3d6000fd5b505050506040513d60208110156119c957600080fd5b5051611a065760405162461bcd60e51b81526004018080602001828103825260298152602001806137626029913960400191505060405180910390fd5b6000600d60008b81526020019081526020016000209050888160010160006101000a81548160ff021916908360ff160217905550878160010160016101000a81548160ff021916908360ff160217905550868160010160026101000a81548160ff021916908360ff160217905550858160010160036101000a81548160ff021916908360ff160217905550848160010160046101000a81548160ff021916908360ff160217905550838160010160056101000a81548160ff021916908360ff160217905550828160010160066101000a81548160ff021916908360ff160217905550818160010160076101000a81548160ff021916908360ff16021790555050505050505050505050565b600a546000906001600160a01b031663099db017611b2d6126a1565b6040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b158015611b7357600080fd5b505afa158015611b87573d6000803e3d6000fd5b505050506040513d6020811015611b9d57600080fd5b5051611bda5760405162461bcd60e51b815260040180806020018281038252603e8152602001806137df603e913960400191505060405180910390fd5b600c54611bee90600163ffffffff612ad916565b600c819055611bfd8c82612b33565b6040518061012001604052808c81526020018b60ff1681526020018a60ff1681526020018960ff1681526020018860ff1681526020018760ff1681526020018660ff1681526020018560ff1681526020018460ff16815250600d6000600c5481526020019081526020016000206000820151816000015560208201518160010160006101000a81548160ff021916908360ff16021790555060408201518160010160016101000a81548160ff021916908360ff16021790555060608201518160010160026101000a81548160ff021916908360ff16021790555060808201518160010160036101000a81548160ff021916908360ff16021790555060a08201518160010160046101000a81548160ff021916908360ff16021790555060c08201518160010160056101000a81548160ff021916908360ff16021790555060e08201518160010160066101000a81548160ff021916908360ff1602179055506101008201518160010160076101000a81548160ff021916908360ff160217905550905050611da76001600e60008e815260200190815260200160002054612ad990919063ffffffff16565b60008c8152600e602052604090205590509a9950505050505050505050565b60078054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610ced5780601f10610cc257610100808354040283529160200191610ced565b6000806000806000806000806000600b60009054906101000a90046001600160a01b03166001600160a01b03166382a52b968b6040518263ffffffff1660e01b8152600401808281526020019150506101006040518083038186803b158015611e8f57600080fd5b505afa158015611ea3573d6000803e3d6000fd5b505050506040513d610100811015611eba57600080fd5b508051602082015160408301516060840151608085015160a086015160c087015160e090970151959e50939c50919a509850965094509092509050611f078b8b8a8a8a8a8a8a8a8a611b11565b9b9a5050505050505050505050565b611f1e6126a1565b6001600160a01b0316826001600160a01b03161415611f84576040805162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015290519081900360640190fd5b8060056000611f916126a1565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff191692151592909217909155611fd56126a1565b60408051841515815290516001600160a01b0392909216917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c319181900360200190a35050565b61202c6120266126a1565b836127ac565b6120675760405162461bcd60e51b8152600401808060200182810382526031815260200180613a0c6031913960400191505060405180910390fd5b61207384848484612b4d565b50505050565b6060612084826126a5565b6120bf5760405162461bcd60e51b815260040180806020018281038252602f8152602001806139bc602f913960400191505060405180910390fd5b60008281526008602090815260409182902080548351601f60026000196101006001861615020190931692909204918201849004840281018401909452808452606093928301828280156121545780601f1061212957610100808354040283529160200191612154565b820191906000526020600020905b81548152906001019060200180831161213757829003601f168201915b50506009549394505050506002600019610100600184161502019091160461217d579050610b5c565b80511561224e5760098160405160200180838054600181600116156101000203166002900480156121e55780601f106121c35761010080835404028352918201916121e5565b820191906000526020600020905b8154815290600101906020018083116121d1575b5050825160208401908083835b602083106122115780518252601f1990920191602091820191016121f2565b6001836020036101000a03801982511681845116808217855250505050505090500192505050604051602081830303815290604052915050610b5c565b600961225984612b9f565b60405160200180838054600181600116156101000203166002900480156122b75780601f106122955761010080835404028352918201916122b7565b820191906000526020600020905b8154815290600101906020018083116122a3575b5050825160208401908083835b602083106122e35780518252601f1990920191602091820191016122c4565b6001836020036101000a03801982511681845116808217855250505050505090500192505050604051602081830303815290604052915050919050565b600a546001600160a01b031663099db0176123396126a1565b6040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b15801561237f57600080fd5b505afa158015612393573d6000803e3d6000fd5b505050506040513d60208110156123a957600080fd5b50516123e65760405162461bcd60e51b81526004018080602001828103825260298152602001806137626029913960400191505060405180910390fd5b6000918252600d6020526040909120600101805460ff9092166101000261ff0019909216919091179055565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b600a546001600160a01b031663099db0176124596126a1565b6040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b15801561249f57600080fd5b505afa1580156124b3573d6000803e3d6000fd5b505050506040513d60208110156124c957600080fd5b50516125065760405162461bcd60e51b81526004018080602001828103825260298152602001806137626029913960400191505060405180910390fd5b6000918252600d6020526040909120600101805460ff90921663010000000263ff00000019909216919091179055565b60008060008060008060008060008061254e8b6126a5565b61259f576040805162461bcd60e51b815260206004820152601e60248201527f44657461696c733a20746f6b656e20646f6573206e6f742065786973742e0000604482015290519081900360640190fd5b6125a761363d565b5060008b8152600d60209081526040918290208251610120810184528154815260019091015460ff808216938301939093526101008082048416948301949094526201000081048316606083015263010000008104831660808301526401000000008104831660a0830152650100000000008104831660c083015266010000000000008104831660e08301526701000000000000009004909116918101919091526126518c611639565b816000015182602001518360400151846060015185608001518660a001518760c001518860e001518961010001519a509a509a509a509a509a509a509a509a509a50509193959799509193959799565b3390565b60006111b560028363ffffffff612cae16565b600081815260046020526040902080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b038416908117909155819061270582611639565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b612747826126a5565b6127825760405162461bcd60e51b815260040180806020018281038252602c815260200180613967602c913960400191505060405180910390fd5b60008281526008602090815260409091208251610e3092840190613689565b60006111b582612cba565b60006127b7826126a5565b6127f25760405162461bcd60e51b815260040180806020018281038252602c815260200180613862602c913960400191505060405180910390fd5b60006127fd83611639565b9050806001600160a01b0316846001600160a01b031614806128385750836001600160a01b031661282d84610cf8565b6001600160a01b0316145b8061284857506128488185612412565b949350505050565b826001600160a01b031661286382611639565b6001600160a01b0316146128a85760405162461bcd60e51b81526004018080602001828103825260298152602001806139936029913960400191505060405180910390fd5b6001600160a01b0382166128ed5760405162461bcd60e51b815260040180806020018281038252602481526020018061381d6024913960400191505060405180910390fd5b6128f8838383612cbe565b6129036000826126b8565b6001600160a01b038316600090815260016020526040902061292b908263ffffffff612cc916565b506001600160a01b0382166000908152600160205260409020612954908263ffffffff612cd516565b506129676002828463ffffffff612ce116565b5080826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b60006111b28383612cf7565b60006129c582611639565b90506129d381600084612cbe565b6129de6000836126b8565b6000828152600860205260409020546002600019610100600184161502019091160415612a1c576000828152600860205260408120612a1c91613707565b6001600160a01b0381166000908152600160205260409020612a44908363ffffffff612cc916565b50612a5660028363ffffffff612d5b16565b5060405182906000906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b6000808080612aa28686612d67565b9097909650945050505050565b80516114c1906009906020840190613689565b6000612acf848484612de2565b90505b9392505050565b6000828201838110156111b2576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6114c1828260405180602001604052806000815250612eac565b612b58848484612850565b612b6484848484612efe565b6120735760405162461bcd60e51b81526004018080602001828103825260328152602001806137ad6032913960400191505060405180910390fd5b606081612be0575060408051808201909152600181527f30000000000000000000000000000000000000000000000000000000000000006020820152610b5c565b8160005b8115612bf857600101600a82049150612be4565b60608167ffffffffffffffff81118015612c1157600080fd5b506040519080825280601f01601f191660200182016040528015612c3c576020820181803683370190505b50859350905060001982015b8315612ca557600a840660300160f81b82828060019003935081518110612c6b57fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a84049350612c48565b50949350505050565b60006111b283836130c0565b5490565b610e30838383610e30565b60006111b283836130d8565b60006111b2838361319e565b6000612acf84846001600160a01b0385166131e8565b81546000908210612d395760405162461bcd60e51b815260040180806020018281038252602281526020018061378b6022913960400191505060405180910390fd5b826000018281548110612d4857fe5b9060005260206000200154905092915050565b60006111b2838361327f565b815460009081908310612dab5760405162461bcd60e51b81526004018080602001828103825260228152602001806139196022913960400191505060405180910390fd5b6000846000018481548110612dbc57fe5b906000526020600020906002020190508060000154816001015492509250509250929050565b60008281526001840160205260408120548281612e7d5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015612e42578181015183820152602001612e2a565b50505050905090810190601f168015612e6f5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50846000016001820381548110612e9057fe5b9060005260206000209060020201600101549150509392505050565b612eb68383613353565b612ec36000848484612efe565b610e305760405162461bcd60e51b81526004018080602001828103825260328152602001806137ad6032913960400191505060405180910390fd5b6000612f12846001600160a01b031661348d565b612f1e57506001612848565b606061306e630a85bd0160e11b612f336126a1565b88878760405160240180856001600160a01b03166001600160a01b03168152602001846001600160a01b03166001600160a01b0316815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b83811015612fac578181015183820152602001612f94565b50505050905090810190601f168015612fd95780820380516001836020036101000a031916815260200191505b5095505050505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506040518060600160405280603281526020016137ad603291396001600160a01b038816919063ffffffff6134c616565b9050600081806020019051602081101561308757600080fd5b50517fffffffff0000000000000000000000000000000000000000000000000000000016630a85bd0160e11b1492505050949350505050565b60009081526001919091016020526040902054151590565b60008181526001830160205260408120548015613194578354600019808301919081019060009087908390811061310b57fe5b906000526020600020015490508087600001848154811061312857fe5b60009182526020808320909101929092558281526001898101909252604090209084019055865487908061315857fe5b600190038181906000526020600020016000905590558660010160008781526020019081526020016000206000905560019450505050506111b5565b60009150506111b5565b60006131aa83836130c0565b6131e0575081546001818101845560008481526020808220909301849055845484825282860190935260409020919091556111b5565b5060006111b5565b60008281526001840160205260408120548061324d575050604080518082018252838152602080820184815286546001818101895560008981528481209551600290930290950191825591519082015586548684528188019092529290912055612ad2565b8285600001600183038154811061326057fe5b9060005260206000209060020201600101819055506000915050612ad2565b6000818152600183016020526040812054801561319457835460001980830191908101906000908790839081106132b257fe5b90600052602060002090600202019050808760000184815481106132d257fe5b60009182526020808320845460029093020191825560019384015491840191909155835482528983019052604090209084019055865487908061331157fe5b60008281526020808220600260001990940193840201828155600190810183905592909355888152898201909252604082209190915594506111b59350505050565b6001600160a01b0382166133ae576040805162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015290519081900360640190fd5b6133b7816126a5565b15613409576040805162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015290519081900360640190fd5b61341560008383612cbe565b6001600160a01b038216600090815260016020526040902061343d908263ffffffff612cd516565b506134506002828463ffffffff612ce116565b5060405181906001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470818114801590612848575050151592915050565b6060612acf848460008560606134db8561348d565b61352c576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b6020831061356b5780518252601f19909201916020918201910161354c565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146135cd576040519150601f19603f3d011682016040523d82523d6000602084013e6135d2565b606091505b509150915081156135e65791506128489050565b8051156135f65780518082602001fd5b60405162461bcd60e51b8152602060048201818152865160248401528651879391928392604401919085019080838360008315612e42578181015183820152602001612e2a565b6040805161012081018252600080825260208201819052918101829052606081018290526080810182905260a0810182905260c0810182905260e0810182905261010081019190915290565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106136ca57805160ff19168380011785556136f7565b828001600101855582156136f7579182015b828111156136f75782518255916020019190600101906136dc565b50613703929150613747565b5090565b50805460018160011615610100020316600290046000825580601f1061372d57506112ae565b601f0160209004906000526020600020908101906112ae91905b610cf591905b80821115613703576000815560010161374d56fe54726169744368616e67653a2063616c6c6572206973206e6f7420612077686974656c69737465642e456e756d657261626c655365743a20696e646578206f7574206f6620626f756e64734552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e74657245746846696768746572546f6b656e2e6d696e743a204d696e746572526f6c653a2063616c6c6572206973206e6f7420612077686974656c69737465642e4552433732313a207472616e7366657220746f20746865207a65726f206164647265737341646d696e526f6c653a2063616c6c6572206973206e6f7420612061646d696e2e4552433732313a206f70657261746f7220717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656420666f7220616c6c4552433732313a2062616c616e636520717565727920666f7220746865207a65726f20616464726573734552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656e456e756d657261626c654d61703a20696e646578206f7574206f6620626f756e64734552433732313a20617070726f76656420717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732314d657461646174613a2055524920736574206f66206e6f6e6578697374656e7420746f6b656e4552433732313a207472616e73666572206f6620746f6b656e2074686174206973206e6f74206f776e4552433732314d657461646174613a2055524920717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76616c20746f2063757272656e74206f776e65724552433732313a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564a26469706673582212207ef1eb9dd2c3936251bd60c7307244d5481bd0a6d11b20bd76bcb38cadd67d9564736f6c634300060b0033000000000000000000000000e7d34dddfb94025426255a54027d329a03dbcf2e000000000000000000000000000000000000000000000000000000000000006000000000000000000000000011a2d84f9ff554318217ee306db2f101bcc485d8000000000000000000000000000000000000000000000000000000000000004c68747470733a2f2f75732d63656e7472616c312d6574682d666967687465722e636c6f756466756e6374696f6e732e6e65742f6d61696e2f6170692f6e6574776f726b2f312f746f6b656e2f0000000000000000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106102c85760003560e01c80635ab9bfbe1161017b5780637d36d39c116100d8578063c87b56dd1161008c578063e985e9c511610071578063e985e9c514610a52578063f932871614610a80578063fc314e3114610aa6576102c8565b8063c87b56dd14610a0f578063cbc9ff6f14610a2c576102c8565b80639863d6d2116100bd5780639863d6d2146108ef578063a22cb4651461091b578063b88d4fde14610949576102c8565b80637d36d39c1461087757806395d89b41146108e7576102c8565b80636b4034d61161012f57806370a082311161011457806370a08231146107e9578063748365ef1461080f57806379c29f6d14610817576102c8565b80636b4034d6146107d95780636c0360eb146107e1576102c8565b80636352211e116101605780636352211e14610770578063680691a01461078d57806368d29b69146107b3576102c8565b80635ab9bfbe1461072d5780636033ef5814610753576102c8565b806323b872dd116102295780634ded3edd116101dd5780634f6ccce7116101c25780634f6ccce71461063057806355f804b31461064d57806358a81c66146106bd576102c8565b80634ded3edd146105f05780634f558e7914610613576102c8565b806342842e0e1161020e57806342842e0e1461057157806342966c68146105a7578063430c2081146105c4576102c8565b806323b872dd1461050f5780632f745c5914610545576102c8565b8063095ea7b311610280578063162094c411610265578063162094c41461046a57806318160ddd146104e15780631cfa5663146104e9576102c8565b8063095ea7b3146104185780630e58ebde14610444576102c8565b806304b993b7116102b157806304b993b71461033a57806306fdde0314610362578063081812fc146103df576102c8565b806301ffc9a7146102cd5780630283165114610320575b600080fd5b61030c600480360360208110156102e357600080fd5b50357fffffffff0000000000000000000000000000000000000000000000000000000016610b26565b604080519115158252519081900360200190f35b610328610b61565b60408051918252519081900360200190f35b6103606004803603604081101561035057600080fd5b508035906020013560ff16610b67565b005b61036a610c61565b6040805160208082528351818301528351919283929083019185019080838360005b838110156103a457818101518382015260200161038c565b50505050905090810190601f1680156103d15780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6103fc600480360360208110156103f557600080fd5b5035610cf8565b604080516001600160a01b039092168252519081900360200190f35b6103606004803603604081101561042e57600080fd5b506001600160a01b038135169060200135610d5a565b6103606004803603604081101561045a57600080fd5b508035906020013560ff16610e35565b6103606004803603604081101561048057600080fd5b813591908101906040810160208201356401000000008111156104a257600080fd5b8201836020820111156104b457600080fd5b803590602001918460018302840111640100000000831117156104d657600080fd5b509092509050610f20565b610328611026565b610360600480360360408110156104ff57600080fd5b508035906020013560ff16611037565b6103606004803603606081101561052557600080fd5b506001600160a01b03813581169160208101359091169060400135611133565b6103286004803603604081101561055b57600080fd5b506001600160a01b03813516906020013561118a565b6103606004803603606081101561058757600080fd5b506001600160a01b038135811691602081013590911690604001356111bb565b610360600480360360208110156105bd57600080fd5b50356111d6565b61030c600480360360408110156105da57600080fd5b506001600160a01b0381351690602001356112b1565b6103606004803603604081101561060657600080fd5b50803590602001356112bd565b61030c6004803603602081101561062957600080fd5b5035611395565b6103286004803603602081101561064657600080fd5b50356113a0565b6103606004803603602081101561066357600080fd5b81019060208101813564010000000081111561067e57600080fd5b82018360208201111561069057600080fd5b803590602001918460018302840111640100000000831117156106b257600080fd5b5090925090506113bc565b6106da600480360360208110156106d357600080fd5b50356114c5565b60408051998a5260ff98891660208b0152968816898801529487166060890152928616608088015290851660a0870152841660c0860152831660e085015290911661010083015251908190036101200190f35b6103606004803603604081101561074357600080fd5b508035906020013560ff1661152f565b6103286004803603602081101561076957600080fd5b5035611627565b6103fc6004803603602081101561078657600080fd5b5035611639565b610360600480360360408110156107a357600080fd5b508035906020013560ff16611667565b610360600480360360408110156107c957600080fd5b508035906020013560ff1661175b565b6103fc611859565b61036a611868565b610328600480360360208110156107ff57600080fd5b50356001600160a01b03166118c9565b6103fc611931565b610360600480360361012081101561082e57600080fd5b5080359060ff602082013581169160408101358216916060820135811691608081013582169160a082013581169160c081013582169160e0820135811691610100013516611940565b610328600480360361014081101561088e57600080fd5b506001600160a01b038135169060208101359060ff60408201358116916060810135821691608082013581169160a081013582169160c082013581169160e0810135821691610100820135811691610120013516611b11565b61036a611dc6565b6103286004803603604081101561090557600080fd5b506001600160a01b038135169060200135611e27565b6103606004803603604081101561093157600080fd5b506001600160a01b0381351690602001351515611f16565b6103606004803603608081101561095f57600080fd5b6001600160a01b0382358116926020810135909116916040820135919081019060808101606082013564010000000081111561099a57600080fd5b8201836020820111156109ac57600080fd5b803590602001918460018302840111640100000000831117156109ce57600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955061201b945050505050565b61036a60048036036020811015610a2557600080fd5b5035612079565b61036060048036036040811015610a4257600080fd5b508035906020013560ff16612320565b61030c60048036036040811015610a6857600080fd5b506001600160a01b0381358116916020013516612412565b61036060048036036040811015610a9657600080fd5b508035906020013560ff16612440565b610ac360048036036020811015610abc57600080fd5b5035612536565b604080516001600160a01b03909b168b5260208b019990995260ff9788168a8a015295871660608a0152938616608089015291851660a0880152841660c0870152831660e086015282166101008501521661012083015251908190036101400190f35b7fffffffff00000000000000000000000000000000000000000000000000000000811660009081526020819052604090205460ff165b919050565b600c5481565b600a546001600160a01b031663099db017610b806126a1565b6040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b158015610bc657600080fd5b505afa158015610bda573d6000803e3d6000fd5b505050506040513d6020811015610bf057600080fd5b5051610c2d5760405162461bcd60e51b81526004018080602001828103825260298152602001806137626029913960400191505060405180910390fd5b6000918252600d6020526040909120600101805460ff909216650100000000000265ff000000000019909216919091179055565b60068054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610ced5780601f10610cc257610100808354040283529160200191610ced565b820191906000526020600020905b815481529060010190602001808311610cd057829003601f168201915b505050505090505b90565b6000610d03826126a5565b610d3e5760405162461bcd60e51b815260040180806020018281038252602c81526020018061393b602c913960400191505060405180910390fd5b506000908152600460205260409020546001600160a01b031690565b6000610d6582611639565b9050806001600160a01b0316836001600160a01b03161415610db85760405162461bcd60e51b81526004018080602001828103825260218152602001806139eb6021913960400191505060405180910390fd5b806001600160a01b0316610dca6126a1565b6001600160a01b03161480610deb5750610deb81610de66126a1565b612412565b610e265760405162461bcd60e51b815260040180806020018281038252603881526020018061388e6038913960400191505060405180910390fd5b610e3083836126b8565b505050565b600a546001600160a01b031663099db017610e4e6126a1565b6040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b158015610e9457600080fd5b505afa158015610ea8573d6000803e3d6000fd5b505050506040513d6020811015610ebe57600080fd5b5051610efb5760405162461bcd60e51b81526004018080602001828103825260298152602001806137626029913960400191505060405180910390fd5b6000918252600d6020526040909120600101805460ff191660ff909216919091179055565b600a546001600160a01b031663c395fcb3610f396126a1565b6040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b158015610f7f57600080fd5b505afa158015610f93573d6000803e3d6000fd5b505050506040513d6020811015610fa957600080fd5b5051610fe65760405162461bcd60e51b81526004018080602001828103825260218152602001806138416021913960400191505060405180910390fd5b610e308383838080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061273e92505050565b600061103260026127a1565b905090565b600a546001600160a01b031663099db0176110506126a1565b6040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b15801561109657600080fd5b505afa1580156110aa573d6000803e3d6000fd5b505050506040513d60208110156110c057600080fd5b50516110fd5760405162461bcd60e51b81526004018080602001828103825260298152602001806137626029913960400191505060405180910390fd5b6000918252600d6020526040909120600101805460ff90921666010000000000000266ff00000000000019909216919091179055565b61114461113e6126a1565b826127ac565b61117f5760405162461bcd60e51b8152600401808060200182810382526031815260200180613a0c6031913960400191505060405180910390fd5b610e30838383612850565b6001600160a01b03821660009081526001602052604081206111b2908363ffffffff6129ae16565b90505b92915050565b610e308383836040518060200160405280600081525061201b565b6111df816126a5565b611230576040805162461bcd60e51b815260206004820152601b60248201527f4275726e3a20746f6b656e20646f6573206e6f742065786973742e0000000000604482015290519081900360640190fd5b6112386126a1565b6001600160a01b031661124a82611639565b6001600160a01b0316146112a5576040805162461bcd60e51b815260206004820181905260248201527f4275726e3a2063616c6c6572206973206e6f7420746f6b656e206f776e65722e604482015290519081900360640190fd5b6112ae816129ba565b50565b60006111b283836127ac565b600a546001600160a01b031663099db0176112d66126a1565b6040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b15801561131c57600080fd5b505afa158015611330573d6000803e3d6000fd5b505050506040513d602081101561134657600080fd5b50516113835760405162461bcd60e51b81526004018080602001828103825260298152602001806137626029913960400191505060405180910390fd5b6000918252600d602052604090912055565b60006111b5826126a5565b6000806113b460028463ffffffff612a9316565b509392505050565b600a546001600160a01b031663c395fcb36113d56126a1565b6040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b15801561141b57600080fd5b505afa15801561142f573d6000803e3d6000fd5b505050506040513d602081101561144557600080fd5b50516114825760405162461bcd60e51b81526004018080602001828103825260218152602001806138416021913960400191505060405180910390fd5b6114c182828080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250612aaf92505050565b5050565b600d602052600090815260409020805460019091015460ff8082169161010081048216916201000082048116916301000000810482169164010000000082048116916501000000000081048216916601000000000000820481169167010000000000000090041689565b600a546001600160a01b031663099db0176115486126a1565b6040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b15801561158e57600080fd5b505afa1580156115a2573d6000803e3d6000fd5b505050506040513d60208110156115b857600080fd5b50516115f55760405162461bcd60e51b81526004018080602001828103825260298152602001806137626029913960400191505060405180910390fd5b6000918252600d6020526040909120600101805460ff9092166401000000000264ff0000000019909216919091179055565b600e6020526000908152604090205481565b60006111b5826040518060600160405280602981526020016138f0602991396002919063ffffffff612ac216565b600a546001600160a01b031663099db0176116806126a1565b6040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b1580156116c657600080fd5b505afa1580156116da573d6000803e3d6000fd5b505050506040513d60208110156116f057600080fd5b505161172d5760405162461bcd60e51b81526004018080602001828103825260298152602001806137626029913960400191505060405180910390fd5b6000918252600d6020526040909120600101805460ff909216620100000262ff000019909216919091179055565b600a546001600160a01b031663099db0176117746126a1565b6040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b1580156117ba57600080fd5b505afa1580156117ce573d6000803e3d6000fd5b505050506040513d60208110156117e457600080fd5b50516118215760405162461bcd60e51b81526004018080602001828103825260298152602001806137626029913960400191505060405180910390fd5b6000918252600d6020526040909120600101805460ff9092166701000000000000000267ff0000000000000019909216919091179055565b600b546001600160a01b031681565b60098054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610ced5780601f10610cc257610100808354040283529160200191610ced565b60006001600160a01b0382166119105760405162461bcd60e51b815260040180806020018281038252602a8152602001806138c6602a913960400191505060405180910390fd5b6001600160a01b03821660009081526001602052604090206111b5906127a1565b600a546001600160a01b031681565b600a546001600160a01b031663099db0176119596126a1565b6040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b15801561199f57600080fd5b505afa1580156119b3573d6000803e3d6000fd5b505050506040513d60208110156119c957600080fd5b5051611a065760405162461bcd60e51b81526004018080602001828103825260298152602001806137626029913960400191505060405180910390fd5b6000600d60008b81526020019081526020016000209050888160010160006101000a81548160ff021916908360ff160217905550878160010160016101000a81548160ff021916908360ff160217905550868160010160026101000a81548160ff021916908360ff160217905550858160010160036101000a81548160ff021916908360ff160217905550848160010160046101000a81548160ff021916908360ff160217905550838160010160056101000a81548160ff021916908360ff160217905550828160010160066101000a81548160ff021916908360ff160217905550818160010160076101000a81548160ff021916908360ff16021790555050505050505050505050565b600a546000906001600160a01b031663099db017611b2d6126a1565b6040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b158015611b7357600080fd5b505afa158015611b87573d6000803e3d6000fd5b505050506040513d6020811015611b9d57600080fd5b5051611bda5760405162461bcd60e51b815260040180806020018281038252603e8152602001806137df603e913960400191505060405180910390fd5b600c54611bee90600163ffffffff612ad916565b600c819055611bfd8c82612b33565b6040518061012001604052808c81526020018b60ff1681526020018a60ff1681526020018960ff1681526020018860ff1681526020018760ff1681526020018660ff1681526020018560ff1681526020018460ff16815250600d6000600c5481526020019081526020016000206000820151816000015560208201518160010160006101000a81548160ff021916908360ff16021790555060408201518160010160016101000a81548160ff021916908360ff16021790555060608201518160010160026101000a81548160ff021916908360ff16021790555060808201518160010160036101000a81548160ff021916908360ff16021790555060a08201518160010160046101000a81548160ff021916908360ff16021790555060c08201518160010160056101000a81548160ff021916908360ff16021790555060e08201518160010160066101000a81548160ff021916908360ff1602179055506101008201518160010160076101000a81548160ff021916908360ff160217905550905050611da76001600e60008e815260200190815260200160002054612ad990919063ffffffff16565b60008c8152600e602052604090205590509a9950505050505050505050565b60078054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610ced5780601f10610cc257610100808354040283529160200191610ced565b6000806000806000806000806000600b60009054906101000a90046001600160a01b03166001600160a01b03166382a52b968b6040518263ffffffff1660e01b8152600401808281526020019150506101006040518083038186803b158015611e8f57600080fd5b505afa158015611ea3573d6000803e3d6000fd5b505050506040513d610100811015611eba57600080fd5b508051602082015160408301516060840151608085015160a086015160c087015160e090970151959e50939c50919a509850965094509092509050611f078b8b8a8a8a8a8a8a8a8a611b11565b9b9a5050505050505050505050565b611f1e6126a1565b6001600160a01b0316826001600160a01b03161415611f84576040805162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015290519081900360640190fd5b8060056000611f916126a1565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff191692151592909217909155611fd56126a1565b60408051841515815290516001600160a01b0392909216917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c319181900360200190a35050565b61202c6120266126a1565b836127ac565b6120675760405162461bcd60e51b8152600401808060200182810382526031815260200180613a0c6031913960400191505060405180910390fd5b61207384848484612b4d565b50505050565b6060612084826126a5565b6120bf5760405162461bcd60e51b815260040180806020018281038252602f8152602001806139bc602f913960400191505060405180910390fd5b60008281526008602090815260409182902080548351601f60026000196101006001861615020190931692909204918201849004840281018401909452808452606093928301828280156121545780601f1061212957610100808354040283529160200191612154565b820191906000526020600020905b81548152906001019060200180831161213757829003601f168201915b50506009549394505050506002600019610100600184161502019091160461217d579050610b5c565b80511561224e5760098160405160200180838054600181600116156101000203166002900480156121e55780601f106121c35761010080835404028352918201916121e5565b820191906000526020600020905b8154815290600101906020018083116121d1575b5050825160208401908083835b602083106122115780518252601f1990920191602091820191016121f2565b6001836020036101000a03801982511681845116808217855250505050505090500192505050604051602081830303815290604052915050610b5c565b600961225984612b9f565b60405160200180838054600181600116156101000203166002900480156122b75780601f106122955761010080835404028352918201916122b7565b820191906000526020600020905b8154815290600101906020018083116122a3575b5050825160208401908083835b602083106122e35780518252601f1990920191602091820191016122c4565b6001836020036101000a03801982511681845116808217855250505050505090500192505050604051602081830303815290604052915050919050565b600a546001600160a01b031663099db0176123396126a1565b6040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b15801561237f57600080fd5b505afa158015612393573d6000803e3d6000fd5b505050506040513d60208110156123a957600080fd5b50516123e65760405162461bcd60e51b81526004018080602001828103825260298152602001806137626029913960400191505060405180910390fd5b6000918252600d6020526040909120600101805460ff9092166101000261ff0019909216919091179055565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b600a546001600160a01b031663099db0176124596126a1565b6040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b15801561249f57600080fd5b505afa1580156124b3573d6000803e3d6000fd5b505050506040513d60208110156124c957600080fd5b50516125065760405162461bcd60e51b81526004018080602001828103825260298152602001806137626029913960400191505060405180910390fd5b6000918252600d6020526040909120600101805460ff90921663010000000263ff00000019909216919091179055565b60008060008060008060008060008061254e8b6126a5565b61259f576040805162461bcd60e51b815260206004820152601e60248201527f44657461696c733a20746f6b656e20646f6573206e6f742065786973742e0000604482015290519081900360640190fd5b6125a761363d565b5060008b8152600d60209081526040918290208251610120810184528154815260019091015460ff808216938301939093526101008082048416948301949094526201000081048316606083015263010000008104831660808301526401000000008104831660a0830152650100000000008104831660c083015266010000000000008104831660e08301526701000000000000009004909116918101919091526126518c611639565b816000015182602001518360400151846060015185608001518660a001518760c001518860e001518961010001519a509a509a509a509a509a509a509a509a509a50509193959799509193959799565b3390565b60006111b560028363ffffffff612cae16565b600081815260046020526040902080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b038416908117909155819061270582611639565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b612747826126a5565b6127825760405162461bcd60e51b815260040180806020018281038252602c815260200180613967602c913960400191505060405180910390fd5b60008281526008602090815260409091208251610e3092840190613689565b60006111b582612cba565b60006127b7826126a5565b6127f25760405162461bcd60e51b815260040180806020018281038252602c815260200180613862602c913960400191505060405180910390fd5b60006127fd83611639565b9050806001600160a01b0316846001600160a01b031614806128385750836001600160a01b031661282d84610cf8565b6001600160a01b0316145b8061284857506128488185612412565b949350505050565b826001600160a01b031661286382611639565b6001600160a01b0316146128a85760405162461bcd60e51b81526004018080602001828103825260298152602001806139936029913960400191505060405180910390fd5b6001600160a01b0382166128ed5760405162461bcd60e51b815260040180806020018281038252602481526020018061381d6024913960400191505060405180910390fd5b6128f8838383612cbe565b6129036000826126b8565b6001600160a01b038316600090815260016020526040902061292b908263ffffffff612cc916565b506001600160a01b0382166000908152600160205260409020612954908263ffffffff612cd516565b506129676002828463ffffffff612ce116565b5080826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b60006111b28383612cf7565b60006129c582611639565b90506129d381600084612cbe565b6129de6000836126b8565b6000828152600860205260409020546002600019610100600184161502019091160415612a1c576000828152600860205260408120612a1c91613707565b6001600160a01b0381166000908152600160205260409020612a44908363ffffffff612cc916565b50612a5660028363ffffffff612d5b16565b5060405182906000906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b6000808080612aa28686612d67565b9097909650945050505050565b80516114c1906009906020840190613689565b6000612acf848484612de2565b90505b9392505050565b6000828201838110156111b2576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6114c1828260405180602001604052806000815250612eac565b612b58848484612850565b612b6484848484612efe565b6120735760405162461bcd60e51b81526004018080602001828103825260328152602001806137ad6032913960400191505060405180910390fd5b606081612be0575060408051808201909152600181527f30000000000000000000000000000000000000000000000000000000000000006020820152610b5c565b8160005b8115612bf857600101600a82049150612be4565b60608167ffffffffffffffff81118015612c1157600080fd5b506040519080825280601f01601f191660200182016040528015612c3c576020820181803683370190505b50859350905060001982015b8315612ca557600a840660300160f81b82828060019003935081518110612c6b57fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a84049350612c48565b50949350505050565b60006111b283836130c0565b5490565b610e30838383610e30565b60006111b283836130d8565b60006111b2838361319e565b6000612acf84846001600160a01b0385166131e8565b81546000908210612d395760405162461bcd60e51b815260040180806020018281038252602281526020018061378b6022913960400191505060405180910390fd5b826000018281548110612d4857fe5b9060005260206000200154905092915050565b60006111b2838361327f565b815460009081908310612dab5760405162461bcd60e51b81526004018080602001828103825260228152602001806139196022913960400191505060405180910390fd5b6000846000018481548110612dbc57fe5b906000526020600020906002020190508060000154816001015492509250509250929050565b60008281526001840160205260408120548281612e7d5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015612e42578181015183820152602001612e2a565b50505050905090810190601f168015612e6f5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50846000016001820381548110612e9057fe5b9060005260206000209060020201600101549150509392505050565b612eb68383613353565b612ec36000848484612efe565b610e305760405162461bcd60e51b81526004018080602001828103825260328152602001806137ad6032913960400191505060405180910390fd5b6000612f12846001600160a01b031661348d565b612f1e57506001612848565b606061306e630a85bd0160e11b612f336126a1565b88878760405160240180856001600160a01b03166001600160a01b03168152602001846001600160a01b03166001600160a01b0316815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b83811015612fac578181015183820152602001612f94565b50505050905090810190601f168015612fd95780820380516001836020036101000a031916815260200191505b5095505050505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506040518060600160405280603281526020016137ad603291396001600160a01b038816919063ffffffff6134c616565b9050600081806020019051602081101561308757600080fd5b50517fffffffff0000000000000000000000000000000000000000000000000000000016630a85bd0160e11b1492505050949350505050565b60009081526001919091016020526040902054151590565b60008181526001830160205260408120548015613194578354600019808301919081019060009087908390811061310b57fe5b906000526020600020015490508087600001848154811061312857fe5b60009182526020808320909101929092558281526001898101909252604090209084019055865487908061315857fe5b600190038181906000526020600020016000905590558660010160008781526020019081526020016000206000905560019450505050506111b5565b60009150506111b5565b60006131aa83836130c0565b6131e0575081546001818101845560008481526020808220909301849055845484825282860190935260409020919091556111b5565b5060006111b5565b60008281526001840160205260408120548061324d575050604080518082018252838152602080820184815286546001818101895560008981528481209551600290930290950191825591519082015586548684528188019092529290912055612ad2565b8285600001600183038154811061326057fe5b9060005260206000209060020201600101819055506000915050612ad2565b6000818152600183016020526040812054801561319457835460001980830191908101906000908790839081106132b257fe5b90600052602060002090600202019050808760000184815481106132d257fe5b60009182526020808320845460029093020191825560019384015491840191909155835482528983019052604090209084019055865487908061331157fe5b60008281526020808220600260001990940193840201828155600190810183905592909355888152898201909252604082209190915594506111b59350505050565b6001600160a01b0382166133ae576040805162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015290519081900360640190fd5b6133b7816126a5565b15613409576040805162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015290519081900360640190fd5b61341560008383612cbe565b6001600160a01b038216600090815260016020526040902061343d908263ffffffff612cd516565b506134506002828463ffffffff612ce116565b5060405181906001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470818114801590612848575050151592915050565b6060612acf848460008560606134db8561348d565b61352c576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b6020831061356b5780518252601f19909201916020918201910161354c565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146135cd576040519150601f19603f3d011682016040523d82523d6000602084013e6135d2565b606091505b509150915081156135e65791506128489050565b8051156135f65780518082602001fd5b60405162461bcd60e51b8152602060048201818152865160248401528651879391928392604401919085019080838360008315612e42578181015183820152602001612e2a565b6040805161012081018252600080825260208201819052918101829052606081018290526080810182905260a0810182905260c0810182905260e0810182905261010081019190915290565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106136ca57805160ff19168380011785556136f7565b828001600101855582156136f7579182015b828111156136f75782518255916020019190600101906136dc565b50613703929150613747565b5090565b50805460018160011615610100020316600290046000825580601f1061372d57506112ae565b601f0160209004906000526020600020908101906112ae91905b610cf591905b80821115613703576000815560010161374d56fe54726169744368616e67653a2063616c6c6572206973206e6f7420612077686974656c69737465642e456e756d657261626c655365743a20696e646578206f7574206f6620626f756e64734552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e74657245746846696768746572546f6b656e2e6d696e743a204d696e746572526f6c653a2063616c6c6572206973206e6f7420612077686974656c69737465642e4552433732313a207472616e7366657220746f20746865207a65726f206164647265737341646d696e526f6c653a2063616c6c6572206973206e6f7420612061646d696e2e4552433732313a206f70657261746f7220717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656420666f7220616c6c4552433732313a2062616c616e636520717565727920666f7220746865207a65726f20616464726573734552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656e456e756d657261626c654d61703a20696e646578206f7574206f6620626f756e64734552433732313a20617070726f76656420717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732314d657461646174613a2055524920736574206f66206e6f6e6578697374656e7420746f6b656e4552433732313a207472616e73666572206f6620746f6b656e2074686174206973206e6f74206f776e4552433732314d657461646174613a2055524920717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76616c20746f2063757272656e74206f776e65724552433732313a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564a26469706673582212207ef1eb9dd2c3936251bd60c7307244d5481bd0a6d11b20bd76bcb38cadd67d9564736f6c634300060b0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000e7d34dddfb94025426255a54027d329a03dbcf2e000000000000000000000000000000000000000000000000000000000000006000000000000000000000000011a2d84f9ff554318217ee306db2f101bcc485d8000000000000000000000000000000000000000000000000000000000000004c68747470733a2f2f75732d63656e7472616c312d6574682d666967687465722e636c6f756466756e6374696f6e732e6e65742f6d61696e2f6170692f6e6574776f726b2f312f746f6b656e2f0000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _accessControls (address): 0xE7d34DDdFb94025426255A54027D329A03dbcf2E
Arg [1] : _tokenBaseUri (string): https://us-central1-eth-fighter.cloudfunctions.net/main/api/network/1/token/
Arg [2] : _characterDefinitionRegistry (address): 0x11a2d84F9fF554318217EE306db2F101Bcc485D8
-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 000000000000000000000000e7d34dddfb94025426255a54027d329a03dbcf2e
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [2] : 00000000000000000000000011a2d84f9ff554318217ee306db2f101bcc485d8
Arg [3] : 000000000000000000000000000000000000000000000000000000000000004c
Arg [4] : 68747470733a2f2f75732d63656e7472616c312d6574682d666967687465722e
Arg [5] : 636c6f756466756e6374696f6e732e6e65742f6d61696e2f6170692f6e657477
Arg [6] : 6f726b2f312f746f6b656e2f0000000000000000000000000000000000000000
Deployed Bytecode Sourcemap
68614:7768:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10170:142;;;;;;;;;;;;;;;;-1:-1:-1;10170:142:0;;;;:::i;:::-;;;;;;;;;;;;;;;;;;68792:31;;;:::i;:::-;;;;;;;;;;;;;;;;74386:239;;;;;;;;;;;;;;;;-1:-1:-1;74386:239:0;;;;;;;;;:::i;:::-;;44460:92;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47147:213;;;;;;;;;;;;;;;;-1:-1:-1;47147:213:0;;:::i;:::-;;;;-1:-1:-1;;;;;47147:213:0;;;;;;;;;;;;;;46691:390;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;46691:390:0;;;;;;;;:::i;73119:235::-;;;;;;;;;;;;;;;;-1:-1:-1;73119:235:0;;;;;;;;;:::i;75778:215::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;75778:215:0;;-1:-1:-1;75778:215:0;-1:-1:-1;75778:215:0;:::i;46185:203::-;;;:::i;74633:239::-;;;;;;;;;;;;;;;;-1:-1:-1;74633:239:0;;;;;;;;;:::i;48021:305::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;48021:305:0;;;;;;;;;;;;;;;;;:::i;45955:154::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;45955:154:0;;;;;;;;:::i;48397:151::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;48397:151:0;;;;;;;;;;;;;;;;;:::i;71421:230::-;;;;;;;;;;;;;;;;-1:-1:-1;71421:230:0;;:::i;71850:156::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;71850:156:0;;;;;;;;:::i;72841:270::-;;;;;;;;;;;;;;;;-1:-1:-1;72841:270:0;;;;;;;:::i;71736:106::-;;;;;;;;;;;;;;;;-1:-1:-1;71736:106:0;;:::i;46465:164::-;;;;;;;;;;;;;;;;-1:-1:-1;46465:164:0;;:::i;76001:193::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;76001:193:0;;-1:-1:-1;76001:193:0;-1:-1:-1;76001:193:0;:::i;69090:63::-;;;;;;;;;;;;;;;;-1:-1:-1;69090:63:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;74119:259;;;;;;;;;;;;;;;;-1:-1:-1;74119:259:0;;;;;;;;;:::i;69160:57::-;;;;;;;;;;;;;;;;-1:-1:-1;69160:57:0;;:::i;44224:169::-;;;;;;;;;;;;;;;;-1:-1:-1;44224:169:0;;:::i;73609:243::-;;;;;;;;;;;;;;;;-1:-1:-1;73609:243:0;;;;;;;;;:::i;74880:::-;;;;;;;;;;;;;;;;-1:-1:-1;74880:243:0;;;;;;;;;:::i;68711:72::-;;;:::i;45782:89::-;;;:::i;43947:215::-;;;;;;;;;;;;;;;;-1:-1:-1;43947:215:0;-1:-1:-1;;;;;43947:215:0;;:::i;68658:46::-;;;:::i;75131:639::-;;;;;;;;;;;;;;;;-1:-1:-1;75131:639:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;70346:1067::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;70346:1067:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;44621:96::-;;;:::i;69664:674::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;69664:674:0;;;;;;;;:::i;47432:295::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;47432:295:0;;;;;;;;;;:::i;48619:285::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;48619:285:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;48619:285:0;;-1:-1:-1;48619:285:0;;-1:-1:-1;;;;;48619:285:0:i;44788:755::-;;;;;;;;;;;;;;;;-1:-1:-1;44788:755:0;;:::i;73362:239::-;;;;;;;;;;;;;;;;-1:-1:-1;73362:239:0;;;;;;;;;:::i;47798:156::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;47798:156:0;;;;;;;;;;:::i;73860:251::-;;;;;;;;;;;;;;;;-1:-1:-1;73860:251:0;;;;;;;;;:::i;72014:760::-;;;;;;;;;;;;;;;;-1:-1:-1;72014:760:0;;:::i;:::-;;;;-1:-1:-1;;;;;72014:760:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10170:142;10271:33;;;10247:4;10271:33;;;;;;;;;;;;;10170:142;;;;:::o;68792:31::-;;;;:::o;74386:239::-;74473:14;;-1:-1:-1;;;;;74473:14:0;:28;74502:12;:10;:12::i;:::-;74473:42;;;;;;;;;;;;;-1:-1:-1;;;;;74473:42:0;-1:-1:-1;;;;;74473:42:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;74473:42:0;74465:96;;;;-1:-1:-1;;;74465:96:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;74572:30;;;;:20;:30;;;;;;:36;;:45;;;;;;;;-1:-1:-1;;74572:45:0;;;;;;;;;74386:239::o;44460:92::-;44539:5;44532:12;;;;;;;;-1:-1:-1;;44532:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44506:13;;44532:12;;44539:5;;44532:12;;44539:5;44532:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44460:92;;:::o;47147:213::-;47215:7;47243:16;47251:7;47243;:16::i;:::-;47235:73;;;;-1:-1:-1;;;47235:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;47328:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;47328:24:0;;47147:213::o;46691:390::-;46772:13;46788:16;46796:7;46788;:16::i;:::-;46772:32;;46829:5;-1:-1:-1;;;;;46823:11:0;:2;-1:-1:-1;;;;;46823:11:0;;;46815:57;;;;-1:-1:-1;;;46815:57:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46909:5;-1:-1:-1;;;;;46893:21:0;:12;:10;:12::i;:::-;-1:-1:-1;;;;;46893:21:0;;:62;;;;46918:37;46935:5;46942:12;:10;:12::i;:::-;46918:16;:37::i;:::-;46885:154;;;;-1:-1:-1;;;46885:154:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47052:21;47061:2;47065:7;47052:8;:21::i;:::-;46691:390;;;:::o;73119:235::-;73204:14;;-1:-1:-1;;;;;73204:14:0;:28;73233:12;:10;:12::i;:::-;73204:42;;;;;;;;;;;;;-1:-1:-1;;;;;73204:42:0;-1:-1:-1;;;;;73204:42:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;73204:42:0;73196:96;;;;-1:-1:-1;;;73196:96:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;73303:30;;;;:20;:30;;;;;;:35;;:43;;-1:-1:-1;;73303:43:0;;;;;;;;;;;73119:235::o;75778:215::-;75867:14;;-1:-1:-1;;;;;75867:14:0;:27;75895:12;:10;:12::i;:::-;75867:41;;;;;;;;;;;;;-1:-1:-1;;;;;75867:41:0;-1:-1:-1;;;;;75867:41:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;75867:41:0;75859:87;;;;-1:-1:-1;;;75859:87:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;75957:28;75970:8;75980:4;;75957:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;75957:12:0;;-1:-1:-1;;;75957:28:0:i;46185:203::-;46238:7;46359:21;:12;:19;:21::i;:::-;46352:28;;46185:203;:::o;74633:239::-;74720:14;;-1:-1:-1;;;;;74720:14:0;:28;74749:12;:10;:12::i;:::-;74720:42;;;;;;;;;;;;;-1:-1:-1;;;;;74720:42:0;-1:-1:-1;;;;;74720:42:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;74720:42:0;74712:96;;;;-1:-1:-1;;;74712:96:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;74819:30;;;;:20;:30;;;;;;:36;;:45;;;;;;;;-1:-1:-1;;74819:45:0;;;;;;;;;74633:239::o;48021:305::-;48182:41;48201:12;:10;:12::i;:::-;48215:7;48182:18;:41::i;:::-;48174:103;;;;-1:-1:-1;;;48174:103:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48290:28;48300:4;48306:2;48310:7;48290:9;:28::i;45955:154::-;-1:-1:-1;;;;;46071:20:0;;46044:7;46071:20;;;:13;:20;;;;;:30;;46095:5;46071:30;:23;:30;:::i;:::-;46064:37;;45955:154;;;;;:::o;48397:151::-;48501:39;48518:4;48524:2;48528:7;48501:39;;;;;;;;;;;;:16;:39::i;71421:230::-;71479:17;71487:8;71479:7;:17::i;:::-;71471:57;;;;;-1:-1:-1;;;71471:57:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;71568:12;:10;:12::i;:::-;-1:-1:-1;;;;;71547:33:0;:17;71555:8;71547:7;:17::i;:::-;-1:-1:-1;;;;;71547:33:0;;71539:78;;;;;-1:-1:-1;;;71539:78:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;71628:15;71634:8;71628:5;:15::i;:::-;71421:230;:::o;71850:156::-;71936:4;71960:38;71979:8;71989;71960:18;:38::i;72841:270::-;72939:14;;-1:-1:-1;;;;;72939:14:0;:28;72968:12;:10;:12::i;:::-;72939:42;;;;;;;;;;;;;-1:-1:-1;;;;;72939:42:0;-1:-1:-1;;;;;72939:42:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;72939:42:0;72931:96;;;;-1:-1:-1;;;72931:96:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;73038:30;;;;:20;:30;;;;;;:65;72841:270::o;71736:106::-;71793:4;71817:17;71825:8;71817:7;:17::i;46465:164::-;46532:7;;46574:22;:12;46590:5;46574:22;:15;:22;:::i;:::-;-1:-1:-1;46552:44:0;46465:164;-1:-1:-1;;;46465:164:0:o;76001:193::-;76075:14;;-1:-1:-1;;;;;76075:14:0;:27;76103:12;:10;:12::i;:::-;76075:41;;;;;;;;;;;;;-1:-1:-1;;;;;76075:41:0;-1:-1:-1;;;;;76075:41:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;76075:41:0;76067:87;;;;-1:-1:-1;;;76067:87:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;76165:21;76177:8;;76165:21;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;76165:11:0;;-1:-1:-1;;;76165:21:0:i;:::-;76001:193;;:::o;69090:63::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;74119:259::-;74216:14;;-1:-1:-1;;;;;74216:14:0;:28;74245:12;:10;:12::i;:::-;74216:42;;;;;;;;;;;;;-1:-1:-1;;;;;74216:42:0;-1:-1:-1;;;;;74216:42:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;74216:42:0;74208:96;;;;-1:-1:-1;;;74208:96:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;74315:30;;;;:20;:30;;;;;;:41;;:55;;;;;;;;-1:-1:-1;;74315:55:0;;;;;;;;;74119:259::o;69160:57::-;;;;;;;;;;;;;:::o;44224:169::-;44288:7;44315:70;44332:7;44315:70;;;;;;;;;;;;;;;;;:12;;:70;;:16;:70;:::i;73609:243::-;73698:14;;-1:-1:-1;;;;;73698:14:0;:28;73727:12;:10;:12::i;:::-;73698:42;;;;;;;;;;;;;-1:-1:-1;;;;;73698:42:0;-1:-1:-1;;;;;73698:42:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;73698:42:0;73690:96;;;;-1:-1:-1;;;73690:96:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;73797:30;;;;:20;:30;;;;;;:37;;:47;;;;;;;;-1:-1:-1;;73797:47:0;;;;;;;;;73609:243::o;74880:::-;74969:14;;-1:-1:-1;;;;;74969:14:0;:28;74998:12;:10;:12::i;:::-;74969:42;;;;;;;;;;;;;-1:-1:-1;;;;;74969:42:0;-1:-1:-1;;;;;74969:42:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;74969:42:0;74961:96;;;;-1:-1:-1;;;74961:96:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;75068:30;;;;:20;:30;;;;;;:37;;:47;;;;;;;;-1:-1:-1;;75068:47:0;;;;;;;;;74880:243::o;68711:72::-;;;-1:-1:-1;;;;;68711:72:0;;:::o;45782:89::-;45855:8;45848:15;;;;;;;;-1:-1:-1;;45848:15:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45822:13;;45848:15;;45855:8;;45848:15;;45855:8;45848:15;;;;;;;;;;;;;;;;;;;;;;;;43947:215;44011:7;-1:-1:-1;;;;;44039:19:0;;44031:74;;;;-1:-1:-1;;;44031:74:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;44125:20:0;;;;;;:13;:20;;;;;:29;;:27;:29::i;68658:46::-;;;-1:-1:-1;;;;;68658:46:0;;:::o;75131:639::-;75326:14;;-1:-1:-1;;;;;75326:14:0;:28;75355:12;:10;:12::i;:::-;75326:42;;;;;;;;;;;;;-1:-1:-1;;;;;75326:42:0;-1:-1:-1;;;;;75326:42:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;75326:42:0;75318:96;;;;-1:-1:-1;;;75318:96:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;75425:30;75458:20;:30;75479:8;75458:30;;;;;;;;;;;75425:63;;75513:5;75499:6;:11;;;:19;;;;;;;;;;;;;;;;;;75544:6;75529;:12;;;:21;;;;;;;;;;;;;;;;;;75577:7;75561:6;:13;;;:23;;;;;;;;;;;;;;;;;;75613:9;75595:6;:15;;;:27;;;;;;;;;;;;;;;;;;75653:11;75633:6;:17;;;:31;;;;;;;;;;;;;;;;;;75690:6;75675;:12;;;:21;;;;;;;;;;;;;;;;;;75722:6;75707;:12;;;:21;;;;;;;;;;;;;;;;;;75755:7;75739:6;:13;;;:23;;;;;;;;;;;;;;;;;;75131:639;;;;;;;;;;:::o;70346:1067::-;70661:14;;70633:7;;-1:-1:-1;;;;;70661:14:0;:28;70690:12;:10;:12::i;:::-;70661:42;;;;;;;;;;;;;-1:-1:-1;;;;;70661:42:0;-1:-1:-1;;;;;70661:42:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;70661:42:0;70653:117;;;;-1:-1:-1;;;70653:117:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;70798:12;;:19;;70815:1;70798:19;:16;:19;:::i;:::-;70783:12;:34;;;70871:23;70881:3;70783:34;70871:9;:23::i;:::-;70944:331;;;;;;;;70993:16;70944:331;;;;71031:5;70944:331;;;;;;71059:6;70944:331;;;;;;71089:7;70944:331;;;;;;71122:9;70944:331;;;;;;71159:11;70944:331;;;;;;71193:6;70944:331;;;;;;71222:6;70944:331;;;;;;71252:7;70944:331;;;;;70907:20;:34;70928:12;;70907:34;;;;;;;;;;;:368;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;71331:47;71376:1;71331:22;:40;71354:16;71331:40;;;;;;;;;;;;:44;;:47;;;;:::i;:::-;71288:40;;;;:22;:40;;;;;:90;71398:7;-1:-1:-1;70346:1067:0;;;;;;;;;;;;:::o;44621:96::-;44702:7;44695:14;;;;;;;;-1:-1:-1;;44695:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44669:13;;44695:14;;44702:7;;44695:14;;44702:7;44695:14;;;;;;;;;;;;;;;;;;;;;;;;69664:674;69742:7;69777:11;69803:12;69830:13;69858:15;69888:17;69920:12;69947;69974:13;70001:27;;;;;;;;;-1:-1:-1;;;;;70001:27:0;-1:-1:-1;;;;;70001:50:0;;70052:16;70001:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;70001:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;70001:68:0;;-1:-1:-1;70001:68:0;;-1:-1:-1;70001:68:0;-1:-1:-1;70001:68:0;-1:-1:-1;70001:68:0;-1:-1:-1;70001:68:0;;-1:-1:-1;70001:68:0;-1:-1:-1;70089:241:0;70108:3;70126:16;70001:68;;;;;;;;70089:4;:241::i;:::-;70082:248;69664:674;-1:-1:-1;;;;;;;;;;;69664:674:0:o;47432:295::-;47547:12;:10;:12::i;:::-;-1:-1:-1;;;;;47535:24:0;:8;-1:-1:-1;;;;;47535:24:0;;;47527:62;;;;;-1:-1:-1;;;47527:62:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;47647:8;47602:18;:32;47621:12;:10;:12::i;:::-;-1:-1:-1;;;;;47602:32:0;;;;;;;;;;;;;;;;;-1:-1:-1;47602:32:0;;;:42;;;;;;;;;;;;:53;;-1:-1:-1;;47602:53:0;;;;;;;;;;;47686:12;:10;:12::i;:::-;47671:48;;;;;;;;;;-1:-1:-1;;;;;47671:48:0;;;;;;;;;;;;;;47432:295;;:::o;48619:285::-;48751:41;48770:12;:10;:12::i;:::-;48784:7;48751:18;:41::i;:::-;48743:103;;;;-1:-1:-1;;;48743:103:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48857:39;48871:4;48877:2;48881:7;48890:5;48857:13;:39::i;:::-;48619:285;;;;:::o;44788:755::-;44853:13;44887:16;44895:7;44887;:16::i;:::-;44879:76;;;;-1:-1:-1;;;44879:76:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44994:19;;;;:10;:19;;;;;;;;;44968:45;;;;;;-1:-1:-1;;44968:45:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:23;;:45;;;44994:19;44968:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;45095:8:0;45089:22;44968:45;;-1:-1:-1;;;;45089:22:0;-1:-1:-1;;45089:22:0;;;;;;;;;;;45085:76;;45140:9;-1:-1:-1;45133:16:0;;45085:76;45265:23;;:27;45261:112;;45340:8;45350:9;45323:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;45323:37:0;;;;;;;;;;;;;;;;;;;-1:-1:-1;;45323:37:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45309:52;;;;;45261:112;45505:8;45515:18;:7;:16;:18::i;:::-;45488:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;45488:46:0;;;;;;;;;;;;;;;;;;;-1:-1:-1;;45488:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45474:61;;;44788:755;;;:::o;73362:239::-;73449:14;;-1:-1:-1;;;;;73449:14:0;:28;73478:12;:10;:12::i;:::-;73449:42;;;;;;;;;;;;;-1:-1:-1;;;;;73449:42:0;-1:-1:-1;;;;;73449:42:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;73449:42:0;73441:96;;;;-1:-1:-1;;;73441:96:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;73548:30;;;;:20;:30;;;;;;:36;;:45;;;;;;;;-1:-1:-1;;73548:45:0;;;;;;;;;73362:239::o;47798:156::-;-1:-1:-1;;;;;47911:25:0;;;47887:4;47911:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;47798:156::o;73860:251::-;73953:14;;-1:-1:-1;;;;;73953:14:0;:28;73982:12;:10;:12::i;:::-;73953:42;;;;;;;;;;;;;-1:-1:-1;;;;;73953:42:0;-1:-1:-1;;;;;73953:42:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;73953:42:0;73945:96;;;;-1:-1:-1;;;73945:96:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;74052:30;;;;:20;:30;;;;;;:39;;:51;;;;;;;;-1:-1:-1;;74052:51:0;;;;;;;;;73860:251::o;72014:760::-;72085:14;72110:24;72145:11;72167:12;72190:13;72214:15;72240:17;72268:12;72291;72314:13;72354:17;72362:8;72354:7;:17::i;:::-;72346:60;;;;;-1:-1:-1;;;72346:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;72419:29;;:::i;:::-;-1:-1:-1;72451:30:0;;;;:20;:30;;;;;;;;;72419:62;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;72512:17;72472:8;72512:7;:17::i;:::-;72540:6;:22;;;72573:6;:11;;;72595:6;:12;;;72618:6;:13;;;72642:6;:15;;;72668:6;:17;;;72696:6;:12;;;72719:6;:12;;;72742:6;:13;;;72494:272;;;;;;;;;;;;;;;;;;;;;72014:760;;;;;;;;;;;:::o;657:106::-;745:10;657:106;:::o;50370:119::-;50427:4;50451:30;:12;50473:7;50451:30;:21;:30;:::i;56197:158::-;56263:24;;;;:15;:24;;;;;:29;;;;-1:-1:-1;;;;;56263:29:0;;;;;;;;:24;;56317:16;56263:24;56317:7;:16::i;:::-;-1:-1:-1;;;;;56308:39:0;;;;;;;;;;;56197:158;;:::o;54475:215::-;54575:16;54583:7;54575;:16::i;:::-;54567:73;;;;-1:-1:-1;;;54567:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54651:19;;;;:10;:19;;;;;;;;:31;;;;;;;;:::i;37870:123::-;37939:7;37966:19;37974:3;37966:7;:19::i;50656:333::-;50741:4;50766:16;50774:7;50766;:16::i;:::-;50758:73;;;;-1:-1:-1;;;50758:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50842:13;50858:16;50866:7;50858;:16::i;:::-;50842:32;;50904:5;-1:-1:-1;;;;;50893:16:0;:7;-1:-1:-1;;;;;50893:16:0;;:51;;;;50937:7;-1:-1:-1;;;;;50913:31:0;:20;50925:7;50913:11;:20::i;:::-;-1:-1:-1;;;;;50913:31:0;;50893:51;:87;;;;50948:32;50965:5;50972:7;50948:16;:32::i;:::-;50885:96;50656:333;-1:-1:-1;;;;50656:333:0:o;53745:574::-;53863:4;-1:-1:-1;;;;;53843:24:0;:16;53851:7;53843;:16::i;:::-;-1:-1:-1;;;;;53843:24:0;;53835:78;;;;-1:-1:-1;;;53835:78:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;53932:16:0;;53924:65;;;;-1:-1:-1;;;53924:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54002:39;54023:4;54029:2;54033:7;54002:20;:39::i;:::-;54106:29;54123:1;54127:7;54106:8;:29::i;:::-;-1:-1:-1;;;;;54148:19:0;;;;;;:13;:19;;;;;:35;;54175:7;54148:35;:26;:35;:::i;:::-;-1:-1:-1;;;;;;54194:17:0;;;;;;:13;:17;;;;;:30;;54216:7;54194:30;:21;:30;:::i;:::-;-1:-1:-1;54237:29:0;:12;54254:7;54263:2;54237:29;:16;:29;:::i;:::-;;54303:7;54299:2;-1:-1:-1;;;;;54284:27:0;54293:4;-1:-1:-1;;;;;54284:27:0;;;;;;;;;;;53745:574;;;:::o;30473:137::-;30544:7;30579:22;30583:3;30595:5;30579:3;:22::i;52888:520::-;52948:13;52964:16;52972:7;52964;:16::i;:::-;52948:32;;52993:48;53014:5;53029:1;53033:7;52993:20;:48::i;:::-;53082:29;53099:1;53103:7;53082:8;:29::i;:::-;53170:19;;;;:10;:19;;;;;53164:33;;-1:-1:-1;;53164:33:0;;;;;;;;;;;:38;53160:97;;53226:19;;;;:10;:19;;;;;53219:26;;;:::i;:::-;-1:-1:-1;;;;;53269:20:0;;;;;;:13;:20;;;;;:36;;53297:7;53269:36;:27;:36;:::i;:::-;-1:-1:-1;53318:28:0;:12;53338:7;53318:28;:19;:28;:::i;:::-;-1:-1:-1;53364:36:0;;53392:7;;53388:1;;-1:-1:-1;;;;;53364:36:0;;;;;53388:1;;53364:36;52888:520;;:::o;38332:227::-;38412:7;;;;38472:22;38476:3;38488:5;38472:3;:22::i;:::-;38441:53;;;;-1:-1:-1;38332:227:0;-1:-1:-1;;;;;38332:227:0:o;54920:100::-;54993:19;;;;:8;;:19;;;;;:::i;38994:204::-;39101:7;39144:44;39149:3;39169;39175:12;39144:4;:44::i;:::-;39136:53;-1:-1:-1;38994:204:0;;;;;;:::o;11852:181::-;11910:7;11942:5;;;11966:6;;;;11958:46;;;;;-1:-1:-1;;;11958:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;51332:110;51408:26;51418:2;51422:7;51408:26;;;;;;;;;;;;:9;:26::i;49785:272::-;49899:28;49909:4;49915:2;49919:7;49899:9;:28::i;:::-;49946:48;49969:4;49975:2;49979:7;49988:5;49946:22;:48::i;:::-;49938:111;;;;-1:-1:-1;;;49938:111:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39441:744;39497:13;39718:10;39714:53;;-1:-1:-1;39745:10:0;;;;;;;;;;;;;;;;;;;39714:53;39792:5;39777:12;39833:78;39840:9;;39833:78;;39866:8;;39897:2;39889:10;;;;39833:78;;;39921:19;39953:6;39943:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;39943:17:0;-1:-1:-1;40015:5:0;;-1:-1:-1;39921:39:0;-1:-1:-1;;;39987:10:0;;40031:115;40038:9;;40031:115;;40105:2;40098:4;:9;40093:2;:14;40082:27;;40064:6;40071:7;;;;;;;40064:15;;;;;;;;;;;:45;;;;;;;;;;-1:-1:-1;40132:2:0;40124:10;;;;40031:115;;;-1:-1:-1;40170:6:0;39441:744;-1:-1:-1;;;;39441:744:0:o;37631:151::-;37715:4;37739:35;37749:3;37769;37739:9;:35::i;35253:110::-;35336:19;;35253:110::o;76202:177::-;76323:48;76350:5;76357:3;76362:8;76323:26;:48::i;29560:137::-;29630:4;29654:35;29662:3;29682:5;29654:7;:35::i;29253:131::-;29320:4;29344:32;29349:3;29369:5;29344:4;:32::i;37063:176::-;37152:4;37176:55;37181:3;37201;-1:-1:-1;;;;;37215:14:0;;37176:4;:55::i;27137:204::-;27232:18;;27204:7;;27232:26;-1:-1:-1;27224:73:0;;;;-1:-1:-1;;;27224:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27315:3;:11;;27327:5;27315:18;;;;;;;;;;;;;;;;27308:25;;27137:204;;;;:::o;37405:142::-;37482:4;37506:33;37514:3;37534;37506:7;:33::i;35718:279::-;35822:19;;35785:7;;;;35822:27;-1:-1:-1;35814:74:0;;;;-1:-1:-1;;;35814:74:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35901:22;35926:3;:12;;35939:5;35926:19;;;;;;;;;;;;;;;;;;35901:44;;35964:5;:10;;;35976:5;:12;;;35956:33;;;;;35718:279;;;;;:::o;36420:319::-;36514:7;36553:17;;;:12;;;:17;;;;;;36604:12;36589:13;36581:36;;;;-1:-1:-1;;;36581:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36671:3;:12;;36695:1;36684:8;:12;36671:26;;;;;;;;;;;;;;;;;;:33;;;36664:40;;;36420:319;;;;;:::o;51669:250::-;51765:18;51771:2;51775:7;51765:5;:18::i;:::-;51802:54;51833:1;51837:2;51841:7;51850:5;51802:22;:54::i;:::-;51794:117;;;;-1:-1:-1;;;51794:117:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55585:604;55706:4;55733:15;:2;-1:-1:-1;;;;;55733:13:0;;:15::i;:::-;55728:60;;-1:-1:-1;55772:4:0;55765:11;;55728:60;55798:23;55824:252;-1:-1:-1;;;55937:12:0;:10;:12::i;:::-;55964:4;55983:7;56005:5;55840:181;;;;;;-1:-1:-1;;;;;55840:181:0;-1:-1:-1;;;;;55840:181:0;;;;;;-1:-1:-1;;;;;55840:181:0;-1:-1:-1;;;;;55840:181:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55824:252;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;55824:15:0;;;:252;;:15;:252;:::i;:::-;55798:278;;56087:13;56114:10;56103:32;;;;;;;;;;;;;;;-1:-1:-1;56103:32:0;56154:26;;-1:-1:-1;;;56154:26:0;;-1:-1:-1;;;55585:604:0;;;;;;:::o;35033:125::-;35104:4;35128:17;;;:12;;;;;:17;;;;;;:22;;;35033:125::o;24839:1544::-;24905:4;25044:19;;;:12;;;:19;;;;;;25080:15;;25076:1300;;25515:18;;-1:-1:-1;;25466:14:0;;;;25515:22;;;;25442:21;;25515:3;;:22;;25802;;;;;;;;;;;;;;25782:42;;25948:9;25919:3;:11;;25931:13;25919:26;;;;;;;;;;;;;;;;;;;:38;;;;26025:23;;;26067:1;26025:12;;;:23;;;;;;26051:17;;;26025:43;;26177:17;;26025:3;;26177:17;;;;;;;;;;;;;;;;;;;;;;26272:3;:12;;:19;26285:5;26272:19;;;;;;;;;;;26265:26;;;26315:4;26308:11;;;;;;;;25076:1300;26359:5;26352:12;;;;;24249:414;24312:4;24334:21;24344:3;24349:5;24334:9;:21::i;:::-;24329:327;;-1:-1:-1;24372:23:0;;;;;;;;:11;:23;;;;;;;;;;;;;24555:18;;24533:19;;;:12;;;:19;;;;;;:40;;;;24588:11;;24329:327;-1:-1:-1;24639:5:0;24632:12;;32533:692;32609:4;32744:17;;;:12;;;:17;;;;;;32778:13;32774:444;;-1:-1:-1;;32863:38:0;;;;;;;;;;;;;;;;;;32845:57;;;;;;;;:12;:57;;;;;;;;;;;;;;;;;;;;;;;;33060:19;;33040:17;;;:12;;;:17;;;;;;;:39;33094:11;;32774:444;33174:5;33138:3;:12;;33162:1;33151:8;:12;33138:26;;;;;;;;;;;;;;;;;;:33;;:41;;;;33201:5;33194:12;;;;;33400:1549;33464:4;33599:17;;;:12;;;:17;;;;;;33633:13;;33629:1313;;34065:19;;-1:-1:-1;;34018:12:0;;;;34065:23;;;;33994:21;;34065:3;;:23;;34362;;;;;;;;;;;;;;;;34333:52;;34510:9;34480:3;:12;;34493:13;34480:27;;;;;;;;;;;;;;;;:39;;:27;;;;;:39;;;;;;;;;;;;;;;34600:14;;34587:28;;:12;;;:28;;;;;34618:17;;;34587:48;;34744:18;;34587:3;;34744:18;;;;;;;;;;;;;;-1:-1:-1;;34744:18:0;;;;;;;;;;;;;;;;;;;;;34840:17;;;:12;;;:17;;;;;;34833:24;;;;34744:18;-1:-1:-1;34874:11:0;;-1:-1:-1;;;;34874:11:0;52255:404;-1:-1:-1;;;;;52335:16:0;;52327:61;;;;;-1:-1:-1;;;52327:61:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52408:16;52416:7;52408;:16::i;:::-;52407:17;52399:58;;;;;-1:-1:-1;;;52399:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;52470:45;52499:1;52503:2;52507:7;52470:20;:45::i;:::-;-1:-1:-1;;;;;52528:17:0;;;;;;:13;:17;;;;;:30;;52550:7;52528:30;:21;:30;:::i;:::-;-1:-1:-1;52571:29:0;:12;52588:7;52597:2;52571:29;:16;:29;:::i;:::-;-1:-1:-1;52618:33:0;;52643:7;;-1:-1:-1;;;;;52618:33:0;;;52635:1;;52618:33;;52635:1;;52618:33;52255:404;;:::o;17078:619::-;17138:4;17606:20;;17449:66;17646:23;;;;;;:42;;-1:-1:-1;;17673:15:0;;;17638:51;-1:-1:-1;;17078:619:0:o;20193:196::-;20296:12;20328:53;20351:6;20359:4;20365:1;20368:12;21700;21733:18;21744:6;21733:10;:18::i;:::-;21725:60;;;;;-1:-1:-1;;;21725:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;21859:12;21873:23;21900:6;-1:-1:-1;;;;;21900:11:0;21920:8;21931:4;21900:36;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;21900:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21858:78;;;;21951:7;21947:595;;;21982:10;-1:-1:-1;21975:17:0;;-1:-1:-1;21975:17:0;21947:595;22096:17;;:21;22092:439;;22359:10;22353:17;22420:15;22407:10;22403:2;22399:19;22392:44;22307:148;22495:20;;-1:-1:-1;;;22495:20:0;;;;;;;;;;;;;;;;;22502:12;;22495:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Swarm Source
ipfs://7ef1eb9dd2c3936251bd60c7307244d5481bd0a6d11b20bd76bcb38cadd67d95
Loading...
Loading
Loading...
Loading
OVERVIEW
ETH Fighter is an immersive 3D fighting game created with Unreal Engine 4 and linked to the Ethereum blockchain. Players can choose from a diverse range of fighters, dynamic stages, and play in single-player or multiplayer modes.Net Worth in USD
$0.00
Net Worth in ETH
0
Multichain Portfolio | 33 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
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.