Feature Tip: Add private address tag to any address under My Name Tag !
More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 3,554 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
Value | ||||
---|---|---|---|---|---|---|---|---|---|
Claim | 14663047 | 801 days ago | IN | 0 ETH | 0.00422269 | ||||
Claim | 14214437 | 871 days ago | IN | 0 ETH | 0.00287522 | ||||
Claim | 14214339 | 871 days ago | IN | 0 ETH | 0.00683666 | ||||
Claim | 13843290 | 928 days ago | IN | 0 ETH | 0.00580912 | ||||
Claim | 13843285 | 928 days ago | IN | 0 ETH | 0.00539837 | ||||
Claim | 13565613 | 972 days ago | IN | 0 ETH | 0.00928358 | ||||
Claim | 13103855 | 1044 days ago | IN | 0 ETH | 0.00551573 | ||||
Claim | 12998840 | 1060 days ago | IN | 0 ETH | 0.00375099 | ||||
Claim | 12998840 | 1060 days ago | IN | 0 ETH | 0.0061554 | ||||
Claim | 12993654 | 1061 days ago | IN | 0 ETH | 0.00385164 | ||||
Claim | 12942446 | 1069 days ago | IN | 0 ETH | 0.00193637 | ||||
Claim | 12942445 | 1069 days ago | IN | 0 ETH | 0.002841 | ||||
Claim | 12942126 | 1069 days ago | IN | 0 ETH | 0.002841 | ||||
Claim | 12928226 | 1071 days ago | IN | 0 ETH | 0.00370191 | ||||
Claim | 12898920 | 1076 days ago | IN | 0 ETH | 0.00370191 | ||||
Claim | 12894771 | 1076 days ago | IN | 0 ETH | 0.00103309 | ||||
Claim | 12860509 | 1082 days ago | IN | 0 ETH | 0.00181901 | ||||
Claim | 12860509 | 1082 days ago | IN | 0 ETH | 0.00258273 | ||||
Claim | 12796689 | 1092 days ago | IN | 0 ETH | 0.00076281 | ||||
Claim | 12796688 | 1092 days ago | IN | 0 ETH | 0.00111918 | ||||
Claim | 12776834 | 1095 days ago | IN | 0 ETH | 0.00154909 | ||||
Claim | 12776834 | 1095 days ago | IN | 0 ETH | 0.00154909 | ||||
Claim | 12776834 | 1095 days ago | IN | 0 ETH | 0.00154909 | ||||
Claim | 12776834 | 1095 days ago | IN | 0 ETH | 0.00154909 | ||||
Claim | 12776834 | 1095 days ago | IN | 0 ETH | 0.00154909 |
Latest 7 internal transactions
Advanced mode:
Parent Transaction Hash | Block | From | To | Value | ||
---|---|---|---|---|---|---|
12453972 | 1145 days ago | 1,894.15077622 ETH | ||||
12453972 | 1145 days ago | 146.12020273 ETH | ||||
12453972 | 1145 days ago | 146.12020273 ETH | ||||
12453972 | 1145 days ago | 146.12020273 ETH | ||||
12453972 | 1145 days ago | 146.12020273 ETH | ||||
12453972 | 1145 days ago | 146.12020273 ETH | ||||
12453972 | 1145 days ago | 81.1778904 ETH |
Loading...
Loading
Contract Name:
ReservationEvent
Compiler Version
v0.7.6+commit.7338295f
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.7.6; import '@openzeppelin/contracts/math/SafeMath.sol'; import '@openzeppelin/contracts/utils/ReentrancyGuard.sol'; import '@openzeppelin/contracts/access/Ownable.sol'; import './interfaces/IRena.sol'; interface IUniswapV2Router { function addLiquidityETH( address token, uint amountTokenDesired, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external payable returns (uint amountToken, uint amountETH, uint liquidity); } contract ReservationEvent is ReentrancyGuard, Ownable { using SafeMath for uint256; event Claim(address indexed recipient, uint256 indexed claimed); event Participated(address indexed sender, uint256 indexed amount, uint256 indexed round); event Liquidity(address indexed caller, uint256 indexed ethAmount, uint256 indexed renaAmount); IRena rena; bool public liquidityGenerated; bool public beenInitalized; uint256 [5] public reservations; uint256 [5] public ethReceived; uint256 [5] public participants; mapping(address => uint256 [5]) public contributions; address payable [5] public crew; uint256 public startTime; uint256 public roundDurations; uint256 public endTime; constructor() {} //Deploy with the start time, and the length of rounds, and the amount of Rena for each round. //Setup for five rounds. function initialize( address rena_, uint256 startTime_, uint256 roundDurations_, uint256[5] memory reservations_, address payable[5] memory crew_ ) external onlyOwner { require(beenInitalized == false, "Already Initialized"); beenInitalized = true; rena = IRena(rena_); startTime = startTime_; roundDurations = roundDurations_; endTime = startTime.add(roundDurations.mul(5)); //conveniently split 5 ways. for(uint8 i = 0 ; i < 5 ; i++) { reservations[i] = reservations_[i] * 1e18; crew[i] = crew_[i]; } } receive() external payable { require(startTime < block.timestamp, "The Reservation Event has not started."); require(endTime > block.timestamp, "The Reserveation Event has ended."); uint256 round_ = currentRound(); ethReceived[round_] = ethReceived[round_].add(msg.value); if(contributions[msg.sender][round_] == 0) participants[round_] = participants[round_].add(1); contributions[msg.sender][round_] = contributions[msg.sender][round_].add(msg.value); emit Participated(msg.sender, msg.value, round_); } function currentRound() public view returns(uint256) { return block.timestamp.sub(startTime).div(roundDurations); } function reward(address addr) public view returns (uint256 reward_) { for(uint8 i = 0 ; i < 5 ; i++) { if(ethReceived[i] == 0) continue; reward_ = reward_.add(reservations[i] .mul(contributions[addr][i]) .div(ethReceived[i])); } } function rewardForRound(address addr, uint8 round_) external view returns(uint256 reward_) { if(ethReceived[round_] == 0) return 0; reward_ = reward_.add(reservations[round_] .mul(contributions[addr][round_]) .div(ethReceived[round_])); } function generateLiquidity() public { require(block.timestamp > endTime, "The Reservation Event has not concluded yet."); require(liquidityGenerated == false, "Already done."); liquidityGenerated = true; uint256 amount = 3750000*1e18; uint256 treasuryCut = address(this).balance.div(10).mul(3); //10% of the 30% for On Going Dev. rena.treasury().transfer(treasuryCut.div(10)); //90% remaining split 5 ways to the crew cut. treasuryCut = treasuryCut.sub(treasuryCut.div(10)).div(5); for(uint8 i = 0; i < 5; i++) { crew[i].transfer(treasuryCut); } rena.approve(rena.uniRouter(), amount); uint256 ethAmount = address(this).balance; IUniswapV2Router(rena.uniRouter()).addLiquidityETH {value: ethAmount}( address(rena), amount, 0, 0, rena.treasury(), block.timestamp); emit Liquidity(msg.sender, ethAmount, amount); } function claim() external { if(liquidityGenerated == false) { generateLiquidity(); } uint256 reward_ = reward(msg.sender); require(reward_ > 0, "You have no rewards."); delete contributions[msg.sender]; rena.transfer(msg.sender, reward_); emit Claim(msg.sender, reward_); } function delay(uint256 delay_) external onlyOwner { require(startTime > block.timestamp, "It's already started!"); startTime = startTime.add(delay_); endTime = startTime.add(roundDurations.mul(5)); } //This is intended to be on the lower end of the gas scale. //Front end will have to deisgn the quote but this is ultimately a market buy of LP. //Conservative entries should use the main uniswap LP front end. function AddClaimToLiquidity() external payable nonReentrant { if(liquidityGenerated == false) { generateLiquidity(); } uint256 reward_ = reward(msg.sender); require(reward_ > 0, "You have no rewards"); delete contributions[msg.sender]; rena.approve(rena.uniRouter(), reward_); IUniswapV2Router(rena.uniRouter()).addLiquidityETH{value:msg.value}( address(rena), reward_, 0, 0, msg.sender, block.timestamp ); emit Claim(msg.sender, reward_); } }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming languages. * `SafeMath` restores this intuition by reverting the transaction when an * operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b > a) return (false, 0); return (true, a - b); } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b == 0) return (false, 0); return (true, a / b); } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b == 0) return (false, 0); return (true, a % b); } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { require(b <= a, "SafeMath: subtraction overflow"); return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { if (a == 0) return 0; uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { require(b > 0, "SafeMath: division by zero"); return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { require(b > 0, "SafeMath: modulo by zero"); return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); return a - b; } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryDiv}. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); return a % b; } }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor () internal { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and make it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <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 () internal { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = 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"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.7.6; import '@openzeppelin/contracts/token/ERC20/IERC20.sol'; interface IRena is IERC20 { function distributeFees() external; function treasury() external returns (address payable); function uniRouter() external returns (address); function approve(address, uint256) external override returns(bool); }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <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 GSN 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 payable) { return msg.sender; } function _msgData() internal view virtual returns (bytes memory) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, 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 `sender` to `recipient` 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 sender, address recipient, uint256 amount) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } }, "metadata": { "useLiteralContent": true }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"recipient","type":"address"},{"indexed":true,"internalType":"uint256","name":"claimed","type":"uint256"}],"name":"Claim","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"caller","type":"address"},{"indexed":true,"internalType":"uint256","name":"ethAmount","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"renaAmount","type":"uint256"}],"name":"Liquidity","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":true,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"round","type":"uint256"}],"name":"Participated","type":"event"},{"inputs":[],"name":"AddClaimToLiquidity","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"beenInitalized","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"contributions","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"crew","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"currentRound","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"delay_","type":"uint256"}],"name":"delay","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"endTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"ethReceived","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"generateLiquidity","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"rena_","type":"address"},{"internalType":"uint256","name":"startTime_","type":"uint256"},{"internalType":"uint256","name":"roundDurations_","type":"uint256"},{"internalType":"uint256[5]","name":"reservations_","type":"uint256[5]"},{"internalType":"address payable[5]","name":"crew_","type":"address[5]"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"liquidityGenerated","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"participants","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"reservations","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"reward","outputs":[{"internalType":"uint256","name":"reward_","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint8","name":"round_","type":"uint8"}],"name":"rewardForRound","outputs":[{"internalType":"uint256","name":"reward_","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"roundDurations","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"startTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
608060405234801561001057600080fd5b5060016000908155610020610073565b600180546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350610077565b3390565b6117f9806100866000396000f3fe60806040526004361061012e5760003560e01c80636353586b116100ab578063997ab26f1161006f578063997ab26f146104c4578063aab10c5f146104cc578063d82bcf50146104f5578063ed1f92171461050a578063f2fde38b146105ae578063f330ec32146105e157610297565b80636353586b1461043d578063715018a61461047057806378e97925146104855780638a19c8bc1461049a5780638da5cb5b146104af57610297565b806335c1d349116100f257806335c1d3491461036a5780634e22423d146103945780634e71d92d146103da578063508d02c0146103ef578063550b521c1461040457610297565b8063067cf8321461029c57806318d0ed09146102d85780632c3255c31461030257806330b7fba6146103195780633197cbb61461035557610297565b366102975742601854106101735760405162461bcd60e51b815260040180806020018281038252602681526020018061179e6026913960400191505060405180910390fd5b42601a54116101b35760405162461bcd60e51b815260040180806020018281038252602181526020018061173c6021913960400191505060405180910390fd5b60006101bd61060b565b90506101d834600883600581106101d057fe5b015490610633565b600882600581106101e557fe5b0155336000908152601260205260409020816005811061020157fe5b0154610229576102196001600d83600581106101d057fe5b600d826005811061022657fe5b01555b33600090815260126020526040902061024990349083600581106101d057fe5b336000908152601260205260409020826005811061026357fe5b01556040518190349033907f64ceaa25376a606505a20223863437c73f24c3d44eca9912c49197b4aea536a490600090a450005b600080fd5b3480156102a857600080fd5b506102c6600480360360208110156102bf57600080fd5b5035610696565b60408051918252519081900360200190f35b3480156102e457600080fd5b506102c6600480360360208110156102fb57600080fd5b50356106ad565b34801561030e57600080fd5b506103176106bd565b005b34801561032557600080fd5b506102c66004803603604081101561033c57600080fd5b5080356001600160a01b0316906020013560ff16610b7b565b34801561036157600080fd5b506102c6610bfe565b34801561037657600080fd5b506102c66004803603602081101561038d57600080fd5b5035610c04565b3480156103a057600080fd5b506103be600480360360208110156103b757600080fd5b5035610c14565b604080516001600160a01b039092168252519081900360200190f35b3480156103e657600080fd5b50610317610c34565b3480156103fb57600080fd5b506102c6610d6e565b34801561041057600080fd5b506102c66004803603604081101561042757600080fd5b506001600160a01b038135169060200135610d74565b34801561044957600080fd5b506102c66004803603602081101561046057600080fd5b50356001600160a01b0316610d99565b34801561047c57600080fd5b50610317610e30565b34801561049157600080fd5b506102c6610edc565b3480156104a657600080fd5b506102c661060b565b3480156104bb57600080fd5b506103be610ee2565b610317610ef1565b3480156104d857600080fd5b506104e1611213565b604080519115158252519081900360200190f35b34801561050157600080fd5b506104e1611223565b34801561051657600080fd5b5061031760048036036101a081101561052e57600080fd5b6040805160a081810183526001600160a01b0385351694602081013594938101359381019290916101008301919060608401906005908390839080828437600092019190915250506040805160a0818101909252929594938181019392509060059083908390808284376000920191909152509194506112339350505050565b3480156105ba57600080fd5b50610317600480360360208110156105d157600080fd5b50356001600160a01b03166113ca565b3480156105ed57600080fd5b506103176004803603602081101561060457600080fd5b50356114cd565b600061062e601954610628601854426115a590919063ffffffff16565b90611602565b905090565b60008282018381101561068d576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b90505b92915050565b600381600581106106a657600080fd5b0154905081565b600881600581106106a657600080fd5b601a5442116106fd5760405162461bcd60e51b815260040180806020018281038252602c815260200180611710602c913960400191505060405180910390fd5b600254600160a01b900460ff161561074c576040805162461bcd60e51b815260206004820152600d60248201526c20b63932b0b23c903237b7329760991b604482015290519081900360640190fd5b6002805460ff60a01b1916600160a01b1790556a031a17e847807b1bc000006000610783600361077d47600a611602565b90611669565b9050600260009054906101000a90046001600160a01b03166001600160a01b03166361d027b36040518163ffffffff1660e01b8152600401602060405180830381600087803b1580156107d557600080fd5b505af11580156107e9573d6000803e3d6000fd5b505050506040513d60208110156107ff57600080fd5b50516001600160a01b03166108fc61081883600a611602565b6040518115909202916000818181858888f19350505050158015610840573d6000803e3d6000fd5b5061085b600561062861085484600a611602565b84906115a5565b905060005b60058160ff1610156108be5760138160ff166005811061087c57fe5b01546040516001600160a01b039091169083156108fc029084906000818181858888f193505050501580156108b5573d6000803e3d6000fd5b50600101610860565b50600254604080516350723dfb60e11b815290516001600160a01b039092169163095ea7b391839163a0e47bf6916004808201926020929091908290030181600087803b15801561090e57600080fd5b505af1158015610922573d6000803e3d6000fd5b505050506040513d602081101561093857600080fd5b5051604080516001600160e01b031960e085901b1681526001600160a01b039092166004830152602482018690525160448083019260209291908290030181600087803b15801561098857600080fd5b505af115801561099c573d6000803e3d6000fd5b505050506040513d60208110156109b257600080fd5b5050600254604080516350723dfb60e11b8152905147926001600160a01b03169163a0e47bf69160048083019260209291908290030181600087803b1580156109fa57600080fd5b505af1158015610a0e573d6000803e3d6000fd5b505050506040513d6020811015610a2457600080fd5b5051600254604080516361d027b360e01b815290516001600160a01b039384169363f305d7199386939116918891600091829185916361d027b39160048082019260209290919082900301818787803b158015610a8057600080fd5b505af1158015610a94573d6000803e3d6000fd5b505050506040513d6020811015610aaa57600080fd5b5051604080516001600160e01b031960e08a901b1681526001600160a01b0396871660048201526024810195909552604485019390935260648401919091529290921660848201524260a4820152905160c480830192606092919082900301818588803b158015610b1a57600080fd5b505af1158015610b2e573d6000803e3d6000fd5b50505050506040513d6060811015610b4557600080fd5b50506040518390829033907f7c300dc57e5d90ec9510fe63dee9156c75c1f20562adae3076248b0c1b27e90c90600090a4505050565b600060088260ff1660058110610b8d57fe5b0154610b9b57506000610690565b61068d610bf760088460ff1660058110610bb157fe5b01546001600160a01b03861660009081526012602052604090206106289060ff871660058110610bdd57fe5b015460038760ff1660058110610bef57fe5b015490611669565b8290610633565b601a5481565b600d81600581106106a657600080fd5b60138160058110610c2457600080fd5b01546001600160a01b0316905081565b600254600160a01b900460ff16610c4d57610c4d6106bd565b6000610c5833610d99565b905060008111610ca6576040805162461bcd60e51b81526020600482015260146024820152732cb7ba903430bb32903737903932bbb0b932399760611b604482015290519081900360640190fd5b336000908152601260205260408120610cbe916116c6565b6002546040805163a9059cbb60e01b81523360048201526024810184905290516001600160a01b039092169163a9059cbb916044808201926020929091908290030181600087803b158015610d1257600080fd5b505af1158015610d26573d6000803e3d6000fd5b505050506040513d6020811015610d3c57600080fd5b5050604051819033907f47cee97cb7acd717b3c0aa1435d004cd5b3c8c57d70dbceb4e4458bbd60e39d490600090a350565b60195481565b60126020528160005260406000208160058110610d9057600080fd5b01549150829050565b6000805b60058160ff161015610e2a5760088160ff1660058110610db957fe5b0154610dc457610e22565b610e1f610e1860088360ff1660058110610dda57fe5b01546001600160a01b03861660009081526012602052604090206106289060ff861660058110610e0657fe5b015460038660ff1660058110610bef57fe5b8390610633565b91505b600101610d9d565b50919050565b610e386116c2565b6001600160a01b0316610e49610ee2565b6001600160a01b031614610e92576040805162461bcd60e51b8152602060048201819052602482015260008051602061177e833981519152604482015290519081900360640190fd5b6001546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600180546001600160a01b0319169055565b60185481565b6001546001600160a01b031690565b60026000541415610f49576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b6002600081905554600160a01b900460ff16610f6757610f676106bd565b6000610f7233610d99565b905060008111610fbf576040805162461bcd60e51b8152602060048201526013602482015272596f752068617665206e6f207265776172647360681b604482015290519081900360640190fd5b336000908152601260205260408120610fd7916116c6565b600254604080516350723dfb60e11b815290516001600160a01b039092169163095ea7b391839163a0e47bf6916004808201926020929091908290030181600087803b15801561102657600080fd5b505af115801561103a573d6000803e3d6000fd5b505050506040513d602081101561105057600080fd5b5051604080516001600160e01b031960e085901b1681526001600160a01b039092166004830152602482018590525160448083019260209291908290030181600087803b1580156110a057600080fd5b505af11580156110b4573d6000803e3d6000fd5b505050506040513d60208110156110ca57600080fd5b5050600254604080516350723dfb60e11b815290516001600160a01b039092169163a0e47bf6916004808201926020929091908290030181600087803b15801561111357600080fd5b505af1158015611127573d6000803e3d6000fd5b505050506040513d602081101561113d57600080fd5b50516002546040805163f305d71960e01b81526001600160a01b0392831660048201526024810185905260006044820181905260648201523360848201524260a48201529051919092169163f305d71991349160c48082019260609290919082900301818588803b1580156111b157600080fd5b505af11580156111c5573d6000803e3d6000fd5b50505050506040513d60608110156111dc57600080fd5b5050604051819033907f47cee97cb7acd717b3c0aa1435d004cd5b3c8c57d70dbceb4e4458bbd60e39d490600090a3506001600055565b600254600160a81b900460ff1681565b600254600160a01b900460ff1681565b61123b6116c2565b6001600160a01b031661124c610ee2565b6001600160a01b031614611295576040805162461bcd60e51b8152602060048201819052602482015260008051602061177e833981519152604482015290519081900360640190fd5b600254600160a81b900460ff16156112ea576040805162461bcd60e51b8152602060048201526013602482015272105b1c9958591e48125b9a5d1a585b1a5e9959606a1b604482015290519081900360640190fd5b60028054600160a81b60ff60a81b19909116176001600160a01b0319166001600160a01b0387161790556018849055601983905561133561132c846005611669565b60185490610633565b601a5560005b60058160ff1610156113c257828160ff166005811061135657fe5b6020020151670de0b6b3a76400000260038260ff166005811061137557fe5b01558160ff82166005811061138657fe5b602002015160138260ff166005811061139b57fe5b0180546001600160a01b0319166001600160a01b039290921691909117905560010161133b565b505050505050565b6113d26116c2565b6001600160a01b03166113e3610ee2565b6001600160a01b03161461142c576040805162461bcd60e51b8152602060048201819052602482015260008051602061177e833981519152604482015290519081900360640190fd5b6001600160a01b0381166114715760405162461bcd60e51b81526004018080602001828103825260268152602001806116ea6026913960400191505060405180910390fd5b6001546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600180546001600160a01b0319166001600160a01b0392909216919091179055565b6114d56116c2565b6001600160a01b03166114e6610ee2565b6001600160a01b03161461152f576040805162461bcd60e51b8152602060048201819052602482015260008051602061177e833981519152604482015290519081900360640190fd5b426018541161157d576040805162461bcd60e51b81526020600482015260156024820152744974277320616c726561647920737461727465642160581b604482015290519081900360640190fd5b60185461158a9082610633565b60185560195461159f9061132c906005611669565b601a5550565b6000828211156115fc576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b6000808211611658576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b81838161166157fe5b049392505050565b60008261167857506000610690565b8282028284828161168557fe5b041461068d5760405162461bcd60e51b815260040180806020018281038252602181526020018061175d6021913960400191505060405180910390fd5b3390565b50600081556001016000815560010160008155600101600081556001016000905556fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373546865205265736572766174696f6e204576656e7420686173206e6f7420636f6e636c75646564207965742e54686520526573657276656174696f6e204576656e742068617320656e6465642e536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572546865205265736572766174696f6e204576656e7420686173206e6f7420737461727465642ea26469706673582212209c94e3f9f6ba4aa9d3d70f1b649244780488598279f140357e36b3cd79f8030864736f6c63430007060033
Deployed Bytecode
0x60806040526004361061012e5760003560e01c80636353586b116100ab578063997ab26f1161006f578063997ab26f146104c4578063aab10c5f146104cc578063d82bcf50146104f5578063ed1f92171461050a578063f2fde38b146105ae578063f330ec32146105e157610297565b80636353586b1461043d578063715018a61461047057806378e97925146104855780638a19c8bc1461049a5780638da5cb5b146104af57610297565b806335c1d349116100f257806335c1d3491461036a5780634e22423d146103945780634e71d92d146103da578063508d02c0146103ef578063550b521c1461040457610297565b8063067cf8321461029c57806318d0ed09146102d85780632c3255c31461030257806330b7fba6146103195780633197cbb61461035557610297565b366102975742601854106101735760405162461bcd60e51b815260040180806020018281038252602681526020018061179e6026913960400191505060405180910390fd5b42601a54116101b35760405162461bcd60e51b815260040180806020018281038252602181526020018061173c6021913960400191505060405180910390fd5b60006101bd61060b565b90506101d834600883600581106101d057fe5b015490610633565b600882600581106101e557fe5b0155336000908152601260205260409020816005811061020157fe5b0154610229576102196001600d83600581106101d057fe5b600d826005811061022657fe5b01555b33600090815260126020526040902061024990349083600581106101d057fe5b336000908152601260205260409020826005811061026357fe5b01556040518190349033907f64ceaa25376a606505a20223863437c73f24c3d44eca9912c49197b4aea536a490600090a450005b600080fd5b3480156102a857600080fd5b506102c6600480360360208110156102bf57600080fd5b5035610696565b60408051918252519081900360200190f35b3480156102e457600080fd5b506102c6600480360360208110156102fb57600080fd5b50356106ad565b34801561030e57600080fd5b506103176106bd565b005b34801561032557600080fd5b506102c66004803603604081101561033c57600080fd5b5080356001600160a01b0316906020013560ff16610b7b565b34801561036157600080fd5b506102c6610bfe565b34801561037657600080fd5b506102c66004803603602081101561038d57600080fd5b5035610c04565b3480156103a057600080fd5b506103be600480360360208110156103b757600080fd5b5035610c14565b604080516001600160a01b039092168252519081900360200190f35b3480156103e657600080fd5b50610317610c34565b3480156103fb57600080fd5b506102c6610d6e565b34801561041057600080fd5b506102c66004803603604081101561042757600080fd5b506001600160a01b038135169060200135610d74565b34801561044957600080fd5b506102c66004803603602081101561046057600080fd5b50356001600160a01b0316610d99565b34801561047c57600080fd5b50610317610e30565b34801561049157600080fd5b506102c6610edc565b3480156104a657600080fd5b506102c661060b565b3480156104bb57600080fd5b506103be610ee2565b610317610ef1565b3480156104d857600080fd5b506104e1611213565b604080519115158252519081900360200190f35b34801561050157600080fd5b506104e1611223565b34801561051657600080fd5b5061031760048036036101a081101561052e57600080fd5b6040805160a081810183526001600160a01b0385351694602081013594938101359381019290916101008301919060608401906005908390839080828437600092019190915250506040805160a0818101909252929594938181019392509060059083908390808284376000920191909152509194506112339350505050565b3480156105ba57600080fd5b50610317600480360360208110156105d157600080fd5b50356001600160a01b03166113ca565b3480156105ed57600080fd5b506103176004803603602081101561060457600080fd5b50356114cd565b600061062e601954610628601854426115a590919063ffffffff16565b90611602565b905090565b60008282018381101561068d576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b90505b92915050565b600381600581106106a657600080fd5b0154905081565b600881600581106106a657600080fd5b601a5442116106fd5760405162461bcd60e51b815260040180806020018281038252602c815260200180611710602c913960400191505060405180910390fd5b600254600160a01b900460ff161561074c576040805162461bcd60e51b815260206004820152600d60248201526c20b63932b0b23c903237b7329760991b604482015290519081900360640190fd5b6002805460ff60a01b1916600160a01b1790556a031a17e847807b1bc000006000610783600361077d47600a611602565b90611669565b9050600260009054906101000a90046001600160a01b03166001600160a01b03166361d027b36040518163ffffffff1660e01b8152600401602060405180830381600087803b1580156107d557600080fd5b505af11580156107e9573d6000803e3d6000fd5b505050506040513d60208110156107ff57600080fd5b50516001600160a01b03166108fc61081883600a611602565b6040518115909202916000818181858888f19350505050158015610840573d6000803e3d6000fd5b5061085b600561062861085484600a611602565b84906115a5565b905060005b60058160ff1610156108be5760138160ff166005811061087c57fe5b01546040516001600160a01b039091169083156108fc029084906000818181858888f193505050501580156108b5573d6000803e3d6000fd5b50600101610860565b50600254604080516350723dfb60e11b815290516001600160a01b039092169163095ea7b391839163a0e47bf6916004808201926020929091908290030181600087803b15801561090e57600080fd5b505af1158015610922573d6000803e3d6000fd5b505050506040513d602081101561093857600080fd5b5051604080516001600160e01b031960e085901b1681526001600160a01b039092166004830152602482018690525160448083019260209291908290030181600087803b15801561098857600080fd5b505af115801561099c573d6000803e3d6000fd5b505050506040513d60208110156109b257600080fd5b5050600254604080516350723dfb60e11b8152905147926001600160a01b03169163a0e47bf69160048083019260209291908290030181600087803b1580156109fa57600080fd5b505af1158015610a0e573d6000803e3d6000fd5b505050506040513d6020811015610a2457600080fd5b5051600254604080516361d027b360e01b815290516001600160a01b039384169363f305d7199386939116918891600091829185916361d027b39160048082019260209290919082900301818787803b158015610a8057600080fd5b505af1158015610a94573d6000803e3d6000fd5b505050506040513d6020811015610aaa57600080fd5b5051604080516001600160e01b031960e08a901b1681526001600160a01b0396871660048201526024810195909552604485019390935260648401919091529290921660848201524260a4820152905160c480830192606092919082900301818588803b158015610b1a57600080fd5b505af1158015610b2e573d6000803e3d6000fd5b50505050506040513d6060811015610b4557600080fd5b50506040518390829033907f7c300dc57e5d90ec9510fe63dee9156c75c1f20562adae3076248b0c1b27e90c90600090a4505050565b600060088260ff1660058110610b8d57fe5b0154610b9b57506000610690565b61068d610bf760088460ff1660058110610bb157fe5b01546001600160a01b03861660009081526012602052604090206106289060ff871660058110610bdd57fe5b015460038760ff1660058110610bef57fe5b015490611669565b8290610633565b601a5481565b600d81600581106106a657600080fd5b60138160058110610c2457600080fd5b01546001600160a01b0316905081565b600254600160a01b900460ff16610c4d57610c4d6106bd565b6000610c5833610d99565b905060008111610ca6576040805162461bcd60e51b81526020600482015260146024820152732cb7ba903430bb32903737903932bbb0b932399760611b604482015290519081900360640190fd5b336000908152601260205260408120610cbe916116c6565b6002546040805163a9059cbb60e01b81523360048201526024810184905290516001600160a01b039092169163a9059cbb916044808201926020929091908290030181600087803b158015610d1257600080fd5b505af1158015610d26573d6000803e3d6000fd5b505050506040513d6020811015610d3c57600080fd5b5050604051819033907f47cee97cb7acd717b3c0aa1435d004cd5b3c8c57d70dbceb4e4458bbd60e39d490600090a350565b60195481565b60126020528160005260406000208160058110610d9057600080fd5b01549150829050565b6000805b60058160ff161015610e2a5760088160ff1660058110610db957fe5b0154610dc457610e22565b610e1f610e1860088360ff1660058110610dda57fe5b01546001600160a01b03861660009081526012602052604090206106289060ff861660058110610e0657fe5b015460038660ff1660058110610bef57fe5b8390610633565b91505b600101610d9d565b50919050565b610e386116c2565b6001600160a01b0316610e49610ee2565b6001600160a01b031614610e92576040805162461bcd60e51b8152602060048201819052602482015260008051602061177e833981519152604482015290519081900360640190fd5b6001546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600180546001600160a01b0319169055565b60185481565b6001546001600160a01b031690565b60026000541415610f49576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b6002600081905554600160a01b900460ff16610f6757610f676106bd565b6000610f7233610d99565b905060008111610fbf576040805162461bcd60e51b8152602060048201526013602482015272596f752068617665206e6f207265776172647360681b604482015290519081900360640190fd5b336000908152601260205260408120610fd7916116c6565b600254604080516350723dfb60e11b815290516001600160a01b039092169163095ea7b391839163a0e47bf6916004808201926020929091908290030181600087803b15801561102657600080fd5b505af115801561103a573d6000803e3d6000fd5b505050506040513d602081101561105057600080fd5b5051604080516001600160e01b031960e085901b1681526001600160a01b039092166004830152602482018590525160448083019260209291908290030181600087803b1580156110a057600080fd5b505af11580156110b4573d6000803e3d6000fd5b505050506040513d60208110156110ca57600080fd5b5050600254604080516350723dfb60e11b815290516001600160a01b039092169163a0e47bf6916004808201926020929091908290030181600087803b15801561111357600080fd5b505af1158015611127573d6000803e3d6000fd5b505050506040513d602081101561113d57600080fd5b50516002546040805163f305d71960e01b81526001600160a01b0392831660048201526024810185905260006044820181905260648201523360848201524260a48201529051919092169163f305d71991349160c48082019260609290919082900301818588803b1580156111b157600080fd5b505af11580156111c5573d6000803e3d6000fd5b50505050506040513d60608110156111dc57600080fd5b5050604051819033907f47cee97cb7acd717b3c0aa1435d004cd5b3c8c57d70dbceb4e4458bbd60e39d490600090a3506001600055565b600254600160a81b900460ff1681565b600254600160a01b900460ff1681565b61123b6116c2565b6001600160a01b031661124c610ee2565b6001600160a01b031614611295576040805162461bcd60e51b8152602060048201819052602482015260008051602061177e833981519152604482015290519081900360640190fd5b600254600160a81b900460ff16156112ea576040805162461bcd60e51b8152602060048201526013602482015272105b1c9958591e48125b9a5d1a585b1a5e9959606a1b604482015290519081900360640190fd5b60028054600160a81b60ff60a81b19909116176001600160a01b0319166001600160a01b0387161790556018849055601983905561133561132c846005611669565b60185490610633565b601a5560005b60058160ff1610156113c257828160ff166005811061135657fe5b6020020151670de0b6b3a76400000260038260ff166005811061137557fe5b01558160ff82166005811061138657fe5b602002015160138260ff166005811061139b57fe5b0180546001600160a01b0319166001600160a01b039290921691909117905560010161133b565b505050505050565b6113d26116c2565b6001600160a01b03166113e3610ee2565b6001600160a01b03161461142c576040805162461bcd60e51b8152602060048201819052602482015260008051602061177e833981519152604482015290519081900360640190fd5b6001600160a01b0381166114715760405162461bcd60e51b81526004018080602001828103825260268152602001806116ea6026913960400191505060405180910390fd5b6001546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600180546001600160a01b0319166001600160a01b0392909216919091179055565b6114d56116c2565b6001600160a01b03166114e6610ee2565b6001600160a01b03161461152f576040805162461bcd60e51b8152602060048201819052602482015260008051602061177e833981519152604482015290519081900360640190fd5b426018541161157d576040805162461bcd60e51b81526020600482015260156024820152744974277320616c726561647920737461727465642160581b604482015290519081900360640190fd5b60185461158a9082610633565b60185560195461159f9061132c906005611669565b601a5550565b6000828211156115fc576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b6000808211611658576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b81838161166157fe5b049392505050565b60008261167857506000610690565b8282028284828161168557fe5b041461068d5760405162461bcd60e51b815260040180806020018281038252602181526020018061175d6021913960400191505060405180910390fd5b3390565b50600081556001016000815560010160008155600101600081556001016000905556fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373546865205265736572766174696f6e204576656e7420686173206e6f7420636f6e636c75646564207965742e54686520526573657276656174696f6e204576656e742068617320656e6465642e536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572546865205265736572766174696f6e204576656e7420686173206e6f7420737461727465642ea26469706673582212209c94e3f9f6ba4aa9d3d70f1b649244780488598279f140357e36b3cd79f8030864736f6c63430007060033
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ 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.