Source Code
Latest 25 from a total of 3,563 transactions
| Transaction Hash |
|
Block
|
From
|
To
|
|||||
|---|---|---|---|---|---|---|---|---|---|
| Batch Reveal | 43015522 | 2 days ago | IN | 0 ETH | 0.00000305 | ||||
| Click | 43015515 | 2 days ago | IN | 0 ETH | 0.00000457 | ||||
| Click | 43015508 | 2 days ago | IN | 0 ETH | 0.00000192 | ||||
| Click | 43015502 | 2 days ago | IN | 0 ETH | 0.0000016 | ||||
| Click | 43015495 | 2 days ago | IN | 0 ETH | 0.00000161 | ||||
| Click | 43015489 | 2 days ago | IN | 0 ETH | 0.00000143 | ||||
| Click | 43015484 | 2 days ago | IN | 0 ETH | 0.00000142 | ||||
| Click | 43015477 | 2 days ago | IN | 0 ETH | 0.00000243 | ||||
| Click | 43015471 | 2 days ago | IN | 0 ETH | 0.00000144 | ||||
| Batch Reveal | 43015467 | 2 days ago | IN | 0 ETH | 0.00000228 | ||||
| Click | 43015461 | 2 days ago | IN | 0 ETH | 0.00000143 | ||||
| Click | 43015454 | 2 days ago | IN | 0 ETH | 0.00000145 | ||||
| Click | 43015441 | 2 days ago | IN | 0 ETH | 0.00000146 | ||||
| Click | 43015403 | 2 days ago | IN | 0 ETH | 0.00000288 | ||||
| Click | 43015396 | 2 days ago | IN | 0 ETH | 0.00000288 | ||||
| Click | 43015390 | 2 days ago | IN | 0 ETH | 0.00000226 | ||||
| Click | 43015383 | 2 days ago | IN | 0 ETH | 0.00000298 | ||||
| Click | 43015377 | 2 days ago | IN | 0 ETH | 0.00000313 | ||||
| Click | 43015371 | 2 days ago | IN | 0 ETH | 0.00000183 | ||||
| Click | 43015365 | 2 days ago | IN | 0 ETH | 0.00000169 | ||||
| Click | 43015359 | 2 days ago | IN | 0 ETH | 0.00000239 | ||||
| Reveal | 43015342 | 2 days ago | IN | 0 ETH | 0.00000081 | ||||
| Click | 43015336 | 2 days ago | IN | 0 ETH | 0.00000144 | ||||
| Click | 43015322 | 2 days ago | IN | 0 ETH | 0.00000141 | ||||
| Click | 43015316 | 2 days ago | IN | 0 ETH | 0.00000196 |
Cross-Chain Transactions
Loading...
Loading
Contract Name:
TenTwentyFourX
Compiler Version
v0.8.33+commit.64118f21
Optimization Enabled:
No with 200 runs
Other Settings:
prague EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "@openzeppelin/contracts/utils/ReentrancyGuard.sol";
/**
* @title TenTwentyFourX
* @notice Simple variable-odds CLAWD betting game.
*
* Pick a bet size, pick a multiplier, roll. If you win, claim within 256 blocks.
* Multiple bets at once are fine. No funds are "locked" — house just needs enough
* to cover any single winning bet. Disclaimer covers simultaneous wins.
*
* Economics:
* - Bet tiers: 2K / 10K / 50K / 100K CLAWD
* - Multipliers: 2x to 1024x (powers of 2)
* - 1% of every bet burned forever
* - 1% of every winning claim burned forever
* - 2% house edge on winnings
*/
contract TenTwentyFourX is ReentrancyGuard {
using SafeERC20 for IERC20;
IERC20 public immutable token;
address public owner;
address public pendingOwner;
uint256 public constant HOUSE_EDGE_PERCENT = 2;
uint256 public constant BURN_PERCENT = 1;
uint256 public constant REVEAL_WINDOW = 256;
address public constant BURN_ADDRESS = 0x000000000000000000000000000000000000dEaD;
uint256 public constant WITHDRAW_DELAY = 15 minutes;
uint256 public constant MAX_PAYOUT_DIVISOR = 5; // Max payout = house balance / 5
uint256[6] public VALID_BETS = [
2_000 * 1e18,
10_000 * 1e18,
50_000 * 1e18,
100_000 * 1e18,
500_000 * 1e18,
1_000_000 * 1e18
];
uint256[10] public VALID_MULTIPLIERS = [2, 4, 8, 16, 32, 64, 128, 256, 512, 1024];
struct Bet {
bytes32 dataHash;
uint256 commitBlock;
uint256 betAmount;
uint256 multiplier;
bool claimed;
}
mapping(address => Bet[]) public playerBets;
// Withdrawal
bool public paused;
uint256 public withdrawRequestedAt;
address public withdrawTo;
// Stats
uint256 public totalBets;
uint256 public totalWins;
uint256 public totalBetAmount;
uint256 public totalPaidOut;
uint256 public totalBurned;
event BetPlaced(address indexed player, uint256 indexed betIndex, bytes32 dataHash, uint256 commitBlock, uint256 betAmount, uint256 multiplier, uint256 potentialPayout, uint256 burnAmount);
event BetWon(address indexed player, uint256 indexed betIndex, bytes32 secret, uint256 betAmount, uint256 multiplier, uint256 payout);
event TokensBurned(uint256 amount);
event WithdrawRequested(address indexed by, address indexed to, uint256 executeAfter);
event WithdrawCancelled(address indexed by);
event WithdrawExecuted(address indexed to, uint256 amount);
event Paused(bool isPaused);
event OwnershipProposed(address indexed current, address indexed proposed);
event OwnershipAccepted(address indexed oldOwner, address indexed newOwner);
modifier onlyOwner() {
require(msg.sender == owner, "Not owner");
_;
}
constructor(address _token, address _owner) {
require(_token != address(0), "Invalid token");
require(_owner != address(0), "Invalid owner");
token = IERC20(_token);
owner = _owner;
}
/// @notice Place a bet
function click(bytes32 dataHash, uint256 betAmount, uint256 multiplier) external nonReentrant {
require(!paused, "Game paused");
require(dataHash != bytes32(0), "Empty hash");
require(_isValidBet(betAmount), "Invalid bet amount");
require(_isValidMultiplier(multiplier), "Invalid multiplier");
uint256 payout = (betAmount * multiplier * (100 - HOUSE_EDGE_PERCENT)) / 100;
uint256 currentBalance = token.balanceOf(address(this));
// Max payout is 1/5 of current house balance
require(payout <= currentBalance / MAX_PAYOUT_DIVISOR, "Payout exceeds max (1/5 of house)");
// Take the bet
token.safeTransferFrom(msg.sender, address(this), betAmount);
// Burn 1%
uint256 burnAmount = (betAmount * BURN_PERCENT) / 100;
token.safeTransfer(BURN_ADDRESS, burnAmount);
totalBurned += burnAmount;
// Record bet
uint256 betIndex = playerBets[msg.sender].length;
playerBets[msg.sender].push(Bet({
dataHash: dataHash,
commitBlock: block.number,
betAmount: betAmount,
multiplier: multiplier,
claimed: false
}));
totalBets++;
totalBetAmount += betAmount;
emit BetPlaced(msg.sender, betIndex, dataHash, block.number, betAmount, multiplier, payout, burnAmount);
emit TokensBurned(burnAmount);
}
/// @notice Reveal a winning bet and claim payout
function reveal(uint256 betIndex, bytes32 secret, bytes32 salt) external nonReentrant {
_reveal(msg.sender, betIndex, secret, salt);
}
/// @notice Batch reveal multiple winning bets
function batchReveal(uint256[] calldata betIndices, bytes32[] calldata secrets, bytes32[] calldata salts) external nonReentrant {
require(betIndices.length == secrets.length && secrets.length == salts.length, "Array length mismatch");
require(betIndices.length <= 20, "Too many reveals");
for (uint256 i = 0; i < betIndices.length; i++) {
_reveal(msg.sender, betIndices[i], secrets[i], salts[i]);
}
}
function _reveal(address player, uint256 betIndex, bytes32 secret, bytes32 salt) internal {
require(betIndex < playerBets[player].length, "Invalid bet index");
Bet storage b = playerBets[player][betIndex];
require(b.commitBlock != 0, "No bet found");
require(!b.claimed, "Already claimed");
require(block.number > b.commitBlock, "Wait one block");
bytes32 commitBlockHash = blockhash(b.commitBlock);
require(commitBlockHash != bytes32(0), "Bet expired (>256 blocks)");
// Verify commitment
require(keccak256(abi.encodePacked(secret, salt)) == b.dataHash, "Hash mismatch");
// Check if winner
bytes32 randomSeed = keccak256(abi.encodePacked(secret, commitBlockHash));
require(uint256(randomSeed) % b.multiplier == 0, "Not a winner");
uint256 payout = (b.betAmount * b.multiplier * (100 - HOUSE_EDGE_PERCENT)) / 100;
b.claimed = true;
totalWins++;
totalPaidOut += payout;
// Burn 1% of winnings on claim
uint256 claimBurn = (payout * BURN_PERCENT) / 100;
token.safeTransfer(BURN_ADDRESS, claimBurn);
totalBurned += claimBurn;
token.safeTransfer(player, payout - claimBurn);
emit TokensBurned(claimBurn);
emit BetWon(player, betIndex, secret, b.betAmount, b.multiplier, payout - claimBurn);
}
// ===== Owner withdrawal with 15-min delay =====
function requestWithdraw(address _to) external onlyOwner {
require(_to != address(0), "Invalid address");
require(withdrawRequestedAt == 0, "Withdrawal already pending");
paused = true;
withdrawRequestedAt = block.timestamp;
withdrawTo = _to;
emit WithdrawRequested(msg.sender, _to, block.timestamp + WITHDRAW_DELAY);
emit Paused(true);
}
function cancelWithdraw() external onlyOwner {
withdrawRequestedAt = 0;
withdrawTo = address(0);
paused = false;
emit WithdrawCancelled(msg.sender);
emit Paused(false);
}
function executeWithdraw() external onlyOwner {
require(withdrawRequestedAt != 0, "No withdrawal requested");
require(block.timestamp >= withdrawRequestedAt + WITHDRAW_DELAY, "Delay not met");
address to = withdrawTo;
uint256 amount = token.balanceOf(address(this));
withdrawRequestedAt = 0;
withdrawTo = address(0);
token.safeTransfer(to, amount);
emit WithdrawExecuted(to, amount);
}
function unpause() external onlyOwner {
require(withdrawRequestedAt == 0, "Cancel withdrawal first");
paused = false;
emit Paused(false);
}
function proposeOwner(address newOwner) external onlyOwner {
require(newOwner != address(0), "Invalid owner");
pendingOwner = newOwner;
emit OwnershipProposed(owner, newOwner);
}
function acceptOwnership() external {
require(msg.sender == pendingOwner, "Not pending owner");
emit OwnershipAccepted(owner, msg.sender);
owner = msg.sender;
pendingOwner = address(0);
}
/// @notice Permanently renounce ownership — contract becomes immutable
function renounceOwnership() external onlyOwner {
emit OwnershipAccepted(owner, address(0));
owner = address(0);
pendingOwner = address(0);
}
// ===== View functions =====
/// @notice Returns seconds remaining until withdrawal can be executed (0 if ready or no request)
function withdrawTimeRemaining() external view returns (uint256) {
if (withdrawRequestedAt == 0) return 0;
uint256 readyAt = withdrawRequestedAt + WITHDRAW_DELAY;
if (block.timestamp >= readyAt) return 0;
return readyAt - block.timestamp;
}
function houseBalance() external view returns (uint256) {
return token.balanceOf(address(this));
}
function getPlayerBetCount(address player) external view returns (uint256) {
return playerBets[player].length;
}
function getBet(address player, uint256 betIndex) external view returns (
bytes32 dataHash, uint256 commitBlock, uint256 betAmount, uint256 multiplier, bool claimed
) {
require(betIndex < playerBets[player].length, "Invalid index");
Bet memory b = playerBets[player][betIndex];
return (b.dataHash, b.commitBlock, b.betAmount, b.multiplier, b.claimed);
}
function computeHash(bytes32 secret, bytes32 salt) external pure returns (bytes32) {
return keccak256(abi.encodePacked(secret, salt));
}
function checkWin(bytes32 secret, bytes32 blockHash, uint256 multiplier) external pure returns (bool) {
return uint256(keccak256(abi.encodePacked(secret, blockHash))) % multiplier == 0;
}
function getPayoutFor(uint256 betAmount, uint256 multiplier) external pure returns (uint256) {
uint256 grossPayout = (betAmount * multiplier * (100 - HOUSE_EDGE_PERCENT)) / 100;
uint256 claimBurn = (grossPayout * BURN_PERCENT) / 100;
return grossPayout - claimBurn;
}
function getValidBets() external view returns (uint256[6] memory) { return VALID_BETS; }
function getValidMultipliers() external view returns (uint256[10] memory) { return VALID_MULTIPLIERS; }
function _isValidBet(uint256 betAmount) internal view returns (bool) {
for (uint256 i = 0; i < VALID_BETS.length; i++) {
if (VALID_BETS[i] == betAmount) return true;
}
return false;
}
function _isValidMultiplier(uint256 multiplier) internal view returns (bool) {
for (uint256 i = 0; i < VALID_MULTIPLIERS.length; i++) {
if (VALID_MULTIPLIERS[i] == multiplier) return true;
}
return false;
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.4.0) (token/ERC20/IERC20.sol)
pragma solidity >=0.4.16;
/**
* @dev Interface of the ERC-20 standard as defined in the ERC.
*/
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 value of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the value of tokens owned by `account`.
*/
function balanceOf(address account) external view returns (uint256);
/**
* @dev Moves a `value` amount of 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 value) 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 a `value` amount of tokens 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 value) external returns (bool);
/**
* @dev Moves a `value` amount of tokens from `from` to `to` using the
* allowance mechanism. `value` 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 value) external returns (bool);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.5.0) (token/ERC20/utils/SafeERC20.sol)
pragma solidity ^0.8.20;
import {IERC20} from "../IERC20.sol";
import {IERC1363} from "../../../interfaces/IERC1363.sol";
/**
* @title SafeERC20
* @dev Wrappers around ERC-20 operations that throw on failure (when the token
* contract returns false). Tokens that return no value (and instead revert or
* throw on failure) are also supported, non-reverting calls are assumed to be
* successful.
* To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
* which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
*/
library SafeERC20 {
/**
* @dev An operation with an ERC-20 token failed.
*/
error SafeERC20FailedOperation(address token);
/**
* @dev Indicates a failed `decreaseAllowance` request.
*/
error SafeERC20FailedDecreaseAllowance(address spender, uint256 currentAllowance, uint256 requestedDecrease);
/**
* @dev Transfer `value` amount of `token` from the calling contract to `to`. If `token` returns no value,
* non-reverting calls are assumed to be successful.
*/
function safeTransfer(IERC20 token, address to, uint256 value) internal {
if (!_safeTransfer(token, to, value, true)) {
revert SafeERC20FailedOperation(address(token));
}
}
/**
* @dev Transfer `value` amount of `token` from `from` to `to`, spending the approval given by `from` to the
* calling contract. If `token` returns no value, non-reverting calls are assumed to be successful.
*/
function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {
if (!_safeTransferFrom(token, from, to, value, true)) {
revert SafeERC20FailedOperation(address(token));
}
}
/**
* @dev Variant of {safeTransfer} that returns a bool instead of reverting if the operation is not successful.
*/
function trySafeTransfer(IERC20 token, address to, uint256 value) internal returns (bool) {
return _safeTransfer(token, to, value, false);
}
/**
* @dev Variant of {safeTransferFrom} that returns a bool instead of reverting if the operation is not successful.
*/
function trySafeTransferFrom(IERC20 token, address from, address to, uint256 value) internal returns (bool) {
return _safeTransferFrom(token, from, to, value, false);
}
/**
* @dev Increase the calling contract's allowance toward `spender` by `value`. If `token` returns no value,
* non-reverting calls are assumed to be successful.
*
* IMPORTANT: If the token implements ERC-7674 (ERC-20 with temporary allowance), and if the "client"
* smart contract uses ERC-7674 to set temporary allowances, then the "client" smart contract should avoid using
* this function. Performing a {safeIncreaseAllowance} or {safeDecreaseAllowance} operation on a token contract
* that has a non-zero temporary allowance (for that particular owner-spender) will result in unexpected behavior.
*/
function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {
uint256 oldAllowance = token.allowance(address(this), spender);
forceApprove(token, spender, oldAllowance + value);
}
/**
* @dev Decrease the calling contract's allowance toward `spender` by `requestedDecrease`. If `token` returns no
* value, non-reverting calls are assumed to be successful.
*
* IMPORTANT: If the token implements ERC-7674 (ERC-20 with temporary allowance), and if the "client"
* smart contract uses ERC-7674 to set temporary allowances, then the "client" smart contract should avoid using
* this function. Performing a {safeIncreaseAllowance} or {safeDecreaseAllowance} operation on a token contract
* that has a non-zero temporary allowance (for that particular owner-spender) will result in unexpected behavior.
*/
function safeDecreaseAllowance(IERC20 token, address spender, uint256 requestedDecrease) internal {
unchecked {
uint256 currentAllowance = token.allowance(address(this), spender);
if (currentAllowance < requestedDecrease) {
revert SafeERC20FailedDecreaseAllowance(spender, currentAllowance, requestedDecrease);
}
forceApprove(token, spender, currentAllowance - requestedDecrease);
}
}
/**
* @dev Set the calling contract's allowance toward `spender` to `value`. If `token` returns no value,
* non-reverting calls are assumed to be successful. Meant to be used with tokens that require the approval
* to be set to zero before setting it to a non-zero value, such as USDT.
*
* NOTE: If the token implements ERC-7674, this function will not modify any temporary allowance. This function
* only sets the "standard" allowance. Any temporary allowance will remain active, in addition to the value being
* set here.
*/
function forceApprove(IERC20 token, address spender, uint256 value) internal {
if (!_safeApprove(token, spender, value, false)) {
if (!_safeApprove(token, spender, 0, true)) revert SafeERC20FailedOperation(address(token));
if (!_safeApprove(token, spender, value, true)) revert SafeERC20FailedOperation(address(token));
}
}
/**
* @dev Performs an {ERC1363} transferAndCall, with a fallback to the simple {ERC20} transfer if the target has no
* code. This can be used to implement an {ERC721}-like safe transfer that relies on {ERC1363} checks when
* targeting contracts.
*
* Reverts if the returned value is other than `true`.
*/
function transferAndCallRelaxed(IERC1363 token, address to, uint256 value, bytes memory data) internal {
if (to.code.length == 0) {
safeTransfer(token, to, value);
} else if (!token.transferAndCall(to, value, data)) {
revert SafeERC20FailedOperation(address(token));
}
}
/**
* @dev Performs an {ERC1363} transferFromAndCall, with a fallback to the simple {ERC20} transferFrom if the target
* has no code. This can be used to implement an {ERC721}-like safe transfer that relies on {ERC1363} checks when
* targeting contracts.
*
* Reverts if the returned value is other than `true`.
*/
function transferFromAndCallRelaxed(
IERC1363 token,
address from,
address to,
uint256 value,
bytes memory data
) internal {
if (to.code.length == 0) {
safeTransferFrom(token, from, to, value);
} else if (!token.transferFromAndCall(from, to, value, data)) {
revert SafeERC20FailedOperation(address(token));
}
}
/**
* @dev Performs an {ERC1363} approveAndCall, with a fallback to the simple {ERC20} approve if the target has no
* code. This can be used to implement an {ERC721}-like safe transfer that rely on {ERC1363} checks when
* targeting contracts.
*
* NOTE: When the recipient address (`to`) has no code (i.e. is an EOA), this function behaves as {forceApprove}.
* Oppositely, when the recipient address (`to`) has code, this function only attempts to call {ERC1363-approveAndCall}
* once without retrying, and relies on the returned value to be true.
*
* Reverts if the returned value is other than `true`.
*/
function approveAndCallRelaxed(IERC1363 token, address to, uint256 value, bytes memory data) internal {
if (to.code.length == 0) {
forceApprove(token, to, value);
} else if (!token.approveAndCall(to, value, data)) {
revert SafeERC20FailedOperation(address(token));
}
}
/**
* @dev Imitates a Solidity `token.transfer(to, value)` call, relaxing the requirement on the return value: the
* return value is optional (but if data is returned, it must not be false).
*
* @param token The token targeted by the call.
* @param to The recipient of the tokens
* @param value The amount of token to transfer
* @param bubble Behavior switch if the transfer call reverts: bubble the revert reason or return a false boolean.
*/
function _safeTransfer(IERC20 token, address to, uint256 value, bool bubble) private returns (bool success) {
bytes4 selector = IERC20.transfer.selector;
assembly ("memory-safe") {
let fmp := mload(0x40)
mstore(0x00, selector)
mstore(0x04, and(to, shr(96, not(0))))
mstore(0x24, value)
success := call(gas(), token, 0, 0x00, 0x44, 0x00, 0x20)
// if call success and return is true, all is good.
// otherwise (not success or return is not true), we need to perform further checks
if iszero(and(success, eq(mload(0x00), 1))) {
// if the call was a failure and bubble is enabled, bubble the error
if and(iszero(success), bubble) {
returndatacopy(fmp, 0x00, returndatasize())
revert(fmp, returndatasize())
}
// if the return value is not true, then the call is only successful if:
// - the token address has code
// - the returndata is empty
success := and(success, and(iszero(returndatasize()), gt(extcodesize(token), 0)))
}
mstore(0x40, fmp)
}
}
/**
* @dev Imitates a Solidity `token.transferFrom(from, to, value)` call, relaxing the requirement on the return
* value: the return value is optional (but if data is returned, it must not be false).
*
* @param token The token targeted by the call.
* @param from The sender of the tokens
* @param to The recipient of the tokens
* @param value The amount of token to transfer
* @param bubble Behavior switch if the transfer call reverts: bubble the revert reason or return a false boolean.
*/
function _safeTransferFrom(
IERC20 token,
address from,
address to,
uint256 value,
bool bubble
) private returns (bool success) {
bytes4 selector = IERC20.transferFrom.selector;
assembly ("memory-safe") {
let fmp := mload(0x40)
mstore(0x00, selector)
mstore(0x04, and(from, shr(96, not(0))))
mstore(0x24, and(to, shr(96, not(0))))
mstore(0x44, value)
success := call(gas(), token, 0, 0x00, 0x64, 0x00, 0x20)
// if call success and return is true, all is good.
// otherwise (not success or return is not true), we need to perform further checks
if iszero(and(success, eq(mload(0x00), 1))) {
// if the call was a failure and bubble is enabled, bubble the error
if and(iszero(success), bubble) {
returndatacopy(fmp, 0x00, returndatasize())
revert(fmp, returndatasize())
}
// if the return value is not true, then the call is only successful if:
// - the token address has code
// - the returndata is empty
success := and(success, and(iszero(returndatasize()), gt(extcodesize(token), 0)))
}
mstore(0x40, fmp)
mstore(0x60, 0)
}
}
/**
* @dev Imitates a Solidity `token.approve(spender, value)` call, relaxing the requirement on the return value:
* the return value is optional (but if data is returned, it must not be false).
*
* @param token The token targeted by the call.
* @param spender The spender of the tokens
* @param value The amount of token to transfer
* @param bubble Behavior switch if the transfer call reverts: bubble the revert reason or return a false boolean.
*/
function _safeApprove(IERC20 token, address spender, uint256 value, bool bubble) private returns (bool success) {
bytes4 selector = IERC20.approve.selector;
assembly ("memory-safe") {
let fmp := mload(0x40)
mstore(0x00, selector)
mstore(0x04, and(spender, shr(96, not(0))))
mstore(0x24, value)
success := call(gas(), token, 0, 0x00, 0x44, 0x00, 0x20)
// if call success and return is true, all is good.
// otherwise (not success or return is not true), we need to perform further checks
if iszero(and(success, eq(mload(0x00), 1))) {
// if the call was a failure and bubble is enabled, bubble the error
if and(iszero(success), bubble) {
returndatacopy(fmp, 0x00, returndatasize())
revert(fmp, returndatasize())
}
// if the return value is not true, then the call is only successful if:
// - the token address has code
// - the returndata is empty
success := and(success, and(iszero(returndatasize()), gt(extcodesize(token), 0)))
}
mstore(0x40, fmp)
}
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.5.0) (utils/ReentrancyGuard.sol)
pragma solidity ^0.8.20;
import {StorageSlot} from "./StorageSlot.sol";
/**
* @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 EIP-1153 (transient storage) is available on the chain you're deploying at,
* consider using {ReentrancyGuardTransient} instead.
*
* 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].
*
* IMPORTANT: Deprecated. This storage-based reentrancy guard will be removed and replaced
* by the {ReentrancyGuardTransient} variant in v6.0.
*
* @custom:stateless
*/
abstract contract ReentrancyGuard {
using StorageSlot for bytes32;
// keccak256(abi.encode(uint256(keccak256("openzeppelin.storage.ReentrancyGuard")) - 1)) & ~bytes32(uint256(0xff))
bytes32 private constant REENTRANCY_GUARD_STORAGE =
0x9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f00;
// 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;
/**
* @dev Unauthorized reentrant call.
*/
error ReentrancyGuardReentrantCall();
constructor() {
_reentrancyGuardStorageSlot().getUint256Slot().value = 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();
}
/**
* @dev A `view` only version of {nonReentrant}. Use to block view functions
* from being called, preventing reading from inconsistent contract state.
*
* CAUTION: This is a "view" modifier and does not change the reentrancy
* status. Use it only on view functions. For payable or non-payable functions,
* use the standard {nonReentrant} modifier instead.
*/
modifier nonReentrantView() {
_nonReentrantBeforeView();
_;
}
function _nonReentrantBeforeView() private view {
if (_reentrancyGuardEntered()) {
revert ReentrancyGuardReentrantCall();
}
}
function _nonReentrantBefore() private {
// On the first call to nonReentrant, _status will be NOT_ENTERED
_nonReentrantBeforeView();
// Any calls to nonReentrant after this point will fail
_reentrancyGuardStorageSlot().getUint256Slot().value = ENTERED;
}
function _nonReentrantAfter() private {
// By storing the original value once again, a refund is triggered (see
// https://eips.ethereum.org/EIPS/eip-2200)
_reentrancyGuardStorageSlot().getUint256Slot().value = 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 _reentrancyGuardStorageSlot().getUint256Slot().value == ENTERED;
}
function _reentrancyGuardStorageSlot() internal pure virtual returns (bytes32) {
return REENTRANCY_GUARD_STORAGE;
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.4.0) (interfaces/IERC1363.sol)
pragma solidity >=0.6.2;
import {IERC20} from "./IERC20.sol";
import {IERC165} from "./IERC165.sol";
/**
* @title IERC1363
* @dev Interface of the ERC-1363 standard as defined in the https://eips.ethereum.org/EIPS/eip-1363[ERC-1363].
*
* Defines an extension interface for ERC-20 tokens that supports executing code on a recipient contract
* after `transfer` or `transferFrom`, or code on a spender contract after `approve`, in a single transaction.
*/
interface IERC1363 is IERC20, IERC165 {
/*
* Note: the ERC-165 identifier for this interface is 0xb0202a11.
* 0xb0202a11 ===
* bytes4(keccak256('transferAndCall(address,uint256)')) ^
* bytes4(keccak256('transferAndCall(address,uint256,bytes)')) ^
* bytes4(keccak256('transferFromAndCall(address,address,uint256)')) ^
* bytes4(keccak256('transferFromAndCall(address,address,uint256,bytes)')) ^
* bytes4(keccak256('approveAndCall(address,uint256)')) ^
* bytes4(keccak256('approveAndCall(address,uint256,bytes)'))
*/
/**
* @dev Moves a `value` amount of tokens from the caller's account to `to`
* and then calls {IERC1363Receiver-onTransferReceived} on `to`.
* @param to The address which you want to transfer to.
* @param value The amount of tokens to be transferred.
* @return A boolean value indicating whether the operation succeeded unless throwing.
*/
function transferAndCall(address to, uint256 value) external returns (bool);
/**
* @dev Moves a `value` amount of tokens from the caller's account to `to`
* and then calls {IERC1363Receiver-onTransferReceived} on `to`.
* @param to The address which you want to transfer to.
* @param value The amount of tokens to be transferred.
* @param data Additional data with no specified format, sent in call to `to`.
* @return A boolean value indicating whether the operation succeeded unless throwing.
*/
function transferAndCall(address to, uint256 value, bytes calldata data) external returns (bool);
/**
* @dev Moves a `value` amount of tokens from `from` to `to` using the allowance mechanism
* and then calls {IERC1363Receiver-onTransferReceived} on `to`.
* @param from The address which you want to send tokens from.
* @param to The address which you want to transfer to.
* @param value The amount of tokens to be transferred.
* @return A boolean value indicating whether the operation succeeded unless throwing.
*/
function transferFromAndCall(address from, address to, uint256 value) external returns (bool);
/**
* @dev Moves a `value` amount of tokens from `from` to `to` using the allowance mechanism
* and then calls {IERC1363Receiver-onTransferReceived} on `to`.
* @param from The address which you want to send tokens from.
* @param to The address which you want to transfer to.
* @param value The amount of tokens to be transferred.
* @param data Additional data with no specified format, sent in call to `to`.
* @return A boolean value indicating whether the operation succeeded unless throwing.
*/
function transferFromAndCall(address from, address to, uint256 value, bytes calldata data) external returns (bool);
/**
* @dev Sets a `value` amount of tokens as the allowance of `spender` over the
* caller's tokens and then calls {IERC1363Spender-onApprovalReceived} on `spender`.
* @param spender The address which will spend the funds.
* @param value The amount of tokens to be spent.
* @return A boolean value indicating whether the operation succeeded unless throwing.
*/
function approveAndCall(address spender, uint256 value) external returns (bool);
/**
* @dev Sets a `value` amount of tokens as the allowance of `spender` over the
* caller's tokens and then calls {IERC1363Spender-onApprovalReceived} on `spender`.
* @param spender The address which will spend the funds.
* @param value The amount of tokens to be spent.
* @param data Additional data with no specified format, sent in call to `spender`.
* @return A boolean value indicating whether the operation succeeded unless throwing.
*/
function approveAndCall(address spender, uint256 value, bytes calldata data) external returns (bool);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.1.0) (utils/StorageSlot.sol)
// This file was procedurally generated from scripts/generate/templates/StorageSlot.js.
pragma solidity ^0.8.20;
/**
* @dev Library for reading and writing primitive types to specific storage slots.
*
* Storage slots are often used to avoid storage conflict when dealing with upgradeable contracts.
* This library helps with reading and writing to such slots without the need for inline assembly.
*
* The functions in this library return Slot structs that contain a `value` member that can be used to read or write.
*
* Example usage to set ERC-1967 implementation slot:
* ```solidity
* contract ERC1967 {
* // Define the slot. Alternatively, use the SlotDerivation library to derive the slot.
* bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;
*
* function _getImplementation() internal view returns (address) {
* return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value;
* }
*
* function _setImplementation(address newImplementation) internal {
* require(newImplementation.code.length > 0);
* StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation;
* }
* }
* ```
*
* TIP: Consider using this library along with {SlotDerivation}.
*/
library StorageSlot {
struct AddressSlot {
address value;
}
struct BooleanSlot {
bool value;
}
struct Bytes32Slot {
bytes32 value;
}
struct Uint256Slot {
uint256 value;
}
struct Int256Slot {
int256 value;
}
struct StringSlot {
string value;
}
struct BytesSlot {
bytes value;
}
/**
* @dev Returns an `AddressSlot` with member `value` located at `slot`.
*/
function getAddressSlot(bytes32 slot) internal pure returns (AddressSlot storage r) {
assembly ("memory-safe") {
r.slot := slot
}
}
/**
* @dev Returns a `BooleanSlot` with member `value` located at `slot`.
*/
function getBooleanSlot(bytes32 slot) internal pure returns (BooleanSlot storage r) {
assembly ("memory-safe") {
r.slot := slot
}
}
/**
* @dev Returns a `Bytes32Slot` with member `value` located at `slot`.
*/
function getBytes32Slot(bytes32 slot) internal pure returns (Bytes32Slot storage r) {
assembly ("memory-safe") {
r.slot := slot
}
}
/**
* @dev Returns a `Uint256Slot` with member `value` located at `slot`.
*/
function getUint256Slot(bytes32 slot) internal pure returns (Uint256Slot storage r) {
assembly ("memory-safe") {
r.slot := slot
}
}
/**
* @dev Returns a `Int256Slot` with member `value` located at `slot`.
*/
function getInt256Slot(bytes32 slot) internal pure returns (Int256Slot storage r) {
assembly ("memory-safe") {
r.slot := slot
}
}
/**
* @dev Returns a `StringSlot` with member `value` located at `slot`.
*/
function getStringSlot(bytes32 slot) internal pure returns (StringSlot storage r) {
assembly ("memory-safe") {
r.slot := slot
}
}
/**
* @dev Returns an `StringSlot` representation of the string storage pointer `store`.
*/
function getStringSlot(string storage store) internal pure returns (StringSlot storage r) {
assembly ("memory-safe") {
r.slot := store.slot
}
}
/**
* @dev Returns a `BytesSlot` with member `value` located at `slot`.
*/
function getBytesSlot(bytes32 slot) internal pure returns (BytesSlot storage r) {
assembly ("memory-safe") {
r.slot := slot
}
}
/**
* @dev Returns an `BytesSlot` representation of the bytes storage pointer `store`.
*/
function getBytesSlot(bytes storage store) internal pure returns (BytesSlot storage r) {
assembly ("memory-safe") {
r.slot := store.slot
}
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.4.0) (interfaces/IERC20.sol)
pragma solidity >=0.4.16;
import {IERC20} from "../token/ERC20/IERC20.sol";// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.4.0) (interfaces/IERC165.sol)
pragma solidity >=0.4.16;
import {IERC165} from "../utils/introspection/IERC165.sol";// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.4.0) (utils/introspection/IERC165.sol)
pragma solidity >=0.4.16;
/**
* @dev Interface of the ERC-165 standard, as defined in the
* https://eips.ethereum.org/EIPS/eip-165[ERC].
*
* 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[ERC 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);
}{
"remappings": [
"@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",
"ds-test/=lib/solidity-bytes-utils/lib/forge-std/lib/ds-test/src/",
"erc4626-tests/=lib/openzeppelin-contracts/lib/erc4626-tests/",
"forge-std/=lib/forge-std/src/",
"halmos-cheatcodes/=lib/openzeppelin-contracts/lib/halmos-cheatcodes/src/",
"openzeppelin-contracts/=lib/openzeppelin-contracts/",
"solidity-bytes-utils/=lib/solidity-bytes-utils/contracts/"
],
"optimizer": {
"enabled": false,
"runs": 200
},
"metadata": {
"useLiteralContent": false,
"bytecodeHash": "ipfs",
"appendCBOR": true
},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
},
"evmVersion": "prague",
"viaIR": false
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_owner","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ReentrancyGuardReentrantCall","type":"error"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"SafeERC20FailedOperation","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"player","type":"address"},{"indexed":true,"internalType":"uint256","name":"betIndex","type":"uint256"},{"indexed":false,"internalType":"bytes32","name":"dataHash","type":"bytes32"},{"indexed":false,"internalType":"uint256","name":"commitBlock","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"betAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"multiplier","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"potentialPayout","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"burnAmount","type":"uint256"}],"name":"BetPlaced","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"player","type":"address"},{"indexed":true,"internalType":"uint256","name":"betIndex","type":"uint256"},{"indexed":false,"internalType":"bytes32","name":"secret","type":"bytes32"},{"indexed":false,"internalType":"uint256","name":"betAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"multiplier","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"payout","type":"uint256"}],"name":"BetWon","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"oldOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipAccepted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"current","type":"address"},{"indexed":true,"internalType":"address","name":"proposed","type":"address"}],"name":"OwnershipProposed","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"isPaused","type":"bool"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"TokensBurned","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"by","type":"address"}],"name":"WithdrawCancelled","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"WithdrawExecuted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"by","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"executeAfter","type":"uint256"}],"name":"WithdrawRequested","type":"event"},{"inputs":[],"name":"BURN_ADDRESS","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"BURN_PERCENT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"HOUSE_EDGE_PERCENT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_PAYOUT_DIVISOR","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"REVEAL_WINDOW","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"VALID_BETS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"VALID_MULTIPLIERS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WITHDRAW_DELAY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"acceptOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"betIndices","type":"uint256[]"},{"internalType":"bytes32[]","name":"secrets","type":"bytes32[]"},{"internalType":"bytes32[]","name":"salts","type":"bytes32[]"}],"name":"batchReveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"cancelWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"secret","type":"bytes32"},{"internalType":"bytes32","name":"blockHash","type":"bytes32"},{"internalType":"uint256","name":"multiplier","type":"uint256"}],"name":"checkWin","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"bytes32","name":"dataHash","type":"bytes32"},{"internalType":"uint256","name":"betAmount","type":"uint256"},{"internalType":"uint256","name":"multiplier","type":"uint256"}],"name":"click","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"secret","type":"bytes32"},{"internalType":"bytes32","name":"salt","type":"bytes32"}],"name":"computeHash","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"executeWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"player","type":"address"},{"internalType":"uint256","name":"betIndex","type":"uint256"}],"name":"getBet","outputs":[{"internalType":"bytes32","name":"dataHash","type":"bytes32"},{"internalType":"uint256","name":"commitBlock","type":"uint256"},{"internalType":"uint256","name":"betAmount","type":"uint256"},{"internalType":"uint256","name":"multiplier","type":"uint256"},{"internalType":"bool","name":"claimed","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"betAmount","type":"uint256"},{"internalType":"uint256","name":"multiplier","type":"uint256"}],"name":"getPayoutFor","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"player","type":"address"}],"name":"getPlayerBetCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getValidBets","outputs":[{"internalType":"uint256[6]","name":"","type":"uint256[6]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getValidMultipliers","outputs":[{"internalType":"uint256[10]","name":"","type":"uint256[10]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"houseBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pendingOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"playerBets","outputs":[{"internalType":"bytes32","name":"dataHash","type":"bytes32"},{"internalType":"uint256","name":"commitBlock","type":"uint256"},{"internalType":"uint256","name":"betAmount","type":"uint256"},{"internalType":"uint256","name":"multiplier","type":"uint256"},{"internalType":"bool","name":"claimed","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"proposeOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"}],"name":"requestWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"betIndex","type":"uint256"},{"internalType":"bytes32","name":"secret","type":"bytes32"},{"internalType":"bytes32","name":"salt","type":"bytes32"}],"name":"reveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"token","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalBetAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalBets","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalBurned","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalPaidOut","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalWins","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawRequestedAt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawTimeRemaining","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawTo","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}]Contract Creation Code
60a06040526040518060c00160405280686c6b935b8bbd40000069ffffffffffffffffffff16815260200169021e19e0c9bab240000069ffffffffffffffffffff168152602001690a968163f0a57b40000069ffffffffffffffffffff16815260200169152d02c7e14af680000069ffffffffffffffffffff1681526020016969e10de76676d080000069ffffffffffffffffffff16815260200169d3c21bcecceda100000069ffffffffffffffffffff16815250600290816100c29190610528565b50604051806101400160405280600261ffff168152602001600461ffff168152602001600861ffff168152602001601061ffff168152602001602061ffff168152602001604061ffff168152602001608061ffff16815260200161010061ffff16815260200161020061ffff16815260200161040061ffff168152506008908161014c9190610676565b50348015610158575f5ffd5b506040516143c63803806143c6833981810160405281019061017a9190610758565b600161019861018d6102f460201b60201c565b61031d60201b60201c565b5f01819055505f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361020c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610203906107f0565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361027a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161027190610858565b60405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff1681525050805f5f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050610876565b5f7f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f005f1b905090565b5f819050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b5f60069050919050565b5f819050919050565b5f8190506001806001038301049050919050565b5f819050919050565b5f82821b905092915050565b5f600883026103be7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82610383565b6103c88683610383565b95508019841693508086168417925050509392505050565b5f819050919050565b5f6104036103fe6103f98461035d565b6103e0565b61035d565b9050919050565b5f819050919050565b61041c836103e9565b6104306104288261040a565b84845461038f565b825550505050565b5f5f905090565b610447610438565b610452818484610413565b505050565b5f5b828110156104785761046d5f82840161043f565b600181019050610459565b505050565b818310156104b45761048e82610366565b61049784610366565b6104a08361037a565b8181016104af83850382610457565b505050505b505050565b680100000000000000008211156104d3576104d2610326565b5b6104dc81610353565b6104e783828461047d565b505050565b5f60069050919050565b5f69ffffffffffffffffffff82169050919050565b5f61051682516104f6565b80915050919050565b5f819050919050565b610531826104ec565b67ffffffffffffffff81111561054a57610549610326565b5b61055481836104b9565b61055d8361051f565b6105668361037a565b600183045f5b818110156105a3575f61057e8561050b565b6105878161040a565b809250602087019650505080828501555060018101905061056c565b50505050505050565b5f600a9050919050565b5f8190506001806001038301049050919050565b5f819050919050565b8183101561060a576105e4826105b6565b6105ed846105b6565b6105f6836105ca565b81810161060583850382610457565b505050505b505050565b6801000000000000000082111561062957610628610326565b5b610632816105ac565b61063d8382846105d3565b505050565b5f600a9050919050565b5f61ffff82169050919050565b5f610664825161064c565b80915050919050565b5f819050919050565b61067f82610642565b67ffffffffffffffff81111561069857610697610326565b5b6106a2818361060f565b6106ab8361066d565b6106b4836105ca565b600183045f5b818110156106f1575f6106cc85610659565b6106d58161040a565b80925060208701965050508082850155506001810190506106ba565b50505050505050565b5f5ffd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f610727826106fe565b9050919050565b6107378161071d565b8114610741575f5ffd5b50565b5f815190506107528161072e565b92915050565b5f5f6040838503121561076e5761076d6106fa565b5b5f61077b85828601610744565b925050602061078c85828601610744565b9150509250929050565b5f82825260208201905092915050565b7f496e76616c696420746f6b656e000000000000000000000000000000000000005f82015250565b5f6107da600d83610796565b91506107e5826107a6565b602082019050919050565b5f6020820190508181035f830152610807816107ce565b9050919050565b7f496e76616c6964206f776e6572000000000000000000000000000000000000005f82015250565b5f610842600d83610796565b915061084d8261080e565b602082019050919050565b5f6020820190508181035f83015261086f81610836565b9050919050565b608051613b006108c65f395f818161086801528181610957015281816109c101528181610e6d01528181611d8001528181611e6601528181611efe0152818161244301526124b10152613b005ff3fe608060405234801561000f575f5ffd5b506004361061023b575f3560e01c80638a6b114b11610139578063b6ffe57f116100b6578063e30c39781161007a578063e30c397814610667578063e47b9fbc14610685578063f8fd9795146106b5578063fc0c546a146106bf578063fccc2813146106dd5761023b565b8063b6ffe57f146105d1578063b8ba1f72146105ef578063becf40b61461060d578063befa1e2f1461062b578063d89135cd146106495761023b565b8063a35a36e9116100fd578063a35a36e91461052b578063ab6b1f6814610547578063ab950a631461057b578063af697a6f14610599578063b5ed298a146105b55761023b565b80638a6b114b146104815780638bcd3e93146104b55780638da5cb5b146104d35780638e395cf4146104f15780639c9867641461050d5761023b565b80633f4ba83a116101c7578063715018a61161018b578063715018a614610415578063777ac3491461041f57806379ba50971461043d5780637b9adeb31461044757806384b76824146104775761023b565b80633f4ba83a14610393578063478943921461039d5780635c975abb146103bb578063613f4594146103d957806367084eb3146103f75761023b565b80631357e1dc1161020e5780631357e1dc146102c757806314648796146102e557806317e931cf14610315578063190611071461033357806339f22e77146103635761023b565b80630d5e5fff1461023f5780630fc308931461025d578063126cf40d1461027b57806312e426c114610297575b5f5ffd5b6102476106fb565b604051610254919061275e565b60405180910390f35b610265610701565b604051610272919061275e565b60405180910390f35b610295600480360381019061029091906127dc565b610707565b005b6102b160048036038101906102ac919061282c565b610c04565b6040516102be919061275e565b60405180910390f35b6102cf610c1d565b6040516102dc919061275e565b60405180910390f35b6102ff60048036038101906102fa91906128b1565b610c23565b60405161030c919061275e565b60405180910390f35b61031d610c6c565b60405161032a919061275e565b60405180910390f35b61034d600480360381019061034891906128dc565b610c72565b60405161035a9190612946565b60405180910390f35b61037d6004803603810190610378919061295f565b610cb4565b60405161038a91906129ac565b60405180910390f35b61039b610ce6565b005b6103a5610e0a565b6040516103b2919061275e565b60405180910390f35b6103c3610e52565b6040516103d09190612946565b60405180910390f35b6103e1610e64565b6040516103ee919061275e565b60405180910390f35b6103ff610e6a565b60405161040c919061275e565b60405180910390f35b61041d610f08565b005b610427611091565b604051610434919061275e565b60405180910390f35b610445611097565b005b610461600480360381019061045c919061282c565b611221565b60405161046e919061275e565b60405180910390f35b61047f61123a565b005b61049b600480360381019061049691906129c5565b6113a4565b6040516104ac959493929190612a03565b60405180910390f35b6104bd611502565b6040516104ca9190612a63565b60405180910390f35b6104db611527565b6040516104e89190612a63565b60405180910390f35b61050b60048036038101906105069190612b32565b61154b565b005b610515611678565b604051610522919061275e565b60405180910390f35b610545600480360381019061054091906128b1565b61167d565b005b610561600480360381019061055c91906129c5565b6118cb565b604051610572959493929190612a03565b60405180910390f35b610583611923565b604051610590919061275e565b60405180910390f35b6105b360048036038101906105ae9190612be2565b611928565b005b6105cf60048036038101906105ca91906128b1565b611949565b005b6105d9611b02565b6040516105e69190612cd7565b60405180910390f35b6105f7611b4d565b6040516106049190612d6f565b60405180910390f35b610615611b98565b604051610622919061275e565b60405180910390f35b610633611b9d565b604051610640919061275e565b60405180910390f35b610651611ba3565b60405161065e919061275e565b60405180910390f35b61066f611ba9565b60405161067c9190612a63565b60405180910390f35b61069f600480360381019061069a9190612d89565b611bce565b6040516106ac919061275e565b60405180910390f35b6106bd611c34565b005b6106c7611efc565b6040516106d49190612e22565b60405180910390f35b6106e5611f20565b6040516106f29190612a63565b60405180910390f35b61038481565b60145481565b61070f611f26565b60135f9054906101000a900460ff161561075e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161075590612e95565b60405180910390fd5b5f5f1b83036107a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161079990612efd565b60405180910390fd5b6107ab82611f48565b6107ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107e190612f65565b60405180910390fd5b6107f381611f94565b610832576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161082990612fcd565b60405180910390fd5b5f6064600260646108439190613018565b838561084f919061304b565b610859919061304b565b61086391906130b9565b90505f7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016108bf9190612a63565b602060405180830381865afa1580156108da573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108fe91906130fd565b905060058161090d91906130b9565b82111561094f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161094690613198565b60405180910390fd5b61099c3330867f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16611fe0909392919063ffffffff16565b5f60646001866109ac919061304b565b6109b691906130b9565b9050610a0561dead827f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166120359092919063ffffffff16565b80601a5f828254610a1691906131b6565b925050819055505f60125f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2080549050905060125f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f206040518060a001604052808981526020014381526020018881526020018781526020015f1515815250908060018154018082558091505060019003905f5260205f2090600502015f909190919091505f820151815f01556020820151816001015560408201518160020155606082015181600301556080820151816004015f6101000a81548160ff021916908315150217905550505060165f815480929190610b46906131e9565b91905055508560185f828254610b5c91906131b6565b92505081905550803373ffffffffffffffffffffffffffffffffffffffff167f5c13ea98f04f4ad3039ec32b914f23f3ff6a7b0fe228cab90a0ad053af895afb89438a8a8a89604051610bb496959493929190613230565b60405180910390a37f6ef4855b666dcc7884561072e4358b28dfe01feb1b7f4dcebc00e62d50394ac782604051610beb919061275e565b60405180910390a150505050610bff612088565b505050565b60028160068110610c13575f80fd5b015f915090505481565b60195481565b5f60125f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20805490509050919050565b61010081565b5f5f828585604051602001610c889291906132af565b604051602081830303815290604052805190602001205f1c610caa91906132da565b1490509392505050565b5f8282604051602001610cc89291906132af565b60405160208183030381529060405280519060200120905092915050565b5f5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610d74576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d6b90613354565b60405180910390fd5b5f60145414610db8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610daf906133bc565b60405180910390fd5b5f60135f6101000a81548160ff0219169083151502179055507f0e2fb031ee032dc02d8011dc50b816eb450cf856abd8261680dac74f72165bd25f604051610e009190612946565b60405180910390a1565b5f5f60145403610e1c575f9050610e4f565b5f610384601454610e2d91906131b6565b9050804210610e3f575f915050610e4f565b4281610e4b9190613018565b9150505b90565b60135f9054906101000a900460ff1681565b60185481565b5f7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610ec49190612a63565b602060405180830381865afa158015610edf573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f0391906130fd565b905090565b5f5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610f96576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f8d90613354565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff165f5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f357bdeb5828fa83945f38a88510ce5cd7d628dafb346d767efbc693149fdd97c60405160405180910390a35f5f5f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505f60015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b60175481565b60015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611126576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161111d90613424565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff165f5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f357bdeb5828fa83945f38a88510ce5cd7d628dafb346d767efbc693149fdd97c60405160405180910390a3335f5f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505f60015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b600881600a8110611230575f80fd5b015f915090505481565b5f5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146112c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112bf90613354565b60405180910390fd5b5f6014819055505f60155f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505f60135f6101000a81548160ff0219169083151502179055503373ffffffffffffffffffffffffffffffffffffffff167f8b775bb80a5d4addc5ea2601b2378ae89a1bb9010227157ac02aa71498e799c460405160405180910390a27f0e2fb031ee032dc02d8011dc50b816eb450cf856abd8261680dac74f72165bd25f60405161139a9190612946565b60405180910390a1565b5f5f5f5f5f60125f8873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2080549050861061142b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114229061348c565b60405180910390fd5b5f60125f8973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20878154811061147b5761147a6134aa565b5b905f5260205f2090600502016040518060a00160405290815f8201548152602001600182015481526020016002820154815260200160038201548152602001600482015f9054906101000a900460ff1615151515815250509050805f0151816020015182604001518360600151846080015195509550955095509550509295509295909350565b60155f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b5f5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b611553611f26565b838390508686905014801561156d57508181905084849050145b6115ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115a390613521565b60405180910390fd5b60148686905011156115f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ea90613589565b60405180910390fd5b5f5f90505b868690508110156116675761165a3388888481811061161a576116196134aa565b5b90506020020135878785818110611634576116336134aa565b5b9050602002013586868681811061164e5761164d6134aa565b5b905060200201356120a2565b80806001019150506115f8565b50611670612088565b505050505050565b600181565b5f5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461170b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161170290613354565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611779576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611770906135f1565b60405180910390fd5b5f601454146117bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117b490613659565b60405180910390fd5b600160135f6101000a81548160ff021916908315150217905550426014819055508060155f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f684a72064b64d0086ceb0035fc0d62aa0e9cf8b355bf49e956a943bdda24f6e06103844261187b91906131b6565b604051611888919061275e565b60405180910390a37f0e2fb031ee032dc02d8011dc50b816eb450cf856abd8261680dac74f72165bd260016040516118c09190612946565b60405180910390a150565b6012602052815f5260405f2081815481106118e4575f80fd5b905f5260205f2090600502015f9150915050805f015490806001015490806002015490806003015490806004015f9054906101000a900460ff16905085565b600581565b611930611f26565b61193c338484846120a2565b611944612088565b505050565b5f5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146119d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119ce90613354565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611a45576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a3c906136c1565b60405180910390fd5b8060015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff165f5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167fb51454ce8c7f26becd312a46c4815553887f2ec876a0b8dc813b87f62edf6f8060405160405180910390a350565b611b0a612701565b6002600680602002604051908101604052809291908260068015611b43576020028201915b815481526020019060010190808311611b2f575b5050505050905090565b611b55612723565b6008600a806020026040519081016040528092919082600a8015611b8e576020028201915b815481526020019060010190808311611b7a575b5050505050905090565b600281565b60165481565b601a5481565b60015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b5f5f606460026064611be09190613018565b8486611bec919061304b565b611bf6919061304b565b611c0091906130b9565b90505f6064600183611c12919061304b565b611c1c91906130b9565b90508082611c2a9190613018565b9250505092915050565b5f5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611cc2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cb990613354565b60405180910390fd5b5f60145403611d06576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cfd90613729565b60405180910390fd5b610384601454611d1691906131b6565b421015611d58576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d4f90613791565b60405180910390fd5b5f60155f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690505f7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401611dd79190612a63565b602060405180830381865afa158015611df2573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e1691906130fd565b90505f6014819055505f60155f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550611eaa82827f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166120359092919063ffffffff16565b8173ffffffffffffffffffffffffffffffffffffffff167f7b2a72f0889ae9bb89e8ee7ec3e7c465552d1b76d51df9b0426d0e4e7f39528f82604051611ef0919061275e565b60405180910390a25050565b7f000000000000000000000000000000000000000000000000000000000000000081565b61dead81565b611f2e61259f565b6002611f40611f3b6125e0565b612609565b5f0181905550565b5f5f5f90505b6006811015611f8a578260028260068110611f6c57611f6b6134aa565b5b015403611f7d576001915050611f8f565b8080600101915050611f4e565b505f90505b919050565b5f5f5f90505b600a811015611fd65782600882600a8110611fb857611fb76134aa565b5b015403611fc9576001915050611fdb565b8080600101915050611f9a565b505f90505b919050565b611fee848484846001612612565b61202f57836040517f5274afe70000000000000000000000000000000000000000000000000000000081526004016120269190612a63565b60405180910390fd5b50505050565b6120428383836001612683565b61208357826040517f5274afe700000000000000000000000000000000000000000000000000000000815260040161207a9190612a63565b60405180910390fd5b505050565b600161209a6120956125e0565b612609565b5f0181905550565b60125f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20805490508310612124576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161211b906137f9565b60405180910390fd5b5f60125f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f208481548110612174576121736134aa565b5b905f5260205f20906005020190505f8160010154036121c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121bf90613861565b60405180910390fd5b806004015f9054906101000a900460ff1615612219576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612210906138c9565b60405180910390fd5b8060010154431161225f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161225690613931565b60405180910390fd5b5f81600101544090505f5f1b81036122ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122a390613999565b60405180910390fd5b815f015484846040516020016122c39291906132af565b6040516020818303038152906040528051906020012014612319576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161231090613a01565b60405180910390fd5b5f848260405160200161232d9291906132af565b6040516020818303038152906040528051906020012090505f8360030154825f1c61235891906132da565b14612398576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161238f90613a69565b60405180910390fd5b5f6064600260646123a99190613018565b856003015486600201546123bd919061304b565b6123c7919061304b565b6123d191906130b9565b90506001846004015f6101000a81548160ff02191690831515021790555060175f815480929190612401906131e9565b91905055508060195f82825461241791906131b6565b925050819055505f606460018361242e919061304b565b61243891906130b9565b905061248761dead827f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166120359092919063ffffffff16565b80601a5f82825461249891906131b6565b925050819055506124f58982846124af9190613018565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166120359092919063ffffffff16565b7f6ef4855b666dcc7884561072e4358b28dfe01feb1b7f4dcebc00e62d50394ac781604051612524919061275e565b60405180910390a1878973ffffffffffffffffffffffffffffffffffffffff167f6aaba47b67ce7ee9c36ff9b38f232da7bf9b128468adbc48fcc51ea30325a3e68988600201548960030154868861257c9190613018565b60405161258c9493929190613a87565b60405180910390a3505050505050505050565b6125a76126e5565b156125de576040517f3ee5aeb500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b565b5f7f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f005f1b905090565b5f819050919050565b5f5f6323b872dd60e01b9050604051815f525f1960601c87166004525f1960601c86166024528460445260205f60645f5f8c5af1925060015f51148316612670578383151615612664573d5f823e3d81fd5b5f883b113d1516831692505b806040525f606052505095945050505050565b5f5f63a9059cbb60e01b9050604051815f525f1960601c86166004528460245260205f60445f5f8b5af1925060015f511483166126d75783831516156126cb573d5f823e3d81fd5b5f873b113d1516831692505b806040525050949350505050565b5f60026126f86126f36125e0565b612609565b5f015414905090565b6040518060c00160405280600690602082028036833780820191505090505090565b604051806101400160405280600a90602082028036833780820191505090505090565b5f819050919050565b61275881612746565b82525050565b5f6020820190506127715f83018461274f565b92915050565b5f5ffd5b5f5ffd5b5f819050919050565b6127918161277f565b811461279b575f5ffd5b50565b5f813590506127ac81612788565b92915050565b6127bb81612746565b81146127c5575f5ffd5b50565b5f813590506127d6816127b2565b92915050565b5f5f5f606084860312156127f3576127f2612777565b5b5f6128008682870161279e565b9350506020612811868287016127c8565b9250506040612822868287016127c8565b9150509250925092565b5f6020828403121561284157612840612777565b5b5f61284e848285016127c8565b91505092915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f61288082612857565b9050919050565b61289081612876565b811461289a575f5ffd5b50565b5f813590506128ab81612887565b92915050565b5f602082840312156128c6576128c5612777565b5b5f6128d38482850161289d565b91505092915050565b5f5f5f606084860312156128f3576128f2612777565b5b5f6129008682870161279e565b93505060206129118682870161279e565b9250506040612922868287016127c8565b9150509250925092565b5f8115159050919050565b6129408161292c565b82525050565b5f6020820190506129595f830184612937565b92915050565b5f5f6040838503121561297557612974612777565b5b5f6129828582860161279e565b92505060206129938582860161279e565b9150509250929050565b6129a68161277f565b82525050565b5f6020820190506129bf5f83018461299d565b92915050565b5f5f604083850312156129db576129da612777565b5b5f6129e88582860161289d565b92505060206129f9858286016127c8565b9150509250929050565b5f60a082019050612a165f83018861299d565b612a23602083018761274f565b612a30604083018661274f565b612a3d606083018561274f565b612a4a6080830184612937565b9695505050505050565b612a5d81612876565b82525050565b5f602082019050612a765f830184612a54565b92915050565b5f5ffd5b5f5ffd5b5f5ffd5b5f5f83601f840112612a9d57612a9c612a7c565b5b8235905067ffffffffffffffff811115612aba57612ab9612a80565b5b602083019150836020820283011115612ad657612ad5612a84565b5b9250929050565b5f5f83601f840112612af257612af1612a7c565b5b8235905067ffffffffffffffff811115612b0f57612b0e612a80565b5b602083019150836020820283011115612b2b57612b2a612a84565b5b9250929050565b5f5f5f5f5f5f60608789031215612b4c57612b4b612777565b5b5f87013567ffffffffffffffff811115612b6957612b6861277b565b5b612b7589828a01612a88565b9650965050602087013567ffffffffffffffff811115612b9857612b9761277b565b5b612ba489828a01612add565b9450945050604087013567ffffffffffffffff811115612bc757612bc661277b565b5b612bd389828a01612add565b92509250509295509295509295565b5f5f5f60608486031215612bf957612bf8612777565b5b5f612c06868287016127c8565b9350506020612c178682870161279e565b9250506040612c288682870161279e565b9150509250925092565b5f60069050919050565b5f81905092915050565b5f819050919050565b612c5881612746565b82525050565b5f612c698383612c4f565b60208301905092915050565b5f602082019050919050565b612c8a81612c32565b612c948184612c3c565b9250612c9f82612c46565b805f5b83811015612ccf578151612cb68782612c5e565b9650612cc183612c75565b925050600181019050612ca2565b505050505050565b5f60c082019050612cea5f830184612c81565b92915050565b5f600a9050919050565b5f81905092915050565b5f819050919050565b5f602082019050919050565b612d2281612cf0565b612d2c8184612cfa565b9250612d3782612d04565b805f5b83811015612d67578151612d4e8782612c5e565b9650612d5983612d0d565b925050600181019050612d3a565b505050505050565b5f61014082019050612d835f830184612d19565b92915050565b5f5f60408385031215612d9f57612d9e612777565b5b5f612dac858286016127c8565b9250506020612dbd858286016127c8565b9150509250929050565b5f819050919050565b5f612dea612de5612de084612857565b612dc7565b612857565b9050919050565b5f612dfb82612dd0565b9050919050565b5f612e0c82612df1565b9050919050565b612e1c81612e02565b82525050565b5f602082019050612e355f830184612e13565b92915050565b5f82825260208201905092915050565b7f47616d65207061757365640000000000000000000000000000000000000000005f82015250565b5f612e7f600b83612e3b565b9150612e8a82612e4b565b602082019050919050565b5f6020820190508181035f830152612eac81612e73565b9050919050565b7f456d7074792068617368000000000000000000000000000000000000000000005f82015250565b5f612ee7600a83612e3b565b9150612ef282612eb3565b602082019050919050565b5f6020820190508181035f830152612f1481612edb565b9050919050565b7f496e76616c69642062657420616d6f756e7400000000000000000000000000005f82015250565b5f612f4f601283612e3b565b9150612f5a82612f1b565b602082019050919050565b5f6020820190508181035f830152612f7c81612f43565b9050919050565b7f496e76616c6964206d756c7469706c69657200000000000000000000000000005f82015250565b5f612fb7601283612e3b565b9150612fc282612f83565b602082019050919050565b5f6020820190508181035f830152612fe481612fab565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f61302282612746565b915061302d83612746565b925082820390508181111561304557613044612feb565b5b92915050565b5f61305582612746565b915061306083612746565b925082820261306e81612746565b9150828204841483151761308557613084612feb565b5b5092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b5f6130c382612746565b91506130ce83612746565b9250826130de576130dd61308c565b5b828204905092915050565b5f815190506130f7816127b2565b92915050565b5f6020828403121561311257613111612777565b5b5f61311f848285016130e9565b91505092915050565b7f5061796f75742065786365656473206d61782028312f35206f6620686f7573655f8201527f2900000000000000000000000000000000000000000000000000000000000000602082015250565b5f613182602183612e3b565b915061318d82613128565b604082019050919050565b5f6020820190508181035f8301526131af81613176565b9050919050565b5f6131c082612746565b91506131cb83612746565b92508282019050808211156131e3576131e2612feb565b5b92915050565b5f6131f382612746565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361322557613224612feb565b5b600182019050919050565b5f60c0820190506132435f83018961299d565b613250602083018861274f565b61325d604083018761274f565b61326a606083018661274f565b613277608083018561274f565b61328460a083018461274f565b979650505050505050565b5f819050919050565b6132a96132a48261277f565b61328f565b82525050565b5f6132ba8285613298565b6020820191506132ca8284613298565b6020820191508190509392505050565b5f6132e482612746565b91506132ef83612746565b9250826132ff576132fe61308c565b5b828206905092915050565b7f4e6f74206f776e657200000000000000000000000000000000000000000000005f82015250565b5f61333e600983612e3b565b91506133498261330a565b602082019050919050565b5f6020820190508181035f83015261336b81613332565b9050919050565b7f43616e63656c207769746864726177616c2066697273740000000000000000005f82015250565b5f6133a6601783612e3b565b91506133b182613372565b602082019050919050565b5f6020820190508181035f8301526133d38161339a565b9050919050565b7f4e6f742070656e64696e67206f776e65720000000000000000000000000000005f82015250565b5f61340e601183612e3b565b9150613419826133da565b602082019050919050565b5f6020820190508181035f83015261343b81613402565b9050919050565b7f496e76616c696420696e646578000000000000000000000000000000000000005f82015250565b5f613476600d83612e3b565b915061348182613442565b602082019050919050565b5f6020820190508181035f8301526134a38161346a565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b7f4172726179206c656e677468206d69736d6174636800000000000000000000005f82015250565b5f61350b601583612e3b565b9150613516826134d7565b602082019050919050565b5f6020820190508181035f830152613538816134ff565b9050919050565b7f546f6f206d616e792072657665616c73000000000000000000000000000000005f82015250565b5f613573601083612e3b565b915061357e8261353f565b602082019050919050565b5f6020820190508181035f8301526135a081613567565b9050919050565b7f496e76616c6964206164647265737300000000000000000000000000000000005f82015250565b5f6135db600f83612e3b565b91506135e6826135a7565b602082019050919050565b5f6020820190508181035f830152613608816135cf565b9050919050565b7f5769746864726177616c20616c72656164792070656e64696e670000000000005f82015250565b5f613643601a83612e3b565b915061364e8261360f565b602082019050919050565b5f6020820190508181035f83015261367081613637565b9050919050565b7f496e76616c6964206f776e6572000000000000000000000000000000000000005f82015250565b5f6136ab600d83612e3b565b91506136b682613677565b602082019050919050565b5f6020820190508181035f8301526136d88161369f565b9050919050565b7f4e6f207769746864726177616c207265717565737465640000000000000000005f82015250565b5f613713601783612e3b565b915061371e826136df565b602082019050919050565b5f6020820190508181035f83015261374081613707565b9050919050565b7f44656c6179206e6f74206d6574000000000000000000000000000000000000005f82015250565b5f61377b600d83612e3b565b915061378682613747565b602082019050919050565b5f6020820190508181035f8301526137a88161376f565b9050919050565b7f496e76616c69642062657420696e6465780000000000000000000000000000005f82015250565b5f6137e3601183612e3b565b91506137ee826137af565b602082019050919050565b5f6020820190508181035f830152613810816137d7565b9050919050565b7f4e6f2062657420666f756e6400000000000000000000000000000000000000005f82015250565b5f61384b600c83612e3b565b915061385682613817565b602082019050919050565b5f6020820190508181035f8301526138788161383f565b9050919050565b7f416c726561647920636c61696d656400000000000000000000000000000000005f82015250565b5f6138b3600f83612e3b565b91506138be8261387f565b602082019050919050565b5f6020820190508181035f8301526138e0816138a7565b9050919050565b7f57616974206f6e6520626c6f636b0000000000000000000000000000000000005f82015250565b5f61391b600e83612e3b565b9150613926826138e7565b602082019050919050565b5f6020820190508181035f8301526139488161390f565b9050919050565b7f426574206578706972656420283e32353620626c6f636b7329000000000000005f82015250565b5f613983601983612e3b565b915061398e8261394f565b602082019050919050565b5f6020820190508181035f8301526139b081613977565b9050919050565b7f48617368206d69736d61746368000000000000000000000000000000000000005f82015250565b5f6139eb600d83612e3b565b91506139f6826139b7565b602082019050919050565b5f6020820190508181035f830152613a18816139df565b9050919050565b7f4e6f7420612077696e6e657200000000000000000000000000000000000000005f82015250565b5f613a53600c83612e3b565b9150613a5e82613a1f565b602082019050919050565b5f6020820190508181035f830152613a8081613a47565b9050919050565b5f608082019050613a9a5f83018761299d565b613aa7602083018661274f565b613ab4604083018561274f565b613ac1606083018461274f565b9594505050505056fea264697066735822122027a207db7cb17e83a033807591950dab695f56c551853debcf05ebcbfdc23bcc64736f6c634300082100330000000000000000000000009f86db9fc6f7c9408e8fda3ff8ce4e78ac7a6b0700000000000000000000000011ce532845ce0eacda41f72fdc1c88c335981442
Deployed Bytecode
0x608060405234801561000f575f5ffd5b506004361061023b575f3560e01c80638a6b114b11610139578063b6ffe57f116100b6578063e30c39781161007a578063e30c397814610667578063e47b9fbc14610685578063f8fd9795146106b5578063fc0c546a146106bf578063fccc2813146106dd5761023b565b8063b6ffe57f146105d1578063b8ba1f72146105ef578063becf40b61461060d578063befa1e2f1461062b578063d89135cd146106495761023b565b8063a35a36e9116100fd578063a35a36e91461052b578063ab6b1f6814610547578063ab950a631461057b578063af697a6f14610599578063b5ed298a146105b55761023b565b80638a6b114b146104815780638bcd3e93146104b55780638da5cb5b146104d35780638e395cf4146104f15780639c9867641461050d5761023b565b80633f4ba83a116101c7578063715018a61161018b578063715018a614610415578063777ac3491461041f57806379ba50971461043d5780637b9adeb31461044757806384b76824146104775761023b565b80633f4ba83a14610393578063478943921461039d5780635c975abb146103bb578063613f4594146103d957806367084eb3146103f75761023b565b80631357e1dc1161020e5780631357e1dc146102c757806314648796146102e557806317e931cf14610315578063190611071461033357806339f22e77146103635761023b565b80630d5e5fff1461023f5780630fc308931461025d578063126cf40d1461027b57806312e426c114610297575b5f5ffd5b6102476106fb565b604051610254919061275e565b60405180910390f35b610265610701565b604051610272919061275e565b60405180910390f35b610295600480360381019061029091906127dc565b610707565b005b6102b160048036038101906102ac919061282c565b610c04565b6040516102be919061275e565b60405180910390f35b6102cf610c1d565b6040516102dc919061275e565b60405180910390f35b6102ff60048036038101906102fa91906128b1565b610c23565b60405161030c919061275e565b60405180910390f35b61031d610c6c565b60405161032a919061275e565b60405180910390f35b61034d600480360381019061034891906128dc565b610c72565b60405161035a9190612946565b60405180910390f35b61037d6004803603810190610378919061295f565b610cb4565b60405161038a91906129ac565b60405180910390f35b61039b610ce6565b005b6103a5610e0a565b6040516103b2919061275e565b60405180910390f35b6103c3610e52565b6040516103d09190612946565b60405180910390f35b6103e1610e64565b6040516103ee919061275e565b60405180910390f35b6103ff610e6a565b60405161040c919061275e565b60405180910390f35b61041d610f08565b005b610427611091565b604051610434919061275e565b60405180910390f35b610445611097565b005b610461600480360381019061045c919061282c565b611221565b60405161046e919061275e565b60405180910390f35b61047f61123a565b005b61049b600480360381019061049691906129c5565b6113a4565b6040516104ac959493929190612a03565b60405180910390f35b6104bd611502565b6040516104ca9190612a63565b60405180910390f35b6104db611527565b6040516104e89190612a63565b60405180910390f35b61050b60048036038101906105069190612b32565b61154b565b005b610515611678565b604051610522919061275e565b60405180910390f35b610545600480360381019061054091906128b1565b61167d565b005b610561600480360381019061055c91906129c5565b6118cb565b604051610572959493929190612a03565b60405180910390f35b610583611923565b604051610590919061275e565b60405180910390f35b6105b360048036038101906105ae9190612be2565b611928565b005b6105cf60048036038101906105ca91906128b1565b611949565b005b6105d9611b02565b6040516105e69190612cd7565b60405180910390f35b6105f7611b4d565b6040516106049190612d6f565b60405180910390f35b610615611b98565b604051610622919061275e565b60405180910390f35b610633611b9d565b604051610640919061275e565b60405180910390f35b610651611ba3565b60405161065e919061275e565b60405180910390f35b61066f611ba9565b60405161067c9190612a63565b60405180910390f35b61069f600480360381019061069a9190612d89565b611bce565b6040516106ac919061275e565b60405180910390f35b6106bd611c34565b005b6106c7611efc565b6040516106d49190612e22565b60405180910390f35b6106e5611f20565b6040516106f29190612a63565b60405180910390f35b61038481565b60145481565b61070f611f26565b60135f9054906101000a900460ff161561075e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161075590612e95565b60405180910390fd5b5f5f1b83036107a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161079990612efd565b60405180910390fd5b6107ab82611f48565b6107ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107e190612f65565b60405180910390fd5b6107f381611f94565b610832576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161082990612fcd565b60405180910390fd5b5f6064600260646108439190613018565b838561084f919061304b565b610859919061304b565b61086391906130b9565b90505f7f0000000000000000000000009f86db9fc6f7c9408e8fda3ff8ce4e78ac7a6b0773ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016108bf9190612a63565b602060405180830381865afa1580156108da573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108fe91906130fd565b905060058161090d91906130b9565b82111561094f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161094690613198565b60405180910390fd5b61099c3330867f0000000000000000000000009f86db9fc6f7c9408e8fda3ff8ce4e78ac7a6b0773ffffffffffffffffffffffffffffffffffffffff16611fe0909392919063ffffffff16565b5f60646001866109ac919061304b565b6109b691906130b9565b9050610a0561dead827f0000000000000000000000009f86db9fc6f7c9408e8fda3ff8ce4e78ac7a6b0773ffffffffffffffffffffffffffffffffffffffff166120359092919063ffffffff16565b80601a5f828254610a1691906131b6565b925050819055505f60125f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2080549050905060125f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f206040518060a001604052808981526020014381526020018881526020018781526020015f1515815250908060018154018082558091505060019003905f5260205f2090600502015f909190919091505f820151815f01556020820151816001015560408201518160020155606082015181600301556080820151816004015f6101000a81548160ff021916908315150217905550505060165f815480929190610b46906131e9565b91905055508560185f828254610b5c91906131b6565b92505081905550803373ffffffffffffffffffffffffffffffffffffffff167f5c13ea98f04f4ad3039ec32b914f23f3ff6a7b0fe228cab90a0ad053af895afb89438a8a8a89604051610bb496959493929190613230565b60405180910390a37f6ef4855b666dcc7884561072e4358b28dfe01feb1b7f4dcebc00e62d50394ac782604051610beb919061275e565b60405180910390a150505050610bff612088565b505050565b60028160068110610c13575f80fd5b015f915090505481565b60195481565b5f60125f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20805490509050919050565b61010081565b5f5f828585604051602001610c889291906132af565b604051602081830303815290604052805190602001205f1c610caa91906132da565b1490509392505050565b5f8282604051602001610cc89291906132af565b60405160208183030381529060405280519060200120905092915050565b5f5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610d74576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d6b90613354565b60405180910390fd5b5f60145414610db8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610daf906133bc565b60405180910390fd5b5f60135f6101000a81548160ff0219169083151502179055507f0e2fb031ee032dc02d8011dc50b816eb450cf856abd8261680dac74f72165bd25f604051610e009190612946565b60405180910390a1565b5f5f60145403610e1c575f9050610e4f565b5f610384601454610e2d91906131b6565b9050804210610e3f575f915050610e4f565b4281610e4b9190613018565b9150505b90565b60135f9054906101000a900460ff1681565b60185481565b5f7f0000000000000000000000009f86db9fc6f7c9408e8fda3ff8ce4e78ac7a6b0773ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610ec49190612a63565b602060405180830381865afa158015610edf573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f0391906130fd565b905090565b5f5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610f96576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f8d90613354565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff165f5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f357bdeb5828fa83945f38a88510ce5cd7d628dafb346d767efbc693149fdd97c60405160405180910390a35f5f5f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505f60015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b60175481565b60015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611126576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161111d90613424565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff165f5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f357bdeb5828fa83945f38a88510ce5cd7d628dafb346d767efbc693149fdd97c60405160405180910390a3335f5f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505f60015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b600881600a8110611230575f80fd5b015f915090505481565b5f5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146112c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112bf90613354565b60405180910390fd5b5f6014819055505f60155f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505f60135f6101000a81548160ff0219169083151502179055503373ffffffffffffffffffffffffffffffffffffffff167f8b775bb80a5d4addc5ea2601b2378ae89a1bb9010227157ac02aa71498e799c460405160405180910390a27f0e2fb031ee032dc02d8011dc50b816eb450cf856abd8261680dac74f72165bd25f60405161139a9190612946565b60405180910390a1565b5f5f5f5f5f60125f8873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2080549050861061142b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114229061348c565b60405180910390fd5b5f60125f8973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20878154811061147b5761147a6134aa565b5b905f5260205f2090600502016040518060a00160405290815f8201548152602001600182015481526020016002820154815260200160038201548152602001600482015f9054906101000a900460ff1615151515815250509050805f0151816020015182604001518360600151846080015195509550955095509550509295509295909350565b60155f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b5f5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b611553611f26565b838390508686905014801561156d57508181905084849050145b6115ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115a390613521565b60405180910390fd5b60148686905011156115f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ea90613589565b60405180910390fd5b5f5f90505b868690508110156116675761165a3388888481811061161a576116196134aa565b5b90506020020135878785818110611634576116336134aa565b5b9050602002013586868681811061164e5761164d6134aa565b5b905060200201356120a2565b80806001019150506115f8565b50611670612088565b505050505050565b600181565b5f5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461170b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161170290613354565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611779576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611770906135f1565b60405180910390fd5b5f601454146117bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117b490613659565b60405180910390fd5b600160135f6101000a81548160ff021916908315150217905550426014819055508060155f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f684a72064b64d0086ceb0035fc0d62aa0e9cf8b355bf49e956a943bdda24f6e06103844261187b91906131b6565b604051611888919061275e565b60405180910390a37f0e2fb031ee032dc02d8011dc50b816eb450cf856abd8261680dac74f72165bd260016040516118c09190612946565b60405180910390a150565b6012602052815f5260405f2081815481106118e4575f80fd5b905f5260205f2090600502015f9150915050805f015490806001015490806002015490806003015490806004015f9054906101000a900460ff16905085565b600581565b611930611f26565b61193c338484846120a2565b611944612088565b505050565b5f5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146119d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119ce90613354565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611a45576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a3c906136c1565b60405180910390fd5b8060015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff165f5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167fb51454ce8c7f26becd312a46c4815553887f2ec876a0b8dc813b87f62edf6f8060405160405180910390a350565b611b0a612701565b6002600680602002604051908101604052809291908260068015611b43576020028201915b815481526020019060010190808311611b2f575b5050505050905090565b611b55612723565b6008600a806020026040519081016040528092919082600a8015611b8e576020028201915b815481526020019060010190808311611b7a575b5050505050905090565b600281565b60165481565b601a5481565b60015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b5f5f606460026064611be09190613018565b8486611bec919061304b565b611bf6919061304b565b611c0091906130b9565b90505f6064600183611c12919061304b565b611c1c91906130b9565b90508082611c2a9190613018565b9250505092915050565b5f5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611cc2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cb990613354565b60405180910390fd5b5f60145403611d06576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cfd90613729565b60405180910390fd5b610384601454611d1691906131b6565b421015611d58576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d4f90613791565b60405180910390fd5b5f60155f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690505f7f0000000000000000000000009f86db9fc6f7c9408e8fda3ff8ce4e78ac7a6b0773ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401611dd79190612a63565b602060405180830381865afa158015611df2573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e1691906130fd565b90505f6014819055505f60155f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550611eaa82827f0000000000000000000000009f86db9fc6f7c9408e8fda3ff8ce4e78ac7a6b0773ffffffffffffffffffffffffffffffffffffffff166120359092919063ffffffff16565b8173ffffffffffffffffffffffffffffffffffffffff167f7b2a72f0889ae9bb89e8ee7ec3e7c465552d1b76d51df9b0426d0e4e7f39528f82604051611ef0919061275e565b60405180910390a25050565b7f0000000000000000000000009f86db9fc6f7c9408e8fda3ff8ce4e78ac7a6b0781565b61dead81565b611f2e61259f565b6002611f40611f3b6125e0565b612609565b5f0181905550565b5f5f5f90505b6006811015611f8a578260028260068110611f6c57611f6b6134aa565b5b015403611f7d576001915050611f8f565b8080600101915050611f4e565b505f90505b919050565b5f5f5f90505b600a811015611fd65782600882600a8110611fb857611fb76134aa565b5b015403611fc9576001915050611fdb565b8080600101915050611f9a565b505f90505b919050565b611fee848484846001612612565b61202f57836040517f5274afe70000000000000000000000000000000000000000000000000000000081526004016120269190612a63565b60405180910390fd5b50505050565b6120428383836001612683565b61208357826040517f5274afe700000000000000000000000000000000000000000000000000000000815260040161207a9190612a63565b60405180910390fd5b505050565b600161209a6120956125e0565b612609565b5f0181905550565b60125f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20805490508310612124576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161211b906137f9565b60405180910390fd5b5f60125f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f208481548110612174576121736134aa565b5b905f5260205f20906005020190505f8160010154036121c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121bf90613861565b60405180910390fd5b806004015f9054906101000a900460ff1615612219576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612210906138c9565b60405180910390fd5b8060010154431161225f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161225690613931565b60405180910390fd5b5f81600101544090505f5f1b81036122ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122a390613999565b60405180910390fd5b815f015484846040516020016122c39291906132af565b6040516020818303038152906040528051906020012014612319576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161231090613a01565b60405180910390fd5b5f848260405160200161232d9291906132af565b6040516020818303038152906040528051906020012090505f8360030154825f1c61235891906132da565b14612398576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161238f90613a69565b60405180910390fd5b5f6064600260646123a99190613018565b856003015486600201546123bd919061304b565b6123c7919061304b565b6123d191906130b9565b90506001846004015f6101000a81548160ff02191690831515021790555060175f815480929190612401906131e9565b91905055508060195f82825461241791906131b6565b925050819055505f606460018361242e919061304b565b61243891906130b9565b905061248761dead827f0000000000000000000000009f86db9fc6f7c9408e8fda3ff8ce4e78ac7a6b0773ffffffffffffffffffffffffffffffffffffffff166120359092919063ffffffff16565b80601a5f82825461249891906131b6565b925050819055506124f58982846124af9190613018565b7f0000000000000000000000009f86db9fc6f7c9408e8fda3ff8ce4e78ac7a6b0773ffffffffffffffffffffffffffffffffffffffff166120359092919063ffffffff16565b7f6ef4855b666dcc7884561072e4358b28dfe01feb1b7f4dcebc00e62d50394ac781604051612524919061275e565b60405180910390a1878973ffffffffffffffffffffffffffffffffffffffff167f6aaba47b67ce7ee9c36ff9b38f232da7bf9b128468adbc48fcc51ea30325a3e68988600201548960030154868861257c9190613018565b60405161258c9493929190613a87565b60405180910390a3505050505050505050565b6125a76126e5565b156125de576040517f3ee5aeb500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b565b5f7f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f005f1b905090565b5f819050919050565b5f5f6323b872dd60e01b9050604051815f525f1960601c87166004525f1960601c86166024528460445260205f60645f5f8c5af1925060015f51148316612670578383151615612664573d5f823e3d81fd5b5f883b113d1516831692505b806040525f606052505095945050505050565b5f5f63a9059cbb60e01b9050604051815f525f1960601c86166004528460245260205f60445f5f8b5af1925060015f511483166126d75783831516156126cb573d5f823e3d81fd5b5f873b113d1516831692505b806040525050949350505050565b5f60026126f86126f36125e0565b612609565b5f015414905090565b6040518060c00160405280600690602082028036833780820191505090505090565b604051806101400160405280600a90602082028036833780820191505090505090565b5f819050919050565b61275881612746565b82525050565b5f6020820190506127715f83018461274f565b92915050565b5f5ffd5b5f5ffd5b5f819050919050565b6127918161277f565b811461279b575f5ffd5b50565b5f813590506127ac81612788565b92915050565b6127bb81612746565b81146127c5575f5ffd5b50565b5f813590506127d6816127b2565b92915050565b5f5f5f606084860312156127f3576127f2612777565b5b5f6128008682870161279e565b9350506020612811868287016127c8565b9250506040612822868287016127c8565b9150509250925092565b5f6020828403121561284157612840612777565b5b5f61284e848285016127c8565b91505092915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f61288082612857565b9050919050565b61289081612876565b811461289a575f5ffd5b50565b5f813590506128ab81612887565b92915050565b5f602082840312156128c6576128c5612777565b5b5f6128d38482850161289d565b91505092915050565b5f5f5f606084860312156128f3576128f2612777565b5b5f6129008682870161279e565b93505060206129118682870161279e565b9250506040612922868287016127c8565b9150509250925092565b5f8115159050919050565b6129408161292c565b82525050565b5f6020820190506129595f830184612937565b92915050565b5f5f6040838503121561297557612974612777565b5b5f6129828582860161279e565b92505060206129938582860161279e565b9150509250929050565b6129a68161277f565b82525050565b5f6020820190506129bf5f83018461299d565b92915050565b5f5f604083850312156129db576129da612777565b5b5f6129e88582860161289d565b92505060206129f9858286016127c8565b9150509250929050565b5f60a082019050612a165f83018861299d565b612a23602083018761274f565b612a30604083018661274f565b612a3d606083018561274f565b612a4a6080830184612937565b9695505050505050565b612a5d81612876565b82525050565b5f602082019050612a765f830184612a54565b92915050565b5f5ffd5b5f5ffd5b5f5ffd5b5f5f83601f840112612a9d57612a9c612a7c565b5b8235905067ffffffffffffffff811115612aba57612ab9612a80565b5b602083019150836020820283011115612ad657612ad5612a84565b5b9250929050565b5f5f83601f840112612af257612af1612a7c565b5b8235905067ffffffffffffffff811115612b0f57612b0e612a80565b5b602083019150836020820283011115612b2b57612b2a612a84565b5b9250929050565b5f5f5f5f5f5f60608789031215612b4c57612b4b612777565b5b5f87013567ffffffffffffffff811115612b6957612b6861277b565b5b612b7589828a01612a88565b9650965050602087013567ffffffffffffffff811115612b9857612b9761277b565b5b612ba489828a01612add565b9450945050604087013567ffffffffffffffff811115612bc757612bc661277b565b5b612bd389828a01612add565b92509250509295509295509295565b5f5f5f60608486031215612bf957612bf8612777565b5b5f612c06868287016127c8565b9350506020612c178682870161279e565b9250506040612c288682870161279e565b9150509250925092565b5f60069050919050565b5f81905092915050565b5f819050919050565b612c5881612746565b82525050565b5f612c698383612c4f565b60208301905092915050565b5f602082019050919050565b612c8a81612c32565b612c948184612c3c565b9250612c9f82612c46565b805f5b83811015612ccf578151612cb68782612c5e565b9650612cc183612c75565b925050600181019050612ca2565b505050505050565b5f60c082019050612cea5f830184612c81565b92915050565b5f600a9050919050565b5f81905092915050565b5f819050919050565b5f602082019050919050565b612d2281612cf0565b612d2c8184612cfa565b9250612d3782612d04565b805f5b83811015612d67578151612d4e8782612c5e565b9650612d5983612d0d565b925050600181019050612d3a565b505050505050565b5f61014082019050612d835f830184612d19565b92915050565b5f5f60408385031215612d9f57612d9e612777565b5b5f612dac858286016127c8565b9250506020612dbd858286016127c8565b9150509250929050565b5f819050919050565b5f612dea612de5612de084612857565b612dc7565b612857565b9050919050565b5f612dfb82612dd0565b9050919050565b5f612e0c82612df1565b9050919050565b612e1c81612e02565b82525050565b5f602082019050612e355f830184612e13565b92915050565b5f82825260208201905092915050565b7f47616d65207061757365640000000000000000000000000000000000000000005f82015250565b5f612e7f600b83612e3b565b9150612e8a82612e4b565b602082019050919050565b5f6020820190508181035f830152612eac81612e73565b9050919050565b7f456d7074792068617368000000000000000000000000000000000000000000005f82015250565b5f612ee7600a83612e3b565b9150612ef282612eb3565b602082019050919050565b5f6020820190508181035f830152612f1481612edb565b9050919050565b7f496e76616c69642062657420616d6f756e7400000000000000000000000000005f82015250565b5f612f4f601283612e3b565b9150612f5a82612f1b565b602082019050919050565b5f6020820190508181035f830152612f7c81612f43565b9050919050565b7f496e76616c6964206d756c7469706c69657200000000000000000000000000005f82015250565b5f612fb7601283612e3b565b9150612fc282612f83565b602082019050919050565b5f6020820190508181035f830152612fe481612fab565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f61302282612746565b915061302d83612746565b925082820390508181111561304557613044612feb565b5b92915050565b5f61305582612746565b915061306083612746565b925082820261306e81612746565b9150828204841483151761308557613084612feb565b5b5092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b5f6130c382612746565b91506130ce83612746565b9250826130de576130dd61308c565b5b828204905092915050565b5f815190506130f7816127b2565b92915050565b5f6020828403121561311257613111612777565b5b5f61311f848285016130e9565b91505092915050565b7f5061796f75742065786365656473206d61782028312f35206f6620686f7573655f8201527f2900000000000000000000000000000000000000000000000000000000000000602082015250565b5f613182602183612e3b565b915061318d82613128565b604082019050919050565b5f6020820190508181035f8301526131af81613176565b9050919050565b5f6131c082612746565b91506131cb83612746565b92508282019050808211156131e3576131e2612feb565b5b92915050565b5f6131f382612746565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361322557613224612feb565b5b600182019050919050565b5f60c0820190506132435f83018961299d565b613250602083018861274f565b61325d604083018761274f565b61326a606083018661274f565b613277608083018561274f565b61328460a083018461274f565b979650505050505050565b5f819050919050565b6132a96132a48261277f565b61328f565b82525050565b5f6132ba8285613298565b6020820191506132ca8284613298565b6020820191508190509392505050565b5f6132e482612746565b91506132ef83612746565b9250826132ff576132fe61308c565b5b828206905092915050565b7f4e6f74206f776e657200000000000000000000000000000000000000000000005f82015250565b5f61333e600983612e3b565b91506133498261330a565b602082019050919050565b5f6020820190508181035f83015261336b81613332565b9050919050565b7f43616e63656c207769746864726177616c2066697273740000000000000000005f82015250565b5f6133a6601783612e3b565b91506133b182613372565b602082019050919050565b5f6020820190508181035f8301526133d38161339a565b9050919050565b7f4e6f742070656e64696e67206f776e65720000000000000000000000000000005f82015250565b5f61340e601183612e3b565b9150613419826133da565b602082019050919050565b5f6020820190508181035f83015261343b81613402565b9050919050565b7f496e76616c696420696e646578000000000000000000000000000000000000005f82015250565b5f613476600d83612e3b565b915061348182613442565b602082019050919050565b5f6020820190508181035f8301526134a38161346a565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b7f4172726179206c656e677468206d69736d6174636800000000000000000000005f82015250565b5f61350b601583612e3b565b9150613516826134d7565b602082019050919050565b5f6020820190508181035f830152613538816134ff565b9050919050565b7f546f6f206d616e792072657665616c73000000000000000000000000000000005f82015250565b5f613573601083612e3b565b915061357e8261353f565b602082019050919050565b5f6020820190508181035f8301526135a081613567565b9050919050565b7f496e76616c6964206164647265737300000000000000000000000000000000005f82015250565b5f6135db600f83612e3b565b91506135e6826135a7565b602082019050919050565b5f6020820190508181035f830152613608816135cf565b9050919050565b7f5769746864726177616c20616c72656164792070656e64696e670000000000005f82015250565b5f613643601a83612e3b565b915061364e8261360f565b602082019050919050565b5f6020820190508181035f83015261367081613637565b9050919050565b7f496e76616c6964206f776e6572000000000000000000000000000000000000005f82015250565b5f6136ab600d83612e3b565b91506136b682613677565b602082019050919050565b5f6020820190508181035f8301526136d88161369f565b9050919050565b7f4e6f207769746864726177616c207265717565737465640000000000000000005f82015250565b5f613713601783612e3b565b915061371e826136df565b602082019050919050565b5f6020820190508181035f83015261374081613707565b9050919050565b7f44656c6179206e6f74206d6574000000000000000000000000000000000000005f82015250565b5f61377b600d83612e3b565b915061378682613747565b602082019050919050565b5f6020820190508181035f8301526137a88161376f565b9050919050565b7f496e76616c69642062657420696e6465780000000000000000000000000000005f82015250565b5f6137e3601183612e3b565b91506137ee826137af565b602082019050919050565b5f6020820190508181035f830152613810816137d7565b9050919050565b7f4e6f2062657420666f756e6400000000000000000000000000000000000000005f82015250565b5f61384b600c83612e3b565b915061385682613817565b602082019050919050565b5f6020820190508181035f8301526138788161383f565b9050919050565b7f416c726561647920636c61696d656400000000000000000000000000000000005f82015250565b5f6138b3600f83612e3b565b91506138be8261387f565b602082019050919050565b5f6020820190508181035f8301526138e0816138a7565b9050919050565b7f57616974206f6e6520626c6f636b0000000000000000000000000000000000005f82015250565b5f61391b600e83612e3b565b9150613926826138e7565b602082019050919050565b5f6020820190508181035f8301526139488161390f565b9050919050565b7f426574206578706972656420283e32353620626c6f636b7329000000000000005f82015250565b5f613983601983612e3b565b915061398e8261394f565b602082019050919050565b5f6020820190508181035f8301526139b081613977565b9050919050565b7f48617368206d69736d61746368000000000000000000000000000000000000005f82015250565b5f6139eb600d83612e3b565b91506139f6826139b7565b602082019050919050565b5f6020820190508181035f830152613a18816139df565b9050919050565b7f4e6f7420612077696e6e657200000000000000000000000000000000000000005f82015250565b5f613a53600c83612e3b565b9150613a5e82613a1f565b602082019050919050565b5f6020820190508181035f830152613a8081613a47565b9050919050565b5f608082019050613a9a5f83018761299d565b613aa7602083018661274f565b613ab4604083018561274f565b613ac1606083018461274f565b9594505050505056fea264697066735822122027a207db7cb17e83a033807591950dab695f56c551853debcf05ebcbfdc23bcc64736f6c63430008210033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000009f86db9fc6f7c9408e8fda3ff8ce4e78ac7a6b0700000000000000000000000011ce532845ce0eacda41f72fdc1c88c335981442
-----Decoded View---------------
Arg [0] : _token (address): 0x9f86dB9fc6f7c9408e8Fda3Ff8ce4e78ac7a6b07
Arg [1] : _owner (address): 0x11ce532845cE0eAcdA41f72FDc1C88c335981442
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000009f86db9fc6f7c9408e8fda3ff8ce4e78ac7a6b07
Arg [1] : 00000000000000000000000011ce532845ce0eacda41f72fdc1c88c335981442
Loading...
Loading
Loading...
Loading
Loading...
Loading
Net Worth in USD
$2,346.99
Net Worth in ETH
1.17618
Token Allocations
CLAWD
100.00%
Multichain Portfolio | 33 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|---|---|---|---|---|
| BASE | 100.00% | $0.00006 | 38,896,040 | $2,346.99 |
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.