ERC-721
NFT
Overview
Max Total Supply
9,999 IDOL
Holders
1,200
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 IDOLLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
IdolMain
Compiler Version
v0.8.9+commit.e5eed63a
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.9; import "hardhat/console.sol"; import "./VirtueToken.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/interfaces/IERC20.sol"; import "@openzeppelin/contracts/interfaces/IERC2981.sol"; contract IdolMain is ERC721Enumerable, IERC2981, Ownable, ReentrancyGuard { // stethPrincipalBalance tracks the treasury's principal stETH balance. uint public stethPrincipalBalance; // allocatedStethRewards tracks the current amount of stETH that has been allocated to god owners. uint public allocatedStethRewards; // mintContractAddress holds the address for the minting contract. address public immutable mintContractAddress; // marketplaceAddress holds the address for the idol marketplace. address public marketplaceAddress; // teamWalletAddress holds the address that VIRTUE rewards are paid to when claimTeamIdol is // called. address public immutable teamWalletAddress; // steth is a reference to LIDO's stETH token contract. IERC20 public immutable steth; // virtueToken contains a reference to the protocol's native VIRTUE token contract. VirtueToken public virtueToken; // rewardPerGod tracks the cumulative amount of stETH awarded for each god since the protocol's // inception. uint public rewardPerGod; // claimedSnapshots stores the amount of rewards per god that each address has claimed thus far. mapping(address => uint) public claimedSnapshots; // contractWhitelist tracks which contracts are allowed to interact with the god NFTs. // (Only used if allowAllContracts is false). mapping(address => bool) public contractWhitelist; // contractBlacklist tracks which contracts are forbidden from interacting with the god NFTs. // (Only used if allowAllContracts is true). mapping(address => bool) public contractBlacklist; // allowAllContracts will allow all contracts to interact with the god NFTs when set to true. bool public allowAllContracts; // updateCallerReward expresses, in basis points, the percentage of newRewards paid to the function // caller, as an incentive to pay the gas prices for calling update functions. uint public updateCallerReward; // teamRewards tracks the current amount of VIRTUE accrued for the team. uint public teamRewards; // deployTime tracks when the contract was deployed. uint public deployTime; // lockedGods keeps track of which gods (owned by the team) have been locked from transferring/ // purchasing for a 1-year window. mapping(uint => bool) public lockedGods; string private baseURI; // getVirtueAllowed specifies when users can bond stETH for VIRTUE using the getVirtue function. bool public getVirtueAllowed = false; // Royalties that are allocated to the VIRTUE rewards protocol in basis points (100ths of a %). uint public constant ROYALTY_BPS = 750; event RewardPerGodUpdated(uint _rpg, uint _slashAmt, address indexed _callerAddress); /** Instantiate with the address of LIDO's steth token 0xae7ab96520DE3A18E5e111B5EaAb095312D7fE84 */ constructor( address _mintContractAddress, address _stethAddr, address _teamWalletAddress ) ERC721("Idol", "IDOL") { mintContractAddress = _mintContractAddress; marketplaceAddress = address(0x0); teamWalletAddress = _teamWalletAddress; steth = IERC20(_stethAddr); stethPrincipalBalance = 0; allocatedStethRewards = 0; rewardPerGod = 0; allowAllContracts = true; // set caller reward to 1% updateCallerReward = 100; teamRewards = 0; deployTime = block.timestamp; } /** @notice this function set the address of the VIRTUE Token @param _virtueTokenAddr the address of the VIRTUE token */ function setVirtueTokenAddr(address _virtueTokenAddr) external onlyMintContract { virtueToken = VirtueToken(_virtueTokenAddr); } /** @notice This function sets the address for the Idol Marketplace. @param _marketplaceAddr The address for the marketplace */ function setIdolMarketplaceAddr(address _marketplaceAddr) external onlyMintContract { marketplaceAddress = _marketplaceAddr; } /** @notice Overrides the ERC721 safeTransferFrom function by also giving the marketplace contract universal approval to execute transfers. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { // Skip approval check for the marketplace address. if (msg.sender != marketplaceAddress) { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); } _safeTransfer(from, to, tokenId, _data); } /** @notice setUpdateCallerReward updates the reward percentage paid to the function caller for calling updateRewardPerGod. @param _amt The amount to set the reward to, in basis points (i.e. 100 = 1%) */ function setUpdateCallerReward(uint _amt) external onlyOwner { require(_amt <= 100, "hardcode max caller reward is 1%"); updateCallerReward = _amt; } /** @notice whitelistAdd function adds an address to the smart contract whitelist. @param _addr The address to add to the whitelist. */ function whitelistAdd(address _addr) external onlyOwner { contractWhitelist[_addr] = true; } /** @notice whitelistRemove removes an address from the smart contract whitelist. @param _addr The address to remove from the whitelist. */ function whitelistRemove(address _addr) external onlyOwner { delete contractWhitelist[_addr]; } /** @notice blacklistAdd function adds an address to the smart contract blacklist. @param _addr The address to add to the blacklist. */ function blacklistAdd(address _addr) external onlyOwner { contractBlacklist[_addr] = true; } /** @notice blacklistRemove removes an address from the smart contract blacklist. @param _addr The address to remove from the blacklist. */ function blacklistRemove(address _addr) external onlyOwner { delete contractBlacklist[_addr]; } /** @notice setAllowAllContracts updates the allowAllContracts boolean. @param _val The value to set allowAllContracts, if true then all smart contracts will be allowed. */ function setAllowAllContracts(bool _val) external onlyOwner { allowAllContracts = _val; } /** @notice _beforeTokenTransfer outlines the logic that should be run before every token transfer. @param _from - address of current owner @param _to - address of new owner @param _tokenId - id of token to transfer @dev needs to call claim and update on both '_from' and 'to' reverts if 'to' is a non-whitelisted smart contract */ function _beforeTokenTransfer( address _from, address _to, uint256 _tokenId ) internal virtual override onlyAllowedContracts(_to) { super._beforeTokenTransfer(_from, _to, _tokenId); if(_from != address(0x0)){ if (lockedGods[_tokenId]) { require(deployTime + 365 days < block.timestamp,'Token can only be transferred when lock has expired'); } _claimEthRewards(_from); // If the user will have 0 NFTs left after this transfer, delete them from claimedSnapshots // entirely. if(balanceOf(_from) == 1){ delete claimedSnapshots[_from]; } } // It the _to user already has NFTs, claim their rewards. if(balanceOf(_to) > 0){ _claimEthRewards(_to); } else { claimedSnapshots[_to] = rewardPerGod; } } /** @notice override setapproval function to only allow whitelisted addresses */ function setApprovalForAll( address _operator, bool _approved ) public virtual override onlyAllowedContracts(_operator) { super.setApprovalForAll(_operator, _approved); } /** @notice override approve function to only allow whitelisted addresses */ function approve( address _to, uint256 _tokenId ) public virtual override onlyAllowedContracts(_to) { super.approve(_to, _tokenId); } /** @notice this function deposits steth and increase steth prin bal @param _stethAmt - amount to deposit */ function depositSteth(uint _stethAmt) public { require(steth.transferFrom(msg.sender, address(this), _stethAmt)); stethPrincipalBalance = stethPrincipalBalance + _stethAmt; } /** @notice this function updates rewardPerGod based on the relationship between steth prin bal and actual steth in the contract */ function updateRewardPerGod() public nonReentrant { uint256 stethBal = steth.balanceOf(address(this)); // This should only occur if steth has experienced slashing. // Reduce stethPrincipalBalance to stethBal minus previously allocated rewards. if (stethBal < (stethPrincipalBalance + allocatedStethRewards)) { emit RewardPerGodUpdated(rewardPerGod, stethPrincipalBalance + allocatedStethRewards - stethBal, msg.sender); stethPrincipalBalance = stethBal - allocatedStethRewards; return; } // Nothing to do if the balances are equal. else if (stethBal == (stethPrincipalBalance + allocatedStethRewards)) { return; } // If we have extra stETH, update rewardPerGod, add newRewards to allocatedStethRewards. else if (stethBal > (stethPrincipalBalance + allocatedStethRewards)) { uint newRewards = stethBal - (stethPrincipalBalance + allocatedStethRewards); uint callerReward = newRewards * updateCallerReward / 10000; newRewards = newRewards - callerReward; rewardPerGod = rewardPerGod + newRewards / totalSupply(); allocatedStethRewards = allocatedStethRewards + newRewards; emit RewardPerGodUpdated(rewardPerGod, 0, msg.sender); if(callerReward > 0){ require(steth.transfer(msg.sender, callerReward)); } } } /** @notice currentUpdateReward shows what the current reward would be for calling updateRewardPerGod, as an incentive to spend the gas costs on calling the function. */ function currentUpdateReward() public view returns(uint) { uint256 stethBal = steth.balanceOf(address(this)); if (stethBal <= stethPrincipalBalance + allocatedStethRewards) { return 0; } uint newRewards = stethBal - (stethPrincipalBalance + allocatedStethRewards); uint callerReward = newRewards * updateCallerReward/10000; return callerReward; } /** @notice getPendingStethReward returns the amount of stETH that has accrued to the user and has yet to be claimed. */ function getPendingStethReward(address _user) public view returns (uint256) { return (balanceOf(_user) * (rewardPerGod - claimedSnapshots[_user])); } /** @notice claimEthRewards is called to claim rewards on behalf of a user. */ function claimEthRewards(address _user) external { require(balanceOf(_user) > 0, "Can only claim if balance of user > 0"); _claimEthRewards(_user); } /** @notice allowGetVirtue is a one-time function that enables the bonding of stETH for VIRTUE token. It is intended to only be enabled once the mint has concluded. */ function allowGetVirtue() public onlyOwner { getVirtueAllowed = true; } /** @notice getVirtue transfers VIRTUE token to the caller in exchange for stETH. It requires that the caller has approved this contract to transfer stETH on their behalf. @param _stethAmt - The amount of stETH the user would like to deposit to the bonding curve in exhange for Idol. @param _minVirtue - The minimum amount of VIRTUE that the function needs to return. Reverts if returned amount is lower than this. */ function getVirtue(uint256 _stethAmt, uint256 _minVirtue) public nonReentrant { require(getVirtueAllowed, "Bonding of stETH for VIRTUE is not yet enabled"); uint256 virtueToTransfer = virtueToken.getVirtueBondAmt(_stethAmt); require(virtueToTransfer >= _minVirtue, "Not enough VIRTUE returned"); // Update Steth bonded. depositSteth(_stethAmt); require(virtueToken.transfer(msg.sender, virtueToTransfer)); virtueToken.incrementBondedSteth(_stethAmt); // Accrue team allocation to team. teamRewards = teamRewards + virtueToTransfer / 5; } /** @notice claimTeamIdol claims all rewards accrued to the team thus far and sends it to teamWalletAddress. */ function claimTeamIdol() external nonReentrant { uint currentRewards = teamRewards; teamRewards = 0; require(virtueToken.transfer(teamWalletAddress, currentRewards)); } /** @notice internal helper function for claimEthRewards */ function _claimEthRewards(address _user) internal nonReentrant { uint256 currentRewards = getPendingStethReward(_user); if (currentRewards > 0) { allocatedStethRewards = allocatedStethRewards - currentRewards; claimedSnapshots[_user] = rewardPerGod; require(steth.transfer(_user, currentRewards)); } } /** @notice mint function called by the mintContract */ function mint(address _mintAddress, uint _godId, bool _lock) external onlyMintContract { if(_lock){ lockedGods[_godId] = true; } _safeMint(_mintAddress, _godId); } function _baseURI() internal view override returns (string memory) { return baseURI; } /** @notice Sets the baseURI string for the NFT. Can only be set by the mint contract, and cannot be updated once the mint contract is locked. */ function setBaseURI(string memory uri) external onlyMintContract { baseURI = uri; } function royaltyInfo(uint256, uint256 salePrice) external view returns ( address receiver, uint256 royaltyAmount ) { receiver = marketplaceAddress; royaltyAmount = salePrice * ROYALTY_BPS / 10000; } modifier onlyMintContract { require(msg.sender == mintContractAddress); _; } modifier onlyAllowedContracts(address _addr) { if (Address.isContract(_addr)) { if (!allowAllContracts) { require(contractWhitelist[_addr], 'Function can only be called for whitelisted contracts'); } if (allowAllContracts) { require(!contractBlacklist[_addr], 'Function cannot be called for blacklisted contracts'); } } _; } }
// 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(int p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(int)", p0)); } function logUint(uint p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint)", 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(uint p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint)", 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(uint p0, uint p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint)", p0, p1)); } function log(uint p0, string memory p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string)", p0, p1)); } function log(uint p0, bool p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool)", p0, p1)); } function log(uint p0, address p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address)", p0, p1)); } function log(string memory p0, uint p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint)", 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, uint p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint)", 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, uint p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint)", 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(uint p0, uint p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,uint)", p0, p1, p2)); } function log(uint p0, uint p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,string)", p0, p1, p2)); } function log(uint p0, uint p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,bool)", p0, p1, p2)); } function log(uint p0, uint p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,address)", p0, p1, p2)); } function log(uint p0, string memory p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,uint)", p0, p1, p2)); } function log(uint p0, string memory p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,string)", p0, p1, p2)); } function log(uint p0, string memory p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,bool)", p0, p1, p2)); } function log(uint p0, string memory p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,address)", p0, p1, p2)); } function log(uint p0, bool p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,uint)", p0, p1, p2)); } function log(uint p0, bool p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,string)", p0, p1, p2)); } function log(uint p0, bool p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,bool)", p0, p1, p2)); } function log(uint p0, bool p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,address)", p0, p1, p2)); } function log(uint p0, address p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,uint)", p0, p1, p2)); } function log(uint p0, address p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,string)", p0, p1, p2)); } function log(uint p0, address p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,bool)", p0, p1, p2)); } function log(uint p0, address p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,address)", p0, p1, p2)); } function log(string memory p0, uint p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,uint)", p0, p1, p2)); } function log(string memory p0, uint p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,string)", p0, p1, p2)); } function log(string memory p0, uint p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,bool)", p0, p1, p2)); } function log(string memory p0, uint p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,address)", p0, p1, p2)); } function log(string memory p0, string memory p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,uint)", 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, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,uint)", 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, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,uint)", 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, uint p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,uint)", p0, p1, p2)); } function log(bool p0, uint p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,string)", p0, p1, p2)); } function log(bool p0, uint p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,bool)", p0, p1, p2)); } function log(bool p0, uint p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,address)", p0, p1, p2)); } function log(bool p0, string memory p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,uint)", 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, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint)", 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, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,uint)", 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, uint p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,uint)", p0, p1, p2)); } function log(address p0, uint p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,string)", p0, p1, p2)); } function log(address p0, uint p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,bool)", p0, p1, p2)); } function log(address p0, uint p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,address)", p0, p1, p2)); } function log(address p0, string memory p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,uint)", 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, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,uint)", 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, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,uint)", 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(uint p0, uint p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,uint,uint)", p0, p1, p2, p3)); } function log(uint p0, uint p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,uint,string)", p0, p1, p2, p3)); } function log(uint p0, uint p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,uint,bool)", p0, p1, p2, p3)); } function log(uint p0, uint p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,uint,address)", p0, p1, p2, p3)); } function log(uint p0, uint p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,string,uint)", p0, p1, p2, p3)); } function log(uint p0, uint p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,string,string)", p0, p1, p2, p3)); } function log(uint p0, uint p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,string,bool)", p0, p1, p2, p3)); } function log(uint p0, uint p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,string,address)", p0, p1, p2, p3)); } function log(uint p0, uint p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,bool,uint)", p0, p1, p2, p3)); } function log(uint p0, uint p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,bool,string)", p0, p1, p2, p3)); } function log(uint p0, uint p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,bool,bool)", p0, p1, p2, p3)); } function log(uint p0, uint p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,bool,address)", p0, p1, p2, p3)); } function log(uint p0, uint p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,address,uint)", p0, p1, p2, p3)); } function log(uint p0, uint p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,address,string)", p0, p1, p2, p3)); } function log(uint p0, uint p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,address,bool)", p0, p1, p2, p3)); } function log(uint p0, uint p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,address,address)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,uint,uint)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,uint,string)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,uint,bool)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,uint,address)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,string,uint)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,string,string)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,string,bool)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,string,address)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,bool,uint)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,bool,string)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,bool,bool)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,bool,address)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,address,uint)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,address,string)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,address,bool)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,address,address)", p0, p1, p2, p3)); } function log(uint p0, bool p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,uint,uint)", p0, p1, p2, p3)); } function log(uint p0, bool p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,uint,string)", p0, p1, p2, p3)); } function log(uint p0, bool p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,uint,bool)", p0, p1, p2, p3)); } function log(uint p0, bool p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,uint,address)", p0, p1, p2, p3)); } function log(uint p0, bool p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,string,uint)", p0, p1, p2, p3)); } function log(uint p0, bool p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,string,string)", p0, p1, p2, p3)); } function log(uint p0, bool p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,string,bool)", p0, p1, p2, p3)); } function log(uint p0, bool p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,string,address)", p0, p1, p2, p3)); } function log(uint p0, bool p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,bool,uint)", p0, p1, p2, p3)); } function log(uint p0, bool p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,bool,string)", p0, p1, p2, p3)); } function log(uint p0, bool p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,bool,bool)", p0, p1, p2, p3)); } function log(uint p0, bool p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,bool,address)", p0, p1, p2, p3)); } function log(uint p0, bool p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,address,uint)", p0, p1, p2, p3)); } function log(uint p0, bool p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,address,string)", p0, p1, p2, p3)); } function log(uint p0, bool p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,address,bool)", p0, p1, p2, p3)); } function log(uint p0, bool p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,address,address)", p0, p1, p2, p3)); } function log(uint p0, address p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,uint,uint)", p0, p1, p2, p3)); } function log(uint p0, address p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,uint,string)", p0, p1, p2, p3)); } function log(uint p0, address p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,uint,bool)", p0, p1, p2, p3)); } function log(uint p0, address p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,uint,address)", p0, p1, p2, p3)); } function log(uint p0, address p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,string,uint)", p0, p1, p2, p3)); } function log(uint p0, address p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,string,string)", p0, p1, p2, p3)); } function log(uint p0, address p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,string,bool)", p0, p1, p2, p3)); } function log(uint p0, address p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,string,address)", p0, p1, p2, p3)); } function log(uint p0, address p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,bool,uint)", p0, p1, p2, p3)); } function log(uint p0, address p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,bool,string)", p0, p1, p2, p3)); } function log(uint p0, address p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,bool,bool)", p0, p1, p2, p3)); } function log(uint p0, address p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,bool,address)", p0, p1, p2, p3)); } function log(uint p0, address p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,address,uint)", p0, p1, p2, p3)); } function log(uint p0, address p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,address,string)", p0, p1, p2, p3)); } function log(uint p0, address p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,address,bool)", p0, p1, p2, p3)); } function log(uint p0, address p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,address,address)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,uint,uint)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,uint,string)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,uint,bool)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,uint,address)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,string,uint)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,string,string)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,string,bool)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,string,address)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,bool,uint)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,bool,string)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,bool,bool)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,bool,address)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,address,uint)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,address,string)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,address,bool)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,address,address)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,uint,uint)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,uint,string)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,uint,bool)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,uint,address)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,string,uint)", 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, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,bool,uint)", 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, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,address,uint)", 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, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,uint,uint)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,uint,string)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,uint,bool)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,uint,address)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,string,uint)", 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, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,uint)", 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, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,address,uint)", 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, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,uint,uint)", p0, p1, p2, p3)); } function log(string memory p0, address p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,uint,string)", p0, p1, p2, p3)); } function log(string memory p0, address p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,uint,bool)", p0, p1, p2, p3)); } function log(string memory p0, address p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,uint,address)", p0, p1, p2, p3)); } function log(string memory p0, address p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,string,uint)", 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, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,bool,uint)", 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, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,address,uint)", 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, uint p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,uint,uint)", p0, p1, p2, p3)); } function log(bool p0, uint p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,uint,string)", p0, p1, p2, p3)); } function log(bool p0, uint p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,uint,bool)", p0, p1, p2, p3)); } function log(bool p0, uint p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,uint,address)", p0, p1, p2, p3)); } function log(bool p0, uint p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,string,uint)", p0, p1, p2, p3)); } function log(bool p0, uint p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,string,string)", p0, p1, p2, p3)); } function log(bool p0, uint p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,string,bool)", p0, p1, p2, p3)); } function log(bool p0, uint p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,string,address)", p0, p1, p2, p3)); } function log(bool p0, uint p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,bool,uint)", p0, p1, p2, p3)); } function log(bool p0, uint p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,bool,string)", p0, p1, p2, p3)); } function log(bool p0, uint p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,bool,bool)", p0, p1, p2, p3)); } function log(bool p0, uint p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,bool,address)", p0, p1, p2, p3)); } function log(bool p0, uint p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,address,uint)", p0, p1, p2, p3)); } function log(bool p0, uint p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,address,string)", p0, p1, p2, p3)); } function log(bool p0, uint p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,address,bool)", p0, p1, p2, p3)); } function log(bool p0, uint p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,address,address)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,uint,uint)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,uint,string)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,uint,bool)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,uint,address)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,string,uint)", 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, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,uint)", 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, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,address,uint)", 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, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint,uint)", p0, p1, p2, p3)); } function log(bool p0, bool p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint,string)", p0, p1, p2, p3)); } function log(bool p0, bool p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint,bool)", p0, p1, p2, p3)); } function log(bool p0, bool p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint,address)", p0, p1, p2, p3)); } function log(bool p0, bool p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,uint)", 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, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,uint)", 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, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,uint)", 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, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,uint,uint)", p0, p1, p2, p3)); } function log(bool p0, address p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,uint,string)", p0, p1, p2, p3)); } function log(bool p0, address p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,uint,bool)", p0, p1, p2, p3)); } function log(bool p0, address p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,uint,address)", p0, p1, p2, p3)); } function log(bool p0, address p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,string,uint)", 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, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,uint)", 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, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,address,uint)", 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, uint p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,uint,uint)", p0, p1, p2, p3)); } function log(address p0, uint p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,uint,string)", p0, p1, p2, p3)); } function log(address p0, uint p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,uint,bool)", p0, p1, p2, p3)); } function log(address p0, uint p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,uint,address)", p0, p1, p2, p3)); } function log(address p0, uint p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,string,uint)", p0, p1, p2, p3)); } function log(address p0, uint p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,string,string)", p0, p1, p2, p3)); } function log(address p0, uint p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,string,bool)", p0, p1, p2, p3)); } function log(address p0, uint p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,string,address)", p0, p1, p2, p3)); } function log(address p0, uint p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,bool,uint)", p0, p1, p2, p3)); } function log(address p0, uint p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,bool,string)", p0, p1, p2, p3)); } function log(address p0, uint p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,bool,bool)", p0, p1, p2, p3)); } function log(address p0, uint p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,bool,address)", p0, p1, p2, p3)); } function log(address p0, uint p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,address,uint)", p0, p1, p2, p3)); } function log(address p0, uint p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,address,string)", p0, p1, p2, p3)); } function log(address p0, uint p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,address,bool)", p0, p1, p2, p3)); } function log(address p0, uint p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,address,address)", p0, p1, p2, p3)); } function log(address p0, string memory p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,uint,uint)", p0, p1, p2, p3)); } function log(address p0, string memory p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,uint,string)", p0, p1, p2, p3)); } function log(address p0, string memory p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,uint,bool)", p0, p1, p2, p3)); } function log(address p0, string memory p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,uint,address)", p0, p1, p2, p3)); } function log(address p0, string memory p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,string,uint)", 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, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,bool,uint)", 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, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,address,uint)", 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, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,uint,uint)", p0, p1, p2, p3)); } function log(address p0, bool p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,uint,string)", p0, p1, p2, p3)); } function log(address p0, bool p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,uint,bool)", p0, p1, p2, p3)); } function log(address p0, bool p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,uint,address)", p0, p1, p2, p3)); } function log(address p0, bool p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,string,uint)", 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, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,uint)", 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, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,address,uint)", 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, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,uint,uint)", p0, p1, p2, p3)); } function log(address p0, address p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,uint,string)", p0, p1, p2, p3)); } function log(address p0, address p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,uint,bool)", p0, p1, p2, p3)); } function log(address p0, address p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,uint,address)", p0, p1, p2, p3)); } function log(address p0, address p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,string,uint)", 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, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,bool,uint)", 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, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,address,uint)", 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)); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.9; import "hardhat/console.sol"; import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; /// @author 0xNeptune /** @notice VirtueToken initializes both the VIRTUE token and the VIRTUE token's associated bonding curve. The bonding curve is a linear interpolation of an expontential curve. The 'start_x' of the first bondSlice within bondCurve will be set to the amount of Steth within the treasury post mint but prior to the deployment of this contract. */ contract VirtueToken is ERC20Burnable { uint public bondedSteth; address public immutable idolMainAddress; address public immutable idolMarketAddress; struct bondSlice{ uint start_x; int slope; int intercept; } bondSlice[19] internal bondCurve; // Curve below is for illustrative purposes, final curve will not be decided until after the mint has occured. constructor( string memory name, string memory symbol, uint256 treasurySupply, address treasuryAddr, uint256 bondSupply, address idolContract, address marketContract) ERC20(name, symbol) { bondedSteth = 0; bondCurve[0] = bondSlice({start_x:0,slope:-228248550476,intercept:75000000000000000000000000}); bondCurve[1] = bondSlice({start_x:25000000000000000000000,slope:-210882750211,intercept:74565854993372400000000000}); bondCurve[2] = bondSlice({start_x:50000000000000000000000,slope:-194838189526,intercept:73763626959115100000000000}); bondCurve[3] = bondSlice({start_x:75000000000000000000000,slope:-180014344747,intercept:72651838600692400000000000}); bondCurve[4] = bondSlice({start_x:100000000000000000000000,slope:-159991353646,intercept:70649539490591900000000000}); bondCurve[5] = bondSlice({start_x:150000000000000000000000,slope:-136572283238,intercept:67136678929379100000000000}); bondCurve[6] = bondSlice({start_x:200000000000000000000000,slope:-116581228446,intercept:63138467970989800000000000}); bondCurve[7] = bondSlice({start_x:250000000000000000000000,slope:-95780563826,intercept:57938301816001500000000000}); bondCurve[8] = bondSlice({start_x:325000000000000000000000,slope:-75539912086,intercept:51360090000505800000000000}); bondCurve[9] = bondSlice({start_x:400000000000000000000000,slope:-57369920299,intercept:44092093285737000000000000}); bondCurve[10] = bondSlice({start_x:500000000000000000000000,slope:-40276389676,intercept:35545327974265900000000000}); bondCurve[11] = bondSlice({start_x:625000000000000000000000,slope:-27115378872,intercept:27319696221780300000000000}); bondCurve[12] = bondSlice({start_x:750000000000000000000000,slope:-18254957241,intercept:20674379998547900000000000}); bondCurve[13] = bondSlice({start_x:875000000000000000000000,slope:-12289832477,intercept:15454895830019000000000000}); bondCurve[14] = bondSlice({start_x:1000000000000000000000000,slope:-6922093002,intercept:10087156355048300000000000}); bondCurve[15] = bondSlice({start_x:1250000000000000000000000,slope:-3137384279,intercept:5356270451292460000000000}); bondCurve[16] = bondSlice({start_x:1500000000000000000000000,slope:-622755295,intercept:1584326975368420000000000}); bondCurve[17] = bondSlice({start_x:2500000000000000000000000,slope:-27508,intercept:27507507410700400000000}); bondCurve[18] = bondSlice({start_x:250000000000000000000000000,slope:0,intercept:0}); _mint(treasuryAddr, treasurySupply); _mint(idolContract, bondSupply); idolMainAddress = idolContract; idolMarketAddress = marketContract; } /** @notice transferFrom overrides ERC20's transferFrom function. It is written so that the marketplace contract automatically has approval to transfer VIRTUE for other addresses. */ function transferFrom( address sender, address recipient, uint256 amount ) public virtual override returns (bool) { // Automatically give the marketplace approval to transfer VIRTUE to save the user gas fees spent // on approval. if (msg.sender == idolMarketAddress){ _transfer(sender, recipient, amount); return true; } else { return super.transferFrom(sender, recipient, amount); } } /** @notice virtueBondCum is a helper function for getVirtueBondAmt. This function takes an amount of stETH (_stethAmt) as input and returns the cumulative amount of VIRTUE remaining in the bonding curve if the treasury had _stethAmt of Steth. */ function virtueBondCum(uint _stethAmt) public view returns (uint) { uint index; for (index = 0; index <= 18; index++) { if(bondCurve[index].start_x > _stethAmt){ break; } } require(index > 0, "Amount is below the start of the Bonding Curve"); int current_slope = bondCurve[index-1].slope; int current_int = bondCurve[index-1].intercept; return uint(int(_stethAmt) * current_slope / (10**9) + current_int); } /** @notice incrementBondedSteth updates the bondedSteth variable -- only the idol main contract is allowed to call it. */ function incrementBondedSteth(uint256 _incAmt) external onlyIdolMain { bondedSteth = bondedSteth + _incAmt; } /** @notice getVirtueBondAmt takes an amount of stETH as input and returns the amount of VIRTUE that the bonding curve is currently offering in exchange for that amount of stETH. @param _stethAmt - the amount of stETH that the user would like to exchange for VIRTUE via the bonding curve. @return (uint256) the amount of VIRTUE that the user would receive if they deposited the specified amount of stETH the bonding curve at this moment. */ function getVirtueBondAmt(uint256 _stethAmt) public view returns (uint256) { return virtueBondCum(bondedSteth) - virtueBondCum(bondedSteth + _stethAmt); } modifier onlyIdolMain { require(msg.sender == idolMainAddress, "Function can only be called by IdolMain"); _; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev 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 { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol) 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 making 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 // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Enumerable.sol) pragma solidity ^0.8.0; import "../ERC721.sol"; import "./IERC721Enumerable.sol"; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` cannot be the zero address. * - `to` cannot be the zero address. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual override { super._beforeTokenTransfer(from, to, tokenId); if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (interfaces/IERC20.sol) pragma solidity ^0.8.0; import "../token/ERC20/IERC20.sol";
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (interfaces/IERC2981.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Interface for the NFT Royalty Standard. * * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal * support for royalty payments across all NFT marketplaces and ecosystem participants. * * _Available since v4.5._ */ interface IERC2981 is IERC165 { /** * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of * exchange. The royalty amount is denominated and should be payed in that same unit of exchange. */ function royaltyInfo(uint256 tokenId, uint256 salePrice) external view returns (address receiver, uint256 royaltyAmount); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/extensions/ERC20Burnable.sol) pragma solidity ^0.8.0; import "../ERC20.sol"; import "../../../utils/Context.sol"; /** * @dev Extension of {ERC20} that allows token holders to destroy both their own * tokens and those that they have an allowance for, in a way that can be * recognized off-chain (via event analysis). */ abstract contract ERC20Burnable is Context, ERC20 { /** * @dev Destroys `amount` tokens from the caller. * * See {ERC20-_burn}. */ function burn(uint256 amount) public virtual { _burn(_msgSender(), amount); } /** * @dev Destroys `amount` tokens from `account`, deducting from the caller's * allowance. * * See {ERC20-_burn} and {ERC20-allowance}. * * Requirements: * * - the caller must have allowance for ``accounts``'s tokens of at least * `amount`. */ function burnFrom(address account, uint256 amount) public virtual { _spendAllowance(account, _msgSender(), amount); _burn(account, amount); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.0; import "./IERC20.sol"; import "./extensions/IERC20Metadata.sol"; import "../../utils/Context.sol"; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * The default value of {decimals} is 18. To select a different value for * {decimals} you should overload it. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless this function is * overridden; * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `to` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address to, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _transfer(owner, to, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on * `transferFrom`. This is semantically equivalent to an infinite approval. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _approve(owner, spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * NOTE: Does not update the allowance if the current allowance * is the maximum `uint256`. * * Requirements: * * - `from` and `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. * - the caller must have allowance for ``from``'s tokens of at least * `amount`. */ function transferFrom( address from, address to, uint256 amount ) public virtual override returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, amount); _transfer(from, to, amount); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { address owner = _msgSender(); _approve(owner, spender, _allowances[owner][spender] + addedValue); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { address owner = _msgSender(); uint256 currentAllowance = _allowances[owner][spender]; require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(owner, spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `sender` to `recipient`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. */ function _transfer( address from, address to, uint256 amount ) internal virtual { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(from, to, amount); uint256 fromBalance = _balances[from]; require(fromBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[from] = fromBalance - amount; } _balances[to] += amount; emit Transfer(from, to, amount); _afterTokenTransfer(from, to, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; _balances[account] += amount; emit Transfer(address(0), account, amount); _afterTokenTransfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; } _totalSupply -= amount; emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve( address owner, address spender, uint256 amount ) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Spend `amount` form the allowance of `owner` toward `spender`. * * Does not update the allowance amount in case of infinite allowance. * Revert if not enough allowance is available. * * Might emit an {Approval} event. */ function _spendAllowance( address owner, address spender, uint256 amount ) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { require(currentAllowance >= amount, "ERC20: insufficient allowance"); unchecked { _approve(owner, spender, currentAllowance - amount); } } } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 amount ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 amount ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/IERC20.sol) 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 `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 amount ) external returns (bool); /** * @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 // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); _afterTokenTransfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol) 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 // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (interfaces/IERC165.sol) pragma solidity ^0.8.0; import "../utils/introspection/IERC165.sol";
{ "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
[{"inputs":[{"internalType":"address","name":"_mintContractAddress","type":"address"},{"internalType":"address","name":"_stethAddr","type":"address"},{"internalType":"address","name":"_teamWalletAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"_rpg","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_slashAmt","type":"uint256"},{"indexed":true,"internalType":"address","name":"_callerAddress","type":"address"}],"name":"RewardPerGodUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"ROYALTY_BPS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"allocatedStethRewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"allowAllContracts","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"allowGetVirtue","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_addr","type":"address"}],"name":"blacklistAdd","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_addr","type":"address"}],"name":"blacklistRemove","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"claimEthRewards","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimTeamIdol","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"claimedSnapshots","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"contractBlacklist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"contractWhitelist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"currentUpdateReward","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"deployTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_stethAmt","type":"uint256"}],"name":"depositSteth","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"getPendingStethReward","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_stethAmt","type":"uint256"},{"internalType":"uint256","name":"_minVirtue","type":"uint256"}],"name":"getVirtue","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getVirtueAllowed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"lockedGods","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"marketplaceAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_mintAddress","type":"address"},{"internalType":"uint256","name":"_godId","type":"uint256"},{"internalType":"bool","name":"_lock","type":"bool"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mintContractAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rewardPerGod","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"royaltyAmount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_val","type":"bool"}],"name":"setAllowAllContracts","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_operator","type":"address"},{"internalType":"bool","name":"_approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"uri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_marketplaceAddr","type":"address"}],"name":"setIdolMarketplaceAddr","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amt","type":"uint256"}],"name":"setUpdateCallerReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_virtueTokenAddr","type":"address"}],"name":"setVirtueTokenAddr","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"steth","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"stethPrincipalBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"teamRewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"teamWalletAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"updateCallerReward","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"updateRewardPerGod","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"virtueToken","outputs":[{"internalType":"contract VirtueToken","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_addr","type":"address"}],"name":"whitelistAdd","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_addr","type":"address"}],"name":"whitelistRemove","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60e06040526000601a60006101000a81548160ff0219169083151502179055503480156200002c57600080fd5b506040516200636838038062006368833981810160405281019062000052919062000433565b6040518060400160405280600481526020017f49646f6c000000000000000000000000000000000000000000000000000000008152506040518060400160405280600481526020017f49444f4c000000000000000000000000000000000000000000000000000000008152508160009080519060200190620000d692919062000319565b508060019080519060200190620000ef92919062000319565b50505062000112620001066200024b60201b60201c565b6200025360201b60201c565b6001600b819055508273ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff16815250506000600e60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff1660a08173ffffffffffffffffffffffffffffffffffffffff16815250508173ffffffffffffffffffffffffffffffffffffffff1660c08173ffffffffffffffffffffffffffffffffffffffff16815250506000600c819055506000600d8190555060006010819055506001601460006101000a81548160ff0219169083151502179055506064601581905550600060168190555042601781905550505050620004f4565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200032790620004be565b90600052602060002090601f0160209004810192826200034b576000855562000397565b82601f106200036657805160ff191683800117855562000397565b8280016001018555821562000397579182015b828111156200039657825182559160200191906001019062000379565b5b509050620003a69190620003aa565b5090565b5b80821115620003c5576000816000905550600101620003ab565b5090565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620003fb82620003ce565b9050919050565b6200040d81620003ee565b81146200041957600080fd5b50565b6000815190506200042d8162000402565b92915050565b6000806000606084860312156200044f576200044e620003c9565b5b60006200045f868287016200041c565b935050602062000472868287016200041c565b925050604062000485868287016200041c565b9150509250925092565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620004d757607f821691505b60208210811415620004ee57620004ed6200048f565b5b50919050565b60805160a05160c051615dfe6200056a6000396000818161190b01528181611b6901528181611cee01528181612671015281816128cf01526131ae015260008181610e78015261120e0152600081816110d1015281816114e0015281816116040152818161181f01526125a50152615dfe6000f3fe608060405234801561001057600080fd5b50600436106103785760003560e01c80637440c05a116101d3578063a7cd975d11610104578063d351ebf1116100a2578063e2cd1bb01161007c578063e2cd1bb014610a0e578063e985e9c514610a2a578063f2fde38b14610a5a578063fc74d07614610a7657610378565b8063d351ebf1146109b4578063d7070ae2146109d2578063daa17f49146109f057610378565b8063c115b22c116100de578063c115b22c14610930578063c87b56dd1461094c578063cce392181461097c578063d1a1beb41461099857610378565b8063a7cd975d146108dc578063a932ed0d146108f8578063b88d4fde1461091457610378565b80638e359b8a1161017157806395d89b411161014b57806395d89b4114610854578063a22cb46514610872578063a46c67c11461088e578063a65705f5146108be57610378565b80638e359b8a146107fa57806393f32ab814610818578063953d7ee21461083657610378565b80637f6ce091116101ad5780637f6ce091146107845780638039869d1461078e57806389936f45146107ac5780638da5cb5b146107dc57610378565b80637440c05a146107405780637a40624b1461074a5780637e89236f1461076857610378565b8063412cd869116102ad57806352c1a23f1161024b578063682dd59911610225578063682dd599146106b857806370a08231146106d6578063715018a614610706578063729dcc371461071057610378565b806352c1a23f1461064e57806355f804b31461066c5780636352211e1461068857610378565b80634c999f5e116102875780634c999f5e146105b65780634f68211f146105e65780634f6ccce714610602578063524fa7b91461063257610378565b8063412cd8691461057257806342842e0e1461057c57806349c657db1461059857610378565b806318160ddd1161031a5780632a55205a116102f45780632a55205a146104d75780632f745c591461050857806335503ad4146105385780633ca172bf1461055457610378565b806318160ddd1461048157806321a4d39f1461049f57806323b872dd146104bb57610378565b8063081812fc11610356578063081812fc146103e7578063095ea7b31461041757806310c1d819146104335780631245e3471461046357610378565b806301ffc9a71461037d5780630258ce56146103ad57806306fdde03146103c9575b600080fd5b610397600480360381019061039291906142e7565b610a94565b6040516103a4919061432f565b60405180910390f35b6103c760048036038101906103c291906143a8565b610b0e565b005b6103d1610bdc565b6040516103de919061446e565b60405180910390f35b61040160048036038101906103fc91906144c6565b610c6e565b60405161040e9190614502565b60405180910390f35b610431600480360381019061042c919061451d565b610cf3565b005b61044d600480360381019061044891906144c6565b610e56565b60405161045a919061432f565b60405180910390f35b61046b610e76565b6040516104789190614502565b60405180910390f35b610489610e9a565b604051610496919061456c565b60405180910390f35b6104b960048036038101906104b491906143a8565b610ea7565b005b6104d560048036038101906104d09190614587565b610f7e565b005b6104f160048036038101906104ec91906145da565b610fde565b6040516104ff92919061461a565b60405180910390f35b610522600480360381019061051d919061451d565b61102a565b60405161052f919061456c565b60405180910390f35b610552600480360381019061054d91906143a8565b6110cf565b005b61055c61116b565b604051610569919061456c565b60405180910390f35b61057a611171565b005b61059660048036038101906105919190614587565b6112b1565b005b6105a06112d1565b6040516105ad919061456c565b60405180910390f35b6105d060048036038101906105cb91906143a8565b6112d7565b6040516105dd919061432f565b60405180910390f35b61060060048036038101906105fb919061466f565b6112f7565b005b61061c600480360381019061061791906144c6565b611390565b604051610629919061456c565b60405180910390f35b61064c600480360381019061064791906143a8565b611401565b005b6106566114d8565b604051610663919061456c565b60405180910390f35b610686600480360381019061068191906147d1565b6114de565b005b6106a2600480360381019061069d91906144c6565b611550565b6040516106af9190614502565b60405180910390f35b6106c0611602565b6040516106cd9190614502565b60405180910390f35b6106f060048036038101906106eb91906143a8565b611626565b6040516106fd919061456c565b60405180910390f35b61070e6116de565b005b61072a600480360381019061072591906143a8565b611766565b604051610737919061456c565b60405180910390f35b61074861177e565b005b610752611817565b60405161075f919061456c565b60405180910390f35b610782600480360381019061077d91906143a8565b61181d565b005b61078c6118b9565b005b610796611c2d565b6040516107a3919061456c565b60405180910390f35b6107c660048036038101906107c191906143a8565b611c33565b6040516107d3919061456c565b60405180910390f35b6107e4611c9c565b6040516107f19190614502565b60405180910390f35b610802611cc6565b60405161080f919061432f565b60405180910390f35b610820611cd9565b60405161082d919061432f565b60405180910390f35b61083e611cec565b60405161084b9190614879565b60405180910390f35b61085c611d10565b604051610869919061446e565b60405180910390f35b61088c60048036038101906108879190614894565b611da2565b005b6108a860048036038101906108a391906143a8565b611f05565b6040516108b5919061432f565b60405180910390f35b6108c6611f25565b6040516108d391906148f5565b60405180910390f35b6108f660048036038101906108f191906144c6565b611f4b565b005b610912600480360381019061090d91906143a8565b612015565b005b61092e600480360381019061092991906149b1565b6120e3565b005b61094a600480360381019061094591906143a8565b61219b565b005b610966600480360381019061096191906144c6565b6121f2565b604051610973919061446e565b60405180910390f35b610996600480360381019061099191906145da565b612299565b005b6109b260048036038101906109ad9190614a34565b6125a3565b005b6109bc61263d565b6040516109c9919061456c565b60405180910390f35b6109da612643565b6040516109e7919061456c565b60405180910390f35b6109f8612649565b604051610a059190614502565b60405180910390f35b610a286004803603810190610a2391906144c6565b61266f565b005b610a446004803603810190610a3f9190614a87565b61273e565b604051610a51919061432f565b60405180910390f35b610a746004803603810190610a6f91906143a8565b6127d2565b005b610a7e6128ca565b604051610a8b919061456c565b60405180910390f35b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610b075750610b06826129e0565b5b9050919050565b610b16612ac2565b73ffffffffffffffffffffffffffffffffffffffff16610b34611c9c565b73ffffffffffffffffffffffffffffffffffffffff1614610b8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b8190614b13565b60405180910390fd5b601360008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81549060ff021916905550565b606060008054610beb90614b62565b80601f0160208091040260200160405190810160405280929190818152602001828054610c1790614b62565b8015610c645780601f10610c3957610100808354040283529160200191610c64565b820191906000526020600020905b815481529060010190602001808311610c4757829003601f168201915b5050505050905090565b6000610c7982612aca565b610cb8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610caf90614c06565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b81610cfd81612b36565b15610e4757601460009054906101000a900460ff16610da357601260008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16610da2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d9990614c98565b60405180910390fd5b5b601460009054906101000a900460ff1615610e4657601360008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615610e45576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e3c90614d2a565b60405180910390fd5b5b5b610e518383612b59565b505050565b60186020528060005260406000206000915054906101000a900460ff1681565b7f000000000000000000000000000000000000000000000000000000000000000081565b6000600880549050905090565b610eaf612ac2565b73ffffffffffffffffffffffffffffffffffffffff16610ecd611c9c565b73ffffffffffffffffffffffffffffffffffffffff1614610f23576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f1a90614b13565b60405180910390fd5b6001601360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b610f8f610f89612ac2565b82612c71565b610fce576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fc590614dbc565b60405180910390fd5b610fd9838383612d4f565b505050565b600080600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1691506127106102ee846110179190614e0b565b6110219190614e94565b90509250929050565b600061103583611626565b8210611076576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161106d90614f37565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461112757600080fd5b80600e60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60155481565b6002600b5414156111b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111ae90614fa3565b60405180910390fd5b6002600b81905550600060165490506000601681905550600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb7f0000000000000000000000000000000000000000000000000000000000000000836040518363ffffffff1660e01b815260040161124b92919061461a565b602060405180830381600087803b15801561126557600080fd5b505af1158015611279573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061129d9190614fd8565b6112a657600080fd5b506001600b81905550565b6112cc838383604051806020016040528060008152506120e3565b505050565b6102ee81565b60126020528060005260406000206000915054906101000a900460ff1681565b6112ff612ac2565b73ffffffffffffffffffffffffffffffffffffffff1661131d611c9c565b73ffffffffffffffffffffffffffffffffffffffff1614611373576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161136a90614b13565b60405180910390fd5b80601460006101000a81548160ff02191690831515021790555050565b600061139a610e9a565b82106113db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113d290615077565b60405180910390fd5b600882815481106113ef576113ee615097565b5b90600052602060002001549050919050565b611409612ac2565b73ffffffffffffffffffffffffffffffffffffffff16611427611c9c565b73ffffffffffffffffffffffffffffffffffffffff161461147d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161147490614b13565b60405180910390fd5b6001601260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b600d5481565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461153657600080fd5b806019908051906020019061154c9291906141d8565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156115f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115f090615138565b60405180910390fd5b80915050919050565b7f000000000000000000000000000000000000000000000000000000000000000081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611697576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168e906151ca565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6116e6612ac2565b73ffffffffffffffffffffffffffffffffffffffff16611704611c9c565b73ffffffffffffffffffffffffffffffffffffffff161461175a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161175190614b13565b60405180910390fd5b6117646000612fb6565b565b60116020528060005260406000206000915090505481565b611786612ac2565b73ffffffffffffffffffffffffffffffffffffffff166117a4611c9c565b73ffffffffffffffffffffffffffffffffffffffff16146117fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117f190614b13565b60405180910390fd5b6001601a60006101000a81548160ff021916908315150217905550565b60175481565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461187557600080fd5b80600f60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6002600b5414156118ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118f690614fa3565b60405180910390fd5b6002600b8190555060007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016119629190614502565b60206040518083038186803b15801561197a57600080fd5b505afa15801561198e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119b291906151ff565b9050600d54600c546119c4919061522c565b811015611a51573373ffffffffffffffffffffffffffffffffffffffff167f36a30c326145f46930b670cc96f30b18857e1611cc506d87eb2413d9ad774fc760105483600d54600c54611a17919061522c565b611a219190615282565b604051611a2f9291906152b6565b60405180910390a2600d5481611a459190615282565b600c8190555050611c23565b600d54600c54611a61919061522c565b811415611a6e5750611c23565b600d54600c54611a7e919061522c565b811115611c21576000600d54600c54611a97919061522c565b82611aa29190615282565b9050600061271060155483611ab79190614e0b565b611ac19190614e94565b90508082611acf9190615282565b9150611ad9610e9a565b82611ae49190614e94565b601054611af1919061522c565b60108190555081600d54611b05919061522c565b600d819055503373ffffffffffffffffffffffffffffffffffffffff167f36a30c326145f46930b670cc96f30b18857e1611cc506d87eb2413d9ad774fc76010546000604051611b5692919061531a565b60405180910390a26000811115611c1e577f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff1660e01b8152600401611bc292919061461a565b602060405180830381600087803b158015611bdc57600080fd5b505af1158015611bf0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c149190614fd8565b611c1d57600080fd5b5b50505b505b6001600b81905550565b600c5481565b6000601160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054601054611c829190615282565b611c8b83611626565b611c959190614e0b565b9050919050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b601a60009054906101000a900460ff1681565b601460009054906101000a900460ff1681565b7f000000000000000000000000000000000000000000000000000000000000000081565b606060018054611d1f90614b62565b80601f0160208091040260200160405190810160405280929190818152602001828054611d4b90614b62565b8015611d985780601f10611d6d57610100808354040283529160200191611d98565b820191906000526020600020905b815481529060010190602001808311611d7b57829003601f168201915b5050505050905090565b81611dac81612b36565b15611ef657601460009054906101000a900460ff16611e5257601260008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611e51576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e4890614c98565b60405180910390fd5b5b601460009054906101000a900460ff1615611ef557601360008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615611ef4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eeb90614d2a565b60405180910390fd5b5b5b611f00838361307c565b505050565b60136020528060005260406000206000915054906101000a900460ff1681565b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b611f53612ac2565b73ffffffffffffffffffffffffffffffffffffffff16611f71611c9c565b73ffffffffffffffffffffffffffffffffffffffff1614611fc7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fbe90614b13565b60405180910390fd5b606481111561200b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120029061538f565b60405180910390fd5b8060158190555050565b61201d612ac2565b73ffffffffffffffffffffffffffffffffffffffff1661203b611c9c565b73ffffffffffffffffffffffffffffffffffffffff1614612091576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161208890614b13565b60405180910390fd5b601260008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81549060ff021916905550565b600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461218957612149612143612ac2565b83612c71565b612188576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161217f90614dbc565b60405180910390fd5b5b61219584848484613092565b50505050565b60006121a682611626565b116121e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121dd90615421565b60405180910390fd5b6121ef816130ee565b50565b60606121fd82612aca565b61223c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612233906154b3565b60405180910390fd5b600061224661326f565b905060008151116122665760405180602001604052806000815250612291565b8061227084613301565b60405160200161228192919061550f565b6040516020818303038152906040525b915050919050565b6002600b5414156122df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122d690614fa3565b60405180910390fd5b6002600b81905550601a60009054906101000a900460ff16612336576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161232d906155a5565b60405180910390fd5b6000600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16637849ea11846040518263ffffffff1660e01b8152600401612393919061456c565b60206040518083038186803b1580156123ab57600080fd5b505afa1580156123bf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123e391906151ff565b905081811015612428576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161241f90615611565b60405180910390fd5b6124318361266f565b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff1660e01b815260040161248e92919061461a565b602060405180830381600087803b1580156124a857600080fd5b505af11580156124bc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124e09190614fd8565b6124e957600080fd5b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663259c14c2846040518263ffffffff1660e01b8152600401612544919061456c565b600060405180830381600087803b15801561255e57600080fd5b505af1158015612572573d6000803e3d6000fd5b505050506005816125839190614e94565b601654612590919061522c565b601681905550506001600b819055505050565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146125fb57600080fd5b801561262e5760016018600084815260200190815260200160002060006101000a81548160ff0219169083151502179055505b6126388383613462565b505050565b60105481565b60165481565b600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166323b872dd3330846040518463ffffffff1660e01b81526004016126cc93929190615631565b602060405180830381600087803b1580156126e657600080fd5b505af11580156126fa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061271e9190614fd8565b61272757600080fd5b80600c54612735919061522c565b600c8190555050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6127da612ac2565b73ffffffffffffffffffffffffffffffffffffffff166127f8611c9c565b73ffffffffffffffffffffffffffffffffffffffff161461284e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161284590614b13565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156128be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128b5906156da565b60405180910390fd5b6128c781612fb6565b50565b6000807f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016129269190614502565b60206040518083038186803b15801561293e57600080fd5b505afa158015612952573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061297691906151ff565b9050600d54600c54612988919061522c565b81116129985760009150506129dd565b6000600d54600c546129aa919061522c565b826129b59190615282565b90506000612710601554836129ca9190614e0b565b6129d49190614e94565b90508093505050505b90565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612aab57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612abb5750612aba82613480565b5b9050919050565b600033905090565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6000612b6482611550565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612bd5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bcc9061576c565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16612bf4612ac2565b73ffffffffffffffffffffffffffffffffffffffff161480612c235750612c2281612c1d612ac2565b61273e565b5b612c62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c59906157fe565b60405180910390fd5b612c6c83836134ea565b505050565b6000612c7c82612aca565b612cbb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cb290615890565b60405180910390fd5b6000612cc683611550565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612d3557508373ffffffffffffffffffffffffffffffffffffffff16612d1d84610c6e565b73ffffffffffffffffffffffffffffffffffffffff16145b80612d465750612d45818561273e565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612d6f82611550565b73ffffffffffffffffffffffffffffffffffffffff1614612dc5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612dbc90615922565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612e35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e2c906159b4565b60405180910390fd5b612e408383836135a3565b612e4b6000826134ea565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612e9b9190615282565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612ef2919061522c565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612fb183838361387b565b505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b61308e613087612ac2565b8383613880565b5050565b61309d848484612d4f565b6130a9848484846139ed565b6130e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130df90615a46565b60405180910390fd5b50505050565b6002600b541415613134576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161312b90614fa3565b60405180910390fd5b6002600b81905550600061314782611c33565b905060008111156132635780600d546131609190615282565b600d81905550601054601160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663a9059cbb83836040518363ffffffff1660e01b815260040161320792919061461a565b602060405180830381600087803b15801561322157600080fd5b505af1158015613235573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906132599190614fd8565b61326257600080fd5b5b506001600b8190555050565b60606019805461327e90614b62565b80601f01602080910402602001604051908101604052809291908181526020018280546132aa90614b62565b80156132f75780601f106132cc576101008083540402835291602001916132f7565b820191906000526020600020905b8154815290600101906020018083116132da57829003601f168201915b5050505050905090565b60606000821415613349576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061345d565b600082905060005b6000821461337b57808061336490615a66565b915050600a826133749190614e94565b9150613351565b60008167ffffffffffffffff811115613397576133966146a6565b5b6040519080825280601f01601f1916602001820160405280156133c95781602001600182028036833780820191505090505b5090505b60008514613456576001826133e29190615282565b9150600a856133f19190615aaf565b60306133fd919061522c565b60f81b81838151811061341357613412615097565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561344f9190614e94565b94506133cd565b8093505050505b919050565b61347c828260405180602001604052806000815250613b84565b5050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661355d83611550565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b816135ad81612b36565b156136f757601460009054906101000a900460ff1661365357601260008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16613652576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161364990614c98565b60405180910390fd5b5b601460009054906101000a900460ff16156136f657601360008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16156136f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136ec90614d2a565b60405180910390fd5b5b5b613702848484613bdf565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161461380f576018600083815260200190815260200160002060009054906101000a900460ff16156137b057426301e1338060175461376f919061522c565b106137af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016137a690615b52565b60405180910390fd5b5b6137b9846130ee565b60016137c485611626565b141561380e57601160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600090555b5b600061381a84611626565b111561382e57613829836130ee565b613875565b601054601160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b50505050565b505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156138ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016138e690615bbe565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516139e0919061432f565b60405180910390a3505050565b6000613a0e8473ffffffffffffffffffffffffffffffffffffffff16612b36565b15613b77578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613a37612ac2565b8786866040518563ffffffff1660e01b8152600401613a599493929190615c33565b602060405180830381600087803b158015613a7357600080fd5b505af1925050508015613aa457506040513d601f19601f82011682018060405250810190613aa19190615c94565b60015b613b27573d8060008114613ad4576040519150601f19603f3d011682016040523d82523d6000602084013e613ad9565b606091505b50600081511415613b1f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613b1690615a46565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613b7c565b600190505b949350505050565b613b8e8383613cf3565b613b9b60008484846139ed565b613bda576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613bd190615a46565b60405180910390fd5b505050565b613bea838383613ecd565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415613c2d57613c2881613ed2565b613c6c565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614613c6b57613c6a8382613f1b565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613caf57613caa81614088565b613cee565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614613ced57613cec8282614159565b5b5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613d63576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613d5a90615d0d565b60405180910390fd5b613d6c81612aca565b15613dac576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613da390615d79565b60405180910390fd5b613db8600083836135a3565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613e08919061522c565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613ec96000838361387b565b5050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001613f2884611626565b613f329190615282565b9050600060076000848152602001908152602001600020549050818114614017576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160088054905061409c9190615282565b90506000600960008481526020019081526020016000205490506000600883815481106140cc576140cb615097565b5b9060005260206000200154905080600883815481106140ee576140ed615097565b5b90600052602060002001819055508160096000838152602001908152602001600020819055506009600085815260200190815260200160002060009055600880548061413d5761413c615d99565b5b6001900381819060005260206000200160009055905550505050565b600061416483611626565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b8280546141e490614b62565b90600052602060002090601f016020900481019282614206576000855561424d565b82601f1061421f57805160ff191683800117855561424d565b8280016001018555821561424d579182015b8281111561424c578251825591602001919060010190614231565b5b50905061425a919061425e565b5090565b5b8082111561427757600081600090555060010161425f565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6142c48161428f565b81146142cf57600080fd5b50565b6000813590506142e1816142bb565b92915050565b6000602082840312156142fd576142fc614285565b5b600061430b848285016142d2565b91505092915050565b60008115159050919050565b61432981614314565b82525050565b60006020820190506143446000830184614320565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006143758261434a565b9050919050565b6143858161436a565b811461439057600080fd5b50565b6000813590506143a28161437c565b92915050565b6000602082840312156143be576143bd614285565b5b60006143cc84828501614393565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561440f5780820151818401526020810190506143f4565b8381111561441e576000848401525b50505050565b6000601f19601f8301169050919050565b6000614440826143d5565b61444a81856143e0565b935061445a8185602086016143f1565b61446381614424565b840191505092915050565b600060208201905081810360008301526144888184614435565b905092915050565b6000819050919050565b6144a381614490565b81146144ae57600080fd5b50565b6000813590506144c08161449a565b92915050565b6000602082840312156144dc576144db614285565b5b60006144ea848285016144b1565b91505092915050565b6144fc8161436a565b82525050565b600060208201905061451760008301846144f3565b92915050565b6000806040838503121561453457614533614285565b5b600061454285828601614393565b9250506020614553858286016144b1565b9150509250929050565b61456681614490565b82525050565b6000602082019050614581600083018461455d565b92915050565b6000806000606084860312156145a05761459f614285565b5b60006145ae86828701614393565b93505060206145bf86828701614393565b92505060406145d0868287016144b1565b9150509250925092565b600080604083850312156145f1576145f0614285565b5b60006145ff858286016144b1565b9250506020614610858286016144b1565b9150509250929050565b600060408201905061462f60008301856144f3565b61463c602083018461455d565b9392505050565b61464c81614314565b811461465757600080fd5b50565b60008135905061466981614643565b92915050565b60006020828403121561468557614684614285565b5b60006146938482850161465a565b91505092915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6146de82614424565b810181811067ffffffffffffffff821117156146fd576146fc6146a6565b5b80604052505050565b600061471061427b565b905061471c82826146d5565b919050565b600067ffffffffffffffff82111561473c5761473b6146a6565b5b61474582614424565b9050602081019050919050565b82818337600083830152505050565b600061477461476f84614721565b614706565b9050828152602081018484840111156147905761478f6146a1565b5b61479b848285614752565b509392505050565b600082601f8301126147b8576147b761469c565b5b81356147c8848260208601614761565b91505092915050565b6000602082840312156147e7576147e6614285565b5b600082013567ffffffffffffffff8111156148055761480461428a565b5b614811848285016147a3565b91505092915050565b6000819050919050565b600061483f61483a6148358461434a565b61481a565b61434a565b9050919050565b600061485182614824565b9050919050565b600061486382614846565b9050919050565b61487381614858565b82525050565b600060208201905061488e600083018461486a565b92915050565b600080604083850312156148ab576148aa614285565b5b60006148b985828601614393565b92505060206148ca8582860161465a565b9150509250929050565b60006148df82614846565b9050919050565b6148ef816148d4565b82525050565b600060208201905061490a60008301846148e6565b92915050565b600067ffffffffffffffff82111561492b5761492a6146a6565b5b61493482614424565b9050602081019050919050565b600061495461494f84614910565b614706565b9050828152602081018484840111156149705761496f6146a1565b5b61497b848285614752565b509392505050565b600082601f8301126149985761499761469c565b5b81356149a8848260208601614941565b91505092915050565b600080600080608085870312156149cb576149ca614285565b5b60006149d987828801614393565b94505060206149ea87828801614393565b93505060406149fb878288016144b1565b925050606085013567ffffffffffffffff811115614a1c57614a1b61428a565b5b614a2887828801614983565b91505092959194509250565b600080600060608486031215614a4d57614a4c614285565b5b6000614a5b86828701614393565b9350506020614a6c868287016144b1565b9250506040614a7d8682870161465a565b9150509250925092565b60008060408385031215614a9e57614a9d614285565b5b6000614aac85828601614393565b9250506020614abd85828601614393565b9150509250929050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614afd6020836143e0565b9150614b0882614ac7565b602082019050919050565b60006020820190508181036000830152614b2c81614af0565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680614b7a57607f821691505b60208210811415614b8e57614b8d614b33565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000614bf0602c836143e0565b9150614bfb82614b94565b604082019050919050565b60006020820190508181036000830152614c1f81614be3565b9050919050565b7f46756e6374696f6e2063616e206f6e6c792062652063616c6c656420666f722060008201527f77686974656c697374656420636f6e7472616374730000000000000000000000602082015250565b6000614c826035836143e0565b9150614c8d82614c26565b604082019050919050565b60006020820190508181036000830152614cb181614c75565b9050919050565b7f46756e6374696f6e2063616e6e6f742062652063616c6c656420666f7220626c60008201527f61636b6c697374656420636f6e74726163747300000000000000000000000000602082015250565b6000614d146033836143e0565b9150614d1f82614cb8565b604082019050919050565b60006020820190508181036000830152614d4381614d07565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b6000614da66031836143e0565b9150614db182614d4a565b604082019050919050565b60006020820190508181036000830152614dd581614d99565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614e1682614490565b9150614e2183614490565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614e5a57614e59614ddc565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614e9f82614490565b9150614eaa83614490565b925082614eba57614eb9614e65565b5b828204905092915050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b6000614f21602b836143e0565b9150614f2c82614ec5565b604082019050919050565b60006020820190508181036000830152614f5081614f14565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000614f8d601f836143e0565b9150614f9882614f57565b602082019050919050565b60006020820190508181036000830152614fbc81614f80565b9050919050565b600081519050614fd281614643565b92915050565b600060208284031215614fee57614fed614285565b5b6000614ffc84828501614fc3565b91505092915050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b6000615061602c836143e0565b915061506c82615005565b604082019050919050565b6000602082019050818103600083015261509081615054565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b60006151226029836143e0565b915061512d826150c6565b604082019050919050565b6000602082019050818103600083015261515181615115565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b60006151b4602a836143e0565b91506151bf82615158565b604082019050919050565b600060208201905081810360008301526151e3816151a7565b9050919050565b6000815190506151f98161449a565b92915050565b60006020828403121561521557615214614285565b5b6000615223848285016151ea565b91505092915050565b600061523782614490565b915061524283614490565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561527757615276614ddc565b5b828201905092915050565b600061528d82614490565b915061529883614490565b9250828210156152ab576152aa614ddc565b5b828203905092915050565b60006040820190506152cb600083018561455d565b6152d8602083018461455d565b9392505050565b6000819050919050565b60006153046152ff6152fa846152df565b61481a565b614490565b9050919050565b615314816152e9565b82525050565b600060408201905061532f600083018561455d565b61533c602083018461530b565b9392505050565b7f68617264636f6465206d61782063616c6c657220726577617264206973203125600082015250565b60006153796020836143e0565b915061538482615343565b602082019050919050565b600060208201905081810360008301526153a88161536c565b9050919050565b7f43616e206f6e6c7920636c61696d2069662062616c616e6365206f662075736560008201527f72203e2030000000000000000000000000000000000000000000000000000000602082015250565b600061540b6025836143e0565b9150615416826153af565b604082019050919050565b6000602082019050818103600083015261543a816153fe565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b600061549d602f836143e0565b91506154a882615441565b604082019050919050565b600060208201905081810360008301526154cc81615490565b9050919050565b600081905092915050565b60006154e9826143d5565b6154f381856154d3565b93506155038185602086016143f1565b80840191505092915050565b600061551b82856154de565b915061552782846154de565b91508190509392505050565b7f426f6e64696e67206f6620737445544820666f7220564952545545206973206e60008201527f6f742079657420656e61626c6564000000000000000000000000000000000000602082015250565b600061558f602e836143e0565b915061559a82615533565b604082019050919050565b600060208201905081810360008301526155be81615582565b9050919050565b7f4e6f7420656e6f756768205649525455452072657475726e6564000000000000600082015250565b60006155fb601a836143e0565b9150615606826155c5565b602082019050919050565b6000602082019050818103600083015261562a816155ee565b9050919050565b600060608201905061564660008301866144f3565b61565360208301856144f3565b615660604083018461455d565b949350505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006156c46026836143e0565b91506156cf82615668565b604082019050919050565b600060208201905081810360008301526156f3816156b7565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b60006157566021836143e0565b9150615761826156fa565b604082019050919050565b6000602082019050818103600083015261578581615749565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b60006157e86038836143e0565b91506157f38261578c565b604082019050919050565b60006020820190508181036000830152615817816157db565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b600061587a602c836143e0565b91506158858261581e565b604082019050919050565b600060208201905081810360008301526158a98161586d565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b600061590c6025836143e0565b9150615917826158b0565b604082019050919050565b6000602082019050818103600083015261593b816158ff565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b600061599e6024836143e0565b91506159a982615942565b604082019050919050565b600060208201905081810360008301526159cd81615991565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000615a306032836143e0565b9150615a3b826159d4565b604082019050919050565b60006020820190508181036000830152615a5f81615a23565b9050919050565b6000615a7182614490565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415615aa457615aa3614ddc565b5b600182019050919050565b6000615aba82614490565b9150615ac583614490565b925082615ad557615ad4614e65565b5b828206905092915050565b7f546f6b656e2063616e206f6e6c79206265207472616e7366657272656420776860008201527f656e206c6f636b20686173206578706972656400000000000000000000000000602082015250565b6000615b3c6033836143e0565b9150615b4782615ae0565b604082019050919050565b60006020820190508181036000830152615b6b81615b2f565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000615ba86019836143e0565b9150615bb382615b72565b602082019050919050565b60006020820190508181036000830152615bd781615b9b565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000615c0582615bde565b615c0f8185615be9565b9350615c1f8185602086016143f1565b615c2881614424565b840191505092915050565b6000608082019050615c4860008301876144f3565b615c5560208301866144f3565b615c62604083018561455d565b8181036060830152615c748184615bfa565b905095945050505050565b600081519050615c8e816142bb565b92915050565b600060208284031215615caa57615ca9614285565b5b6000615cb884828501615c7f565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000615cf76020836143e0565b9150615d0282615cc1565b602082019050919050565b60006020820190508181036000830152615d2681615cea565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000615d63601c836143e0565b9150615d6e82615d2d565b602082019050919050565b60006020820190508181036000830152615d9281615d56565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfea2646970667358221220938550e242fc764c513f534057f9a445d4812aa9f91fd91e1c2d3628b57467ec64736f6c634300080900330000000000000000000000007b4b02372d8e54c1c0454d97f01d85ef203cdc5e000000000000000000000000ae7ab96520de3a18e5e111b5eaab095312d7fe8400000000000000000000000096030fac0c69796df46da4a2ba5a942a04a3ee2b
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106103785760003560e01c80637440c05a116101d3578063a7cd975d11610104578063d351ebf1116100a2578063e2cd1bb01161007c578063e2cd1bb014610a0e578063e985e9c514610a2a578063f2fde38b14610a5a578063fc74d07614610a7657610378565b8063d351ebf1146109b4578063d7070ae2146109d2578063daa17f49146109f057610378565b8063c115b22c116100de578063c115b22c14610930578063c87b56dd1461094c578063cce392181461097c578063d1a1beb41461099857610378565b8063a7cd975d146108dc578063a932ed0d146108f8578063b88d4fde1461091457610378565b80638e359b8a1161017157806395d89b411161014b57806395d89b4114610854578063a22cb46514610872578063a46c67c11461088e578063a65705f5146108be57610378565b80638e359b8a146107fa57806393f32ab814610818578063953d7ee21461083657610378565b80637f6ce091116101ad5780637f6ce091146107845780638039869d1461078e57806389936f45146107ac5780638da5cb5b146107dc57610378565b80637440c05a146107405780637a40624b1461074a5780637e89236f1461076857610378565b8063412cd869116102ad57806352c1a23f1161024b578063682dd59911610225578063682dd599146106b857806370a08231146106d6578063715018a614610706578063729dcc371461071057610378565b806352c1a23f1461064e57806355f804b31461066c5780636352211e1461068857610378565b80634c999f5e116102875780634c999f5e146105b65780634f68211f146105e65780634f6ccce714610602578063524fa7b91461063257610378565b8063412cd8691461057257806342842e0e1461057c57806349c657db1461059857610378565b806318160ddd1161031a5780632a55205a116102f45780632a55205a146104d75780632f745c591461050857806335503ad4146105385780633ca172bf1461055457610378565b806318160ddd1461048157806321a4d39f1461049f57806323b872dd146104bb57610378565b8063081812fc11610356578063081812fc146103e7578063095ea7b31461041757806310c1d819146104335780631245e3471461046357610378565b806301ffc9a71461037d5780630258ce56146103ad57806306fdde03146103c9575b600080fd5b610397600480360381019061039291906142e7565b610a94565b6040516103a4919061432f565b60405180910390f35b6103c760048036038101906103c291906143a8565b610b0e565b005b6103d1610bdc565b6040516103de919061446e565b60405180910390f35b61040160048036038101906103fc91906144c6565b610c6e565b60405161040e9190614502565b60405180910390f35b610431600480360381019061042c919061451d565b610cf3565b005b61044d600480360381019061044891906144c6565b610e56565b60405161045a919061432f565b60405180910390f35b61046b610e76565b6040516104789190614502565b60405180910390f35b610489610e9a565b604051610496919061456c565b60405180910390f35b6104b960048036038101906104b491906143a8565b610ea7565b005b6104d560048036038101906104d09190614587565b610f7e565b005b6104f160048036038101906104ec91906145da565b610fde565b6040516104ff92919061461a565b60405180910390f35b610522600480360381019061051d919061451d565b61102a565b60405161052f919061456c565b60405180910390f35b610552600480360381019061054d91906143a8565b6110cf565b005b61055c61116b565b604051610569919061456c565b60405180910390f35b61057a611171565b005b61059660048036038101906105919190614587565b6112b1565b005b6105a06112d1565b6040516105ad919061456c565b60405180910390f35b6105d060048036038101906105cb91906143a8565b6112d7565b6040516105dd919061432f565b60405180910390f35b61060060048036038101906105fb919061466f565b6112f7565b005b61061c600480360381019061061791906144c6565b611390565b604051610629919061456c565b60405180910390f35b61064c600480360381019061064791906143a8565b611401565b005b6106566114d8565b604051610663919061456c565b60405180910390f35b610686600480360381019061068191906147d1565b6114de565b005b6106a2600480360381019061069d91906144c6565b611550565b6040516106af9190614502565b60405180910390f35b6106c0611602565b6040516106cd9190614502565b60405180910390f35b6106f060048036038101906106eb91906143a8565b611626565b6040516106fd919061456c565b60405180910390f35b61070e6116de565b005b61072a600480360381019061072591906143a8565b611766565b604051610737919061456c565b60405180910390f35b61074861177e565b005b610752611817565b60405161075f919061456c565b60405180910390f35b610782600480360381019061077d91906143a8565b61181d565b005b61078c6118b9565b005b610796611c2d565b6040516107a3919061456c565b60405180910390f35b6107c660048036038101906107c191906143a8565b611c33565b6040516107d3919061456c565b60405180910390f35b6107e4611c9c565b6040516107f19190614502565b60405180910390f35b610802611cc6565b60405161080f919061432f565b60405180910390f35b610820611cd9565b60405161082d919061432f565b60405180910390f35b61083e611cec565b60405161084b9190614879565b60405180910390f35b61085c611d10565b604051610869919061446e565b60405180910390f35b61088c60048036038101906108879190614894565b611da2565b005b6108a860048036038101906108a391906143a8565b611f05565b6040516108b5919061432f565b60405180910390f35b6108c6611f25565b6040516108d391906148f5565b60405180910390f35b6108f660048036038101906108f191906144c6565b611f4b565b005b610912600480360381019061090d91906143a8565b612015565b005b61092e600480360381019061092991906149b1565b6120e3565b005b61094a600480360381019061094591906143a8565b61219b565b005b610966600480360381019061096191906144c6565b6121f2565b604051610973919061446e565b60405180910390f35b610996600480360381019061099191906145da565b612299565b005b6109b260048036038101906109ad9190614a34565b6125a3565b005b6109bc61263d565b6040516109c9919061456c565b60405180910390f35b6109da612643565b6040516109e7919061456c565b60405180910390f35b6109f8612649565b604051610a059190614502565b60405180910390f35b610a286004803603810190610a2391906144c6565b61266f565b005b610a446004803603810190610a3f9190614a87565b61273e565b604051610a51919061432f565b60405180910390f35b610a746004803603810190610a6f91906143a8565b6127d2565b005b610a7e6128ca565b604051610a8b919061456c565b60405180910390f35b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610b075750610b06826129e0565b5b9050919050565b610b16612ac2565b73ffffffffffffffffffffffffffffffffffffffff16610b34611c9c565b73ffffffffffffffffffffffffffffffffffffffff1614610b8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b8190614b13565b60405180910390fd5b601360008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81549060ff021916905550565b606060008054610beb90614b62565b80601f0160208091040260200160405190810160405280929190818152602001828054610c1790614b62565b8015610c645780601f10610c3957610100808354040283529160200191610c64565b820191906000526020600020905b815481529060010190602001808311610c4757829003601f168201915b5050505050905090565b6000610c7982612aca565b610cb8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610caf90614c06565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b81610cfd81612b36565b15610e4757601460009054906101000a900460ff16610da357601260008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16610da2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d9990614c98565b60405180910390fd5b5b601460009054906101000a900460ff1615610e4657601360008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615610e45576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e3c90614d2a565b60405180910390fd5b5b5b610e518383612b59565b505050565b60186020528060005260406000206000915054906101000a900460ff1681565b7f00000000000000000000000096030fac0c69796df46da4a2ba5a942a04a3ee2b81565b6000600880549050905090565b610eaf612ac2565b73ffffffffffffffffffffffffffffffffffffffff16610ecd611c9c565b73ffffffffffffffffffffffffffffffffffffffff1614610f23576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f1a90614b13565b60405180910390fd5b6001601360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b610f8f610f89612ac2565b82612c71565b610fce576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fc590614dbc565b60405180910390fd5b610fd9838383612d4f565b505050565b600080600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1691506127106102ee846110179190614e0b565b6110219190614e94565b90509250929050565b600061103583611626565b8210611076576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161106d90614f37565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b7f0000000000000000000000007b4b02372d8e54c1c0454d97f01d85ef203cdc5e73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461112757600080fd5b80600e60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60155481565b6002600b5414156111b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111ae90614fa3565b60405180910390fd5b6002600b81905550600060165490506000601681905550600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb7f00000000000000000000000096030fac0c69796df46da4a2ba5a942a04a3ee2b836040518363ffffffff1660e01b815260040161124b92919061461a565b602060405180830381600087803b15801561126557600080fd5b505af1158015611279573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061129d9190614fd8565b6112a657600080fd5b506001600b81905550565b6112cc838383604051806020016040528060008152506120e3565b505050565b6102ee81565b60126020528060005260406000206000915054906101000a900460ff1681565b6112ff612ac2565b73ffffffffffffffffffffffffffffffffffffffff1661131d611c9c565b73ffffffffffffffffffffffffffffffffffffffff1614611373576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161136a90614b13565b60405180910390fd5b80601460006101000a81548160ff02191690831515021790555050565b600061139a610e9a565b82106113db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113d290615077565b60405180910390fd5b600882815481106113ef576113ee615097565b5b90600052602060002001549050919050565b611409612ac2565b73ffffffffffffffffffffffffffffffffffffffff16611427611c9c565b73ffffffffffffffffffffffffffffffffffffffff161461147d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161147490614b13565b60405180910390fd5b6001601260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b600d5481565b7f0000000000000000000000007b4b02372d8e54c1c0454d97f01d85ef203cdc5e73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461153657600080fd5b806019908051906020019061154c9291906141d8565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156115f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115f090615138565b60405180910390fd5b80915050919050565b7f0000000000000000000000007b4b02372d8e54c1c0454d97f01d85ef203cdc5e81565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611697576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168e906151ca565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6116e6612ac2565b73ffffffffffffffffffffffffffffffffffffffff16611704611c9c565b73ffffffffffffffffffffffffffffffffffffffff161461175a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161175190614b13565b60405180910390fd5b6117646000612fb6565b565b60116020528060005260406000206000915090505481565b611786612ac2565b73ffffffffffffffffffffffffffffffffffffffff166117a4611c9c565b73ffffffffffffffffffffffffffffffffffffffff16146117fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117f190614b13565b60405180910390fd5b6001601a60006101000a81548160ff021916908315150217905550565b60175481565b7f0000000000000000000000007b4b02372d8e54c1c0454d97f01d85ef203cdc5e73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461187557600080fd5b80600f60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6002600b5414156118ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118f690614fa3565b60405180910390fd5b6002600b8190555060007f000000000000000000000000ae7ab96520de3a18e5e111b5eaab095312d7fe8473ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016119629190614502565b60206040518083038186803b15801561197a57600080fd5b505afa15801561198e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119b291906151ff565b9050600d54600c546119c4919061522c565b811015611a51573373ffffffffffffffffffffffffffffffffffffffff167f36a30c326145f46930b670cc96f30b18857e1611cc506d87eb2413d9ad774fc760105483600d54600c54611a17919061522c565b611a219190615282565b604051611a2f9291906152b6565b60405180910390a2600d5481611a459190615282565b600c8190555050611c23565b600d54600c54611a61919061522c565b811415611a6e5750611c23565b600d54600c54611a7e919061522c565b811115611c21576000600d54600c54611a97919061522c565b82611aa29190615282565b9050600061271060155483611ab79190614e0b565b611ac19190614e94565b90508082611acf9190615282565b9150611ad9610e9a565b82611ae49190614e94565b601054611af1919061522c565b60108190555081600d54611b05919061522c565b600d819055503373ffffffffffffffffffffffffffffffffffffffff167f36a30c326145f46930b670cc96f30b18857e1611cc506d87eb2413d9ad774fc76010546000604051611b5692919061531a565b60405180910390a26000811115611c1e577f000000000000000000000000ae7ab96520de3a18e5e111b5eaab095312d7fe8473ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff1660e01b8152600401611bc292919061461a565b602060405180830381600087803b158015611bdc57600080fd5b505af1158015611bf0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c149190614fd8565b611c1d57600080fd5b5b50505b505b6001600b81905550565b600c5481565b6000601160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054601054611c829190615282565b611c8b83611626565b611c959190614e0b565b9050919050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b601a60009054906101000a900460ff1681565b601460009054906101000a900460ff1681565b7f000000000000000000000000ae7ab96520de3a18e5e111b5eaab095312d7fe8481565b606060018054611d1f90614b62565b80601f0160208091040260200160405190810160405280929190818152602001828054611d4b90614b62565b8015611d985780601f10611d6d57610100808354040283529160200191611d98565b820191906000526020600020905b815481529060010190602001808311611d7b57829003601f168201915b5050505050905090565b81611dac81612b36565b15611ef657601460009054906101000a900460ff16611e5257601260008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611e51576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e4890614c98565b60405180910390fd5b5b601460009054906101000a900460ff1615611ef557601360008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615611ef4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eeb90614d2a565b60405180910390fd5b5b5b611f00838361307c565b505050565b60136020528060005260406000206000915054906101000a900460ff1681565b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b611f53612ac2565b73ffffffffffffffffffffffffffffffffffffffff16611f71611c9c565b73ffffffffffffffffffffffffffffffffffffffff1614611fc7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fbe90614b13565b60405180910390fd5b606481111561200b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120029061538f565b60405180910390fd5b8060158190555050565b61201d612ac2565b73ffffffffffffffffffffffffffffffffffffffff1661203b611c9c565b73ffffffffffffffffffffffffffffffffffffffff1614612091576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161208890614b13565b60405180910390fd5b601260008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81549060ff021916905550565b600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461218957612149612143612ac2565b83612c71565b612188576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161217f90614dbc565b60405180910390fd5b5b61219584848484613092565b50505050565b60006121a682611626565b116121e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121dd90615421565b60405180910390fd5b6121ef816130ee565b50565b60606121fd82612aca565b61223c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612233906154b3565b60405180910390fd5b600061224661326f565b905060008151116122665760405180602001604052806000815250612291565b8061227084613301565b60405160200161228192919061550f565b6040516020818303038152906040525b915050919050565b6002600b5414156122df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122d690614fa3565b60405180910390fd5b6002600b81905550601a60009054906101000a900460ff16612336576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161232d906155a5565b60405180910390fd5b6000600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16637849ea11846040518263ffffffff1660e01b8152600401612393919061456c565b60206040518083038186803b1580156123ab57600080fd5b505afa1580156123bf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123e391906151ff565b905081811015612428576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161241f90615611565b60405180910390fd5b6124318361266f565b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff1660e01b815260040161248e92919061461a565b602060405180830381600087803b1580156124a857600080fd5b505af11580156124bc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124e09190614fd8565b6124e957600080fd5b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663259c14c2846040518263ffffffff1660e01b8152600401612544919061456c565b600060405180830381600087803b15801561255e57600080fd5b505af1158015612572573d6000803e3d6000fd5b505050506005816125839190614e94565b601654612590919061522c565b601681905550506001600b819055505050565b7f0000000000000000000000007b4b02372d8e54c1c0454d97f01d85ef203cdc5e73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146125fb57600080fd5b801561262e5760016018600084815260200190815260200160002060006101000a81548160ff0219169083151502179055505b6126388383613462565b505050565b60105481565b60165481565b600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b7f000000000000000000000000ae7ab96520de3a18e5e111b5eaab095312d7fe8473ffffffffffffffffffffffffffffffffffffffff166323b872dd3330846040518463ffffffff1660e01b81526004016126cc93929190615631565b602060405180830381600087803b1580156126e657600080fd5b505af11580156126fa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061271e9190614fd8565b61272757600080fd5b80600c54612735919061522c565b600c8190555050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6127da612ac2565b73ffffffffffffffffffffffffffffffffffffffff166127f8611c9c565b73ffffffffffffffffffffffffffffffffffffffff161461284e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161284590614b13565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156128be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128b5906156da565b60405180910390fd5b6128c781612fb6565b50565b6000807f000000000000000000000000ae7ab96520de3a18e5e111b5eaab095312d7fe8473ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016129269190614502565b60206040518083038186803b15801561293e57600080fd5b505afa158015612952573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061297691906151ff565b9050600d54600c54612988919061522c565b81116129985760009150506129dd565b6000600d54600c546129aa919061522c565b826129b59190615282565b90506000612710601554836129ca9190614e0b565b6129d49190614e94565b90508093505050505b90565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612aab57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612abb5750612aba82613480565b5b9050919050565b600033905090565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6000612b6482611550565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612bd5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bcc9061576c565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16612bf4612ac2565b73ffffffffffffffffffffffffffffffffffffffff161480612c235750612c2281612c1d612ac2565b61273e565b5b612c62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c59906157fe565b60405180910390fd5b612c6c83836134ea565b505050565b6000612c7c82612aca565b612cbb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cb290615890565b60405180910390fd5b6000612cc683611550565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612d3557508373ffffffffffffffffffffffffffffffffffffffff16612d1d84610c6e565b73ffffffffffffffffffffffffffffffffffffffff16145b80612d465750612d45818561273e565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612d6f82611550565b73ffffffffffffffffffffffffffffffffffffffff1614612dc5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612dbc90615922565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612e35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e2c906159b4565b60405180910390fd5b612e408383836135a3565b612e4b6000826134ea565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612e9b9190615282565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612ef2919061522c565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612fb183838361387b565b505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b61308e613087612ac2565b8383613880565b5050565b61309d848484612d4f565b6130a9848484846139ed565b6130e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130df90615a46565b60405180910390fd5b50505050565b6002600b541415613134576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161312b90614fa3565b60405180910390fd5b6002600b81905550600061314782611c33565b905060008111156132635780600d546131609190615282565b600d81905550601054601160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055507f000000000000000000000000ae7ab96520de3a18e5e111b5eaab095312d7fe8473ffffffffffffffffffffffffffffffffffffffff1663a9059cbb83836040518363ffffffff1660e01b815260040161320792919061461a565b602060405180830381600087803b15801561322157600080fd5b505af1158015613235573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906132599190614fd8565b61326257600080fd5b5b506001600b8190555050565b60606019805461327e90614b62565b80601f01602080910402602001604051908101604052809291908181526020018280546132aa90614b62565b80156132f75780601f106132cc576101008083540402835291602001916132f7565b820191906000526020600020905b8154815290600101906020018083116132da57829003601f168201915b5050505050905090565b60606000821415613349576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061345d565b600082905060005b6000821461337b57808061336490615a66565b915050600a826133749190614e94565b9150613351565b60008167ffffffffffffffff811115613397576133966146a6565b5b6040519080825280601f01601f1916602001820160405280156133c95781602001600182028036833780820191505090505b5090505b60008514613456576001826133e29190615282565b9150600a856133f19190615aaf565b60306133fd919061522c565b60f81b81838151811061341357613412615097565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561344f9190614e94565b94506133cd565b8093505050505b919050565b61347c828260405180602001604052806000815250613b84565b5050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661355d83611550565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b816135ad81612b36565b156136f757601460009054906101000a900460ff1661365357601260008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16613652576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161364990614c98565b60405180910390fd5b5b601460009054906101000a900460ff16156136f657601360008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16156136f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136ec90614d2a565b60405180910390fd5b5b5b613702848484613bdf565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161461380f576018600083815260200190815260200160002060009054906101000a900460ff16156137b057426301e1338060175461376f919061522c565b106137af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016137a690615b52565b60405180910390fd5b5b6137b9846130ee565b60016137c485611626565b141561380e57601160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600090555b5b600061381a84611626565b111561382e57613829836130ee565b613875565b601054601160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b50505050565b505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156138ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016138e690615bbe565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516139e0919061432f565b60405180910390a3505050565b6000613a0e8473ffffffffffffffffffffffffffffffffffffffff16612b36565b15613b77578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613a37612ac2565b8786866040518563ffffffff1660e01b8152600401613a599493929190615c33565b602060405180830381600087803b158015613a7357600080fd5b505af1925050508015613aa457506040513d601f19601f82011682018060405250810190613aa19190615c94565b60015b613b27573d8060008114613ad4576040519150601f19603f3d011682016040523d82523d6000602084013e613ad9565b606091505b50600081511415613b1f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613b1690615a46565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613b7c565b600190505b949350505050565b613b8e8383613cf3565b613b9b60008484846139ed565b613bda576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613bd190615a46565b60405180910390fd5b505050565b613bea838383613ecd565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415613c2d57613c2881613ed2565b613c6c565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614613c6b57613c6a8382613f1b565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613caf57613caa81614088565b613cee565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614613ced57613cec8282614159565b5b5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613d63576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613d5a90615d0d565b60405180910390fd5b613d6c81612aca565b15613dac576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613da390615d79565b60405180910390fd5b613db8600083836135a3565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613e08919061522c565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613ec96000838361387b565b5050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001613f2884611626565b613f329190615282565b9050600060076000848152602001908152602001600020549050818114614017576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160088054905061409c9190615282565b90506000600960008481526020019081526020016000205490506000600883815481106140cc576140cb615097565b5b9060005260206000200154905080600883815481106140ee576140ed615097565b5b90600052602060002001819055508160096000838152602001908152602001600020819055506009600085815260200190815260200160002060009055600880548061413d5761413c615d99565b5b6001900381819060005260206000200160009055905550505050565b600061416483611626565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b8280546141e490614b62565b90600052602060002090601f016020900481019282614206576000855561424d565b82601f1061421f57805160ff191683800117855561424d565b8280016001018555821561424d579182015b8281111561424c578251825591602001919060010190614231565b5b50905061425a919061425e565b5090565b5b8082111561427757600081600090555060010161425f565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6142c48161428f565b81146142cf57600080fd5b50565b6000813590506142e1816142bb565b92915050565b6000602082840312156142fd576142fc614285565b5b600061430b848285016142d2565b91505092915050565b60008115159050919050565b61432981614314565b82525050565b60006020820190506143446000830184614320565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006143758261434a565b9050919050565b6143858161436a565b811461439057600080fd5b50565b6000813590506143a28161437c565b92915050565b6000602082840312156143be576143bd614285565b5b60006143cc84828501614393565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561440f5780820151818401526020810190506143f4565b8381111561441e576000848401525b50505050565b6000601f19601f8301169050919050565b6000614440826143d5565b61444a81856143e0565b935061445a8185602086016143f1565b61446381614424565b840191505092915050565b600060208201905081810360008301526144888184614435565b905092915050565b6000819050919050565b6144a381614490565b81146144ae57600080fd5b50565b6000813590506144c08161449a565b92915050565b6000602082840312156144dc576144db614285565b5b60006144ea848285016144b1565b91505092915050565b6144fc8161436a565b82525050565b600060208201905061451760008301846144f3565b92915050565b6000806040838503121561453457614533614285565b5b600061454285828601614393565b9250506020614553858286016144b1565b9150509250929050565b61456681614490565b82525050565b6000602082019050614581600083018461455d565b92915050565b6000806000606084860312156145a05761459f614285565b5b60006145ae86828701614393565b93505060206145bf86828701614393565b92505060406145d0868287016144b1565b9150509250925092565b600080604083850312156145f1576145f0614285565b5b60006145ff858286016144b1565b9250506020614610858286016144b1565b9150509250929050565b600060408201905061462f60008301856144f3565b61463c602083018461455d565b9392505050565b61464c81614314565b811461465757600080fd5b50565b60008135905061466981614643565b92915050565b60006020828403121561468557614684614285565b5b60006146938482850161465a565b91505092915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6146de82614424565b810181811067ffffffffffffffff821117156146fd576146fc6146a6565b5b80604052505050565b600061471061427b565b905061471c82826146d5565b919050565b600067ffffffffffffffff82111561473c5761473b6146a6565b5b61474582614424565b9050602081019050919050565b82818337600083830152505050565b600061477461476f84614721565b614706565b9050828152602081018484840111156147905761478f6146a1565b5b61479b848285614752565b509392505050565b600082601f8301126147b8576147b761469c565b5b81356147c8848260208601614761565b91505092915050565b6000602082840312156147e7576147e6614285565b5b600082013567ffffffffffffffff8111156148055761480461428a565b5b614811848285016147a3565b91505092915050565b6000819050919050565b600061483f61483a6148358461434a565b61481a565b61434a565b9050919050565b600061485182614824565b9050919050565b600061486382614846565b9050919050565b61487381614858565b82525050565b600060208201905061488e600083018461486a565b92915050565b600080604083850312156148ab576148aa614285565b5b60006148b985828601614393565b92505060206148ca8582860161465a565b9150509250929050565b60006148df82614846565b9050919050565b6148ef816148d4565b82525050565b600060208201905061490a60008301846148e6565b92915050565b600067ffffffffffffffff82111561492b5761492a6146a6565b5b61493482614424565b9050602081019050919050565b600061495461494f84614910565b614706565b9050828152602081018484840111156149705761496f6146a1565b5b61497b848285614752565b509392505050565b600082601f8301126149985761499761469c565b5b81356149a8848260208601614941565b91505092915050565b600080600080608085870312156149cb576149ca614285565b5b60006149d987828801614393565b94505060206149ea87828801614393565b93505060406149fb878288016144b1565b925050606085013567ffffffffffffffff811115614a1c57614a1b61428a565b5b614a2887828801614983565b91505092959194509250565b600080600060608486031215614a4d57614a4c614285565b5b6000614a5b86828701614393565b9350506020614a6c868287016144b1565b9250506040614a7d8682870161465a565b9150509250925092565b60008060408385031215614a9e57614a9d614285565b5b6000614aac85828601614393565b9250506020614abd85828601614393565b9150509250929050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614afd6020836143e0565b9150614b0882614ac7565b602082019050919050565b60006020820190508181036000830152614b2c81614af0565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680614b7a57607f821691505b60208210811415614b8e57614b8d614b33565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000614bf0602c836143e0565b9150614bfb82614b94565b604082019050919050565b60006020820190508181036000830152614c1f81614be3565b9050919050565b7f46756e6374696f6e2063616e206f6e6c792062652063616c6c656420666f722060008201527f77686974656c697374656420636f6e7472616374730000000000000000000000602082015250565b6000614c826035836143e0565b9150614c8d82614c26565b604082019050919050565b60006020820190508181036000830152614cb181614c75565b9050919050565b7f46756e6374696f6e2063616e6e6f742062652063616c6c656420666f7220626c60008201527f61636b6c697374656420636f6e74726163747300000000000000000000000000602082015250565b6000614d146033836143e0565b9150614d1f82614cb8565b604082019050919050565b60006020820190508181036000830152614d4381614d07565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b6000614da66031836143e0565b9150614db182614d4a565b604082019050919050565b60006020820190508181036000830152614dd581614d99565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614e1682614490565b9150614e2183614490565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614e5a57614e59614ddc565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614e9f82614490565b9150614eaa83614490565b925082614eba57614eb9614e65565b5b828204905092915050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b6000614f21602b836143e0565b9150614f2c82614ec5565b604082019050919050565b60006020820190508181036000830152614f5081614f14565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000614f8d601f836143e0565b9150614f9882614f57565b602082019050919050565b60006020820190508181036000830152614fbc81614f80565b9050919050565b600081519050614fd281614643565b92915050565b600060208284031215614fee57614fed614285565b5b6000614ffc84828501614fc3565b91505092915050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b6000615061602c836143e0565b915061506c82615005565b604082019050919050565b6000602082019050818103600083015261509081615054565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b60006151226029836143e0565b915061512d826150c6565b604082019050919050565b6000602082019050818103600083015261515181615115565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b60006151b4602a836143e0565b91506151bf82615158565b604082019050919050565b600060208201905081810360008301526151e3816151a7565b9050919050565b6000815190506151f98161449a565b92915050565b60006020828403121561521557615214614285565b5b6000615223848285016151ea565b91505092915050565b600061523782614490565b915061524283614490565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561527757615276614ddc565b5b828201905092915050565b600061528d82614490565b915061529883614490565b9250828210156152ab576152aa614ddc565b5b828203905092915050565b60006040820190506152cb600083018561455d565b6152d8602083018461455d565b9392505050565b6000819050919050565b60006153046152ff6152fa846152df565b61481a565b614490565b9050919050565b615314816152e9565b82525050565b600060408201905061532f600083018561455d565b61533c602083018461530b565b9392505050565b7f68617264636f6465206d61782063616c6c657220726577617264206973203125600082015250565b60006153796020836143e0565b915061538482615343565b602082019050919050565b600060208201905081810360008301526153a88161536c565b9050919050565b7f43616e206f6e6c7920636c61696d2069662062616c616e6365206f662075736560008201527f72203e2030000000000000000000000000000000000000000000000000000000602082015250565b600061540b6025836143e0565b9150615416826153af565b604082019050919050565b6000602082019050818103600083015261543a816153fe565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b600061549d602f836143e0565b91506154a882615441565b604082019050919050565b600060208201905081810360008301526154cc81615490565b9050919050565b600081905092915050565b60006154e9826143d5565b6154f381856154d3565b93506155038185602086016143f1565b80840191505092915050565b600061551b82856154de565b915061552782846154de565b91508190509392505050565b7f426f6e64696e67206f6620737445544820666f7220564952545545206973206e60008201527f6f742079657420656e61626c6564000000000000000000000000000000000000602082015250565b600061558f602e836143e0565b915061559a82615533565b604082019050919050565b600060208201905081810360008301526155be81615582565b9050919050565b7f4e6f7420656e6f756768205649525455452072657475726e6564000000000000600082015250565b60006155fb601a836143e0565b9150615606826155c5565b602082019050919050565b6000602082019050818103600083015261562a816155ee565b9050919050565b600060608201905061564660008301866144f3565b61565360208301856144f3565b615660604083018461455d565b949350505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006156c46026836143e0565b91506156cf82615668565b604082019050919050565b600060208201905081810360008301526156f3816156b7565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b60006157566021836143e0565b9150615761826156fa565b604082019050919050565b6000602082019050818103600083015261578581615749565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b60006157e86038836143e0565b91506157f38261578c565b604082019050919050565b60006020820190508181036000830152615817816157db565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b600061587a602c836143e0565b91506158858261581e565b604082019050919050565b600060208201905081810360008301526158a98161586d565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b600061590c6025836143e0565b9150615917826158b0565b604082019050919050565b6000602082019050818103600083015261593b816158ff565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b600061599e6024836143e0565b91506159a982615942565b604082019050919050565b600060208201905081810360008301526159cd81615991565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000615a306032836143e0565b9150615a3b826159d4565b604082019050919050565b60006020820190508181036000830152615a5f81615a23565b9050919050565b6000615a7182614490565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415615aa457615aa3614ddc565b5b600182019050919050565b6000615aba82614490565b9150615ac583614490565b925082615ad557615ad4614e65565b5b828206905092915050565b7f546f6b656e2063616e206f6e6c79206265207472616e7366657272656420776860008201527f656e206c6f636b20686173206578706972656400000000000000000000000000602082015250565b6000615b3c6033836143e0565b9150615b4782615ae0565b604082019050919050565b60006020820190508181036000830152615b6b81615b2f565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000615ba86019836143e0565b9150615bb382615b72565b602082019050919050565b60006020820190508181036000830152615bd781615b9b565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000615c0582615bde565b615c0f8185615be9565b9350615c1f8185602086016143f1565b615c2881614424565b840191505092915050565b6000608082019050615c4860008301876144f3565b615c5560208301866144f3565b615c62604083018561455d565b8181036060830152615c748184615bfa565b905095945050505050565b600081519050615c8e816142bb565b92915050565b600060208284031215615caa57615ca9614285565b5b6000615cb884828501615c7f565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000615cf76020836143e0565b9150615d0282615cc1565b602082019050919050565b60006020820190508181036000830152615d2681615cea565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000615d63601c836143e0565b9150615d6e82615d2d565b602082019050919050565b60006020820190508181036000830152615d9281615d56565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfea2646970667358221220938550e242fc764c513f534057f9a445d4812aa9f91fd91e1c2d3628b57467ec64736f6c63430008090033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000007b4b02372d8e54c1c0454d97f01d85ef203cdc5e000000000000000000000000ae7ab96520de3a18e5e111b5eaab095312d7fe8400000000000000000000000096030fac0c69796df46da4a2ba5a942a04a3ee2b
-----Decoded View---------------
Arg [0] : _mintContractAddress (address): 0x7B4b02372d8e54c1C0454D97F01D85eF203cdC5e
Arg [1] : _stethAddr (address): 0xae7ab96520DE3A18E5e111B5EaAb095312D7fE84
Arg [2] : _teamWalletAddress (address): 0x96030FAC0c69796df46dA4a2ba5a942a04A3Ee2B
-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 0000000000000000000000007b4b02372d8e54c1c0454d97f01d85ef203cdc5e
Arg [1] : 000000000000000000000000ae7ab96520de3a18e5e111b5eaab095312d7fe84
Arg [2] : 00000000000000000000000096030fac0c69796df46da4a2ba5a942a04a3ee2b
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.