ERC-721
Source Code
NFT
Overview
Max Total Supply
4,288 ONI
Holders
1,906
Transfers
-
17
Market
Volume (24H)
0.0046 ETH
Min Price (24H)
$0.42 @ 0.000200 ETH
Max Price (24H)
$1.26 @ 0.000600 ETH
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
| # | Exchange | Pair | Price | 24H Volume | % Volume |
|---|
Contract Name:
Ronin
Compiler Version
v0.8.4+commit.c7e474f2
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
//SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "./RoninWhitelist.sol";
/// @author Andrew Parker
/// @title OniRonin NFT Contract
contract Ronin is ERC721, Ownable, /*ERC2981,*/ ERC721Enumerable{
enum Phase{Init,Cat,Reserve,Claim,Ceremony} //Current launch phase
struct Reservation{
uint24 block; // Using uint24 to store block number is fine for the next 2.3 years
uint16[] tokens; // TokenIDs reserved by person
}
bool paused = true; // Sale pause state
bool unpausable; // Unpausible
uint startTime; // Timestamp of when cat phase started (adjusts when paused/unpaused)
uint pauseTime; // Timestamp of pause
address whitelist; // Cat Phase Whitlelist contract
bool forceCeremony; // Ceremony enabled before all tokens minted
uint16 public tokenCount; // Total tokens minted and reserved.
uint16 constant TOKEN_MAX = 8888; // Max Ronins that can exist
uint16 tokensGiven; // Total number of giveaway token's minted
uint16 constant TOKENS_GIVEAWAY = 300; // Max number of giveaway tokens
uint constant PRICE_MINT = 0.0888 ether; // Mint cost
string __uriBase; // Metadata URI base
string __uriSuffix; // Metadata URI suffix
uint constant COOLDOWN = 10; // Min interval in blocks to reserve
uint16 constant TRANSACTION_LIMIT = 10; // Max tokens reservable in one transaction
mapping(address => Reservation) reservations; // Mapping of buyer to reservations
mapping(address => bool) public catMinted; // Mapping of cat owners who have minted
event Pause(bool _pause,bool _unpausable,uint _startTime,uint _pauseTime);
event Reserve(address indexed reservist, uint indexed tokenId);
event Claim(address indexed reservist, uint indexed tokenId);
event Ceremony(uint indexed tokenId);
/// Constructor
/// @param _uriBase the metadata URI base
/// @param _uriSuffix the metadata URI suffix
/// @param _whitelist address of the Merkle tree whitelist contract
constructor(
string memory _uriBase,
string memory _uriSuffix,
address _whitelist
) ERC721("OniRonin","ONI"){
__uriBase = _uriBase;
__uriSuffix = _uriSuffix;
whitelist = _whitelist;
}
/// Mint a Ronin (Cat Owner)
/// @notice Mint a Ronin if you're in the Stoner Cats snapshot. Must pay mint fee. Must be after Cat phase has started.
/// @param merkleProof merkle proof for your address in the snapshot
function catMint(bytes32[] memory merkleProof) external payable{
require(!paused,"paused");
require(phase() != Phase.Init,"phase");
require(tokenCount < TOKEN_MAX,"TOKEN_MAX");
require(msg.value >= PRICE_MINT,"PRICE_MINT");
require(!catMinted[msg.sender],"catMinted");
require(RoninWhitelist(whitelist).isWhitelisted(merkleProof,msg.sender),"whitelist");
catMinted[msg.sender] = true;
_mint(msg.sender,uint(++tokenCount));
}
/// Pause/Unpause
/// @notice Pause/unpause sale, or disable pausing.
/// @param _pause Pause sale
/// @param disable Disable pausing
/// @dev Had to bundle disable into the same func because contract is pushing size limit. Adjusts startTime when contract is unpaused
function pause(bool _pause, bool disable) public onlyOwner{
if(startTime == 0){
startTime = block.timestamp;
paused = false;
emit Pause(false,false,startTime,pauseTime);
return;
}
require(!unpausable,"unpausable");
if(disable){
_pause = false;
unpausable = true;
}
if(paused != _pause){
if(_pause){
pauseTime = block.timestamp;
}else if(pauseTime != 0){
startTime += block.timestamp - pauseTime;
delete pauseTime;
}
paused = _pause;
emit Pause(_pause, unpausable,startTime,pauseTime);
}
}
/// Start Ceremony phase
/// @notice Enable Ceremony of Ascension even if not all Ronins minted.
function startCeremonyPhase() public onlyOwner{
forceCeremony = true;
}
/// Update URI
/// @notice Update URI base and suffix
/// @param _uriBase URI base
/// @param _uriSuffix URI suffix
/// @dev Pushing size limits, so rather than having an explicit lock function, it can be implicit by renouncing ownership.
function updateURI(string memory _uriBase, string memory _uriSuffix) public onlyOwner{
__uriBase = _uriBase;
__uriSuffix = _uriSuffix;
}
/// Mint Giveaway
/// @notice Mint Ronins for giveaway
/// @param numTokens Number of tokens to mint
function mintGiveaway(uint16 numTokens) public onlyOwner {
require(tokensGiven + numTokens <= TOKENS_GIVEAWAY,"tokensGiven");
require(tokenCount + numTokens <= TOKEN_MAX,"TOKEN_MAX");
for(uint i = 0; i < numTokens; i++){
tokensGiven++;
_mint(msg.sender,++tokenCount);
}
}
/// Withdraw All
/// @notice Withdraw all Eth from mint fees
function withdrawAll() public onlyOwner {
require(payable(msg.sender).send(address(this).balance));
}
/// Reserve
/// @notice Reserve Ronins. Max 10 per tx, one tx per 10 blocks. Can't be called by contracts. Must pay mint fee.
/// @param _count Number of Ronins to reserve
/// @dev requires tx.origin == msg.sender
function reserve(uint16 _count) public payable{
require(msg.sender == tx.origin,"origin");
require(!paused,"paused");
require(phase() == Phase.Reserve,"phase");
require(_count <= TRANSACTION_LIMIT,"TRANSACTION_LIMIT");
require(tokenCount + _count <= TOKEN_MAX, "TOKEN_MAX");
require(msg.value >= uint(_count) * PRICE_MINT);
require(
reservations[msg.sender].block == 0 || block.number >= uint(reservations[msg.sender].block) + COOLDOWN
,"COOLDOWN");
for(uint16 i = 0; i < _count; i++){
reservations[address(msg.sender)].tokens.push(++tokenCount);
emit Reserve(msg.sender,tokenCount);
}
reservations[msg.sender].block = uint24(block.number);
}
/// Claim
/// @notice Mint reserved Ronins
/// @param reservist Address of person with reserved Ronins.
/// @param _count Number of reserved Ronins mint.
/// @dev Allows anyone to call claim for anyone else. Will mint to the address that made the reservations.
function claim(address reservist, uint _count) public{
require(!paused,"paused");
require(
phase() == Phase.Claim
||
phase() == Phase.Ceremony
,"phase");
require( reservations[reservist].tokens.length >= _count, "_count");
for(uint i = 0; i < _count; i++){
uint tokenId = uint(reservations[reservist].tokens[reservations[reservist].tokens.length - 1]);
reservations[reservist].tokens.pop();
_mint(reservist,tokenId);
emit Claim(reservist,tokenId);
}
}
/// Mint
/// @notice Mint unreserved Ronins. Must pay mint fee.
/// @param _count Number of reserved Ronins mint.
function mint(uint _count) public payable{
require(!paused,"paused");
require(
phase() == Phase.Claim
||
phase() == Phase.Ceremony
,"phase");
require(msg.value >= _count * PRICE_MINT);
require(tokenCount + uint16(_count) <= TOKEN_MAX,"TOKEN_MAX");
for(uint i = 0; i < _count; i++){
_mint(msg.sender,uint(++tokenCount));
}
}
/// Ceremony
/// @notice Commit Ronin to the Ceremony of Ascension
/// @param tokenId ID of Ronin to commit
function ceremony(uint tokenId) public{
require(!paused,"paused");
require(phase() == Phase.Ceremony,"phase");
require(ownerOf(tokenId) == msg.sender,"ownerOf");
require(tokenId < 10000, "ceremonyd");
emit Ceremony(tokenId);
_burn(tokenId);
_mint(msg.sender,tokenId + uint(10000));
}
/// Phase
/// @notice Get current Phase
/// @return Phase (enum value)
function phase() public view returns(Phase){
uint _startTime = startTime;
if(forceCeremony){
return Phase.Ceremony;
}else if(_startTime == 0){
return Phase.Init;
}else if(block.timestamp <= _startTime + 1 days){
return Phase.Cat;
}else if(block.timestamp <= _startTime + 2 days && tokenCount < TOKEN_MAX){
return Phase.Reserve;
}else if(totalSupply() < uint(TOKEN_MAX)){
return Phase.Claim;
}else{
return Phase.Ceremony;
}
}
/// Pause State
/// @notice Get current pause state
/// @return _paused Contract is paused
/// @return _unpausable Contract is unpausable
/// @return _startTime Start timestamp of Cat phase (adjusted for pauses)
/// @return _pauseTime Timestamp of pause
function pauseState() view public returns(bool _paused,bool _unpausable,uint _startTime,uint _pauseTime){
return (paused,unpausable,startTime,pauseTime);
}
/// Reservation
/// @notice Get struct properties of reservation mapping
/// @param _reservist Address of reservation to check
/// @return blockNumber block number of last reservation
/// @return tokens Array of reserved, unclaimed tokens
function reservation(address _reservist) public view returns(uint24 blockNumber, uint16[] memory tokens){
return (reservations[_reservist].block,reservations[_reservist].tokens);
}
/// Token URI
/// @notice ERC721 Metadata function
/// @param _tokenId ID of token to check
/// @return URI (string)
function tokenURI(uint256 _tokenId) public view override returns (string memory){
require(_exists(_tokenId),"exists");
if(_tokenId == 0){
return string(abi.encodePacked(__uriBase,bytes("0"),__uriSuffix));
}
uint _i = _tokenId;
uint j = _i;
uint len;
while (j != 0) {
len++;
j /= 10;
}
bytes memory bstr = new bytes(len);
uint k = len;
while (_i != 0) {
k = k-1;
uint8 temp = (48 + uint8(_i - _i / 10 * 10));
bytes1 b1 = bytes1(temp);
bstr[k] = b1;
_i /= 10;
}
return string(abi.encodePacked(__uriBase,bstr,__uriSuffix));
}
/// Supports Interface
/// @notice Override ERC-165 function for conflict
/// @param interfaceId Interface ID to check
/// @return bool Contract supports this interface
function supportsInterface(bytes4 interfaceId) public view override(ERC721, ERC721Enumerable) returns (bool) {
return ERC721Enumerable.supportsInterface(interfaceId);
}
/// Before Token Transfer
/// @notice Override OpenZeppelin function conflict
/// @param from from
/// @param to to
/// @param tokenId tokenId
function _beforeTokenTransfer(
address from,
address to,
uint256 tokenId
) internal override(ERC721, ERC721Enumerable){
ERC721Enumerable._beforeTokenTransfer(from,to,tokenId);
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "./IERC721.sol";
import "./IERC721Receiver.sol";
import "./extensions/IERC721Metadata.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/Strings.sol";
import "../../utils/introspection/ERC165.sol";
/**
* @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
* the Metadata extension, but not including the Enumerable extension, which is available separately as
* {ERC721Enumerable}.
*/
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
using Address for address;
using Strings for uint256;
// Token name
string private _name;
// Token symbol
string private _symbol;
// Mapping from token ID to owner address
mapping(uint256 => address) private _owners;
// Mapping owner address to token count
mapping(address => uint256) private _balances;
// 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;
/**
* @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.
*/
constructor(string memory name_, string memory symbol_) {
_name = name_;
_symbol = symbol_;
}
/**
* @dev See {IERC165-supportsInterface}.
*/
function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) {
return
interfaceId == type(IERC721).interfaceId ||
interfaceId == type(IERC721Metadata).interfaceId ||
super.supportsInterface(interfaceId);
}
/**
* @dev See {IERC721-balanceOf}.
*/
function balanceOf(address owner) public view virtual override returns (uint256) {
require(owner != address(0), "ERC721: balance query for the zero address");
return _balances[owner];
}
/**
* @dev See {IERC721-ownerOf}.
*/
function ownerOf(uint256 tokenId) public view virtual override returns (address) {
address owner = _owners[tokenId];
require(owner != address(0), "ERC721: owner query for nonexistent token");
return owner;
}
/**
* @dev See {IERC721Metadata-name}.
*/
function name() public view virtual override returns (string memory) {
return _name;
}
/**
* @dev See {IERC721Metadata-symbol}.
*/
function symbol() public view virtual override returns (string memory) {
return _symbol;
}
/**
* @dev See {IERC721Metadata-tokenURI}.
*/
function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");
string memory baseURI = _baseURI();
return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : "";
}
/**
* @dev Base URI for computing {tokenURI}. If set, the resulting URI for each
* token will be the concatenation of the `baseURI` and the `tokenId`. Empty
* by default, can be overriden in child contracts.
*/
function _baseURI() internal view virtual returns (string memory) {
return "";
}
/**
* @dev See {IERC721-approve}.
*/
function approve(address to, uint256 tokenId) public virtual override {
address owner = ERC721.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 virtual 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 virtual 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 mechanisms 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 virtual returns (bool) {
return _owners[tokenId] != address(0);
}
/**
* @dev Returns whether `spender` is allowed to manage `tokenId`.
*
* Requirements:
*
* - `tokenId` must exist.
*/
function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {
require(_exists(tokenId), "ERC721: operator query for nonexistent token");
address owner = ERC721.ownerOf(tokenId);
return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender));
}
/**
* @dev Safely mints `tokenId` and transfers it to `to`.
*
* Requirements:
*
* - `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);
_balances[to] += 1;
_owners[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 = ERC721.ownerOf(tokenId);
_beforeTokenTransfer(owner, address(0), tokenId);
// Clear approvals
_approve(address(0), tokenId);
_balances[owner] -= 1;
delete _owners[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(ERC721.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);
_balances[from] -= 1;
_balances[to] += 1;
_owners[tokenId] = to;
emit Transfer(from, to, tokenId);
}
/**
* @dev Approve `to` to operate on `tokenId`
*
* Emits a {Approval} event.
*/
function _approve(address to, uint256 tokenId) internal virtual {
_tokenApprovals[tokenId] = to;
emit Approval(ERC721.ownerOf(tokenId), to, tokenId);
}
/**
* @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()) {
try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
return retval == IERC721Receiver(to).onERC721Received.selector;
} catch (bytes memory reason) {
if (reason.length == 0) {
revert("ERC721: transfer to non ERC721Receiver implementer");
} else {
assembly {
revert(add(32, reason), mload(reason))
}
}
}
} else {
return true;
}
}
/**
* @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` and `to` are never both zero.
*
* To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
*/
function _beforeTokenTransfer(
address from,
address to,
uint256 tokenId
) internal virtual {}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "../ERC721.sol";
import "./IERC721Enumerable.sol";
/**
* @dev This implements an optional extension of {ERC721} defined in the EIP that adds
* enumerability of all the token ids in the contract as well as all token ids owned by each
* account.
*/
abstract contract ERC721Enumerable is ERC721, IERC721Enumerable {
// Mapping from owner to list of owned token IDs
mapping(address => mapping(uint256 => uint256)) private _ownedTokens;
// Mapping from token ID to index of the owner tokens list
mapping(uint256 => uint256) private _ownedTokensIndex;
// Array with all token ids, used for enumeration
uint256[] private _allTokens;
// Mapping from token id to position in the allTokens array
mapping(uint256 => uint256) private _allTokensIndex;
/**
* @dev See {IERC165-supportsInterface}.
*/
function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) {
return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId);
}
/**
* @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
*/
function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) {
require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds");
return _ownedTokens[owner][index];
}
/**
* @dev See {IERC721Enumerable-totalSupply}.
*/
function totalSupply() public view virtual override returns (uint256) {
return _allTokens.length;
}
/**
* @dev See {IERC721Enumerable-tokenByIndex}.
*/
function tokenByIndex(uint256 index) public view virtual override returns (uint256) {
require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds");
return _allTokens[index];
}
/**
* @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 override {
super._beforeTokenTransfer(from, to, tokenId);
if (from == address(0)) {
_addTokenToAllTokensEnumeration(tokenId);
} else if (from != to) {
_removeTokenFromOwnerEnumeration(from, tokenId);
}
if (to == address(0)) {
_removeTokenFromAllTokensEnumeration(tokenId);
} else if (to != from) {
_addTokenToOwnerEnumeration(to, tokenId);
}
}
/**
* @dev Private function to add a token to this extension's ownership-tracking data structures.
* @param to address representing the new owner of the given token ID
* @param tokenId uint256 ID of the token to be added to the tokens list of the given address
*/
function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private {
uint256 length = ERC721.balanceOf(to);
_ownedTokens[to][length] = tokenId;
_ownedTokensIndex[tokenId] = length;
}
/**
* @dev Private function to add a token to this extension's token tracking data structures.
* @param tokenId uint256 ID of the token to be added to the tokens list
*/
function _addTokenToAllTokensEnumeration(uint256 tokenId) private {
_allTokensIndex[tokenId] = _allTokens.length;
_allTokens.push(tokenId);
}
/**
* @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that
* while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for
* gas optimizations e.g. when performing a transfer operation (avoiding double writes).
* This has O(1) time complexity, but alters the order of the _ownedTokens array.
* @param from address representing the previous owner of the given token ID
* @param tokenId uint256 ID of the token to be removed from the tokens list of the given address
*/
function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private {
// To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and
// then delete the last slot (swap and pop).
uint256 lastTokenIndex = ERC721.balanceOf(from) - 1;
uint256 tokenIndex = _ownedTokensIndex[tokenId];
// When the token to delete is the last token, the swap operation is unnecessary
if (tokenIndex != lastTokenIndex) {
uint256 lastTokenId = _ownedTokens[from][lastTokenIndex];
_ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
_ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index
}
// This also deletes the contents at the last position of the array
delete _ownedTokensIndex[tokenId];
delete _ownedTokens[from][lastTokenIndex];
}
/**
* @dev Private function to remove a token from this extension's token tracking data structures.
* This has O(1) time complexity, but alters the order of the _allTokens array.
* @param tokenId uint256 ID of the token to be removed from the tokens list
*/
function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private {
// To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and
// then delete the last slot (swap and pop).
uint256 lastTokenIndex = _allTokens.length - 1;
uint256 tokenIndex = _allTokensIndex[tokenId];
// When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so
// rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding
// an 'if' statement (like in _removeTokenFromOwnerEnumeration)
uint256 lastTokenId = _allTokens[lastTokenIndex];
_allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
_allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index
// This also deletes the contents at the last position of the array
delete _allTokensIndex[tokenId];
_allTokens.pop();
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "../utils/Context.sol";
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* By default, the owner account will be the one that deploys the contract. This
* can later be changed with {transferOwnership}.
*
* This module is used through inheritance. It will make available the modifier
* `onlyOwner`, which can be applied to your functions to restrict their use to
* the owner.
*/
abstract contract Ownable is Context {
address private _owner;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
/**
* @dev Initializes the contract setting the deployer as the initial owner.
*/
constructor() {
_setOwner(_msgSender());
}
/**
* @dev Returns the address of the current owner.
*/
function owner() public view virtual returns (address) {
return _owner;
}
/**
* @dev Throws if called by any account other than the owner.
*/
modifier onlyOwner() {
require(owner() == _msgSender(), "Ownable: caller is not the owner");
_;
}
/**
* @dev Leaves the contract without owner. It will not be possible to call
* `onlyOwner` functions anymore. Can only be called by the current owner.
*
* NOTE: Renouncing ownership will leave the contract without an owner,
* thereby removing any functionality that is only available to the owner.
*/
function renounceOwnership() public virtual onlyOwner {
_setOwner(address(0));
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Can only be called by the current owner.
*/
function transferOwnership(address newOwner) public virtual onlyOwner {
require(newOwner != address(0), "Ownable: new owner is the zero address");
_setOwner(newOwner);
}
function _setOwner(address newOwner) private {
address oldOwner = _owner;
_owner = newOwner;
emit OwnershipTransferred(oldOwner, newOwner);
}
}//SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
/// @author Andrew Parker
/// @title OniRonin NFT Contract
/// @notice Implementation of OpenZeppelin MerkleProof contract for OniRonin
contract RoninWhitelist{
bytes32 merkleRoot;
/// Constructor
/// @param _merkleRoot root of merkle tree
constructor(bytes32 _merkleRoot){
merkleRoot = _merkleRoot;
}
/// Is Whitelisted
/// @notice Is a given address whitelisted based on proof provided
/// @param proof Merkle proof
/// @param claimer address to check
/// @return Is whitelisted
function isWhitelisted(bytes32[] memory proof, address claimer) public view returns(bool){
bytes32 leaf = keccak256(abi.encodePacked(claimer));
return MerkleProof.verify(proof,merkleRoot,leaf);
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "../../utils/introspection/IERC165.sol";
/**
* @dev Required interface of an ERC721 compliant contract.
*/
interface IERC721 is IERC165 {
/**
* @dev Emitted when `tokenId` token is transferred 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;
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.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);
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "../IERC721.sol";
/**
* @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);
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/**
* @dev Collection of functions related to the address type
*/
library Address {
/**
* @dev Returns true if `account` is a contract.
*
* [IMPORTANT]
* ====
* It is unsafe to assume that an address for which this function returns
* false is an externally-owned account (EOA) and not a contract.
*
* Among others, `isContract` will return false for the following
* types of addresses:
*
* - an externally-owned account
* - a contract in construction
* - an address where a contract will be created
* - an address where a contract lived, but was destroyed
* ====
*/
function isContract(address account) internal view returns (bool) {
// This method relies on extcodesize, which returns 0 for contracts in
// construction, since the code is only stored at the end of the
// constructor execution.
uint256 size;
assembly {
size := extcodesize(account)
}
return size > 0;
}
/**
* @dev Replacement for Solidity's `transfer`: sends `amount` wei to
* `recipient`, forwarding all available gas and reverting on errors.
*
* https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
* of certain opcodes, possibly making contracts go over the 2300 gas limit
* imposed by `transfer`, making them unable to receive funds via
* `transfer`. {sendValue} removes this limitation.
*
* https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
*
* IMPORTANT: because control is transferred to `recipient`, care must be
* taken to not create reentrancy vulnerabilities. Consider using
* {ReentrancyGuard} or the
* https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
*/
function sendValue(address payable recipient, uint256 amount) internal {
require(address(this).balance >= amount, "Address: insufficient balance");
(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");
require(isContract(target), "Address: call to non-contract");
(bool success, bytes memory returndata) = target.call{value: value}(data);
return _verifyCallResult(success, returndata, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a static call.
*
* _Available since v3.3._
*/
function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
return functionStaticCall(target, data, "Address: low-level static call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
* but performing a static call.
*
* _Available since v3.3._
*/
function functionStaticCall(
address target,
bytes memory data,
string memory errorMessage
) internal view returns (bytes memory) {
require(isContract(target), "Address: static call to non-contract");
(bool success, bytes memory returndata) = target.staticcall(data);
return _verifyCallResult(success, returndata, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a delegate call.
*
* _Available since v3.4._
*/
function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
return functionDelegateCall(target, data, "Address: low-level delegate call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
* but performing a delegate call.
*
* _Available since v3.4._
*/
function functionDelegateCall(
address target,
bytes memory data,
string memory errorMessage
) internal returns (bytes memory) {
require(isContract(target), "Address: delegate call to non-contract");
(bool success, bytes memory returndata) = target.delegatecall(data);
return _verifyCallResult(success, returndata, errorMessage);
}
function _verifyCallResult(
bool success,
bytes memory returndata,
string memory errorMessage
) private pure returns (bytes memory) {
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
assembly {
let returndata_size := mload(returndata)
revert(add(32, returndata), returndata_size)
}
} else {
revert(errorMessage);
}
}
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/*
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
* via msg.sender and msg.data, they should not be accessed in such a direct
* manner, since when dealing with 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) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes calldata) {
return msg.data;
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/**
* @dev String operations.
*/
library Strings {
bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";
/**
* @dev Converts a `uint256` to its ASCII `string` decimal 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);
while (value != 0) {
digits -= 1;
buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
value /= 10;
}
return string(buffer);
}
/**
* @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
*/
function toHexString(uint256 value) internal pure returns (string memory) {
if (value == 0) {
return "0x00";
}
uint256 temp = value;
uint256 length = 0;
while (temp != 0) {
length++;
temp >>= 8;
}
return toHexString(value, length);
}
/**
* @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
*/
function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
bytes memory buffer = new bytes(2 * length + 2);
buffer[0] = "0";
buffer[1] = "x";
for (uint256 i = 2 * length + 1; i > 1; --i) {
buffer[i] = _HEX_SYMBOLS[value & 0xf];
value >>= 4;
}
require(value == 0, "Strings: hex length insufficient");
return string(buffer);
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "./IERC165.sol";
/**
* @dev Implementation of the {IERC165} interface.
*
* Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
* for the additional interface id that will be supported. For example:
*
* ```solidity
* function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
* return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
* }
* ```
*
* Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
*/
abstract contract ERC165 is IERC165 {
/**
* @dev See {IERC165-supportsInterface}.
*/
function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
return interfaceId == type(IERC165).interfaceId;
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.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);
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "../IERC721.sol";
/**
* @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);
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/**
* @dev These functions deal with verification of Merkle Trees proofs.
*
* The proofs can be generated using the JavaScript library
* https://github.com/miguelmota/merkletreejs[merkletreejs].
* Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
*
* See `test/utils/cryptography/MerkleProof.test.js` for some examples.
*/
library MerkleProof {
/**
* @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
* defined by `root`. For this, a `proof` must be provided, containing
* sibling hashes on the branch from the leaf to the root of the tree. Each
* pair of leaves and each pair of pre-images are assumed to be sorted.
*/
function verify(
bytes32[] memory proof,
bytes32 root,
bytes32 leaf
) internal pure returns (bool) {
bytes32 computedHash = leaf;
for (uint256 i = 0; i < proof.length; i++) {
bytes32 proofElement = proof[i];
if (computedHash <= proofElement) {
// Hash(current computed hash + current element of the proof)
computedHash = keccak256(abi.encodePacked(computedHash, proofElement));
} else {
// Hash(current element of the proof + current computed hash)
computedHash = keccak256(abi.encodePacked(proofElement, computedHash));
}
}
// Check if the computed hash (root) is equal to the provided root
return computedHash == root;
}
}{
"optimizer": {
"enabled": false,
"runs": 200
},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
},
"libraries": {}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"string","name":"_uriBase","type":"string"},{"internalType":"string","name":"_uriSuffix","type":"string"},{"internalType":"address","name":"_whitelist","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":"uint256","name":"tokenId","type":"uint256"}],"name":"Ceremony","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"reservist","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Claim","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"_pause","type":"bool"},{"indexed":false,"internalType":"bool","name":"_unpausable","type":"bool"},{"indexed":false,"internalType":"uint256","name":"_startTime","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_pauseTime","type":"uint256"}],"name":"Pause","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"reservist","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Reserve","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":[{"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":[{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"catMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"catMinted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ceremony","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"reservist","type":"address"},{"internalType":"uint256","name":"_count","type":"uint256"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","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":"uint256","name":"_count","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint16","name":"numTokens","type":"uint16"}],"name":"mintGiveaway","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"_pause","type":"bool"},{"internalType":"bool","name":"disable","type":"bool"}],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"pauseState","outputs":[{"internalType":"bool","name":"_paused","type":"bool"},{"internalType":"bool","name":"_unpausable","type":"bool"},{"internalType":"uint256","name":"_startTime","type":"uint256"},{"internalType":"uint256","name":"_pauseTime","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"phase","outputs":[{"internalType":"enum Ronin.Phase","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_reservist","type":"address"}],"name":"reservation","outputs":[{"internalType":"uint24","name":"blockNumber","type":"uint24"},{"internalType":"uint16[]","name":"tokens","type":"uint16[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"_count","type":"uint16"}],"name":"reserve","outputs":[],"stateMutability":"payable","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":[],"name":"startCeremonyPhase","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":[],"name":"tokenCount","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"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":[{"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"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uriBase","type":"string"},{"internalType":"string","name":"_uriSuffix","type":"string"}],"name":"updateURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"}]Contract Creation Code
60806040526001600b60006101000a81548160ff0219169083151502179055503480156200002c57600080fd5b506040516200655838038062006558833981810160405281019062000052919062000395565b6040518060400160405280600881526020017f4f6e69526f6e696e0000000000000000000000000000000000000000000000008152506040518060400160405280600381526020017f4f4e4900000000000000000000000000000000000000000000000000000000008152508160009080519060200190620000d69291906200025c565b508060019080519060200190620000ef9291906200025c565b50505062000112620001066200018e60201b60201c565b6200019660201b60201c565b82600f90805190602001906200012a9291906200025c565b508160109080519060200190620001439291906200025c565b5080600e60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505050620005db565b600033905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200026a90620004e6565b90600052602060002090601f0160209004810192826200028e5760008555620002da565b82601f10620002a957805160ff1916838001178555620002da565b82800160010185558215620002da579182015b82811115620002d9578251825591602001919060010190620002bc565b5b509050620002e99190620002ed565b5090565b5b8082111562000308576000816000905550600101620002ee565b5090565b6000620003236200031d8462000446565b6200041d565b9050828152602081018484840111156200033c57600080fd5b62000349848285620004b0565b509392505050565b6000815190506200036281620005c1565b92915050565b600082601f8301126200037a57600080fd5b81516200038c8482602086016200030c565b91505092915050565b600080600060608486031215620003ab57600080fd5b600084015167ffffffffffffffff811115620003c657600080fd5b620003d48682870162000368565b935050602084015167ffffffffffffffff811115620003f257600080fd5b620004008682870162000368565b9250506040620004138682870162000351565b9150509250925092565b6000620004296200043c565b90506200043782826200051c565b919050565b6000604051905090565b600067ffffffffffffffff82111562000464576200046362000581565b5b6200046f82620005b0565b9050602081019050919050565b6000620004898262000490565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60005b83811015620004d0578082015181840152602081019050620004b3565b83811115620004e0576000848401525b50505050565b60006002820490506001821680620004ff57607f821691505b6020821081141562000516576200051562000552565b5b50919050565b6200052782620005b0565b810181811067ffffffffffffffff8211171562000549576200054862000581565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b620005cc816200047c565b8114620005d857600080fd5b50565b615f6d80620005eb6000396000f3fe6080604052600436106101f85760003560e01c8063715018a61161010d578063b1c9fe6e116100a0578063d71183511161006f578063d7118351146106f1578063ddeb50941461071f578063e985e9c514610748578063ef964f3b14610785578063f2fde38b146107c3576101f8565b8063b1c9fe6e14610644578063b73760101461066f578063b88d4fde1461068b578063c87b56dd146106b4576101f8565b80639f181b5e116100dc5780639f181b5e146105ab578063a0712d68146105d6578063a22cb465146105f2578063aad3ec961461061b576101f8565b8063715018a614610527578063853828b61461053e5780638da5cb5b1461055557806395d89b4114610580576101f8565b80631f0808d41161019057806342842e0e1161015f57806342842e0e1461041e5780634f6ccce7146104475780636352211e1461048457806367cce2b1146104c157806370a08231146104ea576101f8565b80631f0808d41461037357806323b872dd1461038f5780632f745c59146103b85780633afd85f9146103f5576101f8565b8063095ea7b3116101cc578063095ea7b3146102df5780630cc76992146103085780631789e2d81461031f57806318160ddd14610348576101f8565b8062ca0988146101fd57806301ffc9a71461023a57806306fdde0314610277578063081812fc146102a2575b600080fd5b34801561020957600080fd5b50610224600480360381019061021f919061418f565b6107ec565b6040516102319190614c9a565b60405180910390f35b34801561024657600080fd5b50610261600480360381019061025c91906143dc565b61080c565b60405161026e9190614c9a565b60405180910390f35b34801561028357600080fd5b5061028c61081e565b6040516102999190614d15565b60405180910390f35b3480156102ae57600080fd5b506102c960048036038101906102c491906144c3565b6108b0565b6040516102d69190614c03565b60405180910390f35b3480156102eb57600080fd5b50610306600480360381019061030191906142fa565b610935565b005b34801561031457600080fd5b5061031d610a4d565b005b34801561032b57600080fd5b506103466004803603810190610341919061442e565b610ae6565b005b34801561035457600080fd5b5061035d610b94565b60405161036a9190615182565b60405180910390f35b61038d6004803603810190610388919061449a565b610ba1565b005b34801561039b57600080fd5b506103b660048036038101906103b191906141f4565b611096565b005b3480156103c457600080fd5b506103df60048036038101906103da91906142fa565b6110f6565b6040516103ec9190615182565b60405180910390f35b34801561040157600080fd5b5061041c600480360381019061041791906144c3565b61119b565b005b34801561042a57600080fd5b50610445600480360381019061044091906141f4565b6113ae565b005b34801561045357600080fd5b5061046e600480360381019061046991906144c3565b6113ce565b60405161047b9190615182565b60405180910390f35b34801561049057600080fd5b506104ab60048036038101906104a691906144c3565b611465565b6040516104b89190614c03565b60405180910390f35b3480156104cd57600080fd5b506104e860048036038101906104e3919061449a565b611517565b005b3480156104f657600080fd5b50610511600480360381019061050c919061418f565b611706565b60405161051e9190615182565b60405180910390f35b34801561053357600080fd5b5061053c6117be565b005b34801561054a57600080fd5b50610553611846565b005b34801561056157600080fd5b5061056a611902565b6040516105779190614c03565b60405180910390f35b34801561058c57600080fd5b5061059561192c565b6040516105a29190614d15565b60405180910390f35b3480156105b757600080fd5b506105c06119be565b6040516105cd9190615137565b60405180910390f35b6105f060048036038101906105eb91906144c3565b6119d2565b005b3480156105fe57600080fd5b50610619600480360381019061061491906142be565b611c49565b005b34801561062757600080fd5b50610642600480360381019061063d91906142fa565b611dca565b005b34801561065057600080fd5b506106596121ec565b6040516106669190614cfa565b60405180910390f35b61068960048036038101906106849190614336565b6122b3565b005b34801561069757600080fd5b506106b260048036038101906106ad9190614243565b61267b565b005b3480156106c057600080fd5b506106db60048036038101906106d691906144c3565b6126dd565b6040516106e89190614d15565b60405180910390f35b3480156106fd57600080fd5b5061070661294a565b6040516107169493929190614cb5565b60405180910390f35b34801561072b57600080fd5b50610746600480360381019061074191906143a0565b612984565b005b34801561075457600080fd5b5061076f600480360381019061076a91906141b8565b612bbe565b60405161077c9190614c9a565b60405180910390f35b34801561079157600080fd5b506107ac60048036038101906107a7919061418f565b612c52565b6040516107ba929190615152565b60405180910390f35b3480156107cf57600080fd5b506107ea60048036038101906107e5919061418f565b612d6d565b005b60126020528060005260406000206000915054906101000a900460ff1681565b600061081782612e65565b9050919050565b60606000805461082d906155b8565b80601f0160208091040260200160405190810160405280929190818152602001828054610859906155b8565b80156108a65780601f1061087b576101008083540402835291602001916108a6565b820191906000526020600020905b81548152906001019060200180831161088957829003601f168201915b5050505050905090565b60006108bb82612edf565b6108fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108f190614f97565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061094082611465565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156109b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109a890615017565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166109d0612f4b565b73ffffffffffffffffffffffffffffffffffffffff1614806109ff57506109fe816109f9612f4b565b612bbe565b5b610a3e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a3590614ef7565b60405180910390fd5b610a488383612f53565b505050565b610a55612f4b565b73ffffffffffffffffffffffffffffffffffffffff16610a73611902565b73ffffffffffffffffffffffffffffffffffffffff1614610ac9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ac090614fd7565b60405180910390fd5b6001600e60146101000a81548160ff021916908315150217905550565b610aee612f4b565b73ffffffffffffffffffffffffffffffffffffffff16610b0c611902565b73ffffffffffffffffffffffffffffffffffffffff1614610b62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b5990614fd7565b60405180910390fd5b81600f9080519060200190610b78929190613ede565b508060109080519060200190610b8f929190613ede565b505050565b6000600980549050905090565b3273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610c0f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c06906150b7565b60405180910390fd5b600b60009054906101000a900460ff1615610c5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c56906150d7565b60405180910390fd5b60026004811115610c99577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b610ca16121ec565b6004811115610cd9577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b14610d19576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d1090615117565b60405180910390fd5b600a61ffff168161ffff161115610d65576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d5c90615037565b60405180910390fd5b6122b861ffff1681600e60159054906101000a900461ffff16610d889190615325565b61ffff161115610dcd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dc490614d37565b60405180910390fd5b67013b7b21280e00008161ffff16610de5919061541b565b341015610df157600080fd5b6000601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900462ffffff1662ffffff161480610eb85750600a601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900462ffffff1662ffffff16610eb4919061535d565b4310155b610ef7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eee90614f57565b60405180910390fd5b60005b8161ffff168161ffff16101561103357601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600101600e601581819054906101000a900461ffff16610f689061561b565b91906101000a81548161ffff021916908361ffff160217905590806001815401808255809150506001900390600052602060002090601091828204019190066002029091909190916101000a81548161ffff021916908361ffff160217905550600e60159054906101000a900461ffff1661ffff163373ffffffffffffffffffffffffffffffffffffffff167f61c8427ca14788cf50e420fe4b1e41be1ab20530a3f48bb547315dc91e62b9c160405160405180910390a3808061102b9061561b565b915050610efa565b5043601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160006101000a81548162ffffff021916908362ffffff16021790555050565b6110a76110a1612f4b565b8261300c565b6110e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110dd90615057565b60405180910390fd5b6110f18383836130ea565b505050565b600061110183611706565b8210611142576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161113990614d97565b60405180910390fd5b600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b600b60009054906101000a900460ff16156111eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111e2906150d7565b60405180910390fd5b600480811115611224577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b61122c6121ec565b6004811115611264577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b146112a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161129b90615117565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166112c482611465565b73ffffffffffffffffffffffffffffffffffffffff161461131a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161131190614fb7565b60405180910390fd5b612710811061135e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161135590614ed7565b60405180910390fd5b807f49d7dc55e79013c84f31f4257c308d242e890947494bdb05122a86eabf5d019160405160405180910390a261139481613346565b6113ab33612710836113a6919061535d565b613457565b50565b6113c98383836040518060200160405280600081525061267b565b505050565b60006113d8610b94565b8210611419576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161141090615077565b60405180910390fd5b60098281548110611453577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561150e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161150590614f37565b60405180910390fd5b80915050919050565b61151f612f4b565b73ffffffffffffffffffffffffffffffffffffffff1661153d611902565b73ffffffffffffffffffffffffffffffffffffffff1614611593576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161158a90614fd7565b60405180910390fd5b61012c61ffff1681600e60179054906101000a900461ffff166115b69190615325565b61ffff1611156115fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115f2906150f7565b60405180910390fd5b6122b861ffff1681600e60159054906101000a900461ffff1661161e9190615325565b61ffff161115611663576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161165a90614d37565b60405180910390fd5b60005b8161ffff1681101561170257600e601781819054906101000a900461ffff16809291906116929061561b565b91906101000a81548161ffff021916908361ffff160217905550506116ef33600e601581819054906101000a900461ffff166116cd9061561b565b91906101000a81548161ffff021916908361ffff160217905561ffff16613457565b80806116fa90615646565b915050611666565b5050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611777576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161176e90614f17565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6117c6612f4b565b73ffffffffffffffffffffffffffffffffffffffff166117e4611902565b73ffffffffffffffffffffffffffffffffffffffff161461183a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183190614fd7565b60405180910390fd5b6118446000613625565b565b61184e612f4b565b73ffffffffffffffffffffffffffffffffffffffff1661186c611902565b73ffffffffffffffffffffffffffffffffffffffff16146118c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118b990614fd7565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f1935050505061190057600080fd5b565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461193b906155b8565b80601f0160208091040260200160405190810160405280929190818152602001828054611967906155b8565b80156119b45780601f10611989576101008083540402835291602001916119b4565b820191906000526020600020905b81548152906001019060200180831161199757829003601f168201915b5050505050905090565b600e60159054906101000a900461ffff1681565b600b60009054906101000a900460ff1615611a22576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a19906150d7565b60405180910390fd5b60036004811115611a5c577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b611a646121ec565b6004811115611a9c577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1480611b1e5750600480811115611adc577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b611ae46121ec565b6004811115611b1c577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b145b611b5d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b5490615117565b60405180910390fd5b67013b7b21280e000081611b71919061541b565b341015611b7d57600080fd5b6122b861ffff1681600e60159054906101000a900461ffff16611ba09190615325565b61ffff161115611be5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bdc90614d37565b60405180910390fd5b60005b81811015611c4557611c3233600e601581819054906101000a900461ffff16611c109061561b565b91906101000a81548161ffff021916908361ffff160217905561ffff16613457565b8080611c3d90615646565b915050611be8565b5050565b611c51612f4b565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611cbf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cb690614e37565b60405180910390fd5b8060056000611ccc612f4b565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611d79612f4b565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611dbe9190614c9a565b60405180910390a35050565b600b60009054906101000a900460ff1615611e1a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e11906150d7565b60405180910390fd5b60036004811115611e54577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b611e5c6121ec565b6004811115611e94577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1480611f165750600480811115611ed4577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b611edc6121ec565b6004811115611f14577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b145b611f55576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f4c90615117565b60405180910390fd5b80601160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600101805490501015611fdd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fd490614e97565b60405180910390fd5b60005b818110156121e7576000601160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206001016001601160008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206001018054905061207e9190615475565b815481106120b5577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002090601091828204019190066002029054906101000a900461ffff1661ffff169050601160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600101805480612157577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b60019003818190600052602060002090601091828204019190066002026101000a81549061ffff0219169055905561218f8482613457565b808473ffffffffffffffffffffffffffffffffffffffff167f47cee97cb7acd717b3c0aa1435d004cd5b3c8c57d70dbceb4e4458bbd60e39d460405160405180910390a35080806121df90615646565b915050611fe0565b505050565b600080600c549050600e60149054906101000a900460ff16156122135760049150506122b0565b60008114156122265760009150506122b0565b6201518081612235919061535d565b42116122455760019150506122b0565b6202a30081612254919061535d565b421115801561227c57506122b861ffff16600e60159054906101000a900461ffff1661ffff16105b1561228b5760029150506122b0565b6122b861ffff1661229a610b94565b10156122aa5760039150506122b0565b60049150505b90565b600b60009054906101000a900460ff1615612303576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122fa906150d7565b60405180910390fd5b6000600481111561233d577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b6123456121ec565b600481111561237d577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b14156123be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123b590615117565b60405180910390fd5b6122b861ffff16600e60159054906101000a900461ffff1661ffff161061241a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161241190614d37565b60405180910390fd5b67013b7b21280e0000341015612465576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161245c90614e57565b60405180910390fd5b601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16156124f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124e990614d77565b60405180910390fd5b600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663debefaa682336040518363ffffffff1660e01b815260040161254f929190614c6a565b60206040518083038186803b15801561256757600080fd5b505afa15801561257b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061259f9190614377565b6125de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125d590614e77565b60405180910390fd5b6001601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555061267833600e601581819054906101000a900461ffff166126569061561b565b91906101000a81548161ffff021916908361ffff160217905561ffff16613457565b50565b61268c612686612f4b565b8361300c565b6126cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126c290615057565b60405180910390fd5b6126d7848484846136eb565b50505050565b60606126e882612edf565b612727576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161271e90614d57565b60405180910390fd5b600082141561279257600f6040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250601060405160200161277c93929190614bd2565b6040516020818303038152906040529050612945565b6000829050600081905060005b600082146127c95780806127b290615646565b915050600a826127c291906153ea565b915061279f565b60008167ffffffffffffffff81111561280b577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561283d5781602001600182028036833780820191505090505b50905060008290505b600085146129175760018161285b9190615475565b90506000600a808761286d91906153ea565b612877919061541b565b866128829190615475565b603061288e91906153b3565b905060008160f81b9050808484815181106128d2577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8761290e91906153ea565b96505050612846565b600f82601060405160200161292e93929190614bd2565b604051602081830303815290604052955050505050505b919050565b600080600080600b60009054906101000a900460ff16600b60019054906101000a900460ff16600c54600d54935093509350935090919293565b61298c612f4b565b73ffffffffffffffffffffffffffffffffffffffff166129aa611902565b73ffffffffffffffffffffffffffffffffffffffff1614612a00576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129f790614fd7565b60405180910390fd5b6000600c541415612a745742600c819055506000600b60006101000a81548160ff0219169083151502179055507fdd5aeca67369f1ee35952fdcc30a795ca694b1d22ed8f0458279592843bf403e600080600c54600d54604051612a679493929190614cb5565b60405180910390a1612bba565b600b60019054906101000a900460ff1615612ac4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612abb90615097565b60405180910390fd5b8015612aea57600091506001600b60016101000a81548160ff0219169083151502179055505b811515600b60009054906101000a900460ff16151514612bb9578115612b165742600d81905550612b4e565b6000600d5414612b4d57600d5442612b2e9190615475565b600c6000828254612b3f919061535d565b92505081905550600d600090555b5b81600b60006101000a81548160ff0219169083151502179055507fdd5aeca67369f1ee35952fdcc30a795ca694b1d22ed8f0458279592843bf403e82600b60019054906101000a900460ff16600c54600d54604051612bb09493929190614cb5565b60405180910390a15b5b5050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60006060601160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900462ffffff16601160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060010180805480602002602001604051908101604052809291908181526020018280548015612d5d57602002820191906000526020600020906000905b82829054906101000a900461ffff1661ffff1681526020019060020190602082600101049283019260010382029150808411612d245790505b5050505050905091509150915091565b612d75612f4b565b73ffffffffffffffffffffffffffffffffffffffff16612d93611902565b73ffffffffffffffffffffffffffffffffffffffff1614612de9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612de090614fd7565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612e59576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e5090614dd7565b60405180910390fd5b612e6281613625565b50565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612ed85750612ed782613747565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612fc683611465565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061301782612edf565b613056576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161304d90614eb7565b60405180910390fd5b600061306183611465565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806130d057508373ffffffffffffffffffffffffffffffffffffffff166130b8846108b0565b73ffffffffffffffffffffffffffffffffffffffff16145b806130e157506130e08185612bbe565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661310a82611465565b73ffffffffffffffffffffffffffffffffffffffff1614613160576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161315790614ff7565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156131d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131c790614e17565b60405180910390fd5b6131db838383613829565b6131e6600082612f53565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546132369190615475565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461328d919061535d565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600061335182611465565b905061335f81600084613829565b61336a600083612f53565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546133ba9190615475565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156134c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134be90614f77565b60405180910390fd5b6134d081612edf565b15613510576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161350790614df7565b60405180910390fd5b61351c60008383613829565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461356c919061535d565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6136f68484846130ea565b61370284848484613839565b613741576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161373890614db7565b60405180910390fd5b50505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061381257507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806138225750613821826139d0565b5b9050919050565b613834838383613a3a565b505050565b600061385a8473ffffffffffffffffffffffffffffffffffffffff16613b4e565b156139c3578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613883612f4b565b8786866040518563ffffffff1660e01b81526004016138a59493929190614c1e565b602060405180830381600087803b1580156138bf57600080fd5b505af19250505080156138f057506040513d601f19601f820116820180604052508101906138ed9190614405565b60015b613973573d8060008114613920576040519150601f19603f3d011682016040523d82523d6000602084013e613925565b606091505b5060008151141561396b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161396290614db7565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506139c8565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b613a45838383613b61565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415613a8857613a8381613b66565b613ac7565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614613ac657613ac58382613baf565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613b0a57613b0581613d1c565b613b49565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614613b4857613b478282613e5f565b5b5b505050565b600080823b905060008111915050919050565b505050565b600980549050600a600083815260200190815260200160002081905550600981908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001613bbc84611706565b613bc69190615475565b9050600060086000848152602001908152602001600020549050818114613cab576000600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816008600083815260200190815260200160002081905550505b6008600084815260200190815260200160002060009055600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600980549050613d309190615475565b90506000600a6000848152602001908152602001600020549050600060098381548110613d86577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060098381548110613dce577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600a600083815260200190815260200160002081905550600a6000858152602001908152602001600020600090556009805480613e43577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000613e6a83611706565b905081600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806008600084815260200190815260200160002081905550505050565b828054613eea906155b8565b90600052602060002090601f016020900481019282613f0c5760008555613f53565b82601f10613f2557805160ff1916838001178555613f53565b82800160010185558215613f53579182015b82811115613f52578251825591602001919060010190613f37565b5b509050613f609190613f64565b5090565b5b80821115613f7d576000816000905550600101613f65565b5090565b6000613f94613f8f846151c2565b61519d565b90508083825260208201905082856020860282011115613fb357600080fd5b60005b85811015613fe35781613fc988826140d2565b845260208401935060208301925050600181019050613fb6565b5050509392505050565b6000614000613ffb846151ee565b61519d565b90508281526020810184848401111561401857600080fd5b614023848285615576565b509392505050565b600061403e6140398461521f565b61519d565b90508281526020810184848401111561405657600080fd5b614061848285615576565b509392505050565b60008135905061407881615ead565b92915050565b600082601f83011261408f57600080fd5b813561409f848260208601613f81565b91505092915050565b6000813590506140b781615ec4565b92915050565b6000815190506140cc81615ec4565b92915050565b6000813590506140e181615edb565b92915050565b6000813590506140f681615ef2565b92915050565b60008151905061410b81615ef2565b92915050565b600082601f83011261412257600080fd5b8135614132848260208601613fed565b91505092915050565b600082601f83011261414c57600080fd5b813561415c84826020860161402b565b91505092915050565b60008135905061417481615f09565b92915050565b60008135905061418981615f20565b92915050565b6000602082840312156141a157600080fd5b60006141af84828501614069565b91505092915050565b600080604083850312156141cb57600080fd5b60006141d985828601614069565b92505060206141ea85828601614069565b9150509250929050565b60008060006060848603121561420957600080fd5b600061421786828701614069565b935050602061422886828701614069565b92505060406142398682870161417a565b9150509250925092565b6000806000806080858703121561425957600080fd5b600061426787828801614069565b945050602061427887828801614069565b93505060406142898782880161417a565b925050606085013567ffffffffffffffff8111156142a657600080fd5b6142b287828801614111565b91505092959194509250565b600080604083850312156142d157600080fd5b60006142df85828601614069565b92505060206142f0858286016140a8565b9150509250929050565b6000806040838503121561430d57600080fd5b600061431b85828601614069565b925050602061432c8582860161417a565b9150509250929050565b60006020828403121561434857600080fd5b600082013567ffffffffffffffff81111561436257600080fd5b61436e8482850161407e565b91505092915050565b60006020828403121561438957600080fd5b6000614397848285016140bd565b91505092915050565b600080604083850312156143b357600080fd5b60006143c1858286016140a8565b92505060206143d2858286016140a8565b9150509250929050565b6000602082840312156143ee57600080fd5b60006143fc848285016140e7565b91505092915050565b60006020828403121561441757600080fd5b6000614425848285016140fc565b91505092915050565b6000806040838503121561444157600080fd5b600083013567ffffffffffffffff81111561445b57600080fd5b6144678582860161413b565b925050602083013567ffffffffffffffff81111561448457600080fd5b6144908582860161413b565b9150509250929050565b6000602082840312156144ac57600080fd5b60006144ba84828501614165565b91505092915050565b6000602082840312156144d557600080fd5b60006144e38482850161417a565b91505092915050565b60006144f883836145f6565b60208301905092915050565b60006145108383614b96565b60208301905092915050565b614525816154a9565b82525050565b600061453682615285565b61454081856152cb565b935061454b83615250565b8060005b8381101561457c57815161456388826144ec565b975061456e836152b1565b92505060018101905061454f565b5085935050505092915050565b600061459482615290565b61459e81856152dc565b93506145a983615260565b8060005b838110156145da5781516145c18882614504565b97506145cc836152be565b9250506001810190506145ad565b5085935050505092915050565b6145f0816154bb565b82525050565b6145ff816154c7565b82525050565b60006146108261529b565b61461a81856152ed565b935061462a818560208601615585565b6146338161577a565b840191505092915050565b60006146498261529b565b61465381856152fe565b9350614663818560208601615585565b80840191505092915050565b61467881615564565b82525050565b6000614689826152a6565b6146938185615309565b93506146a3818560208601615585565b6146ac8161577a565b840191505092915050565b600081546146c4816155b8565b6146ce818661531a565b945060018216600081146146e957600181146146fa5761472d565b60ff1983168652818601935061472d565b61470385615270565b60005b8381101561472557815481890152600182019150602081019050614706565b838801955050505b50505092915050565b6000614743600983615309565b915061474e8261578b565b602082019050919050565b6000614766600683615309565b9150614771826157b4565b602082019050919050565b6000614789600983615309565b9150614794826157dd565b602082019050919050565b60006147ac602b83615309565b91506147b782615806565b604082019050919050565b60006147cf603283615309565b91506147da82615855565b604082019050919050565b60006147f2602683615309565b91506147fd826158a4565b604082019050919050565b6000614815601c83615309565b9150614820826158f3565b602082019050919050565b6000614838602483615309565b91506148438261591c565b604082019050919050565b600061485b601983615309565b91506148668261596b565b602082019050919050565b600061487e600a83615309565b915061488982615994565b602082019050919050565b60006148a1600983615309565b91506148ac826159bd565b602082019050919050565b60006148c4600683615309565b91506148cf826159e6565b602082019050919050565b60006148e7602c83615309565b91506148f282615a0f565b604082019050919050565b600061490a600983615309565b915061491582615a5e565b602082019050919050565b600061492d603883615309565b915061493882615a87565b604082019050919050565b6000614950602a83615309565b915061495b82615ad6565b604082019050919050565b6000614973602983615309565b915061497e82615b25565b604082019050919050565b6000614996600883615309565b91506149a182615b74565b602082019050919050565b60006149b9602083615309565b91506149c482615b9d565b602082019050919050565b60006149dc602c83615309565b91506149e782615bc6565b604082019050919050565b60006149ff600783615309565b9150614a0a82615c15565b602082019050919050565b6000614a22602083615309565b9150614a2d82615c3e565b602082019050919050565b6000614a45602983615309565b9150614a5082615c67565b604082019050919050565b6000614a68602183615309565b9150614a7382615cb6565b604082019050919050565b6000614a8b601183615309565b9150614a9682615d05565b602082019050919050565b6000614aae603183615309565b9150614ab982615d2e565b604082019050919050565b6000614ad1602c83615309565b9150614adc82615d7d565b604082019050919050565b6000614af4600a83615309565b9150614aff82615dcc565b602082019050919050565b6000614b17600683615309565b9150614b2282615df5565b602082019050919050565b6000614b3a600683615309565b9150614b4582615e1e565b602082019050919050565b6000614b5d600b83615309565b9150614b6882615e47565b602082019050919050565b6000614b80600583615309565b9150614b8b82615e70565b602082019050919050565b614b9f81615510565b82525050565b614bae81615510565b82525050565b614bbd8161553e565b82525050565b614bcc8161554d565b82525050565b6000614bde82866146b7565b9150614bea828561463e565b9150614bf682846146b7565b9150819050949350505050565b6000602082019050614c18600083018461451c565b92915050565b6000608082019050614c33600083018761451c565b614c40602083018661451c565b614c4d6040830185614bc3565b8181036060830152614c5f8184614605565b905095945050505050565b60006040820190508181036000830152614c84818561452b565b9050614c93602083018461451c565b9392505050565b6000602082019050614caf60008301846145e7565b92915050565b6000608082019050614cca60008301876145e7565b614cd760208301866145e7565b614ce46040830185614bc3565b614cf16060830184614bc3565b95945050505050565b6000602082019050614d0f600083018461466f565b92915050565b60006020820190508181036000830152614d2f818461467e565b905092915050565b60006020820190508181036000830152614d5081614736565b9050919050565b60006020820190508181036000830152614d7081614759565b9050919050565b60006020820190508181036000830152614d908161477c565b9050919050565b60006020820190508181036000830152614db08161479f565b9050919050565b60006020820190508181036000830152614dd0816147c2565b9050919050565b60006020820190508181036000830152614df0816147e5565b9050919050565b60006020820190508181036000830152614e1081614808565b9050919050565b60006020820190508181036000830152614e308161482b565b9050919050565b60006020820190508181036000830152614e508161484e565b9050919050565b60006020820190508181036000830152614e7081614871565b9050919050565b60006020820190508181036000830152614e9081614894565b9050919050565b60006020820190508181036000830152614eb0816148b7565b9050919050565b60006020820190508181036000830152614ed0816148da565b9050919050565b60006020820190508181036000830152614ef0816148fd565b9050919050565b60006020820190508181036000830152614f1081614920565b9050919050565b60006020820190508181036000830152614f3081614943565b9050919050565b60006020820190508181036000830152614f5081614966565b9050919050565b60006020820190508181036000830152614f7081614989565b9050919050565b60006020820190508181036000830152614f90816149ac565b9050919050565b60006020820190508181036000830152614fb0816149cf565b9050919050565b60006020820190508181036000830152614fd0816149f2565b9050919050565b60006020820190508181036000830152614ff081614a15565b9050919050565b6000602082019050818103600083015261501081614a38565b9050919050565b6000602082019050818103600083015261503081614a5b565b9050919050565b6000602082019050818103600083015261505081614a7e565b9050919050565b6000602082019050818103600083015261507081614aa1565b9050919050565b6000602082019050818103600083015261509081614ac4565b9050919050565b600060208201905081810360008301526150b081614ae7565b9050919050565b600060208201905081810360008301526150d081614b0a565b9050919050565b600060208201905081810360008301526150f081614b2d565b9050919050565b6000602082019050818103600083015261511081614b50565b9050919050565b6000602082019050818103600083015261513081614b73565b9050919050565b600060208201905061514c6000830184614ba5565b92915050565b60006040820190506151676000830185614bb4565b81810360208301526151798184614589565b90509392505050565b60006020820190506151976000830184614bc3565b92915050565b60006151a76151b8565b90506151b382826155ea565b919050565b6000604051905090565b600067ffffffffffffffff8211156151dd576151dc61574b565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156152095761520861574b565b5b6152128261577a565b9050602081019050919050565b600067ffffffffffffffff82111561523a5761523961574b565b5b6152438261577a565b9050602081019050919050565b6000819050602082019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b600061533082615510565b915061533b83615510565b92508261ffff038211156153525761535161568f565b5b828201905092915050565b60006153688261554d565b91506153738361554d565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156153a8576153a761568f565b5b828201905092915050565b60006153be82615557565b91506153c983615557565b92508260ff038211156153df576153de61568f565b5b828201905092915050565b60006153f58261554d565b91506154008361554d565b9250826154105761540f6156be565b5b828204905092915050565b60006154268261554d565b91506154318361554d565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561546a5761546961568f565b5b828202905092915050565b60006154808261554d565b915061548b8361554d565b92508282101561549e5761549d61568f565b5b828203905092915050565b60006154b48261551e565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600081905061550b82615e99565b919050565b600061ffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600062ffffff82169050919050565b6000819050919050565b600060ff82169050919050565b600061556f826154fd565b9050919050565b82818337600083830152505050565b60005b838110156155a3578082015181840152602081019050615588565b838111156155b2576000848401525b50505050565b600060028204905060018216806155d057607f821691505b602082108114156155e4576155e361571c565b5b50919050565b6155f38261577a565b810181811067ffffffffffffffff821117156156125761561161574b565b5b80604052505050565b600061562682615510565b915061ffff82141561563b5761563a61568f565b5b600182019050919050565b60006156518261554d565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156156845761568361568f565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f544f4b454e5f4d41580000000000000000000000000000000000000000000000600082015250565b7f6578697374730000000000000000000000000000000000000000000000000000600082015250565b7f6361744d696e7465640000000000000000000000000000000000000000000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f50524943455f4d494e5400000000000000000000000000000000000000000000600082015250565b7f77686974656c6973740000000000000000000000000000000000000000000000600082015250565b7f5f636f756e740000000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f636572656d6f6e79640000000000000000000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f434f4f4c444f574e000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f6f776e65724f6600000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f5452414e53414354494f4e5f4c494d4954000000000000000000000000000000600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f756e7061757361626c6500000000000000000000000000000000000000000000600082015250565b7f6f726967696e0000000000000000000000000000000000000000000000000000600082015250565b7f7061757365640000000000000000000000000000000000000000000000000000600082015250565b7f746f6b656e73476976656e000000000000000000000000000000000000000000600082015250565b7f7068617365000000000000000000000000000000000000000000000000000000600082015250565b60058110615eaa57615ea96156ed565b5b50565b615eb6816154a9565b8114615ec157600080fd5b50565b615ecd816154bb565b8114615ed857600080fd5b50565b615ee4816154c7565b8114615eef57600080fd5b50565b615efb816154d1565b8114615f0657600080fd5b50565b615f1281615510565b8114615f1d57600080fd5b50565b615f298161554d565b8114615f3457600080fd5b5056fea26469706673582212208aa43a85e51f20585495627846e16b9fc876a638c4e75fd333f8a36b8b26fb9164736f6c6343000804003300000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000100000000000000000000000000841b9f4d24aad98f503b1aa0807315254b7e492f000000000000000000000000000000000000000000000000000000000000006168747470733a2f2f627a7a336b6773716a372e657865637574652d6170692e75732d656173742d322e616d617a6f6e6177732e636f6d2f64656661756c742f726f6e696e2d6d657461646174612d6d6963726f736572766963653f746f6b656e3d000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106101f85760003560e01c8063715018a61161010d578063b1c9fe6e116100a0578063d71183511161006f578063d7118351146106f1578063ddeb50941461071f578063e985e9c514610748578063ef964f3b14610785578063f2fde38b146107c3576101f8565b8063b1c9fe6e14610644578063b73760101461066f578063b88d4fde1461068b578063c87b56dd146106b4576101f8565b80639f181b5e116100dc5780639f181b5e146105ab578063a0712d68146105d6578063a22cb465146105f2578063aad3ec961461061b576101f8565b8063715018a614610527578063853828b61461053e5780638da5cb5b1461055557806395d89b4114610580576101f8565b80631f0808d41161019057806342842e0e1161015f57806342842e0e1461041e5780634f6ccce7146104475780636352211e1461048457806367cce2b1146104c157806370a08231146104ea576101f8565b80631f0808d41461037357806323b872dd1461038f5780632f745c59146103b85780633afd85f9146103f5576101f8565b8063095ea7b3116101cc578063095ea7b3146102df5780630cc76992146103085780631789e2d81461031f57806318160ddd14610348576101f8565b8062ca0988146101fd57806301ffc9a71461023a57806306fdde0314610277578063081812fc146102a2575b600080fd5b34801561020957600080fd5b50610224600480360381019061021f919061418f565b6107ec565b6040516102319190614c9a565b60405180910390f35b34801561024657600080fd5b50610261600480360381019061025c91906143dc565b61080c565b60405161026e9190614c9a565b60405180910390f35b34801561028357600080fd5b5061028c61081e565b6040516102999190614d15565b60405180910390f35b3480156102ae57600080fd5b506102c960048036038101906102c491906144c3565b6108b0565b6040516102d69190614c03565b60405180910390f35b3480156102eb57600080fd5b50610306600480360381019061030191906142fa565b610935565b005b34801561031457600080fd5b5061031d610a4d565b005b34801561032b57600080fd5b506103466004803603810190610341919061442e565b610ae6565b005b34801561035457600080fd5b5061035d610b94565b60405161036a9190615182565b60405180910390f35b61038d6004803603810190610388919061449a565b610ba1565b005b34801561039b57600080fd5b506103b660048036038101906103b191906141f4565b611096565b005b3480156103c457600080fd5b506103df60048036038101906103da91906142fa565b6110f6565b6040516103ec9190615182565b60405180910390f35b34801561040157600080fd5b5061041c600480360381019061041791906144c3565b61119b565b005b34801561042a57600080fd5b50610445600480360381019061044091906141f4565b6113ae565b005b34801561045357600080fd5b5061046e600480360381019061046991906144c3565b6113ce565b60405161047b9190615182565b60405180910390f35b34801561049057600080fd5b506104ab60048036038101906104a691906144c3565b611465565b6040516104b89190614c03565b60405180910390f35b3480156104cd57600080fd5b506104e860048036038101906104e3919061449a565b611517565b005b3480156104f657600080fd5b50610511600480360381019061050c919061418f565b611706565b60405161051e9190615182565b60405180910390f35b34801561053357600080fd5b5061053c6117be565b005b34801561054a57600080fd5b50610553611846565b005b34801561056157600080fd5b5061056a611902565b6040516105779190614c03565b60405180910390f35b34801561058c57600080fd5b5061059561192c565b6040516105a29190614d15565b60405180910390f35b3480156105b757600080fd5b506105c06119be565b6040516105cd9190615137565b60405180910390f35b6105f060048036038101906105eb91906144c3565b6119d2565b005b3480156105fe57600080fd5b50610619600480360381019061061491906142be565b611c49565b005b34801561062757600080fd5b50610642600480360381019061063d91906142fa565b611dca565b005b34801561065057600080fd5b506106596121ec565b6040516106669190614cfa565b60405180910390f35b61068960048036038101906106849190614336565b6122b3565b005b34801561069757600080fd5b506106b260048036038101906106ad9190614243565b61267b565b005b3480156106c057600080fd5b506106db60048036038101906106d691906144c3565b6126dd565b6040516106e89190614d15565b60405180910390f35b3480156106fd57600080fd5b5061070661294a565b6040516107169493929190614cb5565b60405180910390f35b34801561072b57600080fd5b50610746600480360381019061074191906143a0565b612984565b005b34801561075457600080fd5b5061076f600480360381019061076a91906141b8565b612bbe565b60405161077c9190614c9a565b60405180910390f35b34801561079157600080fd5b506107ac60048036038101906107a7919061418f565b612c52565b6040516107ba929190615152565b60405180910390f35b3480156107cf57600080fd5b506107ea60048036038101906107e5919061418f565b612d6d565b005b60126020528060005260406000206000915054906101000a900460ff1681565b600061081782612e65565b9050919050565b60606000805461082d906155b8565b80601f0160208091040260200160405190810160405280929190818152602001828054610859906155b8565b80156108a65780601f1061087b576101008083540402835291602001916108a6565b820191906000526020600020905b81548152906001019060200180831161088957829003601f168201915b5050505050905090565b60006108bb82612edf565b6108fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108f190614f97565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061094082611465565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156109b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109a890615017565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166109d0612f4b565b73ffffffffffffffffffffffffffffffffffffffff1614806109ff57506109fe816109f9612f4b565b612bbe565b5b610a3e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a3590614ef7565b60405180910390fd5b610a488383612f53565b505050565b610a55612f4b565b73ffffffffffffffffffffffffffffffffffffffff16610a73611902565b73ffffffffffffffffffffffffffffffffffffffff1614610ac9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ac090614fd7565b60405180910390fd5b6001600e60146101000a81548160ff021916908315150217905550565b610aee612f4b565b73ffffffffffffffffffffffffffffffffffffffff16610b0c611902565b73ffffffffffffffffffffffffffffffffffffffff1614610b62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b5990614fd7565b60405180910390fd5b81600f9080519060200190610b78929190613ede565b508060109080519060200190610b8f929190613ede565b505050565b6000600980549050905090565b3273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610c0f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c06906150b7565b60405180910390fd5b600b60009054906101000a900460ff1615610c5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c56906150d7565b60405180910390fd5b60026004811115610c99577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b610ca16121ec565b6004811115610cd9577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b14610d19576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d1090615117565b60405180910390fd5b600a61ffff168161ffff161115610d65576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d5c90615037565b60405180910390fd5b6122b861ffff1681600e60159054906101000a900461ffff16610d889190615325565b61ffff161115610dcd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dc490614d37565b60405180910390fd5b67013b7b21280e00008161ffff16610de5919061541b565b341015610df157600080fd5b6000601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900462ffffff1662ffffff161480610eb85750600a601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900462ffffff1662ffffff16610eb4919061535d565b4310155b610ef7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eee90614f57565b60405180910390fd5b60005b8161ffff168161ffff16101561103357601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600101600e601581819054906101000a900461ffff16610f689061561b565b91906101000a81548161ffff021916908361ffff160217905590806001815401808255809150506001900390600052602060002090601091828204019190066002029091909190916101000a81548161ffff021916908361ffff160217905550600e60159054906101000a900461ffff1661ffff163373ffffffffffffffffffffffffffffffffffffffff167f61c8427ca14788cf50e420fe4b1e41be1ab20530a3f48bb547315dc91e62b9c160405160405180910390a3808061102b9061561b565b915050610efa565b5043601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160006101000a81548162ffffff021916908362ffffff16021790555050565b6110a76110a1612f4b565b8261300c565b6110e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110dd90615057565b60405180910390fd5b6110f18383836130ea565b505050565b600061110183611706565b8210611142576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161113990614d97565b60405180910390fd5b600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b600b60009054906101000a900460ff16156111eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111e2906150d7565b60405180910390fd5b600480811115611224577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b61122c6121ec565b6004811115611264577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b146112a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161129b90615117565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166112c482611465565b73ffffffffffffffffffffffffffffffffffffffff161461131a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161131190614fb7565b60405180910390fd5b612710811061135e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161135590614ed7565b60405180910390fd5b807f49d7dc55e79013c84f31f4257c308d242e890947494bdb05122a86eabf5d019160405160405180910390a261139481613346565b6113ab33612710836113a6919061535d565b613457565b50565b6113c98383836040518060200160405280600081525061267b565b505050565b60006113d8610b94565b8210611419576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161141090615077565b60405180910390fd5b60098281548110611453577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561150e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161150590614f37565b60405180910390fd5b80915050919050565b61151f612f4b565b73ffffffffffffffffffffffffffffffffffffffff1661153d611902565b73ffffffffffffffffffffffffffffffffffffffff1614611593576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161158a90614fd7565b60405180910390fd5b61012c61ffff1681600e60179054906101000a900461ffff166115b69190615325565b61ffff1611156115fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115f2906150f7565b60405180910390fd5b6122b861ffff1681600e60159054906101000a900461ffff1661161e9190615325565b61ffff161115611663576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161165a90614d37565b60405180910390fd5b60005b8161ffff1681101561170257600e601781819054906101000a900461ffff16809291906116929061561b565b91906101000a81548161ffff021916908361ffff160217905550506116ef33600e601581819054906101000a900461ffff166116cd9061561b565b91906101000a81548161ffff021916908361ffff160217905561ffff16613457565b80806116fa90615646565b915050611666565b5050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611777576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161176e90614f17565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6117c6612f4b565b73ffffffffffffffffffffffffffffffffffffffff166117e4611902565b73ffffffffffffffffffffffffffffffffffffffff161461183a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183190614fd7565b60405180910390fd5b6118446000613625565b565b61184e612f4b565b73ffffffffffffffffffffffffffffffffffffffff1661186c611902565b73ffffffffffffffffffffffffffffffffffffffff16146118c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118b990614fd7565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f1935050505061190057600080fd5b565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461193b906155b8565b80601f0160208091040260200160405190810160405280929190818152602001828054611967906155b8565b80156119b45780601f10611989576101008083540402835291602001916119b4565b820191906000526020600020905b81548152906001019060200180831161199757829003601f168201915b5050505050905090565b600e60159054906101000a900461ffff1681565b600b60009054906101000a900460ff1615611a22576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a19906150d7565b60405180910390fd5b60036004811115611a5c577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b611a646121ec565b6004811115611a9c577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1480611b1e5750600480811115611adc577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b611ae46121ec565b6004811115611b1c577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b145b611b5d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b5490615117565b60405180910390fd5b67013b7b21280e000081611b71919061541b565b341015611b7d57600080fd5b6122b861ffff1681600e60159054906101000a900461ffff16611ba09190615325565b61ffff161115611be5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bdc90614d37565b60405180910390fd5b60005b81811015611c4557611c3233600e601581819054906101000a900461ffff16611c109061561b565b91906101000a81548161ffff021916908361ffff160217905561ffff16613457565b8080611c3d90615646565b915050611be8565b5050565b611c51612f4b565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611cbf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cb690614e37565b60405180910390fd5b8060056000611ccc612f4b565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611d79612f4b565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611dbe9190614c9a565b60405180910390a35050565b600b60009054906101000a900460ff1615611e1a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e11906150d7565b60405180910390fd5b60036004811115611e54577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b611e5c6121ec565b6004811115611e94577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1480611f165750600480811115611ed4577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b611edc6121ec565b6004811115611f14577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b145b611f55576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f4c90615117565b60405180910390fd5b80601160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600101805490501015611fdd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fd490614e97565b60405180910390fd5b60005b818110156121e7576000601160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206001016001601160008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206001018054905061207e9190615475565b815481106120b5577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002090601091828204019190066002029054906101000a900461ffff1661ffff169050601160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600101805480612157577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b60019003818190600052602060002090601091828204019190066002026101000a81549061ffff0219169055905561218f8482613457565b808473ffffffffffffffffffffffffffffffffffffffff167f47cee97cb7acd717b3c0aa1435d004cd5b3c8c57d70dbceb4e4458bbd60e39d460405160405180910390a35080806121df90615646565b915050611fe0565b505050565b600080600c549050600e60149054906101000a900460ff16156122135760049150506122b0565b60008114156122265760009150506122b0565b6201518081612235919061535d565b42116122455760019150506122b0565b6202a30081612254919061535d565b421115801561227c57506122b861ffff16600e60159054906101000a900461ffff1661ffff16105b1561228b5760029150506122b0565b6122b861ffff1661229a610b94565b10156122aa5760039150506122b0565b60049150505b90565b600b60009054906101000a900460ff1615612303576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122fa906150d7565b60405180910390fd5b6000600481111561233d577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b6123456121ec565b600481111561237d577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b14156123be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123b590615117565b60405180910390fd5b6122b861ffff16600e60159054906101000a900461ffff1661ffff161061241a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161241190614d37565b60405180910390fd5b67013b7b21280e0000341015612465576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161245c90614e57565b60405180910390fd5b601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16156124f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124e990614d77565b60405180910390fd5b600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663debefaa682336040518363ffffffff1660e01b815260040161254f929190614c6a565b60206040518083038186803b15801561256757600080fd5b505afa15801561257b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061259f9190614377565b6125de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125d590614e77565b60405180910390fd5b6001601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555061267833600e601581819054906101000a900461ffff166126569061561b565b91906101000a81548161ffff021916908361ffff160217905561ffff16613457565b50565b61268c612686612f4b565b8361300c565b6126cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126c290615057565b60405180910390fd5b6126d7848484846136eb565b50505050565b60606126e882612edf565b612727576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161271e90614d57565b60405180910390fd5b600082141561279257600f6040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250601060405160200161277c93929190614bd2565b6040516020818303038152906040529050612945565b6000829050600081905060005b600082146127c95780806127b290615646565b915050600a826127c291906153ea565b915061279f565b60008167ffffffffffffffff81111561280b577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561283d5781602001600182028036833780820191505090505b50905060008290505b600085146129175760018161285b9190615475565b90506000600a808761286d91906153ea565b612877919061541b565b866128829190615475565b603061288e91906153b3565b905060008160f81b9050808484815181106128d2577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8761290e91906153ea565b96505050612846565b600f82601060405160200161292e93929190614bd2565b604051602081830303815290604052955050505050505b919050565b600080600080600b60009054906101000a900460ff16600b60019054906101000a900460ff16600c54600d54935093509350935090919293565b61298c612f4b565b73ffffffffffffffffffffffffffffffffffffffff166129aa611902565b73ffffffffffffffffffffffffffffffffffffffff1614612a00576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129f790614fd7565b60405180910390fd5b6000600c541415612a745742600c819055506000600b60006101000a81548160ff0219169083151502179055507fdd5aeca67369f1ee35952fdcc30a795ca694b1d22ed8f0458279592843bf403e600080600c54600d54604051612a679493929190614cb5565b60405180910390a1612bba565b600b60019054906101000a900460ff1615612ac4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612abb90615097565b60405180910390fd5b8015612aea57600091506001600b60016101000a81548160ff0219169083151502179055505b811515600b60009054906101000a900460ff16151514612bb9578115612b165742600d81905550612b4e565b6000600d5414612b4d57600d5442612b2e9190615475565b600c6000828254612b3f919061535d565b92505081905550600d600090555b5b81600b60006101000a81548160ff0219169083151502179055507fdd5aeca67369f1ee35952fdcc30a795ca694b1d22ed8f0458279592843bf403e82600b60019054906101000a900460ff16600c54600d54604051612bb09493929190614cb5565b60405180910390a15b5b5050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60006060601160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900462ffffff16601160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060010180805480602002602001604051908101604052809291908181526020018280548015612d5d57602002820191906000526020600020906000905b82829054906101000a900461ffff1661ffff1681526020019060020190602082600101049283019260010382029150808411612d245790505b5050505050905091509150915091565b612d75612f4b565b73ffffffffffffffffffffffffffffffffffffffff16612d93611902565b73ffffffffffffffffffffffffffffffffffffffff1614612de9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612de090614fd7565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612e59576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e5090614dd7565b60405180910390fd5b612e6281613625565b50565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612ed85750612ed782613747565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612fc683611465565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061301782612edf565b613056576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161304d90614eb7565b60405180910390fd5b600061306183611465565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806130d057508373ffffffffffffffffffffffffffffffffffffffff166130b8846108b0565b73ffffffffffffffffffffffffffffffffffffffff16145b806130e157506130e08185612bbe565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661310a82611465565b73ffffffffffffffffffffffffffffffffffffffff1614613160576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161315790614ff7565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156131d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131c790614e17565b60405180910390fd5b6131db838383613829565b6131e6600082612f53565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546132369190615475565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461328d919061535d565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600061335182611465565b905061335f81600084613829565b61336a600083612f53565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546133ba9190615475565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156134c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134be90614f77565b60405180910390fd5b6134d081612edf565b15613510576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161350790614df7565b60405180910390fd5b61351c60008383613829565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461356c919061535d565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6136f68484846130ea565b61370284848484613839565b613741576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161373890614db7565b60405180910390fd5b50505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061381257507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806138225750613821826139d0565b5b9050919050565b613834838383613a3a565b505050565b600061385a8473ffffffffffffffffffffffffffffffffffffffff16613b4e565b156139c3578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613883612f4b565b8786866040518563ffffffff1660e01b81526004016138a59493929190614c1e565b602060405180830381600087803b1580156138bf57600080fd5b505af19250505080156138f057506040513d601f19601f820116820180604052508101906138ed9190614405565b60015b613973573d8060008114613920576040519150601f19603f3d011682016040523d82523d6000602084013e613925565b606091505b5060008151141561396b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161396290614db7565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506139c8565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b613a45838383613b61565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415613a8857613a8381613b66565b613ac7565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614613ac657613ac58382613baf565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613b0a57613b0581613d1c565b613b49565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614613b4857613b478282613e5f565b5b5b505050565b600080823b905060008111915050919050565b505050565b600980549050600a600083815260200190815260200160002081905550600981908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001613bbc84611706565b613bc69190615475565b9050600060086000848152602001908152602001600020549050818114613cab576000600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816008600083815260200190815260200160002081905550505b6008600084815260200190815260200160002060009055600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600980549050613d309190615475565b90506000600a6000848152602001908152602001600020549050600060098381548110613d86577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060098381548110613dce577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600a600083815260200190815260200160002081905550600a6000858152602001908152602001600020600090556009805480613e43577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000613e6a83611706565b905081600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806008600084815260200190815260200160002081905550505050565b828054613eea906155b8565b90600052602060002090601f016020900481019282613f0c5760008555613f53565b82601f10613f2557805160ff1916838001178555613f53565b82800160010185558215613f53579182015b82811115613f52578251825591602001919060010190613f37565b5b509050613f609190613f64565b5090565b5b80821115613f7d576000816000905550600101613f65565b5090565b6000613f94613f8f846151c2565b61519d565b90508083825260208201905082856020860282011115613fb357600080fd5b60005b85811015613fe35781613fc988826140d2565b845260208401935060208301925050600181019050613fb6565b5050509392505050565b6000614000613ffb846151ee565b61519d565b90508281526020810184848401111561401857600080fd5b614023848285615576565b509392505050565b600061403e6140398461521f565b61519d565b90508281526020810184848401111561405657600080fd5b614061848285615576565b509392505050565b60008135905061407881615ead565b92915050565b600082601f83011261408f57600080fd5b813561409f848260208601613f81565b91505092915050565b6000813590506140b781615ec4565b92915050565b6000815190506140cc81615ec4565b92915050565b6000813590506140e181615edb565b92915050565b6000813590506140f681615ef2565b92915050565b60008151905061410b81615ef2565b92915050565b600082601f83011261412257600080fd5b8135614132848260208601613fed565b91505092915050565b600082601f83011261414c57600080fd5b813561415c84826020860161402b565b91505092915050565b60008135905061417481615f09565b92915050565b60008135905061418981615f20565b92915050565b6000602082840312156141a157600080fd5b60006141af84828501614069565b91505092915050565b600080604083850312156141cb57600080fd5b60006141d985828601614069565b92505060206141ea85828601614069565b9150509250929050565b60008060006060848603121561420957600080fd5b600061421786828701614069565b935050602061422886828701614069565b92505060406142398682870161417a565b9150509250925092565b6000806000806080858703121561425957600080fd5b600061426787828801614069565b945050602061427887828801614069565b93505060406142898782880161417a565b925050606085013567ffffffffffffffff8111156142a657600080fd5b6142b287828801614111565b91505092959194509250565b600080604083850312156142d157600080fd5b60006142df85828601614069565b92505060206142f0858286016140a8565b9150509250929050565b6000806040838503121561430d57600080fd5b600061431b85828601614069565b925050602061432c8582860161417a565b9150509250929050565b60006020828403121561434857600080fd5b600082013567ffffffffffffffff81111561436257600080fd5b61436e8482850161407e565b91505092915050565b60006020828403121561438957600080fd5b6000614397848285016140bd565b91505092915050565b600080604083850312156143b357600080fd5b60006143c1858286016140a8565b92505060206143d2858286016140a8565b9150509250929050565b6000602082840312156143ee57600080fd5b60006143fc848285016140e7565b91505092915050565b60006020828403121561441757600080fd5b6000614425848285016140fc565b91505092915050565b6000806040838503121561444157600080fd5b600083013567ffffffffffffffff81111561445b57600080fd5b6144678582860161413b565b925050602083013567ffffffffffffffff81111561448457600080fd5b6144908582860161413b565b9150509250929050565b6000602082840312156144ac57600080fd5b60006144ba84828501614165565b91505092915050565b6000602082840312156144d557600080fd5b60006144e38482850161417a565b91505092915050565b60006144f883836145f6565b60208301905092915050565b60006145108383614b96565b60208301905092915050565b614525816154a9565b82525050565b600061453682615285565b61454081856152cb565b935061454b83615250565b8060005b8381101561457c57815161456388826144ec565b975061456e836152b1565b92505060018101905061454f565b5085935050505092915050565b600061459482615290565b61459e81856152dc565b93506145a983615260565b8060005b838110156145da5781516145c18882614504565b97506145cc836152be565b9250506001810190506145ad565b5085935050505092915050565b6145f0816154bb565b82525050565b6145ff816154c7565b82525050565b60006146108261529b565b61461a81856152ed565b935061462a818560208601615585565b6146338161577a565b840191505092915050565b60006146498261529b565b61465381856152fe565b9350614663818560208601615585565b80840191505092915050565b61467881615564565b82525050565b6000614689826152a6565b6146938185615309565b93506146a3818560208601615585565b6146ac8161577a565b840191505092915050565b600081546146c4816155b8565b6146ce818661531a565b945060018216600081146146e957600181146146fa5761472d565b60ff1983168652818601935061472d565b61470385615270565b60005b8381101561472557815481890152600182019150602081019050614706565b838801955050505b50505092915050565b6000614743600983615309565b915061474e8261578b565b602082019050919050565b6000614766600683615309565b9150614771826157b4565b602082019050919050565b6000614789600983615309565b9150614794826157dd565b602082019050919050565b60006147ac602b83615309565b91506147b782615806565b604082019050919050565b60006147cf603283615309565b91506147da82615855565b604082019050919050565b60006147f2602683615309565b91506147fd826158a4565b604082019050919050565b6000614815601c83615309565b9150614820826158f3565b602082019050919050565b6000614838602483615309565b91506148438261591c565b604082019050919050565b600061485b601983615309565b91506148668261596b565b602082019050919050565b600061487e600a83615309565b915061488982615994565b602082019050919050565b60006148a1600983615309565b91506148ac826159bd565b602082019050919050565b60006148c4600683615309565b91506148cf826159e6565b602082019050919050565b60006148e7602c83615309565b91506148f282615a0f565b604082019050919050565b600061490a600983615309565b915061491582615a5e565b602082019050919050565b600061492d603883615309565b915061493882615a87565b604082019050919050565b6000614950602a83615309565b915061495b82615ad6565b604082019050919050565b6000614973602983615309565b915061497e82615b25565b604082019050919050565b6000614996600883615309565b91506149a182615b74565b602082019050919050565b60006149b9602083615309565b91506149c482615b9d565b602082019050919050565b60006149dc602c83615309565b91506149e782615bc6565b604082019050919050565b60006149ff600783615309565b9150614a0a82615c15565b602082019050919050565b6000614a22602083615309565b9150614a2d82615c3e565b602082019050919050565b6000614a45602983615309565b9150614a5082615c67565b604082019050919050565b6000614a68602183615309565b9150614a7382615cb6565b604082019050919050565b6000614a8b601183615309565b9150614a9682615d05565b602082019050919050565b6000614aae603183615309565b9150614ab982615d2e565b604082019050919050565b6000614ad1602c83615309565b9150614adc82615d7d565b604082019050919050565b6000614af4600a83615309565b9150614aff82615dcc565b602082019050919050565b6000614b17600683615309565b9150614b2282615df5565b602082019050919050565b6000614b3a600683615309565b9150614b4582615e1e565b602082019050919050565b6000614b5d600b83615309565b9150614b6882615e47565b602082019050919050565b6000614b80600583615309565b9150614b8b82615e70565b602082019050919050565b614b9f81615510565b82525050565b614bae81615510565b82525050565b614bbd8161553e565b82525050565b614bcc8161554d565b82525050565b6000614bde82866146b7565b9150614bea828561463e565b9150614bf682846146b7565b9150819050949350505050565b6000602082019050614c18600083018461451c565b92915050565b6000608082019050614c33600083018761451c565b614c40602083018661451c565b614c4d6040830185614bc3565b8181036060830152614c5f8184614605565b905095945050505050565b60006040820190508181036000830152614c84818561452b565b9050614c93602083018461451c565b9392505050565b6000602082019050614caf60008301846145e7565b92915050565b6000608082019050614cca60008301876145e7565b614cd760208301866145e7565b614ce46040830185614bc3565b614cf16060830184614bc3565b95945050505050565b6000602082019050614d0f600083018461466f565b92915050565b60006020820190508181036000830152614d2f818461467e565b905092915050565b60006020820190508181036000830152614d5081614736565b9050919050565b60006020820190508181036000830152614d7081614759565b9050919050565b60006020820190508181036000830152614d908161477c565b9050919050565b60006020820190508181036000830152614db08161479f565b9050919050565b60006020820190508181036000830152614dd0816147c2565b9050919050565b60006020820190508181036000830152614df0816147e5565b9050919050565b60006020820190508181036000830152614e1081614808565b9050919050565b60006020820190508181036000830152614e308161482b565b9050919050565b60006020820190508181036000830152614e508161484e565b9050919050565b60006020820190508181036000830152614e7081614871565b9050919050565b60006020820190508181036000830152614e9081614894565b9050919050565b60006020820190508181036000830152614eb0816148b7565b9050919050565b60006020820190508181036000830152614ed0816148da565b9050919050565b60006020820190508181036000830152614ef0816148fd565b9050919050565b60006020820190508181036000830152614f1081614920565b9050919050565b60006020820190508181036000830152614f3081614943565b9050919050565b60006020820190508181036000830152614f5081614966565b9050919050565b60006020820190508181036000830152614f7081614989565b9050919050565b60006020820190508181036000830152614f90816149ac565b9050919050565b60006020820190508181036000830152614fb0816149cf565b9050919050565b60006020820190508181036000830152614fd0816149f2565b9050919050565b60006020820190508181036000830152614ff081614a15565b9050919050565b6000602082019050818103600083015261501081614a38565b9050919050565b6000602082019050818103600083015261503081614a5b565b9050919050565b6000602082019050818103600083015261505081614a7e565b9050919050565b6000602082019050818103600083015261507081614aa1565b9050919050565b6000602082019050818103600083015261509081614ac4565b9050919050565b600060208201905081810360008301526150b081614ae7565b9050919050565b600060208201905081810360008301526150d081614b0a565b9050919050565b600060208201905081810360008301526150f081614b2d565b9050919050565b6000602082019050818103600083015261511081614b50565b9050919050565b6000602082019050818103600083015261513081614b73565b9050919050565b600060208201905061514c6000830184614ba5565b92915050565b60006040820190506151676000830185614bb4565b81810360208301526151798184614589565b90509392505050565b60006020820190506151976000830184614bc3565b92915050565b60006151a76151b8565b90506151b382826155ea565b919050565b6000604051905090565b600067ffffffffffffffff8211156151dd576151dc61574b565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156152095761520861574b565b5b6152128261577a565b9050602081019050919050565b600067ffffffffffffffff82111561523a5761523961574b565b5b6152438261577a565b9050602081019050919050565b6000819050602082019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b600061533082615510565b915061533b83615510565b92508261ffff038211156153525761535161568f565b5b828201905092915050565b60006153688261554d565b91506153738361554d565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156153a8576153a761568f565b5b828201905092915050565b60006153be82615557565b91506153c983615557565b92508260ff038211156153df576153de61568f565b5b828201905092915050565b60006153f58261554d565b91506154008361554d565b9250826154105761540f6156be565b5b828204905092915050565b60006154268261554d565b91506154318361554d565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561546a5761546961568f565b5b828202905092915050565b60006154808261554d565b915061548b8361554d565b92508282101561549e5761549d61568f565b5b828203905092915050565b60006154b48261551e565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600081905061550b82615e99565b919050565b600061ffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600062ffffff82169050919050565b6000819050919050565b600060ff82169050919050565b600061556f826154fd565b9050919050565b82818337600083830152505050565b60005b838110156155a3578082015181840152602081019050615588565b838111156155b2576000848401525b50505050565b600060028204905060018216806155d057607f821691505b602082108114156155e4576155e361571c565b5b50919050565b6155f38261577a565b810181811067ffffffffffffffff821117156156125761561161574b565b5b80604052505050565b600061562682615510565b915061ffff82141561563b5761563a61568f565b5b600182019050919050565b60006156518261554d565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156156845761568361568f565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f544f4b454e5f4d41580000000000000000000000000000000000000000000000600082015250565b7f6578697374730000000000000000000000000000000000000000000000000000600082015250565b7f6361744d696e7465640000000000000000000000000000000000000000000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f50524943455f4d494e5400000000000000000000000000000000000000000000600082015250565b7f77686974656c6973740000000000000000000000000000000000000000000000600082015250565b7f5f636f756e740000000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f636572656d6f6e79640000000000000000000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f434f4f4c444f574e000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f6f776e65724f6600000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f5452414e53414354494f4e5f4c494d4954000000000000000000000000000000600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f756e7061757361626c6500000000000000000000000000000000000000000000600082015250565b7f6f726967696e0000000000000000000000000000000000000000000000000000600082015250565b7f7061757365640000000000000000000000000000000000000000000000000000600082015250565b7f746f6b656e73476976656e000000000000000000000000000000000000000000600082015250565b7f7068617365000000000000000000000000000000000000000000000000000000600082015250565b60058110615eaa57615ea96156ed565b5b50565b615eb6816154a9565b8114615ec157600080fd5b50565b615ecd816154bb565b8114615ed857600080fd5b50565b615ee4816154c7565b8114615eef57600080fd5b50565b615efb816154d1565b8114615f0657600080fd5b50565b615f1281615510565b8114615f1d57600080fd5b50565b615f298161554d565b8114615f3457600080fd5b5056fea26469706673582212208aa43a85e51f20585495627846e16b9fc876a638c4e75fd333f8a36b8b26fb9164736f6c63430008040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000100000000000000000000000000841b9f4d24aad98f503b1aa0807315254b7e492f000000000000000000000000000000000000000000000000000000000000006168747470733a2f2f627a7a336b6773716a372e657865637574652d6170692e75732d656173742d322e616d617a6f6e6177732e636f6d2f64656661756c742f726f6e696e2d6d657461646174612d6d6963726f736572766963653f746f6b656e3d000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _uriBase (string): https://bzz3kgsqj7.execute-api.us-east-2.amazonaws.com/default/ronin-metadata-microservice?token=
Arg [1] : _uriSuffix (string):
Arg [2] : _whitelist (address): 0x841b9f4D24aAD98F503B1aA0807315254b7e492f
-----Encoded View---------------
9 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [2] : 000000000000000000000000841b9f4d24aad98f503b1aa0807315254b7e492f
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000061
Arg [4] : 68747470733a2f2f627a7a336b6773716a372e657865637574652d6170692e75
Arg [5] : 732d656173742d322e616d617a6f6e6177732e636f6d2f64656661756c742f72
Arg [6] : 6f6e696e2d6d657461646174612d6d6963726f736572766963653f746f6b656e
Arg [7] : 3d00000000000000000000000000000000000000000000000000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000000
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.