More Info
Private Name Tags
ContractCreator
Latest 20 from a total of 20 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
End Game | 16253898 | 675 days ago | IN | 0 ETH | 0.00357502 | ||||
Connect Game | 16253892 | 675 days ago | IN | 0 ETH | 0.00175603 | ||||
Connect Game | 16253891 | 675 days ago | IN | 0 ETH | 0.00264274 | ||||
Set Bid | 16253839 | 675 days ago | IN | 0 ETH | 0.00052204 | ||||
End Game | 16253825 | 675 days ago | IN | 0 ETH | 0.00198295 | ||||
Connect Game | 16253735 | 675 days ago | IN | 0 ETH | 0.00128167 | ||||
Connect Game | 16253731 | 675 days ago | IN | 0 ETH | 0.00177025 | ||||
Connect Game | 16244181 | 676 days ago | IN | 0 ETH | 0.00114637 | ||||
Connect Game | 16244161 | 676 days ago | IN | 0 ETH | 0.00174864 | ||||
Connect Game | 16244142 | 676 days ago | IN | 0 ETH | 0.00132452 | ||||
Connect Game | 16244133 | 676 days ago | IN | 0 ETH | 0.00168644 | ||||
Connect Game | 16244111 | 676 days ago | IN | 0 ETH | 0.00126155 | ||||
Connect Game | 16244110 | 676 days ago | IN | 0 ETH | 0.00190278 | ||||
Cancel Game Wait... | 16244103 | 676 days ago | IN | 0 ETH | 0.00066798 | ||||
Connect Game | 16244088 | 676 days ago | IN | 0 ETH | 0.00212344 | ||||
Cancel Game Wait... | 16244086 | 676 days ago | IN | 0 ETH | 0.00087102 | ||||
Connect Game | 16243650 | 676 days ago | IN | 0 ETH | 0.00030998 | ||||
Connect Game | 16243648 | 676 days ago | IN | 0 ETH | 0.00210183 | ||||
Transfer Operato... | 16243119 | 676 days ago | IN | 0 ETH | 0.00067959 | ||||
0x60806040 | 16243096 | 676 days ago | IN | 0 ETH | 0.09729733 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
SZNGame
Compiler Version
v0.8.7+commit.e28d00a7
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: Unlicensed pragma solidity ^0.8.0; import '@openzeppelin/contracts/token/ERC20/ERC20.sol'; import '@openzeppelin/contracts/access/Ownable.sol'; import '@uniswap/v2-core/contracts/interfaces/IUniswapV2Factory.sol'; import '@uniswap/v2-core/contracts/interfaces/IUniswapV2Pair.sol'; import '@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol'; contract Operator is Context, Ownable { address private _operator; event OperatorTransferred(address indexed previousOperator, address indexed newOperator); constructor() { _operator = _msgSender(); emit OperatorTransferred(address(0), _operator); } function operator() public view returns (address) { return _operator; } modifier onlyOperator() { require(_operator == msg.sender, "operator: caller is not the operator"); _; } function isOperator() public view returns (bool) { return _msgSender() == _operator; } function transferOperator(address newOperator_) public onlyOwner { _transferOperator(newOperator_); } function _transferOperator(address newOperator_) internal { require(newOperator_ != address(0), "operator: zero address given for new operator"); emit OperatorTransferred(address(0), newOperator_); _operator = newOperator_; } } contract SZNGame is Ownable, Operator { struct Game { uint gameId; address player1; address player2; address winner; bool canceled; uint bid; uint8 bidType; uint started; uint finished; } mapping(uint8 => uint) public _gameIds; mapping(uint => Game) public _games; mapping(uint8 => uint) public _bids; mapping(uint8 => uint) public _gameQueue; mapping(address => uint) public _walletGameIds; address public _sznAddress; event GameCreated(uint gameId, address player1); event GameStarted(uint gameId, address player1, address player2); constructor(address sznAddress) { _sznAddress = sznAddress; } function myGame() external view returns (Game memory) { uint gameId = _walletGameIds[msg.sender]; require(gameId != 0); return _games[gameId]; } function connectGame(uint8 bidType) external { require(_walletGameIds[_msgSender()] == 0, "You already have a game"); if (_bids[bidType] > 0) { ERC20(_sznAddress).transferFrom(_msgSender(), address(this), _bids[bidType]); } if (_gameQueue[bidType] != 0) { startGame(_gameQueue[bidType]); } else { _gameIds[bidType] += 1; createGame(_gameIds[bidType], bidType); } } function createGame(uint gameId, uint8 bidType) internal { _games[gameId].gameId = gameId; _games[gameId].bid = _bids[bidType]; _games[gameId].player1 = _msgSender(); _games[gameId].bidType = bidType; _walletGameIds[_msgSender()] = gameId; _gameQueue[bidType] = gameId; emit GameCreated(gameId, _games[gameId].player1); } function startGame(uint gameId) internal { _games[gameId].player2 = _msgSender(); _games[gameId].started = block.number; _walletGameIds[_msgSender()] = gameId; _gameQueue[_games[gameId].bidType] = 0; emit GameStarted(gameId, _games[gameId].player1, _games[gameId].player2); } function cancelGameWaiting(uint gameId) external { checkGameCreated(gameId); require(_games[gameId].canceled == false, "Already cancelled"); _games[gameId].canceled = true; _gameQueue[_games[gameId].bidType] = 0; _walletGameIds[_msgSender()] = 0; if (_games[gameId].bid > 0) { transferToken(_msgSender(), _games[gameId].bid); } } function endGame(uint gameId, address winner) external onlyOperator { if (_games[gameId].winner == address(0)) { checkGameActive(gameId); require(_games[gameId].player1 == winner || _games[gameId].player2 == winner); if (_games[gameId].bid > 0) { uint rewards = _games[gameId].bid * 3 / 4; uint burnRewards = _games[gameId].bid * 1 / 4; transferToken(winner, rewards); transferToken(address(0xdead), burnRewards); } finishGame(gameId, winner); } } function endDrawGame(uint gameId) external onlyOperator { if (_games[gameId].winner == address(0)) { checkGameActive(gameId); if (_games[gameId].bid > 0) { transferToken(_games[gameId].player1, _games[gameId].bid); transferToken(_games[gameId].player2, _games[gameId].bid); } finishGame(gameId, address(0xdead)); } } function checkGameActive(uint gameId) internal { require(_games[gameId].started != 0); require(_games[gameId].finished == 0); } function checkGameCreated(uint gameId) internal { require(_games[gameId].started == 0); require(_games[gameId].player1 == _msgSender()); require(_games[gameId].player2 == address(0)); } function finishGame(uint gameId, address winner) internal { _games[gameId].finished = block.number; _games[gameId].winner = winner; _walletGameIds[_games[gameId].player1] = 0; _walletGameIds[_games[gameId].player2] = 0; } function transferToken(address to, uint tokens) internal { ERC20(_sznAddress).transfer(to, tokens); } function setBid(uint8 bidType, uint bid) external onlyOperator { require(bid > 0); _bids[bidType] = bid; } }
pragma solidity >=0.6.2; import './IUniswapV2Router01.sol'; interface IUniswapV2Router02 is IUniswapV2Router01 { function removeLiquidityETHSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountETH); function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountETH); function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; function swapExactETHForTokensSupportingFeeOnTransferTokens( uint amountOutMin, address[] calldata path, address to, uint deadline ) external payable; function swapExactTokensForETHSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; }
pragma solidity >=0.5.0; interface IUniswapV2Pair { event Approval(address indexed owner, address indexed spender, uint value); event Transfer(address indexed from, address indexed to, uint value); function name() external pure returns (string memory); function symbol() external pure returns (string memory); function decimals() external pure returns (uint8); function totalSupply() external view returns (uint); function balanceOf(address owner) external view returns (uint); function allowance(address owner, address spender) external view returns (uint); function approve(address spender, uint value) external returns (bool); function transfer(address to, uint value) external returns (bool); function transferFrom(address from, address to, uint value) external returns (bool); function DOMAIN_SEPARATOR() external view returns (bytes32); function PERMIT_TYPEHASH() external pure returns (bytes32); function nonces(address owner) external view returns (uint); function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external; event Mint(address indexed sender, uint amount0, uint amount1); event Burn(address indexed sender, uint amount0, uint amount1, address indexed to); event Swap( address indexed sender, uint amount0In, uint amount1In, uint amount0Out, uint amount1Out, address indexed to ); event Sync(uint112 reserve0, uint112 reserve1); function MINIMUM_LIQUIDITY() external pure returns (uint); function factory() external view returns (address); function token0() external view returns (address); function token1() external view returns (address); function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast); function price0CumulativeLast() external view returns (uint); function price1CumulativeLast() external view returns (uint); function kLast() external view returns (uint); function mint(address to) external returns (uint liquidity); function burn(address to) external returns (uint amount0, uint amount1); function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external; function skim(address to) external; function sync() external; function initialize(address, address) external; }
pragma solidity >=0.5.0; interface IUniswapV2Factory { event PairCreated(address indexed token0, address indexed token1, address pair, uint); function feeTo() external view returns (address); function feeToSetter() external view returns (address); function getPair(address tokenA, address tokenB) external view returns (address pair); function allPairs(uint) external view returns (address pair); function allPairsLength() external view returns (uint); function createPair(address tokenA, address tokenB) external returns (address pair); function setFeeTo(address) external; function setFeeToSetter(address) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.0; import "./IERC20.sol"; import "./extensions/IERC20Metadata.sol"; import "../../utils/Context.sol"; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * The default value of {decimals} is 18. To select a different value for * {decimals} you should overload it. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless this function is * overridden; * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `to` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address to, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _transfer(owner, to, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on * `transferFrom`. This is semantically equivalent to an infinite approval. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _approve(owner, spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * NOTE: Does not update the allowance if the current allowance * is the maximum `uint256`. * * Requirements: * * - `from` and `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. * - the caller must have allowance for ``from``'s tokens of at least * `amount`. */ function transferFrom( address from, address to, uint256 amount ) public virtual override returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, amount); _transfer(from, to, amount); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { address owner = _msgSender(); _approve(owner, spender, allowance(owner, spender) + addedValue); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { address owner = _msgSender(); uint256 currentAllowance = allowance(owner, spender); require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(owner, spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `from` to `to`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. */ function _transfer( address from, address to, uint256 amount ) internal virtual { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(from, to, amount); uint256 fromBalance = _balances[from]; require(fromBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[from] = fromBalance - amount; } _balances[to] += amount; emit Transfer(from, to, amount); _afterTokenTransfer(from, to, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; _balances[account] += amount; emit Transfer(address(0), account, amount); _afterTokenTransfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; } _totalSupply -= amount; emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve( address owner, address spender, uint256 amount ) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Updates `owner` s allowance for `spender` based on spent `amount`. * * Does not update the allowance amount in case of infinite allowance. * Revert if not enough allowance is available. * * Might emit an {Approval} event. */ function _spendAllowance( address owner, address spender, uint256 amount ) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { require(currentAllowance >= amount, "ERC20: insufficient allowance"); unchecked { _approve(owner, spender, currentAllowance - amount); } } } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 amount ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 amount ) internal virtual {} }
pragma solidity >=0.6.2; interface IUniswapV2Router01 { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidity( address tokenA, address tokenB, uint amountADesired, uint amountBDesired, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB, uint liquidity); function addLiquidityETH( address token, uint amountTokenDesired, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external payable returns (uint amountToken, uint amountETH, uint liquidity); function removeLiquidity( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB); function removeLiquidityETH( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountToken, uint amountETH); function removeLiquidityWithPermit( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountA, uint amountB); function removeLiquidityETHWithPermit( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountToken, uint amountETH); function swapExactTokensForTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapTokensForExactTokens( uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB); function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut); function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn); function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts); function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 amount ) external returns (bool); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"sznAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"gameId","type":"uint256"},{"indexed":false,"internalType":"address","name":"player1","type":"address"}],"name":"GameCreated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"gameId","type":"uint256"},{"indexed":false,"internalType":"address","name":"player1","type":"address"},{"indexed":false,"internalType":"address","name":"player2","type":"address"}],"name":"GameStarted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOperator","type":"address"},{"indexed":true,"internalType":"address","name":"newOperator","type":"address"}],"name":"OperatorTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[{"internalType":"uint8","name":"","type":"uint8"}],"name":"_bids","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint8","name":"","type":"uint8"}],"name":"_gameIds","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint8","name":"","type":"uint8"}],"name":"_gameQueue","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"_games","outputs":[{"internalType":"uint256","name":"gameId","type":"uint256"},{"internalType":"address","name":"player1","type":"address"},{"internalType":"address","name":"player2","type":"address"},{"internalType":"address","name":"winner","type":"address"},{"internalType":"bool","name":"canceled","type":"bool"},{"internalType":"uint256","name":"bid","type":"uint256"},{"internalType":"uint8","name":"bidType","type":"uint8"},{"internalType":"uint256","name":"started","type":"uint256"},{"internalType":"uint256","name":"finished","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_sznAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_walletGameIds","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"gameId","type":"uint256"}],"name":"cancelGameWaiting","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"bidType","type":"uint8"}],"name":"connectGame","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"gameId","type":"uint256"}],"name":"endDrawGame","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"gameId","type":"uint256"},{"internalType":"address","name":"winner","type":"address"}],"name":"endGame","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"isOperator","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"myGame","outputs":[{"components":[{"internalType":"uint256","name":"gameId","type":"uint256"},{"internalType":"address","name":"player1","type":"address"},{"internalType":"address","name":"player2","type":"address"},{"internalType":"address","name":"winner","type":"address"},{"internalType":"bool","name":"canceled","type":"bool"},{"internalType":"uint256","name":"bid","type":"uint256"},{"internalType":"uint8","name":"bidType","type":"uint8"},{"internalType":"uint256","name":"started","type":"uint256"},{"internalType":"uint256","name":"finished","type":"uint256"}],"internalType":"struct SZNGame.Game","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"operator","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"bidType","type":"uint8"},{"internalType":"uint256","name":"bid","type":"uint256"}],"name":"setBid","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOperator_","type":"address"}],"name":"transferOperator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b50604051620027123803806200271283398181016040528101906200003791906200024f565b620000576200004b6200016c60201b60201c565b6200017460201b60201c565b620000676200016c60201b60201c565b600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f74da04524d50c64947f5dd5381ef1a4dca5cba8ed1d816243f9e48aa0b5617ed60405160405180910390a380600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050620002d4565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000815190506200024981620002ba565b92915050565b600060208284031215620002685762000267620002b5565b5b6000620002788482850162000238565b91505092915050565b60006200028e8262000295565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600080fd5b620002c58162000281565b8114620002d157600080fd5b50565b61242e80620002e46000396000f3fe608060405234801561001057600080fd5b50600436106101165760003560e01c80639461a680116100a2578063b54c97c911610071578063b54c97c9146102c3578063c792fcd7146102df578063cf35189e1461030f578063e00ac2021461033f578063f2fde38b1461035b57610116565b80639461a6801461023b5780639805cc2d1461026b578063abc4cb3b14610289578063ae1cffc9146102a757610116565b8063570ca735116100e9578063570ca735146101a95780635a00aad9146101c7578063715018a6146101f757806386514131146102015780638da5cb5b1461021d57610116565b806329605e771461011b57806341eb8b8b14610137578063444384a61461016f5780634456eda21461018b575b600080fd5b61013560048036038101906101309190611adb565b610377565b005b610151600480360381019061014c9190611b35565b61038b565b60405161016699989796959493929190611ffd565b60405180910390f35b61018960048036038101906101849190611b35565b610453565b005b6101936105cd565b6040516101a09190611e8b565b60405180910390f35b6101b161062c565b6040516101be9190611e10565b60405180910390f35b6101e160048036038101906101dc9190611ba2565b610656565b6040516101ee9190611f82565b60405180910390f35b6101ff61066e565b005b61021b60048036038101906102169190611b62565b610682565b005b61022561090c565b6040516102329190611e10565b60405180910390f35b61025560048036038101906102509190611ba2565b610935565b6040516102629190611f82565b60405180910390f35b61027361094d565b6040516102809190611f66565b60405180910390f35b610291610b2e565b60405161029e9190611e10565b60405180910390f35b6102c160048036038101906102bc9190611ba2565b610b54565b005b6102dd60048036038101906102d89190611bcf565b610d72565b005b6102f960048036038101906102f49190611ba2565b610e31565b6040516103069190611f82565b60405180910390f35b61032960048036038101906103249190611adb565b610e49565b6040516103369190611f82565b60405180910390f35b61035960048036038101906103549190611b35565b610e61565b005b61037560048036038101906103709190611adb565b611041565b005b61037f6110c5565b61038881611143565b50565b60036020528060005260406000206000915090508060000154908060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060020160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060030160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060030160149054906101000a900460ff16908060040154908060050160009054906101000a900460ff16908060060154908060070154905089565b61045c81611252565b600015156003600083815260200190815260200160002060030160149054906101000a900460ff161515146104c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104bd90611ee6565b60405180910390fd5b60016003600083815260200190815260200160002060030160146101000a81548160ff0219169083151502179055506000600560006003600085815260200190815260200160002060050160009054906101000a900460ff1660ff1660ff1681526020019081526020016000208190555060006006600061054561135c565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506000600360008381526020019081526020016000206004015411156105ca576105c96105ad61135c565b6003600084815260200190815260200160002060040154611364565b5b50565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661061061135c565b73ffffffffffffffffffffffffffffffffffffffff1614905090565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60056020528060005260406000206000915090505481565b6106766110c5565b6106806000611418565b565b3373ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610712576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161070990611f26565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff166003600084815260200190815260200160002060030160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141561090857610786826114dc565b8073ffffffffffffffffffffffffffffffffffffffff166003600084815260200190815260200160002060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16148061085757508073ffffffffffffffffffffffffffffffffffffffff166003600084815260200190815260200160002060020160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16145b61086057600080fd5b6000600360008481526020019081526020016000206004015411156108fd57600060046003806000868152602001908152602001600020600401546108a59190612122565b6108af91906120f1565b905060006004600160036000878152602001908152602001600020600401546108d89190612122565b6108e291906120f1565b90506108ee8383611364565b6108fa61dead82611364565b50505b6109078282611526565b5b5050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60046020528060005260406000206000915090505481565b6109556119f4565b6000600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905060008114156109a757600080fd5b6003600082815260200190815260200160002060405180610120016040529081600082015481526020016001820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016002820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016003820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016003820160149054906101000a900460ff16151515158152602001600482015481526020016005820160009054906101000a900460ff1660ff1660ff1681526020016006820154815260200160078201548152505091505090565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600060066000610b6261135c565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205414610bdd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bd490611f46565b60405180910390fd5b6000600460008360ff1660ff168152602001908152602001600020541115610cd257600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd610c4561135c565b30600460008660ff1660ff168152602001908152602001600020546040518463ffffffff1660e01b8152600401610c7e93929190611e2b565b602060405180830381600087803b158015610c9857600080fd5b505af1158015610cac573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cd09190611b08565b505b6000600560008360ff1660ff1681526020019081526020016000205414610d1a57610d15600560008360ff1660ff16815260200190815260200160002054611690565b610d6f565b6001600260008360ff1660ff1681526020019081526020016000206000828254610d44919061209b565b92505081905550610d6e600260008360ff1660ff168152602001908152602001600020548261183e565b5b50565b3373ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610e02576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610df990611f26565b60405180910390fd5b60008111610e0f57600080fd5b80600460008460ff1660ff168152602001908152602001600020819055505050565b60026020528060005260406000206000915090505481565b60066020528060005260406000206000915090505481565b3373ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610ef1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ee890611f26565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff166003600083815260200190815260200160002060030160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141561103e57610f65816114dc565b60006003600083815260200190815260200160002060040154111561103157610fda6003600083815260200190815260200160002060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166003600084815260200190815260200160002060040154611364565b6110306003600083815260200190815260200160002060020160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166003600084815260200190815260200160002060040154611364565b5b61103d8161dead611526565b5b50565b6110496110c5565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156110b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110b090611ea6565b60405180910390fd5b6110c281611418565b50565b6110cd61135c565b73ffffffffffffffffffffffffffffffffffffffff166110eb61090c565b73ffffffffffffffffffffffffffffffffffffffff1614611141576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161113890611f06565b60405180910390fd5b565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156111b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111aa90611ec6565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f74da04524d50c64947f5dd5381ef1a4dca5cba8ed1d816243f9e48aa0b5617ed60405160405180910390a380600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600060036000838152602001908152602001600020600601541461127557600080fd5b61127d61135c565b73ffffffffffffffffffffffffffffffffffffffff166003600083815260200190815260200160002060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146112ea57600080fd5b600073ffffffffffffffffffffffffffffffffffffffff166003600083815260200190815260200160002060020160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461135957600080fd5b50565b600033905090565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb83836040518363ffffffff1660e01b81526004016113c1929190611e62565b602060405180830381600087803b1580156113db57600080fd5b505af11580156113ef573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114139190611b08565b505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60006003600083815260200190815260200160002060060154141561150057600080fd5b600060036000838152602001908152602001600020600701541461152357600080fd5b50565b436003600084815260200190815260200160002060070181905550806003600084815260200190815260200160002060030160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000600660006003600086815260200190815260200160002060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506000600660006003600086815260200190815260200160002060020160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050565b61169861135c565b6003600083815260200190815260200160002060020160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550436003600083815260200190815260200160002060060181905550806006600061171461135c565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506000600560006003600085815260200190815260200160002060050160009054906101000a900460ff1660ff1660ff168152602001908152602001600020819055507f5b11b2d1f1a29e94e8fd947f6b5b713f3dd7fa6e1d9d5b65826d69b9aeb664eb816003600084815260200190815260200160002060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166003600085815260200190815260200160002060020160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1660405161183393929190611fc6565b60405180910390a150565b816003600084815260200190815260200160002060000181905550600460008260ff1660ff16815260200190815260200160002054600360008481526020019081526020016000206004018190555061189561135c565b6003600084815260200190815260200160002060010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550806003600084815260200190815260200160002060050160006101000a81548160ff021916908360ff160217905550816006600061192561135c565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600560008360ff1660ff168152602001908152602001600020819055507fc3e0f84839dc888c892a013d10c8f9d6dc05a21a879d0ce468ca558013e9121c826003600085815260200190815260200160002060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040516119e8929190611f9d565b60405180910390a15050565b60405180610120016040528060008152602001600073ffffffffffffffffffffffffffffffffffffffff168152602001600073ffffffffffffffffffffffffffffffffffffffff168152602001600073ffffffffffffffffffffffffffffffffffffffff16815260200160001515815260200160008152602001600060ff16815260200160008152602001600081525090565b600081359050611a968161239c565b92915050565b600081519050611aab816123b3565b92915050565b600081359050611ac0816123ca565b92915050565b600081359050611ad5816123e1565b92915050565b600060208284031215611af157611af061222f565b5b6000611aff84828501611a87565b91505092915050565b600060208284031215611b1e57611b1d61222f565b5b6000611b2c84828501611a9c565b91505092915050565b600060208284031215611b4b57611b4a61222f565b5b6000611b5984828501611ab1565b91505092915050565b60008060408385031215611b7957611b7861222f565b5b6000611b8785828601611ab1565b9250506020611b9885828601611a87565b9150509250929050565b600060208284031215611bb857611bb761222f565b5b6000611bc684828501611ac6565b91505092915050565b60008060408385031215611be657611be561222f565b5b6000611bf485828601611ac6565b9250506020611c0585828601611ab1565b9150509250929050565b611c188161217c565b82525050565b611c278161217c565b82525050565b611c368161218e565b82525050565b611c458161218e565b82525050565b6000611c5860268361208a565b9150611c6382612234565b604082019050919050565b6000611c7b602d8361208a565b9150611c8682612283565b604082019050919050565b6000611c9e60118361208a565b9150611ca9826122d2565b602082019050919050565b6000611cc160208361208a565b9150611ccc826122fb565b602082019050919050565b6000611ce460248361208a565b9150611cef82612324565b604082019050919050565b6000611d0760178361208a565b9150611d1282612373565b602082019050919050565b61012082016000820151611d346000850182611dd4565b506020820151611d476020850182611c0f565b506040820151611d5a6040850182611c0f565b506060820151611d6d6060850182611c0f565b506080820151611d806080850182611c2d565b5060a0820151611d9360a0850182611dd4565b5060c0820151611da660c0850182611df2565b5060e0820151611db960e0850182611dd4565b50610100820151611dce610100850182611dd4565b50505050565b611ddd816121ba565b82525050565b611dec816121ba565b82525050565b611dfb816121c4565b82525050565b611e0a816121c4565b82525050565b6000602082019050611e256000830184611c1e565b92915050565b6000606082019050611e406000830186611c1e565b611e4d6020830185611c1e565b611e5a6040830184611de3565b949350505050565b6000604082019050611e776000830185611c1e565b611e846020830184611de3565b9392505050565b6000602082019050611ea06000830184611c3c565b92915050565b60006020820190508181036000830152611ebf81611c4b565b9050919050565b60006020820190508181036000830152611edf81611c6e565b9050919050565b60006020820190508181036000830152611eff81611c91565b9050919050565b60006020820190508181036000830152611f1f81611cb4565b9050919050565b60006020820190508181036000830152611f3f81611cd7565b9050919050565b60006020820190508181036000830152611f5f81611cfa565b9050919050565b600061012082019050611f7c6000830184611d1d565b92915050565b6000602082019050611f976000830184611de3565b92915050565b6000604082019050611fb26000830185611de3565b611fbf6020830184611c1e565b9392505050565b6000606082019050611fdb6000830186611de3565b611fe86020830185611c1e565b611ff56040830184611c1e565b949350505050565b600061012082019050612013600083018c611de3565b612020602083018b611c1e565b61202d604083018a611c1e565b61203a6060830189611c1e565b6120476080830188611c3c565b61205460a0830187611de3565b61206160c0830186611e01565b61206e60e0830185611de3565b61207c610100830184611de3565b9a9950505050505050505050565b600082825260208201905092915050565b60006120a6826121ba565b91506120b1836121ba565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156120e6576120e56121d1565b5b828201905092915050565b60006120fc826121ba565b9150612107836121ba565b92508261211757612116612200565b5b828204905092915050565b600061212d826121ba565b9150612138836121ba565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615612171576121706121d1565b5b828202905092915050565b60006121878261219a565b9050919050565b60008115159050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600080fd5b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f6f70657261746f723a207a65726f206164647265737320676976656e20666f7260008201527f206e6577206f70657261746f7200000000000000000000000000000000000000602082015250565b7f416c72656164792063616e63656c6c6564000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f6f70657261746f723a2063616c6c6572206973206e6f7420746865206f70657260008201527f61746f7200000000000000000000000000000000000000000000000000000000602082015250565b7f596f7520616c7265616479206861766520612067616d65000000000000000000600082015250565b6123a58161217c565b81146123b057600080fd5b50565b6123bc8161218e565b81146123c757600080fd5b50565b6123d3816121ba565b81146123de57600080fd5b50565b6123ea816121c4565b81146123f557600080fd5b5056fea2646970667358221220e396bfa1dd50aa02be3622da367c14d4f7ff22d215178f22257b53409c33483c64736f6c634300080700330000000000000000000000001c906276f11c84fba499b9856d6f8453a8e6b93d
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101165760003560e01c80639461a680116100a2578063b54c97c911610071578063b54c97c9146102c3578063c792fcd7146102df578063cf35189e1461030f578063e00ac2021461033f578063f2fde38b1461035b57610116565b80639461a6801461023b5780639805cc2d1461026b578063abc4cb3b14610289578063ae1cffc9146102a757610116565b8063570ca735116100e9578063570ca735146101a95780635a00aad9146101c7578063715018a6146101f757806386514131146102015780638da5cb5b1461021d57610116565b806329605e771461011b57806341eb8b8b14610137578063444384a61461016f5780634456eda21461018b575b600080fd5b61013560048036038101906101309190611adb565b610377565b005b610151600480360381019061014c9190611b35565b61038b565b60405161016699989796959493929190611ffd565b60405180910390f35b61018960048036038101906101849190611b35565b610453565b005b6101936105cd565b6040516101a09190611e8b565b60405180910390f35b6101b161062c565b6040516101be9190611e10565b60405180910390f35b6101e160048036038101906101dc9190611ba2565b610656565b6040516101ee9190611f82565b60405180910390f35b6101ff61066e565b005b61021b60048036038101906102169190611b62565b610682565b005b61022561090c565b6040516102329190611e10565b60405180910390f35b61025560048036038101906102509190611ba2565b610935565b6040516102629190611f82565b60405180910390f35b61027361094d565b6040516102809190611f66565b60405180910390f35b610291610b2e565b60405161029e9190611e10565b60405180910390f35b6102c160048036038101906102bc9190611ba2565b610b54565b005b6102dd60048036038101906102d89190611bcf565b610d72565b005b6102f960048036038101906102f49190611ba2565b610e31565b6040516103069190611f82565b60405180910390f35b61032960048036038101906103249190611adb565b610e49565b6040516103369190611f82565b60405180910390f35b61035960048036038101906103549190611b35565b610e61565b005b61037560048036038101906103709190611adb565b611041565b005b61037f6110c5565b61038881611143565b50565b60036020528060005260406000206000915090508060000154908060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060020160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060030160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060030160149054906101000a900460ff16908060040154908060050160009054906101000a900460ff16908060060154908060070154905089565b61045c81611252565b600015156003600083815260200190815260200160002060030160149054906101000a900460ff161515146104c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104bd90611ee6565b60405180910390fd5b60016003600083815260200190815260200160002060030160146101000a81548160ff0219169083151502179055506000600560006003600085815260200190815260200160002060050160009054906101000a900460ff1660ff1660ff1681526020019081526020016000208190555060006006600061054561135c565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506000600360008381526020019081526020016000206004015411156105ca576105c96105ad61135c565b6003600084815260200190815260200160002060040154611364565b5b50565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661061061135c565b73ffffffffffffffffffffffffffffffffffffffff1614905090565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60056020528060005260406000206000915090505481565b6106766110c5565b6106806000611418565b565b3373ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610712576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161070990611f26565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff166003600084815260200190815260200160002060030160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141561090857610786826114dc565b8073ffffffffffffffffffffffffffffffffffffffff166003600084815260200190815260200160002060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16148061085757508073ffffffffffffffffffffffffffffffffffffffff166003600084815260200190815260200160002060020160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16145b61086057600080fd5b6000600360008481526020019081526020016000206004015411156108fd57600060046003806000868152602001908152602001600020600401546108a59190612122565b6108af91906120f1565b905060006004600160036000878152602001908152602001600020600401546108d89190612122565b6108e291906120f1565b90506108ee8383611364565b6108fa61dead82611364565b50505b6109078282611526565b5b5050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60046020528060005260406000206000915090505481565b6109556119f4565b6000600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905060008114156109a757600080fd5b6003600082815260200190815260200160002060405180610120016040529081600082015481526020016001820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016002820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016003820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016003820160149054906101000a900460ff16151515158152602001600482015481526020016005820160009054906101000a900460ff1660ff1660ff1681526020016006820154815260200160078201548152505091505090565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600060066000610b6261135c565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205414610bdd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bd490611f46565b60405180910390fd5b6000600460008360ff1660ff168152602001908152602001600020541115610cd257600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd610c4561135c565b30600460008660ff1660ff168152602001908152602001600020546040518463ffffffff1660e01b8152600401610c7e93929190611e2b565b602060405180830381600087803b158015610c9857600080fd5b505af1158015610cac573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cd09190611b08565b505b6000600560008360ff1660ff1681526020019081526020016000205414610d1a57610d15600560008360ff1660ff16815260200190815260200160002054611690565b610d6f565b6001600260008360ff1660ff1681526020019081526020016000206000828254610d44919061209b565b92505081905550610d6e600260008360ff1660ff168152602001908152602001600020548261183e565b5b50565b3373ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610e02576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610df990611f26565b60405180910390fd5b60008111610e0f57600080fd5b80600460008460ff1660ff168152602001908152602001600020819055505050565b60026020528060005260406000206000915090505481565b60066020528060005260406000206000915090505481565b3373ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610ef1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ee890611f26565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff166003600083815260200190815260200160002060030160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141561103e57610f65816114dc565b60006003600083815260200190815260200160002060040154111561103157610fda6003600083815260200190815260200160002060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166003600084815260200190815260200160002060040154611364565b6110306003600083815260200190815260200160002060020160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166003600084815260200190815260200160002060040154611364565b5b61103d8161dead611526565b5b50565b6110496110c5565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156110b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110b090611ea6565b60405180910390fd5b6110c281611418565b50565b6110cd61135c565b73ffffffffffffffffffffffffffffffffffffffff166110eb61090c565b73ffffffffffffffffffffffffffffffffffffffff1614611141576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161113890611f06565b60405180910390fd5b565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156111b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111aa90611ec6565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f74da04524d50c64947f5dd5381ef1a4dca5cba8ed1d816243f9e48aa0b5617ed60405160405180910390a380600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600060036000838152602001908152602001600020600601541461127557600080fd5b61127d61135c565b73ffffffffffffffffffffffffffffffffffffffff166003600083815260200190815260200160002060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146112ea57600080fd5b600073ffffffffffffffffffffffffffffffffffffffff166003600083815260200190815260200160002060020160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461135957600080fd5b50565b600033905090565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb83836040518363ffffffff1660e01b81526004016113c1929190611e62565b602060405180830381600087803b1580156113db57600080fd5b505af11580156113ef573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114139190611b08565b505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60006003600083815260200190815260200160002060060154141561150057600080fd5b600060036000838152602001908152602001600020600701541461152357600080fd5b50565b436003600084815260200190815260200160002060070181905550806003600084815260200190815260200160002060030160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000600660006003600086815260200190815260200160002060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506000600660006003600086815260200190815260200160002060020160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050565b61169861135c565b6003600083815260200190815260200160002060020160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550436003600083815260200190815260200160002060060181905550806006600061171461135c565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506000600560006003600085815260200190815260200160002060050160009054906101000a900460ff1660ff1660ff168152602001908152602001600020819055507f5b11b2d1f1a29e94e8fd947f6b5b713f3dd7fa6e1d9d5b65826d69b9aeb664eb816003600084815260200190815260200160002060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166003600085815260200190815260200160002060020160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1660405161183393929190611fc6565b60405180910390a150565b816003600084815260200190815260200160002060000181905550600460008260ff1660ff16815260200190815260200160002054600360008481526020019081526020016000206004018190555061189561135c565b6003600084815260200190815260200160002060010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550806003600084815260200190815260200160002060050160006101000a81548160ff021916908360ff160217905550816006600061192561135c565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600560008360ff1660ff168152602001908152602001600020819055507fc3e0f84839dc888c892a013d10c8f9d6dc05a21a879d0ce468ca558013e9121c826003600085815260200190815260200160002060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040516119e8929190611f9d565b60405180910390a15050565b60405180610120016040528060008152602001600073ffffffffffffffffffffffffffffffffffffffff168152602001600073ffffffffffffffffffffffffffffffffffffffff168152602001600073ffffffffffffffffffffffffffffffffffffffff16815260200160001515815260200160008152602001600060ff16815260200160008152602001600081525090565b600081359050611a968161239c565b92915050565b600081519050611aab816123b3565b92915050565b600081359050611ac0816123ca565b92915050565b600081359050611ad5816123e1565b92915050565b600060208284031215611af157611af061222f565b5b6000611aff84828501611a87565b91505092915050565b600060208284031215611b1e57611b1d61222f565b5b6000611b2c84828501611a9c565b91505092915050565b600060208284031215611b4b57611b4a61222f565b5b6000611b5984828501611ab1565b91505092915050565b60008060408385031215611b7957611b7861222f565b5b6000611b8785828601611ab1565b9250506020611b9885828601611a87565b9150509250929050565b600060208284031215611bb857611bb761222f565b5b6000611bc684828501611ac6565b91505092915050565b60008060408385031215611be657611be561222f565b5b6000611bf485828601611ac6565b9250506020611c0585828601611ab1565b9150509250929050565b611c188161217c565b82525050565b611c278161217c565b82525050565b611c368161218e565b82525050565b611c458161218e565b82525050565b6000611c5860268361208a565b9150611c6382612234565b604082019050919050565b6000611c7b602d8361208a565b9150611c8682612283565b604082019050919050565b6000611c9e60118361208a565b9150611ca9826122d2565b602082019050919050565b6000611cc160208361208a565b9150611ccc826122fb565b602082019050919050565b6000611ce460248361208a565b9150611cef82612324565b604082019050919050565b6000611d0760178361208a565b9150611d1282612373565b602082019050919050565b61012082016000820151611d346000850182611dd4565b506020820151611d476020850182611c0f565b506040820151611d5a6040850182611c0f565b506060820151611d6d6060850182611c0f565b506080820151611d806080850182611c2d565b5060a0820151611d9360a0850182611dd4565b5060c0820151611da660c0850182611df2565b5060e0820151611db960e0850182611dd4565b50610100820151611dce610100850182611dd4565b50505050565b611ddd816121ba565b82525050565b611dec816121ba565b82525050565b611dfb816121c4565b82525050565b611e0a816121c4565b82525050565b6000602082019050611e256000830184611c1e565b92915050565b6000606082019050611e406000830186611c1e565b611e4d6020830185611c1e565b611e5a6040830184611de3565b949350505050565b6000604082019050611e776000830185611c1e565b611e846020830184611de3565b9392505050565b6000602082019050611ea06000830184611c3c565b92915050565b60006020820190508181036000830152611ebf81611c4b565b9050919050565b60006020820190508181036000830152611edf81611c6e565b9050919050565b60006020820190508181036000830152611eff81611c91565b9050919050565b60006020820190508181036000830152611f1f81611cb4565b9050919050565b60006020820190508181036000830152611f3f81611cd7565b9050919050565b60006020820190508181036000830152611f5f81611cfa565b9050919050565b600061012082019050611f7c6000830184611d1d565b92915050565b6000602082019050611f976000830184611de3565b92915050565b6000604082019050611fb26000830185611de3565b611fbf6020830184611c1e565b9392505050565b6000606082019050611fdb6000830186611de3565b611fe86020830185611c1e565b611ff56040830184611c1e565b949350505050565b600061012082019050612013600083018c611de3565b612020602083018b611c1e565b61202d604083018a611c1e565b61203a6060830189611c1e565b6120476080830188611c3c565b61205460a0830187611de3565b61206160c0830186611e01565b61206e60e0830185611de3565b61207c610100830184611de3565b9a9950505050505050505050565b600082825260208201905092915050565b60006120a6826121ba565b91506120b1836121ba565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156120e6576120e56121d1565b5b828201905092915050565b60006120fc826121ba565b9150612107836121ba565b92508261211757612116612200565b5b828204905092915050565b600061212d826121ba565b9150612138836121ba565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615612171576121706121d1565b5b828202905092915050565b60006121878261219a565b9050919050565b60008115159050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600080fd5b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f6f70657261746f723a207a65726f206164647265737320676976656e20666f7260008201527f206e6577206f70657261746f7200000000000000000000000000000000000000602082015250565b7f416c72656164792063616e63656c6c6564000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f6f70657261746f723a2063616c6c6572206973206e6f7420746865206f70657260008201527f61746f7200000000000000000000000000000000000000000000000000000000602082015250565b7f596f7520616c7265616479206861766520612067616d65000000000000000000600082015250565b6123a58161217c565b81146123b057600080fd5b50565b6123bc8161218e565b81146123c757600080fd5b50565b6123d3816121ba565b81146123de57600080fd5b50565b6123ea816121c4565b81146123f557600080fd5b5056fea2646970667358221220e396bfa1dd50aa02be3622da367c14d4f7ff22d215178f22257b53409c33483c64736f6c63430008070033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000001c906276f11c84fba499b9856d6f8453a8e6b93d
-----Decoded View---------------
Arg [0] : sznAddress (address): 0x1C906276f11C84fba499B9856D6f8453a8e6b93D
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000001c906276f11c84fba499b9856d6f8453a8e6b93d
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
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.