Warning! Contract bytecode has been changed and doesn't match the verified one. Therefore, interaction with this smart contract may be risky.
- Contract name:
- Presale
- Optimization enabled
- true
- Compiler version
- v0.8.19+commit.7dd6d404
- Optimization runs
- 200
- EVM Version
- default
- Verified at
- 2024-02-17T09:09:41.612747Z
Constructor Arguments
0x000000000000000000000000f68a95926c7b753b7e8e5635830523363d903881
Arg [0] (address) : 0xf68a95926c7b753b7e8e5635830523363d903881
contracts/Presale.sol
// SPDX-License-Identifier: MIT
// File @openzeppelin/contracts/token/ERC20/IERC20.sol@v4.8.0
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)
pragma solidity 0.8.19;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
interface IERC20 {
/**
* @dev Emitted when 'value' tokens are moved from one account ('from') to
* another ('to').
*
* Note that 'value' may be zero.
*/
event Transfer(address indexed from, address indexed to, uint256 value);
/**
* @dev Emitted when the allowance of a 'spender' for an 'owner' is set by
* a call to {approve}. 'value' is the new allowance.
*/
event Approval(
address indexed owner,
address indexed spender,
uint256 value
);
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the amount of tokens owned by 'account'.
*/
function balanceOf(address account) external view returns (uint256);
/**
* @dev Moves 'amount' tokens from the caller's account to 'to'.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transfer(address to, uint256 amount) external returns (bool);
/**
* @dev Returns the remaining number of tokens that 'spender' will be
* allowed to spend on behalf of 'owner' through {transferFrom}. This is
* zero by default.
*
* This value changes when {approve} or {transferFrom} are called.
*/
function allowance(
address owner,
address spender
) external view returns (uint256);
/**
* @dev Sets 'amount' as the allowance of 'spender' over the caller's tokens.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* IMPORTANT: Beware that changing an allowance with this method brings the risk
* that someone may use both the old and the new allowance by unfortunate
* transaction ordering. One possible solution to mitigate this race
* condition is to first reduce the spender's allowance to 0 and set the
* desired value afterwards:
* https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
*
* Emits an {Approval} event.
*/
function approve(address spender, uint256 amount) external returns (bool);
/**
* @dev Moves 'amount' tokens from 'from' to 'to' using the
* allowance mechanism. 'amount' is then deducted from the caller's
* allowance.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transferFrom(
address from,
address to,
uint256 amount
) external returns (bool);
}
// File @openzeppelin/contracts/utils/Context.sol@v4.8.0
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)
/**
* @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;
}
}
// File @openzeppelin/contracts/access/Ownable.sol@v4.8.0
// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* By default, the owner account will be the one that deploys the contract. This
* can later be changed with {transferOwnership}.
*
* This module is used through inheritance. It will make available the modifier
* 'onlyOwner', which can be applied to your functions to restrict their use to
* the owner.
*/
abstract contract Ownable is Context {
address private _owner;
event OwnershipTransferred(
address indexed previousOwner,
address indexed newOwner
);
/**
* @dev Initializes the contract setting the deployer as the initial owner.
*/
constructor() {
_transferOwnership(_msgSender());
}
/**
* @dev Throws if called by any account other than the owner.
*/
modifier onlyOwner() {
_checkOwner();
_;
}
/**
* @dev Returns the address of the current owner.
*/
function owner() public view virtual returns (address) {
return _owner;
}
/**
* @dev Throws if the sender is not the owner.
*/
function _checkOwner() internal view virtual {
require(owner() == _msgSender(), "Ownable: caller is not the owner");
}
/**
* @dev Leaves the contract without owner. It will not be possible to call
* 'onlyOwner' functions anymore. Can only be called by the current owner.
*
* NOTE: Renouncing ownership will leave the contract without an owner,
* thereby removing any functionality that is only available to the owner.
*/
function renounceOwnership() public virtual onlyOwner {
_transferOwnership(address(0));
}
/**
* @dev Transfers ownership of the contract to a new account ('newOwner').
* Can only be called by the current owner.
*/
function transferOwnership(address newOwner) public virtual onlyOwner {
require(
newOwner != address(0),
"Ownable: new owner is the zero address"
);
_transferOwnership(newOwner);
}
/**
* @dev Transfers ownership of the contract to a new account ('newOwner').
* Internal function without access restriction.
*/
function _transferOwnership(address newOwner) internal virtual {
address oldOwner = _owner;
_owner = newOwner;
emit OwnershipTransferred(oldOwner, newOwner);
}
}
/**
* @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() {
_nonReentrantBefore();
_;
_nonReentrantAfter();
}
function _nonReentrantBefore() private {
// On the first call to nonReentrant, _status will be _NOT_ENTERED
require(_status != _ENTERED, "ReentrancyGuard: reentrant call");
// Any calls to nonReentrant after this point will fail
_status = _ENTERED;
}
function _nonReentrantAfter() private {
// By storing the original value once again, a refund is triggered (see
// https://eips.ethereum.org/EIPS/eip-2200)
_status = _NOT_ENTERED;
}
/**
* @dev Returns true if the reentrancy guard is currently set to "entered", which indicates there is a
* `nonReentrant` function in the call stack.
*/
function _reentrancyGuardEntered() internal view returns (bool) {
return _status == _ENTERED;
}
}
contract Presale is Ownable, ReentrancyGuard {
uint256 public tokenPrice = 7777 ether; // price of each token in ETH
uint256 public hardCap = 49772800 ether; // hard cap in ETH
// uint256 public hardCap = 23331 ether; // hard cap in ETH
uint256 public filled = 0; // hard cap in ETH
address public tokenAddress; // address of the token contract
mapping(address => uint256) public tokenBalances; // keep track of the number of tokens each address holds
mapping(address => uint256) public invested; // keep track of the amount of ETH each address has invested
mapping(address => bool) public is_buyer; // mapping for checking if an address has bought tokens
mapping(address => bool) public claimed; // mapping for checking if an address has claimed tokens
event TokenPurchase(address indexed buyer, uint256 amount); // emit an event when tokens are purchased
event Claim(address indexed buyer, uint256 amount); // emit an event when tokens are claimed
constructor(address _tokenAddress) {
tokenAddress = _tokenAddress;
}
receive() external payable {}
function setTokenPrice(uint256 _tokenPrice) public onlyOwner {
tokenPrice = _tokenPrice;
}
function setTokenAddress(address _tokenAddress) public onlyOwner {
tokenAddress = _tokenAddress;
}
function buyTokens() public payable nonReentrant {
require(
is_buyer[msg.sender] == false,
"You have already bought tokens"
);
require(msg.value == 7777 ether, "Wrong amount of ETH sent");
require(filled <= hardCap, "Presale is already filled");
uint256 amount = (msg.value / tokenPrice) * 10 ** 18;
tokenBalances[msg.sender] += amount;
invested[msg.sender] += msg.value;
is_buyer[msg.sender] = true;
filled += msg.value;
emit TokenPurchase(msg.sender, amount);
}
function isClaimEnabled() public view returns (bool) {
return filled >= hardCap;
}
function claimTokens() external nonReentrant {
require(filled >= hardCap, "Claim is not yet enabled");
uint256 amount = tokenBalances[msg.sender];
require(amount > 0, "not have tokens to claim");
tokenBalances[msg.sender] = 0;
claimed[msg.sender] = true;
IERC20(tokenAddress).transfer(msg.sender, amount);
emit Claim(msg.sender, amount);
}
// function to withdraw ETH from the contract
function withdraw() public onlyOwner {
(bool success, ) = payable(owner()).call{value: address(this).balance}(
""
);
require(success, "Transfer failed.");
}
// function to withdraw ERC20 tokens from the contract
function withdrawToken() public onlyOwner {
IERC20 token = IERC20(tokenAddress);
uint256 balance = token.balanceOf(address(this));
token.transfer(owner(), balance);
}
}
Compiler Settings
{"outputSelection":{"*":{"*":["*"],"":["*"]}},"optimizer":{"runs":200,"enabled":true},"libraries":{}}
Contract ABI
[{"type":"constructor","stateMutability":"nonpayable","inputs":[{"type":"address","name":"_tokenAddress","internalType":"address"}]},{"type":"event","name":"Claim","inputs":[{"type":"address","name":"buyer","internalType":"address","indexed":true},{"type":"uint256","name":"amount","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"OwnershipTransferred","inputs":[{"type":"address","name":"previousOwner","internalType":"address","indexed":true},{"type":"address","name":"newOwner","internalType":"address","indexed":true}],"anonymous":false},{"type":"event","name":"TokenPurchase","inputs":[{"type":"address","name":"buyer","internalType":"address","indexed":true},{"type":"uint256","name":"amount","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"function","stateMutability":"payable","outputs":[],"name":"buyTokens","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"claimTokens","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"claimed","inputs":[{"type":"address","name":"","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"filled","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"hardCap","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"invested","inputs":[{"type":"address","name":"","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"isClaimEnabled","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"is_buyer","inputs":[{"type":"address","name":"","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"owner","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"renounceOwnership","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setTokenAddress","inputs":[{"type":"address","name":"_tokenAddress","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setTokenPrice","inputs":[{"type":"uint256","name":"_tokenPrice","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"tokenAddress","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"tokenBalances","inputs":[{"type":"address","name":"","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"tokenPrice","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"transferOwnership","inputs":[{"type":"address","name":"newOwner","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"withdraw","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"withdrawToken","inputs":[]},{"type":"receive","stateMutability":"payable"}]
Contract Creation Code
0x60806040526901a5978e47b024e400006002556a292bcce500339a44000000600355600060045534801561003257600080fd5b50604051610c8f380380610c8f833981016040819052610051916100d3565b61005a33610083565b60018055600580546001600160a01b0319166001600160a01b0392909216919091179055610103565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000602082840312156100e557600080fd5b81516001600160a01b03811681146100fc57600080fd5b9392505050565b610b7d806101126000396000f3fe60806040526004361061010c5760003560e01c80637ff9b59611610095578063ca628c7811610064578063ca628c78146102f4578063d0febe4c14610309578063f2fde38b14610311578063f30e5b2614610331578063fb86a4041461034b57600080fd5b80637ff9b5961461025c5780638da5cb5b146102725780639d76ea58146102a4578063c884ef83146102c457600080fd5b8063523fba7f116100dc578063523fba7f146101a95780635c0133d9146101e457806366b3f6bf146101fa5780636a61e5fc14610227578063715018a61461024757600080fd5b8062f3cb211461011857806326a4e8d21461015d5780633ccfd60b1461017f57806348c54b9d1461019457600080fd5b3661011357005b600080fd5b34801561012457600080fd5b50610148610133366004610a5b565b60086020526000908152604090205460ff1681565b60405190151581526020015b60405180910390f35b34801561016957600080fd5b5061017d610178366004610a5b565b610361565b005b34801561018b57600080fd5b5061017d61038b565b3480156101a057600080fd5b5061017d610431565b3480156101b557600080fd5b506101d66101c4366004610a5b565b60066020526000908152604090205481565b604051908152602001610154565b3480156101f057600080fd5b506101d660045481565b34801561020657600080fd5b506101d6610215366004610a5b565b60076020526000908152604090205481565b34801561023357600080fd5b5061017d610242366004610a8b565b6105ca565b34801561025357600080fd5b5061017d6105d7565b34801561026857600080fd5b506101d660025481565b34801561027e57600080fd5b506000546001600160a01b03165b6040516001600160a01b039091168152602001610154565b3480156102b057600080fd5b5060055461028c906001600160a01b031681565b3480156102d057600080fd5b506101486102df366004610a5b565b60096020526000908152604090205460ff1681565b34801561030057600080fd5b5061017d6105e9565b61017d6106fb565b34801561031d57600080fd5b5061017d61032c366004610a5b565b6108e2565b34801561033d57600080fd5b506003546004541015610148565b34801561035757600080fd5b506101d660035481565b610369610958565b600580546001600160a01b0319166001600160a01b0392909216919091179055565b610393610958565b600080546040516001600160a01b039091169047908381818185875af1925050503d80600081146103e0576040519150601f19603f3d011682016040523d82523d6000602084013e6103e5565b606091505b505090508061042e5760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b60448201526064015b60405180910390fd5b50565b6104396109b2565b600354600454101561048d5760405162461bcd60e51b815260206004820152601860248201527f436c61696d206973206e6f742079657420656e61626c656400000000000000006044820152606401610425565b33600090815260066020526040902054806104ea5760405162461bcd60e51b815260206004820152601860248201527f6e6f74206861766520746f6b656e7320746f20636c61696d00000000000000006044820152606401610425565b336000818152600660209081526040808320839055600990915290819020805460ff19166001179055600554905163a9059cbb60e01b81526004810192909252602482018390526001600160a01b03169063a9059cbb906044016020604051808303816000875af1158015610563573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105879190610aa4565b5060405181815233907f47cee97cb7acd717b3c0aa1435d004cd5b3c8c57d70dbceb4e4458bbd60e39d4906020015b60405180910390a2506105c860018055565b565b6105d2610958565b600255565b6105df610958565b6105c86000610a0b565b6105f1610958565b6005546040516370a0823160e01b81523060048201526001600160a01b039091169060009082906370a0823190602401602060405180830381865afa15801561063e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106629190610ac6565b9050816001600160a01b031663a9059cbb6106856000546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602481018490526044016020604051808303816000875af11580156106d2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106f69190610aa4565b505050565b6107036109b2565b3360009081526008602052604090205460ff16156107635760405162461bcd60e51b815260206004820152601e60248201527f596f75206861766520616c726561647920626f7567687420746f6b656e7300006044820152606401610425565b346901a5978e47b024e40000146107bc5760405162461bcd60e51b815260206004820152601860248201527f57726f6e6720616d6f756e74206f66204554482073656e7400000000000000006044820152606401610425565b60035460045411156108105760405162461bcd60e51b815260206004820152601960248201527f50726573616c6520697320616c72656164792066696c6c6564000000000000006044820152606401610425565b6000600254346108209190610af5565b61083290670de0b6b3a7640000610b17565b33600090815260066020526040812080549293508392909190610856908490610b34565b9091555050336000908152600760205260408120805434929061087a908490610b34565b9091555050336000908152600860205260408120805460ff19166001179055600480543492906108ab908490610b34565b909155505060405181815233907ff4b351c7293f3c20fc9912c61adbe9823a6de3162bde18c98eb6feeae232f861906020016105b6565b6108ea610958565b6001600160a01b03811661094f5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610425565b61042e81610a0b565b6000546001600160a01b031633146105c85760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610425565b600260015403610a045760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610425565b6002600155565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600060208284031215610a6d57600080fd5b81356001600160a01b0381168114610a8457600080fd5b9392505050565b600060208284031215610a9d57600080fd5b5035919050565b600060208284031215610ab657600080fd5b81518015158114610a8457600080fd5b600060208284031215610ad857600080fd5b5051919050565b634e487b7160e01b600052601160045260246000fd5b600082610b1257634e487b7160e01b600052601260045260246000fd5b500490565b8082028115828204841417610b2e57610b2e610adf565b92915050565b80820180821115610b2e57610b2e610adf56fea26469706673582212208afd7d52f9553429aee78056f99f9f2be11e5aca85a5bcffd30a1c92d4b8b70164736f6c63430008130033000000000000000000000000f68a95926c7b753b7e8e5635830523363d903881
Deployed ByteCode
0x60806040526004361061010c5760003560e01c80637ff9b59611610095578063ca628c7811610064578063ca628c78146102f4578063d0febe4c14610309578063f2fde38b14610311578063f30e5b2614610331578063fb86a4041461034b57600080fd5b80637ff9b5961461025c5780638da5cb5b146102725780639d76ea58146102a4578063c884ef83146102c457600080fd5b8063523fba7f116100dc578063523fba7f146101a95780635c0133d9146101e457806366b3f6bf146101fa5780636a61e5fc14610227578063715018a61461024757600080fd5b8062f3cb211461011857806326a4e8d21461015d5780633ccfd60b1461017f57806348c54b9d1461019457600080fd5b3661011357005b600080fd5b34801561012457600080fd5b50610148610133366004610a5b565b60086020526000908152604090205460ff1681565b60405190151581526020015b60405180910390f35b34801561016957600080fd5b5061017d610178366004610a5b565b610361565b005b34801561018b57600080fd5b5061017d61038b565b3480156101a057600080fd5b5061017d610431565b3480156101b557600080fd5b506101d66101c4366004610a5b565b60066020526000908152604090205481565b604051908152602001610154565b3480156101f057600080fd5b506101d660045481565b34801561020657600080fd5b506101d6610215366004610a5b565b60076020526000908152604090205481565b34801561023357600080fd5b5061017d610242366004610a8b565b6105ca565b34801561025357600080fd5b5061017d6105d7565b34801561026857600080fd5b506101d660025481565b34801561027e57600080fd5b506000546001600160a01b03165b6040516001600160a01b039091168152602001610154565b3480156102b057600080fd5b5060055461028c906001600160a01b031681565b3480156102d057600080fd5b506101486102df366004610a5b565b60096020526000908152604090205460ff1681565b34801561030057600080fd5b5061017d6105e9565b61017d6106fb565b34801561031d57600080fd5b5061017d61032c366004610a5b565b6108e2565b34801561033d57600080fd5b506003546004541015610148565b34801561035757600080fd5b506101d660035481565b610369610958565b600580546001600160a01b0319166001600160a01b0392909216919091179055565b610393610958565b600080546040516001600160a01b039091169047908381818185875af1925050503d80600081146103e0576040519150601f19603f3d011682016040523d82523d6000602084013e6103e5565b606091505b505090508061042e5760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b60448201526064015b60405180910390fd5b50565b6104396109b2565b600354600454101561048d5760405162461bcd60e51b815260206004820152601860248201527f436c61696d206973206e6f742079657420656e61626c656400000000000000006044820152606401610425565b33600090815260066020526040902054806104ea5760405162461bcd60e51b815260206004820152601860248201527f6e6f74206861766520746f6b656e7320746f20636c61696d00000000000000006044820152606401610425565b336000818152600660209081526040808320839055600990915290819020805460ff19166001179055600554905163a9059cbb60e01b81526004810192909252602482018390526001600160a01b03169063a9059cbb906044016020604051808303816000875af1158015610563573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105879190610aa4565b5060405181815233907f47cee97cb7acd717b3c0aa1435d004cd5b3c8c57d70dbceb4e4458bbd60e39d4906020015b60405180910390a2506105c860018055565b565b6105d2610958565b600255565b6105df610958565b6105c86000610a0b565b6105f1610958565b6005546040516370a0823160e01b81523060048201526001600160a01b039091169060009082906370a0823190602401602060405180830381865afa15801561063e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106629190610ac6565b9050816001600160a01b031663a9059cbb6106856000546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602481018490526044016020604051808303816000875af11580156106d2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106f69190610aa4565b505050565b6107036109b2565b3360009081526008602052604090205460ff16156107635760405162461bcd60e51b815260206004820152601e60248201527f596f75206861766520616c726561647920626f7567687420746f6b656e7300006044820152606401610425565b346901a5978e47b024e40000146107bc5760405162461bcd60e51b815260206004820152601860248201527f57726f6e6720616d6f756e74206f66204554482073656e7400000000000000006044820152606401610425565b60035460045411156108105760405162461bcd60e51b815260206004820152601960248201527f50726573616c6520697320616c72656164792066696c6c6564000000000000006044820152606401610425565b6000600254346108209190610af5565b61083290670de0b6b3a7640000610b17565b33600090815260066020526040812080549293508392909190610856908490610b34565b9091555050336000908152600760205260408120805434929061087a908490610b34565b9091555050336000908152600860205260408120805460ff19166001179055600480543492906108ab908490610b34565b909155505060405181815233907ff4b351c7293f3c20fc9912c61adbe9823a6de3162bde18c98eb6feeae232f861906020016105b6565b6108ea610958565b6001600160a01b03811661094f5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610425565b61042e81610a0b565b6000546001600160a01b031633146105c85760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610425565b600260015403610a045760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610425565b6002600155565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600060208284031215610a6d57600080fd5b81356001600160a01b0381168114610a8457600080fd5b9392505050565b600060208284031215610a9d57600080fd5b5035919050565b600060208284031215610ab657600080fd5b81518015158114610a8457600080fd5b600060208284031215610ad857600080fd5b5051919050565b634e487b7160e01b600052601160045260246000fd5b600082610b1257634e487b7160e01b600052601260045260246000fd5b500490565b8082028115828204841417610b2e57610b2e610adf565b92915050565b80820180821115610b2e57610b2e610adf56fea26469706673582212208afd7d52f9553429aee78056f99f9f2be11e5aca85a5bcffd30a1c92d4b8b70164736f6c63430008130033