Feature Tip: Add private address tag to any address under My Name Tag !
More Info
Private Name Tags
Latest 25 from a total of 1,857 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Deposit | 21347527 | 21 days ago | IN | 0 ETH | 0.00043513 | ||||
Claim Rewards | 20379504 | 156 days ago | IN | 0 ETH | 0.0002263 | ||||
Claim Rewards | 20168140 | 185 days ago | IN | 0 ETH | 0.00080647 | ||||
Withdraw | 20051459 | 202 days ago | IN | 0 ETH | 0.00054481 | ||||
Deposit | 20051447 | 202 days ago | IN | 0 ETH | 0.00075747 | ||||
Withdraw | 20051443 | 202 days ago | IN | 0 ETH | 0.0007014 | ||||
Claim Rewards | 20051360 | 202 days ago | IN | 0 ETH | 0.00031531 | ||||
Withdraw | 19657569 | 257 days ago | IN | 0 ETH | 0.0022871 | ||||
Withdraw | 19653526 | 257 days ago | IN | 0 ETH | 0.00148243 | ||||
Claim Rewards | 19653523 | 257 days ago | IN | 0 ETH | 0.00089395 | ||||
Withdraw | 19586559 | 267 days ago | IN | 0 ETH | 0.00309209 | ||||
Claim Rewards | 19433732 | 288 days ago | IN | 0 ETH | 0.00506689 | ||||
Claim Rewards | 19387158 | 295 days ago | IN | 0 ETH | 0.00533908 | ||||
Deposit | 19252046 | 314 days ago | IN | 0 ETH | 0.00682976 | ||||
Claim Rewards | 19149811 | 328 days ago | IN | 0 ETH | 0.0011116 | ||||
Withdraw | 19149811 | 328 days ago | IN | 0 ETH | 0.0077184 | ||||
Claim Rewards | 19149066 | 328 days ago | IN | 0 ETH | 0.00105559 | ||||
Withdraw | 19149066 | 328 days ago | IN | 0 ETH | 0.00514567 | ||||
Claim Rewards | 19123244 | 332 days ago | IN | 0 ETH | 0.00129202 | ||||
Withdraw | 19064857 | 340 days ago | IN | 0 ETH | 0.00591013 | ||||
Claim Rewards | 19035849 | 344 days ago | IN | 0 ETH | 0.00355552 | ||||
Withdraw | 18903432 | 362 days ago | IN | 0 ETH | 0.01203135 | ||||
Claim Rewards | 18822334 | 374 days ago | IN | 0 ETH | 0.00439445 | ||||
Claim Rewards | 18702822 | 391 days ago | IN | 0 ETH | 0.0017448 | ||||
Withdraw | 18615817 | 403 days ago | IN | 0 ETH | 0.00618487 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
SinStaking
Compiler Version
v0.8.10+commit.fc410830
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: Unlicensed pragma solidity ^0.8.0; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/Pausable.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/token/ERC721/utils/ERC721Holder.sol"; import "@openzeppelin/contracts/utils/math/Math.sol"; import "@openzeppelin/contracts/utils/structs/EnumerableSet.sol"; /* _________ __ .__ _____ __ .__ ________ .__.__ / _____/__.__. _____ ___________ _/ |_| |__ ___.__. _/ ____\___________ _/ |_| |__ ____ \______ \ _______ _|__| | ______ \_____ < | |/ \\____ \__ \\ __\ | < | | \ __\/ _ \_ __ \ \ __\ | \_/ __ \ | | \_/ __ \ \/ / | | / ___/ / \___ | Y Y \ |_> > __ \| | | Y \___ | | | ( <_> ) | \/ | | | Y \ ___/ | ` \ ___/\ /| | |__\___ \ /_______ / ____|__|_| / __(____ /__| |___| / ____| |__| \____/|__| |__| |___| /\___ > /_______ /\___ >\_/ |__|____/____ > \/\/ \/|__| \/ \/\/ \/ \/ \/ \/ \/ I see you nerd! ⌐⊙_⊙ */ contract SinStaking is Ownable, ERC721Holder, Pausable { using EnumerableSet for EnumerableSet.UintSet; IERC721 public sftdContractInstance; IERC20 public sinsTokenContractInstance; // Number of tokens per block. There are approx 6k blocks per day and 10 tokens are represented by 10^19 (after considering decimals). uint256 public rate; // Expiration block number. uint256 public expirationBlockNumber; // Mapping of address to token numbers deposited mapping(address => EnumerableSet.UintSet) private _deposits; // Mapping of address -> token -> block number mapping(address => mapping(uint256 => uint256)) public _depositBlocks; uint256 private _ogSupply; constructor(address sympathyForTheDevilsContractAddress, uint256 initialRate, uint256 numberOfExpirationBlocks, address sinsTokenAddress, uint256 ogSupply) { sftdContractInstance = IERC721(sympathyForTheDevilsContractAddress); rate = initialRate; expirationBlockNumber = block.number + numberOfExpirationBlocks; sinsTokenContractInstance = IERC20(sinsTokenAddress); _ogSupply = ogSupply; _pause(); } function setAddresses(address sympathyForTheDevilsContractAddress, address sinsTokenAddress) public onlyOwner { sftdContractInstance = IERC721(sympathyForTheDevilsContractAddress); sinsTokenContractInstance = IERC20(sinsTokenAddress); } function setRate(uint256 newRate) public onlyOwner { rate = newRate; } function setExpiration(uint256 numberOfExpirationBlocks) public onlyOwner { expirationBlockNumber = block.number + numberOfExpirationBlocks; } function pause() public onlyOwner { _pause(); } function unpause() public onlyOwner { _unpause(); } function depositsOf(address owner) external view returns (uint256[] memory) { EnumerableSet.UintSet storage depositSet = _deposits[owner]; uint256[] memory tokenIds = new uint256[](depositSet.length()); for (uint256 i; i < depositSet.length(); i++) { tokenIds[i] = depositSet.at(i); } return tokenIds; } function hasDeposits(address owner, uint256[] memory tokenIds) external view returns (bool) { EnumerableSet.UintSet storage depositSet = _deposits[owner]; for (uint256 i = 0; i < tokenIds.length; i++) { if (! depositSet.contains(tokenIds[i])) { return false; } } return true; } function hasDepositsOrOwns(address owner, uint256[] memory tokenIds) external view returns (bool) { EnumerableSet.UintSet storage depositSet = _deposits[owner]; for (uint256 i = 0; i < tokenIds.length; i++) { if (! depositSet.contains(tokenIds[i]) && sftdContractInstance.ownerOf(tokenIds[i]) != owner) { return false; } } return true; } function calculateRewards(address owner, uint256[] memory tokenIds) external view returns (uint256) { uint256 reward = 0; for (uint256 i; i < tokenIds.length; i++) { reward += calculateReward(owner, tokenIds[i]); } return reward; } function calculateReward(address owner, uint256 tokenId) public view returns (uint256) { require(Math.min(block.number, expirationBlockNumber) >= _depositBlocks[owner][tokenId], "Invalid block numbers"); return rate * (_deposits[owner].contains(tokenId) ? 1 : 0) * (tokenId > _ogSupply ? 2 : 1) * (Math.min(block.number, expirationBlockNumber) - _depositBlocks[owner][tokenId]); } function claimRewards(uint256[] calldata tokenIds) public whenNotPaused { uint256 reward = 0; uint256 currentBlock = Math.min(block.number, expirationBlockNumber); for (uint256 i; i < tokenIds.length; i++) { reward += calculateReward(msg.sender, tokenIds[i]); _depositBlocks[msg.sender][tokenIds[i]] = currentBlock; } if (reward > 0) { sinsTokenContractInstance.transfer(msg.sender, reward); } } function deposit(uint256[] calldata tokenIds) external whenNotPaused { require(msg.sender != address(sftdContractInstance), "Invalid address"); uint256 currentBlock = Math.min(block.number, expirationBlockNumber); for (uint256 i = 0; i < tokenIds.length; i++) { sftdContractInstance.safeTransferFrom(msg.sender, address(this), tokenIds[i], ""); _deposits[msg.sender].add(tokenIds[i]); _depositBlocks[msg.sender][tokenIds[i]] = currentBlock; } } function withdraw(uint256[] calldata tokenIds) external whenNotPaused { claimRewards(tokenIds); for (uint256 i; i < tokenIds.length; i++) { require(_deposits[msg.sender].contains(tokenIds[i]), "This token has not been deposited"); _deposits[msg.sender].remove(tokenIds[i]); sftdContractInstance.safeTransferFrom(address(this), msg.sender, tokenIds[i], ""); } } function withdrawTokens(uint256 tokenAmount) external onlyOwner { sinsTokenContractInstance.transfer(msg.sender, tokenAmount); } }
// SPDX-License-Identifier: MIT 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 () { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor () { _paused = false; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { require(!paused(), "Pausable: paused"); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { require(paused(), "Pausable: not paused"); _; } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } }
// SPDX-License-Identifier: MIT 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 `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address sender, address recipient, uint256 amount) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom(address from, address to, uint256 tokenId) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom(address from, address to, uint256 tokenId) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom(address from, address to, uint256 tokenId, bytes calldata data) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received(address operator, address from, uint256 tokenId, bytes calldata data) external returns (bytes4); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC721Receiver.sol"; /** * @dev Implementation of the {IERC721Receiver} interface. * * Accepts all token transfers. * Make sure the contract is able to use its token with {IERC721-safeTransferFrom}, {IERC721-approve} or {IERC721-setApprovalForAll}. */ contract ERC721Holder is IERC721Receiver { /** * @dev See {IERC721Receiver-onERC721Received}. * * Always returns `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received(address, address, uint256, bytes memory) public virtual override returns (bytes4) { return this.onERC721Received.selector; } }
// SPDX-License-Identifier: MIT 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) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a >= b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow, so we distribute return (a / 2) + (b / 2) + ((a % 2 + b % 2) / 2); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Library for managing * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive * types. * * Sets have the following properties: * * - Elements are added, removed, and checked for existence in constant time * (O(1)). * - Elements are enumerated in O(n). No guarantees are made on the ordering. * * ``` * contract Example { * // Add the library methods * using EnumerableSet for EnumerableSet.AddressSet; * * // Declare a set state variable * EnumerableSet.AddressSet private mySet; * } * ``` * * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`) * and `uint256` (`UintSet`) are supported. */ library EnumerableSet { // To implement this library for multiple types with as little code // repetition as possible, we write it in terms of a generic Set type with // bytes32 values. // The Set implementation uses private functions, and user-facing // implementations (such as AddressSet) are just wrappers around the // underlying Set. // This means that we can only create new EnumerableSets for types that fit // in bytes32. struct Set { // Storage of set values bytes32[] _values; // Position of the value in the `values` array, plus 1 because index 0 // means a value is not in the set. mapping (bytes32 => uint256) _indexes; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function _add(Set storage set, bytes32 value) private returns (bool) { if (!_contains(set, value)) { set._values.push(value); // The value is stored at length-1, but we add 1 to all indexes // and use 0 as a sentinel value set._indexes[value] = set._values.length; return true; } else { return false; } } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function _remove(Set storage set, bytes32 value) private returns (bool) { // We read and store the value's index to prevent multiple reads from the same storage slot uint256 valueIndex = set._indexes[value]; if (valueIndex != 0) { // Equivalent to contains(set, value) // To delete an element from the _values array in O(1), we swap the element to delete with the last one in // the array, and then remove the last element (sometimes called as 'swap and pop'). // This modifies the order of the array, as noted in {at}. uint256 toDeleteIndex = valueIndex - 1; uint256 lastIndex = set._values.length - 1; // When the value to delete is the last one, the swap operation is unnecessary. However, since this occurs // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement. bytes32 lastvalue = set._values[lastIndex]; // Move the last value to the index where the value to delete is set._values[toDeleteIndex] = lastvalue; // Update the index for the moved value set._indexes[lastvalue] = valueIndex; // Replace lastvalue's index to valueIndex // Delete the slot where the moved value was stored set._values.pop(); // Delete the index for the deleted slot delete set._indexes[value]; return true; } else { return false; } } /** * @dev Returns true if the value is in the set. O(1). */ function _contains(Set storage set, bytes32 value) private view returns (bool) { return set._indexes[value] != 0; } /** * @dev Returns the number of values on the set. O(1). */ function _length(Set storage set) private view returns (uint256) { return set._values.length; } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function _at(Set storage set, uint256 index) private view returns (bytes32) { require(set._values.length > index, "EnumerableSet: index out of bounds"); return set._values[index]; } // Bytes32Set struct Bytes32Set { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(Bytes32Set storage set, bytes32 value) internal returns (bool) { return _add(set._inner, value); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) { return _remove(set._inner, value); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) { return _contains(set._inner, value); } /** * @dev Returns the number of values in the set. O(1). */ function length(Bytes32Set storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) { return _at(set._inner, index); } // AddressSet struct AddressSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(AddressSet storage set, address value) internal returns (bool) { return _add(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(AddressSet storage set, address value) internal returns (bool) { return _remove(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(AddressSet storage set, address value) internal view returns (bool) { return _contains(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Returns the number of values in the set. O(1). */ function length(AddressSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(AddressSet storage set, uint256 index) internal view returns (address) { return address(uint160(uint256(_at(set._inner, index)))); } // UintSet struct UintSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(UintSet storage set, uint256 value) internal returns (bool) { return _add(set._inner, bytes32(value)); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(UintSet storage set, uint256 value) internal returns (bool) { return _remove(set._inner, bytes32(value)); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(UintSet storage set, uint256 value) internal view returns (bool) { return _contains(set._inner, bytes32(value)); } /** * @dev Returns the number of values on the set. O(1). */ function length(UintSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(UintSet storage set, uint256 index) internal view returns (uint256) { return uint256(_at(set._inner, index)); } }
{ "remappings": [], "optimizer": { "enabled": false, "runs": 200 }, "evmVersion": "london", "libraries": {}, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"sympathyForTheDevilsContractAddress","type":"address"},{"internalType":"uint256","name":"initialRate","type":"uint256"},{"internalType":"uint256","name":"numberOfExpirationBlocks","type":"uint256"},{"internalType":"address","name":"sinsTokenAddress","type":"address"},{"internalType":"uint256","name":"ogSupply","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"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":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"_depositBlocks","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"calculateReward","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"calculateRewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"claimRewards","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"depositsOf","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"expirationBlockNumber","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"hasDeposits","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"hasDepositsOrOwns","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"onERC721Received","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sympathyForTheDevilsContractAddress","type":"address"},{"internalType":"address","name":"sinsTokenAddress","type":"address"}],"name":"setAddresses","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfExpirationBlocks","type":"uint256"}],"name":"setExpiration","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newRate","type":"uint256"}],"name":"setRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sftdContractInstance","outputs":[{"internalType":"contract IERC721","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sinsTokenContractInstance","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenAmount","type":"uint256"}],"name":"withdrawTokens","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b5060405162002ff338038062002ff383398181016040528101906200003791906200033b565b600062000049620001c060201b60201c565b9050806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35060008060146101000a81548160ff02191690831515021790555084600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550836003819055508243620001579190620003f2565b60048190555081600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600781905550620001b5620001c860201b60201c565b505050505062000500565b600033905090565b620001d86200028060201b60201c565b156200021b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200021290620004b0565b60405180910390fd5b6001600060146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25862000267620001c060201b60201c565b604051620002769190620004e3565b60405180910390a1565b60008060149054906101000a900460ff16905090565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620002c8826200029b565b9050919050565b620002da81620002bb565b8114620002e657600080fd5b50565b600081519050620002fa81620002cf565b92915050565b6000819050919050565b620003158162000300565b81146200032157600080fd5b50565b60008151905062000335816200030a565b92915050565b600080600080600060a086880312156200035a576200035962000296565b5b60006200036a88828901620002e9565b95505060206200037d8882890162000324565b9450506040620003908882890162000324565b9350506060620003a388828901620002e9565b9250506080620003b68882890162000324565b9150509295509295909350565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000620003ff8262000300565b91506200040c8362000300565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115620004445762000443620003c3565b5b828201905092915050565b600082825260208201905092915050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b6000620004986010836200044f565b9150620004a58262000460565b602082019050919050565b60006020820190508181036000830152620004cb8162000489565b9050919050565b620004dd81620002bb565b82525050565b6000602082019050620004fa6000830184620004d2565b92915050565b612ae380620005106000396000f3fe608060405234801561001057600080fd5b50600436106101585760003560e01c80635eac6239116100c3578063983d95ce1161007c578063983d95ce14610379578063abb91ef514610395578063b343ae14146103c5578063c754159b146103f5578063e3a9db1a14610413578063f2fde38b1461044357610158565b80635eac6239146102f1578063715018a61461030d5780637222a686146103175780638456cb59146103355780638da5cb5b1461033f57806390107afe1461035d57610158565b80633f4ba83a116101155780633f4ba83a146102435780634fb9c7c91461024d578063515a20ba1461027d57806356e2e0f114610299578063598b8e71146102b75780635c975abb146102d357610158565b8063068c526f1461015d578063150b7a021461018d5780631852e8d9146101bd5780632c4e722e146101ed578063315a095d1461020b57806334fcf43714610227575b600080fd5b61017760048036038101906101729190611e3f565b61045f565b6040516101849190611eaa565b60405180910390f35b6101a760048036038101906101a29190611f7a565b6104c1565b6040516101b49190612038565b60405180910390f35b6101d760048036038101906101d29190612053565b6104d5565b6040516101e49190611eaa565b60405180910390f35b6101f561067d565b6040516102029190611eaa565b60405180910390f35b61022560048036038101906102209190612093565b610683565b005b610241600480360381019061023c9190612093565b6107a3565b005b61024b610829565b005b61026760048036038101906102629190611e3f565b6108af565b60405161027491906120db565b60405180910390f35b61029760048036038101906102929190612093565b610a4a565b005b6102a1610adb565b6040516102ae9190611eaa565b60405180910390f35b6102d160048036038101906102cc9190612151565b610ae1565b005b6102db610d74565b6040516102e891906120db565b60405180910390f35b61030b60048036038101906103069190612151565b610d8a565b005b610315610f54565b005b61031f61108e565b60405161032c91906121fd565b60405180910390f35b61033d6110b4565b005b61034761113a565b6040516103549190612227565b60405180910390f35b61037760048036038101906103729190612242565b611163565b005b610393600480360381019061038e9190612151565b611265565b005b6103af60048036038101906103aa9190611e3f565b61149b565b6040516103bc91906120db565b60405180910390f35b6103df60048036038101906103da9190612053565b611547565b6040516103ec9190611eaa565b60405180910390f35b6103fd61156c565b60405161040a91906122a3565b60405180910390f35b61042d600480360381019061042891906122be565b611592565b60405161043a91906123a9565b60405180910390f35b61045d600480360381019061045891906122be565b61168f565b005b6000806000905060005b83518110156104b65761049685858381518110610489576104886123cb565b5b60200260200101516104d5565b826104a19190612429565b915080806104ae9061247f565b915050610469565b508091505092915050565b600063150b7a0260e01b9050949350505050565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000205461053443600454611838565b1015610575576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161056c90612525565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000838152602001908152602001600020546105d243600454611838565b6105dc9190612545565b60075483116105ec5760016105ef565b60025b60ff1661064384600560008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002061185190919063ffffffff16565b61064e576000610651565b60015b60ff166003546106619190612579565b61066b9190612579565b6106759190612579565b905092915050565b60035481565b61068b61186b565b73ffffffffffffffffffffffffffffffffffffffff166106a961113a565b73ffffffffffffffffffffffffffffffffffffffff16146106ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106f69061261f565b60405180910390fd5b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff1660e01b815260040161075c92919061263f565b6020604051808303816000875af115801561077b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061079f9190612694565b5050565b6107ab61186b565b73ffffffffffffffffffffffffffffffffffffffff166107c961113a565b73ffffffffffffffffffffffffffffffffffffffff161461081f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108169061261f565b60405180910390fd5b8060038190555050565b61083161186b565b73ffffffffffffffffffffffffffffffffffffffff1661084f61113a565b73ffffffffffffffffffffffffffffffffffffffff16146108a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161089c9061261f565b60405180910390fd5b6108ad611873565b565b600080600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905060005b8351811015610a3d5761092c848281518110610915576109146123cb565b5b60200260200101518361185190919063ffffffff16565b158015610a1a57508473ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e86848151811061099c5761099b6123cb565b5b60200260200101516040518263ffffffff1660e01b81526004016109c09190611eaa565b602060405180830381865afa1580156109dd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a0191906126d6565b73ffffffffffffffffffffffffffffffffffffffff1614155b15610a2a57600092505050610a44565b8080610a359061247f565b9150506108f6565b5060019150505b92915050565b610a5261186b565b73ffffffffffffffffffffffffffffffffffffffff16610a7061113a565b73ffffffffffffffffffffffffffffffffffffffff1614610ac6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610abd9061261f565b60405180910390fd5b8043610ad29190612429565b60048190555050565b60045481565b610ae9610d74565b15610b29576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b209061274f565b60405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415610bba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bb1906127bb565b60405180910390fd5b6000610bc843600454611838565b905060005b83839050811015610d6e57600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b88d4fde3330878786818110610c2b57610c2a6123cb565b5b905060200201356040518463ffffffff1660e01b8152600401610c5093929190612812565b600060405180830381600087803b158015610c6a57600080fd5b505af1158015610c7e573d6000803e3d6000fd5b50505050610cec848483818110610c9857610c976123cb565b5b90506020020135600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002061191490919063ffffffff16565b5081600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000868685818110610d4257610d416123cb565b5b905060200201358152602001908152602001600020819055508080610d669061247f565b915050610bcd565b50505050565b60008060149054906101000a900460ff16905090565b610d92610d74565b15610dd2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dc99061274f565b60405180910390fd5b600080610de143600454611838565b905060005b84849050811015610ea257610e1433868684818110610e0857610e076123cb565b5b905060200201356104d5565b83610e1f9190612429565b925081600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000878785818110610e7657610e756123cb565b5b905060200201358152602001908152602001600020819055508080610e9a9061247f565b915050610de6565b506000821115610f4e57600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33846040518363ffffffff1660e01b8152600401610f0992919061263f565b6020604051808303816000875af1158015610f28573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f4c9190612694565b505b50505050565b610f5c61186b565b73ffffffffffffffffffffffffffffffffffffffff16610f7a61113a565b73ffffffffffffffffffffffffffffffffffffffff1614610fd0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fc79061261f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6110bc61186b565b73ffffffffffffffffffffffffffffffffffffffff166110da61113a565b73ffffffffffffffffffffffffffffffffffffffff1614611130576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111279061261f565b60405180910390fd5b61113861192e565b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61116b61186b565b73ffffffffffffffffffffffffffffffffffffffff1661118961113a565b73ffffffffffffffffffffffffffffffffffffffff16146111df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111d69061261f565b60405180910390fd5b81600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b61126d610d74565b156112ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112a49061274f565b60405180910390fd5b6112b78282610d8a565b60005b828290508110156114965761132f8383838181106112db576112da6123cb565b5b90506020020135600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002061185190919063ffffffff16565b61136e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611365906128ce565b60405180910390fd5b6113d8838383818110611384576113836123cb565b5b90506020020135600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206119d190919063ffffffff16565b50600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b88d4fde303386868681811061142c5761142b6123cb565b5b905060200201356040518463ffffffff1660e01b815260040161145193929190612812565b600060405180830381600087803b15801561146b57600080fd5b505af115801561147f573d6000803e3d6000fd5b50505050808061148e9061247f565b9150506112ba565b505050565b600080600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905060005b835181101561153a57611518848281518110611501576115006123cb565b5b60200260200101518361185190919063ffffffff16565b61152757600092505050611541565b80806115329061247f565b9150506114e2565b5060019150505b92915050565b6006602052816000526040600020602052806000526040600020600091509150505481565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60606000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905060006115e2826119eb565b67ffffffffffffffff8111156115fb576115fa611cc6565b5b6040519080825280602002602001820160405280156116295781602001602082028036833780820191505090505b50905060005b611638836119eb565b811015611684576116528184611a0090919063ffffffff16565b828281518110611665576116646123cb565b5b602002602001018181525050808061167c9061247f565b91505061162f565b508092505050919050565b61169761186b565b73ffffffffffffffffffffffffffffffffffffffff166116b561113a565b73ffffffffffffffffffffffffffffffffffffffff161461170b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117029061261f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561177b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161177290612960565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60008183106118475781611849565b825b905092915050565b6000611863836000018360001b611a1a565b905092915050565b600033905090565b61187b610d74565b6118ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118b1906129cc565b60405180910390fd5b60008060146101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6118fd61186b565b60405161190a9190612227565b60405180910390a1565b6000611926836000018360001b611a3d565b905092915050565b611936610d74565b15611976576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161196d9061274f565b60405180910390fd5b6001600060146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586119ba61186b565b6040516119c79190612227565b60405180910390a1565b60006119e3836000018360001b611aad565b905092915050565b60006119f982600001611bb9565b9050919050565b6000611a0f8360000183611bca565b60001c905092915050565b600080836001016000848152602001908152602001600020541415905092915050565b6000611a498383611a1a565b611aa2578260000182908060018154018082558091505060019003906000526020600020016000909190919091505582600001805490508360010160008481526020019081526020016000208190555060019050611aa7565b600090505b92915050565b60008083600101600084815260200190815260200160002054905060008114611bad576000600182611adf9190612545565b9050600060018660000180549050611af79190612545565b90506000866000018281548110611b1157611b106123cb565b5b9060005260206000200154905080876000018481548110611b3557611b346123cb565b5b9060005260206000200181905550838760010160008381526020019081526020016000208190555086600001805480611b7157611b706129ec565b5b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050611bb3565b60009150505b92915050565b600081600001805490509050919050565b600081836000018054905011611c15576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c0c90612a8d565b60405180910390fd5b826000018281548110611c2b57611c2a6123cb565b5b9060005260206000200154905092915050565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000611c7d82611c52565b9050919050565b611c8d81611c72565b8114611c9857600080fd5b50565b600081359050611caa81611c84565b92915050565b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b611cfe82611cb5565b810181811067ffffffffffffffff82111715611d1d57611d1c611cc6565b5b80604052505050565b6000611d30611c3e565b9050611d3c8282611cf5565b919050565b600067ffffffffffffffff821115611d5c57611d5b611cc6565b5b602082029050602081019050919050565b600080fd5b6000819050919050565b611d8581611d72565b8114611d9057600080fd5b50565b600081359050611da281611d7c565b92915050565b6000611dbb611db684611d41565b611d26565b90508083825260208201905060208402830185811115611dde57611ddd611d6d565b5b835b81811015611e075780611df38882611d93565b845260208401935050602081019050611de0565b5050509392505050565b600082601f830112611e2657611e25611cb0565b5b8135611e36848260208601611da8565b91505092915050565b60008060408385031215611e5657611e55611c48565b5b6000611e6485828601611c9b565b925050602083013567ffffffffffffffff811115611e8557611e84611c4d565b5b611e9185828601611e11565b9150509250929050565b611ea481611d72565b82525050565b6000602082019050611ebf6000830184611e9b565b92915050565b600080fd5b600067ffffffffffffffff821115611ee557611ee4611cc6565b5b611eee82611cb5565b9050602081019050919050565b82818337600083830152505050565b6000611f1d611f1884611eca565b611d26565b905082815260208101848484011115611f3957611f38611ec5565b5b611f44848285611efb565b509392505050565b600082601f830112611f6157611f60611cb0565b5b8135611f71848260208601611f0a565b91505092915050565b60008060008060808587031215611f9457611f93611c48565b5b6000611fa287828801611c9b565b9450506020611fb387828801611c9b565b9350506040611fc487828801611d93565b925050606085013567ffffffffffffffff811115611fe557611fe4611c4d565b5b611ff187828801611f4c565b91505092959194509250565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61203281611ffd565b82525050565b600060208201905061204d6000830184612029565b92915050565b6000806040838503121561206a57612069611c48565b5b600061207885828601611c9b565b925050602061208985828601611d93565b9150509250929050565b6000602082840312156120a9576120a8611c48565b5b60006120b784828501611d93565b91505092915050565b60008115159050919050565b6120d5816120c0565b82525050565b60006020820190506120f060008301846120cc565b92915050565b600080fd5b60008083601f84011261211157612110611cb0565b5b8235905067ffffffffffffffff81111561212e5761212d6120f6565b5b60208301915083602082028301111561214a57612149611d6d565b5b9250929050565b6000806020838503121561216857612167611c48565b5b600083013567ffffffffffffffff81111561218657612185611c4d565b5b612192858286016120fb565b92509250509250929050565b6000819050919050565b60006121c36121be6121b984611c52565b61219e565b611c52565b9050919050565b60006121d5826121a8565b9050919050565b60006121e7826121ca565b9050919050565b6121f7816121dc565b82525050565b600060208201905061221260008301846121ee565b92915050565b61222181611c72565b82525050565b600060208201905061223c6000830184612218565b92915050565b6000806040838503121561225957612258611c48565b5b600061226785828601611c9b565b925050602061227885828601611c9b565b9150509250929050565b600061228d826121ca565b9050919050565b61229d81612282565b82525050565b60006020820190506122b86000830184612294565b92915050565b6000602082840312156122d4576122d3611c48565b5b60006122e284828501611c9b565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61232081611d72565b82525050565b60006123328383612317565b60208301905092915050565b6000602082019050919050565b6000612356826122eb565b61236081856122f6565b935061236b83612307565b8060005b8381101561239c5781516123838882612326565b975061238e8361233e565b92505060018101905061236f565b5085935050505092915050565b600060208201905081810360008301526123c3818461234b565b905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061243482611d72565b915061243f83611d72565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115612474576124736123fa565b5b828201905092915050565b600061248a82611d72565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156124bd576124bc6123fa565b5b600182019050919050565b600082825260208201905092915050565b7f496e76616c696420626c6f636b206e756d626572730000000000000000000000600082015250565b600061250f6015836124c8565b915061251a826124d9565b602082019050919050565b6000602082019050818103600083015261253e81612502565b9050919050565b600061255082611d72565b915061255b83611d72565b92508282101561256e5761256d6123fa565b5b828203905092915050565b600061258482611d72565b915061258f83611d72565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156125c8576125c76123fa565b5b828202905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006126096020836124c8565b9150612614826125d3565b602082019050919050565b60006020820190508181036000830152612638816125fc565b9050919050565b60006040820190506126546000830185612218565b6126616020830184611e9b565b9392505050565b612671816120c0565b811461267c57600080fd5b50565b60008151905061268e81612668565b92915050565b6000602082840312156126aa576126a9611c48565b5b60006126b88482850161267f565b91505092915050565b6000815190506126d081611c84565b92915050565b6000602082840312156126ec576126eb611c48565b5b60006126fa848285016126c1565b91505092915050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b60006127396010836124c8565b915061274482612703565b602082019050919050565b600060208201905081810360008301526127688161272c565b9050919050565b7f496e76616c696420616464726573730000000000000000000000000000000000600082015250565b60006127a5600f836124c8565b91506127b08261276f565b602082019050919050565b600060208201905081810360008301526127d481612798565b9050919050565b600082825260208201905092915050565b50565b60006127fc6000836127db565b9150612807826127ec565b600082019050919050565b60006080820190506128276000830186612218565b6128346020830185612218565b6128416040830184611e9b565b8181036060830152612852816127ef565b9050949350505050565b7f5468697320746f6b656e20686173206e6f74206265656e206465706f7369746560008201527f6400000000000000000000000000000000000000000000000000000000000000602082015250565b60006128b86021836124c8565b91506128c38261285c565b604082019050919050565b600060208201905081810360008301526128e7816128ab565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061294a6026836124c8565b9150612955826128ee565b604082019050919050565b600060208201905081810360008301526129798161293d565b9050919050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b60006129b66014836124c8565b91506129c182612980565b602082019050919050565b600060208201905081810360008301526129e5816129a9565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f456e756d657261626c655365743a20696e646578206f7574206f6620626f756e60008201527f6473000000000000000000000000000000000000000000000000000000000000602082015250565b6000612a776022836124c8565b9150612a8282612a1b565b604082019050919050565b60006020820190508181036000830152612aa681612a6a565b905091905056fea264697066735822122052639c40be9eb645fe5d69eb40f84cd5497403d719427407ed53eff26c2ffd2864736f6c634300080a003300000000000000000000000036d02dcd463dfd71e4a07d8aa946742da94e8d3a0000000000000000000000000000000000000000000000000005ebd312a02aaa00000000000000000000000000000000000000000000000000000000014e2ae0000000000000000000000000d96e64205c261ed36bb15b424bfec58c2a5510d40000000000000000000000000000000000000000000000000000000000001a0a
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101585760003560e01c80635eac6239116100c3578063983d95ce1161007c578063983d95ce14610379578063abb91ef514610395578063b343ae14146103c5578063c754159b146103f5578063e3a9db1a14610413578063f2fde38b1461044357610158565b80635eac6239146102f1578063715018a61461030d5780637222a686146103175780638456cb59146103355780638da5cb5b1461033f57806390107afe1461035d57610158565b80633f4ba83a116101155780633f4ba83a146102435780634fb9c7c91461024d578063515a20ba1461027d57806356e2e0f114610299578063598b8e71146102b75780635c975abb146102d357610158565b8063068c526f1461015d578063150b7a021461018d5780631852e8d9146101bd5780632c4e722e146101ed578063315a095d1461020b57806334fcf43714610227575b600080fd5b61017760048036038101906101729190611e3f565b61045f565b6040516101849190611eaa565b60405180910390f35b6101a760048036038101906101a29190611f7a565b6104c1565b6040516101b49190612038565b60405180910390f35b6101d760048036038101906101d29190612053565b6104d5565b6040516101e49190611eaa565b60405180910390f35b6101f561067d565b6040516102029190611eaa565b60405180910390f35b61022560048036038101906102209190612093565b610683565b005b610241600480360381019061023c9190612093565b6107a3565b005b61024b610829565b005b61026760048036038101906102629190611e3f565b6108af565b60405161027491906120db565b60405180910390f35b61029760048036038101906102929190612093565b610a4a565b005b6102a1610adb565b6040516102ae9190611eaa565b60405180910390f35b6102d160048036038101906102cc9190612151565b610ae1565b005b6102db610d74565b6040516102e891906120db565b60405180910390f35b61030b60048036038101906103069190612151565b610d8a565b005b610315610f54565b005b61031f61108e565b60405161032c91906121fd565b60405180910390f35b61033d6110b4565b005b61034761113a565b6040516103549190612227565b60405180910390f35b61037760048036038101906103729190612242565b611163565b005b610393600480360381019061038e9190612151565b611265565b005b6103af60048036038101906103aa9190611e3f565b61149b565b6040516103bc91906120db565b60405180910390f35b6103df60048036038101906103da9190612053565b611547565b6040516103ec9190611eaa565b60405180910390f35b6103fd61156c565b60405161040a91906122a3565b60405180910390f35b61042d600480360381019061042891906122be565b611592565b60405161043a91906123a9565b60405180910390f35b61045d600480360381019061045891906122be565b61168f565b005b6000806000905060005b83518110156104b65761049685858381518110610489576104886123cb565b5b60200260200101516104d5565b826104a19190612429565b915080806104ae9061247f565b915050610469565b508091505092915050565b600063150b7a0260e01b9050949350505050565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000205461053443600454611838565b1015610575576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161056c90612525565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000838152602001908152602001600020546105d243600454611838565b6105dc9190612545565b60075483116105ec5760016105ef565b60025b60ff1661064384600560008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002061185190919063ffffffff16565b61064e576000610651565b60015b60ff166003546106619190612579565b61066b9190612579565b6106759190612579565b905092915050565b60035481565b61068b61186b565b73ffffffffffffffffffffffffffffffffffffffff166106a961113a565b73ffffffffffffffffffffffffffffffffffffffff16146106ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106f69061261f565b60405180910390fd5b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff1660e01b815260040161075c92919061263f565b6020604051808303816000875af115801561077b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061079f9190612694565b5050565b6107ab61186b565b73ffffffffffffffffffffffffffffffffffffffff166107c961113a565b73ffffffffffffffffffffffffffffffffffffffff161461081f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108169061261f565b60405180910390fd5b8060038190555050565b61083161186b565b73ffffffffffffffffffffffffffffffffffffffff1661084f61113a565b73ffffffffffffffffffffffffffffffffffffffff16146108a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161089c9061261f565b60405180910390fd5b6108ad611873565b565b600080600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905060005b8351811015610a3d5761092c848281518110610915576109146123cb565b5b60200260200101518361185190919063ffffffff16565b158015610a1a57508473ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e86848151811061099c5761099b6123cb565b5b60200260200101516040518263ffffffff1660e01b81526004016109c09190611eaa565b602060405180830381865afa1580156109dd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a0191906126d6565b73ffffffffffffffffffffffffffffffffffffffff1614155b15610a2a57600092505050610a44565b8080610a359061247f565b9150506108f6565b5060019150505b92915050565b610a5261186b565b73ffffffffffffffffffffffffffffffffffffffff16610a7061113a565b73ffffffffffffffffffffffffffffffffffffffff1614610ac6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610abd9061261f565b60405180910390fd5b8043610ad29190612429565b60048190555050565b60045481565b610ae9610d74565b15610b29576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b209061274f565b60405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415610bba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bb1906127bb565b60405180910390fd5b6000610bc843600454611838565b905060005b83839050811015610d6e57600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b88d4fde3330878786818110610c2b57610c2a6123cb565b5b905060200201356040518463ffffffff1660e01b8152600401610c5093929190612812565b600060405180830381600087803b158015610c6a57600080fd5b505af1158015610c7e573d6000803e3d6000fd5b50505050610cec848483818110610c9857610c976123cb565b5b90506020020135600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002061191490919063ffffffff16565b5081600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000868685818110610d4257610d416123cb565b5b905060200201358152602001908152602001600020819055508080610d669061247f565b915050610bcd565b50505050565b60008060149054906101000a900460ff16905090565b610d92610d74565b15610dd2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dc99061274f565b60405180910390fd5b600080610de143600454611838565b905060005b84849050811015610ea257610e1433868684818110610e0857610e076123cb565b5b905060200201356104d5565b83610e1f9190612429565b925081600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000878785818110610e7657610e756123cb565b5b905060200201358152602001908152602001600020819055508080610e9a9061247f565b915050610de6565b506000821115610f4e57600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33846040518363ffffffff1660e01b8152600401610f0992919061263f565b6020604051808303816000875af1158015610f28573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f4c9190612694565b505b50505050565b610f5c61186b565b73ffffffffffffffffffffffffffffffffffffffff16610f7a61113a565b73ffffffffffffffffffffffffffffffffffffffff1614610fd0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fc79061261f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6110bc61186b565b73ffffffffffffffffffffffffffffffffffffffff166110da61113a565b73ffffffffffffffffffffffffffffffffffffffff1614611130576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111279061261f565b60405180910390fd5b61113861192e565b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61116b61186b565b73ffffffffffffffffffffffffffffffffffffffff1661118961113a565b73ffffffffffffffffffffffffffffffffffffffff16146111df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111d69061261f565b60405180910390fd5b81600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b61126d610d74565b156112ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112a49061274f565b60405180910390fd5b6112b78282610d8a565b60005b828290508110156114965761132f8383838181106112db576112da6123cb565b5b90506020020135600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002061185190919063ffffffff16565b61136e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611365906128ce565b60405180910390fd5b6113d8838383818110611384576113836123cb565b5b90506020020135600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206119d190919063ffffffff16565b50600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b88d4fde303386868681811061142c5761142b6123cb565b5b905060200201356040518463ffffffff1660e01b815260040161145193929190612812565b600060405180830381600087803b15801561146b57600080fd5b505af115801561147f573d6000803e3d6000fd5b50505050808061148e9061247f565b9150506112ba565b505050565b600080600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905060005b835181101561153a57611518848281518110611501576115006123cb565b5b60200260200101518361185190919063ffffffff16565b61152757600092505050611541565b80806115329061247f565b9150506114e2565b5060019150505b92915050565b6006602052816000526040600020602052806000526040600020600091509150505481565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60606000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905060006115e2826119eb565b67ffffffffffffffff8111156115fb576115fa611cc6565b5b6040519080825280602002602001820160405280156116295781602001602082028036833780820191505090505b50905060005b611638836119eb565b811015611684576116528184611a0090919063ffffffff16565b828281518110611665576116646123cb565b5b602002602001018181525050808061167c9061247f565b91505061162f565b508092505050919050565b61169761186b565b73ffffffffffffffffffffffffffffffffffffffff166116b561113a565b73ffffffffffffffffffffffffffffffffffffffff161461170b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117029061261f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561177b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161177290612960565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60008183106118475781611849565b825b905092915050565b6000611863836000018360001b611a1a565b905092915050565b600033905090565b61187b610d74565b6118ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118b1906129cc565b60405180910390fd5b60008060146101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6118fd61186b565b60405161190a9190612227565b60405180910390a1565b6000611926836000018360001b611a3d565b905092915050565b611936610d74565b15611976576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161196d9061274f565b60405180910390fd5b6001600060146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586119ba61186b565b6040516119c79190612227565b60405180910390a1565b60006119e3836000018360001b611aad565b905092915050565b60006119f982600001611bb9565b9050919050565b6000611a0f8360000183611bca565b60001c905092915050565b600080836001016000848152602001908152602001600020541415905092915050565b6000611a498383611a1a565b611aa2578260000182908060018154018082558091505060019003906000526020600020016000909190919091505582600001805490508360010160008481526020019081526020016000208190555060019050611aa7565b600090505b92915050565b60008083600101600084815260200190815260200160002054905060008114611bad576000600182611adf9190612545565b9050600060018660000180549050611af79190612545565b90506000866000018281548110611b1157611b106123cb565b5b9060005260206000200154905080876000018481548110611b3557611b346123cb565b5b9060005260206000200181905550838760010160008381526020019081526020016000208190555086600001805480611b7157611b706129ec565b5b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050611bb3565b60009150505b92915050565b600081600001805490509050919050565b600081836000018054905011611c15576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c0c90612a8d565b60405180910390fd5b826000018281548110611c2b57611c2a6123cb565b5b9060005260206000200154905092915050565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000611c7d82611c52565b9050919050565b611c8d81611c72565b8114611c9857600080fd5b50565b600081359050611caa81611c84565b92915050565b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b611cfe82611cb5565b810181811067ffffffffffffffff82111715611d1d57611d1c611cc6565b5b80604052505050565b6000611d30611c3e565b9050611d3c8282611cf5565b919050565b600067ffffffffffffffff821115611d5c57611d5b611cc6565b5b602082029050602081019050919050565b600080fd5b6000819050919050565b611d8581611d72565b8114611d9057600080fd5b50565b600081359050611da281611d7c565b92915050565b6000611dbb611db684611d41565b611d26565b90508083825260208201905060208402830185811115611dde57611ddd611d6d565b5b835b81811015611e075780611df38882611d93565b845260208401935050602081019050611de0565b5050509392505050565b600082601f830112611e2657611e25611cb0565b5b8135611e36848260208601611da8565b91505092915050565b60008060408385031215611e5657611e55611c48565b5b6000611e6485828601611c9b565b925050602083013567ffffffffffffffff811115611e8557611e84611c4d565b5b611e9185828601611e11565b9150509250929050565b611ea481611d72565b82525050565b6000602082019050611ebf6000830184611e9b565b92915050565b600080fd5b600067ffffffffffffffff821115611ee557611ee4611cc6565b5b611eee82611cb5565b9050602081019050919050565b82818337600083830152505050565b6000611f1d611f1884611eca565b611d26565b905082815260208101848484011115611f3957611f38611ec5565b5b611f44848285611efb565b509392505050565b600082601f830112611f6157611f60611cb0565b5b8135611f71848260208601611f0a565b91505092915050565b60008060008060808587031215611f9457611f93611c48565b5b6000611fa287828801611c9b565b9450506020611fb387828801611c9b565b9350506040611fc487828801611d93565b925050606085013567ffffffffffffffff811115611fe557611fe4611c4d565b5b611ff187828801611f4c565b91505092959194509250565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61203281611ffd565b82525050565b600060208201905061204d6000830184612029565b92915050565b6000806040838503121561206a57612069611c48565b5b600061207885828601611c9b565b925050602061208985828601611d93565b9150509250929050565b6000602082840312156120a9576120a8611c48565b5b60006120b784828501611d93565b91505092915050565b60008115159050919050565b6120d5816120c0565b82525050565b60006020820190506120f060008301846120cc565b92915050565b600080fd5b60008083601f84011261211157612110611cb0565b5b8235905067ffffffffffffffff81111561212e5761212d6120f6565b5b60208301915083602082028301111561214a57612149611d6d565b5b9250929050565b6000806020838503121561216857612167611c48565b5b600083013567ffffffffffffffff81111561218657612185611c4d565b5b612192858286016120fb565b92509250509250929050565b6000819050919050565b60006121c36121be6121b984611c52565b61219e565b611c52565b9050919050565b60006121d5826121a8565b9050919050565b60006121e7826121ca565b9050919050565b6121f7816121dc565b82525050565b600060208201905061221260008301846121ee565b92915050565b61222181611c72565b82525050565b600060208201905061223c6000830184612218565b92915050565b6000806040838503121561225957612258611c48565b5b600061226785828601611c9b565b925050602061227885828601611c9b565b9150509250929050565b600061228d826121ca565b9050919050565b61229d81612282565b82525050565b60006020820190506122b86000830184612294565b92915050565b6000602082840312156122d4576122d3611c48565b5b60006122e284828501611c9b565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61232081611d72565b82525050565b60006123328383612317565b60208301905092915050565b6000602082019050919050565b6000612356826122eb565b61236081856122f6565b935061236b83612307565b8060005b8381101561239c5781516123838882612326565b975061238e8361233e565b92505060018101905061236f565b5085935050505092915050565b600060208201905081810360008301526123c3818461234b565b905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061243482611d72565b915061243f83611d72565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115612474576124736123fa565b5b828201905092915050565b600061248a82611d72565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156124bd576124bc6123fa565b5b600182019050919050565b600082825260208201905092915050565b7f496e76616c696420626c6f636b206e756d626572730000000000000000000000600082015250565b600061250f6015836124c8565b915061251a826124d9565b602082019050919050565b6000602082019050818103600083015261253e81612502565b9050919050565b600061255082611d72565b915061255b83611d72565b92508282101561256e5761256d6123fa565b5b828203905092915050565b600061258482611d72565b915061258f83611d72565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156125c8576125c76123fa565b5b828202905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006126096020836124c8565b9150612614826125d3565b602082019050919050565b60006020820190508181036000830152612638816125fc565b9050919050565b60006040820190506126546000830185612218565b6126616020830184611e9b565b9392505050565b612671816120c0565b811461267c57600080fd5b50565b60008151905061268e81612668565b92915050565b6000602082840312156126aa576126a9611c48565b5b60006126b88482850161267f565b91505092915050565b6000815190506126d081611c84565b92915050565b6000602082840312156126ec576126eb611c48565b5b60006126fa848285016126c1565b91505092915050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b60006127396010836124c8565b915061274482612703565b602082019050919050565b600060208201905081810360008301526127688161272c565b9050919050565b7f496e76616c696420616464726573730000000000000000000000000000000000600082015250565b60006127a5600f836124c8565b91506127b08261276f565b602082019050919050565b600060208201905081810360008301526127d481612798565b9050919050565b600082825260208201905092915050565b50565b60006127fc6000836127db565b9150612807826127ec565b600082019050919050565b60006080820190506128276000830186612218565b6128346020830185612218565b6128416040830184611e9b565b8181036060830152612852816127ef565b9050949350505050565b7f5468697320746f6b656e20686173206e6f74206265656e206465706f7369746560008201527f6400000000000000000000000000000000000000000000000000000000000000602082015250565b60006128b86021836124c8565b91506128c38261285c565b604082019050919050565b600060208201905081810360008301526128e7816128ab565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061294a6026836124c8565b9150612955826128ee565b604082019050919050565b600060208201905081810360008301526129798161293d565b9050919050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b60006129b66014836124c8565b91506129c182612980565b602082019050919050565b600060208201905081810360008301526129e5816129a9565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f456e756d657261626c655365743a20696e646578206f7574206f6620626f756e60008201527f6473000000000000000000000000000000000000000000000000000000000000602082015250565b6000612a776022836124c8565b9150612a8282612a1b565b604082019050919050565b60006020820190508181036000830152612aa681612a6a565b905091905056fea264697066735822122052639c40be9eb645fe5d69eb40f84cd5497403d719427407ed53eff26c2ffd2864736f6c634300080a0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000036d02dcd463dfd71e4a07d8aa946742da94e8d3a0000000000000000000000000000000000000000000000000005ebd312a02aaa00000000000000000000000000000000000000000000000000000000014e2ae0000000000000000000000000d96e64205c261ed36bb15b424bfec58c2a5510d40000000000000000000000000000000000000000000000000000000000001a0a
-----Decoded View---------------
Arg [0] : sympathyForTheDevilsContractAddress (address): 0x36d02DcD463Dfd71E4a07d8Aa946742Da94e8D3a
Arg [1] : initialRate (uint256): 1666666666666666
Arg [2] : numberOfExpirationBlocks (uint256): 21900000
Arg [3] : sinsTokenAddress (address): 0xD96e64205C261eD36bB15b424BFeC58c2A5510d4
Arg [4] : ogSupply (uint256): 6666
-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 00000000000000000000000036d02dcd463dfd71e4a07d8aa946742da94e8d3a
Arg [1] : 0000000000000000000000000000000000000000000000000005ebd312a02aaa
Arg [2] : 00000000000000000000000000000000000000000000000000000000014e2ae0
Arg [3] : 000000000000000000000000d96e64205c261ed36bb15b424bfec58c2a5510d4
Arg [4] : 0000000000000000000000000000000000000000000000000000000000001a0a
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.