Source Code
Latest 25 from a total of 43 transactions
| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
| End Auction | 18144816 | 902 days ago | IN | 0 ETH | 0.00122652 | ||||
| End Auction | 18144810 | 902 days ago | IN | 0 ETH | 0.00133751 | ||||
| Create Bid | 18143932 | 902 days ago | IN | 1.8 ETH | 0.00188225 | ||||
| Create Bid | 18143525 | 902 days ago | IN | 3.069 ETH | 0.00380931 | ||||
| Create Bid | 18143222 | 902 days ago | IN | 1.69 ETH | 0.00288084 | ||||
| Create Bid | 18142763 | 902 days ago | IN | 2.69 ETH | 0.00199166 | ||||
| Create Bid | 18142673 | 902 days ago | IN | 0.75 ETH | 0.00228806 | ||||
| Create Bid | 18136938 | 903 days ago | IN | 0.69 ETH | 0.00506955 | ||||
| Create Bid | 18136936 | 903 days ago | IN | 0.69 ETH | 0.00595546 | ||||
| Create Auction | 18136868 | 903 days ago | IN | 0 ETH | 0.00382672 | ||||
| Create Auction | 18136865 | 903 days ago | IN | 0 ETH | 0.00433312 | ||||
| End Auction | 17587613 | 980 days ago | IN | 0 ETH | 0.00583536 | ||||
| Create Bid | 17586009 | 980 days ago | IN | 1.8 ETH | 0.00518482 | ||||
| Create Bid | 17586006 | 980 days ago | IN | 1.69 ETH | 0.00405581 | ||||
| Create Bid | 17586004 | 980 days ago | IN | 1.491732 ETH | 0.0017127 | ||||
| Create Bid | 17586004 | 980 days ago | IN | 1.5 ETH | 0.00171223 | ||||
| Create Bid | 17586003 | 980 days ago | IN | 1.491732 ETH | 0.00416286 | ||||
| Create Bid | 17585993 | 980 days ago | IN | 1.4206969 ETH | 0.00405776 | ||||
| Create Bid | 17585987 | 980 days ago | IN | 1.155 ETH | 0.00414575 | ||||
| Create Bid | 17585966 | 980 days ago | IN | 1.1 ETH | 0.00446497 | ||||
| Create Bid | 17585932 | 980 days ago | IN | 0.9 ETH | 0.00417893 | ||||
| Create Bid | 17585930 | 980 days ago | IN | 0.84 ETH | 0.00374917 | ||||
| Create Bid | 17585725 | 981 days ago | IN | 0.8 ETH | 0.00558255 | ||||
| Create Bid | 17585208 | 981 days ago | IN | 0.760725 ETH | 0.00460357 | ||||
| Create Bid | 17579456 | 981 days ago | IN | 0.7245 ETH | 0.00205952 |
Latest 25 internal transactions (View All)
Advanced mode:
| Parent Transaction Hash | Method | Block |
From
|
|
To
|
||
|---|---|---|---|---|---|---|---|
| Transfer | 18144816 | 902 days ago | 1.8 ETH | ||||
| Transfer | 18144816 | 902 days ago | 1.8 ETH | ||||
| Transfer | 18144810 | 902 days ago | 3.069 ETH | ||||
| Transfer | 18144810 | 902 days ago | 3.069 ETH | ||||
| Deposit | 18143932 | 902 days ago | 1.8 ETH | ||||
| Transfer | 18143932 | 902 days ago | 1.69 ETH | ||||
| Transfer | 18143932 | 902 days ago | 1.69 ETH | ||||
| Deposit | 18143525 | 902 days ago | 3.069 ETH | ||||
| Transfer | 18143525 | 902 days ago | 2.69 ETH | ||||
| Transfer | 18143525 | 902 days ago | 2.69 ETH | ||||
| Deposit | 18143222 | 902 days ago | 1.69 ETH | ||||
| Transfer | 18143222 | 902 days ago | 0.75 ETH | ||||
| Transfer | 18143222 | 902 days ago | 0.75 ETH | ||||
| Deposit | 18142763 | 902 days ago | 2.69 ETH | ||||
| Transfer | 18142763 | 902 days ago | 0.69 ETH | ||||
| Transfer | 18142763 | 902 days ago | 0.69 ETH | ||||
| Deposit | 18142673 | 902 days ago | 0.75 ETH | ||||
| Transfer | 18142673 | 902 days ago | 0.69 ETH | ||||
| Transfer | 18142673 | 902 days ago | 0.69 ETH | ||||
| Deposit | 18136938 | 903 days ago | 0.69 ETH | ||||
| Deposit | 18136936 | 903 days ago | 0.69 ETH | ||||
| Transfer | 17587613 | 980 days ago | 1.69 ETH | ||||
| Transfer | 17587613 | 980 days ago | 1.69 ETH | ||||
| Deposit | 17586009 | 980 days ago | 1.8 ETH | ||||
| Transfer | 17586009 | 980 days ago | 1.69 ETH |
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
AuctionHouse
Compiler Version
v0.8.7+commit.e28d00a7
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: GPL-3.0
/// @title Chain/Saw auction house
// LICENSE
// AuctionHouse.sol is a modified version of Zora's AuctionHouse.sol:
// https://github.com/ourzora/auction-house/blob/d87346f9286130af529869b8402733b1fabe885b/contracts/AuctionHouse.sol
//
// AuctionHouse.sol source code Copyright Zora licensed under the GPL-3.0 license.
// Modified with love by Chain/Saw <3.
pragma solidity ^0.8.7;
import { IERC721, IERC165 } from "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import { ReentrancyGuard } from "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import { IERC20 } from "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import { Counters } from "@openzeppelin/contracts/utils/Counters.sol";
import { SafeMath } from "@openzeppelin/contracts/utils/math/SafeMath.sol";
import { SafeERC20 } from "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import { IAuctionHouse } from "./interfaces/IAuctionHouse.sol";
import { AccessControl } from "@openzeppelin/contracts/access/AccessControl.sol";
import { Ownable } from "@openzeppelin/contracts/access/Ownable.sol";
import "hardhat/console.sol";
interface IWETH {
function deposit() external payable;
function withdraw(uint wad) external;
function transfer(address to, uint256 value) external returns (bool);
}
/**
* @title The Chain/Saw AuctionHouse
*/
contract AuctionHouse is IAuctionHouse, ReentrancyGuard, AccessControl, Ownable {
using SafeMath for uint256;
using SafeERC20 for IERC20;
using Counters for Counters.Counter;
// The minimum amount of time left in an auction after a new bid is created
uint256 public timeBuffer;
// The minimum percentage difference between the last bid amount and the current bid.
uint8 public minBidIncrementPercentage;
// The address of the WETH contract, so that any ETH transferred can be handled as an ERC-20
address public wethAddress;
// A mapping of all of the auctions currently running.
mapping(uint256 => IAuctionHouse.Auction) public auctions;
// A mapping of token contracts to royalty objects.
mapping(address => IAuctionHouse.Royalty) public royaltyRegistry;
// A mapping of all token contract addresses that ChainSaw allows on auction-house. These addresses
// could belong to token contracts or individual sellers.
mapping(address => bool) public whitelistedAccounts;
// 721 interface id
bytes4 constant interfaceId = 0x80ac58cd;
// Counter for incrementing auctionId
Counters.Counter private _auctionIdTracker;
// Tracks whether auction house is allowing non-owners to create auctions,
// e.g. in the case of secondary sales.
bool public publicAuctionsEnabled;
// The role that has permissions to create and cancel auctions
bytes32 public constant AUCTIONEER = keccak256("AUCTIONEER");
/**
* @notice Require that caller is authorized auctioneer
*/
modifier onlyAdmin() {
require(
hasRole(DEFAULT_ADMIN_ROLE, msg.sender),
"Call must be made by administrator"
);
_;
}
/**
* @notice Require that caller is authorized auctioneer
*/
modifier onlyAuctioneer() {
require(
hasRole(AUCTIONEER, msg.sender) || hasRole(DEFAULT_ADMIN_ROLE, msg.sender),
"Call must be made by authorized auctioneer"
);
_;
}
/**
* @notice Require that the specified auction exists
*/
modifier auctionExists(uint256 auctionId) {
require(_exists(auctionId), "Auction doesn't exist");
_;
}
/**
* @notice constructor
*/
constructor(address _weth, address[] memory auctioneers) {
wethAddress = _weth;
timeBuffer = 15 * 60; // extend 15 minutes after every bid made in last 15 minutes
minBidIncrementPercentage = 5; // 5%
publicAuctionsEnabled = false;
_setupRole(DEFAULT_ADMIN_ROLE, msg.sender);
for (uint i = 0; i < auctioneers.length; i++) {
_addAuctioneer(auctioneers[i]);
}
}
/**
* @notice Create an auction.
* @dev Store the auction details in the auctions mapping and emit an AuctionCreated event.
*/
function createAuction(
uint256 tokenId,
address tokenContract,
uint256 duration,
uint256 reservePrice,
address auctionCurrency
) public override nonReentrant returns (uint256) {
require(
IERC165(tokenContract).supportsInterface(interfaceId),
"tokenContract does not support ERC721 interface"
);
address tokenOwner = IERC721(tokenContract).ownerOf(tokenId);
require(
tokenOwner == msg.sender,
"Must be owner of NFT"
);
require(
_isAuthorizedAction(tokenOwner, tokenContract),
"Call must be made by authorized seller, token contract or auctioneer"
);
uint256 auctionId = _auctionIdTracker.current();
auctions[auctionId] = Auction({
tokenId: tokenId,
tokenContract: tokenContract,
amount: 0,
duration: duration,
firstBidTime: 0,
reservePrice: reservePrice,
tokenOwner: tokenOwner,
bidder: payable(0),
auctionCurrency: auctionCurrency
});
IERC721(tokenContract).transferFrom(tokenOwner, address(this), tokenId);
_auctionIdTracker.increment();
emit AuctionCreated(auctionId, tokenId, tokenContract, duration, reservePrice, tokenOwner, auctionCurrency);
return auctionId;
}
/**
* @notice sets auction reserve price if auction has not already started
*/
function setAuctionReservePrice(uint256 auctionId, uint256 reservePrice)
external
override
auctionExists(auctionId)
{
require(
_isAuctioneer(msg.sender) || auctions[auctionId].tokenOwner == msg.sender,
"Must be auctioneer or owner of NFT"
);
require(
_isAuthorizedAction(
auctions[auctionId].tokenOwner,
auctions[auctionId].tokenContract
),
"Call must be made by authorized seller, token contract or auctioneer"
);
require(auctions[auctionId].firstBidTime == 0, "Auction has already started");
auctions[auctionId].reservePrice = reservePrice;
emit AuctionReservePriceUpdated(auctionId, auctions[auctionId].tokenId, auctions[auctionId].tokenContract, reservePrice);
}
/**
* @notice Set royalty information for a given token contract.
* @dev Store the royal details in the royaltyRegistry mapping and emit an royaltySet event.
* Royalty can only be modified before any auction for tokenContract has started
*/
function setRoyalty(address tokenContract, address payable beneficiary, uint royaltyPercentage)
external
override
onlyAuctioneer
{
royaltyRegistry[tokenContract] = Royalty({
beneficiary: beneficiary,
royaltyPercentage: royaltyPercentage
});
emit RoyaltySet(tokenContract, beneficiary, royaltyPercentage);
}
/**
* @notice Create a bid on a token, with a given amount.
* @dev If provided a valid bid, transfers the provided amount to this contract.
* If the auction is run in native ETH, the ETH is wrapped so it can be identically to other
* auction currencies in this contract.
*/
function createBid(uint256 auctionId, uint256 amount)
external
override
payable
auctionExists(auctionId)
nonReentrant
{
address payable lastBidder = auctions[auctionId].bidder;
require(
auctions[auctionId].firstBidTime == 0 ||
block.timestamp <
auctions[auctionId].firstBidTime.add(auctions[auctionId].duration),
"Auction expired"
);
require(
amount >= auctions[auctionId].reservePrice,
"Must send at least reservePrice"
);
require(
amount >= auctions[auctionId].amount.add(
auctions[auctionId].amount.mul(minBidIncrementPercentage).div(100)
),
"Must send more than last bid by minBidIncrementPercentage amount"
);
// If this is the first valid bid, we should set the starting time now.
// If it's not, then we should refund the last bidder
if(auctions[auctionId].firstBidTime == 0) {
auctions[auctionId].firstBidTime = block.timestamp;
} else if(lastBidder != address(0)) {
_handleOutgoingBid(lastBidder, auctions[auctionId].amount, auctions[auctionId].auctionCurrency);
}
_handleIncomingBid(amount, auctions[auctionId].auctionCurrency);
auctions[auctionId].amount = amount;
auctions[auctionId].bidder = payable(msg.sender);
bool extended = false;
// at this point we know that the timestamp is less than start + duration (since the auction would be over, otherwise)
// we want to know by how much the timestamp is less than start + duration
// if the difference is less than the timeBuffer, increase the duration by the timeBuffer
if (
auctions[auctionId].firstBidTime.add(auctions[auctionId].duration).sub(
block.timestamp
) < timeBuffer
) {
// Playing code golf for gas optimization:
// uint256 expectedEnd = auctions[auctionId].firstBidTime.add(auctions[auctionId].duration);
// uint256 timeRemaining = expectedEnd.sub(block.timestamp);
// uint256 timeToAdd = timeBuffer.sub(timeRemaining);
// uint256 newDuration = auctions[auctionId].duration.add(timeToAdd);
uint256 oldDuration = auctions[auctionId].duration;
auctions[auctionId].duration =
oldDuration.add(timeBuffer.sub(auctions[auctionId].firstBidTime.add(oldDuration).sub(block.timestamp)));
extended = true;
}
emit AuctionBid(
auctionId,
auctions[auctionId].tokenId,
auctions[auctionId].tokenContract,
msg.sender,
amount,
block.timestamp,
lastBidder == address(0), // firstBid boolean
extended
);
if (extended) {
emit AuctionDurationExtended(
auctionId,
auctions[auctionId].tokenId,
auctions[auctionId].tokenContract,
auctions[auctionId].duration
);
}
}
/**
* @notice End an auction and pay out the respective parties.
* @dev If for some reason the auction cannot be finalized (invalid token recipient, for example),
* The auction is reset and the NFT is transferred back to the auction creator.
*/
function endAuction(uint256 auctionId) external override auctionExists(auctionId) nonReentrant {
require(
uint256(auctions[auctionId].firstBidTime) != 0,
"Auction hasn't begun"
);
require(
block.timestamp >=
auctions[auctionId].firstBidTime.add(auctions[auctionId].duration),
"Auction hasn't completed"
);
address currency = auctions[auctionId].auctionCurrency == address(0) ? wethAddress : auctions[auctionId].auctionCurrency;
uint256 tokenOwnerProfit = auctions[auctionId].amount;
address tokenContract = auctions[auctionId].tokenContract;
// Otherwise, transfer the token to the winner and pay out the participants below
try IERC721(auctions[auctionId].tokenContract).safeTransferFrom(address(this), auctions[auctionId].bidder, auctions[auctionId].tokenId) {} catch {
_handleOutgoingBid(auctions[auctionId].bidder, auctions[auctionId].amount, auctions[auctionId].auctionCurrency);
_cancelAuction(auctionId);
return;
}
if (
royaltyRegistry[tokenContract].beneficiary != address(0) &&
royaltyRegistry[tokenContract].beneficiary != auctions[auctionId].tokenOwner &&
royaltyRegistry[tokenContract].royaltyPercentage > 0
){
uint256 royaltyAmount = _generateRoyaltyAmount(auctionId, auctions[auctionId].tokenContract);
uint256 amountRemaining = tokenOwnerProfit.sub(royaltyAmount);
_handleOutgoingBid(royaltyRegistry[tokenContract].beneficiary, royaltyAmount, auctions[auctionId].auctionCurrency);
_handleOutgoingBid(auctions[auctionId].tokenOwner, amountRemaining, auctions[auctionId].auctionCurrency);
emit AuctionWithRoyaltiesEnded(
auctionId,
auctions[auctionId].tokenId,
auctions[auctionId].tokenContract,
auctions[auctionId].tokenOwner,
auctions[auctionId].bidder,
amountRemaining,
royaltyRegistry[tokenContract].beneficiary,
royaltyAmount,
block.timestamp,
currency
);
} else {
_handleOutgoingBid(auctions[auctionId].tokenOwner, tokenOwnerProfit, auctions[auctionId].auctionCurrency);
emit AuctionEnded(
auctionId,
auctions[auctionId].tokenId,
auctions[auctionId].tokenContract,
auctions[auctionId].tokenOwner,
auctions[auctionId].bidder,
tokenOwnerProfit,
block.timestamp,
currency
);
}
delete auctions[auctionId];
}
/**
* @notice Cancel an auction.
* @dev Transfers the NFT back to the auction creator and emits an AuctionCanceled event
*/
function cancelAuction(uint256 auctionId)
external
override
nonReentrant
auctionExists(auctionId)
{
require(
_isAuctioneer(msg.sender) || auctions[auctionId].tokenOwner == msg.sender,
"Must be auctioneer or owner of NFT"
);
require(
_isAuthorizedAction(
auctions[auctionId].tokenOwner,
auctions[auctionId].tokenContract
),
"Call must be made by authorized seller, token contract or auctioneer"
);
require(
uint256(auctions[auctionId].firstBidTime) == 0,
"Can't cancel an auction once it's begun"
);
_cancelAuction(auctionId);
}
/**
* @notice enable or disable auctions to be created on the basis of whitelist
*/
function setPublicAuctionsEnabled(bool status) external override onlyAdmin {
publicAuctionsEnabled = status;
}
/**
* @notice add account representing token owner (seller) or token contract to the whitelist
*/
function whitelistAccount(address sellerOrTokenContract) external override onlyAuctioneer {
_whitelistAccount(sellerOrTokenContract);
}
function removeWhitelistedAccount(address sellerOrTokenContract) external override onlyAuctioneer {
delete whitelistedAccounts[sellerOrTokenContract];
}
function isWhitelisted(address sellerOrTekenContract) external view override returns(bool){
return _isWhitelisted(sellerOrTekenContract);
}
function addAuctioneer(address who) external override onlyAdmin {
_addAuctioneer(who);
}
function removeAuctioneer(address who) external override onlyAdmin {
revokeRole(AUCTIONEER, who);
}
function isAuctioneer(address who) external view override returns(bool) {
return _isAuctioneer(who);
}
function _isAuctioneer(address who) internal view returns(bool) {
return hasRole(AUCTIONEER, who) || hasRole(DEFAULT_ADMIN_ROLE, who);
}
/**
* @dev Given an amount and a currency, transfer the currency to this contract.
* If the currency is ETH (0x0), attempt to wrap the amount as WETH
*/
function _handleIncomingBid(uint256 amount, address currency) internal {
// If this is an ETH bid, ensure they sent enough and convert it to WETH under the hood
if(currency == address(0)) {
require(msg.value == amount, "Sent ETH Value does not match specified bid amount");
IWETH(wethAddress).deposit{value: amount}();
} else {
// We must check the balance that was actually transferred to the auction,
// as some tokens impose a transfer fee and would not actually transfer the
// full amount to the market, resulting in potentally locked funds
IERC20 token = IERC20(currency);
uint256 beforeBalance = token.balanceOf(address(this));
token.safeTransferFrom(msg.sender, address(this), amount);
uint256 afterBalance = token.balanceOf(address(this));
require(beforeBalance.add(amount) == afterBalance, "Token transfer call did not transfer expected amount");
}
}
function _handleOutgoingBid(address to, uint256 amount, address currency) internal {
// If the auction is in ETH, unwrap it from its underlying WETH and try to send it to the recipient.
if(currency == address(0)) {
IWETH(wethAddress).withdraw(amount);
// If the ETH transfer fails (sigh), rewrap the ETH and try send it as WETH.
if(!_safeTransferETH(to, amount)) {
IWETH(wethAddress).deposit{value: amount}();
IERC20(wethAddress).safeTransfer(to, amount);
}
} else {
IERC20(currency).safeTransfer(to, amount);
}
}
function _generateRoyaltyAmount(uint256 auctionId, address tokenContract) internal view returns (uint256) {
return auctions[auctionId].amount.div(100).mul(royaltyRegistry[tokenContract].royaltyPercentage);
}
function _safeTransferETH(address to, uint256 value) internal returns (bool) {
(bool success, ) = to.call{value: value}(new bytes(0));
return success;
}
function _cancelAuction(uint256 auctionId) internal {
address tokenOwner = auctions[auctionId].tokenOwner;
IERC721(auctions[auctionId].tokenContract).safeTransferFrom(address(this), tokenOwner, auctions[auctionId].tokenId);
emit AuctionCanceled(auctionId, auctions[auctionId].tokenId, auctions[auctionId].tokenContract, tokenOwner);
delete auctions[auctionId];
}
function _exists(uint256 auctionId) internal view returns(bool) {
return auctions[auctionId].tokenOwner != address(0);
}
/**
* @dev returns true if
*/
function _isAuthorizedAction(address seller, address tokenContract) internal view returns(bool) {
if (hasRole(DEFAULT_ADMIN_ROLE, seller) || hasRole(AUCTIONEER, seller)) {
return true;
}
if (publicAuctionsEnabled) {
return _isWhitelisted(seller) || _isWhitelisted(tokenContract);
}
return false;
}
function _addAuctioneer(address who) internal {
_setupRole(AUCTIONEER, who);
}
function _isWhitelisted(address sellerOrTokenContract) internal view returns(bool) {
return whitelistedAccounts[sellerOrTokenContract];
}
function _whitelistAccount(address sellerOrTokenContract) internal {
whitelistedAccounts[sellerOrTokenContract] = true;
}
receive() external payable {}
fallback() external payable {}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "../utils/Context.sol";
import "../utils/Strings.sol";
import "../utils/introspection/ERC165.sol";
/**
* @dev External interface of AccessControl declared to support ERC165 detection.
*/
interface IAccessControl {
function hasRole(bytes32 role, address account) external view returns (bool);
function getRoleAdmin(bytes32 role) external view returns (bytes32);
function grantRole(bytes32 role, address account) external;
function revokeRole(bytes32 role, address account) external;
function renounceRole(bytes32 role, address account) external;
}
/**
* @dev Contract module that allows children to implement role-based access
* control mechanisms. This is a lightweight version that doesn't allow enumerating role
* members except through off-chain means by accessing the contract event logs. Some
* applications may benefit from on-chain enumerability, for those cases see
* {AccessControlEnumerable}.
*
* Roles are referred to by their `bytes32` identifier. These should be exposed
* in the external API and be unique. The best way to achieve this is by
* using `public constant` hash digests:
*
* ```
* bytes32 public constant MY_ROLE = keccak256("MY_ROLE");
* ```
*
* Roles can be used to represent a set of permissions. To restrict access to a
* function call, use {hasRole}:
*
* ```
* function foo() public {
* require(hasRole(MY_ROLE, msg.sender));
* ...
* }
* ```
*
* Roles can be granted and revoked dynamically via the {grantRole} and
* {revokeRole} functions. Each role has an associated admin role, and only
* accounts that have a role's admin role can call {grantRole} and {revokeRole}.
*
* By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means
* that only accounts with this role will be able to grant or revoke other
* roles. More complex role relationships can be created by using
* {_setRoleAdmin}.
*
* WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to
* grant and revoke this role. Extra precautions should be taken to secure
* accounts that have been granted it.
*/
abstract contract AccessControl is Context, IAccessControl, ERC165 {
struct RoleData {
mapping (address => bool) members;
bytes32 adminRole;
}
mapping (bytes32 => RoleData) private _roles;
bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;
/**
* @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`
*
* `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite
* {RoleAdminChanged} not being emitted signaling this.
*
* _Available since v3.1._
*/
event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);
/**
* @dev Emitted when `account` is granted `role`.
*
* `sender` is the account that originated the contract call, an admin role
* bearer except when using {_setupRole}.
*/
event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);
/**
* @dev Emitted when `account` is revoked `role`.
*
* `sender` is the account that originated the contract call:
* - if using `revokeRole`, it is the admin role bearer
* - if using `renounceRole`, it is the role bearer (i.e. `account`)
*/
event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);
/**
* @dev Modifier that checks that an account has a specific role. Reverts
* with a standardized message including the required role.
*
* The format of the revert reason is given by the following regular expression:
*
* /^AccessControl: account (0x[0-9a-f]{20}) is missing role (0x[0-9a-f]{32})$/
*
* _Available since v4.1._
*/
modifier onlyRole(bytes32 role) {
_checkRole(role, _msgSender());
_;
}
/**
* @dev See {IERC165-supportsInterface}.
*/
function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
return interfaceId == type(IAccessControl).interfaceId
|| super.supportsInterface(interfaceId);
}
/**
* @dev Returns `true` if `account` has been granted `role`.
*/
function hasRole(bytes32 role, address account) public view override returns (bool) {
return _roles[role].members[account];
}
/**
* @dev Revert with a standard message if `account` is missing `role`.
*
* The format of the revert reason is given by the following regular expression:
*
* /^AccessControl: account (0x[0-9a-f]{20}) is missing role (0x[0-9a-f]{32})$/
*/
function _checkRole(bytes32 role, address account) internal view {
if(!hasRole(role, account)) {
revert(string(abi.encodePacked(
"AccessControl: account ",
Strings.toHexString(uint160(account), 20),
" is missing role ",
Strings.toHexString(uint256(role), 32)
)));
}
}
/**
* @dev Returns the admin role that controls `role`. See {grantRole} and
* {revokeRole}.
*
* To change a role's admin, use {_setRoleAdmin}.
*/
function getRoleAdmin(bytes32 role) public view override returns (bytes32) {
return _roles[role].adminRole;
}
/**
* @dev Grants `role` to `account`.
*
* If `account` had not been already granted `role`, emits a {RoleGranted}
* event.
*
* Requirements:
*
* - the caller must have ``role``'s admin role.
*/
function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
_grantRole(role, account);
}
/**
* @dev Revokes `role` from `account`.
*
* If `account` had been granted `role`, emits a {RoleRevoked} event.
*
* Requirements:
*
* - the caller must have ``role``'s admin role.
*/
function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
_revokeRole(role, account);
}
/**
* @dev Revokes `role` from the calling account.
*
* Roles are often managed via {grantRole} and {revokeRole}: this function's
* purpose is to provide a mechanism for accounts to lose their privileges
* if they are compromised (such as when a trusted device is misplaced).
*
* If the calling account had been granted `role`, emits a {RoleRevoked}
* event.
*
* Requirements:
*
* - the caller must be `account`.
*/
function renounceRole(bytes32 role, address account) public virtual override {
require(account == _msgSender(), "AccessControl: can only renounce roles for self");
_revokeRole(role, account);
}
/**
* @dev Grants `role` to `account`.
*
* If `account` had not been already granted `role`, emits a {RoleGranted}
* event. Note that unlike {grantRole}, this function doesn't perform any
* checks on the calling account.
*
* [WARNING]
* ====
* This function should only be called from the constructor when setting
* up the initial roles for the system.
*
* Using this function in any other way is effectively circumventing the admin
* system imposed by {AccessControl}.
* ====
*/
function _setupRole(bytes32 role, address account) internal virtual {
_grantRole(role, account);
}
/**
* @dev Sets `adminRole` as ``role``'s admin role.
*
* Emits a {RoleAdminChanged} event.
*/
function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {
emit RoleAdminChanged(role, getRoleAdmin(role), adminRole);
_roles[role].adminRole = adminRole;
}
function _grantRole(bytes32 role, address account) private {
if (!hasRole(role, account)) {
_roles[role].members[account] = true;
emit RoleGranted(role, account, _msgSender());
}
}
function _revokeRole(bytes32 role, address account) private {
if (hasRole(role, account)) {
_roles[role].members[account] = false;
emit RoleRevoked(role, account, _msgSender());
}
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "../utils/Context.sol";
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* By default, the owner account will be the one that deploys the contract. This
* can later be changed with {transferOwnership}.
*
* This module is used through inheritance. It will make available the modifier
* `onlyOwner`, which can be applied to your functions to restrict their use to
* the owner.
*/
abstract contract Ownable is Context {
address private _owner;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
/**
* @dev Initializes the contract setting the deployer as the initial owner.
*/
constructor () {
address msgSender = _msgSender();
_owner = msgSender;
emit OwnershipTransferred(address(0), msgSender);
}
/**
* @dev Returns the address of the current owner.
*/
function owner() public view virtual returns (address) {
return _owner;
}
/**
* @dev Throws if called by any account other than the owner.
*/
modifier onlyOwner() {
require(owner() == _msgSender(), "Ownable: caller is not the owner");
_;
}
/**
* @dev Leaves the contract without owner. It will not be possible to call
* `onlyOwner` functions anymore. Can only be called by the current owner.
*
* NOTE: Renouncing ownership will leave the contract without an owner,
* thereby removing any functionality that is only available to the owner.
*/
function renounceOwnership() public virtual onlyOwner {
emit OwnershipTransferred(_owner, address(0));
_owner = address(0);
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Can only be called by the current owner.
*/
function transferOwnership(address newOwner) public virtual onlyOwner {
require(newOwner != address(0), "Ownable: new owner is the zero address");
emit OwnershipTransferred(_owner, newOwner);
_owner = newOwner;
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/**
* @dev Contract module that helps prevent reentrant calls to a function.
*
* Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
* available, which can be applied to functions to make sure there are no nested
* (reentrant) calls to them.
*
* Note that because there is a single `nonReentrant` guard, functions marked as
* `nonReentrant` may not call one another. This can be worked around by making
* those functions `private`, and then adding `external` `nonReentrant` entry
* points to them.
*
* TIP: If you would like to learn more about reentrancy and alternative ways
* to protect against it, check out our blog post
* https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
*/
abstract contract ReentrancyGuard {
// Booleans are more expensive than uint256 or any type that takes up a full
// word because each write operation emits an extra SLOAD to first read the
// slot's contents, replace the bits taken up by the boolean, and then write
// back. This is the compiler's defense against contract upgrades and
// pointer aliasing, and it cannot be disabled.
// The values being non-zero value makes deployment a bit more expensive,
// but in exchange the refund on every call to nonReentrant will be lower in
// amount. Since refunds are capped to a percentage of the total
// transaction's gas, it is best to keep them low in cases like this one, to
// increase the likelihood of the full refund coming into effect.
uint256 private constant _NOT_ENTERED = 1;
uint256 private constant _ENTERED = 2;
uint256 private _status;
constructor () {
_status = _NOT_ENTERED;
}
/**
* @dev Prevents a contract from calling itself, directly or indirectly.
* Calling a `nonReentrant` function from another `nonReentrant`
* function is not supported. It is possible to prevent this from happening
* by making the `nonReentrant` function external, and make it call a
* `private` function that does the actual work.
*/
modifier nonReentrant() {
// On the first call to nonReentrant, _notEntered will be true
require(_status != _ENTERED, "ReentrancyGuard: reentrant call");
// Any calls to nonReentrant after this point will fail
_status = _ENTERED;
_;
// By storing the original value once again, a refund is triggered (see
// https://eips.ethereum.org/EIPS/eip-2200)
_status = _NOT_ENTERED;
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
interface IERC20 {
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the amount of tokens owned by `account`.
*/
function balanceOf(address account) external view returns (uint256);
/**
* @dev Moves `amount` tokens from the caller's account to `recipient`.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transfer(address recipient, uint256 amount) external returns (bool);
/**
* @dev Returns the remaining number of tokens that `spender` will be
* allowed to spend on behalf of `owner` through {transferFrom}. This is
* zero by default.
*
* This value changes when {approve} or {transferFrom} are called.
*/
function allowance(address owner, address spender) external view returns (uint256);
/**
* @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* IMPORTANT: Beware that changing an allowance with this method brings the risk
* that someone may use both the old and the new allowance by unfortunate
* transaction ordering. One possible solution to mitigate this race
* condition is to first reduce the spender's allowance to 0 and set the
* desired value afterwards:
* https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
*
* Emits an {Approval} event.
*/
function approve(address spender, uint256 amount) external returns (bool);
/**
* @dev Moves `amount` tokens from `sender` to `recipient` using the
* allowance mechanism. `amount` is then deducted from the caller's
* allowance.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);
/**
* @dev Emitted when `value` tokens are moved from one account (`from`) to
* another (`to`).
*
* Note that `value` may be zero.
*/
event Transfer(address indexed from, address indexed to, uint256 value);
/**
* @dev Emitted when the allowance of a `spender` for an `owner` is set by
* a call to {approve}. `value` is the new allowance.
*/
event Approval(address indexed owner, address indexed spender, uint256 value);
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "../IERC20.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'
// solhint-disable-next-line max-line-length
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));
}
}
/**
* @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
// solhint-disable-next-line max-line-length
require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
}
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "../../utils/introspection/IERC165.sol";
/**
* @dev Required interface of an ERC721 compliant contract.
*/
interface IERC721 is IERC165 {
/**
* @dev Emitted when `tokenId` token is transferred from `from` to `to`.
*/
event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);
/**
* @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
*/
event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);
/**
* @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.
*/
event ApprovalForAll(address indexed owner, address indexed operator, bool approved);
/**
* @dev Returns the number of tokens in ``owner``'s account.
*/
function balanceOf(address owner) external view returns (uint256 balance);
/**
* @dev Returns the owner of the `tokenId` token.
*
* Requirements:
*
* - `tokenId` must exist.
*/
function ownerOf(uint256 tokenId) external view returns (address owner);
/**
* @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
* are aware of the ERC721 protocol to prevent tokens from being forever locked.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must exist and be owned by `from`.
* - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.
* - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
*
* Emits a {Transfer} event.
*/
function safeTransferFrom(address from, address to, uint256 tokenId) external;
/**
* @dev Transfers `tokenId` token from `from` to `to`.
*
* WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must be owned by `from`.
* - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
*
* Emits a {Transfer} event.
*/
function transferFrom(address from, address to, uint256 tokenId) external;
/**
* @dev Gives permission to `to` to transfer `tokenId` token to another account.
* The approval is cleared when the token is transferred.
*
* Only a single account can be approved at a time, so approving the zero address clears previous approvals.
*
* Requirements:
*
* - The caller must own the token or be an approved operator.
* - `tokenId` must exist.
*
* Emits an {Approval} event.
*/
function approve(address to, uint256 tokenId) external;
/**
* @dev Returns the account approved for `tokenId` token.
*
* Requirements:
*
* - `tokenId` must exist.
*/
function getApproved(uint256 tokenId) external view returns (address operator);
/**
* @dev Approve or remove `operator` as an operator for the caller.
* Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
*
* Requirements:
*
* - The `operator` cannot be the caller.
*
* Emits an {ApprovalForAll} event.
*/
function setApprovalForAll(address operator, bool _approved) external;
/**
* @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
*
* See {setApprovalForAll}
*/
function isApprovedForAll(address owner, address operator) external view returns (bool);
/**
* @dev Safely transfers `tokenId` token from `from` to `to`.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must exist and be owned by `from`.
* - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
* - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
*
* Emits a {Transfer} event.
*/
function safeTransferFrom(address from, address to, uint256 tokenId, bytes calldata data) external;
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/**
* @dev Collection of functions related to the address type
*/
library Address {
/**
* @dev Returns true if `account` is a contract.
*
* [IMPORTANT]
* ====
* It is unsafe to assume that an address for which this function returns
* false is an externally-owned account (EOA) and not a contract.
*
* Among others, `isContract` will return false for the following
* types of addresses:
*
* - an externally-owned account
* - a contract in construction
* - an address where a contract will be created
* - an address where a contract lived, but was destroyed
* ====
*/
function isContract(address account) internal view returns (bool) {
// This method relies on extcodesize, which returns 0 for contracts in
// construction, since the code is only stored at the end of the
// constructor execution.
uint256 size;
// solhint-disable-next-line no-inline-assembly
assembly { size := extcodesize(account) }
return size > 0;
}
/**
* @dev Replacement for Solidity's `transfer`: sends `amount` wei to
* `recipient`, forwarding all available gas and reverting on errors.
*
* https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
* of certain opcodes, possibly making contracts go over the 2300 gas limit
* imposed by `transfer`, making them unable to receive funds via
* `transfer`. {sendValue} removes this limitation.
*
* https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
*
* IMPORTANT: because control is transferred to `recipient`, care must be
* taken to not create reentrancy vulnerabilities. Consider using
* {ReentrancyGuard} or the
* https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
*/
function sendValue(address payable recipient, uint256 amount) internal {
require(address(this).balance >= amount, "Address: insufficient balance");
// solhint-disable-next-line avoid-low-level-calls, avoid-call-value
(bool success, ) = recipient.call{ value: amount }("");
require(success, "Address: unable to send value, recipient may have reverted");
}
/**
* @dev Performs a Solidity function call using a low level `call`. A
* plain`call` is an unsafe replacement for a function call: use this
* function instead.
*
* If `target` reverts with a revert reason, it is bubbled up by this
* function (like regular Solidity function calls).
*
* Returns the raw returned data. To convert to the expected return value,
* use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
*
* Requirements:
*
* - `target` must be a contract.
* - calling `target` with `data` must not revert.
*
* _Available since v3.1._
*/
function functionCall(address target, bytes memory data) internal returns (bytes memory) {
return functionCall(target, data, "Address: low-level call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
* `errorMessage` as a fallback revert reason when `target` reverts.
*
* _Available since v3.1._
*/
function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
return functionCallWithValue(target, data, 0, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but also transferring `value` wei to `target`.
*
* Requirements:
*
* - the calling contract must have an ETH balance of at least `value`.
* - the called Solidity function must be `payable`.
*
* _Available since v3.1._
*/
function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {
return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
}
/**
* @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
* with `errorMessage` as a fallback revert reason when `target` reverts.
*
* _Available since v3.1._
*/
function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) {
require(address(this).balance >= value, "Address: insufficient balance for call");
require(isContract(target), "Address: call to non-contract");
// solhint-disable-next-line avoid-low-level-calls
(bool success, bytes memory returndata) = target.call{ value: value }(data);
return _verifyCallResult(success, returndata, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a static call.
*
* _Available since v3.3._
*/
function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
return functionStaticCall(target, data, "Address: low-level static call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
* but performing a static call.
*
* _Available since v3.3._
*/
function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) {
require(isContract(target), "Address: static call to non-contract");
// solhint-disable-next-line avoid-low-level-calls
(bool success, bytes memory returndata) = target.staticcall(data);
return _verifyCallResult(success, returndata, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a delegate call.
*
* _Available since v3.4._
*/
function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
return functionDelegateCall(target, data, "Address: low-level delegate call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
* but performing a delegate call.
*
* _Available since v3.4._
*/
function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
require(isContract(target), "Address: delegate call to non-contract");
// solhint-disable-next-line avoid-low-level-calls
(bool success, bytes memory returndata) = target.delegatecall(data);
return _verifyCallResult(success, returndata, errorMessage);
}
function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {
if (success) {
return returndata;
} else {
// Look for revert reason and bubble it up if present
if (returndata.length > 0) {
// The easiest way to bubble the revert reason is using memory via assembly
// solhint-disable-next-line no-inline-assembly
assembly {
let returndata_size := mload(returndata)
revert(add(32, returndata), returndata_size)
}
} else {
revert(errorMessage);
}
}
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/*
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
* via msg.sender and msg.data, they should not be accessed in such a direct
* manner, since when dealing with meta-transactions the account sending and
* paying for execution may not be the actual sender (as far as an application
* is concerned).
*
* This contract is only required for intermediate, library-like contracts.
*/
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes calldata) {
this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
return msg.data;
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/**
* @title Counters
* @author Matt Condon (@shrugs)
* @dev Provides counters that can only be incremented or decremented by one. This can be used e.g. to track the number
* of elements in a mapping, issuing ERC721 ids, or counting request ids.
*
* Include with `using Counters for Counters.Counter;`
*/
library Counters {
struct Counter {
// This variable should never be directly accessed by users of the library: interactions must be restricted to
// the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
// this feature: see https://github.com/ethereum/solidity/issues/4637
uint256 _value; // default: 0
}
function current(Counter storage counter) internal view returns (uint256) {
return counter._value;
}
function increment(Counter storage counter) internal {
unchecked {
counter._value += 1;
}
}
function decrement(Counter storage counter) internal {
uint256 value = counter._value;
require(value > 0, "Counter: decrement overflow");
unchecked {
counter._value = value - 1;
}
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "./IERC165.sol";
/**
* @dev Implementation of the {IERC165} interface.
*
* Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
* for the additional interface id that will be supported. For example:
*
* ```solidity
* function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
* return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
* }
* ```
*
* Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
*/
abstract contract ERC165 is IERC165 {
/**
* @dev See {IERC165-supportsInterface}.
*/
function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
return interfaceId == type(IERC165).interfaceId;
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC165 standard, as defined in the
* https://eips.ethereum.org/EIPS/eip-165[EIP].
*
* Implementers can declare support of contract interfaces, which can then be
* queried by others ({ERC165Checker}).
*
* For an implementation, see {ERC165}.
*/
interface IERC165 {
/**
* @dev Returns true if this contract implements the interface defined by
* `interfaceId`. See the corresponding
* https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
* to learn more about how these ids are created.
*
* This function call must use less than 30 000 gas.
*/
function supportsInterface(bytes4 interfaceId) external view returns (bool);
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.
/**
* @dev Wrappers over Solidity's arithmetic operations.
*
* NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler
* now has built in overflow checking.
*/
library SafeMath {
/**
* @dev Returns the addition of two unsigned integers, with an overflow flag.
*
* _Available since v3.4._
*/
function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
uint256 c = a + b;
if (c < a) return (false, 0);
return (true, c);
}
}
/**
* @dev Returns the substraction of two unsigned integers, with an overflow flag.
*
* _Available since v3.4._
*/
function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
if (b > a) return (false, 0);
return (true, a - b);
}
}
/**
* @dev Returns the multiplication of two unsigned integers, with an overflow flag.
*
* _Available since v3.4._
*/
function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
// Gas optimization: this is cheaper than requiring 'a' not being zero, but the
// benefit is lost if 'b' is also tested.
// See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
if (a == 0) return (true, 0);
uint256 c = a * b;
if (c / a != b) return (false, 0);
return (true, c);
}
}
/**
* @dev Returns the division of two unsigned integers, with a division by zero flag.
*
* _Available since v3.4._
*/
function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
if (b == 0) return (false, 0);
return (true, a / b);
}
}
/**
* @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
*
* _Available since v3.4._
*/
function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
if (b == 0) return (false, 0);
return (true, a % b);
}
}
/**
* @dev Returns the addition of two unsigned integers, reverting on
* overflow.
*
* Counterpart to Solidity's `+` operator.
*
* Requirements:
*
* - Addition cannot overflow.
*/
function add(uint256 a, uint256 b) internal pure returns (uint256) {
return a + b;
}
/**
* @dev Returns the subtraction of two unsigned integers, reverting on
* overflow (when the result is negative).
*
* Counterpart to Solidity's `-` operator.
*
* Requirements:
*
* - Subtraction cannot overflow.
*/
function sub(uint256 a, uint256 b) internal pure returns (uint256) {
return a - b;
}
/**
* @dev Returns the multiplication of two unsigned integers, reverting on
* overflow.
*
* Counterpart to Solidity's `*` operator.
*
* Requirements:
*
* - Multiplication cannot overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
return a * b;
}
/**
* @dev Returns the integer division of two unsigned integers, reverting on
* division by zero. The result is rounded towards zero.
*
* Counterpart to Solidity's `/` operator.
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function div(uint256 a, uint256 b) internal pure returns (uint256) {
return a / b;
}
/**
* @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
* reverting when dividing by zero.
*
* Counterpart to Solidity's `%` operator. This function uses a `revert`
* opcode (which leaves remaining gas untouched) while Solidity uses an
* invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function mod(uint256 a, uint256 b) internal pure returns (uint256) {
return a % b;
}
/**
* @dev Returns the subtraction of two unsigned integers, reverting with custom message on
* overflow (when the result is negative).
*
* CAUTION: This function is deprecated because it requires allocating memory for the error
* message unnecessarily. For custom revert reasons use {trySub}.
*
* Counterpart to Solidity's `-` operator.
*
* Requirements:
*
* - Subtraction cannot overflow.
*/
function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
unchecked {
require(b <= a, errorMessage);
return a - b;
}
}
/**
* @dev Returns the integer division of two unsigned integers, reverting with custom message on
* division by zero. The result is rounded towards zero.
*
* Counterpart to Solidity's `%` operator. This function uses a `revert`
* opcode (which leaves remaining gas untouched) while Solidity uses an
* invalid opcode to revert (consuming all remaining gas).
*
* Counterpart to Solidity's `/` operator. Note: this function uses a
* `revert` opcode (which leaves remaining gas untouched) while Solidity
* uses an invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
unchecked {
require(b > 0, errorMessage);
return a / b;
}
}
/**
* @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
* reverting with custom message when dividing by zero.
*
* CAUTION: This function is deprecated because it requires allocating memory for the error
* message unnecessarily. For custom revert reasons use {tryMod}.
*
* Counterpart to Solidity's `%` operator. This function uses a `revert`
* opcode (which leaves remaining gas untouched) while Solidity uses an
* invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
unchecked {
require(b > 0, errorMessage);
return a % b;
}
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/**
* @dev String operations.
*/
library Strings {
bytes16 private constant alphabet = "0123456789abcdef";
/**
* @dev Converts a `uint256` to its ASCII `string` decimal representation.
*/
function toString(uint256 value) internal pure returns (string memory) {
// Inspired by OraclizeAPI's implementation - MIT licence
// https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol
if (value == 0) {
return "0";
}
uint256 temp = value;
uint256 digits;
while (temp != 0) {
digits++;
temp /= 10;
}
bytes memory buffer = new bytes(digits);
while (value != 0) {
digits -= 1;
buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
value /= 10;
}
return string(buffer);
}
/**
* @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
*/
function toHexString(uint256 value) internal pure returns (string memory) {
if (value == 0) {
return "0x00";
}
uint256 temp = value;
uint256 length = 0;
while (temp != 0) {
length++;
temp >>= 8;
}
return toHexString(value, length);
}
/**
* @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
*/
function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
bytes memory buffer = new bytes(2 * length + 2);
buffer[0] = "0";
buffer[1] = "x";
for (uint256 i = 2 * length + 1; i > 1; --i) {
buffer[i] = alphabet[value & 0xf];
value >>= 4;
}
require(value == 0, "Strings: hex length insufficient");
return string(buffer);
}
}// SPDX-License-Identifier: GPL-3.0
pragma solidity ^0.8.7;
/**
* @title Interface for Auction Houses
*/
interface IAuctionHouse {
struct Auction {
// ID for the ERC721 token
uint256 tokenId;
// Address for the ERC721 contract
address tokenContract;
// The current highest bid amount
uint256 amount;
// The length of time to run the auction for, after the first bid was made
uint256 duration;
// The time of the first bid
uint256 firstBidTime;
// The minimum price of the first bid
uint256 reservePrice;
// The address that should receive the funds once the NFT is sold.
address tokenOwner;
// The address of the current highest bid
address payable bidder;
// The address of the ERC-20 currency to run the auction with.
// If set to 0x0, the auction will be run in ETH
address auctionCurrency;
// The address of recipient of the sale commission
}
struct Royalty {
//The address of the beneficiary who will be receiving royalties for each sale
address payable beneficiary;
//The percentage of the sale the commission address receives
//If percentage is set to 0, the full amount will be sent
uint256 royaltyPercentage;
}
event AuctionCreated(
uint256 indexed auctionId,
uint256 indexed tokenId,
address indexed tokenContract,
uint256 duration,
uint256 reservePrice,
address tokenOwner,
address auctionCurrency
);
event AuctionReservePriceUpdated(
uint256 indexed auctionId,
uint256 indexed tokenId,
address indexed tokenContract,
uint256 reservePrice
);
event RoyaltySet(
address indexed tokenContract,
address indexed newBeneficiary,
uint256 indexed royaltyPercentage
);
event AuctionBid(
uint256 indexed auctionId,
uint256 indexed tokenId,
address indexed tokenContract,
address sender,
uint256 value,
uint256 bidTime,
bool firstBid,
bool extended
);
event AuctionDurationExtended(
uint256 indexed auctionId,
uint256 indexed tokenId,
address indexed tokenContract,
uint256 duration
);
event AuctionEnded(
uint256 indexed auctionId,
uint256 indexed tokenId,
address indexed tokenContract,
address tokenOwner,
address winner,
uint256 amount,
uint256 endTime,
address auctionCurrency
);
event AuctionWithRoyaltiesEnded(
uint256 indexed auctionId,
uint256 indexed tokenId,
address indexed tokenContract,
address tokenOwner,
address winner,
uint256 amount,
address beneficiaryAddress,
uint256 royaltyAmount,
uint256 endTime,
address auctionCurrency
);
event AuctionCanceled(
uint256 indexed auctionId,
uint256 indexed tokenId,
address indexed tokenContract,
address tokenOwner
);
function createAuction(
uint256 tokenId,
address tokenContract,
uint256 duration,
uint256 reservePrice,
address auctionCurrency
) external returns (uint256);
function setAuctionReservePrice(uint256 auctionId, uint256 reservePrice) external;
function setRoyalty(
address tokenContract,
address payable beneficiaryAddress,
uint256 royaltyPercentage
) external;
function createBid(uint256 auctionId, uint256 amount) external payable;
function endAuction(uint256 auctionId) external;
function cancelAuction(uint256 auctionId) external;
function setPublicAuctionsEnabled(bool status) external;
function whitelistAccount(address sellerOrTokenContract) external;
function removeWhitelistedAccount(address sellerOrTokenContract) external;
function isWhitelisted(address sellerOrTekenContract) external view returns(bool);
function addAuctioneer(address who) external;
function removeAuctioneer(address who) external;
function isAuctioneer(address who) external view returns(bool);
}// SPDX-License-Identifier: MIT
pragma solidity >= 0.4.22 <0.9.0;
library console {
address constant CONSOLE_ADDRESS = address(0x000000000000000000636F6e736F6c652e6c6f67);
function _sendLogPayload(bytes memory payload) private view {
uint256 payloadLength = payload.length;
address consoleAddress = CONSOLE_ADDRESS;
assembly {
let payloadStart := add(payload, 32)
let r := staticcall(gas(), consoleAddress, payloadStart, payloadLength, 0, 0)
}
}
function log() internal view {
_sendLogPayload(abi.encodeWithSignature("log()"));
}
function logInt(int256 p0) internal view {
_sendLogPayload(abi.encodeWithSignature("log(int256)", p0));
}
function logUint(uint256 p0) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256)", p0));
}
function logString(string memory p0) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string)", p0));
}
function logBool(bool p0) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool)", p0));
}
function logAddress(address p0) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address)", p0));
}
function logBytes(bytes memory p0) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bytes)", p0));
}
function logBytes1(bytes1 p0) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bytes1)", p0));
}
function logBytes2(bytes2 p0) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bytes2)", p0));
}
function logBytes3(bytes3 p0) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bytes3)", p0));
}
function logBytes4(bytes4 p0) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bytes4)", p0));
}
function logBytes5(bytes5 p0) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bytes5)", p0));
}
function logBytes6(bytes6 p0) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bytes6)", p0));
}
function logBytes7(bytes7 p0) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bytes7)", p0));
}
function logBytes8(bytes8 p0) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bytes8)", p0));
}
function logBytes9(bytes9 p0) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bytes9)", p0));
}
function logBytes10(bytes10 p0) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bytes10)", p0));
}
function logBytes11(bytes11 p0) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bytes11)", p0));
}
function logBytes12(bytes12 p0) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bytes12)", p0));
}
function logBytes13(bytes13 p0) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bytes13)", p0));
}
function logBytes14(bytes14 p0) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bytes14)", p0));
}
function logBytes15(bytes15 p0) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bytes15)", p0));
}
function logBytes16(bytes16 p0) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bytes16)", p0));
}
function logBytes17(bytes17 p0) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bytes17)", p0));
}
function logBytes18(bytes18 p0) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bytes18)", p0));
}
function logBytes19(bytes19 p0) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bytes19)", p0));
}
function logBytes20(bytes20 p0) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bytes20)", p0));
}
function logBytes21(bytes21 p0) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bytes21)", p0));
}
function logBytes22(bytes22 p0) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bytes22)", p0));
}
function logBytes23(bytes23 p0) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bytes23)", p0));
}
function logBytes24(bytes24 p0) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bytes24)", p0));
}
function logBytes25(bytes25 p0) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bytes25)", p0));
}
function logBytes26(bytes26 p0) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bytes26)", p0));
}
function logBytes27(bytes27 p0) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bytes27)", p0));
}
function logBytes28(bytes28 p0) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bytes28)", p0));
}
function logBytes29(bytes29 p0) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bytes29)", p0));
}
function logBytes30(bytes30 p0) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bytes30)", p0));
}
function logBytes31(bytes31 p0) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bytes31)", p0));
}
function logBytes32(bytes32 p0) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bytes32)", p0));
}
function log(uint256 p0) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256)", p0));
}
function log(string memory p0) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string)", p0));
}
function log(bool p0) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool)", p0));
}
function log(address p0) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address)", p0));
}
function log(uint256 p0, uint256 p1) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,uint256)", p0, p1));
}
function log(uint256 p0, string memory p1) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,string)", p0, p1));
}
function log(uint256 p0, bool p1) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,bool)", p0, p1));
}
function log(uint256 p0, address p1) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,address)", p0, p1));
}
function log(string memory p0, uint256 p1) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,uint256)", p0, p1));
}
function log(string memory p0, string memory p1) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,string)", p0, p1));
}
function log(string memory p0, bool p1) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,bool)", p0, p1));
}
function log(string memory p0, address p1) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,address)", p0, p1));
}
function log(bool p0, uint256 p1) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,uint256)", p0, p1));
}
function log(bool p0, string memory p1) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,string)", p0, p1));
}
function log(bool p0, bool p1) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,bool)", p0, p1));
}
function log(bool p0, address p1) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,address)", p0, p1));
}
function log(address p0, uint256 p1) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,uint256)", p0, p1));
}
function log(address p0, string memory p1) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,string)", p0, p1));
}
function log(address p0, bool p1) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,bool)", p0, p1));
}
function log(address p0, address p1) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,address)", p0, p1));
}
function log(uint256 p0, uint256 p1, uint256 p2) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,uint256)", p0, p1, p2));
}
function log(uint256 p0, uint256 p1, string memory p2) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,string)", p0, p1, p2));
}
function log(uint256 p0, uint256 p1, bool p2) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,bool)", p0, p1, p2));
}
function log(uint256 p0, uint256 p1, address p2) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,address)", p0, p1, p2));
}
function log(uint256 p0, string memory p1, uint256 p2) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,string,uint256)", p0, p1, p2));
}
function log(uint256 p0, string memory p1, string memory p2) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,string,string)", p0, p1, p2));
}
function log(uint256 p0, string memory p1, bool p2) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,string,bool)", p0, p1, p2));
}
function log(uint256 p0, string memory p1, address p2) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,string,address)", p0, p1, p2));
}
function log(uint256 p0, bool p1, uint256 p2) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,bool,uint256)", p0, p1, p2));
}
function log(uint256 p0, bool p1, string memory p2) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,bool,string)", p0, p1, p2));
}
function log(uint256 p0, bool p1, bool p2) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,bool,bool)", p0, p1, p2));
}
function log(uint256 p0, bool p1, address p2) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,bool,address)", p0, p1, p2));
}
function log(uint256 p0, address p1, uint256 p2) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,address,uint256)", p0, p1, p2));
}
function log(uint256 p0, address p1, string memory p2) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,address,string)", p0, p1, p2));
}
function log(uint256 p0, address p1, bool p2) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,address,bool)", p0, p1, p2));
}
function log(uint256 p0, address p1, address p2) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,address,address)", p0, p1, p2));
}
function log(string memory p0, uint256 p1, uint256 p2) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,uint256,uint256)", p0, p1, p2));
}
function log(string memory p0, uint256 p1, string memory p2) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,uint256,string)", p0, p1, p2));
}
function log(string memory p0, uint256 p1, bool p2) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,uint256,bool)", p0, p1, p2));
}
function log(string memory p0, uint256 p1, address p2) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,uint256,address)", p0, p1, p2));
}
function log(string memory p0, string memory p1, uint256 p2) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,string,uint256)", p0, p1, p2));
}
function log(string memory p0, string memory p1, string memory p2) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,string,string)", p0, p1, p2));
}
function log(string memory p0, string memory p1, bool p2) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,string,bool)", p0, p1, p2));
}
function log(string memory p0, string memory p1, address p2) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,string,address)", p0, p1, p2));
}
function log(string memory p0, bool p1, uint256 p2) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,bool,uint256)", p0, p1, p2));
}
function log(string memory p0, bool p1, string memory p2) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,bool,string)", p0, p1, p2));
}
function log(string memory p0, bool p1, bool p2) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,bool,bool)", p0, p1, p2));
}
function log(string memory p0, bool p1, address p2) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,bool,address)", p0, p1, p2));
}
function log(string memory p0, address p1, uint256 p2) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,address,uint256)", p0, p1, p2));
}
function log(string memory p0, address p1, string memory p2) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,address,string)", p0, p1, p2));
}
function log(string memory p0, address p1, bool p2) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,address,bool)", p0, p1, p2));
}
function log(string memory p0, address p1, address p2) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,address,address)", p0, p1, p2));
}
function log(bool p0, uint256 p1, uint256 p2) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,uint256,uint256)", p0, p1, p2));
}
function log(bool p0, uint256 p1, string memory p2) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,uint256,string)", p0, p1, p2));
}
function log(bool p0, uint256 p1, bool p2) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,uint256,bool)", p0, p1, p2));
}
function log(bool p0, uint256 p1, address p2) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,uint256,address)", p0, p1, p2));
}
function log(bool p0, string memory p1, uint256 p2) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,string,uint256)", p0, p1, p2));
}
function log(bool p0, string memory p1, string memory p2) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,string,string)", p0, p1, p2));
}
function log(bool p0, string memory p1, bool p2) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,string,bool)", p0, p1, p2));
}
function log(bool p0, string memory p1, address p2) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,string,address)", p0, p1, p2));
}
function log(bool p0, bool p1, uint256 p2) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint256)", p0, p1, p2));
}
function log(bool p0, bool p1, string memory p2) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,bool,string)", p0, p1, p2));
}
function log(bool p0, bool p1, bool p2) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool)", p0, p1, p2));
}
function log(bool p0, bool p1, address p2) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,bool,address)", p0, p1, p2));
}
function log(bool p0, address p1, uint256 p2) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,address,uint256)", p0, p1, p2));
}
function log(bool p0, address p1, string memory p2) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,address,string)", p0, p1, p2));
}
function log(bool p0, address p1, bool p2) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,address,bool)", p0, p1, p2));
}
function log(bool p0, address p1, address p2) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,address,address)", p0, p1, p2));
}
function log(address p0, uint256 p1, uint256 p2) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,uint256,uint256)", p0, p1, p2));
}
function log(address p0, uint256 p1, string memory p2) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,uint256,string)", p0, p1, p2));
}
function log(address p0, uint256 p1, bool p2) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,uint256,bool)", p0, p1, p2));
}
function log(address p0, uint256 p1, address p2) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,uint256,address)", p0, p1, p2));
}
function log(address p0, string memory p1, uint256 p2) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,string,uint256)", p0, p1, p2));
}
function log(address p0, string memory p1, string memory p2) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,string,string)", p0, p1, p2));
}
function log(address p0, string memory p1, bool p2) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,string,bool)", p0, p1, p2));
}
function log(address p0, string memory p1, address p2) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,string,address)", p0, p1, p2));
}
function log(address p0, bool p1, uint256 p2) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,bool,uint256)", p0, p1, p2));
}
function log(address p0, bool p1, string memory p2) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,bool,string)", p0, p1, p2));
}
function log(address p0, bool p1, bool p2) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,bool,bool)", p0, p1, p2));
}
function log(address p0, bool p1, address p2) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,bool,address)", p0, p1, p2));
}
function log(address p0, address p1, uint256 p2) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,address,uint256)", p0, p1, p2));
}
function log(address p0, address p1, string memory p2) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,address,string)", p0, p1, p2));
}
function log(address p0, address p1, bool p2) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,address,bool)", p0, p1, p2));
}
function log(address p0, address p1, address p2) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,address,address)", p0, p1, p2));
}
function log(uint256 p0, uint256 p1, uint256 p2, uint256 p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,uint256,uint256)", p0, p1, p2, p3));
}
function log(uint256 p0, uint256 p1, uint256 p2, string memory p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,uint256,string)", p0, p1, p2, p3));
}
function log(uint256 p0, uint256 p1, uint256 p2, bool p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,uint256,bool)", p0, p1, p2, p3));
}
function log(uint256 p0, uint256 p1, uint256 p2, address p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,uint256,address)", p0, p1, p2, p3));
}
function log(uint256 p0, uint256 p1, string memory p2, uint256 p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,string,uint256)", p0, p1, p2, p3));
}
function log(uint256 p0, uint256 p1, string memory p2, string memory p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,string,string)", p0, p1, p2, p3));
}
function log(uint256 p0, uint256 p1, string memory p2, bool p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,string,bool)", p0, p1, p2, p3));
}
function log(uint256 p0, uint256 p1, string memory p2, address p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,string,address)", p0, p1, p2, p3));
}
function log(uint256 p0, uint256 p1, bool p2, uint256 p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,bool,uint256)", p0, p1, p2, p3));
}
function log(uint256 p0, uint256 p1, bool p2, string memory p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,bool,string)", p0, p1, p2, p3));
}
function log(uint256 p0, uint256 p1, bool p2, bool p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,bool,bool)", p0, p1, p2, p3));
}
function log(uint256 p0, uint256 p1, bool p2, address p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,bool,address)", p0, p1, p2, p3));
}
function log(uint256 p0, uint256 p1, address p2, uint256 p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,address,uint256)", p0, p1, p2, p3));
}
function log(uint256 p0, uint256 p1, address p2, string memory p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,address,string)", p0, p1, p2, p3));
}
function log(uint256 p0, uint256 p1, address p2, bool p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,address,bool)", p0, p1, p2, p3));
}
function log(uint256 p0, uint256 p1, address p2, address p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,address,address)", p0, p1, p2, p3));
}
function log(uint256 p0, string memory p1, uint256 p2, uint256 p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,string,uint256,uint256)", p0, p1, p2, p3));
}
function log(uint256 p0, string memory p1, uint256 p2, string memory p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,string,uint256,string)", p0, p1, p2, p3));
}
function log(uint256 p0, string memory p1, uint256 p2, bool p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,string,uint256,bool)", p0, p1, p2, p3));
}
function log(uint256 p0, string memory p1, uint256 p2, address p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,string,uint256,address)", p0, p1, p2, p3));
}
function log(uint256 p0, string memory p1, string memory p2, uint256 p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,string,string,uint256)", p0, p1, p2, p3));
}
function log(uint256 p0, string memory p1, string memory p2, string memory p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,string,string,string)", p0, p1, p2, p3));
}
function log(uint256 p0, string memory p1, string memory p2, bool p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,string,string,bool)", p0, p1, p2, p3));
}
function log(uint256 p0, string memory p1, string memory p2, address p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,string,string,address)", p0, p1, p2, p3));
}
function log(uint256 p0, string memory p1, bool p2, uint256 p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,string,bool,uint256)", p0, p1, p2, p3));
}
function log(uint256 p0, string memory p1, bool p2, string memory p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,string,bool,string)", p0, p1, p2, p3));
}
function log(uint256 p0, string memory p1, bool p2, bool p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,string,bool,bool)", p0, p1, p2, p3));
}
function log(uint256 p0, string memory p1, bool p2, address p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,string,bool,address)", p0, p1, p2, p3));
}
function log(uint256 p0, string memory p1, address p2, uint256 p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,string,address,uint256)", p0, p1, p2, p3));
}
function log(uint256 p0, string memory p1, address p2, string memory p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,string,address,string)", p0, p1, p2, p3));
}
function log(uint256 p0, string memory p1, address p2, bool p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,string,address,bool)", p0, p1, p2, p3));
}
function log(uint256 p0, string memory p1, address p2, address p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,string,address,address)", p0, p1, p2, p3));
}
function log(uint256 p0, bool p1, uint256 p2, uint256 p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,bool,uint256,uint256)", p0, p1, p2, p3));
}
function log(uint256 p0, bool p1, uint256 p2, string memory p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,bool,uint256,string)", p0, p1, p2, p3));
}
function log(uint256 p0, bool p1, uint256 p2, bool p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,bool,uint256,bool)", p0, p1, p2, p3));
}
function log(uint256 p0, bool p1, uint256 p2, address p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,bool,uint256,address)", p0, p1, p2, p3));
}
function log(uint256 p0, bool p1, string memory p2, uint256 p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,bool,string,uint256)", p0, p1, p2, p3));
}
function log(uint256 p0, bool p1, string memory p2, string memory p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,bool,string,string)", p0, p1, p2, p3));
}
function log(uint256 p0, bool p1, string memory p2, bool p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,bool,string,bool)", p0, p1, p2, p3));
}
function log(uint256 p0, bool p1, string memory p2, address p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,bool,string,address)", p0, p1, p2, p3));
}
function log(uint256 p0, bool p1, bool p2, uint256 p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,bool,bool,uint256)", p0, p1, p2, p3));
}
function log(uint256 p0, bool p1, bool p2, string memory p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,bool,bool,string)", p0, p1, p2, p3));
}
function log(uint256 p0, bool p1, bool p2, bool p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,bool,bool,bool)", p0, p1, p2, p3));
}
function log(uint256 p0, bool p1, bool p2, address p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,bool,bool,address)", p0, p1, p2, p3));
}
function log(uint256 p0, bool p1, address p2, uint256 p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,bool,address,uint256)", p0, p1, p2, p3));
}
function log(uint256 p0, bool p1, address p2, string memory p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,bool,address,string)", p0, p1, p2, p3));
}
function log(uint256 p0, bool p1, address p2, bool p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,bool,address,bool)", p0, p1, p2, p3));
}
function log(uint256 p0, bool p1, address p2, address p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,bool,address,address)", p0, p1, p2, p3));
}
function log(uint256 p0, address p1, uint256 p2, uint256 p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,address,uint256,uint256)", p0, p1, p2, p3));
}
function log(uint256 p0, address p1, uint256 p2, string memory p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,address,uint256,string)", p0, p1, p2, p3));
}
function log(uint256 p0, address p1, uint256 p2, bool p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,address,uint256,bool)", p0, p1, p2, p3));
}
function log(uint256 p0, address p1, uint256 p2, address p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,address,uint256,address)", p0, p1, p2, p3));
}
function log(uint256 p0, address p1, string memory p2, uint256 p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,address,string,uint256)", p0, p1, p2, p3));
}
function log(uint256 p0, address p1, string memory p2, string memory p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,address,string,string)", p0, p1, p2, p3));
}
function log(uint256 p0, address p1, string memory p2, bool p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,address,string,bool)", p0, p1, p2, p3));
}
function log(uint256 p0, address p1, string memory p2, address p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,address,string,address)", p0, p1, p2, p3));
}
function log(uint256 p0, address p1, bool p2, uint256 p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,address,bool,uint256)", p0, p1, p2, p3));
}
function log(uint256 p0, address p1, bool p2, string memory p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,address,bool,string)", p0, p1, p2, p3));
}
function log(uint256 p0, address p1, bool p2, bool p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,address,bool,bool)", p0, p1, p2, p3));
}
function log(uint256 p0, address p1, bool p2, address p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,address,bool,address)", p0, p1, p2, p3));
}
function log(uint256 p0, address p1, address p2, uint256 p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,address,address,uint256)", p0, p1, p2, p3));
}
function log(uint256 p0, address p1, address p2, string memory p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,address,address,string)", p0, p1, p2, p3));
}
function log(uint256 p0, address p1, address p2, bool p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,address,address,bool)", p0, p1, p2, p3));
}
function log(uint256 p0, address p1, address p2, address p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,address,address,address)", p0, p1, p2, p3));
}
function log(string memory p0, uint256 p1, uint256 p2, uint256 p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,uint256,uint256,uint256)", p0, p1, p2, p3));
}
function log(string memory p0, uint256 p1, uint256 p2, string memory p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,uint256,uint256,string)", p0, p1, p2, p3));
}
function log(string memory p0, uint256 p1, uint256 p2, bool p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,uint256,uint256,bool)", p0, p1, p2, p3));
}
function log(string memory p0, uint256 p1, uint256 p2, address p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,uint256,uint256,address)", p0, p1, p2, p3));
}
function log(string memory p0, uint256 p1, string memory p2, uint256 p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,uint256,string,uint256)", p0, p1, p2, p3));
}
function log(string memory p0, uint256 p1, string memory p2, string memory p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,uint256,string,string)", p0, p1, p2, p3));
}
function log(string memory p0, uint256 p1, string memory p2, bool p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,uint256,string,bool)", p0, p1, p2, p3));
}
function log(string memory p0, uint256 p1, string memory p2, address p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,uint256,string,address)", p0, p1, p2, p3));
}
function log(string memory p0, uint256 p1, bool p2, uint256 p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,uint256,bool,uint256)", p0, p1, p2, p3));
}
function log(string memory p0, uint256 p1, bool p2, string memory p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,uint256,bool,string)", p0, p1, p2, p3));
}
function log(string memory p0, uint256 p1, bool p2, bool p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,uint256,bool,bool)", p0, p1, p2, p3));
}
function log(string memory p0, uint256 p1, bool p2, address p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,uint256,bool,address)", p0, p1, p2, p3));
}
function log(string memory p0, uint256 p1, address p2, uint256 p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,uint256,address,uint256)", p0, p1, p2, p3));
}
function log(string memory p0, uint256 p1, address p2, string memory p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,uint256,address,string)", p0, p1, p2, p3));
}
function log(string memory p0, uint256 p1, address p2, bool p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,uint256,address,bool)", p0, p1, p2, p3));
}
function log(string memory p0, uint256 p1, address p2, address p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,uint256,address,address)", p0, p1, p2, p3));
}
function log(string memory p0, string memory p1, uint256 p2, uint256 p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,string,uint256,uint256)", p0, p1, p2, p3));
}
function log(string memory p0, string memory p1, uint256 p2, string memory p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,string,uint256,string)", p0, p1, p2, p3));
}
function log(string memory p0, string memory p1, uint256 p2, bool p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,string,uint256,bool)", p0, p1, p2, p3));
}
function log(string memory p0, string memory p1, uint256 p2, address p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,string,uint256,address)", p0, p1, p2, p3));
}
function log(string memory p0, string memory p1, string memory p2, uint256 p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,string,string,uint256)", p0, p1, p2, p3));
}
function log(string memory p0, string memory p1, string memory p2, string memory p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,string,string,string)", p0, p1, p2, p3));
}
function log(string memory p0, string memory p1, string memory p2, bool p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,string,string,bool)", p0, p1, p2, p3));
}
function log(string memory p0, string memory p1, string memory p2, address p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,string,string,address)", p0, p1, p2, p3));
}
function log(string memory p0, string memory p1, bool p2, uint256 p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,string,bool,uint256)", p0, p1, p2, p3));
}
function log(string memory p0, string memory p1, bool p2, string memory p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,string,bool,string)", p0, p1, p2, p3));
}
function log(string memory p0, string memory p1, bool p2, bool p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,string,bool,bool)", p0, p1, p2, p3));
}
function log(string memory p0, string memory p1, bool p2, address p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,string,bool,address)", p0, p1, p2, p3));
}
function log(string memory p0, string memory p1, address p2, uint256 p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,string,address,uint256)", p0, p1, p2, p3));
}
function log(string memory p0, string memory p1, address p2, string memory p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,string,address,string)", p0, p1, p2, p3));
}
function log(string memory p0, string memory p1, address p2, bool p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,string,address,bool)", p0, p1, p2, p3));
}
function log(string memory p0, string memory p1, address p2, address p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,string,address,address)", p0, p1, p2, p3));
}
function log(string memory p0, bool p1, uint256 p2, uint256 p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,bool,uint256,uint256)", p0, p1, p2, p3));
}
function log(string memory p0, bool p1, uint256 p2, string memory p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,bool,uint256,string)", p0, p1, p2, p3));
}
function log(string memory p0, bool p1, uint256 p2, bool p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,bool,uint256,bool)", p0, p1, p2, p3));
}
function log(string memory p0, bool p1, uint256 p2, address p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,bool,uint256,address)", p0, p1, p2, p3));
}
function log(string memory p0, bool p1, string memory p2, uint256 p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,bool,string,uint256)", p0, p1, p2, p3));
}
function log(string memory p0, bool p1, string memory p2, string memory p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,bool,string,string)", p0, p1, p2, p3));
}
function log(string memory p0, bool p1, string memory p2, bool p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,bool,string,bool)", p0, p1, p2, p3));
}
function log(string memory p0, bool p1, string memory p2, address p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,bool,string,address)", p0, p1, p2, p3));
}
function log(string memory p0, bool p1, bool p2, uint256 p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,uint256)", p0, p1, p2, p3));
}
function log(string memory p0, bool p1, bool p2, string memory p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,string)", p0, p1, p2, p3));
}
function log(string memory p0, bool p1, bool p2, bool p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,bool)", p0, p1, p2, p3));
}
function log(string memory p0, bool p1, bool p2, address p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,address)", p0, p1, p2, p3));
}
function log(string memory p0, bool p1, address p2, uint256 p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,bool,address,uint256)", p0, p1, p2, p3));
}
function log(string memory p0, bool p1, address p2, string memory p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,bool,address,string)", p0, p1, p2, p3));
}
function log(string memory p0, bool p1, address p2, bool p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,bool,address,bool)", p0, p1, p2, p3));
}
function log(string memory p0, bool p1, address p2, address p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,bool,address,address)", p0, p1, p2, p3));
}
function log(string memory p0, address p1, uint256 p2, uint256 p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,address,uint256,uint256)", p0, p1, p2, p3));
}
function log(string memory p0, address p1, uint256 p2, string memory p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,address,uint256,string)", p0, p1, p2, p3));
}
function log(string memory p0, address p1, uint256 p2, bool p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,address,uint256,bool)", p0, p1, p2, p3));
}
function log(string memory p0, address p1, uint256 p2, address p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,address,uint256,address)", p0, p1, p2, p3));
}
function log(string memory p0, address p1, string memory p2, uint256 p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,address,string,uint256)", p0, p1, p2, p3));
}
function log(string memory p0, address p1, string memory p2, string memory p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,address,string,string)", p0, p1, p2, p3));
}
function log(string memory p0, address p1, string memory p2, bool p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,address,string,bool)", p0, p1, p2, p3));
}
function log(string memory p0, address p1, string memory p2, address p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,address,string,address)", p0, p1, p2, p3));
}
function log(string memory p0, address p1, bool p2, uint256 p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,address,bool,uint256)", p0, p1, p2, p3));
}
function log(string memory p0, address p1, bool p2, string memory p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,address,bool,string)", p0, p1, p2, p3));
}
function log(string memory p0, address p1, bool p2, bool p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,address,bool,bool)", p0, p1, p2, p3));
}
function log(string memory p0, address p1, bool p2, address p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,address,bool,address)", p0, p1, p2, p3));
}
function log(string memory p0, address p1, address p2, uint256 p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,address,address,uint256)", p0, p1, p2, p3));
}
function log(string memory p0, address p1, address p2, string memory p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,address,address,string)", p0, p1, p2, p3));
}
function log(string memory p0, address p1, address p2, bool p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,address,address,bool)", p0, p1, p2, p3));
}
function log(string memory p0, address p1, address p2, address p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,address,address,address)", p0, p1, p2, p3));
}
function log(bool p0, uint256 p1, uint256 p2, uint256 p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,uint256,uint256,uint256)", p0, p1, p2, p3));
}
function log(bool p0, uint256 p1, uint256 p2, string memory p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,uint256,uint256,string)", p0, p1, p2, p3));
}
function log(bool p0, uint256 p1, uint256 p2, bool p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,uint256,uint256,bool)", p0, p1, p2, p3));
}
function log(bool p0, uint256 p1, uint256 p2, address p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,uint256,uint256,address)", p0, p1, p2, p3));
}
function log(bool p0, uint256 p1, string memory p2, uint256 p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,uint256,string,uint256)", p0, p1, p2, p3));
}
function log(bool p0, uint256 p1, string memory p2, string memory p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,uint256,string,string)", p0, p1, p2, p3));
}
function log(bool p0, uint256 p1, string memory p2, bool p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,uint256,string,bool)", p0, p1, p2, p3));
}
function log(bool p0, uint256 p1, string memory p2, address p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,uint256,string,address)", p0, p1, p2, p3));
}
function log(bool p0, uint256 p1, bool p2, uint256 p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,uint256,bool,uint256)", p0, p1, p2, p3));
}
function log(bool p0, uint256 p1, bool p2, string memory p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,uint256,bool,string)", p0, p1, p2, p3));
}
function log(bool p0, uint256 p1, bool p2, bool p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,uint256,bool,bool)", p0, p1, p2, p3));
}
function log(bool p0, uint256 p1, bool p2, address p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,uint256,bool,address)", p0, p1, p2, p3));
}
function log(bool p0, uint256 p1, address p2, uint256 p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,uint256,address,uint256)", p0, p1, p2, p3));
}
function log(bool p0, uint256 p1, address p2, string memory p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,uint256,address,string)", p0, p1, p2, p3));
}
function log(bool p0, uint256 p1, address p2, bool p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,uint256,address,bool)", p0, p1, p2, p3));
}
function log(bool p0, uint256 p1, address p2, address p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,uint256,address,address)", p0, p1, p2, p3));
}
function log(bool p0, string memory p1, uint256 p2, uint256 p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,string,uint256,uint256)", p0, p1, p2, p3));
}
function log(bool p0, string memory p1, uint256 p2, string memory p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,string,uint256,string)", p0, p1, p2, p3));
}
function log(bool p0, string memory p1, uint256 p2, bool p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,string,uint256,bool)", p0, p1, p2, p3));
}
function log(bool p0, string memory p1, uint256 p2, address p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,string,uint256,address)", p0, p1, p2, p3));
}
function log(bool p0, string memory p1, string memory p2, uint256 p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,string,string,uint256)", p0, p1, p2, p3));
}
function log(bool p0, string memory p1, string memory p2, string memory p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,string,string,string)", p0, p1, p2, p3));
}
function log(bool p0, string memory p1, string memory p2, bool p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,string,string,bool)", p0, p1, p2, p3));
}
function log(bool p0, string memory p1, string memory p2, address p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,string,string,address)", p0, p1, p2, p3));
}
function log(bool p0, string memory p1, bool p2, uint256 p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,uint256)", p0, p1, p2, p3));
}
function log(bool p0, string memory p1, bool p2, string memory p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,string)", p0, p1, p2, p3));
}
function log(bool p0, string memory p1, bool p2, bool p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,bool)", p0, p1, p2, p3));
}
function log(bool p0, string memory p1, bool p2, address p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,address)", p0, p1, p2, p3));
}
function log(bool p0, string memory p1, address p2, uint256 p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,string,address,uint256)", p0, p1, p2, p3));
}
function log(bool p0, string memory p1, address p2, string memory p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,string,address,string)", p0, p1, p2, p3));
}
function log(bool p0, string memory p1, address p2, bool p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,string,address,bool)", p0, p1, p2, p3));
}
function log(bool p0, string memory p1, address p2, address p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,string,address,address)", p0, p1, p2, p3));
}
function log(bool p0, bool p1, uint256 p2, uint256 p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint256,uint256)", p0, p1, p2, p3));
}
function log(bool p0, bool p1, uint256 p2, string memory p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint256,string)", p0, p1, p2, p3));
}
function log(bool p0, bool p1, uint256 p2, bool p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint256,bool)", p0, p1, p2, p3));
}
function log(bool p0, bool p1, uint256 p2, address p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint256,address)", p0, p1, p2, p3));
}
function log(bool p0, bool p1, string memory p2, uint256 p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,uint256)", p0, p1, p2, p3));
}
function log(bool p0, bool p1, string memory p2, string memory p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,string)", p0, p1, p2, p3));
}
function log(bool p0, bool p1, string memory p2, bool p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,bool)", p0, p1, p2, p3));
}
function log(bool p0, bool p1, string memory p2, address p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,address)", p0, p1, p2, p3));
}
function log(bool p0, bool p1, bool p2, uint256 p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,uint256)", p0, p1, p2, p3));
}
function log(bool p0, bool p1, bool p2, string memory p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,string)", p0, p1, p2, p3));
}
function log(bool p0, bool p1, bool p2, bool p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,bool)", p0, p1, p2, p3));
}
function log(bool p0, bool p1, bool p2, address p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,address)", p0, p1, p2, p3));
}
function log(bool p0, bool p1, address p2, uint256 p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,uint256)", p0, p1, p2, p3));
}
function log(bool p0, bool p1, address p2, string memory p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,string)", p0, p1, p2, p3));
}
function log(bool p0, bool p1, address p2, bool p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,bool)", p0, p1, p2, p3));
}
function log(bool p0, bool p1, address p2, address p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,address)", p0, p1, p2, p3));
}
function log(bool p0, address p1, uint256 p2, uint256 p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,address,uint256,uint256)", p0, p1, p2, p3));
}
function log(bool p0, address p1, uint256 p2, string memory p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,address,uint256,string)", p0, p1, p2, p3));
}
function log(bool p0, address p1, uint256 p2, bool p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,address,uint256,bool)", p0, p1, p2, p3));
}
function log(bool p0, address p1, uint256 p2, address p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,address,uint256,address)", p0, p1, p2, p3));
}
function log(bool p0, address p1, string memory p2, uint256 p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,address,string,uint256)", p0, p1, p2, p3));
}
function log(bool p0, address p1, string memory p2, string memory p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,address,string,string)", p0, p1, p2, p3));
}
function log(bool p0, address p1, string memory p2, bool p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,address,string,bool)", p0, p1, p2, p3));
}
function log(bool p0, address p1, string memory p2, address p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,address,string,address)", p0, p1, p2, p3));
}
function log(bool p0, address p1, bool p2, uint256 p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,uint256)", p0, p1, p2, p3));
}
function log(bool p0, address p1, bool p2, string memory p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,string)", p0, p1, p2, p3));
}
function log(bool p0, address p1, bool p2, bool p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,bool)", p0, p1, p2, p3));
}
function log(bool p0, address p1, bool p2, address p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,address)", p0, p1, p2, p3));
}
function log(bool p0, address p1, address p2, uint256 p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,address,address,uint256)", p0, p1, p2, p3));
}
function log(bool p0, address p1, address p2, string memory p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,address,address,string)", p0, p1, p2, p3));
}
function log(bool p0, address p1, address p2, bool p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,address,address,bool)", p0, p1, p2, p3));
}
function log(bool p0, address p1, address p2, address p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,address,address,address)", p0, p1, p2, p3));
}
function log(address p0, uint256 p1, uint256 p2, uint256 p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,uint256,uint256,uint256)", p0, p1, p2, p3));
}
function log(address p0, uint256 p1, uint256 p2, string memory p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,uint256,uint256,string)", p0, p1, p2, p3));
}
function log(address p0, uint256 p1, uint256 p2, bool p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,uint256,uint256,bool)", p0, p1, p2, p3));
}
function log(address p0, uint256 p1, uint256 p2, address p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,uint256,uint256,address)", p0, p1, p2, p3));
}
function log(address p0, uint256 p1, string memory p2, uint256 p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,uint256,string,uint256)", p0, p1, p2, p3));
}
function log(address p0, uint256 p1, string memory p2, string memory p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,uint256,string,string)", p0, p1, p2, p3));
}
function log(address p0, uint256 p1, string memory p2, bool p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,uint256,string,bool)", p0, p1, p2, p3));
}
function log(address p0, uint256 p1, string memory p2, address p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,uint256,string,address)", p0, p1, p2, p3));
}
function log(address p0, uint256 p1, bool p2, uint256 p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,uint256,bool,uint256)", p0, p1, p2, p3));
}
function log(address p0, uint256 p1, bool p2, string memory p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,uint256,bool,string)", p0, p1, p2, p3));
}
function log(address p0, uint256 p1, bool p2, bool p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,uint256,bool,bool)", p0, p1, p2, p3));
}
function log(address p0, uint256 p1, bool p2, address p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,uint256,bool,address)", p0, p1, p2, p3));
}
function log(address p0, uint256 p1, address p2, uint256 p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,uint256,address,uint256)", p0, p1, p2, p3));
}
function log(address p0, uint256 p1, address p2, string memory p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,uint256,address,string)", p0, p1, p2, p3));
}
function log(address p0, uint256 p1, address p2, bool p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,uint256,address,bool)", p0, p1, p2, p3));
}
function log(address p0, uint256 p1, address p2, address p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,uint256,address,address)", p0, p1, p2, p3));
}
function log(address p0, string memory p1, uint256 p2, uint256 p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,string,uint256,uint256)", p0, p1, p2, p3));
}
function log(address p0, string memory p1, uint256 p2, string memory p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,string,uint256,string)", p0, p1, p2, p3));
}
function log(address p0, string memory p1, uint256 p2, bool p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,string,uint256,bool)", p0, p1, p2, p3));
}
function log(address p0, string memory p1, uint256 p2, address p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,string,uint256,address)", p0, p1, p2, p3));
}
function log(address p0, string memory p1, string memory p2, uint256 p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,string,string,uint256)", p0, p1, p2, p3));
}
function log(address p0, string memory p1, string memory p2, string memory p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,string,string,string)", p0, p1, p2, p3));
}
function log(address p0, string memory p1, string memory p2, bool p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,string,string,bool)", p0, p1, p2, p3));
}
function log(address p0, string memory p1, string memory p2, address p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,string,string,address)", p0, p1, p2, p3));
}
function log(address p0, string memory p1, bool p2, uint256 p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,string,bool,uint256)", p0, p1, p2, p3));
}
function log(address p0, string memory p1, bool p2, string memory p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,string,bool,string)", p0, p1, p2, p3));
}
function log(address p0, string memory p1, bool p2, bool p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,string,bool,bool)", p0, p1, p2, p3));
}
function log(address p0, string memory p1, bool p2, address p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,string,bool,address)", p0, p1, p2, p3));
}
function log(address p0, string memory p1, address p2, uint256 p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,string,address,uint256)", p0, p1, p2, p3));
}
function log(address p0, string memory p1, address p2, string memory p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,string,address,string)", p0, p1, p2, p3));
}
function log(address p0, string memory p1, address p2, bool p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,string,address,bool)", p0, p1, p2, p3));
}
function log(address p0, string memory p1, address p2, address p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,string,address,address)", p0, p1, p2, p3));
}
function log(address p0, bool p1, uint256 p2, uint256 p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,bool,uint256,uint256)", p0, p1, p2, p3));
}
function log(address p0, bool p1, uint256 p2, string memory p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,bool,uint256,string)", p0, p1, p2, p3));
}
function log(address p0, bool p1, uint256 p2, bool p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,bool,uint256,bool)", p0, p1, p2, p3));
}
function log(address p0, bool p1, uint256 p2, address p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,bool,uint256,address)", p0, p1, p2, p3));
}
function log(address p0, bool p1, string memory p2, uint256 p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,bool,string,uint256)", p0, p1, p2, p3));
}
function log(address p0, bool p1, string memory p2, string memory p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,bool,string,string)", p0, p1, p2, p3));
}
function log(address p0, bool p1, string memory p2, bool p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,bool,string,bool)", p0, p1, p2, p3));
}
function log(address p0, bool p1, string memory p2, address p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,bool,string,address)", p0, p1, p2, p3));
}
function log(address p0, bool p1, bool p2, uint256 p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,uint256)", p0, p1, p2, p3));
}
function log(address p0, bool p1, bool p2, string memory p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,string)", p0, p1, p2, p3));
}
function log(address p0, bool p1, bool p2, bool p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,bool)", p0, p1, p2, p3));
}
function log(address p0, bool p1, bool p2, address p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,address)", p0, p1, p2, p3));
}
function log(address p0, bool p1, address p2, uint256 p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,bool,address,uint256)", p0, p1, p2, p3));
}
function log(address p0, bool p1, address p2, string memory p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,bool,address,string)", p0, p1, p2, p3));
}
function log(address p0, bool p1, address p2, bool p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,bool,address,bool)", p0, p1, p2, p3));
}
function log(address p0, bool p1, address p2, address p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,bool,address,address)", p0, p1, p2, p3));
}
function log(address p0, address p1, uint256 p2, uint256 p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,address,uint256,uint256)", p0, p1, p2, p3));
}
function log(address p0, address p1, uint256 p2, string memory p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,address,uint256,string)", p0, p1, p2, p3));
}
function log(address p0, address p1, uint256 p2, bool p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,address,uint256,bool)", p0, p1, p2, p3));
}
function log(address p0, address p1, uint256 p2, address p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,address,uint256,address)", p0, p1, p2, p3));
}
function log(address p0, address p1, string memory p2, uint256 p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,address,string,uint256)", p0, p1, p2, p3));
}
function log(address p0, address p1, string memory p2, string memory p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,address,string,string)", p0, p1, p2, p3));
}
function log(address p0, address p1, string memory p2, bool p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,address,string,bool)", p0, p1, p2, p3));
}
function log(address p0, address p1, string memory p2, address p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,address,string,address)", p0, p1, p2, p3));
}
function log(address p0, address p1, bool p2, uint256 p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,address,bool,uint256)", p0, p1, p2, p3));
}
function log(address p0, address p1, bool p2, string memory p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,address,bool,string)", p0, p1, p2, p3));
}
function log(address p0, address p1, bool p2, bool p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,address,bool,bool)", p0, p1, p2, p3));
}
function log(address p0, address p1, bool p2, address p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,address,bool,address)", p0, p1, p2, p3));
}
function log(address p0, address p1, address p2, uint256 p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,address,address,uint256)", p0, p1, p2, p3));
}
function log(address p0, address p1, address p2, string memory p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,address,address,string)", p0, p1, p2, p3));
}
function log(address p0, address p1, address p2, bool p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,address,address,bool)", p0, p1, p2, p3));
}
function log(address p0, address p1, address p2, address p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,address,address,address)", p0, p1, p2, p3));
}
}{
"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":"address","name":"_weth","type":"address"},{"internalType":"address[]","name":"auctioneers","type":"address[]"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"auctionId","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"tokenContract","type":"address"},{"indexed":false,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"bidTime","type":"uint256"},{"indexed":false,"internalType":"bool","name":"firstBid","type":"bool"},{"indexed":false,"internalType":"bool","name":"extended","type":"bool"}],"name":"AuctionBid","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"auctionId","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"tokenContract","type":"address"},{"indexed":false,"internalType":"address","name":"tokenOwner","type":"address"}],"name":"AuctionCanceled","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"auctionId","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"tokenContract","type":"address"},{"indexed":false,"internalType":"uint256","name":"duration","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"reservePrice","type":"uint256"},{"indexed":false,"internalType":"address","name":"tokenOwner","type":"address"},{"indexed":false,"internalType":"address","name":"auctionCurrency","type":"address"}],"name":"AuctionCreated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"auctionId","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"tokenContract","type":"address"},{"indexed":false,"internalType":"uint256","name":"duration","type":"uint256"}],"name":"AuctionDurationExtended","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"auctionId","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"tokenContract","type":"address"},{"indexed":false,"internalType":"address","name":"tokenOwner","type":"address"},{"indexed":false,"internalType":"address","name":"winner","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"endTime","type":"uint256"},{"indexed":false,"internalType":"address","name":"auctionCurrency","type":"address"}],"name":"AuctionEnded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"auctionId","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"tokenContract","type":"address"},{"indexed":false,"internalType":"uint256","name":"reservePrice","type":"uint256"}],"name":"AuctionReservePriceUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"auctionId","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"tokenContract","type":"address"},{"indexed":false,"internalType":"address","name":"tokenOwner","type":"address"},{"indexed":false,"internalType":"address","name":"winner","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"address","name":"beneficiaryAddress","type":"address"},{"indexed":false,"internalType":"uint256","name":"royaltyAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"endTime","type":"uint256"},{"indexed":false,"internalType":"address","name":"auctionCurrency","type":"address"}],"name":"AuctionWithRoyaltiesEnded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"tokenContract","type":"address"},{"indexed":true,"internalType":"address","name":"newBeneficiary","type":"address"},{"indexed":true,"internalType":"uint256","name":"royaltyPercentage","type":"uint256"}],"name":"RoyaltySet","type":"event"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"AUCTIONEER","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"who","type":"address"}],"name":"addAuctioneer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"auctions","outputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"address","name":"tokenContract","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"duration","type":"uint256"},{"internalType":"uint256","name":"firstBidTime","type":"uint256"},{"internalType":"uint256","name":"reservePrice","type":"uint256"},{"internalType":"address","name":"tokenOwner","type":"address"},{"internalType":"address payable","name":"bidder","type":"address"},{"internalType":"address","name":"auctionCurrency","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"auctionId","type":"uint256"}],"name":"cancelAuction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"address","name":"tokenContract","type":"address"},{"internalType":"uint256","name":"duration","type":"uint256"},{"internalType":"uint256","name":"reservePrice","type":"uint256"},{"internalType":"address","name":"auctionCurrency","type":"address"}],"name":"createAuction","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"auctionId","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"createBid","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"auctionId","type":"uint256"}],"name":"endAuction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"who","type":"address"}],"name":"isAuctioneer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"sellerOrTekenContract","type":"address"}],"name":"isWhitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minBidIncrementPercentage","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicAuctionsEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"who","type":"address"}],"name":"removeAuctioneer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sellerOrTokenContract","type":"address"}],"name":"removeWhitelistedAccount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"royaltyRegistry","outputs":[{"internalType":"address payable","name":"beneficiary","type":"address"},{"internalType":"uint256","name":"royaltyPercentage","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"auctionId","type":"uint256"},{"internalType":"uint256","name":"reservePrice","type":"uint256"}],"name":"setAuctionReservePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"status","type":"bool"}],"name":"setPublicAuctionsEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"tokenContract","type":"address"},{"internalType":"address payable","name":"beneficiary","type":"address"},{"internalType":"uint256","name":"royaltyPercentage","type":"uint256"}],"name":"setRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"timeBuffer","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":[],"name":"wethAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"sellerOrTokenContract","type":"address"}],"name":"whitelistAccount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whitelistedAccounts","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]Contract Creation Code
60806040523480156200001157600080fd5b506040516200621138038062006211833981810160405281019062000037919062000454565b6001600081905550600062000051620001e060201b60201c565b905080600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35081600460016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506103846003819055506005600460006101000a81548160ff021916908360ff1602179055506000600960006101000a81548160ff021916908315150217905550620001866000801b33620001e860201b60201c565b60005b8151811015620001d757620001c1828281518110620001ad57620001ac62000603565b5b6020026020010151620001fe60201b60201c565b8080620001ce9062000586565b91505062000189565b505050620006a0565b600033905090565b620001fa82826200023360201b60201c565b5050565b620002307f1d693f62a755e2b3c6494da41af454605b9006057cb3c79b6adda1378f2a50a782620001e860201b60201c565b50565b6200024582826200032460201b60201c565b6200032057600180600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550620002c5620001e060201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b60006001600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000620003a6620003a084620004e3565b620004ba565b90508083825260208201905082856020860282011115620003cc57620003cb62000666565b5b60005b85811015620004005781620003e588826200040a565b845260208401935060208301925050600181019050620003cf565b5050509392505050565b6000815190506200041b8162000686565b92915050565b600082601f83011262000439576200043862000661565b5b81516200044b8482602086016200038f565b91505092915050565b600080604083850312156200046e576200046d62000670565b5b60006200047e858286016200040a565b925050602083015167ffffffffffffffff811115620004a257620004a16200066b565b5b620004b08582860162000421565b9150509250929050565b6000620004c6620004d9565b9050620004d4828262000550565b919050565b6000604051905090565b600067ffffffffffffffff82111562000501576200050062000632565b5b602082029050602081019050919050565b60006200051f8262000526565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b6200055b8262000675565b810181811067ffffffffffffffff821117156200057d576200057c62000632565b5b80604052505050565b6000620005938262000546565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415620005c957620005c8620005d4565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b620006918162000512565b81146200069d57600080fd5b50565b615b6180620006b06000396000f3fe6080604052600436106101dc5760003560e01c80638da5cb5b11610102578063bed2b6ac11610095578063eed90aa211610064578063eed90aa2146106b9578063f2fde38b146106f7578063f6a6830f14610720578063ff88f1251461075d576101e3565b8063bed2b6ac14610613578063cbe01bc81461063c578063d547741f14610665578063ec91f2a41461068e576101e3565b8063a217fddf116100d1578063a217fddf14610578578063b296024d146105a3578063b7751c71146105ce578063b9a2de3a146105ea576101e3565b80638da5cb5b146104aa57806391d14854146104d557806396b5a755146105125780639cd85b5b1461053b576101e3565b80633af32abf1161017a57806363e0c2f81161014957806363e0c2f8146104185780636f8a41e114610441578063715018a61461046a578063856af45e14610481576101e3565b80633af32abf146103425780634f0e0ef31461037f57806355c338aa146103aa578063571a26a0146103d3576101e3565b8063248a9ca3116101b6578063248a9ca3146102765780632f2ff15d146102b357806336568abe146102dc57806336bfb6be14610305576101e3565b806301ffc9a7146101e557806312fcaffb1461022257806323e507f71461024b576101e3565b366101e357005b005b3480156101f157600080fd5b5061020c60048036038101906102079190614470565b610788565b6040516102199190614c94565b60405180910390f35b34801561022e57600080fd5b50610249600480360381019061024491906142fc565b610802565b005b34801561025757600080fd5b506102606108d1565b60405161026d9190614caf565b60405180910390f35b34801561028257600080fd5b5061029d60048036038101906102989190614403565b6108f5565b6040516102aa9190614caf565b60405180910390f35b3480156102bf57600080fd5b506102da60048036038101906102d59190614430565b610915565b005b3480156102e857600080fd5b5061030360048036038101906102fe9190614430565b61093e565b005b34801561031157600080fd5b5061032c600480360381019061032791906144f7565b6109c1565b6040516103399190615007565b60405180910390f35b34801561034e57600080fd5b50610369600480360381019061036491906142fc565b610f17565b6040516103769190614c94565b60405180910390f35b34801561038b57600080fd5b50610394610f29565b6040516103a19190614aa4565b60405180910390f35b3480156103b657600080fd5b506103d160048036038101906103cc9190614356565b610f4f565b005b3480156103df57600080fd5b506103fa60048036038101906103f5919061449d565b6110ea565b60405161040f99989796959493929190615022565b60405180910390f35b34801561042457600080fd5b5061043f600480360381019061043a91906142fc565b6111b8565b005b34801561044d57600080fd5b5061046860048036038101906104639190614572565b611241565b005b34801561047657600080fd5b5061047f611508565b005b34801561048d57600080fd5b506104a860048036038101906104a391906143a9565b611645565b005b3480156104b657600080fd5b506104bf6116ae565b6040516104cc9190614aa4565b60405180910390f35b3480156104e157600080fd5b506104fc60048036038101906104f79190614430565b6116d8565b6040516105099190614c94565b60405180910390f35b34801561051e57600080fd5b506105396004803603810190610534919061449d565b611743565b005b34801561054757600080fd5b50610562600480360381019061055d91906142fc565b6119b1565b60405161056f9190614c94565b60405180910390f35b34801561058457600080fd5b5061058d6119c3565b60405161059a9190614caf565b60405180910390f35b3480156105af57600080fd5b506105b86119ca565b6040516105c591906150f4565b60405180910390f35b6105e860048036038101906105e39190614572565b6119dd565b005b3480156105f657600080fd5b50610611600480360381019061060c919061449d565b612070565b005b34801561061f57600080fd5b5061063a600480360381019061063591906142fc565b612bab565b005b34801561064857600080fd5b50610663600480360381019061065e91906142fc565b612c24565b005b34801561067157600080fd5b5061068c60048036038101906106879190614430565b612c7c565b005b34801561069a57600080fd5b506106a3612ca5565b6040516106b09190615007565b60405180910390f35b3480156106c557600080fd5b506106e060048036038101906106db91906142fc565b612cab565b6040516106ee929190614abf565b60405180910390f35b34801561070357600080fd5b5061071e600480360381019061071991906142fc565b612cef565b005b34801561072c57600080fd5b50610747600480360381019061074291906142fc565b612e9b565b6040516107549190614c94565b60405180910390f35b34801561076957600080fd5b50610772612ebb565b60405161077f9190614c94565b60405180910390f35b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806107fb57506107fa82612ece565b5b9050919050565b61082c7f1d693f62a755e2b3c6494da41af454605b9006057cb3c79b6adda1378f2a50a7336116d8565b80610840575061083f6000801b336116d8565b5b61087f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161087690614e27565b60405180910390fd5b600760008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81549060ff021916905550565b7f1d693f62a755e2b3c6494da41af454605b9006057cb3c79b6adda1378f2a50a781565b600060016000838152602001908152602001600020600101549050919050565b61091e826108f5565b61092f8161092a612f38565b612f40565b6109398383612fdd565b505050565b610946612f38565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146109b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109aa90614fa7565b60405180910390fd5b6109bd82826130bd565b5050565b600060026000541415610a09576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0090614f67565b60405180910390fd5b60026000819055508473ffffffffffffffffffffffffffffffffffffffff166301ffc9a76380ac58cd60e01b6040518263ffffffff1660e01b8152600401610a519190614cca565b60206040518083038186803b158015610a6957600080fd5b505afa158015610a7d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aa191906143d6565b610ae0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ad790614fc7565b60405180910390fd5b60008573ffffffffffffffffffffffffffffffffffffffff16636352211e886040518263ffffffff1660e01b8152600401610b1b9190615007565b60206040518083038186803b158015610b3357600080fd5b505afa158015610b47573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b6b9190614329565b90503373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610bdb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bd290614de7565b60405180910390fd5b610be5818761319f565b610c24576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c1b90614ee7565b60405180910390fd5b6000610c30600861322d565b90506040518061012001604052808981526020018873ffffffffffffffffffffffffffffffffffffffff16815260200160008152602001878152602001600081526020018681526020018373ffffffffffffffffffffffffffffffffffffffff168152602001600073ffffffffffffffffffffffffffffffffffffffff1681526020018573ffffffffffffffffffffffffffffffffffffffff16815250600560008381526020019081526020016000206000820151816000015560208201518160010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060408201518160020155606082015181600301556080820151816004015560a0820151816005015560c08201518160060160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060e08201518160070160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506101008201518160080160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055509050508673ffffffffffffffffffffffffffffffffffffffff166323b872dd83308b6040518463ffffffff1660e01b8152600401610e6f93929190614be1565b600060405180830381600087803b158015610e8957600080fd5b505af1158015610e9d573d6000803e3d6000fd5b50505050610eab600861323b565b8673ffffffffffffffffffffffffffffffffffffffff1688827f4077285700d637595ba695e31bc3daf68d974df3c847fc23daba2185e98695218989878a604051610ef994939291906150af565b60405180910390a48092505050600160008190555095945050505050565b6000610f2282613251565b9050919050565b600460019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610f797f1d693f62a755e2b3c6494da41af454605b9006057cb3c79b6adda1378f2a50a7336116d8565b80610f8d5750610f8c6000801b336116d8565b5b610fcc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fc390614e27565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff16815260200182815250600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160010155905050808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f6f5b4e162a5bcb4c9002a853f3f0f850f68a3ea9de4507cc670f4f43654abe4a60405160405180910390a4505050565b60056020528060005260406000206000915090508060000154908060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060020154908060030154908060040154908060050154908060060160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060070160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060080160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905089565b6111e27f1d693f62a755e2b3c6494da41af454605b9006057cb3c79b6adda1378f2a50a7336116d8565b806111f657506111f56000801b336116d8565b5b611235576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161122c90614e27565b60405180910390fd5b61123e816132a7565b50565b8161124b81613302565b61128a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161128190614e87565b60405180910390fd5b61129333613371565b806112ff57503373ffffffffffffffffffffffffffffffffffffffff166005600085815260200190815260200160002060060160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16145b61133e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161133590614e67565b60405180910390fd5b6113b46005600085815260200190815260200160002060060160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166005600086815260200190815260200160002060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1661319f565b6113f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113ea90614ee7565b60405180910390fd5b600060056000858152602001908152602001600020600401541461144c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161144390614e07565b60405180910390fd5b8160056000858152602001908152602001600020600501819055506005600084815260200190815260200160002060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166005600085815260200190815260200160002060000154847f01e6a465ec1edd582d333147c7b7edf5998164f2cf2269dcb9c93d46c67bd317856040516114fb9190615007565b60405180910390a4505050565b611510612f38565b73ffffffffffffffffffffffffffffffffffffffff1661152e6116ae565b73ffffffffffffffffffffffffffffffffffffffff1614611584576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161157b90614ea7565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b6116526000801b336116d8565b611691576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168890614d27565b60405180910390fd5b80600960006101000a81548160ff02191690831515021790555050565b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60006001600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60026000541415611789576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161178090614f67565b60405180910390fd5b60026000819055508061179b81613302565b6117da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117d190614e87565b60405180910390fd5b6117e333613371565b8061184f57503373ffffffffffffffffffffffffffffffffffffffff166005600084815260200190815260200160002060060160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16145b61188e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161188590614e67565b60405180910390fd5b6119046005600084815260200190815260200160002060060160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166005600085815260200190815260200160002060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1661319f565b611943576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161193a90614ee7565b60405180910390fd5b600060056000848152602001908152602001600020600401541461199c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161199390614d47565b60405180910390fd5b6119a5826133b8565b50600160008190555050565b60006119bc82613371565b9050919050565b6000801b81565b600460009054906101000a900460ff1681565b816119e781613302565b611a26576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a1d90614e87565b60405180910390fd5b60026000541415611a6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a6390614f67565b60405180910390fd5b600260008190555060006005600085815260200190815260200160002060070160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600060056000868152602001908152602001600020600401541480611b115750611b0e6005600086815260200190815260200160002060030154600560008781526020019081526020016000206004015461362890919063ffffffff16565b42105b611b50576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b4790614f87565b60405180910390fd5b6005600085815260200190815260200160002060050154831015611ba9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ba090614dc7565b60405180910390fd5b611c1f611bfa6064611bec600460009054906101000a900460ff1660ff16600560008a81526020019081526020016000206002015461363e90919063ffffffff16565b61365490919063ffffffff16565b600560008781526020019081526020016000206002015461362890919063ffffffff16565b831015611c61576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c5890614e47565b60405180910390fd5b600060056000868152602001908152602001600020600401541415611ca057426005600086815260200190815260200160002060040181905550611d2d565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611d2c57611d2b8160056000878152602001908152602001600020600201546005600088815260200190815260200160002060080160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1661366a565b5b5b611d6d836005600087815260200190815260200160002060080160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16613841565b826005600086815260200190815260200160002060020181905550336005600086815260200190815260200160002060070160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000600354611e3342611e25600560008a815260200190815260200160002060030154600560008b81526020019081526020016000206004015461362890919063ffffffff16565b613ae890919063ffffffff16565b1015611ed557600060056000878152602001908152602001600020600301549050611eb5611ea6611e9542611e8785600560008d81526020019081526020016000206004015461362890919063ffffffff16565b613ae890919063ffffffff16565b600354613ae890919063ffffffff16565b8261362890919063ffffffff16565b600560008881526020019081526020016000206003018190555060019150505b6005600086815260200190815260200160002060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166005600087815260200190815260200160002060000154867f0cdc87d824cc34065559c15a02155029135536289b672360ab162f45c04ebc4a338842600073ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff161488604051611fa0959493929190614c41565b60405180910390a48015612061576005600086815260200190815260200160002060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166005600087815260200190815260200160002060000154867f55cf2b31608fbe49fa31cd0285b6b6cce46f56d26c8c59980a2af5a0ffbdd5db600560008a8152602001908152602001600020600301546040516120589190615007565b60405180910390a45b50506001600081905550505050565b8061207a81613302565b6120b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120b090614e87565b60405180910390fd5b600260005414156120ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120f690614f67565b60405180910390fd5b6002600081905550600060056000848152602001908152602001600020600401541415612161576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161215890614da7565b60405180910390fd5b6121a06005600084815260200190815260200160002060030154600560008581526020019081526020016000206004015461362890919063ffffffff16565b4210156121e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121d990614f47565b60405180910390fd5b60008073ffffffffffffffffffffffffffffffffffffffff166005600085815260200190815260200160002060080160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612289576005600084815260200190815260200160002060080160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166122ad565b600460019054906101000a900473ffffffffffffffffffffffffffffffffffffffff165b905060006005600085815260200190815260200160002060020154905060006005600086815260200190815260200160002060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690506005600086815260200190815260200160002060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166342842e0e306005600089815260200190815260200160002060070160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600560008a8152602001908152602001600020600001546040518463ffffffff1660e01b81526004016123c493929190614ae8565b600060405180830381600087803b1580156123de57600080fd5b505af19250505080156123ef575060015b612491576124806005600087815260200190815260200160002060070160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1660056000888152602001908152602001600020600201546005600089815260200190815260200160002060080160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1661366a565b612489856133b8565b505050612b9f565b600073ffffffffffffffffffffffffffffffffffffffff16600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141580156125f457506005600086815260200190815260200160002060060160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614155b801561264257506000600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060010154115b15612939576000612689866005600089815260200190815260200160002060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16613afe565b905060006126a08285613ae890919063ffffffff16565b9050612745600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1683600560008b815260200190815260200160002060080160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1661366a565b6127bc6005600089815260200190815260200160002060060160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682600560008b815260200190815260200160002060080160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1661366a565b6005600088815260200190815260200160002060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166005600089815260200190815260200160002060000154887f1cc62382fdc5c7301f869520011e13d7dda380079e98790927d0ab2aa7644fe5600560008c815260200190815260200160002060060160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600560008d815260200190815260200160002060070160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1686600660008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1689428e60405161292a9796959493929190614b1f565b60405180910390a45050612ac1565b6129b06005600087815260200190815260200160002060060160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16836005600089815260200190815260200160002060080160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1661366a565b6005600086815260200190815260200160002060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166005600087815260200190815260200160002060000154867f46a8e27edc013eca520f0b26b7b9e7e2842ef5030f14ff09141b1bc9780cdf14600560008a815260200190815260200160002060060160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600560008b815260200190815260200160002060070160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1687428a604051612ab8959493929190614b8e565b60405180910390a45b600560008681526020019081526020016000206000808201600090556001820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905560028201600090556003820160009055600482016000905560058201600090556006820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556007820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556008820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905550505050505b60016000819055505050565b612bb86000801b336116d8565b612bf7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bee90614d27565b60405180910390fd5b612c217f1d693f62a755e2b3c6494da41af454605b9006057cb3c79b6adda1378f2a50a782612c7c565b50565b612c316000801b336116d8565b612c70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c6790614d27565b60405180910390fd5b612c7981613b86565b50565b612c85826108f5565b612c9681612c91612f38565b612f40565b612ca083836130bd565b505050565b60035481565b60066020528060005260406000206000915090508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060010154905082565b612cf7612f38565b73ffffffffffffffffffffffffffffffffffffffff16612d156116ae565b73ffffffffffffffffffffffffffffffffffffffff1614612d6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d6290614ea7565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612ddb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612dd290614d67565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60076020528060005260406000206000915054906101000a900460ff1681565b600960009054906101000a900460ff1681565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b612f4a82826116d8565b612fd957612f6f8173ffffffffffffffffffffffffffffffffffffffff166014613bb3565b612f7d8360001c6020613bb3565b604051602001612f8e929190614a6a565b6040516020818303038152906040526040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fd09190614ce5565b60405180910390fd5b5050565b612fe782826116d8565b6130b957600180600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555061305e612f38565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6130c782826116d8565b1561319b5760006001600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550613140612f38565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b60006131ae6000801b846116d8565b806131df57506131de7f1d693f62a755e2b3c6494da41af454605b9006057cb3c79b6adda1378f2a50a7846116d8565b5b156131ed5760019050613227565b600960009054906101000a900460ff16156132225761320b83613251565b8061321b575061321a82613251565b5b9050613227565b600090505b92915050565b600081600001549050919050565b6001816000016000828254019250508190555050565b6000600760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b6001600760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b60008073ffffffffffffffffffffffffffffffffffffffff166005600084815260200190815260200160002060060160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600061339d7f1d693f62a755e2b3c6494da41af454605b9006057cb3c79b6adda1378f2a50a7836116d8565b806133b157506133b06000801b836116d8565b5b9050919050565b60006005600083815260200190815260200160002060060160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690506005600083815260200190815260200160002060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166342842e0e308360056000878152602001908152602001600020600001546040518463ffffffff1660e01b815260040161347c93929190614be1565b600060405180830381600087803b15801561349657600080fd5b505af11580156134aa573d6000803e3d6000fd5b505050506005600083815260200190815260200160002060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166005600084815260200190815260200160002060000154837f6091afcbe8514686c43b167ca4f1b03e24446d29d8490d496e438f8a2c763439846040516135429190614aa4565b60405180910390a4600560008381526020019081526020016000206000808201600090556001820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905560028201600090556003820160009055600482016000905560058201600090556006820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556007820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556008820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905550505050565b60008183613636919061514c565b905092915050565b6000818361364c91906151d3565b905092915050565b6000818361366291906151a2565b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561381057600460019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16632e1a7d4d836040518263ffffffff1660e01b81526004016136fa9190615007565b600060405180830381600087803b15801561371457600080fd5b505af1158015613728573d6000803e3d6000fd5b505050506137368383613def565b61380b57600460019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d0e30db0836040518263ffffffff1660e01b81526004016000604051808303818588803b1580156137a457600080fd5b505af11580156137b8573d6000803e3d6000fd5b505050505061380a8383600460019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16613eb59092919063ffffffff16565b5b61383c565b61383b83838373ffffffffffffffffffffffffffffffffffffffff16613eb59092919063ffffffff16565b5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415613940578134146138b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016138af90614ec7565b60405180910390fd5b600460019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d0e30db0836040518263ffffffff1660e01b81526004016000604051808303818588803b15801561392257600080fd5b505af1158015613936573d6000803e3d6000fd5b5050505050613ae4565b600081905060008173ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016139809190614aa4565b60206040518083038186803b15801561399857600080fd5b505afa1580156139ac573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906139d091906144ca565b90506139ff3330868573ffffffffffffffffffffffffffffffffffffffff16613f3b909392919063ffffffff16565b60008273ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401613a3a9190614aa4565b60206040518083038186803b158015613a5257600080fd5b505afa158015613a66573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613a8a91906144ca565b905080613aa0868461362890919063ffffffff16565b14613ae0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613ad790614fe7565b60405180910390fd5b5050505b5050565b60008183613af6919061522d565b905092915050565b6000613b7e600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060010154613b706064600560008881526020019081526020016000206002015461365490919063ffffffff16565b61363e90919063ffffffff16565b905092915050565b613bb07f1d693f62a755e2b3c6494da41af454605b9006057cb3c79b6adda1378f2a50a782613fc4565b50565b606060006002836002613bc691906151d3565b613bd0919061514c565b67ffffffffffffffff811115613be957613be861541e565b5b6040519080825280601f01601f191660200182016040528015613c1b5781602001600182028036833780820191505090505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110613c5357613c526153ef565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110613cb757613cb66153ef565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060006001846002613cf791906151d3565b613d01919061514c565b90505b6001811115613da1577f3031323334353637383961626364656600000000000000000000000000000000600f861660108110613d4357613d426153ef565b5b1a60f81b828281518110613d5a57613d596153ef565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c945080613d9a90615367565b9050613d04565b5060008414613de5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613ddc90614d07565b60405180910390fd5b8091505092915050565b6000808373ffffffffffffffffffffffffffffffffffffffff1683600067ffffffffffffffff811115613e2557613e2461541e565b5b6040519080825280601f01601f191660200182016040528015613e575781602001600182028036833780820191505090505b50604051613e659190614a53565b60006040518083038185875af1925050503d8060008114613ea2576040519150601f19603f3d011682016040523d82523d6000602084013e613ea7565b606091505b505090508091505092915050565b613f368363a9059cbb60e01b8484604051602401613ed4929190614c18565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050613fd2565b505050565b613fbe846323b872dd60e01b858585604051602401613f5c93929190614be1565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050613fd2565b50505050565b613fce8282612fdd565b5050565b6000614034826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166140999092919063ffffffff16565b9050600081511115614094578080602001905181019061405491906143d6565b614093576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161408a90614f27565b60405180910390fd5b5b505050565b60606140a884846000856140b1565b90509392505050565b6060824710156140f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016140ed90614d87565b60405180910390fd5b6140ff856141c5565b61413e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161413590614f07565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040516141679190614a53565b60006040518083038185875af1925050503d80600081146141a4576040519150601f19603f3d011682016040523d82523d6000602084013e6141a9565b606091505b50915091506141b98282866141d8565b92505050949350505050565b600080823b905060008111915050919050565b606083156141e857829050614238565b6000835111156141fb5782518084602001fd5b816040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161422f9190614ce5565b60405180910390fd5b9392505050565b60008135905061424e81615aa1565b92915050565b60008151905061426381615aa1565b92915050565b60008135905061427881615ab8565b92915050565b60008135905061428d81615acf565b92915050565b6000815190506142a281615acf565b92915050565b6000813590506142b781615ae6565b92915050565b6000813590506142cc81615afd565b92915050565b6000813590506142e181615b14565b92915050565b6000815190506142f681615b14565b92915050565b6000602082840312156143125761431161544d565b5b60006143208482850161423f565b91505092915050565b60006020828403121561433f5761433e61544d565b5b600061434d84828501614254565b91505092915050565b60008060006060848603121561436f5761436e61544d565b5b600061437d8682870161423f565b935050602061438e86828701614269565b925050604061439f868287016142d2565b9150509250925092565b6000602082840312156143bf576143be61544d565b5b60006143cd8482850161427e565b91505092915050565b6000602082840312156143ec576143eb61544d565b5b60006143fa84828501614293565b91505092915050565b6000602082840312156144195761441861544d565b5b6000614427848285016142a8565b91505092915050565b600080604083850312156144475761444661544d565b5b6000614455858286016142a8565b92505060206144668582860161423f565b9150509250929050565b6000602082840312156144865761448561544d565b5b6000614494848285016142bd565b91505092915050565b6000602082840312156144b3576144b261544d565b5b60006144c1848285016142d2565b91505092915050565b6000602082840312156144e0576144df61544d565b5b60006144ee848285016142e7565b91505092915050565b600080600080600060a086880312156145135761451261544d565b5b6000614521888289016142d2565b95505060206145328882890161423f565b9450506040614543888289016142d2565b9350506060614554888289016142d2565b92505060806145658882890161423f565b9150509295509295909350565b600080604083850312156145895761458861544d565b5b6000614597858286016142d2565b92505060206145a8858286016142d2565b9150509250929050565b6145bb816152fe565b82525050565b6145ca81615273565b82525050565b6145d981615261565b82525050565b6145e881615285565b82525050565b6145f781615291565b82525050565b6146068161529b565b82525050565b60006146178261510f565b6146218185615125565b9350614631818560208601615334565b80840191505092915050565b60006146488261511a565b6146528185615130565b9350614662818560208601615334565b61466b81615452565b840191505092915050565b60006146818261511a565b61468b8185615141565b935061469b818560208601615334565b80840191505092915050565b60006146b4602083615130565b91506146bf82615463565b602082019050919050565b60006146d7602283615130565b91506146e28261548c565b604082019050919050565b60006146fa602783615130565b9150614705826154db565b604082019050919050565b600061471d602683615130565b91506147288261552a565b604082019050919050565b6000614740602683615130565b915061474b82615579565b604082019050919050565b6000614763601483615130565b915061476e826155c8565b602082019050919050565b6000614786601f83615130565b9150614791826155f1565b602082019050919050565b60006147a9601483615130565b91506147b48261561a565b602082019050919050565b60006147cc601b83615130565b91506147d782615643565b602082019050919050565b60006147ef602a83615130565b91506147fa8261566c565b604082019050919050565b6000614812604083615130565b915061481d826156bb565b604082019050919050565b6000614835602283615130565b91506148408261570a565b604082019050919050565b6000614858601583615130565b915061486382615759565b602082019050919050565b600061487b602083615130565b915061488682615782565b602082019050919050565b600061489e603283615130565b91506148a9826157ab565b604082019050919050565b60006148c1604483615130565b91506148cc826157fa565b606082019050919050565b60006148e4601d83615130565b91506148ef8261586f565b602082019050919050565b6000614907601783615141565b915061491282615898565b601782019050919050565b600061492a602a83615130565b9150614935826158c1565b604082019050919050565b600061494d601883615130565b915061495882615910565b602082019050919050565b6000614970601f83615130565b915061497b82615939565b602082019050919050565b6000614993600f83615130565b915061499e82615962565b602082019050919050565b60006149b6601183615141565b91506149c18261598b565b601182019050919050565b60006149d9602f83615130565b91506149e4826159b4565b604082019050919050565b60006149fc602f83615130565b9150614a0782615a03565b604082019050919050565b6000614a1f603483615130565b9150614a2a82615a52565b604082019050919050565b614a3e816152e7565b82525050565b614a4d816152f1565b82525050565b6000614a5f828461460c565b915081905092915050565b6000614a75826148fa565b9150614a818285614676565b9150614a8c826149a9565b9150614a988284614676565b91508190509392505050565b6000602082019050614ab960008301846145d0565b92915050565b6000604082019050614ad460008301856145c1565b614ae16020830184614a35565b9392505050565b6000606082019050614afd60008301866145d0565b614b0a60208301856145b2565b614b176040830184614a35565b949350505050565b600060e082019050614b34600083018a6145d0565b614b4160208301896145b2565b614b4e6040830188614a35565b614b5b60608301876145b2565b614b686080830186614a35565b614b7560a0830185614a35565b614b8260c08301846145d0565b98975050505050505050565b600060a082019050614ba360008301886145d0565b614bb060208301876145b2565b614bbd6040830186614a35565b614bca6060830185614a35565b614bd760808301846145d0565b9695505050505050565b6000606082019050614bf660008301866145d0565b614c0360208301856145d0565b614c106040830184614a35565b949350505050565b6000604082019050614c2d60008301856145d0565b614c3a6020830184614a35565b9392505050565b600060a082019050614c5660008301886145d0565b614c636020830187614a35565b614c706040830186614a35565b614c7d60608301856145df565b614c8a60808301846145df565b9695505050505050565b6000602082019050614ca960008301846145df565b92915050565b6000602082019050614cc460008301846145ee565b92915050565b6000602082019050614cdf60008301846145fd565b92915050565b60006020820190508181036000830152614cff818461463d565b905092915050565b60006020820190508181036000830152614d20816146a7565b9050919050565b60006020820190508181036000830152614d40816146ca565b9050919050565b60006020820190508181036000830152614d60816146ed565b9050919050565b60006020820190508181036000830152614d8081614710565b9050919050565b60006020820190508181036000830152614da081614733565b9050919050565b60006020820190508181036000830152614dc081614756565b9050919050565b60006020820190508181036000830152614de081614779565b9050919050565b60006020820190508181036000830152614e008161479c565b9050919050565b60006020820190508181036000830152614e20816147bf565b9050919050565b60006020820190508181036000830152614e40816147e2565b9050919050565b60006020820190508181036000830152614e6081614805565b9050919050565b60006020820190508181036000830152614e8081614828565b9050919050565b60006020820190508181036000830152614ea08161484b565b9050919050565b60006020820190508181036000830152614ec08161486e565b9050919050565b60006020820190508181036000830152614ee081614891565b9050919050565b60006020820190508181036000830152614f00816148b4565b9050919050565b60006020820190508181036000830152614f20816148d7565b9050919050565b60006020820190508181036000830152614f408161491d565b9050919050565b60006020820190508181036000830152614f6081614940565b9050919050565b60006020820190508181036000830152614f8081614963565b9050919050565b60006020820190508181036000830152614fa081614986565b9050919050565b60006020820190508181036000830152614fc0816149cc565b9050919050565b60006020820190508181036000830152614fe0816149ef565b9050919050565b6000602082019050818103600083015261500081614a12565b9050919050565b600060208201905061501c6000830184614a35565b92915050565b600061012082019050615038600083018c614a35565b615045602083018b6145d0565b615052604083018a614a35565b61505f6060830189614a35565b61506c6080830188614a35565b61507960a0830187614a35565b61508660c08301866145d0565b61509360e08301856145c1565b6150a16101008301846145d0565b9a9950505050505050505050565b60006080820190506150c46000830187614a35565b6150d16020830186614a35565b6150de60408301856145d0565b6150eb60608301846145d0565b95945050505050565b60006020820190506151096000830184614a44565b92915050565b600081519050919050565b600081519050919050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000615157826152e7565b9150615162836152e7565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561519757615196615391565b5b828201905092915050565b60006151ad826152e7565b91506151b8836152e7565b9250826151c8576151c76153c0565b5b828204905092915050565b60006151de826152e7565b91506151e9836152e7565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561522257615221615391565b5b828202905092915050565b6000615238826152e7565b9150615243836152e7565b92508282101561525657615255615391565b5b828203905092915050565b600061526c826152c7565b9050919050565b600061527e826152c7565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b600061530982615310565b9050919050565b600061531b82615322565b9050919050565b600061532d826152c7565b9050919050565b60005b83811015615352578082015181840152602081019050615337565b83811115615361576000848401525b50505050565b6000615372826152e7565b9150600082141561538657615385615391565b5b600182039050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b6000601f19601f8301169050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b7f43616c6c206d757374206265206d6164652062792061646d696e69737472617460008201527f6f72000000000000000000000000000000000000000000000000000000000000602082015250565b7f43616e27742063616e63656c20616e2061756374696f6e206f6e63652069742760008201527f7320626567756e00000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b7f41756374696f6e206861736e277420626567756e000000000000000000000000600082015250565b7f4d7573742073656e64206174206c656173742072657365727665507269636500600082015250565b7f4d757374206265206f776e6572206f66204e4654000000000000000000000000600082015250565b7f41756374696f6e2068617320616c726561647920737461727465640000000000600082015250565b7f43616c6c206d757374206265206d61646520627920617574686f72697a65642060008201527f61756374696f6e65657200000000000000000000000000000000000000000000602082015250565b7f4d7573742073656e64206d6f7265207468616e206c617374206269642062792060008201527f6d696e426964496e6372656d656e7450657263656e7461676520616d6f756e74602082015250565b7f4d7573742062652061756374696f6e656572206f72206f776e6572206f66204e60008201527f4654000000000000000000000000000000000000000000000000000000000000602082015250565b7f41756374696f6e20646f65736e27742065786973740000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f53656e74204554482056616c756520646f6573206e6f74206d6174636820737060008201527f656369666965642062696420616d6f756e740000000000000000000000000000602082015250565b7f43616c6c206d757374206265206d61646520627920617574686f72697a65642060008201527f73656c6c65722c20746f6b656e20636f6e7472616374206f722061756374696f60208201527f6e65657200000000000000000000000000000000000000000000000000000000604082015250565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b7f41756374696f6e206861736e277420636f6d706c657465640000000000000000600082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b7f41756374696f6e20657870697265640000000000000000000000000000000000600082015250565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b7f746f6b656e436f6e747261637420646f6573206e6f7420737570706f7274204560008201527f524337323120696e746572666163650000000000000000000000000000000000602082015250565b7f546f6b656e207472616e736665722063616c6c20646964206e6f74207472616e60008201527f7366657220657870656374656420616d6f756e74000000000000000000000000602082015250565b615aaa81615261565b8114615ab557600080fd5b50565b615ac181615273565b8114615acc57600080fd5b50565b615ad881615285565b8114615ae357600080fd5b50565b615aef81615291565b8114615afa57600080fd5b50565b615b068161529b565b8114615b1157600080fd5b50565b615b1d816152e7565b8114615b2857600080fd5b5056fea2646970667358221220ab32cf12d162f5cbaf67eebe0f7c3d8a88744f6f22ae0a78454d962a20cacf5e64736f6c63430008070033000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106101dc5760003560e01c80638da5cb5b11610102578063bed2b6ac11610095578063eed90aa211610064578063eed90aa2146106b9578063f2fde38b146106f7578063f6a6830f14610720578063ff88f1251461075d576101e3565b8063bed2b6ac14610613578063cbe01bc81461063c578063d547741f14610665578063ec91f2a41461068e576101e3565b8063a217fddf116100d1578063a217fddf14610578578063b296024d146105a3578063b7751c71146105ce578063b9a2de3a146105ea576101e3565b80638da5cb5b146104aa57806391d14854146104d557806396b5a755146105125780639cd85b5b1461053b576101e3565b80633af32abf1161017a57806363e0c2f81161014957806363e0c2f8146104185780636f8a41e114610441578063715018a61461046a578063856af45e14610481576101e3565b80633af32abf146103425780634f0e0ef31461037f57806355c338aa146103aa578063571a26a0146103d3576101e3565b8063248a9ca3116101b6578063248a9ca3146102765780632f2ff15d146102b357806336568abe146102dc57806336bfb6be14610305576101e3565b806301ffc9a7146101e557806312fcaffb1461022257806323e507f71461024b576101e3565b366101e357005b005b3480156101f157600080fd5b5061020c60048036038101906102079190614470565b610788565b6040516102199190614c94565b60405180910390f35b34801561022e57600080fd5b50610249600480360381019061024491906142fc565b610802565b005b34801561025757600080fd5b506102606108d1565b60405161026d9190614caf565b60405180910390f35b34801561028257600080fd5b5061029d60048036038101906102989190614403565b6108f5565b6040516102aa9190614caf565b60405180910390f35b3480156102bf57600080fd5b506102da60048036038101906102d59190614430565b610915565b005b3480156102e857600080fd5b5061030360048036038101906102fe9190614430565b61093e565b005b34801561031157600080fd5b5061032c600480360381019061032791906144f7565b6109c1565b6040516103399190615007565b60405180910390f35b34801561034e57600080fd5b50610369600480360381019061036491906142fc565b610f17565b6040516103769190614c94565b60405180910390f35b34801561038b57600080fd5b50610394610f29565b6040516103a19190614aa4565b60405180910390f35b3480156103b657600080fd5b506103d160048036038101906103cc9190614356565b610f4f565b005b3480156103df57600080fd5b506103fa60048036038101906103f5919061449d565b6110ea565b60405161040f99989796959493929190615022565b60405180910390f35b34801561042457600080fd5b5061043f600480360381019061043a91906142fc565b6111b8565b005b34801561044d57600080fd5b5061046860048036038101906104639190614572565b611241565b005b34801561047657600080fd5b5061047f611508565b005b34801561048d57600080fd5b506104a860048036038101906104a391906143a9565b611645565b005b3480156104b657600080fd5b506104bf6116ae565b6040516104cc9190614aa4565b60405180910390f35b3480156104e157600080fd5b506104fc60048036038101906104f79190614430565b6116d8565b6040516105099190614c94565b60405180910390f35b34801561051e57600080fd5b506105396004803603810190610534919061449d565b611743565b005b34801561054757600080fd5b50610562600480360381019061055d91906142fc565b6119b1565b60405161056f9190614c94565b60405180910390f35b34801561058457600080fd5b5061058d6119c3565b60405161059a9190614caf565b60405180910390f35b3480156105af57600080fd5b506105b86119ca565b6040516105c591906150f4565b60405180910390f35b6105e860048036038101906105e39190614572565b6119dd565b005b3480156105f657600080fd5b50610611600480360381019061060c919061449d565b612070565b005b34801561061f57600080fd5b5061063a600480360381019061063591906142fc565b612bab565b005b34801561064857600080fd5b50610663600480360381019061065e91906142fc565b612c24565b005b34801561067157600080fd5b5061068c60048036038101906106879190614430565b612c7c565b005b34801561069a57600080fd5b506106a3612ca5565b6040516106b09190615007565b60405180910390f35b3480156106c557600080fd5b506106e060048036038101906106db91906142fc565b612cab565b6040516106ee929190614abf565b60405180910390f35b34801561070357600080fd5b5061071e600480360381019061071991906142fc565b612cef565b005b34801561072c57600080fd5b50610747600480360381019061074291906142fc565b612e9b565b6040516107549190614c94565b60405180910390f35b34801561076957600080fd5b50610772612ebb565b60405161077f9190614c94565b60405180910390f35b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806107fb57506107fa82612ece565b5b9050919050565b61082c7f1d693f62a755e2b3c6494da41af454605b9006057cb3c79b6adda1378f2a50a7336116d8565b80610840575061083f6000801b336116d8565b5b61087f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161087690614e27565b60405180910390fd5b600760008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81549060ff021916905550565b7f1d693f62a755e2b3c6494da41af454605b9006057cb3c79b6adda1378f2a50a781565b600060016000838152602001908152602001600020600101549050919050565b61091e826108f5565b61092f8161092a612f38565b612f40565b6109398383612fdd565b505050565b610946612f38565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146109b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109aa90614fa7565b60405180910390fd5b6109bd82826130bd565b5050565b600060026000541415610a09576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0090614f67565b60405180910390fd5b60026000819055508473ffffffffffffffffffffffffffffffffffffffff166301ffc9a76380ac58cd60e01b6040518263ffffffff1660e01b8152600401610a519190614cca565b60206040518083038186803b158015610a6957600080fd5b505afa158015610a7d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aa191906143d6565b610ae0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ad790614fc7565b60405180910390fd5b60008573ffffffffffffffffffffffffffffffffffffffff16636352211e886040518263ffffffff1660e01b8152600401610b1b9190615007565b60206040518083038186803b158015610b3357600080fd5b505afa158015610b47573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b6b9190614329565b90503373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610bdb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bd290614de7565b60405180910390fd5b610be5818761319f565b610c24576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c1b90614ee7565b60405180910390fd5b6000610c30600861322d565b90506040518061012001604052808981526020018873ffffffffffffffffffffffffffffffffffffffff16815260200160008152602001878152602001600081526020018681526020018373ffffffffffffffffffffffffffffffffffffffff168152602001600073ffffffffffffffffffffffffffffffffffffffff1681526020018573ffffffffffffffffffffffffffffffffffffffff16815250600560008381526020019081526020016000206000820151816000015560208201518160010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060408201518160020155606082015181600301556080820151816004015560a0820151816005015560c08201518160060160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060e08201518160070160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506101008201518160080160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055509050508673ffffffffffffffffffffffffffffffffffffffff166323b872dd83308b6040518463ffffffff1660e01b8152600401610e6f93929190614be1565b600060405180830381600087803b158015610e8957600080fd5b505af1158015610e9d573d6000803e3d6000fd5b50505050610eab600861323b565b8673ffffffffffffffffffffffffffffffffffffffff1688827f4077285700d637595ba695e31bc3daf68d974df3c847fc23daba2185e98695218989878a604051610ef994939291906150af565b60405180910390a48092505050600160008190555095945050505050565b6000610f2282613251565b9050919050565b600460019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610f797f1d693f62a755e2b3c6494da41af454605b9006057cb3c79b6adda1378f2a50a7336116d8565b80610f8d5750610f8c6000801b336116d8565b5b610fcc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fc390614e27565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff16815260200182815250600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160010155905050808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f6f5b4e162a5bcb4c9002a853f3f0f850f68a3ea9de4507cc670f4f43654abe4a60405160405180910390a4505050565b60056020528060005260406000206000915090508060000154908060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060020154908060030154908060040154908060050154908060060160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060070160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060080160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905089565b6111e27f1d693f62a755e2b3c6494da41af454605b9006057cb3c79b6adda1378f2a50a7336116d8565b806111f657506111f56000801b336116d8565b5b611235576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161122c90614e27565b60405180910390fd5b61123e816132a7565b50565b8161124b81613302565b61128a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161128190614e87565b60405180910390fd5b61129333613371565b806112ff57503373ffffffffffffffffffffffffffffffffffffffff166005600085815260200190815260200160002060060160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16145b61133e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161133590614e67565b60405180910390fd5b6113b46005600085815260200190815260200160002060060160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166005600086815260200190815260200160002060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1661319f565b6113f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113ea90614ee7565b60405180910390fd5b600060056000858152602001908152602001600020600401541461144c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161144390614e07565b60405180910390fd5b8160056000858152602001908152602001600020600501819055506005600084815260200190815260200160002060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166005600085815260200190815260200160002060000154847f01e6a465ec1edd582d333147c7b7edf5998164f2cf2269dcb9c93d46c67bd317856040516114fb9190615007565b60405180910390a4505050565b611510612f38565b73ffffffffffffffffffffffffffffffffffffffff1661152e6116ae565b73ffffffffffffffffffffffffffffffffffffffff1614611584576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161157b90614ea7565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b6116526000801b336116d8565b611691576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168890614d27565b60405180910390fd5b80600960006101000a81548160ff02191690831515021790555050565b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60006001600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60026000541415611789576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161178090614f67565b60405180910390fd5b60026000819055508061179b81613302565b6117da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117d190614e87565b60405180910390fd5b6117e333613371565b8061184f57503373ffffffffffffffffffffffffffffffffffffffff166005600084815260200190815260200160002060060160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16145b61188e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161188590614e67565b60405180910390fd5b6119046005600084815260200190815260200160002060060160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166005600085815260200190815260200160002060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1661319f565b611943576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161193a90614ee7565b60405180910390fd5b600060056000848152602001908152602001600020600401541461199c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161199390614d47565b60405180910390fd5b6119a5826133b8565b50600160008190555050565b60006119bc82613371565b9050919050565b6000801b81565b600460009054906101000a900460ff1681565b816119e781613302565b611a26576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a1d90614e87565b60405180910390fd5b60026000541415611a6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a6390614f67565b60405180910390fd5b600260008190555060006005600085815260200190815260200160002060070160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600060056000868152602001908152602001600020600401541480611b115750611b0e6005600086815260200190815260200160002060030154600560008781526020019081526020016000206004015461362890919063ffffffff16565b42105b611b50576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b4790614f87565b60405180910390fd5b6005600085815260200190815260200160002060050154831015611ba9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ba090614dc7565b60405180910390fd5b611c1f611bfa6064611bec600460009054906101000a900460ff1660ff16600560008a81526020019081526020016000206002015461363e90919063ffffffff16565b61365490919063ffffffff16565b600560008781526020019081526020016000206002015461362890919063ffffffff16565b831015611c61576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c5890614e47565b60405180910390fd5b600060056000868152602001908152602001600020600401541415611ca057426005600086815260200190815260200160002060040181905550611d2d565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611d2c57611d2b8160056000878152602001908152602001600020600201546005600088815260200190815260200160002060080160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1661366a565b5b5b611d6d836005600087815260200190815260200160002060080160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16613841565b826005600086815260200190815260200160002060020181905550336005600086815260200190815260200160002060070160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000600354611e3342611e25600560008a815260200190815260200160002060030154600560008b81526020019081526020016000206004015461362890919063ffffffff16565b613ae890919063ffffffff16565b1015611ed557600060056000878152602001908152602001600020600301549050611eb5611ea6611e9542611e8785600560008d81526020019081526020016000206004015461362890919063ffffffff16565b613ae890919063ffffffff16565b600354613ae890919063ffffffff16565b8261362890919063ffffffff16565b600560008881526020019081526020016000206003018190555060019150505b6005600086815260200190815260200160002060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166005600087815260200190815260200160002060000154867f0cdc87d824cc34065559c15a02155029135536289b672360ab162f45c04ebc4a338842600073ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff161488604051611fa0959493929190614c41565b60405180910390a48015612061576005600086815260200190815260200160002060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166005600087815260200190815260200160002060000154867f55cf2b31608fbe49fa31cd0285b6b6cce46f56d26c8c59980a2af5a0ffbdd5db600560008a8152602001908152602001600020600301546040516120589190615007565b60405180910390a45b50506001600081905550505050565b8061207a81613302565b6120b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120b090614e87565b60405180910390fd5b600260005414156120ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120f690614f67565b60405180910390fd5b6002600081905550600060056000848152602001908152602001600020600401541415612161576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161215890614da7565b60405180910390fd5b6121a06005600084815260200190815260200160002060030154600560008581526020019081526020016000206004015461362890919063ffffffff16565b4210156121e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121d990614f47565b60405180910390fd5b60008073ffffffffffffffffffffffffffffffffffffffff166005600085815260200190815260200160002060080160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612289576005600084815260200190815260200160002060080160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166122ad565b600460019054906101000a900473ffffffffffffffffffffffffffffffffffffffff165b905060006005600085815260200190815260200160002060020154905060006005600086815260200190815260200160002060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690506005600086815260200190815260200160002060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166342842e0e306005600089815260200190815260200160002060070160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600560008a8152602001908152602001600020600001546040518463ffffffff1660e01b81526004016123c493929190614ae8565b600060405180830381600087803b1580156123de57600080fd5b505af19250505080156123ef575060015b612491576124806005600087815260200190815260200160002060070160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1660056000888152602001908152602001600020600201546005600089815260200190815260200160002060080160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1661366a565b612489856133b8565b505050612b9f565b600073ffffffffffffffffffffffffffffffffffffffff16600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141580156125f457506005600086815260200190815260200160002060060160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614155b801561264257506000600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060010154115b15612939576000612689866005600089815260200190815260200160002060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16613afe565b905060006126a08285613ae890919063ffffffff16565b9050612745600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1683600560008b815260200190815260200160002060080160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1661366a565b6127bc6005600089815260200190815260200160002060060160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682600560008b815260200190815260200160002060080160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1661366a565b6005600088815260200190815260200160002060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166005600089815260200190815260200160002060000154887f1cc62382fdc5c7301f869520011e13d7dda380079e98790927d0ab2aa7644fe5600560008c815260200190815260200160002060060160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600560008d815260200190815260200160002060070160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1686600660008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1689428e60405161292a9796959493929190614b1f565b60405180910390a45050612ac1565b6129b06005600087815260200190815260200160002060060160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16836005600089815260200190815260200160002060080160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1661366a565b6005600086815260200190815260200160002060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166005600087815260200190815260200160002060000154867f46a8e27edc013eca520f0b26b7b9e7e2842ef5030f14ff09141b1bc9780cdf14600560008a815260200190815260200160002060060160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600560008b815260200190815260200160002060070160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1687428a604051612ab8959493929190614b8e565b60405180910390a45b600560008681526020019081526020016000206000808201600090556001820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905560028201600090556003820160009055600482016000905560058201600090556006820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556007820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556008820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905550505050505b60016000819055505050565b612bb86000801b336116d8565b612bf7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bee90614d27565b60405180910390fd5b612c217f1d693f62a755e2b3c6494da41af454605b9006057cb3c79b6adda1378f2a50a782612c7c565b50565b612c316000801b336116d8565b612c70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c6790614d27565b60405180910390fd5b612c7981613b86565b50565b612c85826108f5565b612c9681612c91612f38565b612f40565b612ca083836130bd565b505050565b60035481565b60066020528060005260406000206000915090508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060010154905082565b612cf7612f38565b73ffffffffffffffffffffffffffffffffffffffff16612d156116ae565b73ffffffffffffffffffffffffffffffffffffffff1614612d6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d6290614ea7565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612ddb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612dd290614d67565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60076020528060005260406000206000915054906101000a900460ff1681565b600960009054906101000a900460ff1681565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b612f4a82826116d8565b612fd957612f6f8173ffffffffffffffffffffffffffffffffffffffff166014613bb3565b612f7d8360001c6020613bb3565b604051602001612f8e929190614a6a565b6040516020818303038152906040526040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fd09190614ce5565b60405180910390fd5b5050565b612fe782826116d8565b6130b957600180600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555061305e612f38565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6130c782826116d8565b1561319b5760006001600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550613140612f38565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b60006131ae6000801b846116d8565b806131df57506131de7f1d693f62a755e2b3c6494da41af454605b9006057cb3c79b6adda1378f2a50a7846116d8565b5b156131ed5760019050613227565b600960009054906101000a900460ff16156132225761320b83613251565b8061321b575061321a82613251565b5b9050613227565b600090505b92915050565b600081600001549050919050565b6001816000016000828254019250508190555050565b6000600760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b6001600760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b60008073ffffffffffffffffffffffffffffffffffffffff166005600084815260200190815260200160002060060160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600061339d7f1d693f62a755e2b3c6494da41af454605b9006057cb3c79b6adda1378f2a50a7836116d8565b806133b157506133b06000801b836116d8565b5b9050919050565b60006005600083815260200190815260200160002060060160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690506005600083815260200190815260200160002060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166342842e0e308360056000878152602001908152602001600020600001546040518463ffffffff1660e01b815260040161347c93929190614be1565b600060405180830381600087803b15801561349657600080fd5b505af11580156134aa573d6000803e3d6000fd5b505050506005600083815260200190815260200160002060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166005600084815260200190815260200160002060000154837f6091afcbe8514686c43b167ca4f1b03e24446d29d8490d496e438f8a2c763439846040516135429190614aa4565b60405180910390a4600560008381526020019081526020016000206000808201600090556001820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905560028201600090556003820160009055600482016000905560058201600090556006820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556007820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556008820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905550505050565b60008183613636919061514c565b905092915050565b6000818361364c91906151d3565b905092915050565b6000818361366291906151a2565b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561381057600460019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16632e1a7d4d836040518263ffffffff1660e01b81526004016136fa9190615007565b600060405180830381600087803b15801561371457600080fd5b505af1158015613728573d6000803e3d6000fd5b505050506137368383613def565b61380b57600460019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d0e30db0836040518263ffffffff1660e01b81526004016000604051808303818588803b1580156137a457600080fd5b505af11580156137b8573d6000803e3d6000fd5b505050505061380a8383600460019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16613eb59092919063ffffffff16565b5b61383c565b61383b83838373ffffffffffffffffffffffffffffffffffffffff16613eb59092919063ffffffff16565b5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415613940578134146138b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016138af90614ec7565b60405180910390fd5b600460019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d0e30db0836040518263ffffffff1660e01b81526004016000604051808303818588803b15801561392257600080fd5b505af1158015613936573d6000803e3d6000fd5b5050505050613ae4565b600081905060008173ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016139809190614aa4565b60206040518083038186803b15801561399857600080fd5b505afa1580156139ac573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906139d091906144ca565b90506139ff3330868573ffffffffffffffffffffffffffffffffffffffff16613f3b909392919063ffffffff16565b60008273ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401613a3a9190614aa4565b60206040518083038186803b158015613a5257600080fd5b505afa158015613a66573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613a8a91906144ca565b905080613aa0868461362890919063ffffffff16565b14613ae0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613ad790614fe7565b60405180910390fd5b5050505b5050565b60008183613af6919061522d565b905092915050565b6000613b7e600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060010154613b706064600560008881526020019081526020016000206002015461365490919063ffffffff16565b61363e90919063ffffffff16565b905092915050565b613bb07f1d693f62a755e2b3c6494da41af454605b9006057cb3c79b6adda1378f2a50a782613fc4565b50565b606060006002836002613bc691906151d3565b613bd0919061514c565b67ffffffffffffffff811115613be957613be861541e565b5b6040519080825280601f01601f191660200182016040528015613c1b5781602001600182028036833780820191505090505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110613c5357613c526153ef565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110613cb757613cb66153ef565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060006001846002613cf791906151d3565b613d01919061514c565b90505b6001811115613da1577f3031323334353637383961626364656600000000000000000000000000000000600f861660108110613d4357613d426153ef565b5b1a60f81b828281518110613d5a57613d596153ef565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c945080613d9a90615367565b9050613d04565b5060008414613de5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613ddc90614d07565b60405180910390fd5b8091505092915050565b6000808373ffffffffffffffffffffffffffffffffffffffff1683600067ffffffffffffffff811115613e2557613e2461541e565b5b6040519080825280601f01601f191660200182016040528015613e575781602001600182028036833780820191505090505b50604051613e659190614a53565b60006040518083038185875af1925050503d8060008114613ea2576040519150601f19603f3d011682016040523d82523d6000602084013e613ea7565b606091505b505090508091505092915050565b613f368363a9059cbb60e01b8484604051602401613ed4929190614c18565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050613fd2565b505050565b613fbe846323b872dd60e01b858585604051602401613f5c93929190614be1565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050613fd2565b50505050565b613fce8282612fdd565b5050565b6000614034826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166140999092919063ffffffff16565b9050600081511115614094578080602001905181019061405491906143d6565b614093576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161408a90614f27565b60405180910390fd5b5b505050565b60606140a884846000856140b1565b90509392505050565b6060824710156140f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016140ed90614d87565b60405180910390fd5b6140ff856141c5565b61413e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161413590614f07565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040516141679190614a53565b60006040518083038185875af1925050503d80600081146141a4576040519150601f19603f3d011682016040523d82523d6000602084013e6141a9565b606091505b50915091506141b98282866141d8565b92505050949350505050565b600080823b905060008111915050919050565b606083156141e857829050614238565b6000835111156141fb5782518084602001fd5b816040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161422f9190614ce5565b60405180910390fd5b9392505050565b60008135905061424e81615aa1565b92915050565b60008151905061426381615aa1565b92915050565b60008135905061427881615ab8565b92915050565b60008135905061428d81615acf565b92915050565b6000815190506142a281615acf565b92915050565b6000813590506142b781615ae6565b92915050565b6000813590506142cc81615afd565b92915050565b6000813590506142e181615b14565b92915050565b6000815190506142f681615b14565b92915050565b6000602082840312156143125761431161544d565b5b60006143208482850161423f565b91505092915050565b60006020828403121561433f5761433e61544d565b5b600061434d84828501614254565b91505092915050565b60008060006060848603121561436f5761436e61544d565b5b600061437d8682870161423f565b935050602061438e86828701614269565b925050604061439f868287016142d2565b9150509250925092565b6000602082840312156143bf576143be61544d565b5b60006143cd8482850161427e565b91505092915050565b6000602082840312156143ec576143eb61544d565b5b60006143fa84828501614293565b91505092915050565b6000602082840312156144195761441861544d565b5b6000614427848285016142a8565b91505092915050565b600080604083850312156144475761444661544d565b5b6000614455858286016142a8565b92505060206144668582860161423f565b9150509250929050565b6000602082840312156144865761448561544d565b5b6000614494848285016142bd565b91505092915050565b6000602082840312156144b3576144b261544d565b5b60006144c1848285016142d2565b91505092915050565b6000602082840312156144e0576144df61544d565b5b60006144ee848285016142e7565b91505092915050565b600080600080600060a086880312156145135761451261544d565b5b6000614521888289016142d2565b95505060206145328882890161423f565b9450506040614543888289016142d2565b9350506060614554888289016142d2565b92505060806145658882890161423f565b9150509295509295909350565b600080604083850312156145895761458861544d565b5b6000614597858286016142d2565b92505060206145a8858286016142d2565b9150509250929050565b6145bb816152fe565b82525050565b6145ca81615273565b82525050565b6145d981615261565b82525050565b6145e881615285565b82525050565b6145f781615291565b82525050565b6146068161529b565b82525050565b60006146178261510f565b6146218185615125565b9350614631818560208601615334565b80840191505092915050565b60006146488261511a565b6146528185615130565b9350614662818560208601615334565b61466b81615452565b840191505092915050565b60006146818261511a565b61468b8185615141565b935061469b818560208601615334565b80840191505092915050565b60006146b4602083615130565b91506146bf82615463565b602082019050919050565b60006146d7602283615130565b91506146e28261548c565b604082019050919050565b60006146fa602783615130565b9150614705826154db565b604082019050919050565b600061471d602683615130565b91506147288261552a565b604082019050919050565b6000614740602683615130565b915061474b82615579565b604082019050919050565b6000614763601483615130565b915061476e826155c8565b602082019050919050565b6000614786601f83615130565b9150614791826155f1565b602082019050919050565b60006147a9601483615130565b91506147b48261561a565b602082019050919050565b60006147cc601b83615130565b91506147d782615643565b602082019050919050565b60006147ef602a83615130565b91506147fa8261566c565b604082019050919050565b6000614812604083615130565b915061481d826156bb565b604082019050919050565b6000614835602283615130565b91506148408261570a565b604082019050919050565b6000614858601583615130565b915061486382615759565b602082019050919050565b600061487b602083615130565b915061488682615782565b602082019050919050565b600061489e603283615130565b91506148a9826157ab565b604082019050919050565b60006148c1604483615130565b91506148cc826157fa565b606082019050919050565b60006148e4601d83615130565b91506148ef8261586f565b602082019050919050565b6000614907601783615141565b915061491282615898565b601782019050919050565b600061492a602a83615130565b9150614935826158c1565b604082019050919050565b600061494d601883615130565b915061495882615910565b602082019050919050565b6000614970601f83615130565b915061497b82615939565b602082019050919050565b6000614993600f83615130565b915061499e82615962565b602082019050919050565b60006149b6601183615141565b91506149c18261598b565b601182019050919050565b60006149d9602f83615130565b91506149e4826159b4565b604082019050919050565b60006149fc602f83615130565b9150614a0782615a03565b604082019050919050565b6000614a1f603483615130565b9150614a2a82615a52565b604082019050919050565b614a3e816152e7565b82525050565b614a4d816152f1565b82525050565b6000614a5f828461460c565b915081905092915050565b6000614a75826148fa565b9150614a818285614676565b9150614a8c826149a9565b9150614a988284614676565b91508190509392505050565b6000602082019050614ab960008301846145d0565b92915050565b6000604082019050614ad460008301856145c1565b614ae16020830184614a35565b9392505050565b6000606082019050614afd60008301866145d0565b614b0a60208301856145b2565b614b176040830184614a35565b949350505050565b600060e082019050614b34600083018a6145d0565b614b4160208301896145b2565b614b4e6040830188614a35565b614b5b60608301876145b2565b614b686080830186614a35565b614b7560a0830185614a35565b614b8260c08301846145d0565b98975050505050505050565b600060a082019050614ba360008301886145d0565b614bb060208301876145b2565b614bbd6040830186614a35565b614bca6060830185614a35565b614bd760808301846145d0565b9695505050505050565b6000606082019050614bf660008301866145d0565b614c0360208301856145d0565b614c106040830184614a35565b949350505050565b6000604082019050614c2d60008301856145d0565b614c3a6020830184614a35565b9392505050565b600060a082019050614c5660008301886145d0565b614c636020830187614a35565b614c706040830186614a35565b614c7d60608301856145df565b614c8a60808301846145df565b9695505050505050565b6000602082019050614ca960008301846145df565b92915050565b6000602082019050614cc460008301846145ee565b92915050565b6000602082019050614cdf60008301846145fd565b92915050565b60006020820190508181036000830152614cff818461463d565b905092915050565b60006020820190508181036000830152614d20816146a7565b9050919050565b60006020820190508181036000830152614d40816146ca565b9050919050565b60006020820190508181036000830152614d60816146ed565b9050919050565b60006020820190508181036000830152614d8081614710565b9050919050565b60006020820190508181036000830152614da081614733565b9050919050565b60006020820190508181036000830152614dc081614756565b9050919050565b60006020820190508181036000830152614de081614779565b9050919050565b60006020820190508181036000830152614e008161479c565b9050919050565b60006020820190508181036000830152614e20816147bf565b9050919050565b60006020820190508181036000830152614e40816147e2565b9050919050565b60006020820190508181036000830152614e6081614805565b9050919050565b60006020820190508181036000830152614e8081614828565b9050919050565b60006020820190508181036000830152614ea08161484b565b9050919050565b60006020820190508181036000830152614ec08161486e565b9050919050565b60006020820190508181036000830152614ee081614891565b9050919050565b60006020820190508181036000830152614f00816148b4565b9050919050565b60006020820190508181036000830152614f20816148d7565b9050919050565b60006020820190508181036000830152614f408161491d565b9050919050565b60006020820190508181036000830152614f6081614940565b9050919050565b60006020820190508181036000830152614f8081614963565b9050919050565b60006020820190508181036000830152614fa081614986565b9050919050565b60006020820190508181036000830152614fc0816149cc565b9050919050565b60006020820190508181036000830152614fe0816149ef565b9050919050565b6000602082019050818103600083015261500081614a12565b9050919050565b600060208201905061501c6000830184614a35565b92915050565b600061012082019050615038600083018c614a35565b615045602083018b6145d0565b615052604083018a614a35565b61505f6060830189614a35565b61506c6080830188614a35565b61507960a0830187614a35565b61508660c08301866145d0565b61509360e08301856145c1565b6150a16101008301846145d0565b9a9950505050505050505050565b60006080820190506150c46000830187614a35565b6150d16020830186614a35565b6150de60408301856145d0565b6150eb60608301846145d0565b95945050505050565b60006020820190506151096000830184614a44565b92915050565b600081519050919050565b600081519050919050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000615157826152e7565b9150615162836152e7565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561519757615196615391565b5b828201905092915050565b60006151ad826152e7565b91506151b8836152e7565b9250826151c8576151c76153c0565b5b828204905092915050565b60006151de826152e7565b91506151e9836152e7565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561522257615221615391565b5b828202905092915050565b6000615238826152e7565b9150615243836152e7565b92508282101561525657615255615391565b5b828203905092915050565b600061526c826152c7565b9050919050565b600061527e826152c7565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b600061530982615310565b9050919050565b600061531b82615322565b9050919050565b600061532d826152c7565b9050919050565b60005b83811015615352578082015181840152602081019050615337565b83811115615361576000848401525b50505050565b6000615372826152e7565b9150600082141561538657615385615391565b5b600182039050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b6000601f19601f8301169050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b7f43616c6c206d757374206265206d6164652062792061646d696e69737472617460008201527f6f72000000000000000000000000000000000000000000000000000000000000602082015250565b7f43616e27742063616e63656c20616e2061756374696f6e206f6e63652069742760008201527f7320626567756e00000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b7f41756374696f6e206861736e277420626567756e000000000000000000000000600082015250565b7f4d7573742073656e64206174206c656173742072657365727665507269636500600082015250565b7f4d757374206265206f776e6572206f66204e4654000000000000000000000000600082015250565b7f41756374696f6e2068617320616c726561647920737461727465640000000000600082015250565b7f43616c6c206d757374206265206d61646520627920617574686f72697a65642060008201527f61756374696f6e65657200000000000000000000000000000000000000000000602082015250565b7f4d7573742073656e64206d6f7265207468616e206c617374206269642062792060008201527f6d696e426964496e6372656d656e7450657263656e7461676520616d6f756e74602082015250565b7f4d7573742062652061756374696f6e656572206f72206f776e6572206f66204e60008201527f4654000000000000000000000000000000000000000000000000000000000000602082015250565b7f41756374696f6e20646f65736e27742065786973740000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f53656e74204554482056616c756520646f6573206e6f74206d6174636820737060008201527f656369666965642062696420616d6f756e740000000000000000000000000000602082015250565b7f43616c6c206d757374206265206d61646520627920617574686f72697a65642060008201527f73656c6c65722c20746f6b656e20636f6e7472616374206f722061756374696f60208201527f6e65657200000000000000000000000000000000000000000000000000000000604082015250565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b7f41756374696f6e206861736e277420636f6d706c657465640000000000000000600082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b7f41756374696f6e20657870697265640000000000000000000000000000000000600082015250565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b7f746f6b656e436f6e747261637420646f6573206e6f7420737570706f7274204560008201527f524337323120696e746572666163650000000000000000000000000000000000602082015250565b7f546f6b656e207472616e736665722063616c6c20646964206e6f74207472616e60008201527f7366657220657870656374656420616d6f756e74000000000000000000000000602082015250565b615aaa81615261565b8114615ab557600080fd5b50565b615ac181615273565b8114615acc57600080fd5b50565b615ad881615285565b8114615ae357600080fd5b50565b615aef81615291565b8114615afa57600080fd5b50565b615b068161529b565b8114615b1157600080fd5b50565b615b1d816152e7565b8114615b2857600080fd5b5056fea2646970667358221220ab32cf12d162f5cbaf67eebe0f7c3d8a88744f6f22ae0a78454d962a20cacf5e64736f6c63430008070033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _weth (address): 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2
Arg [1] : auctioneers (address[]):
-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000000
Loading...
Loading
Loading...
Loading
Net Worth in USD
$0.00
Net Worth in ETH
0
Multichain Portfolio | 33 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ 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.