Overview
ETH Balance
0.032261 ETH
Eth Value
$62.71 (@ $1,943.88/ETH)More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 16 from a total of 16 transactions
| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
| Request Nft | 17779999 | 946 days ago | IN | 0.01297484 ETH | 0.00347305 | ||||
| Request Nft | 17779986 | 946 days ago | IN | 0.01364842 ETH | 0.00381831 | ||||
| Buy Tickets | 17779979 | 946 days ago | IN | 0.016079 ETH | 0.00280134 | ||||
| Request Nft | 17649264 | 965 days ago | IN | 0.01112139 ETH | 0.00309962 | ||||
| Request Nft | 17649251 | 965 days ago | IN | 0.00951851 ETH | 0.00072798 | ||||
| Request Nft | 17648682 | 965 days ago | IN | 0.0060342 ETH | 0.00194699 | ||||
| Buy Tickets | 17648668 | 965 days ago | IN | 0.016182 ETH | 0.00108875 | ||||
| Set Approval For... | 17607134 | 970 days ago | IN | 0 ETH | 0.00101225 | ||||
| Safe Transfer Fr... | 17607116 | 970 days ago | IN | 0 ETH | 0.00144589 | ||||
| Send Reward | 17533611 | 981 days ago | IN | 0 ETH | 0.00095282 | ||||
| Send Reward | 17533611 | 981 days ago | IN | 0 ETH | 0.00082339 | ||||
| Transfer Ownersh... | 17533591 | 981 days ago | IN | 0 ETH | 0.00040125 | ||||
| Set Nft Collecti... | 17533588 | 981 days ago | IN | 0 ETH | 0.00068874 | ||||
| Send Reward | 17532981 | 981 days ago | IN | 0 ETH | 0.00138226 | ||||
| Set Request Para... | 17532275 | 981 days ago | IN | 0 ETH | 0.00143795 | ||||
| Set Gas Compensa... | 17532273 | 981 days ago | IN | 0 ETH | 0.00074252 |
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
Ticket
Compiler Version
v0.8.9+commit.e5eed63a
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.7;
import "@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface.sol";
import "@api3/airnode-protocol/contracts/rrp/requesters/RrpRequesterV0.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
import "@openzeppelin/contracts/finance/PaymentSplitter.sol";
interface INFT {
/**
* Mint token by ticket
*/
function mintUseTicket(address ticketOwner, uint256 conditionId)
external;
}
contract Ticket is ERC1155,
Ownable,
PaymentSplitter,
RrpRequesterV0
{
AggregatorV3Interface internal priceFeed;
string public name;
string public symbol;
uint256[] public randomChanceToIndex;
address public nftContract;
uint256 public immutable maxSupply = 100000;
uint256 public maxReward = 21000;
uint256 public totalSupply;
uint256 public gasCompensation;
address public airnode;
bytes32 public endpointIdUint256;
address payable public sponsorWallet;
struct RandomStatus {
uint256 randomNumber;
address sender;
bool isExist;
}
mapping(bytes32 => RandomStatus) public requestIdToRandomStatus;
event TicketOwned(address owner,
uint256 amount);
event RequestNumbers(bytes32 indexed requestId,
address indexed sender);
event RequestRandomnessFulfilled(bytes32 indexed requestId,
uint256 indexed conditionId
);
constructor(
string memory _name,
string memory _symbol,
address _airnodeRrp,
uint256[] memory _randomChanceToIndex,
address[] memory _payees,
uint256[] memory _shares,
address _aggregatorInterface,
string memory _uri)
RrpRequesterV0(_airnodeRrp)
PaymentSplitter(_payees, _shares)
ERC1155(_uri)
{
name = _name;
symbol = _symbol;
priceFeed = AggregatorV3Interface(_aggregatorInterface);
randomChanceToIndex = _randomChanceToIndex;
}
function setRequestParameters(
address _airnode,
bytes32 _endpointIdUint256,
address payable _sponsorWallet
) external onlyOwner {
airnode = _airnode;
endpointIdUint256 = _endpointIdUint256;
sponsorWallet = _sponsorWallet;
}
function buyTickets(uint256 amount) public payable {
require(maxSupply >= totalSupply + amount, "There are not enough tickets");
uint256 price = getLatestPrice();
require(msg.value >= price * amount, "Not enough money");
_mint(msg.sender, 1, amount, "");
totalSupply += amount;
emit TicketOwned(msg.sender, amount);
}
function sendReward(address to, uint256 amount) public onlyOwner {
require(maxSupply >= totalSupply + amount, "There are not enough tickets");
require(maxReward >= amount, "There are not enough rewards");
_mint(to,1,amount,"");
totalSupply += amount;
maxReward -= amount;
emit TicketOwned(msg.sender, amount);
}
function getLatestPrice() public view returns (uint256 pricePerTicket) {
(
uint80 roundID,
int256 price,
uint256 startedAt,
uint256 timeStamp,
uint80 answeredInRound
) = priceFeed.latestRoundData();
pricePerTicket = uint256((3 * 10**26) / price);
return pricePerTicket;
}
function requestNft() public payable returns (bytes32 requestId) {
require(msg.value >= gasCompensation * block.basefee, "Not enough gas");
require(balanceOf(msg.sender, 1) > 0, "You are not an owner");
sponsorWallet.transfer(msg.value);
requestId = airnodeRrp.makeFullRequest(
airnode,
endpointIdUint256,
address(this),
sponsorWallet,
address(this),
this.fulfillUint256.selector,
abi.encode(
bytes32("1s"),
bytes32("_minConfirmations"),
bytes32("7")
)
);
requestIdToRandomStatus[requestId].sender = msg.sender;
requestIdToRandomStatus[requestId].isExist = true;
_burn(msg.sender, 1, 1);
emit RequestNumbers(requestId, msg.sender);
}
function fulfillUint256(bytes32 requestId, bytes calldata data)
external
onlyAirnodeRrp
{
require(
requestIdToRandomStatus[requestId].isExist == true,
"Request ID not known"
);
uint256 qrngUint256 = abi.decode(data, (uint256));
uint256 randomResult = (qrngUint256 % 10000) + 1;
requestIdToRandomStatus[requestId].randomNumber = randomResult;
uint256 conditionId = getConditionIdByRandomNumber(randomResult);
INFT c = INFT(nftContract);
c.mintUseTicket(requestIdToRandomStatus[requestId].sender, conditionId);
emit RequestRandomnessFulfilled(requestId, conditionId);
}
function getConditionIdByRandomNumber(uint256 randomNumber)
private
view
returns (uint256 res)
{
uint256 dropId = 1;
for (uint256 i = 1; i <= randomChanceToIndex.length; i++) {
if (randomNumber <= randomChanceToIndex[i]) {
res = dropId;
return res;
}
dropId += 11;
}
}
function setNftCollectionAddress(address nftContractAddress) public onlyOwner {
nftContract = nftContractAddress;
}
function setGasCompensation(uint256 _gasCompensation) public onlyOwner {
gasCompensation = _gasCompensation;
}
function getGasCompensationAndBlockFee() public view returns (uint256) {
return gasCompensation * block.basefee;
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "./IAuthorizationUtilsV0.sol";
import "./ITemplateUtilsV0.sol";
import "./IWithdrawalUtilsV0.sol";
interface IAirnodeRrpV0 is
IAuthorizationUtilsV0,
ITemplateUtilsV0,
IWithdrawalUtilsV0
{
event SetSponsorshipStatus(
address indexed sponsor,
address indexed requester,
bool sponsorshipStatus
);
event MadeTemplateRequest(
address indexed airnode,
bytes32 indexed requestId,
uint256 requesterRequestCount,
uint256 chainId,
address requester,
bytes32 templateId,
address sponsor,
address sponsorWallet,
address fulfillAddress,
bytes4 fulfillFunctionId,
bytes parameters
);
event MadeFullRequest(
address indexed airnode,
bytes32 indexed requestId,
uint256 requesterRequestCount,
uint256 chainId,
address requester,
bytes32 endpointId,
address sponsor,
address sponsorWallet,
address fulfillAddress,
bytes4 fulfillFunctionId,
bytes parameters
);
event FulfilledRequest(
address indexed airnode,
bytes32 indexed requestId,
bytes data
);
event FailedRequest(
address indexed airnode,
bytes32 indexed requestId,
string errorMessage
);
function setSponsorshipStatus(address requester, bool sponsorshipStatus)
external;
function makeTemplateRequest(
bytes32 templateId,
address sponsor,
address sponsorWallet,
address fulfillAddress,
bytes4 fulfillFunctionId,
bytes calldata parameters
) external returns (bytes32 requestId);
function makeFullRequest(
address airnode,
bytes32 endpointId,
address sponsor,
address sponsorWallet,
address fulfillAddress,
bytes4 fulfillFunctionId,
bytes calldata parameters
) external returns (bytes32 requestId);
function fulfill(
bytes32 requestId,
address airnode,
address fulfillAddress,
bytes4 fulfillFunctionId,
bytes calldata data,
bytes calldata signature
) external returns (bool callSuccess, bytes memory callData);
function fail(
bytes32 requestId,
address airnode,
address fulfillAddress,
bytes4 fulfillFunctionId,
string calldata errorMessage
) external;
function sponsorToRequesterToSponsorshipStatus(
address sponsor,
address requester
) external view returns (bool sponsorshipStatus);
function requesterToRequestCountPlusOne(address requester)
external
view
returns (uint256 requestCountPlusOne);
function requestIsAwaitingFulfillment(bytes32 requestId)
external
view
returns (bool isAwaitingFulfillment);
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
interface IAuthorizationUtilsV0 {
function checkAuthorizationStatus(
address[] calldata authorizers,
address airnode,
bytes32 requestId,
bytes32 endpointId,
address sponsor,
address requester
) external view returns (bool status);
function checkAuthorizationStatuses(
address[] calldata authorizers,
address airnode,
bytes32[] calldata requestIds,
bytes32[] calldata endpointIds,
address[] calldata sponsors,
address[] calldata requesters
) external view returns (bool[] memory statuses);
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
interface ITemplateUtilsV0 {
event CreatedTemplate(
bytes32 indexed templateId,
address airnode,
bytes32 endpointId,
bytes parameters
);
function createTemplate(
address airnode,
bytes32 endpointId,
bytes calldata parameters
) external returns (bytes32 templateId);
function getTemplates(bytes32[] calldata templateIds)
external
view
returns (
address[] memory airnodes,
bytes32[] memory endpointIds,
bytes[] memory parameters
);
function templates(bytes32 templateId)
external
view
returns (
address airnode,
bytes32 endpointId,
bytes memory parameters
);
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
interface IWithdrawalUtilsV0 {
event RequestedWithdrawal(
address indexed airnode,
address indexed sponsor,
bytes32 indexed withdrawalRequestId,
address sponsorWallet
);
event FulfilledWithdrawal(
address indexed airnode,
address indexed sponsor,
bytes32 indexed withdrawalRequestId,
address sponsorWallet,
uint256 amount
);
function requestWithdrawal(address airnode, address sponsorWallet) external;
function fulfillWithdrawal(
bytes32 withdrawalRequestId,
address airnode,
address sponsor
) external payable;
function sponsorToWithdrawalRequestCount(address sponsor)
external
view
returns (uint256 withdrawalRequestCount);
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "../interfaces/IAirnodeRrpV0.sol";
/// @title The contract to be inherited to make Airnode RRP requests
contract RrpRequesterV0 {
IAirnodeRrpV0 public immutable airnodeRrp;
/// @dev Reverts if the caller is not the Airnode RRP contract.
/// Use it as a modifier for fulfill and error callback methods, but also
/// check `requestId`.
modifier onlyAirnodeRrp() {
require(msg.sender == address(airnodeRrp), "Caller not Airnode RRP");
_;
}
/// @dev Airnode RRP address is set at deployment and is immutable.
/// RrpRequester is made its own sponsor by default. RrpRequester can also
/// be sponsored by others and use these sponsorships while making
/// requests, i.e., using this default sponsorship is optional.
/// @param _airnodeRrp Airnode RRP contract address
constructor(address _airnodeRrp) {
airnodeRrp = IAirnodeRrpV0(_airnodeRrp);
IAirnodeRrpV0(_airnodeRrp).setSponsorshipStatus(address(this), true);
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
interface AggregatorV3Interface {
function decimals() external view returns (uint8);
function description() external view returns (string memory);
function version() external view returns (uint256);
function getRoundData(uint80 _roundId)
external
view
returns (
uint80 roundId,
int256 answer,
uint256 startedAt,
uint256 updatedAt,
uint80 answeredInRound
);
function latestRoundData()
external
view
returns (
uint80 roundId,
int256 answer,
uint256 startedAt,
uint256 updatedAt,
uint80 answeredInRound
);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)
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() {
_transferOwnership(_msgSender());
}
/**
* @dev Throws if called by any account other than the owner.
*/
modifier onlyOwner() {
_checkOwner();
_;
}
/**
* @dev Returns the address of the current owner.
*/
function owner() public view virtual returns (address) {
return _owner;
}
/**
* @dev Throws if the sender is not the owner.
*/
function _checkOwner() internal view virtual {
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 {
_transferOwnership(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");
_transferOwnership(newOwner);
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Internal function without access restriction.
*/
function _transferOwnership(address newOwner) internal virtual {
address oldOwner = _owner;
_owner = newOwner;
emit OwnershipTransferred(oldOwner, newOwner);
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (finance/PaymentSplitter.sol)
pragma solidity ^0.8.0;
import "../token/ERC20/utils/SafeERC20.sol";
import "../utils/Address.sol";
import "../utils/Context.sol";
/**
* @title PaymentSplitter
* @dev This contract allows to split Ether payments among a group of accounts. The sender does not need to be aware
* that the Ether will be split in this way, since it is handled transparently by the contract.
*
* The split can be in equal parts or in any other arbitrary proportion. The way this is specified is by assigning each
* account to a number of shares. Of all the Ether that this contract receives, each account will then be able to claim
* an amount proportional to the percentage of total shares they were assigned. The distribution of shares is set at the
* time of contract deployment and can't be updated thereafter.
*
* `PaymentSplitter` follows a _pull payment_ model. This means that payments are not automatically forwarded to the
* accounts but kept in this contract, and the actual transfer is triggered as a separate step by calling the {release}
* function.
*
* NOTE: This contract assumes that ERC20 tokens will behave similarly to native tokens (Ether). Rebasing tokens, and
* tokens that apply fees during transfers, are likely to not be supported as expected. If in doubt, we encourage you
* to run tests before sending real value to this contract.
*/
contract PaymentSplitter is Context {
event PayeeAdded(address account, uint256 shares);
event PaymentReleased(address to, uint256 amount);
event ERC20PaymentReleased(IERC20 indexed token, address to, uint256 amount);
event PaymentReceived(address from, uint256 amount);
uint256 private _totalShares;
uint256 private _totalReleased;
mapping(address => uint256) private _shares;
mapping(address => uint256) private _released;
address[] private _payees;
mapping(IERC20 => uint256) private _erc20TotalReleased;
mapping(IERC20 => mapping(address => uint256)) private _erc20Released;
/**
* @dev Creates an instance of `PaymentSplitter` where each account in `payees` is assigned the number of shares at
* the matching position in the `shares` array.
*
* All addresses in `payees` must be non-zero. Both arrays must have the same non-zero length, and there must be no
* duplicates in `payees`.
*/
constructor(address[] memory payees, uint256[] memory shares_) payable {
require(payees.length == shares_.length, "PaymentSplitter: payees and shares length mismatch");
require(payees.length > 0, "PaymentSplitter: no payees");
for (uint256 i = 0; i < payees.length; i++) {
_addPayee(payees[i], shares_[i]);
}
}
/**
* @dev The Ether received will be logged with {PaymentReceived} events. Note that these events are not fully
* reliable: it's possible for a contract to receive Ether without triggering this function. This only affects the
* reliability of the events, and not the actual splitting of Ether.
*
* To learn more about this see the Solidity documentation for
* https://solidity.readthedocs.io/en/latest/contracts.html#fallback-function[fallback
* functions].
*/
receive() external payable virtual {
emit PaymentReceived(_msgSender(), msg.value);
}
/**
* @dev Getter for the total shares held by payees.
*/
function totalShares() public view returns (uint256) {
return _totalShares;
}
/**
* @dev Getter for the total amount of Ether already released.
*/
function totalReleased() public view returns (uint256) {
return _totalReleased;
}
/**
* @dev Getter for the total amount of `token` already released. `token` should be the address of an IERC20
* contract.
*/
function totalReleased(IERC20 token) public view returns (uint256) {
return _erc20TotalReleased[token];
}
/**
* @dev Getter for the amount of shares held by an account.
*/
function shares(address account) public view returns (uint256) {
return _shares[account];
}
/**
* @dev Getter for the amount of Ether already released to a payee.
*/
function released(address account) public view returns (uint256) {
return _released[account];
}
/**
* @dev Getter for the amount of `token` tokens already released to a payee. `token` should be the address of an
* IERC20 contract.
*/
function released(IERC20 token, address account) public view returns (uint256) {
return _erc20Released[token][account];
}
/**
* @dev Getter for the address of the payee number `index`.
*/
function payee(uint256 index) public view returns (address) {
return _payees[index];
}
/**
* @dev Getter for the amount of payee's releasable Ether.
*/
function releasable(address account) public view returns (uint256) {
uint256 totalReceived = address(this).balance + totalReleased();
return _pendingPayment(account, totalReceived, released(account));
}
/**
* @dev Getter for the amount of payee's releasable `token` tokens. `token` should be the address of an
* IERC20 contract.
*/
function releasable(IERC20 token, address account) public view returns (uint256) {
uint256 totalReceived = token.balanceOf(address(this)) + totalReleased(token);
return _pendingPayment(account, totalReceived, released(token, account));
}
/**
* @dev Triggers a transfer to `account` of the amount of Ether they are owed, according to their percentage of the
* total shares and their previous withdrawals.
*/
function release(address payable account) public virtual {
require(_shares[account] > 0, "PaymentSplitter: account has no shares");
uint256 payment = releasable(account);
require(payment != 0, "PaymentSplitter: account is not due payment");
// _totalReleased is the sum of all values in _released.
// If "_totalReleased += payment" does not overflow, then "_released[account] += payment" cannot overflow.
_totalReleased += payment;
unchecked {
_released[account] += payment;
}
Address.sendValue(account, payment);
emit PaymentReleased(account, payment);
}
/**
* @dev Triggers a transfer to `account` of the amount of `token` tokens they are owed, according to their
* percentage of the total shares and their previous withdrawals. `token` must be the address of an IERC20
* contract.
*/
function release(IERC20 token, address account) public virtual {
require(_shares[account] > 0, "PaymentSplitter: account has no shares");
uint256 payment = releasable(token, account);
require(payment != 0, "PaymentSplitter: account is not due payment");
// _erc20TotalReleased[token] is the sum of all values in _erc20Released[token].
// If "_erc20TotalReleased[token] += payment" does not overflow, then "_erc20Released[token][account] += payment"
// cannot overflow.
_erc20TotalReleased[token] += payment;
unchecked {
_erc20Released[token][account] += payment;
}
SafeERC20.safeTransfer(token, account, payment);
emit ERC20PaymentReleased(token, account, payment);
}
/**
* @dev internal logic for computing the pending payment of an `account` given the token historical balances and
* already released amounts.
*/
function _pendingPayment(
address account,
uint256 totalReceived,
uint256 alreadyReleased
) private view returns (uint256) {
return (totalReceived * _shares[account]) / _totalShares - alreadyReleased;
}
/**
* @dev Add a new payee to the contract.
* @param account The address of the payee to add.
* @param shares_ The number of shares owned by the payee.
*/
function _addPayee(address account, uint256 shares_) private {
require(account != address(0), "PaymentSplitter: account is the zero address");
require(shares_ > 0, "PaymentSplitter: shares are 0");
require(_shares[account] == 0, "PaymentSplitter: account already has shares");
_payees.push(account);
_shares[account] = shares_;
_totalShares = _totalShares + shares_;
emit PayeeAdded(account, shares_);
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC1155/ERC1155.sol)
pragma solidity ^0.8.0;
import "./IERC1155.sol";
import "./IERC1155Receiver.sol";
import "./extensions/IERC1155MetadataURI.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/introspection/ERC165.sol";
/**
* @dev Implementation of the basic standard multi-token.
* See https://eips.ethereum.org/EIPS/eip-1155
* Originally based on code by Enjin: https://github.com/enjin/erc-1155
*
* _Available since v3.1._
*/
contract ERC1155 is Context, ERC165, IERC1155, IERC1155MetadataURI {
using Address for address;
// Mapping from token ID to account balances
mapping(uint256 => mapping(address => uint256)) private _balances;
// Mapping from account to operator approvals
mapping(address => mapping(address => bool)) private _operatorApprovals;
// Used as the URI for all token types by relying on ID substitution, e.g. https://token-cdn-domain/{id}.json
string private _uri;
/**
* @dev See {_setURI}.
*/
constructor(string memory uri_) {
_setURI(uri_);
}
/**
* @dev See {IERC165-supportsInterface}.
*/
function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) {
return
interfaceId == type(IERC1155).interfaceId ||
interfaceId == type(IERC1155MetadataURI).interfaceId ||
super.supportsInterface(interfaceId);
}
/**
* @dev See {IERC1155MetadataURI-uri}.
*
* This implementation returns the same URI for *all* token types. It relies
* on the token type ID substitution mechanism
* https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP].
*
* Clients calling this function must replace the `\{id\}` substring with the
* actual token type ID.
*/
function uri(uint256) public view virtual override returns (string memory) {
return _uri;
}
/**
* @dev See {IERC1155-balanceOf}.
*
* Requirements:
*
* - `account` cannot be the zero address.
*/
function balanceOf(address account, uint256 id) public view virtual override returns (uint256) {
require(account != address(0), "ERC1155: address zero is not a valid owner");
return _balances[id][account];
}
/**
* @dev See {IERC1155-balanceOfBatch}.
*
* Requirements:
*
* - `accounts` and `ids` must have the same length.
*/
function balanceOfBatch(address[] memory accounts, uint256[] memory ids)
public
view
virtual
override
returns (uint256[] memory)
{
require(accounts.length == ids.length, "ERC1155: accounts and ids length mismatch");
uint256[] memory batchBalances = new uint256[](accounts.length);
for (uint256 i = 0; i < accounts.length; ++i) {
batchBalances[i] = balanceOf(accounts[i], ids[i]);
}
return batchBalances;
}
/**
* @dev See {IERC1155-setApprovalForAll}.
*/
function setApprovalForAll(address operator, bool approved) public virtual override {
_setApprovalForAll(_msgSender(), operator, approved);
}
/**
* @dev See {IERC1155-isApprovedForAll}.
*/
function isApprovedForAll(address account, address operator) public view virtual override returns (bool) {
return _operatorApprovals[account][operator];
}
/**
* @dev See {IERC1155-safeTransferFrom}.
*/
function safeTransferFrom(
address from,
address to,
uint256 id,
uint256 amount,
bytes memory data
) public virtual override {
require(
from == _msgSender() || isApprovedForAll(from, _msgSender()),
"ERC1155: caller is not token owner or approved"
);
_safeTransferFrom(from, to, id, amount, data);
}
/**
* @dev See {IERC1155-safeBatchTransferFrom}.
*/
function safeBatchTransferFrom(
address from,
address to,
uint256[] memory ids,
uint256[] memory amounts,
bytes memory data
) public virtual override {
require(
from == _msgSender() || isApprovedForAll(from, _msgSender()),
"ERC1155: caller is not token owner or approved"
);
_safeBatchTransferFrom(from, to, ids, amounts, data);
}
/**
* @dev Transfers `amount` tokens of token type `id` from `from` to `to`.
*
* Emits a {TransferSingle} event.
*
* Requirements:
*
* - `to` cannot be the zero address.
* - `from` must have a balance of tokens of type `id` of at least `amount`.
* - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
* acceptance magic value.
*/
function _safeTransferFrom(
address from,
address to,
uint256 id,
uint256 amount,
bytes memory data
) internal virtual {
require(to != address(0), "ERC1155: transfer to the zero address");
address operator = _msgSender();
uint256[] memory ids = _asSingletonArray(id);
uint256[] memory amounts = _asSingletonArray(amount);
_beforeTokenTransfer(operator, from, to, ids, amounts, data);
uint256 fromBalance = _balances[id][from];
require(fromBalance >= amount, "ERC1155: insufficient balance for transfer");
unchecked {
_balances[id][from] = fromBalance - amount;
}
_balances[id][to] += amount;
emit TransferSingle(operator, from, to, id, amount);
_afterTokenTransfer(operator, from, to, ids, amounts, data);
_doSafeTransferAcceptanceCheck(operator, from, to, id, amount, data);
}
/**
* @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_safeTransferFrom}.
*
* Emits a {TransferBatch} event.
*
* Requirements:
*
* - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
* acceptance magic value.
*/
function _safeBatchTransferFrom(
address from,
address to,
uint256[] memory ids,
uint256[] memory amounts,
bytes memory data
) internal virtual {
require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");
require(to != address(0), "ERC1155: transfer to the zero address");
address operator = _msgSender();
_beforeTokenTransfer(operator, from, to, ids, amounts, data);
for (uint256 i = 0; i < ids.length; ++i) {
uint256 id = ids[i];
uint256 amount = amounts[i];
uint256 fromBalance = _balances[id][from];
require(fromBalance >= amount, "ERC1155: insufficient balance for transfer");
unchecked {
_balances[id][from] = fromBalance - amount;
}
_balances[id][to] += amount;
}
emit TransferBatch(operator, from, to, ids, amounts);
_afterTokenTransfer(operator, from, to, ids, amounts, data);
_doSafeBatchTransferAcceptanceCheck(operator, from, to, ids, amounts, data);
}
/**
* @dev Sets a new URI for all token types, by relying on the token type ID
* substitution mechanism
* https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP].
*
* By this mechanism, any occurrence of the `\{id\}` substring in either the
* URI or any of the amounts in the JSON file at said URI will be replaced by
* clients with the token type ID.
*
* For example, the `https://token-cdn-domain/\{id\}.json` URI would be
* interpreted by clients as
* `https://token-cdn-domain/000000000000000000000000000000000000000000000000000000000004cce0.json`
* for token type ID 0x4cce0.
*
* See {uri}.
*
* Because these URIs cannot be meaningfully represented by the {URI} event,
* this function emits no events.
*/
function _setURI(string memory newuri) internal virtual {
_uri = newuri;
}
/**
* @dev Creates `amount` tokens of token type `id`, and assigns them to `to`.
*
* Emits a {TransferSingle} event.
*
* Requirements:
*
* - `to` cannot be the zero address.
* - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
* acceptance magic value.
*/
function _mint(
address to,
uint256 id,
uint256 amount,
bytes memory data
) internal virtual {
require(to != address(0), "ERC1155: mint to the zero address");
address operator = _msgSender();
uint256[] memory ids = _asSingletonArray(id);
uint256[] memory amounts = _asSingletonArray(amount);
_beforeTokenTransfer(operator, address(0), to, ids, amounts, data);
_balances[id][to] += amount;
emit TransferSingle(operator, address(0), to, id, amount);
_afterTokenTransfer(operator, address(0), to, ids, amounts, data);
_doSafeTransferAcceptanceCheck(operator, address(0), to, id, amount, data);
}
/**
* @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_mint}.
*
* Emits a {TransferBatch} event.
*
* Requirements:
*
* - `ids` and `amounts` must have the same length.
* - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
* acceptance magic value.
*/
function _mintBatch(
address to,
uint256[] memory ids,
uint256[] memory amounts,
bytes memory data
) internal virtual {
require(to != address(0), "ERC1155: mint to the zero address");
require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");
address operator = _msgSender();
_beforeTokenTransfer(operator, address(0), to, ids, amounts, data);
for (uint256 i = 0; i < ids.length; i++) {
_balances[ids[i]][to] += amounts[i];
}
emit TransferBatch(operator, address(0), to, ids, amounts);
_afterTokenTransfer(operator, address(0), to, ids, amounts, data);
_doSafeBatchTransferAcceptanceCheck(operator, address(0), to, ids, amounts, data);
}
/**
* @dev Destroys `amount` tokens of token type `id` from `from`
*
* Emits a {TransferSingle} event.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `from` must have at least `amount` tokens of token type `id`.
*/
function _burn(
address from,
uint256 id,
uint256 amount
) internal virtual {
require(from != address(0), "ERC1155: burn from the zero address");
address operator = _msgSender();
uint256[] memory ids = _asSingletonArray(id);
uint256[] memory amounts = _asSingletonArray(amount);
_beforeTokenTransfer(operator, from, address(0), ids, amounts, "");
uint256 fromBalance = _balances[id][from];
require(fromBalance >= amount, "ERC1155: burn amount exceeds balance");
unchecked {
_balances[id][from] = fromBalance - amount;
}
emit TransferSingle(operator, from, address(0), id, amount);
_afterTokenTransfer(operator, from, address(0), ids, amounts, "");
}
/**
* @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_burn}.
*
* Emits a {TransferBatch} event.
*
* Requirements:
*
* - `ids` and `amounts` must have the same length.
*/
function _burnBatch(
address from,
uint256[] memory ids,
uint256[] memory amounts
) internal virtual {
require(from != address(0), "ERC1155: burn from the zero address");
require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");
address operator = _msgSender();
_beforeTokenTransfer(operator, from, address(0), ids, amounts, "");
for (uint256 i = 0; i < ids.length; i++) {
uint256 id = ids[i];
uint256 amount = amounts[i];
uint256 fromBalance = _balances[id][from];
require(fromBalance >= amount, "ERC1155: burn amount exceeds balance");
unchecked {
_balances[id][from] = fromBalance - amount;
}
}
emit TransferBatch(operator, from, address(0), ids, amounts);
_afterTokenTransfer(operator, from, address(0), ids, amounts, "");
}
/**
* @dev Approve `operator` to operate on all of `owner` tokens
*
* Emits an {ApprovalForAll} event.
*/
function _setApprovalForAll(
address owner,
address operator,
bool approved
) internal virtual {
require(owner != operator, "ERC1155: setting approval status for self");
_operatorApprovals[owner][operator] = approved;
emit ApprovalForAll(owner, operator, approved);
}
/**
* @dev Hook that is called before any token transfer. This includes minting
* and burning, as well as batched variants.
*
* The same hook is called on both single and batched variants. For single
* transfers, the length of the `ids` and `amounts` arrays will be 1.
*
* Calling conditions (for each `id` and `amount` pair):
*
* - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens
* of token type `id` will be transferred to `to`.
* - When `from` is zero, `amount` tokens of token type `id` will be minted
* for `to`.
* - when `to` is zero, `amount` of ``from``'s tokens of token type `id`
* will be burned.
* - `from` and `to` are never both zero.
* - `ids` and `amounts` have the same, non-zero length.
*
* To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
*/
function _beforeTokenTransfer(
address operator,
address from,
address to,
uint256[] memory ids,
uint256[] memory amounts,
bytes memory data
) internal virtual {}
/**
* @dev Hook that is called after any token transfer. This includes minting
* and burning, as well as batched variants.
*
* The same hook is called on both single and batched variants. For single
* transfers, the length of the `id` and `amount` arrays will be 1.
*
* Calling conditions (for each `id` and `amount` pair):
*
* - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens
* of token type `id` will be transferred to `to`.
* - When `from` is zero, `amount` tokens of token type `id` will be minted
* for `to`.
* - when `to` is zero, `amount` of ``from``'s tokens of token type `id`
* will be burned.
* - `from` and `to` are never both zero.
* - `ids` and `amounts` have the same, non-zero length.
*
* To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
*/
function _afterTokenTransfer(
address operator,
address from,
address to,
uint256[] memory ids,
uint256[] memory amounts,
bytes memory data
) internal virtual {}
function _doSafeTransferAcceptanceCheck(
address operator,
address from,
address to,
uint256 id,
uint256 amount,
bytes memory data
) private {
if (to.isContract()) {
try IERC1155Receiver(to).onERC1155Received(operator, from, id, amount, data) returns (bytes4 response) {
if (response != IERC1155Receiver.onERC1155Received.selector) {
revert("ERC1155: ERC1155Receiver rejected tokens");
}
} catch Error(string memory reason) {
revert(reason);
} catch {
revert("ERC1155: transfer to non-ERC1155Receiver implementer");
}
}
}
function _doSafeBatchTransferAcceptanceCheck(
address operator,
address from,
address to,
uint256[] memory ids,
uint256[] memory amounts,
bytes memory data
) private {
if (to.isContract()) {
try IERC1155Receiver(to).onERC1155BatchReceived(operator, from, ids, amounts, data) returns (
bytes4 response
) {
if (response != IERC1155Receiver.onERC1155BatchReceived.selector) {
revert("ERC1155: ERC1155Receiver rejected tokens");
}
} catch Error(string memory reason) {
revert(reason);
} catch {
revert("ERC1155: transfer to non-ERC1155Receiver implementer");
}
}
}
function _asSingletonArray(uint256 element) private pure returns (uint256[] memory) {
uint256[] memory array = new uint256[](1);
array[0] = element;
return array;
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC1155/extensions/IERC1155MetadataURI.sol)
pragma solidity ^0.8.0;
import "../IERC1155.sol";
/**
* @dev Interface of the optional ERC1155MetadataExtension interface, as defined
* in the https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[EIP].
*
* _Available since v3.1._
*/
interface IERC1155MetadataURI is IERC1155 {
/**
* @dev Returns the URI for token type `id`.
*
* If the `\{id\}` substring is present in the URI, it must be replaced by
* clients with the actual token type ID.
*/
function uri(uint256 id) external view returns (string memory);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC1155/IERC1155.sol)
pragma solidity ^0.8.0;
import "../../utils/introspection/IERC165.sol";
/**
* @dev Required interface of an ERC1155 compliant contract, as defined in the
* https://eips.ethereum.org/EIPS/eip-1155[EIP].
*
* _Available since v3.1._
*/
interface IERC1155 is IERC165 {
/**
* @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`.
*/
event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value);
/**
* @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all
* transfers.
*/
event TransferBatch(
address indexed operator,
address indexed from,
address indexed to,
uint256[] ids,
uint256[] values
);
/**
* @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to
* `approved`.
*/
event ApprovalForAll(address indexed account, address indexed operator, bool approved);
/**
* @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI.
*
* If an {URI} event was emitted for `id`, the standard
* https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value
* returned by {IERC1155MetadataURI-uri}.
*/
event URI(string value, uint256 indexed id);
/**
* @dev Returns the amount of tokens of token type `id` owned by `account`.
*
* Requirements:
*
* - `account` cannot be the zero address.
*/
function balanceOf(address account, uint256 id) external view returns (uint256);
/**
* @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}.
*
* Requirements:
*
* - `accounts` and `ids` must have the same length.
*/
function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids)
external
view
returns (uint256[] memory);
/**
* @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`,
*
* Emits an {ApprovalForAll} event.
*
* Requirements:
*
* - `operator` cannot be the caller.
*/
function setApprovalForAll(address operator, bool approved) external;
/**
* @dev Returns true if `operator` is approved to transfer ``account``'s tokens.
*
* See {setApprovalForAll}.
*/
function isApprovedForAll(address account, address operator) external view returns (bool);
/**
* @dev Transfers `amount` tokens of token type `id` from `from` to `to`.
*
* Emits a {TransferSingle} event.
*
* Requirements:
*
* - `to` cannot be the zero address.
* - If the caller is not `from`, it must have been approved to spend ``from``'s tokens via {setApprovalForAll}.
* - `from` must have a balance of tokens of type `id` of at least `amount`.
* - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
* acceptance magic value.
*/
function safeTransferFrom(
address from,
address to,
uint256 id,
uint256 amount,
bytes calldata data
) external;
/**
* @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}.
*
* Emits a {TransferBatch} event.
*
* Requirements:
*
* - `ids` and `amounts` must have the same length.
* - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
* acceptance magic value.
*/
function safeBatchTransferFrom(
address from,
address to,
uint256[] calldata ids,
uint256[] calldata amounts,
bytes calldata data
) external;
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC1155/IERC1155Receiver.sol)
pragma solidity ^0.8.0;
import "../../utils/introspection/IERC165.sol";
/**
* @dev _Available since v3.1._
*/
interface IERC1155Receiver is IERC165 {
/**
* @dev Handles the receipt of a single ERC1155 token type. This function is
* called at the end of a `safeTransferFrom` after the balance has been updated.
*
* NOTE: To accept the transfer, this must return
* `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))`
* (i.e. 0xf23a6e61, or its own function selector).
*
* @param operator The address which initiated the transfer (i.e. msg.sender)
* @param from The address which previously owned the token
* @param id The ID of the token being transferred
* @param value The amount of tokens being transferred
* @param data Additional data with no specified format
* @return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` if transfer is allowed
*/
function onERC1155Received(
address operator,
address from,
uint256 id,
uint256 value,
bytes calldata data
) external returns (bytes4);
/**
* @dev Handles the receipt of a multiple ERC1155 token types. This function
* is called at the end of a `safeBatchTransferFrom` after the balances have
* been updated.
*
* NOTE: To accept the transfer(s), this must return
* `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))`
* (i.e. 0xbc197c81, or its own function selector).
*
* @param operator The address which initiated the batch transfer (i.e. msg.sender)
* @param from The address which previously owned the token
* @param ids An array containing ids of each token being transferred (order and length must match values array)
* @param values An array containing amounts of each token being transferred (order and length must match ids array)
* @param data Additional data with no specified format
* @return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` if transfer is allowed
*/
function onERC1155BatchReceived(
address operator,
address from,
uint256[] calldata ids,
uint256[] calldata values,
bytes calldata data
) external returns (bytes4);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/draft-IERC20Permit.sol)
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in
* https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].
*
* Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by
* presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't
* need to send a transaction, and thus is not required to hold Ether at all.
*/
interface IERC20Permit {
/**
* @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens,
* given ``owner``'s signed approval.
*
* IMPORTANT: The same issues {IERC20-approve} has related to transaction
* ordering also apply here.
*
* Emits an {Approval} event.
*
* Requirements:
*
* - `spender` cannot be the zero address.
* - `deadline` must be a timestamp in the future.
* - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`
* over the EIP712-formatted function arguments.
* - the signature must use ``owner``'s current nonce (see {nonces}).
*
* For more information on the signature format, see the
* https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP
* section].
*/
function permit(
address owner,
address spender,
uint256 value,
uint256 deadline,
uint8 v,
bytes32 r,
bytes32 s
) external;
/**
* @dev Returns the current nonce for `owner`. This value must be
* included whenever a signature is generated for {permit}.
*
* Every successful call to {permit} increases ``owner``'s nonce by one. This
* prevents a signature from being used multiple times.
*/
function nonces(address owner) external view returns (uint256);
/**
* @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}.
*/
// solhint-disable-next-line func-name-mixedcase
function DOMAIN_SEPARATOR() external view returns (bytes32);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
interface IERC20 {
/**
* @dev Emitted when `value` tokens are moved from one account (`from`) to
* another (`to`).
*
* Note that `value` may be zero.
*/
event Transfer(address indexed from, address indexed to, uint256 value);
/**
* @dev Emitted when the allowance of a `spender` for an `owner` is set by
* a call to {approve}. `value` is the new allowance.
*/
event Approval(address indexed owner, address indexed spender, uint256 value);
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the amount of tokens owned by `account`.
*/
function balanceOf(address account) external view returns (uint256);
/**
* @dev Moves `amount` tokens from the caller's account to `to`.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transfer(address to, uint256 amount) external returns (bool);
/**
* @dev Returns the remaining number of tokens that `spender` will be
* allowed to spend on behalf of `owner` through {transferFrom}. This is
* zero by default.
*
* This value changes when {approve} or {transferFrom} are called.
*/
function allowance(address owner, address spender) external view returns (uint256);
/**
* @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* IMPORTANT: Beware that changing an allowance with this method brings the risk
* that someone may use both the old and the new allowance by unfortunate
* transaction ordering. One possible solution to mitigate this race
* condition is to first reduce the spender's allowance to 0 and set the
* desired value afterwards:
* https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
*
* Emits an {Approval} event.
*/
function approve(address spender, uint256 amount) external returns (bool);
/**
* @dev Moves `amount` tokens from `from` to `to` using the
* allowance mechanism. `amount` is then deducted from the caller's
* allowance.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transferFrom(
address from,
address to,
uint256 amount
) external returns (bool);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/utils/SafeERC20.sol)
pragma solidity ^0.8.0;
import "../IERC20.sol";
import "../extensions/draft-IERC20Permit.sol";
import "../../../utils/Address.sol";
/**
* @title SafeERC20
* @dev Wrappers around ERC20 operations that throw on failure (when the token
* contract returns false). Tokens that return no value (and instead revert or
* throw on failure) are also supported, non-reverting calls are assumed to be
* successful.
* To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
* which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
*/
library SafeERC20 {
using Address for address;
function safeTransfer(
IERC20 token,
address to,
uint256 value
) internal {
_callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
}
function safeTransferFrom(
IERC20 token,
address from,
address to,
uint256 value
) internal {
_callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
}
/**
* @dev Deprecated. This function has issues similar to the ones found in
* {IERC20-approve}, and its usage is discouraged.
*
* Whenever possible, use {safeIncreaseAllowance} and
* {safeDecreaseAllowance} instead.
*/
function safeApprove(
IERC20 token,
address spender,
uint256 value
) internal {
// safeApprove should only be called when setting an initial allowance,
// or when resetting it to zero. To increase and decrease it, use
// 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
require(
(value == 0) || (token.allowance(address(this), spender) == 0),
"SafeERC20: approve from non-zero to non-zero allowance"
);
_callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
}
function safeIncreaseAllowance(
IERC20 token,
address spender,
uint256 value
) internal {
uint256 newAllowance = token.allowance(address(this), spender) + value;
_callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
}
function safeDecreaseAllowance(
IERC20 token,
address spender,
uint256 value
) internal {
unchecked {
uint256 oldAllowance = token.allowance(address(this), spender);
require(oldAllowance >= value, "SafeERC20: decreased allowance below zero");
uint256 newAllowance = oldAllowance - value;
_callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
}
}
function safePermit(
IERC20Permit token,
address owner,
address spender,
uint256 value,
uint256 deadline,
uint8 v,
bytes32 r,
bytes32 s
) internal {
uint256 nonceBefore = token.nonces(owner);
token.permit(owner, spender, value, deadline, v, r, s);
uint256 nonceAfter = token.nonces(owner);
require(nonceAfter == nonceBefore + 1, "SafeERC20: permit did not succeed");
}
/**
* @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
* on the return value: the return value is optional (but if data is returned, it must not be false).
* @param token The token targeted by the call.
* @param data The call data (encoded using abi.encode or one of its variants).
*/
function _callOptionalReturn(IERC20 token, bytes memory data) private {
// We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
// we're implementing it ourselves. We use {Address-functionCall} to perform this call, which verifies that
// the target address contains contract code and also asserts for success in the low-level call.
bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
if (returndata.length > 0) {
// Return data is optional
require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
}
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/Address.sol)
pragma solidity ^0.8.1;
/**
* @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
* ====
*
* [IMPORTANT]
* ====
* You shouldn't rely on `isContract` to protect against flash loan attacks!
*
* Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
* like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
* constructor.
* ====
*/
function isContract(address account) internal view returns (bool) {
// This method relies on extcodesize/address.code.length, which returns 0
// for contracts in construction, since the code is only stored at the end
// of the constructor execution.
return account.code.length > 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 functionCallWithValue(target, data, 0, "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");
(bool success, bytes memory returndata) = target.call{value: value}(data);
return verifyCallResultFromTarget(target, 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) {
(bool success, bytes memory returndata) = target.staticcall(data);
return verifyCallResultFromTarget(target, 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) {
(bool success, bytes memory returndata) = target.delegatecall(data);
return verifyCallResultFromTarget(target, success, returndata, errorMessage);
}
/**
* @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling
* the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.
*
* _Available since v4.8._
*/
function verifyCallResultFromTarget(
address target,
bool success,
bytes memory returndata,
string memory errorMessage
) internal view returns (bytes memory) {
if (success) {
if (returndata.length == 0) {
// only check isContract if the call was successful and the return data is empty
// otherwise we already know that it was a contract
require(isContract(target), "Address: call to non-contract");
}
return returndata;
} else {
_revert(returndata, errorMessage);
}
}
/**
* @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the
* revert reason or using the provided one.
*
* _Available since v4.3._
*/
function verifyCallResult(
bool success,
bytes memory returndata,
string memory errorMessage
) internal pure returns (bytes memory) {
if (success) {
return returndata;
} else {
_revert(returndata, errorMessage);
}
}
function _revert(bytes memory returndata, string memory errorMessage) private pure {
// 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
/// @solidity memory-safe-assembly
assembly {
let returndata_size := mload(returndata)
revert(add(32, returndata), returndata_size)
}
} else {
revert(errorMessage);
}
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)
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
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)
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
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)
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);
}{
"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":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"address","name":"_airnodeRrp","type":"address"},{"internalType":"uint256[]","name":"_randomChanceToIndex","type":"uint256[]"},{"internalType":"address[]","name":"_payees","type":"address[]"},{"internalType":"uint256[]","name":"_shares","type":"uint256[]"},{"internalType":"address","name":"_aggregatorInterface","type":"address"},{"internalType":"string","name":"_uri","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","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":"contract IERC20","name":"token","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"ERC20PaymentReleased","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":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"shares","type":"uint256"}],"name":"PayeeAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReceived","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReleased","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"requestId","type":"bytes32"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RequestNumbers","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"requestId","type":"bytes32"},{"indexed":true,"internalType":"uint256","name":"conditionId","type":"uint256"}],"name":"RequestRandomnessFulfilled","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"owner","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"TicketOwned","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"TransferBatch","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"TransferSingle","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"value","type":"string"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"URI","type":"event"},{"inputs":[],"name":"airnode","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"airnodeRrp","outputs":[{"internalType":"contract IAirnodeRrpV0","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"buyTickets","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"endpointIdUint256","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"requestId","type":"bytes32"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"fulfillUint256","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"gasCompensation","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getGasCompensationAndBlockFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getLatestPrice","outputs":[{"internalType":"uint256","name":"pricePerTicket","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxReward","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nftContract","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"payee","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"randomChanceToIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"releasable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"account","type":"address"}],"name":"releasable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"account","type":"address"}],"name":"release","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"account","type":"address"}],"name":"release","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"account","type":"address"}],"name":"released","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"released","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"requestIdToRandomStatus","outputs":[{"internalType":"uint256","name":"randomNumber","type":"uint256"},{"internalType":"address","name":"sender","type":"address"},{"internalType":"bool","name":"isExist","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"requestNft","outputs":[{"internalType":"bytes32","name":"requestId","type":"bytes32"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeBatchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"sendReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_gasCompensation","type":"uint256"}],"name":"setGasCompensation","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"nftContractAddress","type":"address"}],"name":"setNftCollectionAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_airnode","type":"address"},{"internalType":"bytes32","name":"_endpointIdUint256","type":"bytes32"},{"internalType":"address payable","name":"_sponsorWallet","type":"address"}],"name":"setRequestParameters","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"shares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sponsorWallet","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","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":"contract IERC20","name":"token","type":"address"}],"name":"totalReleased","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalReleased","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalShares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]Contract Creation Code
60c0604052620186a060a0908152506152086010553480156200002157600080fd5b5060405162006f6a38038062006f6a833981810160405281019062000047919062000ad2565b858484836200005c81620002be60201b60201c565b506200007d62000071620002da60201b60201c565b620002e260201b60201c565b8051825114620000c4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620000bb9062000cdc565b60405180910390fd5b60008251116200010b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620001029062000d4e565b60405180910390fd5b60005b82518110156200017a576200016483828151811062000132576200013162000d70565b5b602002602001015183838151811062000150576200014f62000d70565b5b6020026020010151620003a860201b60201c565b8080620001719062000dce565b9150506200010e565b5050508073ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff16815250508073ffffffffffffffffffffffffffffffffffffffff1663addf027c3060016040518363ffffffff1660e01b8152600401620001ef92919062000e4a565b600060405180830381600087803b1580156200020a57600080fd5b505af11580156200021f573d6000803e3d6000fd5b505050505087600c90805190602001906200023c929190620005e2565b5086600d908051906020019062000255929190620005e2565b5081600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084600e9080519060200190620002af92919062000673565b50505050505050505062001119565b8060029080519060200190620002d6929190620005e2565b5050565b600033905090565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156200041b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620004129062000eed565b60405180910390fd5b6000811162000461576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620004589062000f5f565b60405180910390fd5b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205414620004e6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620004dd9062000ff7565b60405180910390fd5b6008829080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550806004546200059d919062001019565b6004819055507f40c340f65e17194d14ddddb073d3c9f888e3cb52b5aae0c6c7706b4fbc905fac8282604051620005d692919062001087565b60405180910390a15050565b828054620005f090620010e3565b90600052602060002090601f01602090048101928262000614576000855562000660565b82601f106200062f57805160ff191683800117855562000660565b8280016001018555821562000660579182015b828111156200065f57825182559160200191906001019062000642565b5b5090506200066f9190620006c5565b5090565b828054828255906000526020600020908101928215620006b2579160200282015b82811115620006b157825182559160200191906001019062000694565b5b509050620006c19190620006c5565b5090565b5b80821115620006e0576000816000905550600101620006c6565b5090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6200074d8262000702565b810181811067ffffffffffffffff821117156200076f576200076e62000713565b5b80604052505050565b600062000784620006e4565b905062000792828262000742565b919050565b600067ffffffffffffffff821115620007b557620007b462000713565b5b620007c08262000702565b9050602081019050919050565b60005b83811015620007ed578082015181840152602081019050620007d0565b83811115620007fd576000848401525b50505050565b60006200081a620008148462000797565b62000778565b905082815260208101848484011115620008395762000838620006fd565b5b62000846848285620007cd565b509392505050565b600082601f830112620008665762000865620006f8565b5b81516200087884826020860162000803565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620008ae8262000881565b9050919050565b620008c081620008a1565b8114620008cc57600080fd5b50565b600081519050620008e081620008b5565b92915050565b600067ffffffffffffffff82111562000904576200090362000713565b5b602082029050602081019050919050565b600080fd5b6000819050919050565b6200092f816200091a565b81146200093b57600080fd5b50565b6000815190506200094f8162000924565b92915050565b60006200096c6200096684620008e6565b62000778565b9050808382526020820190506020840283018581111562000992576200099162000915565b5b835b81811015620009bf5780620009aa88826200093e565b84526020840193505060208101905062000994565b5050509392505050565b600082601f830112620009e157620009e0620006f8565b5b8151620009f384826020860162000955565b91505092915050565b600067ffffffffffffffff82111562000a1a5762000a1962000713565b5b602082029050602081019050919050565b600062000a4262000a3c84620009fc565b62000778565b9050808382526020820190506020840283018581111562000a685762000a6762000915565b5b835b8181101562000a95578062000a808882620008cf565b84526020840193505060208101905062000a6a565b5050509392505050565b600082601f83011262000ab75762000ab6620006f8565b5b815162000ac984826020860162000a2b565b91505092915050565b600080600080600080600080610100898b03121562000af65762000af5620006ee565b5b600089015167ffffffffffffffff81111562000b175762000b16620006f3565b5b62000b258b828c016200084e565b985050602089015167ffffffffffffffff81111562000b495762000b48620006f3565b5b62000b578b828c016200084e565b975050604062000b6a8b828c01620008cf565b965050606089015167ffffffffffffffff81111562000b8e5762000b8d620006f3565b5b62000b9c8b828c01620009c9565b955050608089015167ffffffffffffffff81111562000bc05762000bbf620006f3565b5b62000bce8b828c0162000a9f565b94505060a089015167ffffffffffffffff81111562000bf25762000bf1620006f3565b5b62000c008b828c01620009c9565b93505060c062000c138b828c01620008cf565b92505060e089015167ffffffffffffffff81111562000c375762000c36620006f3565b5b62000c458b828c016200084e565b9150509295985092959890939650565b600082825260208201905092915050565b7f5061796d656e7453706c69747465723a2070617965657320616e64207368617260008201527f6573206c656e677468206d69736d617463680000000000000000000000000000602082015250565b600062000cc460328362000c55565b915062000cd18262000c66565b604082019050919050565b6000602082019050818103600083015262000cf78162000cb5565b9050919050565b7f5061796d656e7453706c69747465723a206e6f20706179656573000000000000600082015250565b600062000d36601a8362000c55565b915062000d438262000cfe565b602082019050919050565b6000602082019050818103600083015262000d698162000d27565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600062000ddb826200091a565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141562000e115762000e1062000d9f565b5b600182019050919050565b62000e2781620008a1565b82525050565b60008115159050919050565b62000e448162000e2d565b82525050565b600060408201905062000e61600083018562000e1c565b62000e70602083018462000e39565b9392505050565b7f5061796d656e7453706c69747465723a206163636f756e74206973207468652060008201527f7a65726f20616464726573730000000000000000000000000000000000000000602082015250565b600062000ed5602c8362000c55565b915062000ee28262000e77565b604082019050919050565b6000602082019050818103600083015262000f088162000ec6565b9050919050565b7f5061796d656e7453706c69747465723a20736861726573206172652030000000600082015250565b600062000f47601d8362000c55565b915062000f548262000f0f565b602082019050919050565b6000602082019050818103600083015262000f7a8162000f38565b9050919050565b7f5061796d656e7453706c69747465723a206163636f756e7420616c726561647960008201527f2068617320736861726573000000000000000000000000000000000000000000602082015250565b600062000fdf602b8362000c55565b915062000fec8262000f81565b604082019050919050565b60006020820190508181036000830152620010128162000fd0565b9050919050565b600062001026826200091a565b915062001033836200091a565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156200106b576200106a62000d9f565b5b828201905092915050565b62001081816200091a565b82525050565b60006040820190506200109e600083018562000e1c565b620010ad602083018462001076565b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620010fc57607f821691505b60208210811415620011135762001112620010b4565b5b50919050565b60805160a051615e0f6200115b60003960008181610d2b0152818161112c015261217901526000818161125a015281816118f40152611db40152615e0f6000f3fe60806040526004361061026a5760003560e01c806384f5c2d211610144578063bf90fb4e116100b6578063d5abeb011161007a578063d5abeb01146109b0578063d79779b2146109db578063e33b7de314610a18578063e985e9c514610a43578063f242432a14610a80578063f2fde38b14610aa9576102b1565b8063bf90fb4e146108b7578063c45ac050146108e2578063ce7c2ac21461091f578063d0029b511461095c578063d56d229d14610985576102b1565b80639852595c116101085780639852595c1461078c578063a1487790146107c9578063a22cb46514610808578063a36ff4d814610831578063a3f8eace1461085c578063aa15249114610899576102b1565b806384f5c2d2146106a35780638b83209b146106ce5780638da5cb5b1461070b5780638e15f4731461073657806395d89b4114610761576102b1565b80633a98ef39116101dd578063530fc064116101a1578063530fc064146105a557806366a78e6c146105e2578063715018a61461060d57806371bab666146106245780637bdf25251461064f578063805e327514610678576102b1565b80633a98ef39146104ae578063406072a9146104d957806348b75044146105165780634e1273f41461053f578063501f5eb81461057c576102b1565b80630e89341c1161022f5780630e89341c146103af57806318160ddd146103ec57806319165587146104175780632eb2c2d6146104405780632f366637146104695780633718d90a14610485576102b1565b8062fdd58e146102b657806301ffc9a7146102f357806306fdde031461033057806307420a411461035b57806307b9fc5714610384576102b1565b366102b1577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be770610298610ad2565b346040516102a7929190613a1a565b60405180910390a1005b600080fd5b3480156102c257600080fd5b506102dd60048036038101906102d89190613aaf565b610ada565b6040516102ea9190613aef565b60405180910390f35b3480156102ff57600080fd5b5061031a60048036038101906103159190613b62565b610ba3565b6040516103279190613baa565b60405180910390f35b34801561033c57600080fd5b50610345610c85565b6040516103529190613c5e565b60405180910390f35b34801561036757600080fd5b50610382600480360381019061037d9190613aaf565b610d13565b005b34801561039057600080fd5b50610399610e5b565b6040516103a69190613c99565b60405180910390f35b3480156103bb57600080fd5b506103d660048036038101906103d19190613cb4565b610e61565b6040516103e39190613c5e565b60405180910390f35b3480156103f857600080fd5b50610401610ef5565b60405161040e9190613aef565b60405180910390f35b34801561042357600080fd5b5061043e60048036038101906104399190613d1f565b610efb565b005b34801561044c57600080fd5b5061046760048036038101906104629190613f49565b61107b565b005b610483600480360381019061047e9190613cb4565b61111c565b005b34801561049157600080fd5b506104ac60048036038101906104a7919061409f565b611258565b005b3480156104ba57600080fd5b506104c36114aa565b6040516104d09190613aef565b60405180910390f35b3480156104e557600080fd5b5061050060048036038101906104fb919061413d565b6114b4565b60405161050d9190613aef565b60405180910390f35b34801561052257600080fd5b5061053d6004803603810190610538919061413d565b61153b565b005b34801561054b57600080fd5b5061056660048036038101906105619190614240565b61174f565b6040516105739190614376565b60405180910390f35b34801561058857600080fd5b506105a3600480360381019061059e9190614398565b611868565b005b3480156105b157600080fd5b506105cc60048036038101906105c79190613cb4565b6118b4565b6040516105d99190613aef565b60405180910390f35b3480156105ee57600080fd5b506105f76118d8565b6040516106049190613aef565b60405180910390f35b34801561061957600080fd5b506106226118de565b005b34801561063057600080fd5b506106396118f2565b6040516106469190614424565b60405180910390f35b34801561065b57600080fd5b506106766004803603810190610671919061443f565b611916565b005b34801561068457600080fd5b5061068d6119ac565b60405161069a9190613aef565b60405180910390f35b3480156106af57600080fd5b506106b86119c1565b6040516106c59190613aef565b60405180910390f35b3480156106da57600080fd5b506106f560048036038101906106f09190613cb4565b6119c7565b6040516107029190614492565b60405180910390f35b34801561071757600080fd5b50610720611a0f565b60405161072d9190614492565b60405180910390f35b34801561074257600080fd5b5061074b611a39565b6040516107589190613aef565b60405180910390f35b34801561076d57600080fd5b50610776611b0d565b6040516107839190613c5e565b60405180910390f35b34801561079857600080fd5b506107b360048036038101906107ae9190614398565b611b9b565b6040516107c09190613aef565b60405180910390f35b3480156107d557600080fd5b506107f060048036038101906107eb91906144ad565b611be4565b6040516107ff939291906144da565b60405180910390f35b34801561081457600080fd5b5061082f600480360381019061082a919061453d565b611c3b565b005b34801561083d57600080fd5b50610846611c51565b6040516108539190614492565b60405180910390f35b34801561086857600080fd5b50610883600480360381019061087e9190614398565b611c77565b6040516108909190613aef565b60405180910390f35b6108a1611caa565b6040516108ae9190613c99565b60405180910390f35b3480156108c357600080fd5b506108cc612012565b6040516108d9919061458c565b60405180910390f35b3480156108ee57600080fd5b506109096004803603810190610904919061413d565b612038565b6040516109169190613aef565b60405180910390f35b34801561092b57600080fd5b5061094660048036038101906109419190614398565b6120f6565b6040516109539190613aef565b60405180910390f35b34801561096857600080fd5b50610983600480360381019061097e9190613cb4565b61213f565b005b34801561099157600080fd5b5061099a612151565b6040516109a79190614492565b60405180910390f35b3480156109bc57600080fd5b506109c5612177565b6040516109d29190613aef565b60405180910390f35b3480156109e757600080fd5b50610a0260048036038101906109fd91906145a7565b61219b565b604051610a0f9190613aef565b60405180910390f35b348015610a2457600080fd5b50610a2d6121e4565b604051610a3a9190613aef565b60405180910390f35b348015610a4f57600080fd5b50610a6a6004803603810190610a6591906145d4565b6121ee565b604051610a779190613baa565b60405180910390f35b348015610a8c57600080fd5b50610aa76004803603810190610aa29190614614565b612282565b005b348015610ab557600080fd5b50610ad06004803603810190610acb9190614398565b612323565b005b600033905090565b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610b4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b429061471d565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610c6e57507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610c7e5750610c7d826123a7565b5b9050919050565b600c8054610c929061476c565b80601f0160208091040260200160405190810160405280929190818152602001828054610cbe9061476c565b8015610d0b5780601f10610ce057610100808354040283529160200191610d0b565b820191906000526020600020905b815481529060010190602001808311610cee57829003601f168201915b505050505081565b610d1b612411565b80601154610d2991906147cd565b7f00000000000000000000000000000000000000000000000000000000000000001015610d8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d829061486f565b60405180910390fd5b806010541015610dd0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dc7906148db565b60405180910390fd5b610dec826001836040518060200160405280600081525061248f565b8060116000828254610dfe91906147cd565b925050819055508060106000828254610e1791906148fb565b925050819055507fb21f5a076eb7c2a94472b9de877a87e385c679f381c3d2f4d8b231a60e91415f3382604051610e4f929190613a1a565b60405180910390a15050565b60145481565b606060028054610e709061476c565b80601f0160208091040260200160405190810160405280929190818152602001828054610e9c9061476c565b8015610ee95780601f10610ebe57610100808354040283529160200191610ee9565b820191906000526020600020905b815481529060010190602001808311610ecc57829003601f168201915b50505050509050919050565b60115481565b6000600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411610f7d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f74906149a1565b60405180910390fd5b6000610f8882611c77565b90506000811415610fce576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fc590614a33565b60405180910390fd5b8060056000828254610fe091906147cd565b9250508190555080600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555061103e8282612640565b7fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b056828260405161106f929190614a74565b60405180910390a15050565b611083610ad2565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614806110c957506110c8856110c3610ad2565b6121ee565b5b611108576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ff90614b0f565b60405180910390fd5b6111158585858585612734565b5050505050565b8060115461112a91906147cd565b7f0000000000000000000000000000000000000000000000000000000000000000101561118c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111839061486f565b60405180910390fd5b6000611196611a39565b905081816111a49190614b2f565b3410156111e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111dd90614bd5565b60405180910390fd5b611202336001846040518060200160405280600081525061248f565b816011600082825461121491906147cd565b925050819055507fb21f5a076eb7c2a94472b9de877a87e385c679f381c3d2f4d8b231a60e91415f338360405161124c929190613a1a565b60405180910390a15050565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146112e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112dd90614c41565b60405180910390fd5b600115156016600085815260200190815260200160002060010160149054906101000a900460ff16151514611350576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161134790614cad565b60405180910390fd5b600082828101906113619190613cb4565b905060006001612710836113759190614cfc565b61137f91906147cd565b905080601660008781526020019081526020016000206000018190555060006113a782612a56565b90506000600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508073ffffffffffffffffffffffffffffffffffffffff1663dbc57c0f601660008a815260200190815260200160002060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16846040518363ffffffff1660e01b8152600401611441929190613a1a565b600060405180830381600087803b15801561145b57600080fd5b505af115801561146f573d6000803e3d6000fd5b5050505081877f258e8aab35e09293c36892d6c2e2ee63509c0ba72c3437d609e4f30109d3f16c60405160405180910390a350505050505050565b6000600454905090565b6000600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b6000600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054116115bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115b4906149a1565b60405180910390fd5b60006115c98383612038565b9050600081141561160f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161160690614a33565b60405180910390fd5b80600960008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461165e91906147cd565b9250508190555080600a60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055506116fa838383612ac9565b8273ffffffffffffffffffffffffffffffffffffffff167f3be5b7a71e84ed12875d241991c70855ac5817d847039e17a9d895c1ceb0f18a8383604051611742929190613a1a565b60405180910390a2505050565b60608151835114611795576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161178c90614d9f565b60405180910390fd5b6000835167ffffffffffffffff8111156117b2576117b1613d51565b5b6040519080825280602002602001820160405280156117e05781602001602082028036833780820191505090505b50905060005b845181101561185d5761182d85828151811061180557611804614dbf565b5b60200260200101518583815181106118205761181f614dbf565b5b6020026020010151610ada565b8282815181106118405761183f614dbf565b5b6020026020010181815250508061185690614dee565b90506117e6565b508091505092915050565b611870612411565b80600f60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600e81815481106118c457600080fd5b906000526020600020016000915090505481565b60105481565b6118e6612411565b6118f06000612b4f565b565b7f000000000000000000000000000000000000000000000000000000000000000081565b61191e612411565b82601360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508160148190555080601560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505050565b6000486012546119bc9190614b2f565b905090565b60125481565b6000600882815481106119dd576119dc614dbf565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600080600080600080600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663feaf968c6040518163ffffffff1660e01b815260040160a06040518083038186803b158015611aaa57600080fd5b505afa158015611abe573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ae29190614ec4565b94509450945094509450836af8277896582678ac000000611b039190614f3f565b9550505050505090565b600d8054611b1a9061476c565b80601f0160208091040260200160405190810160405280929190818152602001828054611b469061476c565b8015611b935780601f10611b6857610100808354040283529160200191611b93565b820191906000526020600020905b815481529060010190602001808311611b7657829003601f168201915b505050505081565b6000600760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60166020528060005260406000206000915090508060000154908060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060010160149054906101000a900460ff16905083565b611c4d611c46610ad2565b8383612c15565b5050565b601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600080611c826121e4565b47611c8d91906147cd565b9050611ca28382611c9d86611b9b565b612d82565b915050919050565b600048601254611cba9190614b2f565b341015611cfc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cf390614ff5565b60405180910390fd5b6000611d09336001610ada565b11611d49576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d4090615061565b60405180910390fd5b601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc349081150290604051600060405180830381858888f19350505050158015611db1573d6000803e3d6000fd5b507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16636e6be03f601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1660145430601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1630633718d90a60e01b7f31730000000000000000000000000000000000000000000000000000000000007f5f6d696e436f6e6669726d6174696f6e730000000000000000000000000000007f3700000000000000000000000000000000000000000000000000000000000000604051602001611eb693929190615081565b6040516020818303038152906040526040518863ffffffff1660e01b8152600401611ee7979695949392919061511c565b602060405180830381600087803b158015611f0157600080fd5b505af1158015611f15573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f3991906151a7565b9050336016600083815260200190815260200160002060010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060016016600083815260200190815260200160002060010160146101000a81548160ff021916908315150217905550611fcb33600180612df0565b3373ffffffffffffffffffffffffffffffffffffffff16817fe80b5dbf83cc1d5c59aa16fa0c3329e924e894108585c601fb0c5b18598707a360405160405180910390a390565b601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000806120448461219b565b8473ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b815260040161207d9190614492565b60206040518083038186803b15801561209557600080fd5b505afa1580156120a9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120cd91906151d4565b6120d791906147cd565b90506120ed83826120e887876114b4565b612d82565b91505092915050565b6000600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b612147612411565b8060128190555050565b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b7f000000000000000000000000000000000000000000000000000000000000000081565b6000600960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000600554905090565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61228a610ad2565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614806122d057506122cf856122ca610ad2565b6121ee565b5b61230f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161230690614b0f565b60405180910390fd5b61231c8585858585613037565b5050505050565b61232b612411565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561239b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161239290615273565b60405180910390fd5b6123a481612b4f565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612419610ad2565b73ffffffffffffffffffffffffffffffffffffffff16612437611a0f565b73ffffffffffffffffffffffffffffffffffffffff161461248d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612484906152df565b60405180910390fd5b565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156124ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124f690615371565b60405180910390fd5b6000612509610ad2565b90506000612516856132d3565b90506000612523856132d3565b90506125348360008985858961334d565b8460008088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461259391906147cd565b925050819055508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628989604051612611929190615391565b60405180910390a461262883600089858589613355565b6126378360008989898961335d565b50505050505050565b80471015612683576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161267a90615406565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff16826040516126a990615457565b60006040518083038185875af1925050503d80600081146126e6576040519150601f19603f3d011682016040523d82523d6000602084013e6126eb565b606091505b505090508061272f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612726906154de565b60405180910390fd5b505050565b8151835114612778576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161276f90615570565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156127e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127df90615602565b60405180910390fd5b60006127f2610ad2565b905061280281878787878761334d565b60005b84518110156129b357600085828151811061282357612822614dbf565b5b60200260200101519050600085838151811061284257612841614dbf565b5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156128e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128da90615694565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461299891906147cd565b92505081905550505050806129ac90614dee565b9050612805565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051612a2a9291906156b4565b60405180910390a4612a40818787878787613355565b612a4e818787878787613544565b505050505050565b600080600190506000600190505b600e805490508111612ac157600e8181548110612a8457612a83614dbf565b5b90600052602060002001548411612a9f578192505050612ac4565b600b82612aac91906147cd565b91508080612ab990614dee565b915050612a64565b50505b919050565b612b4a8363a9059cbb60e01b8484604051602401612ae8929190613a1a565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff838183161783525050505061372b565b505050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612c84576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c7b9061575d565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612d759190613baa565b60405180910390a3505050565b600081600454600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205485612dd39190614b2f565b612ddd919061577d565b612de791906148fb565b90509392505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612e60576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e5790615820565b60405180910390fd5b6000612e6a610ad2565b90506000612e77846132d3565b90506000612e84846132d3565b9050612ea48387600085856040518060200160405280600081525061334d565b600080600087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905084811015612f3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f32906158b2565b60405180910390fd5b84810360008088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600073ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628989604051613008929190615391565b60405180910390a461302e84886000868660405180602001604052806000815250613355565b50505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156130a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161309e90615602565b60405180910390fd5b60006130b1610ad2565b905060006130be856132d3565b905060006130cb856132d3565b90506130db83898985858961334d565b600080600088815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905085811015613172576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161316990615694565b60405180910390fd5b85810360008089815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508560008089815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461322791906147cd565b925050819055508773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628a8a6040516132a4929190615391565b60405180910390a46132ba848a8a86868a613355565b6132c8848a8a8a8a8a61335d565b505050505050505050565b60606000600167ffffffffffffffff8111156132f2576132f1613d51565b5b6040519080825280602002602001820160405280156133205781602001602082028036833780820191505090505b509050828160008151811061333857613337614dbf565b5b60200260200101818152505080915050919050565b505050505050565b505050505050565b61337c8473ffffffffffffffffffffffffffffffffffffffff166137f2565b1561353c578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b81526004016133c29594939291906158d2565b602060405180830381600087803b1580156133dc57600080fd5b505af192505050801561340d57506040513d601f19601f8201168201806040525081019061340a9190615941565b60015b6134b35761341961597b565b806308c379a01415613476575061342e61599d565b806134395750613478565b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161346d9190613c5e565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134aa90615aa5565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161461353a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161353190615b37565b60405180910390fd5b505b505050505050565b6135638473ffffffffffffffffffffffffffffffffffffffff166137f2565b15613723578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b81526004016135a9959493929190615b57565b602060405180830381600087803b1580156135c357600080fd5b505af19250505080156135f457506040513d601f19601f820116820180604052508101906135f19190615941565b60015b61369a5761360061597b565b806308c379a0141561365d575061361561599d565b80613620575061365f565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136549190613c5e565b60405180910390fd5b505b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161369190615aa5565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614613721576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161371890615b37565b60405180910390fd5b505b505050505050565b600061378d826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166138159092919063ffffffff16565b90506000815111156137ed57808060200190518101906137ad9190615bd4565b6137ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016137e390615c73565b60405180910390fd5b5b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6060613824848460008561382d565b90509392505050565b606082471015613872576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161386990615d05565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff16858760405161389b9190615d56565b60006040518083038185875af1925050503d80600081146138d8576040519150601f19603f3d011682016040523d82523d6000602084013e6138dd565b606091505b50915091506138ee878383876138fa565b92505050949350505050565b6060831561395d5760008351141561395557613915856137f2565b613954576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161394b90615db9565b60405180910390fd5b5b829050613968565b6139678383613970565b5b949350505050565b6000825111156139835781518083602001fd5b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016139b79190613c5e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006139eb826139c0565b9050919050565b6139fb816139e0565b82525050565b6000819050919050565b613a1481613a01565b82525050565b6000604082019050613a2f60008301856139f2565b613a3c6020830184613a0b565b9392505050565b6000604051905090565b600080fd5b600080fd5b613a60816139e0565b8114613a6b57600080fd5b50565b600081359050613a7d81613a57565b92915050565b613a8c81613a01565b8114613a9757600080fd5b50565b600081359050613aa981613a83565b92915050565b60008060408385031215613ac657613ac5613a4d565b5b6000613ad485828601613a6e565b9250506020613ae585828601613a9a565b9150509250929050565b6000602082019050613b046000830184613a0b565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613b3f81613b0a565b8114613b4a57600080fd5b50565b600081359050613b5c81613b36565b92915050565b600060208284031215613b7857613b77613a4d565b5b6000613b8684828501613b4d565b91505092915050565b60008115159050919050565b613ba481613b8f565b82525050565b6000602082019050613bbf6000830184613b9b565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613bff578082015181840152602081019050613be4565b83811115613c0e576000848401525b50505050565b6000601f19601f8301169050919050565b6000613c3082613bc5565b613c3a8185613bd0565b9350613c4a818560208601613be1565b613c5381613c14565b840191505092915050565b60006020820190508181036000830152613c788184613c25565b905092915050565b6000819050919050565b613c9381613c80565b82525050565b6000602082019050613cae6000830184613c8a565b92915050565b600060208284031215613cca57613cc9613a4d565b5b6000613cd884828501613a9a565b91505092915050565b6000613cec826139c0565b9050919050565b613cfc81613ce1565b8114613d0757600080fd5b50565b600081359050613d1981613cf3565b92915050565b600060208284031215613d3557613d34613a4d565b5b6000613d4384828501613d0a565b91505092915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613d8982613c14565b810181811067ffffffffffffffff82111715613da857613da7613d51565b5b80604052505050565b6000613dbb613a43565b9050613dc78282613d80565b919050565b600067ffffffffffffffff821115613de757613de6613d51565b5b602082029050602081019050919050565b600080fd5b6000613e10613e0b84613dcc565b613db1565b90508083825260208201905060208402830185811115613e3357613e32613df8565b5b835b81811015613e5c5780613e488882613a9a565b845260208401935050602081019050613e35565b5050509392505050565b600082601f830112613e7b57613e7a613d4c565b5b8135613e8b848260208601613dfd565b91505092915050565b600080fd5b600067ffffffffffffffff821115613eb457613eb3613d51565b5b613ebd82613c14565b9050602081019050919050565b82818337600083830152505050565b6000613eec613ee784613e99565b613db1565b905082815260208101848484011115613f0857613f07613e94565b5b613f13848285613eca565b509392505050565b600082601f830112613f3057613f2f613d4c565b5b8135613f40848260208601613ed9565b91505092915050565b600080600080600060a08688031215613f6557613f64613a4d565b5b6000613f7388828901613a6e565b9550506020613f8488828901613a6e565b945050604086013567ffffffffffffffff811115613fa557613fa4613a52565b5b613fb188828901613e66565b935050606086013567ffffffffffffffff811115613fd257613fd1613a52565b5b613fde88828901613e66565b925050608086013567ffffffffffffffff811115613fff57613ffe613a52565b5b61400b88828901613f1b565b9150509295509295909350565b61402181613c80565b811461402c57600080fd5b50565b60008135905061403e81614018565b92915050565b600080fd5b60008083601f84011261405f5761405e613d4c565b5b8235905067ffffffffffffffff81111561407c5761407b614044565b5b60208301915083600182028301111561409857614097613df8565b5b9250929050565b6000806000604084860312156140b8576140b7613a4d565b5b60006140c68682870161402f565b935050602084013567ffffffffffffffff8111156140e7576140e6613a52565b5b6140f386828701614049565b92509250509250925092565b600061410a826139e0565b9050919050565b61411a816140ff565b811461412557600080fd5b50565b60008135905061413781614111565b92915050565b6000806040838503121561415457614153613a4d565b5b600061416285828601614128565b925050602061417385828601613a6e565b9150509250929050565b600067ffffffffffffffff82111561419857614197613d51565b5b602082029050602081019050919050565b60006141bc6141b78461417d565b613db1565b905080838252602082019050602084028301858111156141df576141de613df8565b5b835b8181101561420857806141f48882613a6e565b8452602084019350506020810190506141e1565b5050509392505050565b600082601f83011261422757614226613d4c565b5b81356142378482602086016141a9565b91505092915050565b6000806040838503121561425757614256613a4d565b5b600083013567ffffffffffffffff81111561427557614274613a52565b5b61428185828601614212565b925050602083013567ffffffffffffffff8111156142a2576142a1613a52565b5b6142ae85828601613e66565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6142ed81613a01565b82525050565b60006142ff83836142e4565b60208301905092915050565b6000602082019050919050565b6000614323826142b8565b61432d81856142c3565b9350614338836142d4565b8060005b8381101561436957815161435088826142f3565b975061435b8361430b565b92505060018101905061433c565b5085935050505092915050565b600060208201905081810360008301526143908184614318565b905092915050565b6000602082840312156143ae576143ad613a4d565b5b60006143bc84828501613a6e565b91505092915050565b6000819050919050565b60006143ea6143e56143e0846139c0565b6143c5565b6139c0565b9050919050565b60006143fc826143cf565b9050919050565b600061440e826143f1565b9050919050565b61441e81614403565b82525050565b60006020820190506144396000830184614415565b92915050565b60008060006060848603121561445857614457613a4d565b5b600061446686828701613a6e565b93505060206144778682870161402f565b925050604061448886828701613d0a565b9150509250925092565b60006020820190506144a760008301846139f2565b92915050565b6000602082840312156144c3576144c2613a4d565b5b60006144d18482850161402f565b91505092915050565b60006060820190506144ef6000830186613a0b565b6144fc60208301856139f2565b6145096040830184613b9b565b949350505050565b61451a81613b8f565b811461452557600080fd5b50565b60008135905061453781614511565b92915050565b6000806040838503121561455457614553613a4d565b5b600061456285828601613a6e565b925050602061457385828601614528565b9150509250929050565b61458681613ce1565b82525050565b60006020820190506145a1600083018461457d565b92915050565b6000602082840312156145bd576145bc613a4d565b5b60006145cb84828501614128565b91505092915050565b600080604083850312156145eb576145ea613a4d565b5b60006145f985828601613a6e565b925050602061460a85828601613a6e565b9150509250929050565b600080600080600060a086880312156146305761462f613a4d565b5b600061463e88828901613a6e565b955050602061464f88828901613a6e565b945050604061466088828901613a9a565b935050606061467188828901613a9a565b925050608086013567ffffffffffffffff81111561469257614691613a52565b5b61469e88828901613f1b565b9150509295509295909350565b7f455243313135353a2061646472657373207a65726f206973206e6f742061207660008201527f616c6964206f776e657200000000000000000000000000000000000000000000602082015250565b6000614707602a83613bd0565b9150614712826146ab565b604082019050919050565b60006020820190508181036000830152614736816146fa565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061478457607f821691505b602082108114156147985761479761473d565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006147d882613a01565b91506147e383613a01565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156148185761481761479e565b5b828201905092915050565b7f546865726520617265206e6f7420656e6f756768207469636b65747300000000600082015250565b6000614859601c83613bd0565b915061486482614823565b602082019050919050565b600060208201905081810360008301526148888161484c565b9050919050565b7f546865726520617265206e6f7420656e6f756768207265776172647300000000600082015250565b60006148c5601c83613bd0565b91506148d08261488f565b602082019050919050565b600060208201905081810360008301526148f4816148b8565b9050919050565b600061490682613a01565b915061491183613a01565b9250828210156149245761492361479e565b5b828203905092915050565b7f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060008201527f7368617265730000000000000000000000000000000000000000000000000000602082015250565b600061498b602683613bd0565b91506149968261492f565b604082019050919050565b600060208201905081810360008301526149ba8161497e565b9050919050565b7f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060008201527f647565207061796d656e74000000000000000000000000000000000000000000602082015250565b6000614a1d602b83613bd0565b9150614a28826149c1565b604082019050919050565b60006020820190508181036000830152614a4c81614a10565b9050919050565b6000614a5e826143f1565b9050919050565b614a6e81614a53565b82525050565b6000604082019050614a896000830185614a65565b614a966020830184613a0b565b9392505050565b7f455243313135353a2063616c6c6572206973206e6f7420746f6b656e206f776e60008201527f6572206f7220617070726f766564000000000000000000000000000000000000602082015250565b6000614af9602e83613bd0565b9150614b0482614a9d565b604082019050919050565b60006020820190508181036000830152614b2881614aec565b9050919050565b6000614b3a82613a01565b9150614b4583613a01565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614b7e57614b7d61479e565b5b828202905092915050565b7f4e6f7420656e6f756768206d6f6e657900000000000000000000000000000000600082015250565b6000614bbf601083613bd0565b9150614bca82614b89565b602082019050919050565b60006020820190508181036000830152614bee81614bb2565b9050919050565b7f43616c6c6572206e6f74204169726e6f64652052525000000000000000000000600082015250565b6000614c2b601683613bd0565b9150614c3682614bf5565b602082019050919050565b60006020820190508181036000830152614c5a81614c1e565b9050919050565b7f52657175657374204944206e6f74206b6e6f776e000000000000000000000000600082015250565b6000614c97601483613bd0565b9150614ca282614c61565b602082019050919050565b60006020820190508181036000830152614cc681614c8a565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614d0782613a01565b9150614d1283613a01565b925082614d2257614d21614ccd565b5b828206905092915050565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b6000614d89602983613bd0565b9150614d9482614d2d565b604082019050919050565b60006020820190508181036000830152614db881614d7c565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000614df982613a01565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614e2c57614e2b61479e565b5b600182019050919050565b600069ffffffffffffffffffff82169050919050565b614e5681614e37565b8114614e6157600080fd5b50565b600081519050614e7381614e4d565b92915050565b6000819050919050565b614e8c81614e79565b8114614e9757600080fd5b50565b600081519050614ea981614e83565b92915050565b600081519050614ebe81613a83565b92915050565b600080600080600060a08688031215614ee057614edf613a4d565b5b6000614eee88828901614e64565b9550506020614eff88828901614e9a565b9450506040614f1088828901614eaf565b9350506060614f2188828901614eaf565b9250506080614f3288828901614e64565b9150509295509295909350565b6000614f4a82614e79565b9150614f5583614e79565b925082614f6557614f64614ccd565b5b600160000383147f800000000000000000000000000000000000000000000000000000000000000083141615614f9e57614f9d61479e565b5b828205905092915050565b7f4e6f7420656e6f75676820676173000000000000000000000000000000000000600082015250565b6000614fdf600e83613bd0565b9150614fea82614fa9565b602082019050919050565b6000602082019050818103600083015261500e81614fd2565b9050919050565b7f596f7520617265206e6f7420616e206f776e6572000000000000000000000000600082015250565b600061504b601483613bd0565b915061505682615015565b602082019050919050565b6000602082019050818103600083015261507a8161503e565b9050919050565b60006060820190506150966000830186613c8a565b6150a36020830185613c8a565b6150b06040830184613c8a565b949350505050565b6150c181613b0a565b82525050565b600081519050919050565b600082825260208201905092915050565b60006150ee826150c7565b6150f881856150d2565b9350615108818560208601613be1565b61511181613c14565b840191505092915050565b600060e082019050615131600083018a6139f2565b61513e6020830189613c8a565b61514b60408301886139f2565b6151586060830187614a65565b61516560808301866139f2565b61517260a08301856150b8565b81810360c083015261518481846150e3565b905098975050505050505050565b6000815190506151a181614018565b92915050565b6000602082840312156151bd576151bc613a4d565b5b60006151cb84828501615192565b91505092915050565b6000602082840312156151ea576151e9613a4d565b5b60006151f884828501614eaf565b91505092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061525d602683613bd0565b915061526882615201565b604082019050919050565b6000602082019050818103600083015261528c81615250565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006152c9602083613bd0565b91506152d482615293565b602082019050919050565b600060208201905081810360008301526152f8816152bc565b9050919050565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b600061535b602183613bd0565b9150615366826152ff565b604082019050919050565b6000602082019050818103600083015261538a8161534e565b9050919050565b60006040820190506153a66000830185613a0b565b6153b36020830184613a0b565b9392505050565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b60006153f0601d83613bd0565b91506153fb826153ba565b602082019050919050565b6000602082019050818103600083015261541f816153e3565b9050919050565b600081905092915050565b50565b6000615441600083615426565b915061544c82615431565b600082019050919050565b600061546282615434565b9150819050919050565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b60006154c8603a83613bd0565b91506154d38261546c565b604082019050919050565b600060208201905081810360008301526154f7816154bb565b9050919050565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b600061555a602883613bd0565b9150615565826154fe565b604082019050919050565b600060208201905081810360008301526155898161554d565b9050919050565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b60006155ec602583613bd0565b91506155f782615590565b604082019050919050565b6000602082019050818103600083015261561b816155df565b9050919050565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b600061567e602a83613bd0565b915061568982615622565b604082019050919050565b600060208201905081810360008301526156ad81615671565b9050919050565b600060408201905081810360008301526156ce8185614318565b905081810360208301526156e28184614318565b90509392505050565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b6000615747602983613bd0565b9150615752826156eb565b604082019050919050565b600060208201905081810360008301526157768161573a565b9050919050565b600061578882613a01565b915061579383613a01565b9250826157a3576157a2614ccd565b5b828204905092915050565b7f455243313135353a206275726e2066726f6d20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b600061580a602383613bd0565b9150615815826157ae565b604082019050919050565b60006020820190508181036000830152615839816157fd565b9050919050565b7f455243313135353a206275726e20616d6f756e7420657863656564732062616c60008201527f616e636500000000000000000000000000000000000000000000000000000000602082015250565b600061589c602483613bd0565b91506158a782615840565b604082019050919050565b600060208201905081810360008301526158cb8161588f565b9050919050565b600060a0820190506158e760008301886139f2565b6158f460208301876139f2565b6159016040830186613a0b565b61590e6060830185613a0b565b818103608083015261592081846150e3565b90509695505050505050565b60008151905061593b81613b36565b92915050565b60006020828403121561595757615956613a4d565b5b60006159658482850161592c565b91505092915050565b60008160e01c9050919050565b600060033d111561599a5760046000803e61599760005161596e565b90505b90565b600060443d10156159ad57615a30565b6159b5613a43565b60043d036004823e80513d602482011167ffffffffffffffff821117156159dd575050615a30565b808201805167ffffffffffffffff8111156159fb5750505050615a30565b80602083010160043d038501811115615a18575050505050615a30565b615a2782602001850186613d80565b82955050505050505b90565b7f455243313135353a207472616e7366657220746f206e6f6e2d4552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b6000615a8f603483613bd0565b9150615a9a82615a33565b604082019050919050565b60006020820190508181036000830152615abe81615a82565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b6000615b21602883613bd0565b9150615b2c82615ac5565b604082019050919050565b60006020820190508181036000830152615b5081615b14565b9050919050565b600060a082019050615b6c60008301886139f2565b615b7960208301876139f2565b8181036040830152615b8b8186614318565b90508181036060830152615b9f8185614318565b90508181036080830152615bb381846150e3565b90509695505050505050565b600081519050615bce81614511565b92915050565b600060208284031215615bea57615be9613a4d565b5b6000615bf884828501615bbf565b91505092915050565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b6000615c5d602a83613bd0565b9150615c6882615c01565b604082019050919050565b60006020820190508181036000830152615c8c81615c50565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b6000615cef602683613bd0565b9150615cfa82615c93565b604082019050919050565b60006020820190508181036000830152615d1e81615ce2565b9050919050565b6000615d30826150c7565b615d3a8185615426565b9350615d4a818560208601613be1565b80840191505092915050565b6000615d628284615d25565b915081905092915050565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b6000615da3601d83613bd0565b9150615dae82615d6d565b602082019050919050565b60006020820190508181036000830152615dd281615d96565b905091905056fea26469706673582212201ff78ef20e1aeb05973c34604db2f078a9c039921380d2ae3edf4d20320c680364736f6c6343000809003300000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000140000000000000000000000000a0ad79d995ddeeb18a14eaef56a549a04e3aa1bd0000000000000000000000000000000000000000000000000000000000000180000000000000000000000000000000000000000000000000000000000000058000000000000000000000000000000000000000000000000000000000000005e00000000000000000000000005f4ec3df9cbd43714fe2740f5e3616155c5b84190000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000001643415053205469636b657420284d6f6e7374657273290000000000000000000000000000000000000000000000000000000000000000000000000000000000044341505300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001f00000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000019000000000000000000000000000000000000000000000000000000000000004b000000000000000000000000000000000000000000000000000000000000007d00000000000000000000000000000000000000000000000000000000000000d90000000000000000000000000000000000000000000000000000000000000134000000000000000000000000000000000000000000000000000000000000019000000000000000000000000000000000000000000000000000000000000002d100000000000000000000000000000000000000000000000000000000000004110000000000000000000000000000000000000000000000000000000000000551000000000000000000000000000000000000000000000000000000000000069100000000000000000000000000000000000000000000000000000000000007d000000000000000000000000000000000000000000000000000000000000009760000000000000000000000000000000000000000000000000000000000000b1b0000000000000000000000000000000000000000000000000000000000000cc00000000000000000000000000000000000000000000000000000000000000e65000000000000000000000000000000000000000000000000000000000000100a00000000000000000000000000000000000000000000000000000000000011af000000000000000000000000000000000000000000000000000000000000135400000000000000000000000000000000000000000000000000000000000014f9000000000000000000000000000000000000000000000000000000000000169e000000000000000000000000000000000000000000000000000000000000184300000000000000000000000000000000000000000000000000000000000019e80000000000000000000000000000000000000000000000000000000000001b8d0000000000000000000000000000000000000000000000000000000000001d320000000000000000000000000000000000000000000000000000000000001ed7000000000000000000000000000000000000000000000000000000000000207c000000000000000000000000000000000000000000000000000000000000222100000000000000000000000000000000000000000000000000000000000023c6000000000000000000000000000000000000000000000000000000000000256b00000000000000000000000000000000000000000000000000000000000027100000000000000000000000000000000000000000000000000000000000000002000000000000000000000000f9374f1d8e921cfe01afe41a8f070d54a9339f30000000000000000000000000923bfa2ae653f82318339e3f93a28275547c634c0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000001e00000000000000000000000000000000000000000000000000000000000000460000000000000000000000000000000000000000000000000000000000000042697066733a2f2f6261666b726569637879736d636d67757661646262626a69346a72796477336b717568766b71326c6e68676166706a6d6277656e37717537686c75000000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x60806040526004361061026a5760003560e01c806384f5c2d211610144578063bf90fb4e116100b6578063d5abeb011161007a578063d5abeb01146109b0578063d79779b2146109db578063e33b7de314610a18578063e985e9c514610a43578063f242432a14610a80578063f2fde38b14610aa9576102b1565b8063bf90fb4e146108b7578063c45ac050146108e2578063ce7c2ac21461091f578063d0029b511461095c578063d56d229d14610985576102b1565b80639852595c116101085780639852595c1461078c578063a1487790146107c9578063a22cb46514610808578063a36ff4d814610831578063a3f8eace1461085c578063aa15249114610899576102b1565b806384f5c2d2146106a35780638b83209b146106ce5780638da5cb5b1461070b5780638e15f4731461073657806395d89b4114610761576102b1565b80633a98ef39116101dd578063530fc064116101a1578063530fc064146105a557806366a78e6c146105e2578063715018a61461060d57806371bab666146106245780637bdf25251461064f578063805e327514610678576102b1565b80633a98ef39146104ae578063406072a9146104d957806348b75044146105165780634e1273f41461053f578063501f5eb81461057c576102b1565b80630e89341c1161022f5780630e89341c146103af57806318160ddd146103ec57806319165587146104175780632eb2c2d6146104405780632f366637146104695780633718d90a14610485576102b1565b8062fdd58e146102b657806301ffc9a7146102f357806306fdde031461033057806307420a411461035b57806307b9fc5714610384576102b1565b366102b1577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be770610298610ad2565b346040516102a7929190613a1a565b60405180910390a1005b600080fd5b3480156102c257600080fd5b506102dd60048036038101906102d89190613aaf565b610ada565b6040516102ea9190613aef565b60405180910390f35b3480156102ff57600080fd5b5061031a60048036038101906103159190613b62565b610ba3565b6040516103279190613baa565b60405180910390f35b34801561033c57600080fd5b50610345610c85565b6040516103529190613c5e565b60405180910390f35b34801561036757600080fd5b50610382600480360381019061037d9190613aaf565b610d13565b005b34801561039057600080fd5b50610399610e5b565b6040516103a69190613c99565b60405180910390f35b3480156103bb57600080fd5b506103d660048036038101906103d19190613cb4565b610e61565b6040516103e39190613c5e565b60405180910390f35b3480156103f857600080fd5b50610401610ef5565b60405161040e9190613aef565b60405180910390f35b34801561042357600080fd5b5061043e60048036038101906104399190613d1f565b610efb565b005b34801561044c57600080fd5b5061046760048036038101906104629190613f49565b61107b565b005b610483600480360381019061047e9190613cb4565b61111c565b005b34801561049157600080fd5b506104ac60048036038101906104a7919061409f565b611258565b005b3480156104ba57600080fd5b506104c36114aa565b6040516104d09190613aef565b60405180910390f35b3480156104e557600080fd5b5061050060048036038101906104fb919061413d565b6114b4565b60405161050d9190613aef565b60405180910390f35b34801561052257600080fd5b5061053d6004803603810190610538919061413d565b61153b565b005b34801561054b57600080fd5b5061056660048036038101906105619190614240565b61174f565b6040516105739190614376565b60405180910390f35b34801561058857600080fd5b506105a3600480360381019061059e9190614398565b611868565b005b3480156105b157600080fd5b506105cc60048036038101906105c79190613cb4565b6118b4565b6040516105d99190613aef565b60405180910390f35b3480156105ee57600080fd5b506105f76118d8565b6040516106049190613aef565b60405180910390f35b34801561061957600080fd5b506106226118de565b005b34801561063057600080fd5b506106396118f2565b6040516106469190614424565b60405180910390f35b34801561065b57600080fd5b506106766004803603810190610671919061443f565b611916565b005b34801561068457600080fd5b5061068d6119ac565b60405161069a9190613aef565b60405180910390f35b3480156106af57600080fd5b506106b86119c1565b6040516106c59190613aef565b60405180910390f35b3480156106da57600080fd5b506106f560048036038101906106f09190613cb4565b6119c7565b6040516107029190614492565b60405180910390f35b34801561071757600080fd5b50610720611a0f565b60405161072d9190614492565b60405180910390f35b34801561074257600080fd5b5061074b611a39565b6040516107589190613aef565b60405180910390f35b34801561076d57600080fd5b50610776611b0d565b6040516107839190613c5e565b60405180910390f35b34801561079857600080fd5b506107b360048036038101906107ae9190614398565b611b9b565b6040516107c09190613aef565b60405180910390f35b3480156107d557600080fd5b506107f060048036038101906107eb91906144ad565b611be4565b6040516107ff939291906144da565b60405180910390f35b34801561081457600080fd5b5061082f600480360381019061082a919061453d565b611c3b565b005b34801561083d57600080fd5b50610846611c51565b6040516108539190614492565b60405180910390f35b34801561086857600080fd5b50610883600480360381019061087e9190614398565b611c77565b6040516108909190613aef565b60405180910390f35b6108a1611caa565b6040516108ae9190613c99565b60405180910390f35b3480156108c357600080fd5b506108cc612012565b6040516108d9919061458c565b60405180910390f35b3480156108ee57600080fd5b506109096004803603810190610904919061413d565b612038565b6040516109169190613aef565b60405180910390f35b34801561092b57600080fd5b5061094660048036038101906109419190614398565b6120f6565b6040516109539190613aef565b60405180910390f35b34801561096857600080fd5b50610983600480360381019061097e9190613cb4565b61213f565b005b34801561099157600080fd5b5061099a612151565b6040516109a79190614492565b60405180910390f35b3480156109bc57600080fd5b506109c5612177565b6040516109d29190613aef565b60405180910390f35b3480156109e757600080fd5b50610a0260048036038101906109fd91906145a7565b61219b565b604051610a0f9190613aef565b60405180910390f35b348015610a2457600080fd5b50610a2d6121e4565b604051610a3a9190613aef565b60405180910390f35b348015610a4f57600080fd5b50610a6a6004803603810190610a6591906145d4565b6121ee565b604051610a779190613baa565b60405180910390f35b348015610a8c57600080fd5b50610aa76004803603810190610aa29190614614565b612282565b005b348015610ab557600080fd5b50610ad06004803603810190610acb9190614398565b612323565b005b600033905090565b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610b4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b429061471d565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610c6e57507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610c7e5750610c7d826123a7565b5b9050919050565b600c8054610c929061476c565b80601f0160208091040260200160405190810160405280929190818152602001828054610cbe9061476c565b8015610d0b5780601f10610ce057610100808354040283529160200191610d0b565b820191906000526020600020905b815481529060010190602001808311610cee57829003601f168201915b505050505081565b610d1b612411565b80601154610d2991906147cd565b7f00000000000000000000000000000000000000000000000000000000000186a01015610d8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d829061486f565b60405180910390fd5b806010541015610dd0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dc7906148db565b60405180910390fd5b610dec826001836040518060200160405280600081525061248f565b8060116000828254610dfe91906147cd565b925050819055508060106000828254610e1791906148fb565b925050819055507fb21f5a076eb7c2a94472b9de877a87e385c679f381c3d2f4d8b231a60e91415f3382604051610e4f929190613a1a565b60405180910390a15050565b60145481565b606060028054610e709061476c565b80601f0160208091040260200160405190810160405280929190818152602001828054610e9c9061476c565b8015610ee95780601f10610ebe57610100808354040283529160200191610ee9565b820191906000526020600020905b815481529060010190602001808311610ecc57829003601f168201915b50505050509050919050565b60115481565b6000600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411610f7d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f74906149a1565b60405180910390fd5b6000610f8882611c77565b90506000811415610fce576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fc590614a33565b60405180910390fd5b8060056000828254610fe091906147cd565b9250508190555080600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555061103e8282612640565b7fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b056828260405161106f929190614a74565b60405180910390a15050565b611083610ad2565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614806110c957506110c8856110c3610ad2565b6121ee565b5b611108576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ff90614b0f565b60405180910390fd5b6111158585858585612734565b5050505050565b8060115461112a91906147cd565b7f00000000000000000000000000000000000000000000000000000000000186a0101561118c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111839061486f565b60405180910390fd5b6000611196611a39565b905081816111a49190614b2f565b3410156111e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111dd90614bd5565b60405180910390fd5b611202336001846040518060200160405280600081525061248f565b816011600082825461121491906147cd565b925050819055507fb21f5a076eb7c2a94472b9de877a87e385c679f381c3d2f4d8b231a60e91415f338360405161124c929190613a1a565b60405180910390a15050565b7f000000000000000000000000a0ad79d995ddeeb18a14eaef56a549a04e3aa1bd73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146112e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112dd90614c41565b60405180910390fd5b600115156016600085815260200190815260200160002060010160149054906101000a900460ff16151514611350576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161134790614cad565b60405180910390fd5b600082828101906113619190613cb4565b905060006001612710836113759190614cfc565b61137f91906147cd565b905080601660008781526020019081526020016000206000018190555060006113a782612a56565b90506000600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508073ffffffffffffffffffffffffffffffffffffffff1663dbc57c0f601660008a815260200190815260200160002060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16846040518363ffffffff1660e01b8152600401611441929190613a1a565b600060405180830381600087803b15801561145b57600080fd5b505af115801561146f573d6000803e3d6000fd5b5050505081877f258e8aab35e09293c36892d6c2e2ee63509c0ba72c3437d609e4f30109d3f16c60405160405180910390a350505050505050565b6000600454905090565b6000600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b6000600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054116115bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115b4906149a1565b60405180910390fd5b60006115c98383612038565b9050600081141561160f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161160690614a33565b60405180910390fd5b80600960008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461165e91906147cd565b9250508190555080600a60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055506116fa838383612ac9565b8273ffffffffffffffffffffffffffffffffffffffff167f3be5b7a71e84ed12875d241991c70855ac5817d847039e17a9d895c1ceb0f18a8383604051611742929190613a1a565b60405180910390a2505050565b60608151835114611795576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161178c90614d9f565b60405180910390fd5b6000835167ffffffffffffffff8111156117b2576117b1613d51565b5b6040519080825280602002602001820160405280156117e05781602001602082028036833780820191505090505b50905060005b845181101561185d5761182d85828151811061180557611804614dbf565b5b60200260200101518583815181106118205761181f614dbf565b5b6020026020010151610ada565b8282815181106118405761183f614dbf565b5b6020026020010181815250508061185690614dee565b90506117e6565b508091505092915050565b611870612411565b80600f60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600e81815481106118c457600080fd5b906000526020600020016000915090505481565b60105481565b6118e6612411565b6118f06000612b4f565b565b7f000000000000000000000000a0ad79d995ddeeb18a14eaef56a549a04e3aa1bd81565b61191e612411565b82601360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508160148190555080601560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505050565b6000486012546119bc9190614b2f565b905090565b60125481565b6000600882815481106119dd576119dc614dbf565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600080600080600080600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663feaf968c6040518163ffffffff1660e01b815260040160a06040518083038186803b158015611aaa57600080fd5b505afa158015611abe573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ae29190614ec4565b94509450945094509450836af8277896582678ac000000611b039190614f3f565b9550505050505090565b600d8054611b1a9061476c565b80601f0160208091040260200160405190810160405280929190818152602001828054611b469061476c565b8015611b935780601f10611b6857610100808354040283529160200191611b93565b820191906000526020600020905b815481529060010190602001808311611b7657829003601f168201915b505050505081565b6000600760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60166020528060005260406000206000915090508060000154908060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060010160149054906101000a900460ff16905083565b611c4d611c46610ad2565b8383612c15565b5050565b601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600080611c826121e4565b47611c8d91906147cd565b9050611ca28382611c9d86611b9b565b612d82565b915050919050565b600048601254611cba9190614b2f565b341015611cfc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cf390614ff5565b60405180910390fd5b6000611d09336001610ada565b11611d49576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d4090615061565b60405180910390fd5b601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc349081150290604051600060405180830381858888f19350505050158015611db1573d6000803e3d6000fd5b507f000000000000000000000000a0ad79d995ddeeb18a14eaef56a549a04e3aa1bd73ffffffffffffffffffffffffffffffffffffffff16636e6be03f601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1660145430601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1630633718d90a60e01b7f31730000000000000000000000000000000000000000000000000000000000007f5f6d696e436f6e6669726d6174696f6e730000000000000000000000000000007f3700000000000000000000000000000000000000000000000000000000000000604051602001611eb693929190615081565b6040516020818303038152906040526040518863ffffffff1660e01b8152600401611ee7979695949392919061511c565b602060405180830381600087803b158015611f0157600080fd5b505af1158015611f15573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f3991906151a7565b9050336016600083815260200190815260200160002060010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060016016600083815260200190815260200160002060010160146101000a81548160ff021916908315150217905550611fcb33600180612df0565b3373ffffffffffffffffffffffffffffffffffffffff16817fe80b5dbf83cc1d5c59aa16fa0c3329e924e894108585c601fb0c5b18598707a360405160405180910390a390565b601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000806120448461219b565b8473ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b815260040161207d9190614492565b60206040518083038186803b15801561209557600080fd5b505afa1580156120a9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120cd91906151d4565b6120d791906147cd565b90506120ed83826120e887876114b4565b612d82565b91505092915050565b6000600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b612147612411565b8060128190555050565b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b7f00000000000000000000000000000000000000000000000000000000000186a081565b6000600960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000600554905090565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61228a610ad2565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614806122d057506122cf856122ca610ad2565b6121ee565b5b61230f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161230690614b0f565b60405180910390fd5b61231c8585858585613037565b5050505050565b61232b612411565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561239b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161239290615273565b60405180910390fd5b6123a481612b4f565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612419610ad2565b73ffffffffffffffffffffffffffffffffffffffff16612437611a0f565b73ffffffffffffffffffffffffffffffffffffffff161461248d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612484906152df565b60405180910390fd5b565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156124ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124f690615371565b60405180910390fd5b6000612509610ad2565b90506000612516856132d3565b90506000612523856132d3565b90506125348360008985858961334d565b8460008088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461259391906147cd565b925050819055508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628989604051612611929190615391565b60405180910390a461262883600089858589613355565b6126378360008989898961335d565b50505050505050565b80471015612683576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161267a90615406565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff16826040516126a990615457565b60006040518083038185875af1925050503d80600081146126e6576040519150601f19603f3d011682016040523d82523d6000602084013e6126eb565b606091505b505090508061272f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612726906154de565b60405180910390fd5b505050565b8151835114612778576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161276f90615570565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156127e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127df90615602565b60405180910390fd5b60006127f2610ad2565b905061280281878787878761334d565b60005b84518110156129b357600085828151811061282357612822614dbf565b5b60200260200101519050600085838151811061284257612841614dbf565b5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156128e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128da90615694565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461299891906147cd565b92505081905550505050806129ac90614dee565b9050612805565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051612a2a9291906156b4565b60405180910390a4612a40818787878787613355565b612a4e818787878787613544565b505050505050565b600080600190506000600190505b600e805490508111612ac157600e8181548110612a8457612a83614dbf565b5b90600052602060002001548411612a9f578192505050612ac4565b600b82612aac91906147cd565b91508080612ab990614dee565b915050612a64565b50505b919050565b612b4a8363a9059cbb60e01b8484604051602401612ae8929190613a1a565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff838183161783525050505061372b565b505050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612c84576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c7b9061575d565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612d759190613baa565b60405180910390a3505050565b600081600454600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205485612dd39190614b2f565b612ddd919061577d565b612de791906148fb565b90509392505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612e60576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e5790615820565b60405180910390fd5b6000612e6a610ad2565b90506000612e77846132d3565b90506000612e84846132d3565b9050612ea48387600085856040518060200160405280600081525061334d565b600080600087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905084811015612f3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f32906158b2565b60405180910390fd5b84810360008088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600073ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628989604051613008929190615391565b60405180910390a461302e84886000868660405180602001604052806000815250613355565b50505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156130a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161309e90615602565b60405180910390fd5b60006130b1610ad2565b905060006130be856132d3565b905060006130cb856132d3565b90506130db83898985858961334d565b600080600088815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905085811015613172576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161316990615694565b60405180910390fd5b85810360008089815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508560008089815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461322791906147cd565b925050819055508773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628a8a6040516132a4929190615391565b60405180910390a46132ba848a8a86868a613355565b6132c8848a8a8a8a8a61335d565b505050505050505050565b60606000600167ffffffffffffffff8111156132f2576132f1613d51565b5b6040519080825280602002602001820160405280156133205781602001602082028036833780820191505090505b509050828160008151811061333857613337614dbf565b5b60200260200101818152505080915050919050565b505050505050565b505050505050565b61337c8473ffffffffffffffffffffffffffffffffffffffff166137f2565b1561353c578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b81526004016133c29594939291906158d2565b602060405180830381600087803b1580156133dc57600080fd5b505af192505050801561340d57506040513d601f19601f8201168201806040525081019061340a9190615941565b60015b6134b35761341961597b565b806308c379a01415613476575061342e61599d565b806134395750613478565b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161346d9190613c5e565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134aa90615aa5565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161461353a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161353190615b37565b60405180910390fd5b505b505050505050565b6135638473ffffffffffffffffffffffffffffffffffffffff166137f2565b15613723578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b81526004016135a9959493929190615b57565b602060405180830381600087803b1580156135c357600080fd5b505af19250505080156135f457506040513d601f19601f820116820180604052508101906135f19190615941565b60015b61369a5761360061597b565b806308c379a0141561365d575061361561599d565b80613620575061365f565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136549190613c5e565b60405180910390fd5b505b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161369190615aa5565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614613721576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161371890615b37565b60405180910390fd5b505b505050505050565b600061378d826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166138159092919063ffffffff16565b90506000815111156137ed57808060200190518101906137ad9190615bd4565b6137ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016137e390615c73565b60405180910390fd5b5b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6060613824848460008561382d565b90509392505050565b606082471015613872576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161386990615d05565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff16858760405161389b9190615d56565b60006040518083038185875af1925050503d80600081146138d8576040519150601f19603f3d011682016040523d82523d6000602084013e6138dd565b606091505b50915091506138ee878383876138fa565b92505050949350505050565b6060831561395d5760008351141561395557613915856137f2565b613954576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161394b90615db9565b60405180910390fd5b5b829050613968565b6139678383613970565b5b949350505050565b6000825111156139835781518083602001fd5b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016139b79190613c5e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006139eb826139c0565b9050919050565b6139fb816139e0565b82525050565b6000819050919050565b613a1481613a01565b82525050565b6000604082019050613a2f60008301856139f2565b613a3c6020830184613a0b565b9392505050565b6000604051905090565b600080fd5b600080fd5b613a60816139e0565b8114613a6b57600080fd5b50565b600081359050613a7d81613a57565b92915050565b613a8c81613a01565b8114613a9757600080fd5b50565b600081359050613aa981613a83565b92915050565b60008060408385031215613ac657613ac5613a4d565b5b6000613ad485828601613a6e565b9250506020613ae585828601613a9a565b9150509250929050565b6000602082019050613b046000830184613a0b565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613b3f81613b0a565b8114613b4a57600080fd5b50565b600081359050613b5c81613b36565b92915050565b600060208284031215613b7857613b77613a4d565b5b6000613b8684828501613b4d565b91505092915050565b60008115159050919050565b613ba481613b8f565b82525050565b6000602082019050613bbf6000830184613b9b565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613bff578082015181840152602081019050613be4565b83811115613c0e576000848401525b50505050565b6000601f19601f8301169050919050565b6000613c3082613bc5565b613c3a8185613bd0565b9350613c4a818560208601613be1565b613c5381613c14565b840191505092915050565b60006020820190508181036000830152613c788184613c25565b905092915050565b6000819050919050565b613c9381613c80565b82525050565b6000602082019050613cae6000830184613c8a565b92915050565b600060208284031215613cca57613cc9613a4d565b5b6000613cd884828501613a9a565b91505092915050565b6000613cec826139c0565b9050919050565b613cfc81613ce1565b8114613d0757600080fd5b50565b600081359050613d1981613cf3565b92915050565b600060208284031215613d3557613d34613a4d565b5b6000613d4384828501613d0a565b91505092915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613d8982613c14565b810181811067ffffffffffffffff82111715613da857613da7613d51565b5b80604052505050565b6000613dbb613a43565b9050613dc78282613d80565b919050565b600067ffffffffffffffff821115613de757613de6613d51565b5b602082029050602081019050919050565b600080fd5b6000613e10613e0b84613dcc565b613db1565b90508083825260208201905060208402830185811115613e3357613e32613df8565b5b835b81811015613e5c5780613e488882613a9a565b845260208401935050602081019050613e35565b5050509392505050565b600082601f830112613e7b57613e7a613d4c565b5b8135613e8b848260208601613dfd565b91505092915050565b600080fd5b600067ffffffffffffffff821115613eb457613eb3613d51565b5b613ebd82613c14565b9050602081019050919050565b82818337600083830152505050565b6000613eec613ee784613e99565b613db1565b905082815260208101848484011115613f0857613f07613e94565b5b613f13848285613eca565b509392505050565b600082601f830112613f3057613f2f613d4c565b5b8135613f40848260208601613ed9565b91505092915050565b600080600080600060a08688031215613f6557613f64613a4d565b5b6000613f7388828901613a6e565b9550506020613f8488828901613a6e565b945050604086013567ffffffffffffffff811115613fa557613fa4613a52565b5b613fb188828901613e66565b935050606086013567ffffffffffffffff811115613fd257613fd1613a52565b5b613fde88828901613e66565b925050608086013567ffffffffffffffff811115613fff57613ffe613a52565b5b61400b88828901613f1b565b9150509295509295909350565b61402181613c80565b811461402c57600080fd5b50565b60008135905061403e81614018565b92915050565b600080fd5b60008083601f84011261405f5761405e613d4c565b5b8235905067ffffffffffffffff81111561407c5761407b614044565b5b60208301915083600182028301111561409857614097613df8565b5b9250929050565b6000806000604084860312156140b8576140b7613a4d565b5b60006140c68682870161402f565b935050602084013567ffffffffffffffff8111156140e7576140e6613a52565b5b6140f386828701614049565b92509250509250925092565b600061410a826139e0565b9050919050565b61411a816140ff565b811461412557600080fd5b50565b60008135905061413781614111565b92915050565b6000806040838503121561415457614153613a4d565b5b600061416285828601614128565b925050602061417385828601613a6e565b9150509250929050565b600067ffffffffffffffff82111561419857614197613d51565b5b602082029050602081019050919050565b60006141bc6141b78461417d565b613db1565b905080838252602082019050602084028301858111156141df576141de613df8565b5b835b8181101561420857806141f48882613a6e565b8452602084019350506020810190506141e1565b5050509392505050565b600082601f83011261422757614226613d4c565b5b81356142378482602086016141a9565b91505092915050565b6000806040838503121561425757614256613a4d565b5b600083013567ffffffffffffffff81111561427557614274613a52565b5b61428185828601614212565b925050602083013567ffffffffffffffff8111156142a2576142a1613a52565b5b6142ae85828601613e66565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6142ed81613a01565b82525050565b60006142ff83836142e4565b60208301905092915050565b6000602082019050919050565b6000614323826142b8565b61432d81856142c3565b9350614338836142d4565b8060005b8381101561436957815161435088826142f3565b975061435b8361430b565b92505060018101905061433c565b5085935050505092915050565b600060208201905081810360008301526143908184614318565b905092915050565b6000602082840312156143ae576143ad613a4d565b5b60006143bc84828501613a6e565b91505092915050565b6000819050919050565b60006143ea6143e56143e0846139c0565b6143c5565b6139c0565b9050919050565b60006143fc826143cf565b9050919050565b600061440e826143f1565b9050919050565b61441e81614403565b82525050565b60006020820190506144396000830184614415565b92915050565b60008060006060848603121561445857614457613a4d565b5b600061446686828701613a6e565b93505060206144778682870161402f565b925050604061448886828701613d0a565b9150509250925092565b60006020820190506144a760008301846139f2565b92915050565b6000602082840312156144c3576144c2613a4d565b5b60006144d18482850161402f565b91505092915050565b60006060820190506144ef6000830186613a0b565b6144fc60208301856139f2565b6145096040830184613b9b565b949350505050565b61451a81613b8f565b811461452557600080fd5b50565b60008135905061453781614511565b92915050565b6000806040838503121561455457614553613a4d565b5b600061456285828601613a6e565b925050602061457385828601614528565b9150509250929050565b61458681613ce1565b82525050565b60006020820190506145a1600083018461457d565b92915050565b6000602082840312156145bd576145bc613a4d565b5b60006145cb84828501614128565b91505092915050565b600080604083850312156145eb576145ea613a4d565b5b60006145f985828601613a6e565b925050602061460a85828601613a6e565b9150509250929050565b600080600080600060a086880312156146305761462f613a4d565b5b600061463e88828901613a6e565b955050602061464f88828901613a6e565b945050604061466088828901613a9a565b935050606061467188828901613a9a565b925050608086013567ffffffffffffffff81111561469257614691613a52565b5b61469e88828901613f1b565b9150509295509295909350565b7f455243313135353a2061646472657373207a65726f206973206e6f742061207660008201527f616c6964206f776e657200000000000000000000000000000000000000000000602082015250565b6000614707602a83613bd0565b9150614712826146ab565b604082019050919050565b60006020820190508181036000830152614736816146fa565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061478457607f821691505b602082108114156147985761479761473d565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006147d882613a01565b91506147e383613a01565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156148185761481761479e565b5b828201905092915050565b7f546865726520617265206e6f7420656e6f756768207469636b65747300000000600082015250565b6000614859601c83613bd0565b915061486482614823565b602082019050919050565b600060208201905081810360008301526148888161484c565b9050919050565b7f546865726520617265206e6f7420656e6f756768207265776172647300000000600082015250565b60006148c5601c83613bd0565b91506148d08261488f565b602082019050919050565b600060208201905081810360008301526148f4816148b8565b9050919050565b600061490682613a01565b915061491183613a01565b9250828210156149245761492361479e565b5b828203905092915050565b7f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060008201527f7368617265730000000000000000000000000000000000000000000000000000602082015250565b600061498b602683613bd0565b91506149968261492f565b604082019050919050565b600060208201905081810360008301526149ba8161497e565b9050919050565b7f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060008201527f647565207061796d656e74000000000000000000000000000000000000000000602082015250565b6000614a1d602b83613bd0565b9150614a28826149c1565b604082019050919050565b60006020820190508181036000830152614a4c81614a10565b9050919050565b6000614a5e826143f1565b9050919050565b614a6e81614a53565b82525050565b6000604082019050614a896000830185614a65565b614a966020830184613a0b565b9392505050565b7f455243313135353a2063616c6c6572206973206e6f7420746f6b656e206f776e60008201527f6572206f7220617070726f766564000000000000000000000000000000000000602082015250565b6000614af9602e83613bd0565b9150614b0482614a9d565b604082019050919050565b60006020820190508181036000830152614b2881614aec565b9050919050565b6000614b3a82613a01565b9150614b4583613a01565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614b7e57614b7d61479e565b5b828202905092915050565b7f4e6f7420656e6f756768206d6f6e657900000000000000000000000000000000600082015250565b6000614bbf601083613bd0565b9150614bca82614b89565b602082019050919050565b60006020820190508181036000830152614bee81614bb2565b9050919050565b7f43616c6c6572206e6f74204169726e6f64652052525000000000000000000000600082015250565b6000614c2b601683613bd0565b9150614c3682614bf5565b602082019050919050565b60006020820190508181036000830152614c5a81614c1e565b9050919050565b7f52657175657374204944206e6f74206b6e6f776e000000000000000000000000600082015250565b6000614c97601483613bd0565b9150614ca282614c61565b602082019050919050565b60006020820190508181036000830152614cc681614c8a565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614d0782613a01565b9150614d1283613a01565b925082614d2257614d21614ccd565b5b828206905092915050565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b6000614d89602983613bd0565b9150614d9482614d2d565b604082019050919050565b60006020820190508181036000830152614db881614d7c565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000614df982613a01565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614e2c57614e2b61479e565b5b600182019050919050565b600069ffffffffffffffffffff82169050919050565b614e5681614e37565b8114614e6157600080fd5b50565b600081519050614e7381614e4d565b92915050565b6000819050919050565b614e8c81614e79565b8114614e9757600080fd5b50565b600081519050614ea981614e83565b92915050565b600081519050614ebe81613a83565b92915050565b600080600080600060a08688031215614ee057614edf613a4d565b5b6000614eee88828901614e64565b9550506020614eff88828901614e9a565b9450506040614f1088828901614eaf565b9350506060614f2188828901614eaf565b9250506080614f3288828901614e64565b9150509295509295909350565b6000614f4a82614e79565b9150614f5583614e79565b925082614f6557614f64614ccd565b5b600160000383147f800000000000000000000000000000000000000000000000000000000000000083141615614f9e57614f9d61479e565b5b828205905092915050565b7f4e6f7420656e6f75676820676173000000000000000000000000000000000000600082015250565b6000614fdf600e83613bd0565b9150614fea82614fa9565b602082019050919050565b6000602082019050818103600083015261500e81614fd2565b9050919050565b7f596f7520617265206e6f7420616e206f776e6572000000000000000000000000600082015250565b600061504b601483613bd0565b915061505682615015565b602082019050919050565b6000602082019050818103600083015261507a8161503e565b9050919050565b60006060820190506150966000830186613c8a565b6150a36020830185613c8a565b6150b06040830184613c8a565b949350505050565b6150c181613b0a565b82525050565b600081519050919050565b600082825260208201905092915050565b60006150ee826150c7565b6150f881856150d2565b9350615108818560208601613be1565b61511181613c14565b840191505092915050565b600060e082019050615131600083018a6139f2565b61513e6020830189613c8a565b61514b60408301886139f2565b6151586060830187614a65565b61516560808301866139f2565b61517260a08301856150b8565b81810360c083015261518481846150e3565b905098975050505050505050565b6000815190506151a181614018565b92915050565b6000602082840312156151bd576151bc613a4d565b5b60006151cb84828501615192565b91505092915050565b6000602082840312156151ea576151e9613a4d565b5b60006151f884828501614eaf565b91505092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061525d602683613bd0565b915061526882615201565b604082019050919050565b6000602082019050818103600083015261528c81615250565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006152c9602083613bd0565b91506152d482615293565b602082019050919050565b600060208201905081810360008301526152f8816152bc565b9050919050565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b600061535b602183613bd0565b9150615366826152ff565b604082019050919050565b6000602082019050818103600083015261538a8161534e565b9050919050565b60006040820190506153a66000830185613a0b565b6153b36020830184613a0b565b9392505050565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b60006153f0601d83613bd0565b91506153fb826153ba565b602082019050919050565b6000602082019050818103600083015261541f816153e3565b9050919050565b600081905092915050565b50565b6000615441600083615426565b915061544c82615431565b600082019050919050565b600061546282615434565b9150819050919050565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b60006154c8603a83613bd0565b91506154d38261546c565b604082019050919050565b600060208201905081810360008301526154f7816154bb565b9050919050565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b600061555a602883613bd0565b9150615565826154fe565b604082019050919050565b600060208201905081810360008301526155898161554d565b9050919050565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b60006155ec602583613bd0565b91506155f782615590565b604082019050919050565b6000602082019050818103600083015261561b816155df565b9050919050565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b600061567e602a83613bd0565b915061568982615622565b604082019050919050565b600060208201905081810360008301526156ad81615671565b9050919050565b600060408201905081810360008301526156ce8185614318565b905081810360208301526156e28184614318565b90509392505050565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b6000615747602983613bd0565b9150615752826156eb565b604082019050919050565b600060208201905081810360008301526157768161573a565b9050919050565b600061578882613a01565b915061579383613a01565b9250826157a3576157a2614ccd565b5b828204905092915050565b7f455243313135353a206275726e2066726f6d20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b600061580a602383613bd0565b9150615815826157ae565b604082019050919050565b60006020820190508181036000830152615839816157fd565b9050919050565b7f455243313135353a206275726e20616d6f756e7420657863656564732062616c60008201527f616e636500000000000000000000000000000000000000000000000000000000602082015250565b600061589c602483613bd0565b91506158a782615840565b604082019050919050565b600060208201905081810360008301526158cb8161588f565b9050919050565b600060a0820190506158e760008301886139f2565b6158f460208301876139f2565b6159016040830186613a0b565b61590e6060830185613a0b565b818103608083015261592081846150e3565b90509695505050505050565b60008151905061593b81613b36565b92915050565b60006020828403121561595757615956613a4d565b5b60006159658482850161592c565b91505092915050565b60008160e01c9050919050565b600060033d111561599a5760046000803e61599760005161596e565b90505b90565b600060443d10156159ad57615a30565b6159b5613a43565b60043d036004823e80513d602482011167ffffffffffffffff821117156159dd575050615a30565b808201805167ffffffffffffffff8111156159fb5750505050615a30565b80602083010160043d038501811115615a18575050505050615a30565b615a2782602001850186613d80565b82955050505050505b90565b7f455243313135353a207472616e7366657220746f206e6f6e2d4552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b6000615a8f603483613bd0565b9150615a9a82615a33565b604082019050919050565b60006020820190508181036000830152615abe81615a82565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b6000615b21602883613bd0565b9150615b2c82615ac5565b604082019050919050565b60006020820190508181036000830152615b5081615b14565b9050919050565b600060a082019050615b6c60008301886139f2565b615b7960208301876139f2565b8181036040830152615b8b8186614318565b90508181036060830152615b9f8185614318565b90508181036080830152615bb381846150e3565b90509695505050505050565b600081519050615bce81614511565b92915050565b600060208284031215615bea57615be9613a4d565b5b6000615bf884828501615bbf565b91505092915050565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b6000615c5d602a83613bd0565b9150615c6882615c01565b604082019050919050565b60006020820190508181036000830152615c8c81615c50565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b6000615cef602683613bd0565b9150615cfa82615c93565b604082019050919050565b60006020820190508181036000830152615d1e81615ce2565b9050919050565b6000615d30826150c7565b615d3a8185615426565b9350615d4a818560208601613be1565b80840191505092915050565b6000615d628284615d25565b915081905092915050565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b6000615da3601d83613bd0565b9150615dae82615d6d565b602082019050919050565b60006020820190508181036000830152615dd281615d96565b905091905056fea26469706673582212201ff78ef20e1aeb05973c34604db2f078a9c039921380d2ae3edf4d20320c680364736f6c63430008090033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000140000000000000000000000000a0ad79d995ddeeb18a14eaef56a549a04e3aa1bd0000000000000000000000000000000000000000000000000000000000000180000000000000000000000000000000000000000000000000000000000000058000000000000000000000000000000000000000000000000000000000000005e00000000000000000000000005f4ec3df9cbd43714fe2740f5e3616155c5b84190000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000001643415053205469636b657420284d6f6e7374657273290000000000000000000000000000000000000000000000000000000000000000000000000000000000044341505300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001f00000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000019000000000000000000000000000000000000000000000000000000000000004b000000000000000000000000000000000000000000000000000000000000007d00000000000000000000000000000000000000000000000000000000000000d90000000000000000000000000000000000000000000000000000000000000134000000000000000000000000000000000000000000000000000000000000019000000000000000000000000000000000000000000000000000000000000002d100000000000000000000000000000000000000000000000000000000000004110000000000000000000000000000000000000000000000000000000000000551000000000000000000000000000000000000000000000000000000000000069100000000000000000000000000000000000000000000000000000000000007d000000000000000000000000000000000000000000000000000000000000009760000000000000000000000000000000000000000000000000000000000000b1b0000000000000000000000000000000000000000000000000000000000000cc00000000000000000000000000000000000000000000000000000000000000e65000000000000000000000000000000000000000000000000000000000000100a00000000000000000000000000000000000000000000000000000000000011af000000000000000000000000000000000000000000000000000000000000135400000000000000000000000000000000000000000000000000000000000014f9000000000000000000000000000000000000000000000000000000000000169e000000000000000000000000000000000000000000000000000000000000184300000000000000000000000000000000000000000000000000000000000019e80000000000000000000000000000000000000000000000000000000000001b8d0000000000000000000000000000000000000000000000000000000000001d320000000000000000000000000000000000000000000000000000000000001ed7000000000000000000000000000000000000000000000000000000000000207c000000000000000000000000000000000000000000000000000000000000222100000000000000000000000000000000000000000000000000000000000023c6000000000000000000000000000000000000000000000000000000000000256b00000000000000000000000000000000000000000000000000000000000027100000000000000000000000000000000000000000000000000000000000000002000000000000000000000000f9374f1d8e921cfe01afe41a8f070d54a9339f30000000000000000000000000923bfa2ae653f82318339e3f93a28275547c634c0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000001e00000000000000000000000000000000000000000000000000000000000000460000000000000000000000000000000000000000000000000000000000000042697066733a2f2f6261666b726569637879736d636d67757661646262626a69346a72796477336b717568766b71326c6e68676166706a6d6277656e37717537686c75000000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _name (string): CAPS Ticket (Monsters)
Arg [1] : _symbol (string): CAPS
Arg [2] : _airnodeRrp (address): 0xa0AD79D995DdeeB18a14eAef56A549A04e3Aa1Bd
Arg [3] : _randomChanceToIndex (uint256[]): 1,25,75,125,217,308,400,721,1041,1361,1681,2000,2422,2843,3264,3685,4106,4527,4948,5369,5790,6211,6632,7053,7474,7895,8316,8737,9158,9579,10000
Arg [4] : _payees (address[]): 0xf9374f1d8e921cfe01aFE41A8f070d54a9339F30,0x923bFa2AE653F82318339E3F93a28275547c634C
Arg [5] : _shares (uint256[]): 30,70
Arg [6] : _aggregatorInterface (address): 0x5f4eC3Df9cbd43714FE2740f5E3616155c5b8419
Arg [7] : _uri (string): ipfs://bafkreicxysmcmguvadbbbji4jrydw3kquhvkq2lnhgafpjmbwen7qu7hlu
-----Encoded View---------------
54 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000140
Arg [2] : 000000000000000000000000a0ad79d995ddeeb18a14eaef56a549a04e3aa1bd
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000180
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000580
Arg [5] : 00000000000000000000000000000000000000000000000000000000000005e0
Arg [6] : 0000000000000000000000005f4ec3df9cbd43714fe2740f5e3616155c5b8419
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000640
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000016
Arg [9] : 43415053205469636b657420284d6f6e73746572732900000000000000000000
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [11] : 4341505300000000000000000000000000000000000000000000000000000000
Arg [12] : 000000000000000000000000000000000000000000000000000000000000001f
Arg [13] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [14] : 0000000000000000000000000000000000000000000000000000000000000019
Arg [15] : 000000000000000000000000000000000000000000000000000000000000004b
Arg [16] : 000000000000000000000000000000000000000000000000000000000000007d
Arg [17] : 00000000000000000000000000000000000000000000000000000000000000d9
Arg [18] : 0000000000000000000000000000000000000000000000000000000000000134
Arg [19] : 0000000000000000000000000000000000000000000000000000000000000190
Arg [20] : 00000000000000000000000000000000000000000000000000000000000002d1
Arg [21] : 0000000000000000000000000000000000000000000000000000000000000411
Arg [22] : 0000000000000000000000000000000000000000000000000000000000000551
Arg [23] : 0000000000000000000000000000000000000000000000000000000000000691
Arg [24] : 00000000000000000000000000000000000000000000000000000000000007d0
Arg [25] : 0000000000000000000000000000000000000000000000000000000000000976
Arg [26] : 0000000000000000000000000000000000000000000000000000000000000b1b
Arg [27] : 0000000000000000000000000000000000000000000000000000000000000cc0
Arg [28] : 0000000000000000000000000000000000000000000000000000000000000e65
Arg [29] : 000000000000000000000000000000000000000000000000000000000000100a
Arg [30] : 00000000000000000000000000000000000000000000000000000000000011af
Arg [31] : 0000000000000000000000000000000000000000000000000000000000001354
Arg [32] : 00000000000000000000000000000000000000000000000000000000000014f9
Arg [33] : 000000000000000000000000000000000000000000000000000000000000169e
Arg [34] : 0000000000000000000000000000000000000000000000000000000000001843
Arg [35] : 00000000000000000000000000000000000000000000000000000000000019e8
Arg [36] : 0000000000000000000000000000000000000000000000000000000000001b8d
Arg [37] : 0000000000000000000000000000000000000000000000000000000000001d32
Arg [38] : 0000000000000000000000000000000000000000000000000000000000001ed7
Arg [39] : 000000000000000000000000000000000000000000000000000000000000207c
Arg [40] : 0000000000000000000000000000000000000000000000000000000000002221
Arg [41] : 00000000000000000000000000000000000000000000000000000000000023c6
Arg [42] : 000000000000000000000000000000000000000000000000000000000000256b
Arg [43] : 0000000000000000000000000000000000000000000000000000000000002710
Arg [44] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [45] : 000000000000000000000000f9374f1d8e921cfe01afe41a8f070d54a9339f30
Arg [46] : 000000000000000000000000923bfa2ae653f82318339e3f93a28275547c634c
Arg [47] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [48] : 000000000000000000000000000000000000000000000000000000000000001e
Arg [49] : 0000000000000000000000000000000000000000000000000000000000000046
Arg [50] : 0000000000000000000000000000000000000000000000000000000000000042
Arg [51] : 697066733a2f2f6261666b726569637879736d636d67757661646262626a6934
Arg [52] : 6a72796477336b717568766b71326c6e68676166706a6d6277656e3771753768
Arg [53] : 6c75000000000000000000000000000000000000000000000000000000000000
Loading...
Loading
Loading...
Loading
OVERVIEW
The first-ever collection. Players can mint fresh caps by burning their tickets in the vending machine.Gas price is high on the Ethereum network. You can easily purchase many tickets, because they are fungible. But to open caps and enjoy all other functions, we recommend to ...Net Worth in USD
$62.63
Net Worth in ETH
0.032218
Token Allocations
ETH
100.00%
Multichain Portfolio | 33 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|---|---|---|---|---|
| ETH | 100.00% | $1,941.29 | 0.0323 | $62.63 |
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.