Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 11 from a total of 11 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Set Reset Cooldo... | 18615757 | 238 days ago | IN | 0 ETH | 0.00096899 | ||||
Set Percentages | 18607974 | 239 days ago | IN | 0 ETH | 0.00080367 | ||||
Set Start Thresh... | 18547193 | 247 days ago | IN | 0 ETH | 0.00058806 | ||||
Set Start Thresh... | 18526821 | 250 days ago | IN | 0 ETH | 0.00066894 | ||||
Set Reserve | 18526652 | 250 days ago | IN | 0 ETH | 0.00069457 | ||||
Set Boost Multip... | 18501641 | 254 days ago | IN | 0 ETH | 0.00045559 | ||||
Set Percentages | 18501569 | 254 days ago | IN | 0 ETH | 0.00037616 | ||||
Set Percentages | 18479125 | 257 days ago | IN | 0 ETH | 0.00139934 | ||||
Set Reserve | 18472649 | 258 days ago | IN | 0 ETH | 0.00127831 | ||||
Set Token | 18472628 | 258 days ago | IN | 0 ETH | 0.00353468 | ||||
0x60806040 | 18472627 | 258 days ago | IN | Create: ReserveOracle | 0 ETH | 0.05888937 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
ReserveOracle
Compiler Version
v0.8.19+commit.7dd6d404
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity =0.8.19; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface.sol"; import "./interfaces/IUniswapV2Router02.sol"; import "./interfaces/IReserveOracle.sol"; import "./interfaces/IRSRV.sol"; contract ReserveOracle is IReserveOracle, Ownable { using SafeMath for uint; IRSRV public token; address public reserve; address public WETH; address public uniswapV2Pair; uint public previousAthMarketCap; uint public timestampReset; uint public activeMultiplier = 10000; uint public baseMultiplier = 10000; uint public boostMultiplier = 10; uint public percentageForHalt = 4000; uint public percentageForReset = 2000; uint public startTime; uint public lastUpdateTime; uint public startThreshold = 1 weeks; uint public resetDelay = 1 days; uint public resetCooldown = 12 hours; uint private _lastMarketCap; uint private _lastPercentage = 10000; AggregatorV3Interface internal dataFeed; constructor( address _dataFeed ) { // GOERLI ETH/USD PRICE FEED: 0xD4a33860578De61DBAbDc8BFdb98FD742fA7028e // MAINNET ETH/USD PRICE FEED: 0x5f4eC3Df9cbd43714FE2740f5E3616155c5b8419 dataFeed = AggregatorV3Interface(_dataFeed); } function getEthPrice() public view returns (uint) { ( /* uint80 roundID */, int answer, /*uint startedAt*/, /*uint timeStamp*/, /*uint80 answeredInRound*/ ) = dataFeed.latestRoundData(); return uint(answer); } function getPriceData() external view returns ( uint price, uint circulatingSupply, uint marketCap, uint lastMarketCap, uint lastMultiplier, uint lastPercentage ) { price = getCurrentPrice(); circulatingSupply = getCirculatingSupply(); marketCap = getCurrentMarketCap(); lastMarketCap = _lastMarketCap; lastMultiplier = activeMultiplier; lastPercentage = _lastPercentage; } function getCurrentPrice() public view returns (uint) { return _getPriceInEth() * getEthPrice() / 1e8; } function getCurrentMarketCap() public view returns (uint) { return _getMarketCapinEth() * getEthPrice() / 1e8; } function getCirculatingSupply() public view returns (uint) { return IERC20(address(token)).totalSupply() - IERC20(address(token)).balanceOf(address(0xdead)); } function getPercentageFromAth() external view returns (uint percentage) { if (previousAthMarketCap == 0) return 0; uint marketCap = getCurrentMarketCap(); percentage = marketCap.mul(1e4).div(previousAthMarketCap); } function _getPriceInEth() internal view returns (uint) { uint wethBalance = IERC20(WETH).balanceOf(uniswapV2Pair); uint tokenBalance = IERC20(address(token)).balanceOf(uniswapV2Pair); return wethBalance.mul(1e18).div(tokenBalance); } function _getMarketCapinEth() internal view returns (uint) { return _getPriceInEth().mul(getCirculatingSupply()).div(1e18); } /** RESERVED FUNCTIONS **/ function setCurrentMultiplier() external returns (uint) { require (_msgSender() == owner() || _msgSender() == address(reserve), "Not authorized"); if (startTime == 0) startTime = block.timestamp; if (activeMultiplier == 1 && lastUpdateTime.add(resetCooldown) < block.timestamp) { return activeMultiplier; } lastUpdateTime = block.timestamp; uint marketCap = getCurrentMarketCap(); _lastMarketCap = marketCap; if (previousAthMarketCap == 0) { previousAthMarketCap = marketCap; return activeMultiplier; } else { uint multiplier; if (marketCap >= previousAthMarketCap) { previousAthMarketCap = marketCap; multiplier = baseMultiplier; _lastPercentage = 10000; timestampReset = 0; } else { uint percentage = marketCap.mul(1e4).div(previousAthMarketCap); _lastPercentage = percentage; if (percentage >= percentageForHalt) { multiplier = baseMultiplier.add(uint(1e4).sub(percentage).mul(boostMultiplier)); timestampReset = 0; } else if (percentage >= percentageForReset) { multiplier = 0; timestampReset = 0; } else { if (startTime.add(startThreshold) < block.timestamp) { if (timestampReset == 0) { timestampReset = block.timestamp; multiplier = 0; } else { if (timestampReset.add(resetDelay) < block.timestamp) { previousAthMarketCap = marketCap; multiplier = 1; startTime = block.timestamp; timestampReset = 0; } else { multiplier = 0; } } } else { multiplier = 0; timestampReset = 0; } } } activeMultiplier = multiplier; return activeMultiplier; } } function setToken(address _token) external onlyOwner { token = IRSRV(_token); uniswapV2Pair = token.uniswapV2Pair(); IUniswapV2Router02 router = IUniswapV2Router02(token.uniswapV2Router()); WETH = router.WETH(); } function setReserve(address _reserve) external onlyOwner { require (_reserve != address(0), "Invalid reserve address"); reserve = _reserve; } function setBaseMultiplier(uint _multiplier) external onlyOwner { baseMultiplier = _multiplier; } function setBoostMultiplier(uint _multiplier) external onlyOwner { boostMultiplier = _multiplier; } function setStartThreshold(uint _threshold) external onlyOwner { startThreshold = _threshold; } function setResetDelay(uint _resetDelay) external onlyOwner { resetDelay = _resetDelay; } function setResetCooldown(uint _resetCooldown) external onlyOwner { resetCooldown = _resetCooldown; } function setPercentages(uint _percentageForHalt, uint _percentageForReset) external onlyOwner { percentageForHalt = _percentageForHalt; percentageForReset = _percentageForReset; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; interface AggregatorV3Interface { function decimals() external view returns (uint8); function description() external view returns (string memory); function version() external view returns (uint256); function getRoundData(uint80 _roundId) external view returns ( uint80 roundId, int256 answer, uint256 startedAt, uint256 updatedAt, uint80 answeredInRound ); function latestRoundData() external view returns ( uint80 roundId, int256 answer, uint256 startedAt, uint256 updatedAt, uint80 answeredInRound ); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address from, address to, uint256 amount) external returns (bool); }
// 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.9.0) (utils/math/SafeMath.sol) pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the subtraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; interface IReserveOracle { function activeMultiplier() external view returns (uint); function getCurrentPrice() external view returns (uint); function getCurrentMarketCap() external view returns (uint); function getCirculatingSupply() external view returns (uint); function getPercentageFromAth() external view returns (uint percentage); function setCurrentMultiplier() external returns (uint); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; interface IRSRV is IERC20 { function uniswapV2Router() external view returns (address); function uniswapV2Pair() external view returns (address); function mint(uint amount) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; interface IUniswapV2Router02 { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidity( address tokenA, address tokenB, uint amountADesired, uint amountBDesired, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns ( uint amountA, uint amountB, uint liquidity ); function addLiquidityETH( address token, uint amountTokenDesired, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external payable returns ( uint amountToken, uint amountETH, uint liquidity ); function removeLiquidityETH( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountToken, uint amountETH); function removeLiquidityETHSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountETH); function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; function swapExactETHForTokensSupportingFeeOnTransferTokens( uint amountOutMin, address[] calldata path, address to, uint deadline ) external payable; function swapExactTokensForETHSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; }
{ "optimizer": { "enabled": false, "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":"_dataFeed","type":"address"}],"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"},{"inputs":[],"name":"WETH","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"activeMultiplier","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseMultiplier","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"boostMultiplier","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getCirculatingSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getCurrentMarketCap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getCurrentPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getEthPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPercentageFromAth","outputs":[{"internalType":"uint256","name":"percentage","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPriceData","outputs":[{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"uint256","name":"circulatingSupply","type":"uint256"},{"internalType":"uint256","name":"marketCap","type":"uint256"},{"internalType":"uint256","name":"lastMarketCap","type":"uint256"},{"internalType":"uint256","name":"lastMultiplier","type":"uint256"},{"internalType":"uint256","name":"lastPercentage","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastUpdateTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"percentageForHalt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"percentageForReset","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"previousAthMarketCap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reserve","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"resetCooldown","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"resetDelay","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_multiplier","type":"uint256"}],"name":"setBaseMultiplier","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_multiplier","type":"uint256"}],"name":"setBoostMultiplier","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setCurrentMultiplier","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_percentageForHalt","type":"uint256"},{"internalType":"uint256","name":"_percentageForReset","type":"uint256"}],"name":"setPercentages","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_reserve","type":"address"}],"name":"setReserve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_resetCooldown","type":"uint256"}],"name":"setResetCooldown","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_resetDelay","type":"uint256"}],"name":"setResetDelay","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_threshold","type":"uint256"}],"name":"setStartThreshold","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"}],"name":"setToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startThreshold","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"startTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"timestampReset","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"token","outputs":[{"internalType":"contract IRSRV","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
6080604052612710600755612710600855600a600955610fa0600a556107d0600b5562093a80600e5562015180600f5561a8c06010556127106012553480156200004857600080fd5b5060405162001dce38038062001dce83398181016040528101906200006e91906200020c565b6200008e62000082620000d660201b60201c565b620000de60201b60201c565b80601360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550506200023e565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620001d482620001a7565b9050919050565b620001e681620001c7565b8114620001f257600080fd5b50565b6000815190506200020681620001db565b92915050565b600060208284031215620002255762000224620001a2565b5b60006200023584828501620001f5565b91505092915050565b611b80806200024e6000396000f3fe608060405234801561001057600080fd5b50600436106102065760003560e01c8063a003aac41161011a578063c8f33c91116100ad578063d6e555391161007c578063d6e5553914610552578063e1b906b314610570578063eb91d37e1461058e578063f2fde38b146105ac578063fc0c546a146105c857610206565b8063c8f33c91146104da578063cd3293de146104f8578063d4c2799a14610516578063d60a09551461053457610206565b8063bab96a8c116100e9578063bab96a8c14610468578063bd2ec8c514610486578063c7431c96146104a2578063c8260559146104be57610206565b8063a003aac4146103eb578063a4a2816814610409578063a683da7f1461042c578063ad5c46481461044a57610206565b80635698b8121161019d578063720fd3c71161016c578063720fd3c71461035957806378e97925146103755780638da5cb5b146103935780639b82315d146103b15780639cecc80a146103cf57610206565b80635698b812146102f957806367c9b0171461031557806370d2e5cd14610333578063715018a61461034f57610206565b806343101806116101d9578063431018061461028157806349bd5a5e1461029f5780634acbfb50146102bd578063509908cc146102db57610206565b806301130dd01461020b5780630616c4ed14610229578063144fa6d7146102475780632b112e4914610263575b600080fd5b6102136105e6565b604051610220919061146a565b60405180910390f35b6102316105ec565b60405161023e919061146a565b60405180910390f35b610261600480360381019061025c91906114e8565b6108ba565b005b61026b610b1c565b604051610278919061146a565b60405180910390f35b610289610c5c565b604051610296919061146a565b60405180910390f35b6102a7610cac565b6040516102b49190611524565b60405180910390f35b6102c5610cd2565b6040516102d2919061146a565b60405180910390f35b6102e3610cd8565b6040516102f0919061146a565b60405180910390f35b610313600480360381019061030e919061156b565b610cde565b005b61031d610cf0565b60405161032a919061146a565b60405180910390f35b61034d6004803603810190610348919061156b565b610d91565b005b610357610da3565b005b610373600480360381019061036e919061156b565b610db7565b005b61037d610dc9565b60405161038a919061146a565b60405180910390f35b61039b610dcf565b6040516103a89190611524565b60405180910390f35b6103b9610df8565b6040516103c6919061146a565b60405180910390f35b6103e960048036038101906103e491906114e8565b610dfe565b005b6103f3610eb9565b604051610400919061146a565b60405180910390f35b610411610ebf565b60405161042396959493929190611598565b60405180910390f35b610434610efd565b604051610441919061146a565b60405180910390f35b610452610f03565b60405161045f9190611524565b60405180910390f35b610470610f29565b60405161047d919061146a565b60405180910390f35b6104a0600480360381019061049b91906115f9565b610f59565b005b6104bc60048036038101906104b7919061156b565b610f73565b005b6104d860048036038101906104d3919061156b565b610f85565b005b6104e2610f97565b6040516104ef919061146a565b60405180910390f35b610500610f9d565b60405161050d9190611524565b60405180910390f35b61051e610fc3565b60405161052b919061146a565b60405180910390f35b61053c610fc9565b604051610549919061146a565b60405180910390f35b61055a610fcf565b604051610567919061146a565b60405180910390f35b610578610fd5565b604051610585919061146a565b60405180910390f35b610596610fdb565b6040516105a3919061146a565b60405180910390f35b6105c660048036038101906105c191906114e8565b61100b565b005b6105d061108e565b6040516105dd9190611698565b60405180910390f35b600f5481565b60006105f6610dcf565b73ffffffffffffffffffffffffffffffffffffffff166106146110b4565b73ffffffffffffffffffffffffffffffffffffffff16148061068a5750600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166106726110b4565b73ffffffffffffffffffffffffffffffffffffffff16145b6106c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106c090611710565b60405180910390fd5b6000600c54036106db5742600c819055505b6001600754148015610702575042610700601054600d546110bc90919063ffffffff16565b105b156107115760075490506108b7565b42600d819055506000610722610f29565b90508060118190555060006005540361074757806005819055506007549150506108b7565b600060055482106107745781600581905550600854905061271060128190555060006006819055506108a8565b600061079f600554610791612710866110d290919063ffffffff16565b6110e890919063ffffffff16565b905080601281905550600a5481106107fd576107ee6107dd6009546107cf846127106110fe90919063ffffffff16565b6110d290919063ffffffff16565b6008546110bc90919063ffffffff16565b915060006006819055506108a6565b600b548110610817576000915060006006819055506108a5565b4261082f600e54600c546110bc90919063ffffffff16565b10156108975760006006540361084f574260068190555060009150610892565b42610867600f546006546110bc90919063ffffffff16565b101561088c57826005819055506001915042600c819055506000600681905550610891565b600091505b5b6108a4565b6000915060006006819055505b5b5b505b80600781905550600754925050505b90565b6108c2611114565b80600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166349bd5a5e6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610970573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109949190611745565b600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16631694505e6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a43573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a679190611745565b90508073ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ab4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ad89190611745565b600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a0823161dead6040518263ffffffff1660e01b8152600401610b7b9190611524565b602060405180830381865afa158015610b98573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bbc9190611787565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610c29573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c4d9190611787565b610c5791906117e3565b905090565b60008060055403610c705760009050610ca9565b6000610c7a610f29565b9050610ca5600554610c97612710846110d290919063ffffffff16565b6110e890919063ffffffff16565b9150505b90565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60105481565b600b5481565b610ce6611114565b80600f8190555050565b600080601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663feaf968c6040518163ffffffff1660e01b815260040160a060405180830381865afa158015610d60573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d84919061188f565b5050509150508091505090565b610d99611114565b8060088190555050565b610dab611114565b610db56000611192565b565b610dbf611114565b8060098190555050565b600c5481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60075481565b610e06611114565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610e75576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e6c90611956565b60405180910390fd5b80600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60095481565b600080600080600080610ed0610fdb565b9550610eda610b1c565b9450610ee4610f29565b9350601154925060075491506012549050909192939495565b60065481565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60006305f5e100610f38610cf0565b610f40611256565b610f4a9190611976565b610f5491906119e7565b905090565b610f61611114565b81600a8190555080600b819055505050565b610f7b611114565b80600e8190555050565b610f8d611114565b8060108190555050565b600d5481565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60055481565b60085481565b600e5481565b600a5481565b60006305f5e100610fea610cf0565b610ff2611298565b610ffc9190611976565b61100691906119e7565b905090565b611013611114565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611082576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161107990611a8a565b60405180910390fd5b61108b81611192565b50565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600033905090565b600081836110ca9190611aaa565b905092915050565b600081836110e09190611976565b905092915050565b600081836110f691906119e7565b905092915050565b6000818361110c91906117e3565b905092915050565b61111c6110b4565b73ffffffffffffffffffffffffffffffffffffffff1661113a610dcf565b73ffffffffffffffffffffffffffffffffffffffff1614611190576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161118790611b2a565b60405180910390fd5b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000611293670de0b6b3a764000061128561126f610b1c565b611277611298565b6110d290919063ffffffff16565b6110e890919063ffffffff16565b905090565b600080600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518263ffffffff1660e01b81526004016113189190611524565b602060405180830381865afa158015611335573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113599190611787565b90506000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518263ffffffff1660e01b81526004016113da9190611524565b602060405180830381865afa1580156113f7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061141b9190611787565b905061144a8161143c670de0b6b3a7640000856110d290919063ffffffff16565b6110e890919063ffffffff16565b9250505090565b6000819050919050565b61146481611451565b82525050565b600060208201905061147f600083018461145b565b92915050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006114b58261148a565b9050919050565b6114c5816114aa565b81146114d057600080fd5b50565b6000813590506114e2816114bc565b92915050565b6000602082840312156114fe576114fd611485565b5b600061150c848285016114d3565b91505092915050565b61151e816114aa565b82525050565b60006020820190506115396000830184611515565b92915050565b61154881611451565b811461155357600080fd5b50565b6000813590506115658161153f565b92915050565b60006020828403121561158157611580611485565b5b600061158f84828501611556565b91505092915050565b600060c0820190506115ad600083018961145b565b6115ba602083018861145b565b6115c7604083018761145b565b6115d4606083018661145b565b6115e1608083018561145b565b6115ee60a083018461145b565b979650505050505050565b600080604083850312156116105761160f611485565b5b600061161e85828601611556565b925050602061162f85828601611556565b9150509250929050565b6000819050919050565b600061165e6116596116548461148a565b611639565b61148a565b9050919050565b600061167082611643565b9050919050565b600061168282611665565b9050919050565b61169281611677565b82525050565b60006020820190506116ad6000830184611689565b92915050565b600082825260208201905092915050565b7f4e6f7420617574686f72697a6564000000000000000000000000000000000000600082015250565b60006116fa600e836116b3565b9150611705826116c4565b602082019050919050565b60006020820190508181036000830152611729816116ed565b9050919050565b60008151905061173f816114bc565b92915050565b60006020828403121561175b5761175a611485565b5b600061176984828501611730565b91505092915050565b6000815190506117818161153f565b92915050565b60006020828403121561179d5761179c611485565b5b60006117ab84828501611772565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006117ee82611451565b91506117f983611451565b9250828203905081811115611811576118106117b4565b5b92915050565b600069ffffffffffffffffffff82169050919050565b61183681611817565b811461184157600080fd5b50565b6000815190506118538161182d565b92915050565b6000819050919050565b61186c81611859565b811461187757600080fd5b50565b60008151905061188981611863565b92915050565b600080600080600060a086880312156118ab576118aa611485565b5b60006118b988828901611844565b95505060206118ca8882890161187a565b94505060406118db88828901611772565b93505060606118ec88828901611772565b92505060806118fd88828901611844565b9150509295509295909350565b7f496e76616c696420726573657276652061646472657373000000000000000000600082015250565b60006119406017836116b3565b915061194b8261190a565b602082019050919050565b6000602082019050818103600083015261196f81611933565b9050919050565b600061198182611451565b915061198c83611451565b925082820261199a81611451565b915082820484148315176119b1576119b06117b4565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006119f282611451565b91506119fd83611451565b925082611a0d57611a0c6119b8565b5b828204905092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000611a746026836116b3565b9150611a7f82611a18565b604082019050919050565b60006020820190508181036000830152611aa381611a67565b9050919050565b6000611ab582611451565b9150611ac083611451565b9250828201905080821115611ad857611ad76117b4565b5b92915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000611b146020836116b3565b9150611b1f82611ade565b602082019050919050565b60006020820190508181036000830152611b4381611b07565b905091905056fea264697066735822122066640850fb0d8628add6cc294cb3856271e79c2795ac3c0d455eaccfd54bc2e264736f6c634300081300330000000000000000000000005f4ec3df9cbd43714fe2740f5e3616155c5b8419
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106102065760003560e01c8063a003aac41161011a578063c8f33c91116100ad578063d6e555391161007c578063d6e5553914610552578063e1b906b314610570578063eb91d37e1461058e578063f2fde38b146105ac578063fc0c546a146105c857610206565b8063c8f33c91146104da578063cd3293de146104f8578063d4c2799a14610516578063d60a09551461053457610206565b8063bab96a8c116100e9578063bab96a8c14610468578063bd2ec8c514610486578063c7431c96146104a2578063c8260559146104be57610206565b8063a003aac4146103eb578063a4a2816814610409578063a683da7f1461042c578063ad5c46481461044a57610206565b80635698b8121161019d578063720fd3c71161016c578063720fd3c71461035957806378e97925146103755780638da5cb5b146103935780639b82315d146103b15780639cecc80a146103cf57610206565b80635698b812146102f957806367c9b0171461031557806370d2e5cd14610333578063715018a61461034f57610206565b806343101806116101d9578063431018061461028157806349bd5a5e1461029f5780634acbfb50146102bd578063509908cc146102db57610206565b806301130dd01461020b5780630616c4ed14610229578063144fa6d7146102475780632b112e4914610263575b600080fd5b6102136105e6565b604051610220919061146a565b60405180910390f35b6102316105ec565b60405161023e919061146a565b60405180910390f35b610261600480360381019061025c91906114e8565b6108ba565b005b61026b610b1c565b604051610278919061146a565b60405180910390f35b610289610c5c565b604051610296919061146a565b60405180910390f35b6102a7610cac565b6040516102b49190611524565b60405180910390f35b6102c5610cd2565b6040516102d2919061146a565b60405180910390f35b6102e3610cd8565b6040516102f0919061146a565b60405180910390f35b610313600480360381019061030e919061156b565b610cde565b005b61031d610cf0565b60405161032a919061146a565b60405180910390f35b61034d6004803603810190610348919061156b565b610d91565b005b610357610da3565b005b610373600480360381019061036e919061156b565b610db7565b005b61037d610dc9565b60405161038a919061146a565b60405180910390f35b61039b610dcf565b6040516103a89190611524565b60405180910390f35b6103b9610df8565b6040516103c6919061146a565b60405180910390f35b6103e960048036038101906103e491906114e8565b610dfe565b005b6103f3610eb9565b604051610400919061146a565b60405180910390f35b610411610ebf565b60405161042396959493929190611598565b60405180910390f35b610434610efd565b604051610441919061146a565b60405180910390f35b610452610f03565b60405161045f9190611524565b60405180910390f35b610470610f29565b60405161047d919061146a565b60405180910390f35b6104a0600480360381019061049b91906115f9565b610f59565b005b6104bc60048036038101906104b7919061156b565b610f73565b005b6104d860048036038101906104d3919061156b565b610f85565b005b6104e2610f97565b6040516104ef919061146a565b60405180910390f35b610500610f9d565b60405161050d9190611524565b60405180910390f35b61051e610fc3565b60405161052b919061146a565b60405180910390f35b61053c610fc9565b604051610549919061146a565b60405180910390f35b61055a610fcf565b604051610567919061146a565b60405180910390f35b610578610fd5565b604051610585919061146a565b60405180910390f35b610596610fdb565b6040516105a3919061146a565b60405180910390f35b6105c660048036038101906105c191906114e8565b61100b565b005b6105d061108e565b6040516105dd9190611698565b60405180910390f35b600f5481565b60006105f6610dcf565b73ffffffffffffffffffffffffffffffffffffffff166106146110b4565b73ffffffffffffffffffffffffffffffffffffffff16148061068a5750600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166106726110b4565b73ffffffffffffffffffffffffffffffffffffffff16145b6106c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106c090611710565b60405180910390fd5b6000600c54036106db5742600c819055505b6001600754148015610702575042610700601054600d546110bc90919063ffffffff16565b105b156107115760075490506108b7565b42600d819055506000610722610f29565b90508060118190555060006005540361074757806005819055506007549150506108b7565b600060055482106107745781600581905550600854905061271060128190555060006006819055506108a8565b600061079f600554610791612710866110d290919063ffffffff16565b6110e890919063ffffffff16565b905080601281905550600a5481106107fd576107ee6107dd6009546107cf846127106110fe90919063ffffffff16565b6110d290919063ffffffff16565b6008546110bc90919063ffffffff16565b915060006006819055506108a6565b600b548110610817576000915060006006819055506108a5565b4261082f600e54600c546110bc90919063ffffffff16565b10156108975760006006540361084f574260068190555060009150610892565b42610867600f546006546110bc90919063ffffffff16565b101561088c57826005819055506001915042600c819055506000600681905550610891565b600091505b5b6108a4565b6000915060006006819055505b5b5b505b80600781905550600754925050505b90565b6108c2611114565b80600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166349bd5a5e6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610970573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109949190611745565b600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16631694505e6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a43573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a679190611745565b90508073ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ab4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ad89190611745565b600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a0823161dead6040518263ffffffff1660e01b8152600401610b7b9190611524565b602060405180830381865afa158015610b98573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bbc9190611787565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610c29573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c4d9190611787565b610c5791906117e3565b905090565b60008060055403610c705760009050610ca9565b6000610c7a610f29565b9050610ca5600554610c97612710846110d290919063ffffffff16565b6110e890919063ffffffff16565b9150505b90565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60105481565b600b5481565b610ce6611114565b80600f8190555050565b600080601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663feaf968c6040518163ffffffff1660e01b815260040160a060405180830381865afa158015610d60573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d84919061188f565b5050509150508091505090565b610d99611114565b8060088190555050565b610dab611114565b610db56000611192565b565b610dbf611114565b8060098190555050565b600c5481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60075481565b610e06611114565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610e75576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e6c90611956565b60405180910390fd5b80600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60095481565b600080600080600080610ed0610fdb565b9550610eda610b1c565b9450610ee4610f29565b9350601154925060075491506012549050909192939495565b60065481565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60006305f5e100610f38610cf0565b610f40611256565b610f4a9190611976565b610f5491906119e7565b905090565b610f61611114565b81600a8190555080600b819055505050565b610f7b611114565b80600e8190555050565b610f8d611114565b8060108190555050565b600d5481565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60055481565b60085481565b600e5481565b600a5481565b60006305f5e100610fea610cf0565b610ff2611298565b610ffc9190611976565b61100691906119e7565b905090565b611013611114565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611082576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161107990611a8a565b60405180910390fd5b61108b81611192565b50565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600033905090565b600081836110ca9190611aaa565b905092915050565b600081836110e09190611976565b905092915050565b600081836110f691906119e7565b905092915050565b6000818361110c91906117e3565b905092915050565b61111c6110b4565b73ffffffffffffffffffffffffffffffffffffffff1661113a610dcf565b73ffffffffffffffffffffffffffffffffffffffff1614611190576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161118790611b2a565b60405180910390fd5b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000611293670de0b6b3a764000061128561126f610b1c565b611277611298565b6110d290919063ffffffff16565b6110e890919063ffffffff16565b905090565b600080600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518263ffffffff1660e01b81526004016113189190611524565b602060405180830381865afa158015611335573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113599190611787565b90506000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518263ffffffff1660e01b81526004016113da9190611524565b602060405180830381865afa1580156113f7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061141b9190611787565b905061144a8161143c670de0b6b3a7640000856110d290919063ffffffff16565b6110e890919063ffffffff16565b9250505090565b6000819050919050565b61146481611451565b82525050565b600060208201905061147f600083018461145b565b92915050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006114b58261148a565b9050919050565b6114c5816114aa565b81146114d057600080fd5b50565b6000813590506114e2816114bc565b92915050565b6000602082840312156114fe576114fd611485565b5b600061150c848285016114d3565b91505092915050565b61151e816114aa565b82525050565b60006020820190506115396000830184611515565b92915050565b61154881611451565b811461155357600080fd5b50565b6000813590506115658161153f565b92915050565b60006020828403121561158157611580611485565b5b600061158f84828501611556565b91505092915050565b600060c0820190506115ad600083018961145b565b6115ba602083018861145b565b6115c7604083018761145b565b6115d4606083018661145b565b6115e1608083018561145b565b6115ee60a083018461145b565b979650505050505050565b600080604083850312156116105761160f611485565b5b600061161e85828601611556565b925050602061162f85828601611556565b9150509250929050565b6000819050919050565b600061165e6116596116548461148a565b611639565b61148a565b9050919050565b600061167082611643565b9050919050565b600061168282611665565b9050919050565b61169281611677565b82525050565b60006020820190506116ad6000830184611689565b92915050565b600082825260208201905092915050565b7f4e6f7420617574686f72697a6564000000000000000000000000000000000000600082015250565b60006116fa600e836116b3565b9150611705826116c4565b602082019050919050565b60006020820190508181036000830152611729816116ed565b9050919050565b60008151905061173f816114bc565b92915050565b60006020828403121561175b5761175a611485565b5b600061176984828501611730565b91505092915050565b6000815190506117818161153f565b92915050565b60006020828403121561179d5761179c611485565b5b60006117ab84828501611772565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006117ee82611451565b91506117f983611451565b9250828203905081811115611811576118106117b4565b5b92915050565b600069ffffffffffffffffffff82169050919050565b61183681611817565b811461184157600080fd5b50565b6000815190506118538161182d565b92915050565b6000819050919050565b61186c81611859565b811461187757600080fd5b50565b60008151905061188981611863565b92915050565b600080600080600060a086880312156118ab576118aa611485565b5b60006118b988828901611844565b95505060206118ca8882890161187a565b94505060406118db88828901611772565b93505060606118ec88828901611772565b92505060806118fd88828901611844565b9150509295509295909350565b7f496e76616c696420726573657276652061646472657373000000000000000000600082015250565b60006119406017836116b3565b915061194b8261190a565b602082019050919050565b6000602082019050818103600083015261196f81611933565b9050919050565b600061198182611451565b915061198c83611451565b925082820261199a81611451565b915082820484148315176119b1576119b06117b4565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006119f282611451565b91506119fd83611451565b925082611a0d57611a0c6119b8565b5b828204905092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000611a746026836116b3565b9150611a7f82611a18565b604082019050919050565b60006020820190508181036000830152611aa381611a67565b9050919050565b6000611ab582611451565b9150611ac083611451565b9250828201905080821115611ad857611ad76117b4565b5b92915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000611b146020836116b3565b9150611b1f82611ade565b602082019050919050565b60006020820190508181036000830152611b4381611b07565b905091905056fea264697066735822122066640850fb0d8628add6cc294cb3856271e79c2795ac3c0d455eaccfd54bc2e264736f6c63430008130033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000005f4ec3df9cbd43714fe2740f5e3616155c5b8419
-----Decoded View---------------
Arg [0] : _dataFeed (address): 0x5f4eC3Df9cbd43714FE2740f5E3616155c5b8419
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000005f4ec3df9cbd43714fe2740f5e3616155c5b8419
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 26 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.