Feature Tip: Add private address tag to any address under My Name Tag !
Overview
ETH Balance
0.01 ETH
Eth Value
$31.16 (@ $3,116.07/ETH)More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 47 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
Value | ||||
---|---|---|---|---|---|---|---|---|---|
Buy One | 19093137 | 166 days ago | IN | 0.01 ETH | 0.00211035 | ||||
Buy One | 19091679 | 166 days ago | IN | 0.01 ETH | 0.00097977 | ||||
Add Contest | 19086065 | 167 days ago | IN | 0 ETH | 0.00259514 | ||||
Add Contest | 18154569 | 297 days ago | IN | 0 ETH | 0.00109947 | ||||
Withdraw Tokens | 18064890 | 310 days ago | IN | 0 ETH | 0.00205812 | ||||
Withdraw BNB | 18064887 | 310 days ago | IN | 0 ETH | 0.00056872 | ||||
Add Contest | 18064612 | 310 days ago | IN | 0 ETH | 0.00200378 | ||||
Buy One | 18051343 | 312 days ago | IN | 0.01 ETH | 0.00173597 | ||||
Add Contest | 18049358 | 312 days ago | IN | 0 ETH | 0.00220302 | ||||
Add Contest | 18048599 | 312 days ago | IN | 0 ETH | 0.00124227 | ||||
Add Contest | 18048579 | 312 days ago | IN | 0 ETH | 0.00131656 | ||||
Withdraw BNB | 18040891 | 313 days ago | IN | 0 ETH | 0.00048192 | ||||
Set Treasury Add... | 18040885 | 313 days ago | IN | 0 ETH | 0.00039169 | ||||
Transfer Ownersh... | 18039679 | 314 days ago | IN | 0 ETH | 0.0003314 | ||||
Buy One | 15423886 | 683 days ago | IN | 0 ETH | 0.00235578 | ||||
Buy One | 15386204 | 689 days ago | IN | 0.009 ETH | 0.00099777 | ||||
Add Contest | 15373779 | 691 days ago | IN | 0 ETH | 0.00428444 | ||||
Add Contest | 15342430 | 696 days ago | IN | 0 ETH | 0.00192082 | ||||
Add Contest | 15342408 | 696 days ago | IN | 0 ETH | 0.0010544 | ||||
Withdraw BNB | 15262412 | 708 days ago | IN | 0 ETH | 0.00025726 | ||||
Buy Three | 15258557 | 709 days ago | IN | 0.0693 ETH | 0.00387862 | ||||
Buy One | 15255372 | 709 days ago | IN | 0.0231 ETH | 0.00126787 | ||||
Buy One | 15251021 | 710 days ago | IN | 0.0231 ETH | 0.00086249 | ||||
Add Contest | 15212798 | 716 days ago | IN | 0 ETH | 0.00668915 | ||||
Withdraw BNB | 15205136 | 717 days ago | IN | 0 ETH | 0.00027118 |
Loading...
Loading
Contract Name:
OIRContestManualv2
Compiler Version
v0.8.14+commit.80d49f37
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.8.14; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; contract OIRContestManualv2 is Ownable, ReentrancyGuard { using Strings for uint256; using SafeERC20 for IERC20; mapping(address => bool) public proxyToApproved; // proxy allowance for interaction with future contract address public treasuryAddress; struct Contest { uint16 id; // unique ID for this contest uint16 entryCount; // number of entries uint16 maxEntries; // max number of entries uint16 maxEntriesForThree; // precalculated value for inexpensive comparison uint16 winningEntry; // winning entry number address paymentToken; // payment token address; for native, use 0x0000000000000000000000000000000000000000 uint256 price; // price in token uint256 priceForThree; // precalculated price for three uint256 payments; // total of payments uint256 paymentsDistributed; // profit distributed bool isWon; // if contest has been won bool isActive; // if contest is accepting entries bool refunded; // if contest was closed early and refunded mapping(uint256 => Entry) Entries; // list of entries mapping(address => uint256) UserEntryCount; // entries count by address } mapping(uint256 => address) public ContestWinner; // map contest id to winning address struct Entry { address user; // user address uint256 amount; // amount paid by user } uint256 public paymentsWithdrawn; struct FeeRecipient { address recipient; uint256 basisPoints; } mapping(uint256 => FeeRecipient) public FeeRecipients; uint256 public feeRecipientCount; uint256 public totalFeeBasisPoints; mapping(uint256 => Contest) public Contests; uint16 public contestCount; constructor(address treasury_) { treasuryAddress = treasury_; } // ** - CORE - ** // function buyOne(uint256 contestID) external payable { Contest storage contest = Contests[contestID]; require(contest.isActive && ContestWinner[contestID] == address(0), "NOT_ACTIVE"); require(contest.maxEntries > contest.entryCount, "EXCEEDS_MAX_ENTRIES"); if (contest.paymentToken == address(0)) { require(msg.value == contest.price, "INCORRECT_PAYMENT"); } else { IERC20(contest.paymentToken).transferFrom(_msgSender(), address(this), contest.price); } contest.Entries[contest.entryCount] = Entry({user: _msgSender(), amount: contest.price}); contest.entryCount++; contest.payments += contest.price; contest.UserEntryCount[_msgSender()]++; contest.isActive = contest.entryCount < contest.maxEntries; emit BuyOne(_msgSender(), contestID, contest.price); } function buyThree(uint256 contestID) external payable { Contest storage contest = Contests[contestID]; require(contest.isActive && ContestWinner[contestID] == address(0), "NOT_ACTIVE"); require(contest.entryCount < contest.maxEntriesForThree, "EXCEEDS_MAX_ENTRIES"); if (contest.paymentToken == address(0)) { // native require(msg.value == contest.priceForThree, "INCORRECT_PAYMENT"); } else { IERC20(contest.paymentToken).transferFrom(_msgSender(), address(this), contest.priceForThree); } contest.Entries[contest.entryCount] = Entry({user: _msgSender(), amount: contest.price}); contest.entryCount++; contest.Entries[contest.entryCount] = Entry({user: _msgSender(), amount: contest.price}); contest.entryCount++; contest.Entries[contest.entryCount] = Entry({user: _msgSender(), amount: contest.price}); contest.entryCount++; contest.payments += contest.priceForThree; contest.UserEntryCount[_msgSender()] += 3; contest.isActive = contest.entryCount < contest.maxEntries; emit BuyThree(_msgSender(), contestID, contest.priceForThree); } function buy(uint256 contestID, uint256 amount) external payable { Contest storage contest = Contests[contestID]; require(contest.isActive && ContestWinner[contestID] == address(0), "NOT_ACTIVE"); require(contest.entryCount + amount <= contest.maxEntries, "EXCEEDS_MAX_ENTRIES"); uint256 price = contest.price * amount; if (contest.paymentToken == address(0)) { // native require(msg.value == price, "INCORRECT_PAYMENT"); } else { IERC20(contest.paymentToken).transferFrom(_msgSender(), address(this), price); } for(uint256 x; x < amount; x++) { contest.Entries[contest.entryCount] = Entry({user: _msgSender(), amount: contest.price}); contest.entryCount++; } contest.payments += price; contest.UserEntryCount[_msgSender()] += amount; contest.isActive = contest.entryCount < contest.maxEntries; emit Buy(_msgSender(), contestID, amount, msg.value); } function getContestEntries(uint256 contestID) external view returns(Entry[] memory) { Contest storage contest = Contests[contestID]; Entry[] memory result = new Entry[](contest.entryCount); for(uint256 x; x < contest.entryCount; x++) { result[x] = contest.Entries[x]; } return result; } function getUserEntryCount(uint256 contestID, address user) external view returns(uint256) { return Contests[contestID].UserEntryCount[user]; } function getUserEntries(uint256 contestID, address user) external view returns(Entry[] memory) { Contest storage contest = Contests[contestID]; Entry[] memory result = new Entry[](Contests[contestID].UserEntryCount[user]); uint256 entryCount; for(uint256 x; x < contest.entryCount; x++) { if (contest.Entries[x].user == user) { result[entryCount] = contest.Entries[x]; entryCount++; } } return result; } // ** - ADD/EDIT CONTEST - ** // function addContest(uint16 maxEntries, bool isActive, address paymentToken, uint256 price) external onlyApproved { Contest storage contest = Contests[contestCount]; contest.id = contestCount; contest.maxEntries = maxEntries; contest.maxEntriesForThree = maxEntries - 2; contest.isActive = isActive; contest.paymentToken = paymentToken; contest.price = price; contest.priceForThree = price * 3; emit AddContest(_msgSender(), contestCount); contestCount++; } function cloneContest(uint256 contestID, bool setActive) external onlyApproved { Contest storage oldContest = Contests[contestID]; Contest storage newContest = Contests[contestCount]; newContest.id = contestCount; newContest.maxEntries = oldContest.maxEntries; newContest.maxEntriesForThree = oldContest.maxEntriesForThree; newContest.isActive = setActive; newContest.paymentToken = oldContest.paymentToken; newContest.price = oldContest.price; newContest.priceForThree = oldContest.priceForThree; emit CloneContest(_msgSender(), contestID, contestCount); contestCount++; } function editContest(uint256 contestID, uint16 maxEntries, bool isActive, address paymentToken, uint256 price) external onlyApproved { require(Contests[contestID].entryCount == 0, "ENTRIES_EXIST"); Contest storage contest = Contests[contestID]; contest.maxEntries = maxEntries; contest.isActive = isActive; contest.paymentToken = paymentToken; contest.price = price; contest.priceForThree = price * 3; emit EditContest(_msgSender(), contestCount); } function setContestActive(uint256 contestID, bool isActive) external onlyApproved { require(!isActive || !Contests[contestID].isWon, "ALREADY_WON"); Contests[contestID].isActive = isActive; emit SetContestActive(_msgSender(), contestID, isActive); } function setPriceForContest(uint256 contestID, uint256 price) external onlyApproved { Contests[contestID].price = price; Contests[contestID].priceForThree = price * 3; } // ** - PROXY - ** // function singleEntry(uint256 contestID, address receiver) external onlyApproved { Contest storage contest = Contests[contestID]; require(contest.isActive && ContestWinner[contestID] == address(0), "NOT_ACTIVE"); require(contest.maxEntries > contest.entryCount, "EXCEEDS_MAX_ENTRIES"); contest.Entries[contest.entryCount] = Entry({user: _msgSender(), amount: 0}); contest.entryCount++; contest.UserEntryCount[receiver]++; contest.isActive = contest.entryCount < contest.maxEntries; emit SingleEntry(_msgSender(), receiver, contestID); } function tripleEntry(uint256 contestID, address receiver) external onlyApproved { Contest storage contest = Contests[contestID]; require(contest.isActive && ContestWinner[contestID] == address(0), "NOT_ACTIVE"); require(contest.maxEntriesForThree > contest.entryCount, "EXCEEDS_MAX_ENTRIES"); contest.Entries[contest.entryCount] = Entry({user: _msgSender(), amount: 0}); contest.entryCount++; contest.Entries[contest.entryCount] = Entry({user: _msgSender(), amount: 0}); contest.entryCount++; contest.Entries[contest.entryCount] = Entry({user: _msgSender(), amount: 0}); contest.entryCount++; contest.UserEntryCount[receiver] += 3; contest.isActive = contest.entryCount < contest.maxEntries; emit TripleEntry(_msgSender(), receiver, contestID); } // ** - ADMIN - ** // function endContestWithWinner(uint256 contestID, uint16 entryNum) external nonReentrant onlyOwner { require(ContestWinner[contestID] == address(0), "WINNER_PICKED"); Contest storage contest = Contests[contestID]; require(entryNum < contest.entryCount, "ENTRYNUM>ENTRYCOUNT"); contest.isActive = false; contest.isWon = true; contest.winningEntry = entryNum; ContestWinner[contestID] = contest.Entries[entryNum].user; emit ManualCompleteContest(_msgSender(), contestID, ContestWinner[contestID]); } function endContestWithoutWinner(uint256 contestID) external nonReentrant onlyApproved { Contest storage contest = Contests[contestID]; require(!contest.isWon, "CONTEST_WON"); require(!contest.refunded, "ALREADY_REFUNDED"); contest.isActive = false; contest.refunded = true; //refund entrants for(uint256 x; x < contest.entryCount; x++) { Entry storage entry = contest.Entries[x]; if (entry.amount == 0) continue; //don't refund free entries uint256 amount = entry.amount; entry.amount == 0; if (contest.paymentToken == address(0)) { require(amount <= address(this).balance, "INSUFFICIENT_BNB"); (bool sent, ) = entry.user.call{value: amount}(""); require(sent, "FAILED_SENDING_FUNDS"); } else { require(amount <= IERC20(contest.paymentToken).balanceOf(address(this)), "INSUFFICIENT_BALANCE"); IERC20(contest.paymentToken).transfer(entry.user, amount); } } emit EndContestWithoutWinner(_msgSender(), contestID); } function withdrawBNB() external nonReentrant onlyApproved { require(treasuryAddress != address(0), "TREASURY_NOT_SET"); uint256 bal = address(this).balance; (bool sent, ) = treasuryAddress.call{value: bal}(""); require(sent, "FAILED_SENDING_FUNDS"); emit WithdrawBNB(_msgSender(), bal); } function withdrawTokens(address _token) external nonReentrant onlyApproved { require(treasuryAddress != address(0), "TREASURY_NOT_SET"); IERC20(_token).safeTransfer( treasuryAddress, IERC20(_token).balanceOf(address(this)) ); } function flipProxyState(address proxyAddress) public onlyOwner { proxyToApproved[proxyAddress] = !proxyToApproved[proxyAddress]; } function isProxyToApproved(address proxyAddress) external view onlyOwner returns(bool) { return proxyToApproved[proxyAddress]; } // ** - SETTERS - ** // function setTreasuryAddress(address addr) external onlyOwner { treasuryAddress = addr; } modifier onlyProxy() { require(proxyToApproved[_msgSender()] == true, "onlyProxy"); _; } modifier onlyApproved() { require(proxyToApproved[_msgSender()] == true || _msgSender() == owner(), "onlyProxy"); _; } event ManualCompleteContest(address indexed user, uint256 indexed contestID, address indexed winner); event BuyOne(address indexed user, uint256 indexed contestID, uint256 indexed amount); event BuyThree(address indexed user, uint256 indexed contestID, uint256 indexed amount); event Buy(address indexed user, uint256 indexed contestID, uint256 indexed amount, uint256 value); event AddContest(address indexed user, uint256 indexed id); event EditContest(address indexed user, uint256 indexed id); event SetContestActive(address indexed user, uint256 indexed id, bool indexed isActive); event SetPriceForContest(address indexed user, uint256 indexed contestID, uint256 indexed price); event SingleEntry(address indexed user, address indexed recipient, uint256 contestID); event TripleEntry(address indexed user, address indexed recipient, uint256 contestID); event DistributeFunds(address indexed sender, uint256 indexed contestID, address indexed recipient, uint256 amount); event WithdrawBNB(address indexed sender, uint256 indexed balance); event EndContestWithWinner(address indexed user, uint256 indexed contestID); event EndContestWithoutWinner(address indexed user, uint256 indexed contestID); event CloneContest(address indexed user, uint256 indexed oldContestID, uint256 indexed newContestID); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (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 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 { _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 v4.4.1 (security/ReentrancyGuard.sol) pragma solidity ^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() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { // 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 // OpenZeppelin Contracts v4.4.1 (token/ERC20/utils/SafeERC20.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; import "../../../utils/Address.sol"; /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeERC20 { using Address for address; function safeTransfer( IERC20 token, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } function safeTransferFrom( IERC20 token, address from, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } /** * @dev Deprecated. This function has issues similar to the ones found in * {IERC20-approve}, and its usage is discouraged. * * Whenever possible, use {safeIncreaseAllowance} and * {safeDecreaseAllowance} instead. */ function safeApprove( IERC20 token, address spender, uint256 value ) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' require( (value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } function safeIncreaseAllowance( IERC20 token, address spender, uint256 value ) internal { uint256 newAllowance = token.allowance(address(this), spender) + value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } function safeDecreaseAllowance( IERC20 token, address spender, uint256 value ) internal { unchecked { uint256 oldAllowance = token.allowance(address(this), spender); require(oldAllowance >= value, "SafeERC20: decreased allowance below zero"); uint256 newAllowance = oldAllowance - value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function _callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed"); if (returndata.length > 0) { // Return data is optional require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } }
// 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 (last updated v4.5.0) (token/ERC20/IERC20.sol) pragma solidity ^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 `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); /** * @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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"treasury_","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"AddContest","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"contestID","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Buy","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"contestID","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"BuyOne","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"contestID","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"BuyThree","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"oldContestID","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"newContestID","type":"uint256"}],"name":"CloneContest","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":true,"internalType":"uint256","name":"contestID","type":"uint256"},{"indexed":true,"internalType":"address","name":"recipient","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"DistributeFunds","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"EditContest","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"contestID","type":"uint256"}],"name":"EndContestWithWinner","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"contestID","type":"uint256"}],"name":"EndContestWithoutWinner","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"contestID","type":"uint256"},{"indexed":true,"internalType":"address","name":"winner","type":"address"}],"name":"ManualCompleteContest","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":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":true,"internalType":"bool","name":"isActive","type":"bool"}],"name":"SetContestActive","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"contestID","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"price","type":"uint256"}],"name":"SetPriceForContest","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"address","name":"recipient","type":"address"},{"indexed":false,"internalType":"uint256","name":"contestID","type":"uint256"}],"name":"SingleEntry","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"address","name":"recipient","type":"address"},{"indexed":false,"internalType":"uint256","name":"contestID","type":"uint256"}],"name":"TripleEntry","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":true,"internalType":"uint256","name":"balance","type":"uint256"}],"name":"WithdrawBNB","type":"event"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"ContestWinner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"Contests","outputs":[{"internalType":"uint16","name":"id","type":"uint16"},{"internalType":"uint16","name":"entryCount","type":"uint16"},{"internalType":"uint16","name":"maxEntries","type":"uint16"},{"internalType":"uint16","name":"maxEntriesForThree","type":"uint16"},{"internalType":"uint16","name":"winningEntry","type":"uint16"},{"internalType":"address","name":"paymentToken","type":"address"},{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"uint256","name":"priceForThree","type":"uint256"},{"internalType":"uint256","name":"payments","type":"uint256"},{"internalType":"uint256","name":"paymentsDistributed","type":"uint256"},{"internalType":"bool","name":"isWon","type":"bool"},{"internalType":"bool","name":"isActive","type":"bool"},{"internalType":"bool","name":"refunded","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"FeeRecipients","outputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"basisPoints","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"maxEntries","type":"uint16"},{"internalType":"bool","name":"isActive","type":"bool"},{"internalType":"address","name":"paymentToken","type":"address"},{"internalType":"uint256","name":"price","type":"uint256"}],"name":"addContest","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"contestID","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"buy","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"contestID","type":"uint256"}],"name":"buyOne","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"contestID","type":"uint256"}],"name":"buyThree","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"contestID","type":"uint256"},{"internalType":"bool","name":"setActive","type":"bool"}],"name":"cloneContest","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"contestCount","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"contestID","type":"uint256"},{"internalType":"uint16","name":"maxEntries","type":"uint16"},{"internalType":"bool","name":"isActive","type":"bool"},{"internalType":"address","name":"paymentToken","type":"address"},{"internalType":"uint256","name":"price","type":"uint256"}],"name":"editContest","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"contestID","type":"uint256"},{"internalType":"uint16","name":"entryNum","type":"uint16"}],"name":"endContestWithWinner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"contestID","type":"uint256"}],"name":"endContestWithoutWinner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"feeRecipientCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"proxyAddress","type":"address"}],"name":"flipProxyState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"contestID","type":"uint256"}],"name":"getContestEntries","outputs":[{"components":[{"internalType":"address","name":"user","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"internalType":"struct OIRContestManualv2.Entry[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"contestID","type":"uint256"},{"internalType":"address","name":"user","type":"address"}],"name":"getUserEntries","outputs":[{"components":[{"internalType":"address","name":"user","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"internalType":"struct OIRContestManualv2.Entry[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"contestID","type":"uint256"},{"internalType":"address","name":"user","type":"address"}],"name":"getUserEntryCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"proxyAddress","type":"address"}],"name":"isProxyToApproved","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paymentsWithdrawn","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"proxyToApproved","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"contestID","type":"uint256"},{"internalType":"bool","name":"isActive","type":"bool"}],"name":"setContestActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"contestID","type":"uint256"},{"internalType":"uint256","name":"price","type":"uint256"}],"name":"setPriceForContest","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"setTreasuryAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"contestID","type":"uint256"},{"internalType":"address","name":"receiver","type":"address"}],"name":"singleEntry","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"totalFeeBasisPoints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"treasuryAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"contestID","type":"uint256"},{"internalType":"address","name":"receiver","type":"address"}],"name":"tripleEntry","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawBNB","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"}],"name":"withdrawTokens","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b5060405162003159380380620031598339810160408190526200003491620000b9565b6200003f3362000069565b60018055600380546001600160a01b0319166001600160a01b0392909216919091179055620000eb565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600060208284031215620000cc57600080fd5b81516001600160a01b0381168114620000e457600080fd5b9392505050565b61305e80620000fb6000396000f3fe6080604052600436106101e35760003560e01c80638da5cb5b11610102578063dfd8fdd011610095578063f3bb380611610064578063f3bb3806146106df578063f73c814b146106f5578063f980dc4514610715578063ff6dafe01461073557600080fd5b8063dfd8fdd01461066c578063ea162e1b1461068c578063f2e42fd31461069f578063f2fde38b146106bf57600080fd5b8063c5f956af116100d1578063c5f956af14610603578063cb73261114610623578063d6febde814610643578063dbf88af01461065657600080fd5b80638da5cb5b146105515780639dc38c7d14610583578063b1fe21a7146105c3578063b7e44030146105e357600080fd5b8063407be8d91161017a5780636c22f3a4116101495780636c22f3a4146104ce578063715018a6146104ee57806381da800a146105035780638d4fdb3b1461052357600080fd5b8063407be8d91461035257806341ff4e881461037257806349df728c1461048e5780636605bfda146104ae57600080fd5b80631b772d68116101b65780631b772d68146102b65780631d111d13146102d6578063325fd7e9146102eb57806333fd65c51461033257600080fd5b8063032e1fcf146101e8578063075365761461021e578063177cd6401461027d57806319a8e36614610292575b600080fd5b3480156101f457600080fd5b50610208610203366004612b8a565b61076b565b6040516102159190612ba3565b60405180910390f35b34801561022a57600080fd5b5061025e610239366004612b8a565b600660205260009081526040902080546001909101546001600160a01b039091169082565b604080516001600160a01b039093168352602083019190915201610215565b61029061028b366004612b8a565b61086a565b005b34801561029e57600080fd5b506102a860075481565b604051908152602001610215565b3480156102c257600080fd5b506102906102d1366004612c32565b610b19565b3480156102e257600080fd5b50610290610c80565b3480156102f757600080fd5b506102a8610306366004612c7f565b60008281526009602090815260408083206001600160a01b038516845260070190915290205492915050565b34801561033e57600080fd5b5061029061034d366004612cab565b610e10565b34801561035e57600080fd5b5061029061036d366004612c7f565b610fcc565b34801561037e57600080fd5b5061041261038d366004612b8a565b60096020526000908152604090208054600182015460028301546003840154600485015460059095015461ffff8086169662010000808804831697600160201b8104841697600160301b8204851697600160401b830490951696600160501b9092046001600160a01b031695909493919260ff8083169261010081048216929004168d565b6040805161ffff9e8f1681529c8e1660208e01529a8d169a8c019a909a52978b1660608b01529990951660808901526001600160a01b0390931660a088015260c087019190915260e08601526101008501526101208401529215156101408301529115156101608201529015156101808201526101a001610215565b34801561049a57600080fd5b506102906104a9366004612cce565b6111ec565b3480156104ba57600080fd5b506102906104c9366004612cce565b611335565b3480156104da57600080fd5b506102906104e9366004612ce9565b611381565b3480156104fa57600080fd5b5061029061147b565b34801561050f57600080fd5b5061029061051e366004612d19565b6114b1565b34801561052f57600080fd5b50600a5461053e9061ffff1681565b60405161ffff9091168152602001610215565b34801561055d57600080fd5b506000546001600160a01b03165b6040516001600160a01b039091168152602001610215565b34801561058f57600080fd5b506105b361059e366004612cce565b60026020526000908152604090205460ff1681565b6040519015158152602001610215565b3480156105cf57600080fd5b506102906105de366004612d70565b611617565b3480156105ef57600080fd5b506102906105fe366004612ce9565b611698565b34801561060f57600080fd5b5060035461056b906001600160a01b031681565b34801561062f57600080fd5b5061029061063e366004612b8a565b61182f565b610290610651366004612d70565b611c0a565b34801561066257600080fd5b506102a860055481565b34801561067857600080fd5b50610290610687366004612c7f565b611ef4565b61029061069a366004612b8a565b612240565b3480156106ab57600080fd5b506102086106ba366004612c7f565b612611565b3480156106cb57600080fd5b506102906106da366004612cce565b612752565b3480156106eb57600080fd5b506102a860085481565b34801561070157600080fd5b50610290610710366004612cce565b6127ed565b34801561072157600080fd5b506105b3610730366004612cce565b612840565b34801561074157600080fd5b5061056b610750366004612b8a565b6004602052600090815260409020546001600160a01b031681565b600081815260096020526040812080546060929062010000900461ffff1667ffffffffffffffff8111156107a1576107a1612d92565b6040519080825280602002602001820160405280156107e657816020015b60408051808201909152600080825260208201528152602001906001900390816107bf5790505b50905060005b825462010000900461ffff16811015610862576000818152600684016020908152604091829020825180840190935280546001600160a01b031683526001015490820152825183908390811061084457610844612da8565b6020026020010181905250808061085a90612dd4565b9150506107ec565b509392505050565b60008181526009602052604090206005810154610100900460ff1680156108a657506000828152600460205260409020546001600160a01b0316155b6108cb5760405162461bcd60e51b81526004016108c290612ded565b60405180910390fd5b805461ffff6201000082048116600160201b90920416116108fe5760405162461bcd60e51b81526004016108c290612e11565b8054600160501b90046001600160a01b031661093c57806001015434146109375760405162461bcd60e51b81526004016108c290612e3e565b6109d0565b8054600160501b90046001600160a01b03166323b872dd3360018401546040516001600160e01b031960e085901b1681526001600160a01b03909216600483015230602483015260448201526064016020604051808303816000875af11580156109aa573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109ce9190612e69565b505b60405180604001604052806109e23390565b6001600160a01b0390811682526001848101546020938401528454620100009081900461ffff908116600090815260068801865260409020865181546001600160a01b0319169516949094178455949093015191015582540416816002610a4883612e86565b91906101000a81548161ffff021916908361ffff160217905550508060010154816003016000828254610a7b9190612ea7565b90915550503360009081526007820160205260408120805491610a9d83612dd4565b9091555050805460058201805461ffff600160201b840481166201000090940416929092106101000261ff0019909216919091179055600181015482610ae03390565b6001600160a01b03167fa4338d0c9e5443a14eb0c19bf36352a38cbcee4b18f243481e1ea80de8dd130460405160405180910390a45050565b3360009081526002602052604090205460ff16151560011480610b4657506000546001600160a01b031633145b610b625760405162461bcd60e51b81526004016108c290612ebf565b600a5461ffff90811660008181526009602052604090208054928716600160201b0265ffff0000ffff19909316909117919091178155610ba3600286612ee2565b815460058301805461ff0019166101008815150217905569ffff0001000000000000600160f01b031916600160301b61ffff9290921691909102600160501b600160f01b03191617600160501b6001600160a01b0385160217815560018101829055610c10826003612f05565b6002820155600a5460405161ffff9091169033907f425a3b20a478eb86f2ba56385291417fdddcd7cfa88c2415234c6785bfcce10690600090a3600a805461ffff16906000610c5e83612e86565b91906101000a81548161ffff021916908361ffff160217905550505050505050565b600260015403610ca25760405162461bcd60e51b81526004016108c290612f24565b6002600181815533600090815260209290925260409091205460ff1615151480610cd657506000546001600160a01b031633145b610cf25760405162461bcd60e51b81526004016108c290612ebf565b6003546001600160a01b0316610d3d5760405162461bcd60e51b815260206004820152601060248201526f1514915054d5549657d393d517d4d15560821b60448201526064016108c2565b60035460405147916000916001600160a01b039091169083908381818185875af1925050503d8060008114610d8e576040519150601f19603f3d011682016040523d82523d6000602084013e610d93565b606091505b5050905080610ddb5760405162461bcd60e51b81526020600482015260146024820152734641494c45445f53454e44494e475f46554e445360601b60448201526064016108c2565b604051829033907fceac4c050cf0bd5320be38f58d0d370278667b15662191291c09d7fb144371b390600090a3505060018055565b600260015403610e325760405162461bcd60e51b81526004016108c290612f24565b60026001556000546001600160a01b03163314610e615760405162461bcd60e51b81526004016108c290612f5b565b6000828152600460205260409020546001600160a01b031615610eb65760405162461bcd60e51b815260206004820152600d60248201526c15d25393915497d41250d2d151609a1b60448201526064016108c2565b6000828152600960205260409020805461ffff62010000909104811690831610610f185760405162461bcd60e51b815260206004820152601360248201527211539514965395534f915395149650d3d55395606a1b60448201526064016108c2565b60058101805461ffff19166001179055805461ffff8316600160401b810269ffff0000000000000000199092169190911782556000908152600682016020908152604080832054868452600490925290912080546001600160a01b0319166001600160a01b03909216918217905583610f8e3390565b6001600160a01b03167f70f288daebf6a65b72714b33da197edc72f4e142bf79984671807ec08e94e47b60405160405180910390a450506001805550565b3360009081526002602052604090205460ff16151560011480610ff957506000546001600160a01b031633145b6110155760405162461bcd60e51b81526004016108c290612ebf565b60008281526009602052604090206005810154610100900460ff16801561105157506000838152600460205260409020546001600160a01b0316155b61106d5760405162461bcd60e51b81526004016108c290612ded565b805461ffff6201000082048116600160201b90920416116110a05760405162461bcd60e51b81526004016108c290612e11565b60405180604001604052806110b23390565b6001600160a01b039081168252600060209283018190528454620100009081900461ffff90811683526006870185526040909220855181546001600160a01b031916941693909317835593909201516001909101558254919091041681600261111a83612e86565b825461ffff9182166101009390930a9283029190920219909116179055506001600160a01b0382166000908152600782016020526040812080549161115e83612dd4565b9091555050805460058201805461ffff600160201b840481166201000090940416929092106101000261ff00199092169190911790556001600160a01b0382166111a53390565b6001600160a01b03167ff2115bec319091206d9fb6bd3c72e857daf8db380f409e712d1e41bd12df8873856040516111df91815260200190565b60405180910390a3505050565b60026001540361120e5760405162461bcd60e51b81526004016108c290612f24565b6002600181815533600090815260209290925260409091205460ff161515148061124257506000546001600160a01b031633145b61125e5760405162461bcd60e51b81526004016108c290612ebf565b6003546001600160a01b03166112a95760405162461bcd60e51b815260206004820152601060248201526f1514915054d5549657d393d517d4d15560821b60448201526064016108c2565b6003546040516370a0823160e01b815230600482015261132e916001600160a01b0390811691908416906370a0823190602401602060405180830381865afa1580156112f9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061131d9190612f90565b6001600160a01b038416919061288e565b5060018055565b6000546001600160a01b0316331461135f5760405162461bcd60e51b81526004016108c290612f5b565b600380546001600160a01b0319166001600160a01b0392909216919091179055565b3360009081526002602052604090205460ff161515600114806113ae57506000546001600160a01b031633145b6113ca5760405162461bcd60e51b81526004016108c290612ebf565b8015806113e9575060008281526009602052604090206005015460ff16155b6114235760405162461bcd60e51b815260206004820152600b60248201526a20a62922a0a22cafaba7a760a91b60448201526064016108c2565b600082815260096020526040808220600501805461ff0019166101008515159081029190911790915590519091849133917f5a41cbd459c98b0bf2b46c915c910e378aa66eb70e9bab5067bda91d275ec1e791a45050565b6000546001600160a01b031633146114a55760405162461bcd60e51b81526004016108c290612f5b565b6114af60006128e5565b565b3360009081526002602052604090205460ff161515600114806114de57506000546001600160a01b031633145b6114fa5760405162461bcd60e51b81526004016108c290612ebf565b60008581526009602052604090205462010000900461ffff16156115505760405162461bcd60e51b815260206004820152600d60248201526c11539514925154d7d1561254d5609a1b60448201526064016108c2565b6000858152600960205260409020805460058201805461ff001916610100871515021790557fffff0000000000000000000000000000000000000000ffffffff0000ffffffff16600160201b61ffff871602600160501b600160f01b03191617600160501b6001600160a01b03851602178155600181018290556115d5826003612f05565b6002820155600a5460405161ffff9091169033907f211adad5bbe37f26c738991657d59374d583d66a973b418cdf92ecb6243f81f090600090a3505050505050565b3360009081526002602052604090205460ff1615156001148061164457506000546001600160a01b031633145b6116605760405162461bcd60e51b81526004016108c290612ebf565b600082815260096020526040902060010181905561167f816003612f05565b6000928352600960205260409092206002019190915550565b3360009081526002602052604090205460ff161515600114806116c557506000546001600160a01b031633145b6116e15760405162461bcd60e51b81526004016108c290612ebf565b600082815260096020526040808220600a805461ffff90811680865293909420805461ffff198116851782558354600160201b9081900487160265ffff0000ffff19909116909417939093178084558254600160301b9081900486160267ffff000000000000198216811785556005850180548815156101000261ff001990911617905583546001600160a01b03600160501b918290041602600160501b600160f01b031990911669ffff0001000000000000600160f01b031990921691909117178355600180830154908401556002808301549084015554909216846117c53390565b6001600160a01b03167fc2cf75cdbd503a47b60a8a210789e46e00dc2d01b39571e1dbb14b7a8b457d2e60405160405180910390a4600a805461ffff1690600061180e83612e86565b91906101000a81548161ffff021916908361ffff1602179055505050505050565b6002600154036118515760405162461bcd60e51b81526004016108c290612f24565b6002600181815533600090815260209290925260409091205460ff161515148061188557506000546001600160a01b031633145b6118a15760405162461bcd60e51b81526004016108c290612ebf565b6000818152600960205260409020600581015460ff16156118f25760405162461bcd60e51b815260206004820152600b60248201526a21a7a72a22a9aa2faba7a760a91b60448201526064016108c2565b600581015462010000900460ff16156119405760405162461bcd60e51b815260206004820152601060248201526f1053149150511657d49151955391115160821b60448201526064016108c2565b60058101805462ffff0019166201000017905560005b815462010000900461ffff16811015611bd45760008181526006830160205260408120600181015490910361198b5750611bc2565b60018101548354600160501b90046001600160a01b0316611a8857478111156119e95760405162461bcd60e51b815260206004820152601060248201526f24a729aaa32324a1a4a2a72a2fa1272160811b60448201526064016108c2565b81546040516000916001600160a01b03169083908381818185875af1925050503d8060008114611a35576040519150601f19603f3d011682016040523d82523d6000602084013e611a3a565b606091505b5050905080611a825760405162461bcd60e51b81526020600482015260146024820152734641494c45445f53454e44494e475f46554e445360601b60448201526064016108c2565b50611bbf565b83546040516370a0823160e01b8152306004820152600160501b9091046001600160a01b0316906370a0823190602401602060405180830381865afa158015611ad5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611af99190612f90565b811115611b3f5760405162461bcd60e51b8152602060048201526014602482015273494e53554646494349454e545f42414c414e434560601b60448201526064016108c2565b8354825460405163a9059cbb60e01b81526001600160a01b03918216600482015260248101849052600160501b909204169063a9059cbb906044016020604051808303816000875af1158015611b99573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bbd9190612e69565b505b50505b80611bcc81612dd4565b915050611956565b50604051829033907f3982a970161e7e13c6665dc136af3b0747fc5f82897897c701178014b3e50d6390600090a3505060018055565b60008281526009602052604090206005810154610100900460ff168015611c4657506000838152600460205260409020546001600160a01b0316155b611c625760405162461bcd60e51b81526004016108c290612ded565b805461ffff600160201b8204811691611c8391859162010000900416612ea7565b1115611ca15760405162461bcd60e51b81526004016108c290612e11565b6000828260010154611cb39190612f05565b8254909150600160501b90046001600160a01b0316611cf057803414611ceb5760405162461bcd60e51b81526004016108c290612e3e565b611d81565b8154600160501b90046001600160a01b03166323b872dd336040516001600160e01b031960e084901b1681526001600160a01b039091166004820152306024820152604481018490526064016020604051808303816000875af1158015611d5b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d7f9190612e69565b505b60005b83811015611e32576040518060400160405280611d9e3390565b6001600160a01b0390811682526001868101546020938401528654620100009081900461ffff908116600090815260068a01865260409020865181546001600160a01b0319169516949094178455949093015191015584540416836002611e0483612e86565b91906101000a81548161ffff021916908361ffff160217905550508080611e2a90612dd4565b915050611d84565b5080826003016000828254611e479190612ea7565b909155505033600090815260078301602052604081208054859290611e6d908490612ea7565b9091555050815460058301805461ffff600160201b840481166201000090940416929092106101000261ff00199092169190911790558284611eac3390565b6001600160a01b03167fbeae048c6d270d9469f86cf6e8fedda3c60ad770f16c24c9fc131c8e9a09101d34604051611ee691815260200190565b60405180910390a450505050565b3360009081526002602052604090205460ff16151560011480611f2157506000546001600160a01b031633145b611f3d5760405162461bcd60e51b81526004016108c290612ebf565b60008281526009602052604090206005810154610100900460ff168015611f7957506000838152600460205260409020546001600160a01b0316155b611f955760405162461bcd60e51b81526004016108c290612ded565b805461ffff6201000082048116600160301b9092041611611fc85760405162461bcd60e51b81526004016108c290612e11565b6040518060400160405280611fda3390565b6001600160a01b039081168252600060209283018190528454620100009081900461ffff90811683526006870185526040909220855181546001600160a01b031916941693909317835593909201516001909101558254919091041681600261204283612e86565b91906101000a81548161ffff021916908361ffff16021790555050604051806040016040528061206f3390565b6001600160a01b039081168252600060209283018190528454620100009081900461ffff90811683526006870185526040909220855181546001600160a01b03191694169390931783559390920151600190910155825491909104168160026120d783612e86565b91906101000a81548161ffff021916908361ffff1602179055505060405180604001604052806121043390565b6001600160a01b039081168252600060209283018190528454620100009081900461ffff90811683526006870185526040909220855181546001600160a01b031916941693909317835593909201516001909101558254919091041681600261216c83612e86565b91906101000a81548161ffff021916908361ffff160217905550506003816007016000846001600160a01b03166001600160a01b0316815260200190815260200160002060008282546121bf9190612ea7565b9091555050805460058201805461ffff600160201b840481166201000090940416929092106101000261ff00199092169190911790556001600160a01b0382166122063390565b6001600160a01b03167fdf71ef5435f6a36b64f3786c2bfe76c3a8c5ef45ab0b07e471e1474ab865edcd856040516111df91815260200190565b60008181526009602052604090206005810154610100900460ff16801561227c57506000828152600460205260409020546001600160a01b0316155b6122985760405162461bcd60e51b81526004016108c290612ded565b805461ffff600160301b820481166201000090920416106122cb5760405162461bcd60e51b81526004016108c290612e11565b8054600160501b90046001600160a01b031661230957806002015434146123045760405162461bcd60e51b81526004016108c290612e3e565b61239d565b8054600160501b90046001600160a01b03166323b872dd3360028401546040516001600160e01b031960e085901b1681526001600160a01b03909216600483015230602483015260448201526064016020604051808303816000875af1158015612377573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061239b9190612e69565b505b60405180604001604052806123af3390565b6001600160a01b0390811682526001848101546020938401528454620100009081900461ffff908116600090815260068801865260409020865181546001600160a01b031916951694909417845594909301519101558254041681600261241583612e86565b91906101000a81548161ffff021916908361ffff1602179055505060405180604001604052806124423390565b6001600160a01b0390811682526001848101546020938401528454620100009081900461ffff908116600090815260068801865260409020865181546001600160a01b03191695169490941784559490930151910155825404168160026124a883612e86565b91906101000a81548161ffff021916908361ffff1602179055505060405180604001604052806124d53390565b6001600160a01b0390811682526001848101546020938401528454620100009081900461ffff908116600090815260068801865260409020865181546001600160a01b031916951694909417845594909301519101558254041681600261253b83612e86565b91906101000a81548161ffff021916908361ffff16021790555050806002015481600301600082825461256e9190612ea7565b90915550503360009081526007820160205260408120805460039290612595908490612ea7565b9091555050805460058201805461ffff600160201b840481166201000090940416929092106101000261ff00199092169190911790556002810154826125d83390565b6001600160a01b03167f776196e96aec3fe4cf30ed1a050eaa75d49499a0e3c5980a23d40d0e80fa979a60405160405180910390a45050565b60008281526009602090815260408083206001600160a01b0385168452600781019092528220546060929067ffffffffffffffff81111561265457612654612d92565b60405190808252806020026020018201604052801561269957816020015b60408051808201909152600080825260208201528152602001906001900390816126725790505b5090506000805b835462010000900461ffff168110156127475760008181526006850160205260409020546001600160a01b03808816911603612735576000818152600685016020908152604091829020825180840190935280546001600160a01b031683526001015490820152835184908490811061271b5761271b612da8565b6020026020010181905250818061273190612dd4565b9250505b8061273f81612dd4565b9150506126a0565b509095945050505050565b6000546001600160a01b0316331461277c5760405162461bcd60e51b81526004016108c290612f5b565b6001600160a01b0381166127e15760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108c2565b6127ea816128e5565b50565b6000546001600160a01b031633146128175760405162461bcd60e51b81526004016108c290612f5b565b6001600160a01b03166000908152600260205260409020805460ff19811660ff90911615179055565b600080546001600160a01b0316331461286b5760405162461bcd60e51b81526004016108c290612f5b565b506001600160a01b03811660009081526002602052604090205460ff165b919050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b1790526128e0908490612935565b505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600061298a826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316612a079092919063ffffffff16565b8051909150156128e057808060200190518101906129a89190612e69565b6128e05760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016108c2565b6060612a168484600085612a20565b90505b9392505050565b606082471015612a815760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b60648201526084016108c2565b6001600160a01b0385163b612ad85760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016108c2565b600080866001600160a01b03168587604051612af49190612fd9565b60006040518083038185875af1925050503d8060008114612b31576040519150601f19603f3d011682016040523d82523d6000602084013e612b36565b606091505b5091509150612b46828286612b51565b979650505050505050565b60608315612b60575081612a19565b825115612b705782518084602001fd5b8160405162461bcd60e51b81526004016108c29190612ff5565b600060208284031215612b9c57600080fd5b5035919050565b602080825282518282018190526000919060409081850190868401855b82811015612bee57815180516001600160a01b03168552860151868501529284019290850190600101612bc0565b5091979650505050505050565b803561ffff8116811461288957600080fd5b80151581146127ea57600080fd5b80356001600160a01b038116811461288957600080fd5b60008060008060808587031215612c4857600080fd5b612c5185612bfb565b93506020850135612c6181612c0d565b9250612c6f60408601612c1b565b9396929550929360600135925050565b60008060408385031215612c9257600080fd5b82359150612ca260208401612c1b565b90509250929050565b60008060408385031215612cbe57600080fd5b82359150612ca260208401612bfb565b600060208284031215612ce057600080fd5b612a1982612c1b565b60008060408385031215612cfc57600080fd5b823591506020830135612d0e81612c0d565b809150509250929050565b600080600080600060a08688031215612d3157600080fd5b85359450612d4160208701612bfb565b93506040860135612d5181612c0d565b9250612d5f60608701612c1b565b949793965091946080013592915050565b60008060408385031215612d8357600080fd5b50508035926020909101359150565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600060018201612de657612de6612dbe565b5060010190565b6020808252600a90820152694e4f545f41435449564560b01b604082015260600190565b602080825260139082015272455843454544535f4d41585f454e545249455360681b604082015260600190565b602080825260119082015270125390d3d4949150d517d4105653515395607a1b604082015260600190565b600060208284031215612e7b57600080fd5b8151612a1981612c0d565b600061ffff808316818103612e9d57612e9d612dbe565b6001019392505050565b60008219821115612eba57612eba612dbe565b500190565b6020808252600990820152686f6e6c7950726f787960b81b604082015260600190565b600061ffff83811690831681811015612efd57612efd612dbe565b039392505050565b6000816000190483118215151615612f1f57612f1f612dbe565b500290565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600060208284031215612fa257600080fd5b5051919050565b60005b83811015612fc4578181015183820152602001612fac565b83811115612fd3576000848401525b50505050565b60008251612feb818460208701612fa9565b9190910192915050565b6020815260008251806020840152613014816040850160208701612fa9565b601f01601f1916919091016040019291505056fea264697066735822122030e784a86b0805f52952d8c0cdebd491caf9dda77e16edd9a7ffc9e9c3fe901564736f6c634300080e0033000000000000000000000000ab95359e56c8976979d867ced393d320f1534dfb
Deployed Bytecode
0x6080604052600436106101e35760003560e01c80638da5cb5b11610102578063dfd8fdd011610095578063f3bb380611610064578063f3bb3806146106df578063f73c814b146106f5578063f980dc4514610715578063ff6dafe01461073557600080fd5b8063dfd8fdd01461066c578063ea162e1b1461068c578063f2e42fd31461069f578063f2fde38b146106bf57600080fd5b8063c5f956af116100d1578063c5f956af14610603578063cb73261114610623578063d6febde814610643578063dbf88af01461065657600080fd5b80638da5cb5b146105515780639dc38c7d14610583578063b1fe21a7146105c3578063b7e44030146105e357600080fd5b8063407be8d91161017a5780636c22f3a4116101495780636c22f3a4146104ce578063715018a6146104ee57806381da800a146105035780638d4fdb3b1461052357600080fd5b8063407be8d91461035257806341ff4e881461037257806349df728c1461048e5780636605bfda146104ae57600080fd5b80631b772d68116101b65780631b772d68146102b65780631d111d13146102d6578063325fd7e9146102eb57806333fd65c51461033257600080fd5b8063032e1fcf146101e8578063075365761461021e578063177cd6401461027d57806319a8e36614610292575b600080fd5b3480156101f457600080fd5b50610208610203366004612b8a565b61076b565b6040516102159190612ba3565b60405180910390f35b34801561022a57600080fd5b5061025e610239366004612b8a565b600660205260009081526040902080546001909101546001600160a01b039091169082565b604080516001600160a01b039093168352602083019190915201610215565b61029061028b366004612b8a565b61086a565b005b34801561029e57600080fd5b506102a860075481565b604051908152602001610215565b3480156102c257600080fd5b506102906102d1366004612c32565b610b19565b3480156102e257600080fd5b50610290610c80565b3480156102f757600080fd5b506102a8610306366004612c7f565b60008281526009602090815260408083206001600160a01b038516845260070190915290205492915050565b34801561033e57600080fd5b5061029061034d366004612cab565b610e10565b34801561035e57600080fd5b5061029061036d366004612c7f565b610fcc565b34801561037e57600080fd5b5061041261038d366004612b8a565b60096020526000908152604090208054600182015460028301546003840154600485015460059095015461ffff8086169662010000808804831697600160201b8104841697600160301b8204851697600160401b830490951696600160501b9092046001600160a01b031695909493919260ff8083169261010081048216929004168d565b6040805161ffff9e8f1681529c8e1660208e01529a8d169a8c019a909a52978b1660608b01529990951660808901526001600160a01b0390931660a088015260c087019190915260e08601526101008501526101208401529215156101408301529115156101608201529015156101808201526101a001610215565b34801561049a57600080fd5b506102906104a9366004612cce565b6111ec565b3480156104ba57600080fd5b506102906104c9366004612cce565b611335565b3480156104da57600080fd5b506102906104e9366004612ce9565b611381565b3480156104fa57600080fd5b5061029061147b565b34801561050f57600080fd5b5061029061051e366004612d19565b6114b1565b34801561052f57600080fd5b50600a5461053e9061ffff1681565b60405161ffff9091168152602001610215565b34801561055d57600080fd5b506000546001600160a01b03165b6040516001600160a01b039091168152602001610215565b34801561058f57600080fd5b506105b361059e366004612cce565b60026020526000908152604090205460ff1681565b6040519015158152602001610215565b3480156105cf57600080fd5b506102906105de366004612d70565b611617565b3480156105ef57600080fd5b506102906105fe366004612ce9565b611698565b34801561060f57600080fd5b5060035461056b906001600160a01b031681565b34801561062f57600080fd5b5061029061063e366004612b8a565b61182f565b610290610651366004612d70565b611c0a565b34801561066257600080fd5b506102a860055481565b34801561067857600080fd5b50610290610687366004612c7f565b611ef4565b61029061069a366004612b8a565b612240565b3480156106ab57600080fd5b506102086106ba366004612c7f565b612611565b3480156106cb57600080fd5b506102906106da366004612cce565b612752565b3480156106eb57600080fd5b506102a860085481565b34801561070157600080fd5b50610290610710366004612cce565b6127ed565b34801561072157600080fd5b506105b3610730366004612cce565b612840565b34801561074157600080fd5b5061056b610750366004612b8a565b6004602052600090815260409020546001600160a01b031681565b600081815260096020526040812080546060929062010000900461ffff1667ffffffffffffffff8111156107a1576107a1612d92565b6040519080825280602002602001820160405280156107e657816020015b60408051808201909152600080825260208201528152602001906001900390816107bf5790505b50905060005b825462010000900461ffff16811015610862576000818152600684016020908152604091829020825180840190935280546001600160a01b031683526001015490820152825183908390811061084457610844612da8565b6020026020010181905250808061085a90612dd4565b9150506107ec565b509392505050565b60008181526009602052604090206005810154610100900460ff1680156108a657506000828152600460205260409020546001600160a01b0316155b6108cb5760405162461bcd60e51b81526004016108c290612ded565b60405180910390fd5b805461ffff6201000082048116600160201b90920416116108fe5760405162461bcd60e51b81526004016108c290612e11565b8054600160501b90046001600160a01b031661093c57806001015434146109375760405162461bcd60e51b81526004016108c290612e3e565b6109d0565b8054600160501b90046001600160a01b03166323b872dd3360018401546040516001600160e01b031960e085901b1681526001600160a01b03909216600483015230602483015260448201526064016020604051808303816000875af11580156109aa573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109ce9190612e69565b505b60405180604001604052806109e23390565b6001600160a01b0390811682526001848101546020938401528454620100009081900461ffff908116600090815260068801865260409020865181546001600160a01b0319169516949094178455949093015191015582540416816002610a4883612e86565b91906101000a81548161ffff021916908361ffff160217905550508060010154816003016000828254610a7b9190612ea7565b90915550503360009081526007820160205260408120805491610a9d83612dd4565b9091555050805460058201805461ffff600160201b840481166201000090940416929092106101000261ff0019909216919091179055600181015482610ae03390565b6001600160a01b03167fa4338d0c9e5443a14eb0c19bf36352a38cbcee4b18f243481e1ea80de8dd130460405160405180910390a45050565b3360009081526002602052604090205460ff16151560011480610b4657506000546001600160a01b031633145b610b625760405162461bcd60e51b81526004016108c290612ebf565b600a5461ffff90811660008181526009602052604090208054928716600160201b0265ffff0000ffff19909316909117919091178155610ba3600286612ee2565b815460058301805461ff0019166101008815150217905569ffff0001000000000000600160f01b031916600160301b61ffff9290921691909102600160501b600160f01b03191617600160501b6001600160a01b0385160217815560018101829055610c10826003612f05565b6002820155600a5460405161ffff9091169033907f425a3b20a478eb86f2ba56385291417fdddcd7cfa88c2415234c6785bfcce10690600090a3600a805461ffff16906000610c5e83612e86565b91906101000a81548161ffff021916908361ffff160217905550505050505050565b600260015403610ca25760405162461bcd60e51b81526004016108c290612f24565b6002600181815533600090815260209290925260409091205460ff1615151480610cd657506000546001600160a01b031633145b610cf25760405162461bcd60e51b81526004016108c290612ebf565b6003546001600160a01b0316610d3d5760405162461bcd60e51b815260206004820152601060248201526f1514915054d5549657d393d517d4d15560821b60448201526064016108c2565b60035460405147916000916001600160a01b039091169083908381818185875af1925050503d8060008114610d8e576040519150601f19603f3d011682016040523d82523d6000602084013e610d93565b606091505b5050905080610ddb5760405162461bcd60e51b81526020600482015260146024820152734641494c45445f53454e44494e475f46554e445360601b60448201526064016108c2565b604051829033907fceac4c050cf0bd5320be38f58d0d370278667b15662191291c09d7fb144371b390600090a3505060018055565b600260015403610e325760405162461bcd60e51b81526004016108c290612f24565b60026001556000546001600160a01b03163314610e615760405162461bcd60e51b81526004016108c290612f5b565b6000828152600460205260409020546001600160a01b031615610eb65760405162461bcd60e51b815260206004820152600d60248201526c15d25393915497d41250d2d151609a1b60448201526064016108c2565b6000828152600960205260409020805461ffff62010000909104811690831610610f185760405162461bcd60e51b815260206004820152601360248201527211539514965395534f915395149650d3d55395606a1b60448201526064016108c2565b60058101805461ffff19166001179055805461ffff8316600160401b810269ffff0000000000000000199092169190911782556000908152600682016020908152604080832054868452600490925290912080546001600160a01b0319166001600160a01b03909216918217905583610f8e3390565b6001600160a01b03167f70f288daebf6a65b72714b33da197edc72f4e142bf79984671807ec08e94e47b60405160405180910390a450506001805550565b3360009081526002602052604090205460ff16151560011480610ff957506000546001600160a01b031633145b6110155760405162461bcd60e51b81526004016108c290612ebf565b60008281526009602052604090206005810154610100900460ff16801561105157506000838152600460205260409020546001600160a01b0316155b61106d5760405162461bcd60e51b81526004016108c290612ded565b805461ffff6201000082048116600160201b90920416116110a05760405162461bcd60e51b81526004016108c290612e11565b60405180604001604052806110b23390565b6001600160a01b039081168252600060209283018190528454620100009081900461ffff90811683526006870185526040909220855181546001600160a01b031916941693909317835593909201516001909101558254919091041681600261111a83612e86565b825461ffff9182166101009390930a9283029190920219909116179055506001600160a01b0382166000908152600782016020526040812080549161115e83612dd4565b9091555050805460058201805461ffff600160201b840481166201000090940416929092106101000261ff00199092169190911790556001600160a01b0382166111a53390565b6001600160a01b03167ff2115bec319091206d9fb6bd3c72e857daf8db380f409e712d1e41bd12df8873856040516111df91815260200190565b60405180910390a3505050565b60026001540361120e5760405162461bcd60e51b81526004016108c290612f24565b6002600181815533600090815260209290925260409091205460ff161515148061124257506000546001600160a01b031633145b61125e5760405162461bcd60e51b81526004016108c290612ebf565b6003546001600160a01b03166112a95760405162461bcd60e51b815260206004820152601060248201526f1514915054d5549657d393d517d4d15560821b60448201526064016108c2565b6003546040516370a0823160e01b815230600482015261132e916001600160a01b0390811691908416906370a0823190602401602060405180830381865afa1580156112f9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061131d9190612f90565b6001600160a01b038416919061288e565b5060018055565b6000546001600160a01b0316331461135f5760405162461bcd60e51b81526004016108c290612f5b565b600380546001600160a01b0319166001600160a01b0392909216919091179055565b3360009081526002602052604090205460ff161515600114806113ae57506000546001600160a01b031633145b6113ca5760405162461bcd60e51b81526004016108c290612ebf565b8015806113e9575060008281526009602052604090206005015460ff16155b6114235760405162461bcd60e51b815260206004820152600b60248201526a20a62922a0a22cafaba7a760a91b60448201526064016108c2565b600082815260096020526040808220600501805461ff0019166101008515159081029190911790915590519091849133917f5a41cbd459c98b0bf2b46c915c910e378aa66eb70e9bab5067bda91d275ec1e791a45050565b6000546001600160a01b031633146114a55760405162461bcd60e51b81526004016108c290612f5b565b6114af60006128e5565b565b3360009081526002602052604090205460ff161515600114806114de57506000546001600160a01b031633145b6114fa5760405162461bcd60e51b81526004016108c290612ebf565b60008581526009602052604090205462010000900461ffff16156115505760405162461bcd60e51b815260206004820152600d60248201526c11539514925154d7d1561254d5609a1b60448201526064016108c2565b6000858152600960205260409020805460058201805461ff001916610100871515021790557fffff0000000000000000000000000000000000000000ffffffff0000ffffffff16600160201b61ffff871602600160501b600160f01b03191617600160501b6001600160a01b03851602178155600181018290556115d5826003612f05565b6002820155600a5460405161ffff9091169033907f211adad5bbe37f26c738991657d59374d583d66a973b418cdf92ecb6243f81f090600090a3505050505050565b3360009081526002602052604090205460ff1615156001148061164457506000546001600160a01b031633145b6116605760405162461bcd60e51b81526004016108c290612ebf565b600082815260096020526040902060010181905561167f816003612f05565b6000928352600960205260409092206002019190915550565b3360009081526002602052604090205460ff161515600114806116c557506000546001600160a01b031633145b6116e15760405162461bcd60e51b81526004016108c290612ebf565b600082815260096020526040808220600a805461ffff90811680865293909420805461ffff198116851782558354600160201b9081900487160265ffff0000ffff19909116909417939093178084558254600160301b9081900486160267ffff000000000000198216811785556005850180548815156101000261ff001990911617905583546001600160a01b03600160501b918290041602600160501b600160f01b031990911669ffff0001000000000000600160f01b031990921691909117178355600180830154908401556002808301549084015554909216846117c53390565b6001600160a01b03167fc2cf75cdbd503a47b60a8a210789e46e00dc2d01b39571e1dbb14b7a8b457d2e60405160405180910390a4600a805461ffff1690600061180e83612e86565b91906101000a81548161ffff021916908361ffff1602179055505050505050565b6002600154036118515760405162461bcd60e51b81526004016108c290612f24565b6002600181815533600090815260209290925260409091205460ff161515148061188557506000546001600160a01b031633145b6118a15760405162461bcd60e51b81526004016108c290612ebf565b6000818152600960205260409020600581015460ff16156118f25760405162461bcd60e51b815260206004820152600b60248201526a21a7a72a22a9aa2faba7a760a91b60448201526064016108c2565b600581015462010000900460ff16156119405760405162461bcd60e51b815260206004820152601060248201526f1053149150511657d49151955391115160821b60448201526064016108c2565b60058101805462ffff0019166201000017905560005b815462010000900461ffff16811015611bd45760008181526006830160205260408120600181015490910361198b5750611bc2565b60018101548354600160501b90046001600160a01b0316611a8857478111156119e95760405162461bcd60e51b815260206004820152601060248201526f24a729aaa32324a1a4a2a72a2fa1272160811b60448201526064016108c2565b81546040516000916001600160a01b03169083908381818185875af1925050503d8060008114611a35576040519150601f19603f3d011682016040523d82523d6000602084013e611a3a565b606091505b5050905080611a825760405162461bcd60e51b81526020600482015260146024820152734641494c45445f53454e44494e475f46554e445360601b60448201526064016108c2565b50611bbf565b83546040516370a0823160e01b8152306004820152600160501b9091046001600160a01b0316906370a0823190602401602060405180830381865afa158015611ad5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611af99190612f90565b811115611b3f5760405162461bcd60e51b8152602060048201526014602482015273494e53554646494349454e545f42414c414e434560601b60448201526064016108c2565b8354825460405163a9059cbb60e01b81526001600160a01b03918216600482015260248101849052600160501b909204169063a9059cbb906044016020604051808303816000875af1158015611b99573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bbd9190612e69565b505b50505b80611bcc81612dd4565b915050611956565b50604051829033907f3982a970161e7e13c6665dc136af3b0747fc5f82897897c701178014b3e50d6390600090a3505060018055565b60008281526009602052604090206005810154610100900460ff168015611c4657506000838152600460205260409020546001600160a01b0316155b611c625760405162461bcd60e51b81526004016108c290612ded565b805461ffff600160201b8204811691611c8391859162010000900416612ea7565b1115611ca15760405162461bcd60e51b81526004016108c290612e11565b6000828260010154611cb39190612f05565b8254909150600160501b90046001600160a01b0316611cf057803414611ceb5760405162461bcd60e51b81526004016108c290612e3e565b611d81565b8154600160501b90046001600160a01b03166323b872dd336040516001600160e01b031960e084901b1681526001600160a01b039091166004820152306024820152604481018490526064016020604051808303816000875af1158015611d5b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d7f9190612e69565b505b60005b83811015611e32576040518060400160405280611d9e3390565b6001600160a01b0390811682526001868101546020938401528654620100009081900461ffff908116600090815260068a01865260409020865181546001600160a01b0319169516949094178455949093015191015584540416836002611e0483612e86565b91906101000a81548161ffff021916908361ffff160217905550508080611e2a90612dd4565b915050611d84565b5080826003016000828254611e479190612ea7565b909155505033600090815260078301602052604081208054859290611e6d908490612ea7565b9091555050815460058301805461ffff600160201b840481166201000090940416929092106101000261ff00199092169190911790558284611eac3390565b6001600160a01b03167fbeae048c6d270d9469f86cf6e8fedda3c60ad770f16c24c9fc131c8e9a09101d34604051611ee691815260200190565b60405180910390a450505050565b3360009081526002602052604090205460ff16151560011480611f2157506000546001600160a01b031633145b611f3d5760405162461bcd60e51b81526004016108c290612ebf565b60008281526009602052604090206005810154610100900460ff168015611f7957506000838152600460205260409020546001600160a01b0316155b611f955760405162461bcd60e51b81526004016108c290612ded565b805461ffff6201000082048116600160301b9092041611611fc85760405162461bcd60e51b81526004016108c290612e11565b6040518060400160405280611fda3390565b6001600160a01b039081168252600060209283018190528454620100009081900461ffff90811683526006870185526040909220855181546001600160a01b031916941693909317835593909201516001909101558254919091041681600261204283612e86565b91906101000a81548161ffff021916908361ffff16021790555050604051806040016040528061206f3390565b6001600160a01b039081168252600060209283018190528454620100009081900461ffff90811683526006870185526040909220855181546001600160a01b03191694169390931783559390920151600190910155825491909104168160026120d783612e86565b91906101000a81548161ffff021916908361ffff1602179055505060405180604001604052806121043390565b6001600160a01b039081168252600060209283018190528454620100009081900461ffff90811683526006870185526040909220855181546001600160a01b031916941693909317835593909201516001909101558254919091041681600261216c83612e86565b91906101000a81548161ffff021916908361ffff160217905550506003816007016000846001600160a01b03166001600160a01b0316815260200190815260200160002060008282546121bf9190612ea7565b9091555050805460058201805461ffff600160201b840481166201000090940416929092106101000261ff00199092169190911790556001600160a01b0382166122063390565b6001600160a01b03167fdf71ef5435f6a36b64f3786c2bfe76c3a8c5ef45ab0b07e471e1474ab865edcd856040516111df91815260200190565b60008181526009602052604090206005810154610100900460ff16801561227c57506000828152600460205260409020546001600160a01b0316155b6122985760405162461bcd60e51b81526004016108c290612ded565b805461ffff600160301b820481166201000090920416106122cb5760405162461bcd60e51b81526004016108c290612e11565b8054600160501b90046001600160a01b031661230957806002015434146123045760405162461bcd60e51b81526004016108c290612e3e565b61239d565b8054600160501b90046001600160a01b03166323b872dd3360028401546040516001600160e01b031960e085901b1681526001600160a01b03909216600483015230602483015260448201526064016020604051808303816000875af1158015612377573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061239b9190612e69565b505b60405180604001604052806123af3390565b6001600160a01b0390811682526001848101546020938401528454620100009081900461ffff908116600090815260068801865260409020865181546001600160a01b031916951694909417845594909301519101558254041681600261241583612e86565b91906101000a81548161ffff021916908361ffff1602179055505060405180604001604052806124423390565b6001600160a01b0390811682526001848101546020938401528454620100009081900461ffff908116600090815260068801865260409020865181546001600160a01b03191695169490941784559490930151910155825404168160026124a883612e86565b91906101000a81548161ffff021916908361ffff1602179055505060405180604001604052806124d53390565b6001600160a01b0390811682526001848101546020938401528454620100009081900461ffff908116600090815260068801865260409020865181546001600160a01b031916951694909417845594909301519101558254041681600261253b83612e86565b91906101000a81548161ffff021916908361ffff16021790555050806002015481600301600082825461256e9190612ea7565b90915550503360009081526007820160205260408120805460039290612595908490612ea7565b9091555050805460058201805461ffff600160201b840481166201000090940416929092106101000261ff00199092169190911790556002810154826125d83390565b6001600160a01b03167f776196e96aec3fe4cf30ed1a050eaa75d49499a0e3c5980a23d40d0e80fa979a60405160405180910390a45050565b60008281526009602090815260408083206001600160a01b0385168452600781019092528220546060929067ffffffffffffffff81111561265457612654612d92565b60405190808252806020026020018201604052801561269957816020015b60408051808201909152600080825260208201528152602001906001900390816126725790505b5090506000805b835462010000900461ffff168110156127475760008181526006850160205260409020546001600160a01b03808816911603612735576000818152600685016020908152604091829020825180840190935280546001600160a01b031683526001015490820152835184908490811061271b5761271b612da8565b6020026020010181905250818061273190612dd4565b9250505b8061273f81612dd4565b9150506126a0565b509095945050505050565b6000546001600160a01b0316331461277c5760405162461bcd60e51b81526004016108c290612f5b565b6001600160a01b0381166127e15760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108c2565b6127ea816128e5565b50565b6000546001600160a01b031633146128175760405162461bcd60e51b81526004016108c290612f5b565b6001600160a01b03166000908152600260205260409020805460ff19811660ff90911615179055565b600080546001600160a01b0316331461286b5760405162461bcd60e51b81526004016108c290612f5b565b506001600160a01b03811660009081526002602052604090205460ff165b919050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b1790526128e0908490612935565b505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600061298a826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316612a079092919063ffffffff16565b8051909150156128e057808060200190518101906129a89190612e69565b6128e05760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016108c2565b6060612a168484600085612a20565b90505b9392505050565b606082471015612a815760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b60648201526084016108c2565b6001600160a01b0385163b612ad85760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016108c2565b600080866001600160a01b03168587604051612af49190612fd9565b60006040518083038185875af1925050503d8060008114612b31576040519150601f19603f3d011682016040523d82523d6000602084013e612b36565b606091505b5091509150612b46828286612b51565b979650505050505050565b60608315612b60575081612a19565b825115612b705782518084602001fd5b8160405162461bcd60e51b81526004016108c29190612ff5565b600060208284031215612b9c57600080fd5b5035919050565b602080825282518282018190526000919060409081850190868401855b82811015612bee57815180516001600160a01b03168552860151868501529284019290850190600101612bc0565b5091979650505050505050565b803561ffff8116811461288957600080fd5b80151581146127ea57600080fd5b80356001600160a01b038116811461288957600080fd5b60008060008060808587031215612c4857600080fd5b612c5185612bfb565b93506020850135612c6181612c0d565b9250612c6f60408601612c1b565b9396929550929360600135925050565b60008060408385031215612c9257600080fd5b82359150612ca260208401612c1b565b90509250929050565b60008060408385031215612cbe57600080fd5b82359150612ca260208401612bfb565b600060208284031215612ce057600080fd5b612a1982612c1b565b60008060408385031215612cfc57600080fd5b823591506020830135612d0e81612c0d565b809150509250929050565b600080600080600060a08688031215612d3157600080fd5b85359450612d4160208701612bfb565b93506040860135612d5181612c0d565b9250612d5f60608701612c1b565b949793965091946080013592915050565b60008060408385031215612d8357600080fd5b50508035926020909101359150565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600060018201612de657612de6612dbe565b5060010190565b6020808252600a90820152694e4f545f41435449564560b01b604082015260600190565b602080825260139082015272455843454544535f4d41585f454e545249455360681b604082015260600190565b602080825260119082015270125390d3d4949150d517d4105653515395607a1b604082015260600190565b600060208284031215612e7b57600080fd5b8151612a1981612c0d565b600061ffff808316818103612e9d57612e9d612dbe565b6001019392505050565b60008219821115612eba57612eba612dbe565b500190565b6020808252600990820152686f6e6c7950726f787960b81b604082015260600190565b600061ffff83811690831681811015612efd57612efd612dbe565b039392505050565b6000816000190483118215151615612f1f57612f1f612dbe565b500290565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600060208284031215612fa257600080fd5b5051919050565b60005b83811015612fc4578181015183820152602001612fac565b83811115612fd3576000848401525b50505050565b60008251612feb818460208701612fa9565b9190910192915050565b6020815260008251806020840152613014816040850160208701612fa9565b601f01601f1916919091016040019291505056fea264697066735822122030e784a86b0805f52952d8c0cdebd491caf9dda77e16edd9a7ffc9e9c3fe901564736f6c634300080e0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000ab95359e56c8976979d867ced393d320f1534dfb
-----Decoded View---------------
Arg [0] : treasury_ (address): 0xAb95359e56c8976979D867ced393d320f1534dfB
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000ab95359e56c8976979d867ced393d320f1534dfb
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 26 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|---|---|---|---|---|
ETH | 100.00% | $3,116.07 | 0.01 | $31.16 |
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.