More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 944 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Stake | 20451915 | 211 days ago | IN | 0.00297834 ETH | 0.00026109 | ||||
Stake | 16128917 | 817 days ago | IN | 0.1 ETH | 0.00286942 | ||||
Stake | 16096042 | 822 days ago | IN | 0.16 ETH | 0.00298505 | ||||
Stake | 16086326 | 823 days ago | IN | 0.1 ETH | 0.00285485 | ||||
Unstake | 16070234 | 825 days ago | IN | 0 ETH | 0.00447531 | ||||
Stake | 16062450 | 826 days ago | IN | 0.1477854 ETH | 0.00231686 | ||||
Stake | 16060285 | 827 days ago | IN | 2 ETH | 0.00229545 | ||||
Unstake | 16053064 | 828 days ago | IN | 0 ETH | 0.00310613 | ||||
Stake | 16034384 | 830 days ago | IN | 0.12 ETH | 0.00373376 | ||||
Unstake | 16011996 | 834 days ago | IN | 0 ETH | 0.00298976 | ||||
Unstake | 16004074 | 835 days ago | IN | 0 ETH | 0.00289072 | ||||
Unstake | 15996634 | 836 days ago | IN | 0 ETH | 0.00343998 | ||||
Stake | 15969346 | 839 days ago | IN | 0.15 ETH | 0.004923 | ||||
Unstake | 15949139 | 842 days ago | IN | 0 ETH | 0.00473106 | ||||
Stake | 15887552 | 851 days ago | IN | 0.52 ETH | 0.00381041 | ||||
Stake | 15880999 | 852 days ago | IN | 0.1 ETH | 0.0023966 | ||||
Stake | 15857240 | 855 days ago | IN | 0.15 ETH | 0.00228554 | ||||
Stake | 15845688 | 857 days ago | IN | 1 ETH | 0.00228426 | ||||
Stake | 15805490 | 862 days ago | IN | 0.15 ETH | 0.00440249 | ||||
Stake | 15760785 | 869 days ago | IN | 0 ETH | 0.00021737 | ||||
Stake | 15747191 | 871 days ago | IN | 0.15 ETH | 0.00497512 | ||||
Unstake | 15735639 | 872 days ago | IN | 0 ETH | 0.00690994 | ||||
Stake | 15681602 | 880 days ago | IN | 2 ETH | 0.00128775 | ||||
Unstake | 15676369 | 880 days ago | IN | 0 ETH | 0.00503505 | ||||
Stake | 15675545 | 881 days ago | IN | 0.15 ETH | 0.00535706 |
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block |
From
|
To
|
|||
---|---|---|---|---|---|---|
20451915 | 211 days ago | 0.00297834 ETH | ||||
16128917 | 817 days ago | 0.1 ETH | ||||
16096042 | 822 days ago | 0.16 ETH | ||||
16086326 | 823 days ago | 0.1 ETH | ||||
16070234 | 825 days ago | 0.6184746 ETH | ||||
16070234 | 825 days ago | 0.6184746 ETH | ||||
16062450 | 826 days ago | 0.1477854 ETH | ||||
16060285 | 827 days ago | 2 ETH | ||||
16053064 | 828 days ago | 0.99567356 ETH | ||||
16053064 | 828 days ago | 0.99567356 ETH | ||||
16034384 | 830 days ago | 0.12 ETH | ||||
16011996 | 834 days ago | 9.42646532 ETH | ||||
16011996 | 834 days ago | 9.42646532 ETH | ||||
16004074 | 835 days ago | 36.79454542 ETH | ||||
16004074 | 835 days ago | 36.79454542 ETH | ||||
15996634 | 836 days ago | 2.38102326 ETH | ||||
15996634 | 836 days ago | 2.38102326 ETH | ||||
15969346 | 839 days ago | 0.15 ETH | ||||
15949139 | 842 days ago | 2.20834567 ETH | ||||
15949139 | 842 days ago | 2.20834567 ETH | ||||
15887552 | 851 days ago | 0.52 ETH | ||||
15880999 | 852 days ago | 0.1 ETH | ||||
15857240 | 855 days ago | 0.15 ETH | ||||
15845688 | 857 days ago | 1 ETH | ||||
15805490 | 862 days ago | 0.15 ETH |
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
RewardedPntWethUniV2Pair
Compiler Version
v0.5.16+commit.9c3226ce
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2020-11-05 */ // File: @openzeppelin/contracts/math/SafeMath.sol pragma solidity ^0.5.0; /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming languages. * `SafeMath` restores this intuition by reverting the transaction when an * operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return sub(a, b, "SafeMath: subtraction overflow"); } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * - Subtraction cannot overflow. * * _Available since v2.4.0._ */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } /** * @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) { // 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 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers. Reverts on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return div(a, b, "SafeMath: division by zero"); } /** * @dev Returns the integer division of two unsigned integers. Reverts 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. * * _Available since v2.4.0._ */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { // Solidity only automatically asserts when dividing by 0 require(b > 0, errorMessage); uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts 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 mod(a, b, "SafeMath: modulo by zero"); } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts with custom message 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. * * _Available since v2.4.0._ */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } } // File: @openzeppelin/contracts/utils/Address.sol pragma solidity ^0.5.5; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * This test is non-exhaustive, and there may be false-negatives: during the * execution of a contract's constructor, its address will be reported as * not containing a contract. * * IMPORTANT: It is unsafe to assume that an address for which this * function returns false is an externally-owned account (EOA) and not a * contract. */ function isContract(address account) internal view returns (bool) { // This method relies in extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. // According to EIP-1052, 0x0 is the value returned for not-yet created accounts // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned // for accounts without code, i.e. `keccak256('')` bytes32 codehash; bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470; // solhint-disable-next-line no-inline-assembly assembly { codehash := extcodehash(account) } return (codehash != 0x0 && codehash != accountHash); } /** * @dev Converts an `address` into `address payable`. Note that this is * simply a type cast: the actual underlying value is not changed. * * _Available since v2.4.0._ */ function toPayable(address account) internal pure returns (address payable) { return address(uint160(account)); } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. * * _Available since v2.4.0._ */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); // solhint-disable-next-line avoid-call-value (bool success, ) = recipient.call.value(amount)(""); require(success, "Address: unable to send value, recipient may have reverted"); } } // File: @openzeppelin/contracts/token/ERC20/IERC20.sol pragma solidity ^0.5.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. Does not include * the optional functions; to access them see {ERC20Detailed}. */ 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); } // File: @openzeppelin/contracts/token/ERC20/SafeERC20.sol pragma solidity ^0.5.0; /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for ERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeERC20 { using SafeMath for uint256; using Address for address; function safeTransfer(IERC20 token, address to, uint256 value) internal { callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal { callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } function safeApprove(IERC20 token, address spender, uint256 value) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' // solhint-disable-next-line max-line-length require((value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal { uint256 newAllowance = token.allowance(address(this), spender).add(value); callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal { uint256 newAllowance = token.allowance(address(this), spender).sub(value, "SafeERC20: decreased allowance below zero"); callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. // A Solidity high level call has three parts: // 1. The target address is checked to verify it contains contract code // 2. The call itself is made, and success asserted // 3. The return value is decoded, which in turn checks the size of the returned data. // solhint-disable-next-line max-line-length require(address(token).isContract(), "SafeERC20: call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = address(token).call(data); require(success, "SafeERC20: low-level call failed"); if (returndata.length > 0) { // Return data is optional // solhint-disable-next-line max-line-length require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } } // File: @openzeppelin/contracts/GSN/Context.sol pragma solidity ^0.5.0; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with GSN meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ contract Context { // Empty internal constructor, to prevent people from mistakenly deploying // an instance of this contract, which should be used via inheritance. constructor () internal { } // solhint-disable-previous-line no-empty-blocks function _msgSender() internal view returns (address payable) { return msg.sender; } function _msgData() internal view returns (bytes memory) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } } // File: @openzeppelin/contracts/ownership/Ownable.sol pragma solidity ^0.5.0; /** * @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. * * 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. */ contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor () internal { _owner = _msgSender(); emit OwnershipTransferred(address(0), _owner); } /** * @dev Returns the address of the current owner. */ function owner() public view returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(isOwner(), "Ownable: caller is not the owner"); _; } /** * @dev Returns true if the caller is the current owner. */ function isOwner() public view returns (bool) { return _msgSender() == _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 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 onlyOwner { _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). */ function _transferOwnership(address newOwner) internal { require(newOwner != address(0), "Ownable: new owner is the zero address"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } } // File: @uniswap/v2-core/contracts/interfaces/IUniswapV2Pair.sol pragma solidity >=0.5.0; interface IUniswapV2Pair { event Approval(address indexed owner, address indexed spender, uint value); event Transfer(address indexed from, address indexed to, uint value); function name() external pure returns (string memory); function symbol() external pure returns (string memory); function decimals() external pure returns (uint8); function totalSupply() external view returns (uint); function balanceOf(address owner) external view returns (uint); function allowance(address owner, address spender) external view returns (uint); function approve(address spender, uint value) external returns (bool); function transfer(address to, uint value) external returns (bool); function transferFrom(address from, address to, uint value) external returns (bool); function DOMAIN_SEPARATOR() external view returns (bytes32); function PERMIT_TYPEHASH() external pure returns (bytes32); function nonces(address owner) external view returns (uint); function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external; event Mint(address indexed sender, uint amount0, uint amount1); event Burn(address indexed sender, uint amount0, uint amount1, address indexed to); event Swap( address indexed sender, uint amount0In, uint amount1In, uint amount0Out, uint amount1Out, address indexed to ); event Sync(uint112 reserve0, uint112 reserve1); function MINIMUM_LIQUIDITY() external pure returns (uint); function factory() external view returns (address); function token0() external view returns (address); function token1() external view returns (address); function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast); function price0CumulativeLast() external view returns (uint); function price1CumulativeLast() external view returns (uint); function kLast() external view returns (uint); function mint(address to) external returns (uint liquidity); function burn(address to) external returns (uint amount0, uint amount1); function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external; function skim(address to) external; function sync() external; function initialize(address, address) external; } // File: contracts/lib/UniswapV2Library.sol // taken from here: https://github.com/Uniswap/uniswap-v2-periphery/blob/master/contracts/libraries/UniswapV2Library.sol pragma solidity >=0.5.0; library UniswapV2Library { using SafeMath for uint256; // given an input amount of an asset and pair reserves, returns the maximum output amount of the other asset function getAmountOut( uint256 amountIn, uint256 reserveIn, uint256 reserveOut ) internal pure returns (uint256 amountOut) { require(amountIn > 0, "UniswapV2Library: INSUFFICIENT_INPUT_AMOUNT"); require(reserveIn > 0 && reserveOut > 0, "UniswapV2Library: INSUFFICIENT_LIQUIDITY"); uint256 amountInWithFee = amountIn.mul(997); uint256 numerator = amountInWithFee.mul(reserveOut); uint256 denominator = reserveIn.mul(1000).add(amountInWithFee); amountOut = numerator / denominator; } /** * @author allemanfredi * @notice given an input amount, returns the output * amount with slippage and with fees. This fx is * to check approximately onchain the slippage * during a swap */ function calculateSlippageAmountWithFees( uint256 _amountIn, uint256 _allowedSlippage, uint256 _rateIn, uint256 _rateOut ) internal pure returns (uint256) { require(_amountIn > 0, "UniswapV2Library: INSUFFICIENT_INPUT_AMOUNT"); uint256 slippageAmount = _amountIn .mul(_rateOut) .div(_rateIn) .mul(10000 - _allowedSlippage) .div(10000); // NOTE: remove fees return slippageAmount.mul(997).div(1000); } /** * @author allemanfredi * @notice given 2 inputs amount, it returns the * rate percentage between the 2 amounts */ function calculateRate(uint256 _amountIn, uint256 _amountOut) internal pure returns (uint256) { require(_amountIn > 0, "UniswapV2Library: INSUFFICIENT_INPUT_AMOUNT"); require(_amountOut > 0, "UniswapV2Library: INSUFFICIENT_OUTPUT_AMOUNT"); return _amountIn > _amountOut ? (10000 * _amountIn).sub(10000 * _amountOut).div(_amountIn) : (10000 * _amountOut).sub(10000 * _amountIn).div(_amountOut); } /** * @author allemanfredi * @notice returns the slippage for a trade without counting the fees */ function calculateSlippage( uint256 _amountIn, uint256 _reserveIn, uint256 _reserveOut ) internal pure returns (uint256) { require(_amountIn > 0, "UniswapV2Library: INSUFFICIENT_INPUT_AMOUNT"); uint256 price = _reserveOut.mul(10**18).div(_reserveIn); uint256 quote = _amountIn.mul(price); uint256 amountOut = getAmountOut(_amountIn, _reserveIn, _reserveOut); return uint256(10000).sub((amountOut * 10000).div(quote.div(10**18))).mul(997).div(1000); } } // File: @openzeppelin/contracts/math/Math.sol pragma solidity ^0.5.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); } } // File: contracts/IRewardDistributionRecipient.sol pragma solidity ^0.5.0; contract IRewardDistributionRecipient is Ownable { address public rewardDistribution; function notifyRewardAmount(uint256 reward) external; modifier onlyRewardDistribution() { require(_msgSender() == rewardDistribution, "Caller is not reward distribution"); _; } function setRewardDistribution(address _rewardDistribution) external onlyOwner { rewardDistribution = _rewardDistribution; } } // File: contracts/ModifiedUnipool.sol pragma solidity ^0.5.0; contract LPTokenWrapper { using SafeMath for uint256; using SafeERC20 for IERC20; IERC20 public uniV2; uint256 private _totalSupply; mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; event Approval(address indexed owner, address indexed spender, uint256 value); constructor(address _uniV2) public { uniV2 = IERC20(_uniV2); } function totalSupply() public view returns (uint256) { return _totalSupply; } function balanceOf(address account) public view returns (uint256) { return _balances[account]; } function stakeFor(address _user, uint256 _amount) public { _stake(_user, _amount); } function stake(uint256 _amount) public { _stake(msg.sender, _amount); } function approve(address _user, uint256 _amount) public { _approve(msg.sender, _user, _amount); } function withdraw(uint256 _amount) public { _withdraw(msg.sender, _amount); } function withdrawFrom(address _user, uint256 _amount) public { _withdraw(_user, _amount); _approve( _user, msg.sender, _allowances[_user][msg.sender].sub( _amount, "LPTokenWrapper: transfer amount exceeds allowance" ) ); } function allowance(address _owner, address _spender) public view returns (uint256) { return _allowances[_owner][_spender]; } function _stake(address _user, uint256 _amount) internal { _totalSupply = _totalSupply.add(_amount); _balances[_user] = _balances[_user].add(_amount); uniV2.safeTransferFrom(msg.sender, address(this), _amount); } function _withdraw(address _owner, uint256 _amount) internal { _totalSupply = _totalSupply.sub(_amount); _balances[_owner] = _balances[_owner].sub(_amount); IERC20(uniV2).safeTransfer(msg.sender, _amount); } function _approve( address _owner, address _user, uint256 _amount ) internal returns (bool) { require(_user != address(0), "LPTokenWrapper: approve to the zero address"); _allowances[_owner][_user] = _amount; emit Approval(_owner, _user, _amount); return true; } } contract ModifiedUnipool is LPTokenWrapper, IRewardDistributionRecipient { address public rewardToken; uint256 public constant DURATION = 7 days; uint256 public periodFinish = 0; uint256 public rewardRate = 0; uint256 public lastUpdateTime; uint256 public rewardPerTokenStored; mapping(address => uint256) public userRewardPerTokenPaid; mapping(address => uint256) public rewards; event RewardAdded(uint256 reward); event Staked(address indexed user, uint256 amount); event Withdrawn(address indexed user, uint256 amount); event RewardPaid(address indexed user, uint256 reward); modifier updateReward(address account) { rewardPerTokenStored = rewardPerToken(); lastUpdateTime = lastTimeRewardApplicable(); if (account != address(0)) { rewards[account] = earned(account); userRewardPerTokenPaid[account] = rewardPerTokenStored; } _; } constructor(address _rewardToken, address _uniV2) public LPTokenWrapper(_uniV2) { rewardToken = _rewardToken; } function notifyRewardAmount(uint256 reward) external onlyRewardDistribution updateReward(address(0)) { if (block.timestamp >= periodFinish) { rewardRate = reward.div(DURATION); } else { uint256 remaining = periodFinish.sub(block.timestamp); uint256 leftover = remaining.mul(rewardRate); rewardRate = reward.add(leftover).div(DURATION); } lastUpdateTime = block.timestamp; periodFinish = block.timestamp.add(DURATION); emit RewardAdded(reward); } function exit() external { withdraw(balanceOf(msg.sender)); getReward(msg.sender); } function lastTimeRewardApplicable() public view returns (uint256) { return Math.min(block.timestamp, periodFinish); } function rewardPerToken() public view returns (uint256) { if (totalSupply() == 0) { return rewardPerTokenStored; } return rewardPerTokenStored.add( lastTimeRewardApplicable().sub(lastUpdateTime).mul(rewardRate).mul(1e18).div( totalSupply() ) ); } function earned(address account) public view returns (uint256) { return balanceOf(account) .mul(rewardPerToken().sub(userRewardPerTokenPaid[account])) .div(1e18) .add(rewards[account]); } function stake(uint256 amount) public updateReward(msg.sender) { require(amount > 0, "Cannot stake 0"); super.stake(amount); emit Staked(msg.sender, amount); } function stakeFor(address _user, uint256 _amount) public updateReward(_user) { require(_amount > 0, "Cannot stake 0"); super.stakeFor(_user, _amount); emit Staked(_user, _amount); } function withdraw(uint256 amount) public updateReward(msg.sender) { require(amount > 0, "Cannot withdraw 0"); super.withdraw(amount); emit Withdrawn(msg.sender, amount); } function withdrawFrom(address _user, uint256 amount) public updateReward(_user) { require(amount > 0, "Cannot withdraw 0"); super.withdrawFrom(_user, amount); emit Withdrawn(_user, amount); } function getReward() public { _getReward(msg.sender); } function getReward(address _user) public { _getReward(_user); } function _getReward(address _user) internal updateReward(_user) { uint256 reward = earned(_user); if (reward > 0) { rewards[_user] = 0; IERC20(rewardToken).safeTransfer(_user, reward); emit RewardPaid(_user, reward); } } } // File: contracts/interfaces/IWETH.sol pragma solidity >=0.5.0; interface IWETH { function deposit() external payable; function transfer(address to, uint256 value) external returns (bool); function withdraw(uint256) external; function balanceOf(address who) external view returns (uint256); function approve(address spender, uint256 amount) external returns (bool); function allowance(address owner, address spender) external returns (uint256); } // File: contracts/strategies/RewardedPntWethUniV2Pair.sol pragma solidity ^0.5.0; contract RewardedPntWethUniV2Pair is Ownable { using SafeMath for uint256; using SafeERC20 for IERC20; IERC20 public pnt; IWETH public weth; IUniswapV2Pair public uniV2; ModifiedUnipool public modifiedUnipool; uint256 public allowedSlippage; event Staked(address indexed user, uint256 amount); event Unstaked(address indexed user, uint256 pntAmount, uint256 ethAmount); event AllowedSlippageChanged(uint256 slippage); /** * @param _uniV2 UniV2Pair address * @param _modifiedUnipool ModifiedUnipool address */ constructor(address _uniV2, address _modifiedUnipool) public { require(Address.isContract(_uniV2), "RewardedPntWethUniV2Pair: _uniV2 not a contract"); uniV2 = IUniswapV2Pair(_uniV2); modifiedUnipool = ModifiedUnipool(_modifiedUnipool); pnt = IERC20(uniV2.token0()); weth = IWETH(uniV2.token1()); } /** * @notice function used to handle the ethers sent * during the witdraw within the unstake function */ function() external payable { require(msg.sender == address(weth), "RewardedPntWethUniV2Pair: msg.sender is not weth"); } /** * @param _allowedSlippage new max allowed in percentage */ function setAllowedSlippage(uint256 _allowedSlippage) external onlyOwner { allowedSlippage = _allowedSlippage; emit AllowedSlippageChanged(_allowedSlippage); } /** * @notice _stakeFor wrapper */ function stake() public payable returns (bool) { require(msg.value > 0, "RewardedPntWethUniV2Pair: msg.value must be greater than 0"); _stakeFor(msg.sender, msg.value); return true; } /** * @notice Burn all user's UniV2 staked in the ModifiedUnipool, * unwrap the corresponding amount of WETH into ETH, collect * rewards matured from the UniV2 staking and sent it to msg.sender. * User must approve this contract to withdraw the corresponding * amount of his UniV2 balance in behalf of him. */ function unstake() public returns (bool) { uint256 uniV2SenderBalance = modifiedUnipool.balanceOf(msg.sender); require( modifiedUnipool.allowance(msg.sender, address(this)) >= uniV2SenderBalance, "RewardedPntWethUniV2Pair: amount not approved" ); modifiedUnipool.withdrawFrom(msg.sender, uniV2SenderBalance); modifiedUnipool.getReward(msg.sender); uniV2.transfer(address(uniV2), uniV2SenderBalance); (uint256 pntAmount, uint256 wethAmount) = uniV2.burn(address(this)); weth.withdraw(wethAmount); address(msg.sender).transfer(wethAmount); pnt.transfer(msg.sender, pntAmount); emit Unstaked(msg.sender, pntAmount, wethAmount); return true; } /** * @notice Wrap the Ethereum sent into WETH, swap the amount sent / 2 * into WETH and put them into a PNT/WETH Uniswap pool. * The amount of UniV2 token will be sent to ModifiedUnipool * in order to mature rewards. * @param _user address of the user who will have UniV2 tokens in ModifiedUnipool * @param _amount amount of weth to use to perform this operation */ function _stakeFor(address _user, uint256 _amount) internal { uint256 wethAmountIn = _amount / 2; (uint256 pntReserve, uint256 wethReserve, ) = uniV2.getReserves(); uint256 pntAmountOut = UniswapV2Library.getAmountOut(wethAmountIn, wethReserve, pntReserve); require( allowedSlippage >= UniswapV2Library.calculateSlippage(wethAmountIn, wethReserve, pntReserve), "RewardedPntWethUniV2Pair: too much slippage" ); weth.deposit.value(_amount)(); weth.transfer(address(uniV2), wethAmountIn); uniV2.swap(pntAmountOut, 0, address(this), ""); pnt.safeTransfer(address(uniV2), pntAmountOut); weth.transfer(address(uniV2), wethAmountIn); uint256 liquidity = uniV2.mint(address(this)); uniV2.approve(address(modifiedUnipool), liquidity); modifiedUnipool.stakeFor(_user, liquidity); emit Staked(_user, _amount); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"address","name":"_uniV2","type":"address"},{"internalType":"address","name":"_modifiedUnipool","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"slippage","type":"uint256"}],"name":"AllowedSlippageChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Staked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"pntAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethAmount","type":"uint256"}],"name":"Unstaked","type":"event"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"constant":true,"inputs":[],"name":"allowedSlippage","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"isOwner","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"modifiedUnipool","outputs":[{"internalType":"contract ModifiedUnipool","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"pnt","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"renounceOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"_allowedSlippage","type":"uint256"}],"name":"setAllowedSlippage","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"stake","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":true,"stateMutability":"payable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"uniV2","outputs":[{"internalType":"contract IUniswapV2Pair","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"unstake","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"weth","outputs":[{"internalType":"contract IWETH","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b506040516200196a3803806200196a833981810160405260408110156200003757600080fd5b508051602090910151620000536001600160e01b036200023416565b600080546001600160a01b0319166001600160a01b03928316178082556040519216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3620000b1826200023860201b620014bf1760201c565b620000ee5760405162461bcd60e51b815260040180806020018281038252602f8152602001806200193b602f913960400191505060405180910390fd5b600380546001600160a01b038085166001600160a01b0319928316179283905560048054858316931692909217825560408051630dfe168160e01b815290519390911692630dfe168192828101926020929190829003018186803b1580156200015657600080fd5b505afa1580156200016b573d6000803e3d6000fd5b505050506040513d60208110156200018257600080fd5b5051600180546001600160a01b0319166001600160a01b039283161790556003546040805163d21220a760e01b81529051919092169163d21220a7916004808301926020929190829003018186803b158015620001de57600080fd5b505afa158015620001f3573d6000803e3d6000fd5b505050506040513d60208110156200020a57600080fd5b5051600280546001600160a01b0319166001600160a01b0390921691909117905550620002759050565b3390565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47081158015906200026d5750808214155b949350505050565b6116b680620002856000396000f3fe6080604052600436106100a75760003560e01c80636406b6d0116100645780636406b6d0146101ba578063715018a6146101cf5780638da5cb5b146101e45780638f32d59b146101f9578063f2fde38b1461020e578063ffae404914610241576100a7565b80632365faea146100f25780632def66201461011c57806336c1ad31146101455780633a4b66f1146101765780633fc8cef31461017e578063431f244514610193575b6002546001600160a01b031633146100f05760405162461bcd60e51b81526004018080602001828103825260308152602001806115876030913960400191505060405180910390fd5b005b3480156100fe57600080fd5b506100f06004803603602081101561011557600080fd5b5035610256565b34801561012857600080fd5b506101316102ea565b604080519115158252519081900360200190f35b34801561015157600080fd5b5061015a610752565b604080516001600160a01b039092168252519081900360200190f35b610131610761565b34801561018a57600080fd5b5061015a6107b1565b34801561019f57600080fd5b506101a86107c0565b60408051918252519081900360200190f35b3480156101c657600080fd5b5061015a6107c6565b3480156101db57600080fd5b506100f06107d5565b3480156101f057600080fd5b5061015a610878565b34801561020557600080fd5b50610131610887565b34801561021a57600080fd5b506100f06004803603602081101561023157600080fd5b50356001600160a01b03166108ab565b34801561024d57600080fd5b5061015a610910565b61025e610887565b6102af576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b60058190556040805182815290517f44f3ebcd53cc7caaa403093ba74b57dd97ab53ba634db0463e5ed5ef359015949181900360200190a150565b60048054604080516370a0823160e01b815233938101939093525160009283926001600160a01b0316916370a0823191602480820192602092909190829003018186803b15801561033a57600080fd5b505afa15801561034e573d6000803e3d6000fd5b505050506040513d602081101561036457600080fd5b50516004805460408051636eb1769f60e11b815233938101939093523060248401525192935083926001600160a01b039091169163dd62ed3e916044808301926020929190829003018186803b1580156103bd57600080fd5b505afa1580156103d1573d6000803e3d6000fd5b505050506040513d60208110156103e757600080fd5b505110156104265760405162461bcd60e51b815260040180806020018281038252602d815260200180611600602d913960400191505060405180910390fd5b6004805460408051639470b0bd60e01b8152339381019390935260248301849052516001600160a01b0390911691639470b0bd91604480830192600092919082900301818387803b15801561047a57600080fd5b505af115801561048e573d6000803e3d6000fd5b50506004805460408051630c00007b60e41b81523393810193909352516001600160a01b03909116935063c00007b09250602480830192600092919082900301818387803b1580156104df57600080fd5b505af11580156104f3573d6000803e3d6000fd5b50506003546040805163a9059cbb60e01b81526001600160a01b039092166004830181905260248301869052905190935063a9059cbb925060448083019260209291908290030181600087803b15801561054c57600080fd5b505af1158015610560573d6000803e3d6000fd5b505050506040513d602081101561057657600080fd5b50506003546040805163226bf2d160e21b8152306004820152815160009384936001600160a01b03909116926389afcb44926024808301939282900301818787803b1580156105c457600080fd5b505af11580156105d8573d6000803e3d6000fd5b505050506040513d60408110156105ee57600080fd5b50805160209091015160025460408051632e1a7d4d60e01b81526004810184905290519395509193506001600160a01b031691632e1a7d4d9160248082019260009290919082900301818387803b15801561064857600080fd5b505af115801561065c573d6000803e3d6000fd5b505060405133925083156108fc02915083906000818181858888f1935050505015801561068d573d6000803e3d6000fd5b506001546040805163a9059cbb60e01b81523360048201526024810185905290516001600160a01b039092169163a9059cbb916044808201926020929091908290030181600087803b1580156106e257600080fd5b505af11580156106f6573d6000803e3d6000fd5b505050506040513d602081101561070c57600080fd5b50506040805183815260208101839052815133927f7fc4727e062e336010f2c282598ef5f14facb3de68cf8195c2f23e1454b2b74e928290030190a26001935050505090565b6001546001600160a01b031681565b60008034116107a15760405162461bcd60e51b815260040180806020018281038252603a815260200180611522603a913960400191505060405180910390fd5b6107ab333461091f565b50600190565b6002546001600160a01b031681565b60055481565b6004546001600160a01b031681565b6107dd610887565b61082e576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031690565b600080546001600160a01b031661089c610dea565b6001600160a01b031614905090565b6108b3610887565b610904576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b61090d81610dee565b50565b6003546001600160a01b031681565b6000600282049050600080600360009054906101000a90046001600160a01b03166001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b15801561097857600080fd5b505afa15801561098c573d6000803e3d6000fd5b505050506040513d60608110156109a257600080fd5b5080516020909101516dffffffffffffffffffffffffffff918216935016905060006109cf848385610e8e565b90506109dc848385610f7e565b6005541015610a1c5760405162461bcd60e51b815260040180806020018281038252602b81526020018061155c602b913960400191505060405180910390fd5b600260009054906101000a90046001600160a01b03166001600160a01b031663d0e30db0866040518263ffffffff1660e01b81526004016000604051808303818588803b158015610a6c57600080fd5b505af1158015610a80573d6000803e3d6000fd5b50506002546003546040805163a9059cbb60e01b81526001600160a01b039283166004820152602481018b9052905191909216945063a9059cbb9350604480830193506020928290030181600087803b158015610adc57600080fd5b505af1158015610af0573d6000803e3d6000fd5b505050506040513d6020811015610b0657600080fd5b50506003546040805163022c0d9f60e01b815260048101849052600060248201819052306044830152608060648301526084820181905291516001600160a01b039093169263022c0d9f9260c48084019391929182900301818387803b158015610b6f57600080fd5b505af1158015610b83573d6000803e3d6000fd5b5050600354600154610baa93506001600160a01b039081169250168363ffffffff61106e16565b6002546003546040805163a9059cbb60e01b81526001600160a01b039283166004820152602481018890529051919092169163a9059cbb9160448083019260209291908290030181600087803b158015610c0357600080fd5b505af1158015610c17573d6000803e3d6000fd5b505050506040513d6020811015610c2d57600080fd5b5050600354604080516335313c2160e11b815230600482015290516000926001600160a01b031691636a62784291602480830192602092919082900301818787803b158015610c7b57600080fd5b505af1158015610c8f573d6000803e3d6000fd5b505050506040513d6020811015610ca557600080fd5b5051600354600480546040805163095ea7b360e01b81526001600160a01b039283169381019390935260248301859052519394509091169163095ea7b3916044808201926020929091908290030181600087803b158015610d0557600080fd5b505af1158015610d19573d6000803e3d6000fd5b505050506040513d6020811015610d2f57600080fd5b505060048054604080516305dc812160e31b81526001600160a01b038b8116948201949094526024810185905290519290911691632ee409089160448082019260009290919082900301818387803b158015610d8a57600080fd5b505af1158015610d9e573d6000803e3d6000fd5b50506040805189815290516001600160a01b038b1693507f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d92509081900360200190a250505050505050565b3390565b6001600160a01b038116610e335760405162461bcd60e51b81526004018080602001828103825260268152602001806114fc6026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6000808411610ece5760405162461bcd60e51b815260040180806020018281038252602b815260200180611657602b913960400191505060405180910390fd5b600083118015610ede5750600082115b610f195760405162461bcd60e51b81526004018080602001828103825260288152602001806115b76028913960400191505060405180910390fd5b6000610f2d856103e563ffffffff6110c516565b90506000610f41828563ffffffff6110c516565b90506000610f6783610f5b886103e863ffffffff6110c516565b9063ffffffff61112716565b9050808281610f7257fe5b04979650505050505050565b6000808411610fbe5760405162461bcd60e51b815260040180806020018281038252602b815260200180611657602b913960400191505060405180910390fd5b6000610fe884610fdc85670de0b6b3a764000063ffffffff6110c516565b9063ffffffff61118116565b90506000610ffc868363ffffffff6110c516565b9050600061100b878787610e8e565b90506110636103e8610fdc6103e561105761104861103788670de0b6b3a764000063ffffffff61118116565b61271088029063ffffffff61118116565b6127109063ffffffff6111c316565b9063ffffffff6110c516565b979650505050505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b1790526110c0908490611205565b505050565b6000826110d457506000611121565b828202828482816110e157fe5b041461111e5760405162461bcd60e51b81526004018080602001828103825260218152602001806115df6021913960400191505060405180910390fd5b90505b92915050565b60008282018381101561111e576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b600061111e83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506113c3565b600061111e83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611465565b611217826001600160a01b03166114bf565b611268576040805162461bcd60e51b815260206004820152601f60248201527f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e747261637400604482015290519081900360640190fd5b60006060836001600160a01b0316836040518082805190602001908083835b602083106112a65780518252601f199092019160209182019101611287565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114611308576040519150601f19603f3d011682016040523d82523d6000602084013e61130d565b606091505b509150915081611364576040805162461bcd60e51b815260206004820181905260248201527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564604482015290519081900360640190fd5b8051156113bd5780806020019051602081101561138057600080fd5b50516113bd5760405162461bcd60e51b815260040180806020018281038252602a81526020018061162d602a913960400191505060405180910390fd5b50505050565b6000818361144f5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156114145781810151838201526020016113fc565b50505050905090810190601f1680156114415780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50600083858161145b57fe5b0495945050505050565b600081848411156114b75760405162461bcd60e51b81526020600482018181528351602484015283519092839260449091019190850190808383600083156114145781810151838201526020016113fc565b505050900390565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47081158015906114f35750808214155b94935050505056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573735265776172646564506e7457657468556e695632506169723a206d73672e76616c7565206d7573742062652067726561746572207468616e20305265776172646564506e7457657468556e695632506169723a20746f6f206d75636820736c6970706167655265776172646564506e7457657468556e695632506169723a206d73672e73656e646572206973206e6f742077657468556e697377617056324c6962726172793a20494e53554646494349454e545f4c4951554944495459536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775265776172646564506e7457657468556e695632506169723a20616d6f756e74206e6f7420617070726f7665645361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564556e697377617056324c6962726172793a20494e53554646494349454e545f494e5055545f414d4f554e54a265627a7a7231582038b21609b7dca59e5e0ae782b8817943443a7b2fb62d483a930e7146faf6dd6f64736f6c634300051000325265776172646564506e7457657468556e695632506169723a205f756e695632206e6f74206120636f6e747261637400000000000000000000000077bbc2b409c2c75e4999e8e3eb8309efff37cf2d000000000000000000000000ea8ddc2f50626f1f8f8c11242d1876710d65ff44
Deployed Bytecode
0x6080604052600436106100a75760003560e01c80636406b6d0116100645780636406b6d0146101ba578063715018a6146101cf5780638da5cb5b146101e45780638f32d59b146101f9578063f2fde38b1461020e578063ffae404914610241576100a7565b80632365faea146100f25780632def66201461011c57806336c1ad31146101455780633a4b66f1146101765780633fc8cef31461017e578063431f244514610193575b6002546001600160a01b031633146100f05760405162461bcd60e51b81526004018080602001828103825260308152602001806115876030913960400191505060405180910390fd5b005b3480156100fe57600080fd5b506100f06004803603602081101561011557600080fd5b5035610256565b34801561012857600080fd5b506101316102ea565b604080519115158252519081900360200190f35b34801561015157600080fd5b5061015a610752565b604080516001600160a01b039092168252519081900360200190f35b610131610761565b34801561018a57600080fd5b5061015a6107b1565b34801561019f57600080fd5b506101a86107c0565b60408051918252519081900360200190f35b3480156101c657600080fd5b5061015a6107c6565b3480156101db57600080fd5b506100f06107d5565b3480156101f057600080fd5b5061015a610878565b34801561020557600080fd5b50610131610887565b34801561021a57600080fd5b506100f06004803603602081101561023157600080fd5b50356001600160a01b03166108ab565b34801561024d57600080fd5b5061015a610910565b61025e610887565b6102af576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b60058190556040805182815290517f44f3ebcd53cc7caaa403093ba74b57dd97ab53ba634db0463e5ed5ef359015949181900360200190a150565b60048054604080516370a0823160e01b815233938101939093525160009283926001600160a01b0316916370a0823191602480820192602092909190829003018186803b15801561033a57600080fd5b505afa15801561034e573d6000803e3d6000fd5b505050506040513d602081101561036457600080fd5b50516004805460408051636eb1769f60e11b815233938101939093523060248401525192935083926001600160a01b039091169163dd62ed3e916044808301926020929190829003018186803b1580156103bd57600080fd5b505afa1580156103d1573d6000803e3d6000fd5b505050506040513d60208110156103e757600080fd5b505110156104265760405162461bcd60e51b815260040180806020018281038252602d815260200180611600602d913960400191505060405180910390fd5b6004805460408051639470b0bd60e01b8152339381019390935260248301849052516001600160a01b0390911691639470b0bd91604480830192600092919082900301818387803b15801561047a57600080fd5b505af115801561048e573d6000803e3d6000fd5b50506004805460408051630c00007b60e41b81523393810193909352516001600160a01b03909116935063c00007b09250602480830192600092919082900301818387803b1580156104df57600080fd5b505af11580156104f3573d6000803e3d6000fd5b50506003546040805163a9059cbb60e01b81526001600160a01b039092166004830181905260248301869052905190935063a9059cbb925060448083019260209291908290030181600087803b15801561054c57600080fd5b505af1158015610560573d6000803e3d6000fd5b505050506040513d602081101561057657600080fd5b50506003546040805163226bf2d160e21b8152306004820152815160009384936001600160a01b03909116926389afcb44926024808301939282900301818787803b1580156105c457600080fd5b505af11580156105d8573d6000803e3d6000fd5b505050506040513d60408110156105ee57600080fd5b50805160209091015160025460408051632e1a7d4d60e01b81526004810184905290519395509193506001600160a01b031691632e1a7d4d9160248082019260009290919082900301818387803b15801561064857600080fd5b505af115801561065c573d6000803e3d6000fd5b505060405133925083156108fc02915083906000818181858888f1935050505015801561068d573d6000803e3d6000fd5b506001546040805163a9059cbb60e01b81523360048201526024810185905290516001600160a01b039092169163a9059cbb916044808201926020929091908290030181600087803b1580156106e257600080fd5b505af11580156106f6573d6000803e3d6000fd5b505050506040513d602081101561070c57600080fd5b50506040805183815260208101839052815133927f7fc4727e062e336010f2c282598ef5f14facb3de68cf8195c2f23e1454b2b74e928290030190a26001935050505090565b6001546001600160a01b031681565b60008034116107a15760405162461bcd60e51b815260040180806020018281038252603a815260200180611522603a913960400191505060405180910390fd5b6107ab333461091f565b50600190565b6002546001600160a01b031681565b60055481565b6004546001600160a01b031681565b6107dd610887565b61082e576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031690565b600080546001600160a01b031661089c610dea565b6001600160a01b031614905090565b6108b3610887565b610904576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b61090d81610dee565b50565b6003546001600160a01b031681565b6000600282049050600080600360009054906101000a90046001600160a01b03166001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b15801561097857600080fd5b505afa15801561098c573d6000803e3d6000fd5b505050506040513d60608110156109a257600080fd5b5080516020909101516dffffffffffffffffffffffffffff918216935016905060006109cf848385610e8e565b90506109dc848385610f7e565b6005541015610a1c5760405162461bcd60e51b815260040180806020018281038252602b81526020018061155c602b913960400191505060405180910390fd5b600260009054906101000a90046001600160a01b03166001600160a01b031663d0e30db0866040518263ffffffff1660e01b81526004016000604051808303818588803b158015610a6c57600080fd5b505af1158015610a80573d6000803e3d6000fd5b50506002546003546040805163a9059cbb60e01b81526001600160a01b039283166004820152602481018b9052905191909216945063a9059cbb9350604480830193506020928290030181600087803b158015610adc57600080fd5b505af1158015610af0573d6000803e3d6000fd5b505050506040513d6020811015610b0657600080fd5b50506003546040805163022c0d9f60e01b815260048101849052600060248201819052306044830152608060648301526084820181905291516001600160a01b039093169263022c0d9f9260c48084019391929182900301818387803b158015610b6f57600080fd5b505af1158015610b83573d6000803e3d6000fd5b5050600354600154610baa93506001600160a01b039081169250168363ffffffff61106e16565b6002546003546040805163a9059cbb60e01b81526001600160a01b039283166004820152602481018890529051919092169163a9059cbb9160448083019260209291908290030181600087803b158015610c0357600080fd5b505af1158015610c17573d6000803e3d6000fd5b505050506040513d6020811015610c2d57600080fd5b5050600354604080516335313c2160e11b815230600482015290516000926001600160a01b031691636a62784291602480830192602092919082900301818787803b158015610c7b57600080fd5b505af1158015610c8f573d6000803e3d6000fd5b505050506040513d6020811015610ca557600080fd5b5051600354600480546040805163095ea7b360e01b81526001600160a01b039283169381019390935260248301859052519394509091169163095ea7b3916044808201926020929091908290030181600087803b158015610d0557600080fd5b505af1158015610d19573d6000803e3d6000fd5b505050506040513d6020811015610d2f57600080fd5b505060048054604080516305dc812160e31b81526001600160a01b038b8116948201949094526024810185905290519290911691632ee409089160448082019260009290919082900301818387803b158015610d8a57600080fd5b505af1158015610d9e573d6000803e3d6000fd5b50506040805189815290516001600160a01b038b1693507f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d92509081900360200190a250505050505050565b3390565b6001600160a01b038116610e335760405162461bcd60e51b81526004018080602001828103825260268152602001806114fc6026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6000808411610ece5760405162461bcd60e51b815260040180806020018281038252602b815260200180611657602b913960400191505060405180910390fd5b600083118015610ede5750600082115b610f195760405162461bcd60e51b81526004018080602001828103825260288152602001806115b76028913960400191505060405180910390fd5b6000610f2d856103e563ffffffff6110c516565b90506000610f41828563ffffffff6110c516565b90506000610f6783610f5b886103e863ffffffff6110c516565b9063ffffffff61112716565b9050808281610f7257fe5b04979650505050505050565b6000808411610fbe5760405162461bcd60e51b815260040180806020018281038252602b815260200180611657602b913960400191505060405180910390fd5b6000610fe884610fdc85670de0b6b3a764000063ffffffff6110c516565b9063ffffffff61118116565b90506000610ffc868363ffffffff6110c516565b9050600061100b878787610e8e565b90506110636103e8610fdc6103e561105761104861103788670de0b6b3a764000063ffffffff61118116565b61271088029063ffffffff61118116565b6127109063ffffffff6111c316565b9063ffffffff6110c516565b979650505050505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b1790526110c0908490611205565b505050565b6000826110d457506000611121565b828202828482816110e157fe5b041461111e5760405162461bcd60e51b81526004018080602001828103825260218152602001806115df6021913960400191505060405180910390fd5b90505b92915050565b60008282018381101561111e576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b600061111e83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506113c3565b600061111e83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611465565b611217826001600160a01b03166114bf565b611268576040805162461bcd60e51b815260206004820152601f60248201527f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e747261637400604482015290519081900360640190fd5b60006060836001600160a01b0316836040518082805190602001908083835b602083106112a65780518252601f199092019160209182019101611287565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114611308576040519150601f19603f3d011682016040523d82523d6000602084013e61130d565b606091505b509150915081611364576040805162461bcd60e51b815260206004820181905260248201527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564604482015290519081900360640190fd5b8051156113bd5780806020019051602081101561138057600080fd5b50516113bd5760405162461bcd60e51b815260040180806020018281038252602a81526020018061162d602a913960400191505060405180910390fd5b50505050565b6000818361144f5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156114145781810151838201526020016113fc565b50505050905090810190601f1680156114415780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50600083858161145b57fe5b0495945050505050565b600081848411156114b75760405162461bcd60e51b81526020600482018181528351602484015283519092839260449091019190850190808383600083156114145781810151838201526020016113fc565b505050900390565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47081158015906114f35750808214155b94935050505056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573735265776172646564506e7457657468556e695632506169723a206d73672e76616c7565206d7573742062652067726561746572207468616e20305265776172646564506e7457657468556e695632506169723a20746f6f206d75636820736c6970706167655265776172646564506e7457657468556e695632506169723a206d73672e73656e646572206973206e6f742077657468556e697377617056324c6962726172793a20494e53554646494349454e545f4c4951554944495459536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775265776172646564506e7457657468556e695632506169723a20616d6f756e74206e6f7420617070726f7665645361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564556e697377617056324c6962726172793a20494e53554646494349454e545f494e5055545f414d4f554e54a265627a7a7231582038b21609b7dca59e5e0ae782b8817943443a7b2fb62d483a930e7146faf6dd6f64736f6c63430005100032
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000077bbc2b409c2c75e4999e8e3eb8309efff37cf2d000000000000000000000000ea8ddc2f50626f1f8f8c11242d1876710d65ff44
-----Decoded View---------------
Arg [0] : _uniV2 (address): 0x77bbC2B409C2c75E4999e8E3eb8309EFff37cf2D
Arg [1] : _modifiedUnipool (address): 0xEa8ddC2F50626f1f8f8C11242D1876710d65ff44
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 00000000000000000000000077bbc2b409c2c75e4999e8e3eb8309efff37cf2d
Arg [1] : 000000000000000000000000ea8ddc2f50626f1f8f8c11242d1876710d65ff44
Deployed Bytecode Sourcemap
33070:4380:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34228:4;;-1:-1:-1;;;;;34228:4:0;34206:10;:27;34198:88;;;;-1:-1:-1;;;34198:88:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33070:4380;34383:182;;8:9:-1;5:2;;;30:1;27;20:12;5:2;34383:182:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;34383:182:0;;:::i;35231:786::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;35231:786:0;;;:::i;:::-;;;;;;;;;;;;;;;;;;33190:17;;8:9:-1;5:2;;;30:1;27;20:12;5:2;33190:17:0;;;:::i;:::-;;;;-1:-1:-1;;;;;33190:17:0;;;;;;;;;;;;;;34625:215;;;:::i;33214:17::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;33214:17:0;;;:::i;33319:30::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;33319:30:0;;;:::i;:::-;;;;;;;;;;;;;;;;33272:38;;8:9:-1;5:2;;;30:1;27;20:12;5:2;33272:38:0;;;:::i;18260:140::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;18260:140:0;;;:::i;17449:79::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;17449:79:0;;;:::i;17815:94::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;17815:94:0;;;:::i;18555:109::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;18555:109:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;18555:109:0;-1:-1:-1;;;;;18555:109:0;;:::i;33238:27::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;33238:27:0;;;:::i;34383:182::-;17661:9;:7;:9::i;:::-;17653:54;;;;;-1:-1:-1;;;17653:54:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34467:15;:34;;;34517:40;;;;;;;;;;;;;;;;;34383:182;:::o;35231:786::-;35312:15;;;:37;;;-1:-1:-1;;;35312:37:0;;35338:10;35312:37;;;;;;;;35266:4;;;;-1:-1:-1;;;;;35312:15:0;;:25;;:37;;;;;;;;;;;;;;;:15;:37;;;5:2:-1;;;;30:1;27;20:12;5:2;35312:37:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;35312:37:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;35312:37:0;35382:15;;;:52;;;-1:-1:-1;;;35382:52:0;;35408:10;35382:52;;;;;;;35428:4;35382:52;;;;;35312:37;;-1:-1:-1;35312:37:0;;-1:-1:-1;;;;;35382:15:0;;;;:25;;:52;;;;;35312:37;;35382:52;;;;;;;:15;:52;;;5:2:-1;;;;30:1;27;20:12;5:2;35382:52:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;35382:52:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;35382:52:0;:74;;35360:169;;;;-1:-1:-1;;;35360:169:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35542:15;;;:60;;;-1:-1:-1;;;35542:60:0;;35571:10;35542:60;;;;;;;;;;;;;;-1:-1:-1;;;;;35542:15:0;;;;:28;;:60;;;;;:15;;:60;;;;;;;:15;;:60;;;5:2:-1;;;;30:1;27;20:12;5:2;35542:60:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;;35613:15:0;;;:37;;;-1:-1:-1;;;35613:37:0;;35639:10;35613:37;;;;;;;;-1:-1:-1;;;;;35613:15:0;;;;-1:-1:-1;35613:25:0;;-1:-1:-1;35613:37:0;;;;;:15;;:37;;;;;;;:15;;:37;;;5:2:-1;;;;30:1;27;20:12;5:2;35613:37:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;;35663:5:0;;:50;;;-1:-1:-1;;;35663:50:0;;-1:-1:-1;;;;;35663:5:0;;;:50;;;;;;;;;;;;;;:5;;-1:-1:-1;35663:14:0;;-1:-1:-1;35663:50:0;;;;;;;;;;;;;;:5;;:50;;;5:2:-1;;;;30:1;27;20:12;5:2;35663:50:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;35663:50:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;35766:5:0;;:25;;;-1:-1:-1;;;35766:25:0;;35785:4;35766:25;;;;;;35725:17;;;;-1:-1:-1;;;;;35766:5:0;;;;:10;;:25;;;;;;;;;;;35725:17;35766:5;:25;;;5:2:-1;;;;30:1;27;20:12;5:2;35766:25:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;35766:25:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;35766:25:0;;;;;;;35804:4;;35766:25;35804;;-1:-1:-1;;;35804:25:0;;;;;;;;;;35766;;-1:-1:-1;35766:25:0;;-1:-1:-1;;;;;;35804:4:0;;:13;;:25;;;;;:4;;:25;;;;;;;;:4;;:25;;;5:2:-1;;;;30:1;27;20:12;5:2;35804:25:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;;35840:40:0;;35848:10;;-1:-1:-1;35840:40:0;;;;;-1:-1:-1;35869:10:0;;35840:40;;;;35869:10;35848;35840:40;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;35891:3:0;;:35;;;-1:-1:-1;;;35891:35:0;;35904:10;35891:35;;;;;;;;;;;;-1:-1:-1;;;;;35891:3:0;;;;:12;;:35;;;;;;;;;;;;;;;:3;;:35;;;5:2:-1;;;;30:1;27;20:12;5:2;35891:35:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;35891:35:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;35944:43:0;;;;;;35891:35;35944:43;;;;;;;35953:10;;35944:43;;;;;;;;36005:4;35998:11;;;;;35231:786;:::o;33190:17::-;;;-1:-1:-1;;;;;33190:17:0;;:::o;34625:215::-;34666:4;34703:1;34691:9;:13;34683:84;;;;-1:-1:-1;;;34683:84:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34778:32;34788:10;34800:9;34778;:32::i;:::-;-1:-1:-1;34828:4:0;34625:215;:::o;33214:17::-;;;-1:-1:-1;;;;;33214:17:0;;:::o;33319:30::-;;;;:::o;33272:38::-;;;-1:-1:-1;;;;;33272:38:0;;:::o;18260:140::-;17661:9;:7;:9::i;:::-;17653:54;;;;;-1:-1:-1;;;17653:54:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18359:1;18343:6;;18322:40;;-1:-1:-1;;;;;18343:6:0;;;;18322:40;;18359:1;;18322:40;18390:1;18373:19;;-1:-1:-1;;;;;;18373:19:0;;;18260:140::o;17449:79::-;17487:7;17514:6;-1:-1:-1;;;;;17514:6:0;17449:79;:::o;17815:94::-;17855:4;17895:6;;-1:-1:-1;;;;;17895:6:0;17879:12;:10;:12::i;:::-;-1:-1:-1;;;;;17879:22:0;;17872:29;;17815:94;:::o;18555:109::-;17661:9;:7;:9::i;:::-;17653:54;;;;;-1:-1:-1;;;17653:54:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18628:28;18647:8;18628:18;:28::i;:::-;18555:109;:::o;33238:27::-;;;-1:-1:-1;;;;;33238:27:0;;:::o;36463:984::-;36534:20;36567:1;36557:7;:11;36534:34;;36580:18;36600:19;36625:5;;;;;;;;;-1:-1:-1;;;;;36625:5:0;-1:-1:-1;;;;;36625:17:0;;:19;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;36625:19:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;36625:19:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;36625:19:0;;;;;;;36579:65;;;;;-1:-1:-1;36579:65:0;;-1:-1:-1;36655:20:0;36678:68;36708:12;36579:65;;36678:29;:68::i;:::-;36655:91;;36817:73;36852:12;36866:11;36879:10;36817:34;:73::i;:::-;36781:15;;:109;;36759:202;;;;-1:-1:-1;;;36759:202:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36974:4;;;;;;;;;-1:-1:-1;;;;;36974:4:0;-1:-1:-1;;;;;36974:12:0;;36993:7;36974:29;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;36974:29:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;;37014:4:0;;37036:5;;37014:43;;;-1:-1:-1;;;37014:43:0;;-1:-1:-1;;;;;37036:5:0;;;37014:43;;;;;;;;;;;;:4;;;;;-1:-1:-1;37014:13:0;;-1:-1:-1;37014:43:0;;;;;-1:-1:-1;37014:43:0;;;;;;;:4;;:43;;;5:2:-1;;;;30:1;27;20:12;5:2;37014:43:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;37014:43:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;37068:5:0;;:46;;;-1:-1:-1;;;37068:46:0;;;;;;;;:5;:46;;;;;;37104:4;37068:46;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;37068:5:0;;;;:10;;:46;;;;;:5;;:46;;;;;;:5;;:46;;;5:2:-1;;;;30:1;27;20:12;5:2;37068:46:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;;37152:5:0;;;37127:3;:46;;-1:-1:-1;;;;;;37127:3:0;;;;-1:-1:-1;37152:5:0;37160:12;37127:46;:16;:46;:::i;:::-;37184:4;;37206:5;;37184:43;;;-1:-1:-1;;;37184:43:0;;-1:-1:-1;;;;;37206:5:0;;;37184:43;;;;;;;;;;;;:4;;;;;:13;;:43;;;;;;;;;;;;;;:4;;:43;;;5:2:-1;;;;30:1;27;20:12;5:2;37184:43:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;37184:43:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;37258:5:0;;:25;;;-1:-1:-1;;;37258:25:0;;37277:4;37258:25;;;;;;37238:17;;-1:-1:-1;;;;;37258:5:0;;:10;;:25;;;;;37184:43;;37258:25;;;;;;;37238:17;37258:5;:25;;;5:2:-1;;;;30:1;27;20:12;5:2;37258:25:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;37258:25:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;37258:25:0;37296:5;;37318:15;;;37296:50;;;-1:-1:-1;;;37296:50:0;;-1:-1:-1;;;;;37318:15:0;;;37296:50;;;;;;;;;;;;;;37258:25;;-1:-1:-1;37296:5:0;;;;:13;;:50;;;;;37258:25;;37296:50;;;;;;;;:5;;:50;;;5:2:-1;;;;30:1;27;20:12;5:2;37296:50:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;37296:50:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;37357:15:0;;;:42;;;-1:-1:-1;;;37357:42:0;;-1:-1:-1;;;;;37357:42:0;;;;;;;;;;;;;;;;;;:15;;;;;:24;;:42;;;;;:15;;:42;;;;;;;;:15;;:42;;;5:2:-1;;;;30:1;27;20:12;5:2;37357:42:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;;37417:22:0;;;;;;;;-1:-1:-1;;;;;37417:22:0;;;-1:-1:-1;37417:22:0;;-1:-1:-1;37417:22:0;;;;;;;;36463:984;;;;;;;:::o;16198:98::-;16278:10;16198:98;:::o;18770:229::-;-1:-1:-1;;;;;18844:22:0;;18836:73;;;;-1:-1:-1;;;18836:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18946:6;;;18925:38;;-1:-1:-1;;;;;18925:38:0;;;;18946:6;;;18925:38;;;18974:6;:17;;-1:-1:-1;;;;;;18974:17:0;-1:-1:-1;;;;;18974:17:0;;;;;;;;;;18770:229::o;21935:572::-;22071:17;22120:1;22109:8;:12;22101:68;;;;-1:-1:-1;;;22101:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22200:1;22188:9;:13;:31;;;;;22218:1;22205:10;:14;22188:31;22180:84;;;;-1:-1:-1;;;22180:84:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22275:23;22301:17;:8;22314:3;22301:17;:12;:17;:::i;:::-;22275:43;-1:-1:-1;22329:17:0;22349:31;22275:43;22369:10;22349:31;:19;:31;:::i;:::-;22329:51;-1:-1:-1;22391:19:0;22413:40;22437:15;22413:19;:9;22427:4;22413:19;:13;:19;:::i;:::-;:23;:40;:23;:40;:::i;:::-;22391:62;;22488:11;22476:9;:23;;;;;;;21935:572;-1:-1:-1;;;;;;;21935:572:0:o;24074:532::-;24218:7;24258:1;24246:9;:13;24238:69;;;;-1:-1:-1;;;24238:69:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24318:13;24334:39;24362:10;24334:23;:11;24350:6;24334:23;:15;:23;:::i;:::-;:27;:39;:27;:39;:::i;:::-;24318:55;-1:-1:-1;24384:13:0;24400:20;:9;24318:55;24400:20;:13;:20;:::i;:::-;24384:36;;24431:17;24451:48;24464:9;24475:10;24487:11;24451:12;:48::i;:::-;24431:68;-1:-1:-1;24517:81:0;24593:4;24517:71;24584:3;24517:62;24536:42;24560:17;:5;24570:6;24560:17;:9;:17;:::i;:::-;24549:5;24537:17;;;24536:42;:23;:42;:::i;:::-;24525:5;;24517:62;:18;:62;:::i;:::-;:66;:71;:66;:71;:::i;:81::-;24510:88;24074:532;-1:-1:-1;;;;;;;24074:532:0:o;12180:176::-;12289:58;;;-1:-1:-1;;;;;12289:58:0;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;12289:58:0;;;;;;;;25:18:-1;;61:17;;-1:-1;;;;;182:15;-1:-1;;;179:29;160:49;;12263:85:0;;12282:5;;12263:18;:85::i;:::-;12180:176;;;:::o;2285:471::-;2343:7;2588:6;2584:47;;-1:-1:-1;2618:1:0;2611:8;;2584:47;2655:5;;;2659:1;2655;:5;:1;2679:5;;;;;:10;2671:56;;;;-1:-1:-1;;;2671:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2747:1;-1:-1:-1;2285:471:0;;;;;:::o;913:181::-;971:7;1003:5;;;1027:6;;;;1019:46;;;;;-1:-1:-1;;;1019:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;3224:132;3282:7;3309:39;3313:1;3316;3309:39;;;;;;;;;;;;;;;;;:3;:39::i;1369:136::-;1427:7;1454:43;1458:1;1461;1454:43;;;;;;;;;;;;;;;;;:3;:43::i;14219:1114::-;14823:27;14831:5;-1:-1:-1;;;;;14823:25:0;;:27::i;:::-;14815:71;;;;;-1:-1:-1;;;14815:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;14960:12;14974:23;15009:5;-1:-1:-1;;;;;15001:19:0;15021:4;15001:25;;;;;;;;;;;;;36:153:-1;66:2;61:3;58:11;36:153;;176:10;;164:23;;-1:-1;;139:12;;;;98:2;89:12;;;;114;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;15001:25:0;;;;;;;;;;;;;;;;;;;;;;;;14:1:-1;21;16:31;;;;75:4;69:11;64:16;;144:4;140:9;133:4;115:16;111:27;107:43;104:1;100:51;94:4;87:65;169:16;166:1;159:27;225:16;222:1;215:4;212:1;208:12;193:49;7:242;;16:31;36:4;31:9;;7:242;;14959:67:0;;;;15045:7;15037:52;;;;;-1:-1:-1;;;15037:52:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15106:17;;:21;15102:224;;15248:10;15237:30;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;15237:30:0;15229:85;;;;-1:-1:-1;;;15229:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14219:1114;;;;:::o;3886:345::-;3972:7;4074:12;4067:5;4059:28;;;;-1:-1:-1;;;4059:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;4059:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4098:9;4114:1;4110;:5;;;;;;;3886:345;-1:-1:-1;;;;;3886:345:0:o;1842:192::-;1928:7;1964:12;1956:6;;;;1948:29;;;;-1:-1:-1;;;1948:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27:10:-1;;8:100;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;1948:29:0;-1:-1:-1;;;2000:5:0;;;1842:192::o;6138:810::-;6198:4;6857:20;;6700:66;6897:15;;;;;:42;;;6928:11;6916:8;:23;;6897:42;6889:51;6138:810;-1:-1:-1;;;;6138:810:0:o
Swarm Source
bzzr://38b21609b7dca59e5e0ae782b8817943443a7b2fb62d483a930e7146faf6dd6f
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 31 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.