Transactions
Token Transfers
Tokens
Internal Transactions
Coin Balance History
Logs
Code
Read Contract
Write Contract
Warning! Contract bytecode has been changed and doesn't match the verified one. Therefore, interaction with this smart contract may be risky.
This contract has been verified via Sourcify.
View contract in Sourcify repository
- Contract name:
- CoinFlip
- Optimization enabled
- false
- Compiler version
- v0.8.20+commit.a1b79de6
- EVM Version
- shanghai
- Verified at
- 2026-02-15T00:36:25.243084Z
Coinflip.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;
/*
░█████╗░░█████╗░██╗███╗░░██╗███████╗██╗░░░░░██╗██████╗░ ██╗░░░██╗██████╗░
██╔══██╗██╔══██╗██║████╗░██║██╔════╝██║░░░░░██║██╔══██╗ ██║░░░██║╚════██╗
██║░░╚═╝██║░░██║██║██╔██╗██║█████╗░░██║░░░░░██║██████╔╝ ╚██╗░██╔╝░░███╔═╝
██║░░██╗██║░░██║██║██║╚████║██╔══╝░░██║░░░░░██║██╔═══╝░ ░╚████╔╝░██╔══╝░░
╚█████╔╝╚█████╔╝██║██║░╚███║██║░░░░░███████╗██║██║░░░░░ ░░╚██╔╝░░███████╗
░╚════╝░░╚════╝░╚═╝╚═╝░░╚══╝╚═╝░░░░░╚══════╝╚═╝╚═╝░░░░░ ░░░╚═╝░░░╚══════╝
*/
import {ReentrancyGuard} from "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/release-v5.0/contracts/utils/ReentrancyGuard.sol";
import {Pausable} from "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/release-v5.0/contracts/utils/Pausable.sol";
interface IERC20 {
function transfer(address recipient, uint256 amount) external returns (bool);
function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);
function balanceOf(address account) external view returns (uint256);
}
contract CoinFlip is ReentrancyGuard, Pausable {
address public owner;
event BetResult(address indexed player, bool win, uint256 amountWon);
event Withdrawn(address indexed player, uint256 amount);
address public constant TOKEN1 = 0x1c5f8e8E84AcC71650F7a627cfA5B24B80f44f00;
address public constant TOKEN2 = 0xB8c8761FeD2AaD5C0A75561bC604531a42c452E6;
address public constant TOKEN3 = 0xD63b9d8D6E38cb7fBfDcEEde3cE92F97f5Aea7Ac;
mapping(address => bool) public allowedTokens;
mapping(address => uint256) public maxPayoutPerToken;
uint256 public betCounter;
struct Bet {
address player;
uint8 multiplier;
uint256 amount;
address tokenAddress;
bytes32 commitHash;
bytes32 revealSecret;
bool revealed;
bool settled;
}
mapping(uint256 => Bet) public bets;
mapping(address => mapping(address => uint256)) public claimable;
modifier onlyOwner() {
require(msg.sender == owner, "Only the owner can call this function.");
_;
}
modifier onlyEOA() {
uint256 size;
address sender = msg.sender;
assembly { size := extcodesize(sender) }
require(size == 0, "Only EOAs allowed");
_;
}
constructor() {
owner = msg.sender;
allowedTokens[TOKEN1] = true;
allowedTokens[TOKEN2] = true;
allowedTokens[TOKEN3] = true;
maxPayoutPerToken[TOKEN1] = 10000 * 10**18;
maxPayoutPerToken[TOKEN2] = 5000 * 10**18;
maxPayoutPerToken[TOKEN3] = 2000 * 10**18;
}
function commitForBet(bytes32 commitHash) external whenNotPaused onlyEOA returns (uint256 betId) {
betId = betCounter++;
bets[betId] = Bet({
player: msg.sender,
multiplier: 0,
amount: 0,
tokenAddress: address(0),
commitHash: commitHash,
revealSecret: bytes32(0),
revealed: false,
settled: false
});
}
function placeBet(
uint256 betId,
uint8 _multiplier,
uint256 _amount,
address _tokenAddress
) external nonReentrant whenNotPaused onlyEOA returns (bool result) {
Bet storage bet = bets[betId];
require(bet.player == msg.sender, "Not your bet");
require(bet.multiplier == 0, "Bet already placed");
require(allowedTokens[_tokenAddress], "This token is not allowed for betting.");
require(_amount > 0, "Bet amount must be greater than 0.");
uint256 potentialPayout = _amount * _multiplier;
require(potentialPayout <= maxPayoutPerToken[_tokenAddress],
"Potential payout exceeds maximum allowed");
require(IERC20(_tokenAddress).balanceOf(address(this)) >= potentialPayout,
"Contract does not have enough funds to cover potential winnings.");
require(IERC20(_tokenAddress).transferFrom(msg.sender, address(this), _amount),
"Token transfer failed.");
require(_multiplier == 2 || _multiplier == 3 || _multiplier == 4,
"Invalid multiplier.");
bet.multiplier = _multiplier;
bet.amount = _amount;
bet.tokenAddress = _tokenAddress;
return true;
}
function reveal(uint256 betId, bytes32 secret) external nonReentrant {
Bet storage bet = bets[betId];
require(!bet.revealed, "Already revealed");
require(bet.amount > 0, "Bet not placed");
require(keccak256(abi.encodePacked(secret)) == bet.commitHash, "Invalid secret");
bet.revealSecret = secret;
bet.revealed = true;
_settleBet(betId);
}
function _settleBet(uint256 betId) internal {
Bet storage bet = bets[betId];
require(bet.revealed, "Not revealed yet");
require(!bet.settled, "Already settled");
bytes32 combined = keccak256(abi.encodePacked(
bet.revealSecret,
blockhash(block.number - 1),
block.timestamp,
betId,
bet.player
));
uint256 random = uint256(combined) % 100;
uint256 winChance;
if (bet.multiplier == 2) {
winChance = 48;
} else if (bet.multiplier == 3) {
winChance = 24;
} else {
winChance = 12;
}
bool win = random <= winChance;
IERC20 token = IERC20(bet.tokenAddress);
uint256 amountWon = 0;
if (win) {
amountWon = bet.amount * bet.multiplier;
bool success = token.transfer(bet.player, amountWon);
if (!success) {
claimable[bet.player][bet.tokenAddress] += amountWon;
}
}
emit BetResult(bet.player, win, amountWon);
}
function claim(address tokenAddress) external nonReentrant {
uint256 amt = claimable[msg.sender][tokenAddress];
require(amt > 0, "Nothing to claim");
claimable[msg.sender][tokenAddress] = 0;
require(IERC20(tokenAddress).transfer(msg.sender, amt), "Claim transfer failed");
emit Withdrawn(msg.sender, amt);
}
function pause() external onlyOwner {
_pause();
}
function unpause() external onlyOwner {
_unpause();
}
function getContractBalance(address token) external view returns (uint256) {
return IERC20(token).balanceOf(address(this));
}
function getMaxPayout(address token) external view returns (uint256) {
return maxPayoutPerToken[token];
}
}
/blob/release-v5.0/contracts/utils/Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol)
pragma solidity ^0.8.20;
/**
* @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;
}
function _contextSuffixLength() internal view virtual returns (uint256) {
return 0;
}
}
/blob/release-v5.0/contracts/utils/ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/ReentrancyGuard.sol)
pragma solidity ^0.8.20;
/**
* @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;
/**
* @dev Unauthorized reentrant call.
*/
error ReentrancyGuardReentrantCall();
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
if (_status == ENTERED) {
revert ReentrancyGuardReentrantCall();
}
// 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;
}
}
/blob/release-v5.0/contracts/utils/Pausable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/Pausable.sol)
pragma solidity ^0.8.20;
import {Context} from "../utils/Context.sol";
/**
* @dev Contract module which allows children to implement an emergency stop
* mechanism that can be triggered by an authorized account.
*
* This module is used through inheritance. It will make available the
* modifiers `whenNotPaused` and `whenPaused`, which can be applied to
* the functions of your contract. Note that they will not be pausable by
* simply including this module, only once the modifiers are put in place.
*/
abstract contract Pausable is Context {
bool private _paused;
/**
* @dev Emitted when the pause is triggered by `account`.
*/
event Paused(address account);
/**
* @dev Emitted when the pause is lifted by `account`.
*/
event Unpaused(address account);
/**
* @dev The operation failed because the contract is paused.
*/
error EnforcedPause();
/**
* @dev The operation failed because the contract is not paused.
*/
error ExpectedPause();
/**
* @dev Initializes the contract in unpaused state.
*/
constructor() {
_paused = false;
}
/**
* @dev Modifier to make a function callable only when the contract is not paused.
*
* Requirements:
*
* - The contract must not be paused.
*/
modifier whenNotPaused() {
_requireNotPaused();
_;
}
/**
* @dev Modifier to make a function callable only when the contract is paused.
*
* Requirements:
*
* - The contract must be paused.
*/
modifier whenPaused() {
_requirePaused();
_;
}
/**
* @dev Returns true if the contract is paused, and false otherwise.
*/
function paused() public view virtual returns (bool) {
return _paused;
}
/**
* @dev Throws if the contract is paused.
*/
function _requireNotPaused() internal view virtual {
if (paused()) {
revert EnforcedPause();
}
}
/**
* @dev Throws if the contract is not paused.
*/
function _requirePaused() internal view virtual {
if (!paused()) {
revert ExpectedPause();
}
}
/**
* @dev Triggers stopped state.
*
* Requirements:
*
* - The contract must not be paused.
*/
function _pause() internal virtual whenNotPaused {
_paused = true;
emit Paused(_msgSender());
}
/**
* @dev Returns to normal state.
*
* Requirements:
*
* - The contract must be paused.
*/
function _unpause() internal virtual whenPaused {
_paused = false;
emit Unpaused(_msgSender());
}
}
Compiler Settings
{"remappings":[],"optimizer":{"runs":200,"enabled":false},"metadata":{"bytecodeHash":"ipfs"},"libraries":{},"evmVersion":"shanghai","compilationTarget":{"Coinflip.sol":"CoinFlip"}}
Contract ABI
[{"type":"constructor","stateMutability":"nonpayable","inputs":[]},{"type":"error","name":"EnforcedPause","inputs":[]},{"type":"error","name":"ExpectedPause","inputs":[]},{"type":"error","name":"ReentrancyGuardReentrantCall","inputs":[]},{"type":"event","name":"BetResult","inputs":[{"type":"address","name":"player","internalType":"address","indexed":true},{"type":"bool","name":"win","internalType":"bool","indexed":false},{"type":"uint256","name":"amountWon","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"Paused","inputs":[{"type":"address","name":"account","internalType":"address","indexed":false}],"anonymous":false},{"type":"event","name":"Unpaused","inputs":[{"type":"address","name":"account","internalType":"address","indexed":false}],"anonymous":false},{"type":"event","name":"Withdrawn","inputs":[{"type":"address","name":"player","internalType":"address","indexed":true},{"type":"uint256","name":"amount","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"TOKEN1","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"TOKEN2","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"TOKEN3","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"allowedTokens","inputs":[{"type":"address","name":"","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"betCounter","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"player","internalType":"address"},{"type":"uint8","name":"multiplier","internalType":"uint8"},{"type":"uint256","name":"amount","internalType":"uint256"},{"type":"address","name":"tokenAddress","internalType":"address"},{"type":"bytes32","name":"commitHash","internalType":"bytes32"},{"type":"bytes32","name":"revealSecret","internalType":"bytes32"},{"type":"bool","name":"revealed","internalType":"bool"},{"type":"bool","name":"settled","internalType":"bool"}],"name":"bets","inputs":[{"type":"uint256","name":"","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"claim","inputs":[{"type":"address","name":"tokenAddress","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"claimable","inputs":[{"type":"address","name":"","internalType":"address"},{"type":"address","name":"","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"uint256","name":"betId","internalType":"uint256"}],"name":"commitForBet","inputs":[{"type":"bytes32","name":"commitHash","internalType":"bytes32"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"getContractBalance","inputs":[{"type":"address","name":"token","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"getMaxPayout","inputs":[{"type":"address","name":"token","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"maxPayoutPerToken","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":"pause","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"paused","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"result","internalType":"bool"}],"name":"placeBet","inputs":[{"type":"uint256","name":"betId","internalType":"uint256"},{"type":"uint8","name":"_multiplier","internalType":"uint8"},{"type":"uint256","name":"_amount","internalType":"uint256"},{"type":"address","name":"_tokenAddress","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"reveal","inputs":[{"type":"uint256","name":"betId","internalType":"uint256"},{"type":"bytes32","name":"secret","internalType":"bytes32"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"unpause","inputs":[]}]
Contract Creation Code
0x608060405234801561000f575f80fd5b5060015f819055505f60015f6101000a81548160ff021916908315150217905550336001806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600160025f731c5f8e8e84acc71650f7a627cfa5b24b80f44f0073ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff021916908315150217905550600160025f73b8c8761fed2aad5c0a75561bc604531a42c452e673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff021916908315150217905550600160025f73d63b9d8d6e38cb7fbfdceede3ce92f97f5aea7ac73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff02191690831515021790555069021e19e0c9bab240000060035f731c5f8e8e84acc71650f7a627cfa5b24b80f44f0073ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f208190555069010f0cf064dd5920000060035f73b8c8761fed2aad5c0a75561bc604531a42c452e673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081905550686c6b935b8bbd40000060035f73d63b9d8d6e38cb7fbfdceede3ce92f97f5aea7ac73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081905550612620806102d75f395ff3fe608060405234801561000f575f80fd5b5060043610610114575f3560e01c80638456cb59116100a0578063c301bf0c1161006f578063c301bf0c146102c1578063d4570c1c146102f1578063d9f7536f14610321578063e744092e14610351578063e795ed471461038157610114565b80638456cb591461024b5780638da5cb5b14610255578063a416f5ab14610273578063ab3811931461029157610114565b80633f4ba83a116100e75780633f4ba83a146101b95780634036778f146101c357806343ab265f146101df5780635c975abb1461020f5780635ee04d781461022d57610114565b806306e6291d146101185780630bad163a146101365780631e83409a1461016657806322af00fa14610182575b5f80fd5b61012061039f565b60405161012d919061176f565b60405180910390f35b610150600480360381019061014b91906117b6565b6103b7565b60405161015d91906117f9565b60405180910390f35b610180600480360381019061017b91906117b6565b6103cc565b005b61019c6004803603810190610197919061183c565b610623565b6040516101b09897969594939291906118b4565b60405180910390f35b6101c16106ca565b005b6101dd60048036038101906101d8919061195a565b610762565b005b6101f960048036038101906101f491906117b6565b6108bc565b60405161020691906117f9565b60405180910390f35b61021761093c565b6040516102249190611998565b60405180910390f35b610235610951565b604051610242919061176f565b60405180910390f35b610253610969565b005b61025d610a01565b60405161026a919061176f565b60405180910390f35b61027b610a25565b60405161028891906117f9565b60405180910390f35b6102ab60048036038101906102a691906117b6565b610a2b565b6040516102b891906117f9565b60405180910390f35b6102db60048036038101906102d691906119db565b610a71565b6040516102e89190611998565b60405180910390f35b61030b60048036038101906103069190611a3f565b610f7a565b60405161031891906117f9565b60405180910390f35b61033b60048036038101906103369190611a7d565b610f9a565b60405161034891906117f9565b60405180910390f35b61036b600480360381019061036691906117b6565b611197565b6040516103789190611998565b60405180910390f35b6103896111b4565b604051610396919061176f565b60405180910390f35b73d63b9d8d6e38cb7fbfdceede3ce92f97f5aea7ac81565b6003602052805f5260405f205f915090505481565b6103d46111cc565b5f60065f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205490505f8111610492576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161048990611b02565b60405180910390fd5b5f60065f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff1660e01b815260040161054a929190611b20565b6020604051808303815f875af1158015610566573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061058a9190611b71565b6105c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105c090611be6565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff167f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d58260405161060f91906117f9565b60405180910390a250610620611210565b50565b6005602052805f5260405f205f91509050805f015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690805f0160149054906101000a900460ff1690806001015490806002015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690806003015490806004015490806005015f9054906101000a900460ff16908060050160019054906101000a900460ff16905088565b60018054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610758576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161074f90611c74565b60405180910390fd5b610760611219565b565b61076a6111cc565b5f60055f8481526020019081526020015f209050806005015f9054906101000a900460ff16156107cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107c690611cdc565b60405180910390fd5b5f816001015411610815576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161080c90611d44565b60405180910390fd5b80600301548260405160200161082b9190611d82565b6040516020818303038152906040528051906020012014610881576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161087890611de6565b60405180910390fd5b8181600401819055506001816005015f6101000a81548160ff0219169083151502179055506108af8361127a565b506108b8611210565b5050565b5f8173ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016108f6919061176f565b602060405180830381865afa158015610911573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109359190611e18565b9050919050565b5f60015f9054906101000a900460ff16905090565b731c5f8e8e84acc71650f7a627cfa5b24b80f44f0081565b60018054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146109f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109ee90611c74565b60405180910390fd5b6109ff611647565b565b60018054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60045481565b5f60035f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b5f610a7a6111cc565b610a826116a8565b5f80339050803b91505f8214610acd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ac490611e8d565b60405180910390fd5b5f60055f8981526020019081526020015f2090503373ffffffffffffffffffffffffffffffffffffffff16815f015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610b71576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b6890611ef5565b60405180910390fd5b5f815f0160149054906101000a900460ff1660ff1614610bc6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bbd90611f5d565b60405180910390fd5b60025f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16610c4f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c4690611feb565b60405180910390fd5b5f8611610c91576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c8890612079565b60405180910390fd5b5f8760ff1687610ca191906120c4565b905060035f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054811115610d23576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d1a90612175565b60405180910390fd5b808673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610d5d919061176f565b602060405180830381865afa158015610d78573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d9c9190611e18565b1015610ddd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dd490612203565b60405180910390fd5b8573ffffffffffffffffffffffffffffffffffffffff166323b872dd33308a6040518463ffffffff1660e01b8152600401610e1a93929190612221565b6020604051808303815f875af1158015610e36573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e5a9190611b71565b610e99576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e90906122a0565b60405180910390fd5b60028860ff161480610eae575060038860ff16145b80610ebc575060048860ff16145b610efb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ef290612308565b60405180910390fd5b87825f0160146101000a81548160ff021916908360ff16021790555086826001018190555085826002015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506001945050505050610f72611210565b949350505050565b6006602052815f5260405f20602052805f5260405f205f91509150505481565b5f610fa36116a8565b5f80339050803b91505f8214610fee576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fe590611e8d565b60405180910390fd5b60045f81548092919061100090612326565b9190505592506040518061010001604052803373ffffffffffffffffffffffffffffffffffffffff1681526020015f60ff1681526020015f81526020015f73ffffffffffffffffffffffffffffffffffffffff1681526020018581526020015f801b81526020015f151581526020015f151581525060055f8581526020019081526020015f205f820151815f015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506020820151815f0160146101000a81548160ff021916908360ff160217905550604082015181600101556060820151816002015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506080820151816003015560a0820151816004015560c0820151816005015f6101000a81548160ff02191690831515021790555060e08201518160050160016101000a81548160ff0219169083151502179055509050505050919050565b6002602052805f5260405f205f915054906101000a900460ff1681565b73b8c8761fed2aad5c0a75561bc604531a42c452e681565b60025f5403611207576040517f3ee5aeb500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60025f81905550565b60015f81905550565b6112216116e9565b5f60015f6101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa611263611729565b604051611270919061176f565b60405180910390a1565b5f60055f8381526020019081526020015f209050806005015f9054906101000a900460ff166112de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112d5906123b7565b60405180910390fd5b8060050160019054906101000a900460ff1615611330576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113279061241f565b60405180910390fd5b5f8160040154600143611343919061243d565b404285855f015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1660405160200161137d9594939291906124d5565b6040516020818303038152906040528051906020012090505f6064825f1c6113a59190612560565b90505f6002845f0160149054906101000a900460ff1660ff16036113cc57603090506113f6565b6003845f0160149054906101000a900460ff1660ff16036113f057601890506113f5565b600c90505b5b5f8183111590505f856002015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690505f82156115cb57865f0160149054906101000a900460ff1660ff16876001015461144e91906120c4565b90505f8273ffffffffffffffffffffffffffffffffffffffff1663a9059cbb895f015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16846040518363ffffffff1660e01b81526004016114ae929190611b20565b6020604051808303815f875af11580156114ca573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114ee9190611b71565b9050806115c9578160065f8a5f015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8a6002015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8282546115c19190612590565b925050819055505b505b865f015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f883f4d0c1f1f46295aca1500eb9887530d302925a814aa0a107fc8ca8b77971d84836040516116359291906125c3565b60405180910390a25050505050505050565b61164f6116a8565b6001805f6101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611691611729565b60405161169e919061176f565b60405180910390a1565b6116b061093c565b156116e7576040517fd93c066500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b565b6116f161093c565b611727576040517f8dfc202b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b565b5f33905090565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f61175982611730565b9050919050565b6117698161174f565b82525050565b5f6020820190506117825f830184611760565b92915050565b5f80fd5b6117958161174f565b811461179f575f80fd5b50565b5f813590506117b08161178c565b92915050565b5f602082840312156117cb576117ca611788565b5b5f6117d8848285016117a2565b91505092915050565b5f819050919050565b6117f3816117e1565b82525050565b5f60208201905061180c5f8301846117ea565b92915050565b61181b816117e1565b8114611825575f80fd5b50565b5f8135905061183681611812565b92915050565b5f6020828403121561185157611850611788565b5b5f61185e84828501611828565b91505092915050565b5f60ff82169050919050565b61187c81611867565b82525050565b5f819050919050565b61189481611882565b82525050565b5f8115159050919050565b6118ae8161189a565b82525050565b5f610100820190506118c85f83018b611760565b6118d5602083018a611873565b6118e260408301896117ea565b6118ef6060830188611760565b6118fc608083018761188b565b61190960a083018661188b565b61191660c08301856118a5565b61192360e08301846118a5565b9998505050505050505050565b61193981611882565b8114611943575f80fd5b50565b5f8135905061195481611930565b92915050565b5f80604083850312156119705761196f611788565b5b5f61197d85828601611828565b925050602061198e85828601611946565b9150509250929050565b5f6020820190506119ab5f8301846118a5565b92915050565b6119ba81611867565b81146119c4575f80fd5b50565b5f813590506119d5816119b1565b92915050565b5f805f80608085870312156119f3576119f2611788565b5b5f611a0087828801611828565b9450506020611a11878288016119c7565b9350506040611a2287828801611828565b9250506060611a33878288016117a2565b91505092959194509250565b5f8060408385031215611a5557611a54611788565b5b5f611a62858286016117a2565b9250506020611a73858286016117a2565b9150509250929050565b5f60208284031215611a9257611a91611788565b5b5f611a9f84828501611946565b91505092915050565b5f82825260208201905092915050565b7f4e6f7468696e6720746f20636c61696d000000000000000000000000000000005f82015250565b5f611aec601083611aa8565b9150611af782611ab8565b602082019050919050565b5f6020820190508181035f830152611b1981611ae0565b9050919050565b5f604082019050611b335f830185611760565b611b4060208301846117ea565b9392505050565b611b508161189a565b8114611b5a575f80fd5b50565b5f81519050611b6b81611b47565b92915050565b5f60208284031215611b8657611b85611788565b5b5f611b9384828501611b5d565b91505092915050565b7f436c61696d207472616e73666572206661696c656400000000000000000000005f82015250565b5f611bd0601583611aa8565b9150611bdb82611b9c565b602082019050919050565b5f6020820190508181035f830152611bfd81611bc4565b9050919050565b7f4f6e6c7920746865206f776e65722063616e2063616c6c20746869732066756e5f8201527f6374696f6e2e0000000000000000000000000000000000000000000000000000602082015250565b5f611c5e602683611aa8565b9150611c6982611c04565b604082019050919050565b5f6020820190508181035f830152611c8b81611c52565b9050919050565b7f416c72656164792072657665616c6564000000000000000000000000000000005f82015250565b5f611cc6601083611aa8565b9150611cd182611c92565b602082019050919050565b5f6020820190508181035f830152611cf381611cba565b9050919050565b7f426574206e6f7420706c616365640000000000000000000000000000000000005f82015250565b5f611d2e600e83611aa8565b9150611d3982611cfa565b602082019050919050565b5f6020820190508181035f830152611d5b81611d22565b9050919050565b5f819050919050565b611d7c611d7782611882565b611d62565b82525050565b5f611d8d8284611d6b565b60208201915081905092915050565b7f496e76616c6964207365637265740000000000000000000000000000000000005f82015250565b5f611dd0600e83611aa8565b9150611ddb82611d9c565b602082019050919050565b5f6020820190508181035f830152611dfd81611dc4565b9050919050565b5f81519050611e1281611812565b92915050565b5f60208284031215611e2d57611e2c611788565b5b5f611e3a84828501611e04565b91505092915050565b7f4f6e6c7920454f417320616c6c6f7765640000000000000000000000000000005f82015250565b5f611e77601183611aa8565b9150611e8282611e43565b602082019050919050565b5f6020820190508181035f830152611ea481611e6b565b9050919050565b7f4e6f7420796f75722062657400000000000000000000000000000000000000005f82015250565b5f611edf600c83611aa8565b9150611eea82611eab565b602082019050919050565b5f6020820190508181035f830152611f0c81611ed3565b9050919050565b7f42657420616c726561647920706c6163656400000000000000000000000000005f82015250565b5f611f47601283611aa8565b9150611f5282611f13565b602082019050919050565b5f6020820190508181035f830152611f7481611f3b565b9050919050565b7f5468697320746f6b656e206973206e6f7420616c6c6f77656420666f722062655f8201527f7474696e672e0000000000000000000000000000000000000000000000000000602082015250565b5f611fd5602683611aa8565b9150611fe082611f7b565b604082019050919050565b5f6020820190508181035f83015261200281611fc9565b9050919050565b7f42657420616d6f756e74206d7573742062652067726561746572207468616e205f8201527f302e000000000000000000000000000000000000000000000000000000000000602082015250565b5f612063602283611aa8565b915061206e82612009565b604082019050919050565b5f6020820190508181035f83015261209081612057565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f6120ce826117e1565b91506120d9836117e1565b92508282026120e7816117e1565b915082820484148315176120fe576120fd612097565b5b5092915050565b7f506f74656e7469616c207061796f75742065786365656473206d6178696d756d5f8201527f20616c6c6f776564000000000000000000000000000000000000000000000000602082015250565b5f61215f602883611aa8565b915061216a82612105565b604082019050919050565b5f6020820190508181035f83015261218c81612153565b9050919050565b7f436f6e747261637420646f6573206e6f74206861766520656e6f7567682066755f8201527f6e647320746f20636f76657220706f74656e7469616c2077696e6e696e67732e602082015250565b5f6121ed604083611aa8565b91506121f882612193565b604082019050919050565b5f6020820190508181035f83015261221a816121e1565b9050919050565b5f6060820190506122345f830186611760565b6122416020830185611760565b61224e60408301846117ea565b949350505050565b7f546f6b656e207472616e73666572206661696c65642e000000000000000000005f82015250565b5f61228a601683611aa8565b915061229582612256565b602082019050919050565b5f6020820190508181035f8301526122b78161227e565b9050919050565b7f496e76616c6964206d756c7469706c6965722e000000000000000000000000005f82015250565b5f6122f2601383611aa8565b91506122fd826122be565b602082019050919050565b5f6020820190508181035f83015261231f816122e6565b9050919050565b5f612330826117e1565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361236257612361612097565b5b600182019050919050565b7f4e6f742072657665616c656420796574000000000000000000000000000000005f82015250565b5f6123a1601083611aa8565b91506123ac8261236d565b602082019050919050565b5f6020820190508181035f8301526123ce81612395565b9050919050565b7f416c726561647920736574746c656400000000000000000000000000000000005f82015250565b5f612409600f83611aa8565b9150612414826123d5565b602082019050919050565b5f6020820190508181035f830152612436816123fd565b9050919050565b5f612447826117e1565b9150612452836117e1565b925082820390508181111561246a57612469612097565b5b92915050565b5f819050919050565b61248a612485826117e1565b612470565b82525050565b5f8160601b9050919050565b5f6124a682612490565b9050919050565b5f6124b78261249c565b9050919050565b6124cf6124ca8261174f565b6124ad565b82525050565b5f6124e08288611d6b565b6020820191506124f08287611d6b565b6020820191506125008286612479565b6020820191506125108285612479565b60208201915061252082846124be565b6014820191508190509695505050505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b5f61256a826117e1565b9150612575836117e1565b92508261258557612584612533565b5b828206905092915050565b5f61259a826117e1565b91506125a5836117e1565b92508282019050808211156125bd576125bc612097565b5b92915050565b5f6040820190506125d65f8301856118a5565b6125e360208301846117ea565b939250505056fea2646970667358221220edf6a1c4781bbb2e5e20df9809a770517ca7bc4b07e9f4f219d4b1c49ee05b9364736f6c63430008140033
Deployed ByteCode
0x608060405234801561000f575f80fd5b5060043610610114575f3560e01c80638456cb59116100a0578063c301bf0c1161006f578063c301bf0c146102c1578063d4570c1c146102f1578063d9f7536f14610321578063e744092e14610351578063e795ed471461038157610114565b80638456cb591461024b5780638da5cb5b14610255578063a416f5ab14610273578063ab3811931461029157610114565b80633f4ba83a116100e75780633f4ba83a146101b95780634036778f146101c357806343ab265f146101df5780635c975abb1461020f5780635ee04d781461022d57610114565b806306e6291d146101185780630bad163a146101365780631e83409a1461016657806322af00fa14610182575b5f80fd5b61012061039f565b60405161012d919061176f565b60405180910390f35b610150600480360381019061014b91906117b6565b6103b7565b60405161015d91906117f9565b60405180910390f35b610180600480360381019061017b91906117b6565b6103cc565b005b61019c6004803603810190610197919061183c565b610623565b6040516101b09897969594939291906118b4565b60405180910390f35b6101c16106ca565b005b6101dd60048036038101906101d8919061195a565b610762565b005b6101f960048036038101906101f491906117b6565b6108bc565b60405161020691906117f9565b60405180910390f35b61021761093c565b6040516102249190611998565b60405180910390f35b610235610951565b604051610242919061176f565b60405180910390f35b610253610969565b005b61025d610a01565b60405161026a919061176f565b60405180910390f35b61027b610a25565b60405161028891906117f9565b60405180910390f35b6102ab60048036038101906102a691906117b6565b610a2b565b6040516102b891906117f9565b60405180910390f35b6102db60048036038101906102d691906119db565b610a71565b6040516102e89190611998565b60405180910390f35b61030b60048036038101906103069190611a3f565b610f7a565b60405161031891906117f9565b60405180910390f35b61033b60048036038101906103369190611a7d565b610f9a565b60405161034891906117f9565b60405180910390f35b61036b600480360381019061036691906117b6565b611197565b6040516103789190611998565b60405180910390f35b6103896111b4565b604051610396919061176f565b60405180910390f35b73d63b9d8d6e38cb7fbfdceede3ce92f97f5aea7ac81565b6003602052805f5260405f205f915090505481565b6103d46111cc565b5f60065f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205490505f8111610492576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161048990611b02565b60405180910390fd5b5f60065f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff1660e01b815260040161054a929190611b20565b6020604051808303815f875af1158015610566573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061058a9190611b71565b6105c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105c090611be6565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff167f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d58260405161060f91906117f9565b60405180910390a250610620611210565b50565b6005602052805f5260405f205f91509050805f015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690805f0160149054906101000a900460ff1690806001015490806002015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690806003015490806004015490806005015f9054906101000a900460ff16908060050160019054906101000a900460ff16905088565b60018054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610758576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161074f90611c74565b60405180910390fd5b610760611219565b565b61076a6111cc565b5f60055f8481526020019081526020015f209050806005015f9054906101000a900460ff16156107cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107c690611cdc565b60405180910390fd5b5f816001015411610815576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161080c90611d44565b60405180910390fd5b80600301548260405160200161082b9190611d82565b6040516020818303038152906040528051906020012014610881576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161087890611de6565b60405180910390fd5b8181600401819055506001816005015f6101000a81548160ff0219169083151502179055506108af8361127a565b506108b8611210565b5050565b5f8173ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016108f6919061176f565b602060405180830381865afa158015610911573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109359190611e18565b9050919050565b5f60015f9054906101000a900460ff16905090565b731c5f8e8e84acc71650f7a627cfa5b24b80f44f0081565b60018054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146109f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109ee90611c74565b60405180910390fd5b6109ff611647565b565b60018054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60045481565b5f60035f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b5f610a7a6111cc565b610a826116a8565b5f80339050803b91505f8214610acd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ac490611e8d565b60405180910390fd5b5f60055f8981526020019081526020015f2090503373ffffffffffffffffffffffffffffffffffffffff16815f015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610b71576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b6890611ef5565b60405180910390fd5b5f815f0160149054906101000a900460ff1660ff1614610bc6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bbd90611f5d565b60405180910390fd5b60025f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16610c4f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c4690611feb565b60405180910390fd5b5f8611610c91576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c8890612079565b60405180910390fd5b5f8760ff1687610ca191906120c4565b905060035f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054811115610d23576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d1a90612175565b60405180910390fd5b808673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610d5d919061176f565b602060405180830381865afa158015610d78573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d9c9190611e18565b1015610ddd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dd490612203565b60405180910390fd5b8573ffffffffffffffffffffffffffffffffffffffff166323b872dd33308a6040518463ffffffff1660e01b8152600401610e1a93929190612221565b6020604051808303815f875af1158015610e36573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e5a9190611b71565b610e99576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e90906122a0565b60405180910390fd5b60028860ff161480610eae575060038860ff16145b80610ebc575060048860ff16145b610efb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ef290612308565b60405180910390fd5b87825f0160146101000a81548160ff021916908360ff16021790555086826001018190555085826002015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506001945050505050610f72611210565b949350505050565b6006602052815f5260405f20602052805f5260405f205f91509150505481565b5f610fa36116a8565b5f80339050803b91505f8214610fee576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fe590611e8d565b60405180910390fd5b60045f81548092919061100090612326565b9190505592506040518061010001604052803373ffffffffffffffffffffffffffffffffffffffff1681526020015f60ff1681526020015f81526020015f73ffffffffffffffffffffffffffffffffffffffff1681526020018581526020015f801b81526020015f151581526020015f151581525060055f8581526020019081526020015f205f820151815f015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506020820151815f0160146101000a81548160ff021916908360ff160217905550604082015181600101556060820151816002015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506080820151816003015560a0820151816004015560c0820151816005015f6101000a81548160ff02191690831515021790555060e08201518160050160016101000a81548160ff0219169083151502179055509050505050919050565b6002602052805f5260405f205f915054906101000a900460ff1681565b73b8c8761fed2aad5c0a75561bc604531a42c452e681565b60025f5403611207576040517f3ee5aeb500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60025f81905550565b60015f81905550565b6112216116e9565b5f60015f6101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa611263611729565b604051611270919061176f565b60405180910390a1565b5f60055f8381526020019081526020015f209050806005015f9054906101000a900460ff166112de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112d5906123b7565b60405180910390fd5b8060050160019054906101000a900460ff1615611330576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113279061241f565b60405180910390fd5b5f8160040154600143611343919061243d565b404285855f015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1660405160200161137d9594939291906124d5565b6040516020818303038152906040528051906020012090505f6064825f1c6113a59190612560565b90505f6002845f0160149054906101000a900460ff1660ff16036113cc57603090506113f6565b6003845f0160149054906101000a900460ff1660ff16036113f057601890506113f5565b600c90505b5b5f8183111590505f856002015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690505f82156115cb57865f0160149054906101000a900460ff1660ff16876001015461144e91906120c4565b90505f8273ffffffffffffffffffffffffffffffffffffffff1663a9059cbb895f015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16846040518363ffffffff1660e01b81526004016114ae929190611b20565b6020604051808303815f875af11580156114ca573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114ee9190611b71565b9050806115c9578160065f8a5f015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8a6002015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8282546115c19190612590565b925050819055505b505b865f015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f883f4d0c1f1f46295aca1500eb9887530d302925a814aa0a107fc8ca8b77971d84836040516116359291906125c3565b60405180910390a25050505050505050565b61164f6116a8565b6001805f6101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611691611729565b60405161169e919061176f565b60405180910390a1565b6116b061093c565b156116e7576040517fd93c066500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b565b6116f161093c565b611727576040517f8dfc202b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b565b5f33905090565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f61175982611730565b9050919050565b6117698161174f565b82525050565b5f6020820190506117825f830184611760565b92915050565b5f80fd5b6117958161174f565b811461179f575f80fd5b50565b5f813590506117b08161178c565b92915050565b5f602082840312156117cb576117ca611788565b5b5f6117d8848285016117a2565b91505092915050565b5f819050919050565b6117f3816117e1565b82525050565b5f60208201905061180c5f8301846117ea565b92915050565b61181b816117e1565b8114611825575f80fd5b50565b5f8135905061183681611812565b92915050565b5f6020828403121561185157611850611788565b5b5f61185e84828501611828565b91505092915050565b5f60ff82169050919050565b61187c81611867565b82525050565b5f819050919050565b61189481611882565b82525050565b5f8115159050919050565b6118ae8161189a565b82525050565b5f610100820190506118c85f83018b611760565b6118d5602083018a611873565b6118e260408301896117ea565b6118ef6060830188611760565b6118fc608083018761188b565b61190960a083018661188b565b61191660c08301856118a5565b61192360e08301846118a5565b9998505050505050505050565b61193981611882565b8114611943575f80fd5b50565b5f8135905061195481611930565b92915050565b5f80604083850312156119705761196f611788565b5b5f61197d85828601611828565b925050602061198e85828601611946565b9150509250929050565b5f6020820190506119ab5f8301846118a5565b92915050565b6119ba81611867565b81146119c4575f80fd5b50565b5f813590506119d5816119b1565b92915050565b5f805f80608085870312156119f3576119f2611788565b5b5f611a0087828801611828565b9450506020611a11878288016119c7565b9350506040611a2287828801611828565b9250506060611a33878288016117a2565b91505092959194509250565b5f8060408385031215611a5557611a54611788565b5b5f611a62858286016117a2565b9250506020611a73858286016117a2565b9150509250929050565b5f60208284031215611a9257611a91611788565b5b5f611a9f84828501611946565b91505092915050565b5f82825260208201905092915050565b7f4e6f7468696e6720746f20636c61696d000000000000000000000000000000005f82015250565b5f611aec601083611aa8565b9150611af782611ab8565b602082019050919050565b5f6020820190508181035f830152611b1981611ae0565b9050919050565b5f604082019050611b335f830185611760565b611b4060208301846117ea565b9392505050565b611b508161189a565b8114611b5a575f80fd5b50565b5f81519050611b6b81611b47565b92915050565b5f60208284031215611b8657611b85611788565b5b5f611b9384828501611b5d565b91505092915050565b7f436c61696d207472616e73666572206661696c656400000000000000000000005f82015250565b5f611bd0601583611aa8565b9150611bdb82611b9c565b602082019050919050565b5f6020820190508181035f830152611bfd81611bc4565b9050919050565b7f4f6e6c7920746865206f776e65722063616e2063616c6c20746869732066756e5f8201527f6374696f6e2e0000000000000000000000000000000000000000000000000000602082015250565b5f611c5e602683611aa8565b9150611c6982611c04565b604082019050919050565b5f6020820190508181035f830152611c8b81611c52565b9050919050565b7f416c72656164792072657665616c6564000000000000000000000000000000005f82015250565b5f611cc6601083611aa8565b9150611cd182611c92565b602082019050919050565b5f6020820190508181035f830152611cf381611cba565b9050919050565b7f426574206e6f7420706c616365640000000000000000000000000000000000005f82015250565b5f611d2e600e83611aa8565b9150611d3982611cfa565b602082019050919050565b5f6020820190508181035f830152611d5b81611d22565b9050919050565b5f819050919050565b611d7c611d7782611882565b611d62565b82525050565b5f611d8d8284611d6b565b60208201915081905092915050565b7f496e76616c6964207365637265740000000000000000000000000000000000005f82015250565b5f611dd0600e83611aa8565b9150611ddb82611d9c565b602082019050919050565b5f6020820190508181035f830152611dfd81611dc4565b9050919050565b5f81519050611e1281611812565b92915050565b5f60208284031215611e2d57611e2c611788565b5b5f611e3a84828501611e04565b91505092915050565b7f4f6e6c7920454f417320616c6c6f7765640000000000000000000000000000005f82015250565b5f611e77601183611aa8565b9150611e8282611e43565b602082019050919050565b5f6020820190508181035f830152611ea481611e6b565b9050919050565b7f4e6f7420796f75722062657400000000000000000000000000000000000000005f82015250565b5f611edf600c83611aa8565b9150611eea82611eab565b602082019050919050565b5f6020820190508181035f830152611f0c81611ed3565b9050919050565b7f42657420616c726561647920706c6163656400000000000000000000000000005f82015250565b5f611f47601283611aa8565b9150611f5282611f13565b602082019050919050565b5f6020820190508181035f830152611f7481611f3b565b9050919050565b7f5468697320746f6b656e206973206e6f7420616c6c6f77656420666f722062655f8201527f7474696e672e0000000000000000000000000000000000000000000000000000602082015250565b5f611fd5602683611aa8565b9150611fe082611f7b565b604082019050919050565b5f6020820190508181035f83015261200281611fc9565b9050919050565b7f42657420616d6f756e74206d7573742062652067726561746572207468616e205f8201527f302e000000000000000000000000000000000000000000000000000000000000602082015250565b5f612063602283611aa8565b915061206e82612009565b604082019050919050565b5f6020820190508181035f83015261209081612057565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f6120ce826117e1565b91506120d9836117e1565b92508282026120e7816117e1565b915082820484148315176120fe576120fd612097565b5b5092915050565b7f506f74656e7469616c207061796f75742065786365656473206d6178696d756d5f8201527f20616c6c6f776564000000000000000000000000000000000000000000000000602082015250565b5f61215f602883611aa8565b915061216a82612105565b604082019050919050565b5f6020820190508181035f83015261218c81612153565b9050919050565b7f436f6e747261637420646f6573206e6f74206861766520656e6f7567682066755f8201527f6e647320746f20636f76657220706f74656e7469616c2077696e6e696e67732e602082015250565b5f6121ed604083611aa8565b91506121f882612193565b604082019050919050565b5f6020820190508181035f83015261221a816121e1565b9050919050565b5f6060820190506122345f830186611760565b6122416020830185611760565b61224e60408301846117ea565b949350505050565b7f546f6b656e207472616e73666572206661696c65642e000000000000000000005f82015250565b5f61228a601683611aa8565b915061229582612256565b602082019050919050565b5f6020820190508181035f8301526122b78161227e565b9050919050565b7f496e76616c6964206d756c7469706c6965722e000000000000000000000000005f82015250565b5f6122f2601383611aa8565b91506122fd826122be565b602082019050919050565b5f6020820190508181035f83015261231f816122e6565b9050919050565b5f612330826117e1565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361236257612361612097565b5b600182019050919050565b7f4e6f742072657665616c656420796574000000000000000000000000000000005f82015250565b5f6123a1601083611aa8565b91506123ac8261236d565b602082019050919050565b5f6020820190508181035f8301526123ce81612395565b9050919050565b7f416c726561647920736574746c656400000000000000000000000000000000005f82015250565b5f612409600f83611aa8565b9150612414826123d5565b602082019050919050565b5f6020820190508181035f830152612436816123fd565b9050919050565b5f612447826117e1565b9150612452836117e1565b925082820390508181111561246a57612469612097565b5b92915050565b5f819050919050565b61248a612485826117e1565b612470565b82525050565b5f8160601b9050919050565b5f6124a682612490565b9050919050565b5f6124b78261249c565b9050919050565b6124cf6124ca8261174f565b6124ad565b82525050565b5f6124e08288611d6b565b6020820191506124f08287611d6b565b6020820191506125008286612479565b6020820191506125108285612479565b60208201915061252082846124be565b6014820191508190509695505050505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b5f61256a826117e1565b9150612575836117e1565b92508261258557612584612533565b5b828206905092915050565b5f61259a826117e1565b91506125a5836117e1565b92508282019050808211156125bd576125bc612097565b5b92915050565b5f6040820190506125d65f8301856118a5565b6125e360208301846117ea565b939250505056fea2646970667358221220edf6a1c4781bbb2e5e20df9809a770517ca7bc4b07e9f4f219d4b1c49ee05b9364736f6c63430008140033