Spend less on fees, more on crypto. Buy crypto easily with MoonPay Balance. 20M+ users trust MoonPay worldwide.
Ready to onboard to Ethereum? With MetaMask Portfolio, you're in control.
Don’t invest unless you’re prepared to lose all the money you invest.
Everyday giveaways up to 100 ETH, Lucky Spins. Deposit BONUS 300% and Cashbacks!
5000+ Slots & Live Casino Games, 50+cryptos. Register with Etherscan and get 760% deposit bonus. Win Big$, withdraw it fast.
Slots, Roulette, Poker & more - Proud sponsors of UFC, Everton & StakeF1 team!
5000+ Slots & Live Casino Games, 50+cryptos. Register with Etherscan and get 760% deposit bonus. Win Big$, withdraw it fast.
Anonymous play on awesome games - sign up now for 25 free jackpot spins - worth $100s!
100s of games, generous bonuses, 20+ years of trusted gaming. Join CryptoWins & start winning today!
Overview
ETH Balance
Eth Value
$0.00Token Holdings
Could not find any matches!
- ERC-20 Tokens (21)6,617,758.65260581 SDAOSingularity ... (SDAO)$2,602,963.01@0.3933756,526.7611122 AGIXSingularityN... (AGIX)$585,324.76@0.7737105 BUSDBUSD (BUSD)$103.59@0.98662.64191933 WETHWrapped Ethe... (WETH)$10,099.38@3,822.74170.00000064 UNI-V2Uniswap AGIX/USDT LP (UNI-V2)$28,344.07@44,059,655,941.82660.00785216 UNI-V2Uniswap AGIX/ETH LP (UNI-V2)$14,985.69@1,908,480.077217.48300065 UNI-V2ERC-20: Unis... (UNI-V2)0.00194771 UNI-V2Uniswap SDAO/USDT LP (UNI-V2)1,855.2192023 UNI-V2Uniswap SDAO/ETH LP (UNI-V2)19.67818378 UNI-V2ERC-20: Unis... (UNI-V2)3,885,728.10119073 ZKAIERC-20: ZK A... (ZKAI)0.001 HQGERC-20: 环球股 (HQG)16,500 TokenERC-20 TOKEN*[Suspicious]200 TokenERC-20 TOKEN*[Suspicious]8,500 TokenERC-20 TOKEN*[Suspicious]8,500 TokenERC-20 TOKEN*[Suspicious]9,283 TokenERC-20 TOKEN*[Suspicious]98,127 TokenERC-20 TOKEN*[Suspicious]9,283 TokenERC-20 TOKEN*[Spam]100 TokenERC-20 TOKEN*[Spam]181 TokenERC-20 TOKEN*[Spam]NFT Tokens (12)Official Authorize credentialAGIX: Airdrop NFT VoucherERC-1155claim rewards on agixcoin.netagixcoin.netERC-1155nft-agix.comnft-agix.comERC-1155
- Transactions
- Internal Transactions
- Token Transfers (ERC-20)
- NFT Transfers
- Contract
- Events
- Analytics
- Multichain Portfolio
- Cards New
Advanced Filter- Filter by Tx Type:
- Tx
- Internal Tx
- ERC-20
- NFTs
Latest 25 from a total of 30,396 transactions
Transaction Hash MethodBlockFromToWithdraw And Har... 21380229 2024-12-11 15:42:11 9 hrs ago 1733931731 IN 0 ETH$0.00 0.00381354 33.98667576 Withdraw And Har... 21378579 2024-12-11 10:10:23 15 hrs ago 1733911823 IN 0 ETH$0.00 0.0013775 12.2764447 Withdraw 21377672 2024-12-11 7:06:59 18 hrs ago 1733900819 IN 0 ETH$0.00 0.00087707 10.32060092 Withdraw And Har... 21375821 2024-12-11 0:55:11 24 hrs ago 1733878511 IN 0 ETH$0.00 0.00161824 14.42195446 Withdraw 21367340 2024-12-09 20:29:47 2 days ago 1733776187 IN 0 ETH$0.00 0.00356102 41.9028456 Withdraw And Har... 21366470 2024-12-09 17:34:47 2 days ago 1733765687 IN 0 ETH$0.00 0.00365343 32.55631953 Withdraw 21364735 2024-12-09 11:45:59 2 days ago 1733744759 IN 0 ETH$0.00 0.00102539 11.42232974 Withdraw 21363338 2024-12-09 7:06:11 2 days ago 1733727971 IN 0 ETH$0.00 0.00077875 9.35887647 Withdraw 21362899 2024-12-09 5:37:59 2 days ago 1733722679 IN 0 ETH$0.00 0.00064714 9.53326609 Withdraw 21362891 2024-12-09 5:36:23 2 days ago 1733722583 IN 0 ETH$0.00 0.00064935 9.56578109 Withdraw 21362834 2024-12-09 5:24:47 2 days ago 1733721887 IN 0 ETH$0.00 0.00082712 9.73282121 Withdraw 21362808 2024-12-09 5:19:35 2 days ago 1733721575 IN 0 ETH$0.00 0.00086644 10.19556099 Withdraw And Har... 21361886 2024-12-09 2:14:35 2 days ago 1733710475 IN 0 ETH$0.00 0.00131501 11.71953019 Withdraw 21359652 2024-12-08 18:45:47 3 days ago 1733683547 IN 0 ETH$0.00 0.00078119 11.50803219 Withdraw 21359648 2024-12-08 18:44:59 3 days ago 1733683499 IN 0 ETH$0.00 0.00102365 11.40444912 Withdraw And Har... 21359414 2024-12-08 17:57:59 3 days ago 1733680679 IN 0 ETH$0.00 0.00131306 11.70214604 Withdraw And Har... 21358967 2024-12-08 16:28:11 3 days ago 1733675291 IN 0 ETH$0.00 0.00145898 15.34241678 Withdraw And Har... 21358391 2024-12-08 14:32:35 3 days ago 1733668355 IN 0 ETH$0.00 0.00132204 11.78224056 Withdraw And Har... 21358334 2024-12-08 14:21:11 3 days ago 1733667671 IN 0 ETH$0.00 0.00111232 11.69842517 Withdraw And Har... 21357406 2024-12-08 11:14:47 3 days ago 1733656487 IN 0 ETH$0.00 0.00071559 7.52406661 Withdraw And Har... 21357383 2024-12-08 11:10:11 3 days ago 1733656211 IN 0 ETH$0.00 0.00083836 8.81380439 Withdraw And Har... 21357236 2024-12-08 10:40:35 3 days ago 1733654435 IN 0 ETH$0.00 0.00085371 7.60843243 Withdraw And Har... 21356426 2024-12-08 7:57:59 3 days ago 1733644679 IN 0 ETH$0.00 0.000878 7.82742137 Withdraw And Har... 21356374 2024-12-08 7:47:35 3 days ago 1733644055 IN 0 ETH$0.00 0.0010376 9.2492543 Withdraw 21356080 2024-12-08 6:48:11 3 days ago 1733640491 IN 0 ETH$0.00 0.0006099 7.17683914 View more zero value Internal Transactions in Advanced View mode
Advanced mode:Loading...LoadingContract Name:SDAOTokenStaking
Compiler Versionv0.6.12+commit.27d51765
Optimization Enabled:Yes with 200 runs
Other Settings:default evmVersionContract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity 0.6.12; pragma experimental ABIEncoderV2; import "./libraries/BoringMath.sol"; import "./libraries/SignedSafeMath.sol"; import "./libraries/BoringERC20.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/ReentrancyGuard.sol"; /************************************************************************************************ Originally from https://github.com/sushiswap/sushiswap/blob/master/contracts/MasterChefV2.sol and https://github.com/sdaoswap/sushiswap/blob/master/contracts/MasterChef.sol This source code has been modified from the original, which was copied from the github repository at commit hash 10148a31d9192bc803dac5d24fe0319b52ae99a4. *************************************************************************************************/ contract SDAOTokenStaking is Ownable,ReentrancyGuard { using BoringMath for uint256; using BoringERC20 for IERC20; using SignedSafeMath for int256; //========== Structs ========== /// @dev Info of each user. /// @param amount LP token amount the user has provided. /// @param rewardDebt The amount of rewards entitled to the user. struct UserInfo { uint256 amount; int256 rewardDebt; } /// @dev Info of each rewards pool. /// @param tokenPerBlock Reward tokens per block number. /// @param lpSupply Total staked amount. /// @param accRewardsPerShare Total rewards accumulated per staked token. /// @param lastRewardBlock Last time rewards were updated for the pool. /// @param endOfEpochBlock End of epoc block number for compute and to avoid deposits. struct PoolInfo { uint256 tokenPerBlock; uint256 lpSupply; uint256 accRewardsPerShare; uint256 lastRewardBlock; uint256 endOfEpochBlock; } //========== Constants ========== /// @dev For percision calculation while computing the rewards. uint256 private constant ACC_REWARDS_PRECISION = 1e18; /// @dev ERC20 token used to distribute rewards. IERC20 public immutable rewardsToken; /** ========== Storage ========== */ /// @dev Indicates whether a staking pool exists for a given staking token. //mapping(address => bool) public stakingPoolExists; /// @dev Info of each staking pool. PoolInfo[] public poolInfo; /// @dev Address of the LP token for each staking pool. mapping(uint256 => IERC20) public lpToken; /// @dev Info of each user that stakes tokens. mapping(uint256 => mapping(address => UserInfo)) public userInfo; /// @dev Total rewards received from governance for distribution. /// Used to return remaining rewards if staking is canceled. uint256 public totalRewardsReceived; // ========== Events ========== event Deposit(address indexed user, uint256 indexed pid, uint256 amount, address indexed to); event Withdraw(address indexed user, uint256 indexed pid, uint256 amount, address indexed to); event EmergencyWithdraw(address indexed user, uint256 indexed pid, uint256 amount, address indexed to); event Harvest(address indexed user, uint256 indexed pid, uint256 amount); event LogPoolAddition(uint256 indexed pid, IERC20 indexed lpToken); event LogUpdatePool(uint256 indexed pid, uint256 lastRewardBlock, uint256 lpSupply, uint256 accRewardsPerShare); event RewardsAdded(uint256 amount); event ExtendPool(uint256 indexed pid, uint256 rewardBlock, uint256 endOfEpochBlock); // ========== Constructor ========== /// @dev During the deployment of the contract pass the ERC-20 contract address used for rewards. constructor(address _rewardsToken) public { rewardsToken = IERC20(_rewardsToken); } /// @dev Add rewards to be distributed. /// Note: This function must be used to add rewards if the owner /// wants to retain the option to cancel distribution and reclaim /// undistributed tokens. function addRewards(uint256 amount) external onlyOwner { require(rewardsToken.balanceOf(msg.sender) > 0, "ERC20: not enough tokens to transfer"); totalRewardsReceived = totalRewardsReceived.add(amount); rewardsToken.safeTransferFrom(msg.sender, address(this), amount); emit RewardsAdded(amount); } // ========== Pools ========== /// @dev Add a new LP to the pool. /// Can only be called by the owner or the points allocator. /// @param _lpToken Address of the LP ERC-20 token. /// @param _sdaoPerBlock Rewards per block. /// @param _endOfEpochBlock Epocs end block number. function add(IERC20 _lpToken, uint256 _sdaoPerBlock, uint256 _endOfEpochBlock) public onlyOwner { //This is not needed as we are going to use the contract for multiple pools with the same LP Tokens //require(!stakingPoolExists[address(_lpToken)], " Staking pool already exists."); require(_endOfEpochBlock > block.number, "Cannot create the pool for past time."); uint256 pid = poolInfo.length; lpToken[pid] = _lpToken; poolInfo.push(PoolInfo({ tokenPerBlock: _sdaoPerBlock, endOfEpochBlock:_endOfEpochBlock, lastRewardBlock: block.number, lpSupply:0, accRewardsPerShare: 0 })); //stakingPoolExists[address(_lpToken)] = true; emit LogPoolAddition(pid, _lpToken); } /// @dev Add a new LP to the pool. /// Can only be called by the owner or the points allocator. /// @param _pid Pool Id to extend the schedule. /// @param _sdaoPerBlock Rewards per block. /// @param _endOfEpochBlock Epocs end block number. function extendPool(uint256 _pid, uint256 _sdaoPerBlock, uint256 _endOfEpochBlock) public onlyOwner { require(_endOfEpochBlock > block.number && _endOfEpochBlock > poolInfo[_pid].endOfEpochBlock, "Cannot extend the pool for past time."); // Update the accumulated rewards PoolInfo memory pool = updatePool(_pid); pool.tokenPerBlock = _sdaoPerBlock; pool.endOfEpochBlock = _endOfEpochBlock; pool.lastRewardBlock = block.number; // Update the Pool Storage poolInfo[_pid] = pool; emit ExtendPool(_pid, _sdaoPerBlock, _endOfEpochBlock); } /// @dev To get the rewards per block. function sdaoPerBlock(uint256 _pid) public view returns (uint256 amount) { PoolInfo memory pool = poolInfo[_pid]; amount = pool.tokenPerBlock; } /// @dev Update reward variables for all pools in `pids`. /// Note: This can become very expensive. /// @param pids Pool IDs of all to be updated. Make sure to update all active pools. function massUpdatePools(uint256[] calldata pids) external onlyOwner { uint256 len = pids.length; for (uint256 i = 0; i < len; ++i) { updatePool(pids[i]); } } /// @dev Update reward variables of the given pool. /// @param _pid The index of the pool. See `poolInfo`. /// @return pool Returns the pool that was updated. function updatePool(uint256 _pid) private returns (PoolInfo memory pool) { pool = poolInfo[_pid]; uint256 lpSupply = pool.lpSupply; if (block.number > pool.lastRewardBlock && pool.lastRewardBlock < pool.endOfEpochBlock) { if(lpSupply > 0){ uint256 blocks; if(block.number < pool.endOfEpochBlock) { blocks = block.number.sub(pool.lastRewardBlock); } else { blocks = pool.endOfEpochBlock.sub(pool.lastRewardBlock); } uint256 sdaoReward = blocks.mul(sdaoPerBlock(_pid)); pool.accRewardsPerShare = pool.accRewardsPerShare.add((sdaoReward.mul(ACC_REWARDS_PRECISION) / lpSupply)); } pool.lastRewardBlock = block.number; poolInfo[_pid] = pool; emit LogUpdatePool(_pid, pool.lastRewardBlock, lpSupply, pool.accRewardsPerShare); } } // ========== Users ========== /// @dev View function to see pending rewards on frontend. /// @param _pid The index of the pool. See `poolInfo`. /// @param _user Address of user. /// @return pending rewards for a given user. function pendingRewards(uint256 _pid, address _user) external view returns (uint256 pending) { PoolInfo memory pool = poolInfo[_pid]; UserInfo storage user = userInfo[_pid][_user]; uint256 accRewardsPerShare = pool.accRewardsPerShare; uint256 lpSupply = pool.lpSupply; if (block.number > pool.lastRewardBlock && pool.lastRewardBlock < pool.endOfEpochBlock) { if(lpSupply > 0){ uint256 blocks; if(block.number < pool.endOfEpochBlock) { blocks = block.number.sub(pool.lastRewardBlock); } else { blocks = pool.endOfEpochBlock.sub(pool.lastRewardBlock); } uint256 sdaoReward = blocks.mul(sdaoPerBlock(_pid)); accRewardsPerShare = accRewardsPerShare.add(sdaoReward.mul(ACC_REWARDS_PRECISION) / lpSupply); } } pending = int256(user.amount.mul(accRewardsPerShare) / ACC_REWARDS_PRECISION).sub(user.rewardDebt).toUInt256(); } /// @dev Deposit LP tokens to earn rewards. /// @param _pid The index of the pool. See `poolInfo`. /// @param _amount LP token amount to deposit. /// @param _to The receiver of `_amount` deposit benefit. function deposit(uint256 _pid, uint256 _amount, address _to) external nonReentrant { // Input Validation require(_amount > 0 && _to != address(0), "Invalid inputs for deposit."); PoolInfo memory pool = updatePool(_pid); UserInfo storage user = userInfo[_pid][_to]; // check if epoch as ended or if pool doesnot exist require (pool.endOfEpochBlock > block.number,"This pool epoch has ended. Please join staking new session."); user.amount = user.amount.add(_amount); user.rewardDebt = user.rewardDebt.add(int256(_amount.mul(pool.accRewardsPerShare) / ACC_REWARDS_PRECISION)); // Add to total supply pool.lpSupply = pool.lpSupply.add(_amount); // Update the pool back poolInfo[_pid] = pool; // Interactions lpToken[_pid].safeTransferFrom(msg.sender, address(this), _amount); emit Deposit(msg.sender, _pid, _amount, _to); } /// @dev Withdraw LP tokens from the staking contract. /// @param _pid The index of the pool. See `poolInfo`. /// @param _amount LP token amount to withdraw. /// @param _to Receiver of the LP tokens. function withdraw(uint256 _pid, uint256 _amount, address _to) external nonReentrant { require(_to != address(0), "ERC20: transfer to the zero address"); PoolInfo memory pool = updatePool(_pid); UserInfo storage user = userInfo[_pid][msg.sender]; // Check whether user has deposited stake require(user.amount >= _amount && _amount > 0, "Invalid amount to withdraw."); // Effects user.rewardDebt = user.rewardDebt.sub(int256(_amount.mul(pool.accRewardsPerShare) / ACC_REWARDS_PRECISION)); user.amount = user.amount.sub(_amount); // Subtract from total supply pool.lpSupply = pool.lpSupply.sub(_amount); // Update the pool back poolInfo[_pid] = pool; // Interactions lpToken[_pid].safeTransfer(_to, _amount); emit Withdraw(msg.sender, _pid, _amount, _to); } /// @dev Harvest proceeds for transaction sender to `_to`. /// @param _pid The index of the pool. See `poolInfo`. /// @param _to Receiver of rewards. function harvest(uint256 _pid, address _to) external nonReentrant { require(_to != address(0), "ERC20: transfer to the zero address"); PoolInfo memory pool = updatePool(_pid); UserInfo storage user = userInfo[_pid][msg.sender]; int256 accumulatedRewards = int256(user.amount.mul(pool.accRewardsPerShare) / ACC_REWARDS_PRECISION); uint256 _pendingRewards = accumulatedRewards.sub(user.rewardDebt).toUInt256(); // Effects user.rewardDebt = accumulatedRewards; // Interactions if(_pendingRewards > 0 ) { rewardsToken.safeTransfer(_to, _pendingRewards); } emit Harvest(msg.sender, _pid, _pendingRewards); } //// @dev Withdraw LP tokens and harvest accumulated rewards, sending both to `to`. /// @param _pid The index of the pool. See `poolInfo`. /// @param _amount LP token amount to withdraw. /// @param _to Receiver of the LP tokens and rewards. function withdrawAndHarvest(uint256 _pid, uint256 _amount, address _to) external nonReentrant { require(_to != address(0), "ERC20: transfer to the zero address"); PoolInfo memory pool = updatePool(_pid); UserInfo storage user = userInfo[_pid][msg.sender]; // Check if the user has stake in the pool require(user.amount >= _amount && _amount > 0, "Cannot withdraw more than staked."); int256 accumulatedRewards = int256(user.amount.mul(pool.accRewardsPerShare) / ACC_REWARDS_PRECISION); uint256 _pendingRewards = accumulatedRewards.sub(user.rewardDebt).toUInt256(); // Effects user.rewardDebt = accumulatedRewards.sub(int256(_amount.mul(pool.accRewardsPerShare) / ACC_REWARDS_PRECISION)); user.amount = user.amount.sub(_amount); // Subtract from total supply pool.lpSupply = pool.lpSupply.sub(_amount); // Update the pool back poolInfo[_pid] = pool; // Interactions if(_pendingRewards > 0) { rewardsToken.safeTransfer(_to, _pendingRewards); } lpToken[_pid].safeTransfer(_to, _amount); emit Harvest(msg.sender, _pid, _pendingRewards); emit Withdraw(msg.sender, _pid, _amount, _to); } /// @dev Withdraw without caring about rewards. EMERGENCY ONLY. /// @param _pid The index of the pool. See `poolInfo`. /// @param _to Receiver of the LP tokens. function emergencyWithdraw(uint256 _pid, address _to) external nonReentrant { require(_to != address(0), "ERC20: transfer to the zero address"); UserInfo storage user = userInfo[_pid][msg.sender]; uint256 amount = user.amount; user.amount = 0; user.rewardDebt = 0; PoolInfo memory pool = updatePool(_pid); pool.lpSupply = pool.lpSupply.sub(amount); // Update the pool back poolInfo[_pid] = pool; // Note: transfer can fail or succeed if `amount` is zero. lpToken[_pid].safeTransfer(_to, amount); emit EmergencyWithdraw(msg.sender, _pid, amount, _to); } function withdrawETHAndAnyTokens(address token) external onlyOwner { msg.sender.send(address(this).balance); IERC20 Token = IERC20(token); uint256 currentTokenBalance = Token.balanceOf(address(this)); Token.safeTransfer(msg.sender, currentTokenBalance); } // ========== Getter Functions ========== function poolLength() external view returns (uint256) { return poolInfo.length; } }
// SPDX-License-Identifier: MIT pragma solidity 0.6.12; interface IERC20 { function totalSupply() external view returns (uint256); function balanceOf(address account) external view returns (uint256); function allowance(address owner, address spender) external view returns (uint256); function approve(address spender, uint256 amount) external returns (bool); event Transfer(address indexed from, address indexed to, uint256 value); event Approval(address indexed owner, address indexed spender, uint256 value); /// @notice EIP 2612 function permit( address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) external; }
// SPDX-License-Identifier: MIT pragma solidity 0.6.12; import "../interfaces/IERC20.sol"; // solhint-disable avoid-low-level-calls library BoringERC20 { bytes4 private constant SIG_SYMBOL = 0x95d89b41; // symbol() bytes4 private constant SIG_NAME = 0x06fdde03; // name() bytes4 private constant SIG_DECIMALS = 0x313ce567; // decimals() bytes4 private constant SIG_TRANSFER = 0xa9059cbb; // transfer(address,uint256) bytes4 private constant SIG_TRANSFER_FROM = 0x23b872dd; // transferFrom(address,address,uint256) function returnDataToString(bytes memory data) internal pure returns (string memory) { if (data.length >= 64) { return abi.decode(data, (string)); } else if (data.length == 32) { uint8 i = 0; while(i < 32 && data[i] != 0) { i++; } bytes memory bytesArray = new bytes(i); for (i = 0; i < 32 && data[i] != 0; i++) { bytesArray[i] = data[i]; } return string(bytesArray); } else { return "???"; } } /// @notice Provides a safe ERC20.symbol version which returns '???' as fallback string. /// @param token The address of the ERC-20 token contract. /// @return (string) Token symbol. function safeSymbol(IERC20 token) internal view returns (string memory) { (bool success, bytes memory data) = address(token).staticcall(abi.encodeWithSelector(SIG_SYMBOL)); return success ? returnDataToString(data) : "???"; } /// @notice Provides a safe ERC20.name version which returns '???' as fallback string. /// @param token The address of the ERC-20 token contract. /// @return (string) Token name. function safeName(IERC20 token) internal view returns (string memory) { (bool success, bytes memory data) = address(token).staticcall(abi.encodeWithSelector(SIG_NAME)); return success ? returnDataToString(data) : "???"; } /// @notice Provides a safe ERC20.decimals version which returns '18' as fallback value. /// @param token The address of the ERC-20 token contract. /// @return (uint8) Token decimals. function safeDecimals(IERC20 token) internal view returns (uint8) { (bool success, bytes memory data) = address(token).staticcall(abi.encodeWithSelector(SIG_DECIMALS)); return success && data.length == 32 ? abi.decode(data, (uint8)) : 18; } /// @notice Provides a safe ERC20.transfer version for different ERC-20 implementations. /// Reverts on a failed transfer. /// @param token The address of the ERC-20 token. /// @param to Transfer tokens to. /// @param amount The token amount. function safeTransfer( IERC20 token, address to, uint256 amount ) internal { (bool success, bytes memory data) = address(token).call(abi.encodeWithSelector(SIG_TRANSFER, to, amount)); require(success && (data.length == 0 || abi.decode(data, (bool))), "BoringERC20: Transfer failed"); } /// @notice Provides a safe ERC20.transferFrom version for different ERC-20 implementations. /// Reverts on a failed transfer. /// @param token The address of the ERC-20 token. /// @param from Transfer tokens from. /// @param to Transfer tokens to. /// @param amount The token amount. function safeTransferFrom( IERC20 token, address from, address to, uint256 amount ) internal { (bool success, bytes memory data) = address(token).call(abi.encodeWithSelector(SIG_TRANSFER_FROM, from, to, amount)); require(success && (data.length == 0 || abi.decode(data, (bool))), "BoringERC20: TransferFrom failed"); } }
// SPDX-License-Identifier: MIT pragma solidity 0.6.12; /// @notice A library for performing overflow-/underflow-safe math, /// updated with awesomeness from of DappHub (https://github.com/dapphub/ds-math). library BoringMath { function add(uint256 a, uint256 b) internal pure returns (uint256 c) { require((c = a + b) >= b, "BoringMath: Add Overflow"); } function sub(uint256 a, uint256 b) internal pure returns (uint256 c) { require((c = a - b) <= a, "BoringMath: Underflow"); } function mul(uint256 a, uint256 b) internal pure returns (uint256 c) { require(b == 0 || (c = a * b) / b == a, "BoringMath: Mul Overflow"); } function to128(uint256 a) internal pure returns (uint128 c) { require(a <= uint128(-1), "BoringMath: uint128 Overflow"); c = uint128(a); } function to64(uint256 a) internal pure returns (uint64 c) { require(a <= uint64(-1), "BoringMath: uint64 Overflow"); c = uint64(a); } function to32(uint256 a) internal pure returns (uint32 c) { require(a <= uint32(-1), "BoringMath: uint32 Overflow"); c = uint32(a); } } /// @notice A library for performing overflow-/underflow-safe addition and subtraction on uint128. library BoringMath128 { function add(uint128 a, uint128 b) internal pure returns (uint128 c) { require((c = a + b) >= b, "BoringMath: Add Overflow"); } function sub(uint128 a, uint128 b) internal pure returns (uint128 c) { require((c = a - b) <= a, "BoringMath: Underflow"); } } /// @notice A library for performing overflow-/underflow-safe addition and subtraction on uint64. library BoringMath64 { function add(uint64 a, uint64 b) internal pure returns (uint64 c) { require((c = a + b) >= b, "BoringMath: Add Overflow"); } function sub(uint64 a, uint64 b) internal pure returns (uint64 c) { require((c = a - b) <= a, "BoringMath: Underflow"); } } /// @notice A library for performing overflow-/underflow-safe addition and subtraction on uint32. library BoringMath32 { function add(uint32 a, uint32 b) internal pure returns (uint32 c) { require((c = a + b) >= b, "BoringMath: Add Overflow"); } function sub(uint32 a, uint32 b) internal pure returns (uint32 c) { require((c = a - b) <= a, "BoringMath: Underflow"); } }
// SPDX-License-Identifier: MIT pragma solidity 0.6.12; library SignedSafeMath { int256 constant private _INT256_MIN = -2**255; /** * @dev Returns the multiplication of two signed integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(int256 a, int256 b) internal pure returns (int256) { // 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; } require(!(a == -1 && b == _INT256_MIN), "SignedSafeMath: multiplication overflow"); int256 c = a * b; require(c / a == b, "SignedSafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two signed 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(int256 a, int256 b) internal pure returns (int256) { require(b != 0, "SignedSafeMath: division by zero"); require(!(b == -1 && a == _INT256_MIN), "SignedSafeMath: division overflow"); int256 c = a / b; return c; } /** * @dev Returns the subtraction of two signed integers, reverting on * overflow. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(int256 a, int256 b) internal pure returns (int256) { int256 c = a - b; require((b >= 0 && c <= a) || (b < 0 && c > a), "SignedSafeMath: subtraction overflow"); return c; } /** * @dev Returns the addition of two signed integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(int256 a, int256 b) internal pure returns (int256) { int256 c = a + b; require((b >= 0 && c >= a) || (b < 0 && c < a), "SignedSafeMath: addition overflow"); return c; } function toUInt256(int256 a) internal pure returns (uint256) { require(a >= 0, "Integer < 0"); return uint256(a); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.6.0; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with GSN meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address payable) { return msg.sender; } function _msgData() internal view virtual returns (bytes memory) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.6.0; import "../GSN/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. */ contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor () internal { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } /** * @dev Returns the address of the current owner. */ function owner() public view returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(_owner == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.6.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor () internal { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and make it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
{ "remappings": [], "optimizer": { "enabled": true, "runs": 200 }, "evmVersion": "istanbul", "libraries": {}, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
[{"inputs":[{"internalType":"address","name":"_rewardsToken","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"EmergencyWithdraw","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"rewardBlock","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"endOfEpochBlock","type":"uint256"}],"name":"ExtendPool","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Harvest","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":true,"internalType":"contract IERC20","name":"lpToken","type":"address"}],"name":"LogPoolAddition","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"lastRewardBlock","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"lpSupply","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"accRewardsPerShare","type":"uint256"}],"name":"LogUpdatePool","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":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"RewardsAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"Withdraw","type":"event"},{"inputs":[{"internalType":"contract IERC20","name":"_lpToken","type":"address"},{"internalType":"uint256","name":"_sdaoPerBlock","type":"uint256"},{"internalType":"uint256","name":"_endOfEpochBlock","type":"uint256"}],"name":"add","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"addRewards","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"address","name":"_to","type":"address"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"address","name":"_to","type":"address"}],"name":"emergencyWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_sdaoPerBlock","type":"uint256"},{"internalType":"uint256","name":"_endOfEpochBlock","type":"uint256"}],"name":"extendPool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"address","name":"_to","type":"address"}],"name":"harvest","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"lpToken","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"pids","type":"uint256[]"}],"name":"massUpdatePools","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"address","name":"_user","type":"address"}],"name":"pendingRewards","outputs":[{"internalType":"uint256","name":"pending","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"poolInfo","outputs":[{"internalType":"uint256","name":"tokenPerBlock","type":"uint256"},{"internalType":"uint256","name":"lpSupply","type":"uint256"},{"internalType":"uint256","name":"accRewardsPerShare","type":"uint256"},{"internalType":"uint256","name":"lastRewardBlock","type":"uint256"},{"internalType":"uint256","name":"endOfEpochBlock","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"poolLength","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rewardsToken","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"sdaoPerBlock","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalRewardsReceived","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"address","name":"","type":"address"}],"name":"userInfo","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"int256","name":"rewardDebt","type":"int256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"address","name":"_to","type":"address"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"address","name":"_to","type":"address"}],"name":"withdrawAndHarvest","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"withdrawETHAndAnyTokens","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60a06040523480156200001157600080fd5b506040516200227e3803806200227e8339810160408190526200003491620000a8565b600062000040620000a4565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506001805560601b6001600160601b031916608052620000d8565b3390565b600060208284031215620000ba578081fd5b81516001600160a01b0381168114620000d1578182fd5b9392505050565b60805160601c6121746200010a6000398061070a5280610f315280610ff05280611363528061144a52506121746000f3fe608060405234801561001057600080fd5b50600436106101375760003560e01c8063715018a6116100b857806393f1a40b1161007c57806393f1a40b14610263578063beceed3914610284578063d18df53c14610297578063d1abb907146102aa578063d1af0c7d146102bd578063f2fde38b146102c557610137565b8063715018a61461020d57806378ed5d1f1461021557806382c6746b146102355780638da5cb5b146102485780638dbdbe6d1461025057610137565b80632f940c70116100ff5780632f940c70146101b95780634d5428a7146101cc5780635101e128146101d457806357a5b58c146101e75780635bac7fe2146101fa57610137565b8063081e3eda1461013c5780630ad58d2f1461015a5780631526fe271461016f578063155053f61461019357806318fccc76146101a6575b600080fd5b6101446102d8565b60405161015191906120d6565b60405180910390f35b61016d610168366004611b67565b6102de565b005b61018261017d366004611b08565b6104b9565b604051610151959493929190612103565b61016d6101a1366004611b9f565b6104f7565b61016d6101b4366004611b38565b61062b565b61016d6101c7366004611b38565b61077f565b6101446108d4565b61016d6101e2366004611ad4565b6108da565b61016d6101f5366004611a45565b610a86565b610144610208366004611b08565b610af1565b61016d610b62565b610228610223366004611b08565b610be1565b6040516101519190611c03565b61016d610243366004611a29565b610bfc565b610228610ce8565b61016d61025e366004611b67565b610cf7565b610276610271366004611b38565b610ebe565b6040516101519291906120df565b61016d610292366004611b08565b610ee2565b6101446102a5366004611b38565b611052565b61016d6102b8366004611b67565b6111b8565b610228611448565b61016d6102d3366004611a29565b61146c565b60025490565b6002600154141561030a5760405162461bcd60e51b81526004016103019061200b565b60405180910390fd5b60026001556001600160a01b0381166103355760405162461bcd60e51b815260040161030190611c83565b61033d6119fa565b61034684611522565b6000858152600460209081526040808320338452909152902080549192509084118015906103745750600084115b6103905760405162461bcd60e51b815260040161030190611d9f565b6103c7670de0b6b3a76400006103b38460400151876116cb90919063ffffffff16565b816103ba57fe5b6001840154919004611708565b600182015580546103d89085611755565b815560208201516103e99085611755565b602083015260028054839190879081106103ff57fe5b60009182526020808320845160059093020191825583810151600183015560408085015160028401556060850151600380850191909155608090950151600490930192909255888352929092522054610462906001600160a01b03168486611778565b826001600160a01b031685336001600160a01b03167f8166bf25f8a2b7ed3c85049207da4358d16edbed977d23fa2ee6f0dde3ec2132876040516104a691906120d6565b60405180910390a4505060018055505050565b600281815481106104c657fe5b6000918252602090912060059091020180546001820154600283015460038401546004909401549294509092909185565b6104ff61186e565b6000546001600160a01b0390811691161461052c5760405162461bcd60e51b815260040161030190611f18565b438111801561055857506002838154811061054357fe5b90600052602060002090600502016004015481115b6105745760405162461bcd60e51b815260040161030190611f4d565b61057c6119fa565b61058584611522565b83815260808101839052436060820152600280549192508291869081106105a857fe5b90600052602060002090600502016000820151816000015560208201518160010155604082015181600201556060820151816003015560808201518160040155905050837fd84f05d12e5bbece825d8f095d51e8a0c2071dc6d212216b7829919c8a284b49848460405161061d9291906120df565b60405180910390a250505050565b6002600154141561064e5760405162461bcd60e51b81526004016103019061200b565b60026001556001600160a01b0381166106795760405162461bcd60e51b815260040161030190611c83565b6106816119fa565b61068a83611522565b60008481526004602090815260408083203384529091528082209083015181549394509092670de0b6b3a7640000916106c391906116cb565b816106ca57fe5b04905060006106ee6106e984600101548461170890919063ffffffff16565b611872565b6001840183905590508015610731576107316001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168683611778565b85336001600160a01b03167f71bab65ced2e5750775a0613be067df48ef06cf92a496ebf7663ae06609249548360405161076b91906120d6565b60405180910390a350506001805550505050565b600260015414156107a25760405162461bcd60e51b81526004016103019061200b565b60026001556001600160a01b0381166107cd5760405162461bcd60e51b815260040161030190611c83565b6000828152600460209081526040808320338452909152812080548282556001820192909255906107fc6119fa565b61080585611522565b60208101519091506108179083611755565b6020820152600280548291908790811061082d57fe5b60009182526020808320845160059093020191825583810151600183015560408085015160028401556060850151600380850191909155608090950151600490930192909255888352929092522054610890906001600160a01b03168584611778565b836001600160a01b031685336001600160a01b03167f2cac5e20e1541d836381527a43f651851e302817b71dc8e810284e69210c1c6b856040516104a691906120d6565b60055481565b6108e261186e565b6000546001600160a01b0390811691161461090f5760405162461bcd60e51b815260040161030190611f18565b43811161092e5760405162461bcd60e51b815260040161030190611dd6565b60028054600081815260036020908152604080832080546001600160a01b0319166001600160a01b038a16908117909155815160a0810183528881529283018481528383018581524360608601908152608086018a81528954600181018b5599885295517f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace6005909a02998a015591517f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5acf890155517f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ad0880155517f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ad187015591517f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ad290950194909455925191929183917f11fb110b35bb2762dc2b0b5a6675871349c88c1925982af54a6acf07189bd3ce91a350505050565b610a8e61186e565b6000546001600160a01b03908116911614610abb5760405162461bcd60e51b815260040161030190611f18565b8060005b81811015610aeb57610ae2848483818110610ad657fe5b90506020020135611522565b50600101610abf565b50505050565b6000610afb6119fa565b60028381548110610b0857fe5b90600052602060002090600502016040518060a00160405290816000820154815260200160018201548152602001600282015481526020016003820154815260200160048201548152505090508060000151915050919050565b610b6a61186e565b6000546001600160a01b03908116911614610b975760405162461bcd60e51b815260040161030190611f18565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6003602052600090815260409020546001600160a01b031681565b610c0461186e565b6000546001600160a01b03908116911614610c315760405162461bcd60e51b815260040161030190611f18565b60405133904780156108fc02916000818181858888f150506040516370a0823160e01b8152849350600092506001600160a01b03841691506370a0823190610c7d903090600401611c03565b60206040518083038186803b158015610c9557600080fd5b505afa158015610ca9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ccd9190611b20565b9050610ce36001600160a01b0383163383611778565b505050565b6000546001600160a01b031690565b60026001541415610d1a5760405162461bcd60e51b81526004016103019061200b565b60026001558115801590610d3657506001600160a01b03811615155b610d525760405162461bcd60e51b815260040161030190611d22565b610d5a6119fa565b610d6384611522565b60008581526004602090815260408083206001600160a01b038716845290915290206080820151919250904310610dac5760405162461bcd60e51b815260040161030190612079565b8054610db89085611898565b81556040820151610dec90670de0b6b3a764000090610dd89087906116cb565b81610ddf57fe5b60018401549190046118bb565b60018201556020820151610e009085611898565b60208301526002805483919087908110610e1657fe5b60009182526020808320845160059093020191825583810151600183015560408085015160028401556060850151600380850191909155608090950151600490930192909255888352929092522054610e7a906001600160a01b0316333087611901565b826001600160a01b031685336001600160a01b03167f02d7e648dd130fc184d383e55bb126ac4c9c60e8f94bf05acdf557ba2d540b47876040516104a691906120d6565b60046020908152600092835260408084209091529082529020805460019091015482565b610eea61186e565b6000546001600160a01b03908116911614610f175760405162461bcd60e51b815260040161030190611f18565b6040516370a0823160e01b81526000906001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906370a0823190610f66903390600401611c03565b60206040518083038186803b158015610f7e57600080fd5b505afa158015610f92573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fb69190611b20565b11610fd35760405162461bcd60e51b815260040161030190611e5c565b600554610fe09082611898565b6005556110186001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016333084611901565b7ff8fad42e780bfa5459be3fe691e8ba1aec70342250112139c5771c3fd155f3128160405161104791906120d6565b60405180910390a150565b600061105c6119fa565b6002848154811061106957fe5b600091825260208083206040805160a0810182526005909402909101805484526001810154848401908152600282015485840190815260038301546060870190815260049384015460808801528b88529285528387206001600160a01b038b1688529094529190942091519051935192945090929091431180156110f4575083608001518460600151105b1561117c57801561117c576000846080015143101561112457606085015161111d904390611755565b905061113a565b6060850151608086015161113791611755565b90505b600061114f6111488a610af1565b83906116cb565b90506111778361116783670de0b6b3a76400006116cb565b8161116e57fe5b86919004611898565b935050505b600183015483546111ad916106e991670de0b6b3a76400009061119f90876116cb565b816111a657fe5b0490611708565b979650505050505050565b600260015414156111db5760405162461bcd60e51b81526004016103019061200b565b60026001556001600160a01b0381166112065760405162461bcd60e51b815260040161030190611c83565b61120e6119fa565b61121784611522565b6000858152600460209081526040808320338452909152902080549192509084118015906112455750600084115b6112615760405162461bcd60e51b815260040161030190611ed7565b60408201518154600091670de0b6b3a76400009161127e916116cb565b8161128557fe5b04905060006112a46106e984600101548461170890919063ffffffff16565b90506112d9670de0b6b3a76400006112c98660400151896116cb90919063ffffffff16565b816112d057fe5b84919004611708565b600184015582546112ea9087611755565b835560208401516112fb9087611755565b6020850152600280548591908990811061131157fe5b600091825260209182902083516005909202019081559082015160018201556040820151600282015560608201516003820155608090910151600490910155801561138a5761138a6001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168683611778565b6000878152600360205260409020546113ad906001600160a01b03168688611778565b86336001600160a01b03167f71bab65ced2e5750775a0613be067df48ef06cf92a496ebf7663ae0660924954836040516113e791906120d6565b60405180910390a3846001600160a01b031687336001600160a01b03167f8166bf25f8a2b7ed3c85049207da4358d16edbed977d23fa2ee6f0dde3ec21328960405161143391906120d6565b60405180910390a45050600180555050505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b61147461186e565b6000546001600160a01b039081169116146114a15760405162461bcd60e51b815260040161030190611f18565b6001600160a01b0381166114c75760405162461bcd60e51b815260040161030190611d59565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b61152a6119fa565b6002828154811061153757fe5b60009182526020918290206040805160a081018252600590930290910180548352600181015493830184905260028101549183019190915260038101546060830181905260049091015460808301529092504311801561159e575081608001518260600151105b156116c557801561162657600082608001514310156115ce5760608301516115c7904390611755565b90506115e4565b606083015160808401516115e191611755565b90505b60006115f261114886610af1565b905061161e8361160a83670de0b6b3a76400006116cb565b8161161157fe5b6040870151919004611898565b604085015250505b436060830152600280548391908590811061163d57fe5b90600052602060002090600502016000820151816000015560208201518160010155604082015181600201556060820151816003015560808201518160040155905050827fcb7325664a4a3b7c7223eefc492a97ca4fdf94d46884621e5a8fae5a04b2b9d283606001518385604001516040516116bc939291906120ed565b60405180910390a25b50919050565b60008115806116e6575050808202828282816116e357fe5b04145b6117025760405162461bcd60e51b815260040161030190612042565b92915050565b600081830381831280159061171d5750838113155b80611732575060008312801561173257508381135b61174e5760405162461bcd60e51b815260040161030190611f92565b9392505050565b808203828111156117025760405162461bcd60e51b815260040161030190611c54565b60006060846001600160a01b031663a9059cbb60e01b85856040516024016117a1929190611c3b565b60408051601f198184030181529181526020820180516001600160e01b03166001600160e01b03199094169390931790925290516117df9190611bca565b6000604051808303816000865af19150503d806000811461181c576040519150601f19603f3d011682016040523d82523d6000602084013e611821565b606091505b509150915081801561184b57508051158061184b57508080602001905181019061184b9190611ab4565b6118675760405162461bcd60e51b815260040161030190611ceb565b5050505050565b3390565b6000808212156118945760405162461bcd60e51b815260040161030190611cc6565b5090565b818101818110156117025760405162461bcd60e51b815260040161030190611ea0565b60008282018183128015906118d05750838112155b806118e557506000831280156118e557508381125b61174e5760405162461bcd60e51b815260040161030190611e1b565b60006060856001600160a01b03166323b872dd60e01b86868660405160240161192c93929190611c17565b60408051601f198184030181529181526020820180516001600160e01b03166001600160e01b031990941693909317909252905161196a9190611bca565b6000604051808303816000865af19150503d80600081146119a7576040519150601f19603f3d011682016040523d82523d6000602084013e6119ac565b606091505b50915091508180156119d65750805115806119d65750808060200190518101906119d69190611ab4565b6119f25760405162461bcd60e51b815260040161030190611fd6565b505050505050565b6040518060a0016040528060008152602001600081526020016000815260200160008152602001600081525090565b600060208284031215611a3a578081fd5b813561174e81612126565b60008060208385031215611a57578081fd5b823567ffffffffffffffff80821115611a6e578283fd5b818501915085601f830112611a81578283fd5b813581811115611a8f578384fd5b8660208083028501011115611aa2578384fd5b60209290920196919550909350505050565b600060208284031215611ac5578081fd5b8151801515811461174e578182fd5b600080600060608486031215611ae8578081fd5b8335611af381612126565b95602085013595506040909401359392505050565b600060208284031215611b19578081fd5b5035919050565b600060208284031215611b31578081fd5b5051919050565b60008060408385031215611b4a578182fd5b823591506020830135611b5c81612126565b809150509250929050565b600080600060608486031215611b7b578283fd5b83359250602084013591506040840135611b9481612126565b809150509250925092565b600080600060608486031215611bb3578283fd5b505081359360208301359350604090920135919050565b60008251815b81811015611bea5760208186018101518583015201611bd0565b81811115611bf85782828501525b509190910192915050565b6001600160a01b0391909116815260200190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6001600160a01b03929092168252602082015260400190565b602080825260159082015274426f72696e674d6174683a20556e646572666c6f7760581b604082015260600190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b6020808252600b908201526a0496e7465676572203c20360ac1b604082015260600190565b6020808252601c908201527f426f72696e6745524332303a205472616e73666572206661696c656400000000604082015260600190565b6020808252601b908201527f496e76616c696420696e7075747320666f72206465706f7369742e0000000000604082015260600190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252601b908201527f496e76616c696420616d6f756e7420746f2077697468647261772e0000000000604082015260600190565b60208082526025908201527f43616e6e6f74206372656174652074686520706f6f6c20666f722070617374206040820152643a34b6b29760d91b606082015260800190565b60208082526021908201527f5369676e6564536166654d6174683a206164646974696f6e206f766572666c6f6040820152607760f81b606082015260800190565b60208082526024908201527f45524332303a206e6f7420656e6f75676820746f6b656e7320746f207472616e60408201526339b332b960e11b606082015260800190565b60208082526018908201527f426f72696e674d6174683a20416464204f766572666c6f770000000000000000604082015260600190565b60208082526021908201527f43616e6e6f74207769746864726177206d6f7265207468616e207374616b65646040820152601760f91b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526025908201527f43616e6e6f7420657874656e642074686520706f6f6c20666f722070617374206040820152643a34b6b29760d91b606082015260800190565b60208082526024908201527f5369676e6564536166654d6174683a207375627472616374696f6e206f766572604082015263666c6f7760e01b606082015260800190565b6020808252818101527f426f72696e6745524332303a205472616e7366657246726f6d206661696c6564604082015260600190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b60208082526018908201527f426f72696e674d6174683a204d756c204f766572666c6f770000000000000000604082015260600190565b6020808252603b908201527f5468697320706f6f6c2065706f63682068617320656e6465642e20506c65617360408201527f65206a6f696e207374616b696e67206e65772073657373696f6e2e0000000000606082015260800190565b90815260200190565b918252602082015260400190565b9283526020830191909152604082015260600190565b948552602085019390935260408401919091526060830152608082015260a00190565b6001600160a01b038116811461213b57600080fd5b5056fea2646970667358221220a2a33f70c785e64d0bc40de2fbfb0def8ebf6804f5f1a2cb19f029f25dea8ccb64736f6c634300060c0033000000000000000000000000993864e43caa7f7f12953ad6feb1d1ca635b875fDeployed Bytecode
0x608060405234801561001057600080fd5b50600436106101375760003560e01c8063715018a6116100b857806393f1a40b1161007c57806393f1a40b14610263578063beceed3914610284578063d18df53c14610297578063d1abb907146102aa578063d1af0c7d146102bd578063f2fde38b146102c557610137565b8063715018a61461020d57806378ed5d1f1461021557806382c6746b146102355780638da5cb5b146102485780638dbdbe6d1461025057610137565b80632f940c70116100ff5780632f940c70146101b95780634d5428a7146101cc5780635101e128146101d457806357a5b58c146101e75780635bac7fe2146101fa57610137565b8063081e3eda1461013c5780630ad58d2f1461015a5780631526fe271461016f578063155053f61461019357806318fccc76146101a6575b600080fd5b6101446102d8565b60405161015191906120d6565b60405180910390f35b61016d610168366004611b67565b6102de565b005b61018261017d366004611b08565b6104b9565b604051610151959493929190612103565b61016d6101a1366004611b9f565b6104f7565b61016d6101b4366004611b38565b61062b565b61016d6101c7366004611b38565b61077f565b6101446108d4565b61016d6101e2366004611ad4565b6108da565b61016d6101f5366004611a45565b610a86565b610144610208366004611b08565b610af1565b61016d610b62565b610228610223366004611b08565b610be1565b6040516101519190611c03565b61016d610243366004611a29565b610bfc565b610228610ce8565b61016d61025e366004611b67565b610cf7565b610276610271366004611b38565b610ebe565b6040516101519291906120df565b61016d610292366004611b08565b610ee2565b6101446102a5366004611b38565b611052565b61016d6102b8366004611b67565b6111b8565b610228611448565b61016d6102d3366004611a29565b61146c565b60025490565b6002600154141561030a5760405162461bcd60e51b81526004016103019061200b565b60405180910390fd5b60026001556001600160a01b0381166103355760405162461bcd60e51b815260040161030190611c83565b61033d6119fa565b61034684611522565b6000858152600460209081526040808320338452909152902080549192509084118015906103745750600084115b6103905760405162461bcd60e51b815260040161030190611d9f565b6103c7670de0b6b3a76400006103b38460400151876116cb90919063ffffffff16565b816103ba57fe5b6001840154919004611708565b600182015580546103d89085611755565b815560208201516103e99085611755565b602083015260028054839190879081106103ff57fe5b60009182526020808320845160059093020191825583810151600183015560408085015160028401556060850151600380850191909155608090950151600490930192909255888352929092522054610462906001600160a01b03168486611778565b826001600160a01b031685336001600160a01b03167f8166bf25f8a2b7ed3c85049207da4358d16edbed977d23fa2ee6f0dde3ec2132876040516104a691906120d6565b60405180910390a4505060018055505050565b600281815481106104c657fe5b6000918252602090912060059091020180546001820154600283015460038401546004909401549294509092909185565b6104ff61186e565b6000546001600160a01b0390811691161461052c5760405162461bcd60e51b815260040161030190611f18565b438111801561055857506002838154811061054357fe5b90600052602060002090600502016004015481115b6105745760405162461bcd60e51b815260040161030190611f4d565b61057c6119fa565b61058584611522565b83815260808101839052436060820152600280549192508291869081106105a857fe5b90600052602060002090600502016000820151816000015560208201518160010155604082015181600201556060820151816003015560808201518160040155905050837fd84f05d12e5bbece825d8f095d51e8a0c2071dc6d212216b7829919c8a284b49848460405161061d9291906120df565b60405180910390a250505050565b6002600154141561064e5760405162461bcd60e51b81526004016103019061200b565b60026001556001600160a01b0381166106795760405162461bcd60e51b815260040161030190611c83565b6106816119fa565b61068a83611522565b60008481526004602090815260408083203384529091528082209083015181549394509092670de0b6b3a7640000916106c391906116cb565b816106ca57fe5b04905060006106ee6106e984600101548461170890919063ffffffff16565b611872565b6001840183905590508015610731576107316001600160a01b037f000000000000000000000000993864e43caa7f7f12953ad6feb1d1ca635b875f168683611778565b85336001600160a01b03167f71bab65ced2e5750775a0613be067df48ef06cf92a496ebf7663ae06609249548360405161076b91906120d6565b60405180910390a350506001805550505050565b600260015414156107a25760405162461bcd60e51b81526004016103019061200b565b60026001556001600160a01b0381166107cd5760405162461bcd60e51b815260040161030190611c83565b6000828152600460209081526040808320338452909152812080548282556001820192909255906107fc6119fa565b61080585611522565b60208101519091506108179083611755565b6020820152600280548291908790811061082d57fe5b60009182526020808320845160059093020191825583810151600183015560408085015160028401556060850151600380850191909155608090950151600490930192909255888352929092522054610890906001600160a01b03168584611778565b836001600160a01b031685336001600160a01b03167f2cac5e20e1541d836381527a43f651851e302817b71dc8e810284e69210c1c6b856040516104a691906120d6565b60055481565b6108e261186e565b6000546001600160a01b0390811691161461090f5760405162461bcd60e51b815260040161030190611f18565b43811161092e5760405162461bcd60e51b815260040161030190611dd6565b60028054600081815260036020908152604080832080546001600160a01b0319166001600160a01b038a16908117909155815160a0810183528881529283018481528383018581524360608601908152608086018a81528954600181018b5599885295517f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace6005909a02998a015591517f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5acf890155517f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ad0880155517f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ad187015591517f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ad290950194909455925191929183917f11fb110b35bb2762dc2b0b5a6675871349c88c1925982af54a6acf07189bd3ce91a350505050565b610a8e61186e565b6000546001600160a01b03908116911614610abb5760405162461bcd60e51b815260040161030190611f18565b8060005b81811015610aeb57610ae2848483818110610ad657fe5b90506020020135611522565b50600101610abf565b50505050565b6000610afb6119fa565b60028381548110610b0857fe5b90600052602060002090600502016040518060a00160405290816000820154815260200160018201548152602001600282015481526020016003820154815260200160048201548152505090508060000151915050919050565b610b6a61186e565b6000546001600160a01b03908116911614610b975760405162461bcd60e51b815260040161030190611f18565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6003602052600090815260409020546001600160a01b031681565b610c0461186e565b6000546001600160a01b03908116911614610c315760405162461bcd60e51b815260040161030190611f18565b60405133904780156108fc02916000818181858888f150506040516370a0823160e01b8152849350600092506001600160a01b03841691506370a0823190610c7d903090600401611c03565b60206040518083038186803b158015610c9557600080fd5b505afa158015610ca9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ccd9190611b20565b9050610ce36001600160a01b0383163383611778565b505050565b6000546001600160a01b031690565b60026001541415610d1a5760405162461bcd60e51b81526004016103019061200b565b60026001558115801590610d3657506001600160a01b03811615155b610d525760405162461bcd60e51b815260040161030190611d22565b610d5a6119fa565b610d6384611522565b60008581526004602090815260408083206001600160a01b038716845290915290206080820151919250904310610dac5760405162461bcd60e51b815260040161030190612079565b8054610db89085611898565b81556040820151610dec90670de0b6b3a764000090610dd89087906116cb565b81610ddf57fe5b60018401549190046118bb565b60018201556020820151610e009085611898565b60208301526002805483919087908110610e1657fe5b60009182526020808320845160059093020191825583810151600183015560408085015160028401556060850151600380850191909155608090950151600490930192909255888352929092522054610e7a906001600160a01b0316333087611901565b826001600160a01b031685336001600160a01b03167f02d7e648dd130fc184d383e55bb126ac4c9c60e8f94bf05acdf557ba2d540b47876040516104a691906120d6565b60046020908152600092835260408084209091529082529020805460019091015482565b610eea61186e565b6000546001600160a01b03908116911614610f175760405162461bcd60e51b815260040161030190611f18565b6040516370a0823160e01b81526000906001600160a01b037f000000000000000000000000993864e43caa7f7f12953ad6feb1d1ca635b875f16906370a0823190610f66903390600401611c03565b60206040518083038186803b158015610f7e57600080fd5b505afa158015610f92573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fb69190611b20565b11610fd35760405162461bcd60e51b815260040161030190611e5c565b600554610fe09082611898565b6005556110186001600160a01b037f000000000000000000000000993864e43caa7f7f12953ad6feb1d1ca635b875f16333084611901565b7ff8fad42e780bfa5459be3fe691e8ba1aec70342250112139c5771c3fd155f3128160405161104791906120d6565b60405180910390a150565b600061105c6119fa565b6002848154811061106957fe5b600091825260208083206040805160a0810182526005909402909101805484526001810154848401908152600282015485840190815260038301546060870190815260049384015460808801528b88529285528387206001600160a01b038b1688529094529190942091519051935192945090929091431180156110f4575083608001518460600151105b1561117c57801561117c576000846080015143101561112457606085015161111d904390611755565b905061113a565b6060850151608086015161113791611755565b90505b600061114f6111488a610af1565b83906116cb565b90506111778361116783670de0b6b3a76400006116cb565b8161116e57fe5b86919004611898565b935050505b600183015483546111ad916106e991670de0b6b3a76400009061119f90876116cb565b816111a657fe5b0490611708565b979650505050505050565b600260015414156111db5760405162461bcd60e51b81526004016103019061200b565b60026001556001600160a01b0381166112065760405162461bcd60e51b815260040161030190611c83565b61120e6119fa565b61121784611522565b6000858152600460209081526040808320338452909152902080549192509084118015906112455750600084115b6112615760405162461bcd60e51b815260040161030190611ed7565b60408201518154600091670de0b6b3a76400009161127e916116cb565b8161128557fe5b04905060006112a46106e984600101548461170890919063ffffffff16565b90506112d9670de0b6b3a76400006112c98660400151896116cb90919063ffffffff16565b816112d057fe5b84919004611708565b600184015582546112ea9087611755565b835560208401516112fb9087611755565b6020850152600280548591908990811061131157fe5b600091825260209182902083516005909202019081559082015160018201556040820151600282015560608201516003820155608090910151600490910155801561138a5761138a6001600160a01b037f000000000000000000000000993864e43caa7f7f12953ad6feb1d1ca635b875f168683611778565b6000878152600360205260409020546113ad906001600160a01b03168688611778565b86336001600160a01b03167f71bab65ced2e5750775a0613be067df48ef06cf92a496ebf7663ae0660924954836040516113e791906120d6565b60405180910390a3846001600160a01b031687336001600160a01b03167f8166bf25f8a2b7ed3c85049207da4358d16edbed977d23fa2ee6f0dde3ec21328960405161143391906120d6565b60405180910390a45050600180555050505050565b7f000000000000000000000000993864e43caa7f7f12953ad6feb1d1ca635b875f81565b61147461186e565b6000546001600160a01b039081169116146114a15760405162461bcd60e51b815260040161030190611f18565b6001600160a01b0381166114c75760405162461bcd60e51b815260040161030190611d59565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b61152a6119fa565b6002828154811061153757fe5b60009182526020918290206040805160a081018252600590930290910180548352600181015493830184905260028101549183019190915260038101546060830181905260049091015460808301529092504311801561159e575081608001518260600151105b156116c557801561162657600082608001514310156115ce5760608301516115c7904390611755565b90506115e4565b606083015160808401516115e191611755565b90505b60006115f261114886610af1565b905061161e8361160a83670de0b6b3a76400006116cb565b8161161157fe5b6040870151919004611898565b604085015250505b436060830152600280548391908590811061163d57fe5b90600052602060002090600502016000820151816000015560208201518160010155604082015181600201556060820151816003015560808201518160040155905050827fcb7325664a4a3b7c7223eefc492a97ca4fdf94d46884621e5a8fae5a04b2b9d283606001518385604001516040516116bc939291906120ed565b60405180910390a25b50919050565b60008115806116e6575050808202828282816116e357fe5b04145b6117025760405162461bcd60e51b815260040161030190612042565b92915050565b600081830381831280159061171d5750838113155b80611732575060008312801561173257508381135b61174e5760405162461bcd60e51b815260040161030190611f92565b9392505050565b808203828111156117025760405162461bcd60e51b815260040161030190611c54565b60006060846001600160a01b031663a9059cbb60e01b85856040516024016117a1929190611c3b565b60408051601f198184030181529181526020820180516001600160e01b03166001600160e01b03199094169390931790925290516117df9190611bca565b6000604051808303816000865af19150503d806000811461181c576040519150601f19603f3d011682016040523d82523d6000602084013e611821565b606091505b509150915081801561184b57508051158061184b57508080602001905181019061184b9190611ab4565b6118675760405162461bcd60e51b815260040161030190611ceb565b5050505050565b3390565b6000808212156118945760405162461bcd60e51b815260040161030190611cc6565b5090565b818101818110156117025760405162461bcd60e51b815260040161030190611ea0565b60008282018183128015906118d05750838112155b806118e557506000831280156118e557508381125b61174e5760405162461bcd60e51b815260040161030190611e1b565b60006060856001600160a01b03166323b872dd60e01b86868660405160240161192c93929190611c17565b60408051601f198184030181529181526020820180516001600160e01b03166001600160e01b031990941693909317909252905161196a9190611bca565b6000604051808303816000865af19150503d80600081146119a7576040519150601f19603f3d011682016040523d82523d6000602084013e6119ac565b606091505b50915091508180156119d65750805115806119d65750808060200190518101906119d69190611ab4565b6119f25760405162461bcd60e51b815260040161030190611fd6565b505050505050565b6040518060a0016040528060008152602001600081526020016000815260200160008152602001600081525090565b600060208284031215611a3a578081fd5b813561174e81612126565b60008060208385031215611a57578081fd5b823567ffffffffffffffff80821115611a6e578283fd5b818501915085601f830112611a81578283fd5b813581811115611a8f578384fd5b8660208083028501011115611aa2578384fd5b60209290920196919550909350505050565b600060208284031215611ac5578081fd5b8151801515811461174e578182fd5b600080600060608486031215611ae8578081fd5b8335611af381612126565b95602085013595506040909401359392505050565b600060208284031215611b19578081fd5b5035919050565b600060208284031215611b31578081fd5b5051919050565b60008060408385031215611b4a578182fd5b823591506020830135611b5c81612126565b809150509250929050565b600080600060608486031215611b7b578283fd5b83359250602084013591506040840135611b9481612126565b809150509250925092565b600080600060608486031215611bb3578283fd5b505081359360208301359350604090920135919050565b60008251815b81811015611bea5760208186018101518583015201611bd0565b81811115611bf85782828501525b509190910192915050565b6001600160a01b0391909116815260200190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6001600160a01b03929092168252602082015260400190565b602080825260159082015274426f72696e674d6174683a20556e646572666c6f7760581b604082015260600190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b6020808252600b908201526a0496e7465676572203c20360ac1b604082015260600190565b6020808252601c908201527f426f72696e6745524332303a205472616e73666572206661696c656400000000604082015260600190565b6020808252601b908201527f496e76616c696420696e7075747320666f72206465706f7369742e0000000000604082015260600190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252601b908201527f496e76616c696420616d6f756e7420746f2077697468647261772e0000000000604082015260600190565b60208082526025908201527f43616e6e6f74206372656174652074686520706f6f6c20666f722070617374206040820152643a34b6b29760d91b606082015260800190565b60208082526021908201527f5369676e6564536166654d6174683a206164646974696f6e206f766572666c6f6040820152607760f81b606082015260800190565b60208082526024908201527f45524332303a206e6f7420656e6f75676820746f6b656e7320746f207472616e60408201526339b332b960e11b606082015260800190565b60208082526018908201527f426f72696e674d6174683a20416464204f766572666c6f770000000000000000604082015260600190565b60208082526021908201527f43616e6e6f74207769746864726177206d6f7265207468616e207374616b65646040820152601760f91b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526025908201527f43616e6e6f7420657874656e642074686520706f6f6c20666f722070617374206040820152643a34b6b29760d91b606082015260800190565b60208082526024908201527f5369676e6564536166654d6174683a207375627472616374696f6e206f766572604082015263666c6f7760e01b606082015260800190565b6020808252818101527f426f72696e6745524332303a205472616e7366657246726f6d206661696c6564604082015260600190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b60208082526018908201527f426f72696e674d6174683a204d756c204f766572666c6f770000000000000000604082015260600190565b6020808252603b908201527f5468697320706f6f6c2065706f63682068617320656e6465642e20506c65617360408201527f65206a6f696e207374616b696e67206e65772073657373696f6e2e0000000000606082015260800190565b90815260200190565b918252602082015260400190565b9283526020830191909152604082015260600190565b948552602085019390935260408401919091526060830152608082015260a00190565b6001600160a01b038116811461213b57600080fd5b5056fea2646970667358221220a2a33f70c785e64d0bc40de2fbfb0def8ebf6804f5f1a2cb19f029f25dea8ccb64736f6c634300060c0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000993864e43caa7f7f12953ad6feb1d1ca635b875f
-----Decoded View---------------
Arg [0] : _rewardsToken (address): 0x993864E43Caa7F7F12953AD6fEb1d1Ca635B875F
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000993864e43caa7f7f12953ad6feb1d1ca635b875fLoading...LoadingLoading...Loading
Loading...Loading
Loading...LoadingLoading...LoadingLoading...LoadingLoading...LoadingLoading...LoadingLoading...LoadingMultichain Portfolio | 30 Chains
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.
Address QR Code
My Address - Private Name Tag or Note
My Name Tag:
Private Name Tags (up to 35 characters) can be used for easy identification of addressesPrivate Note:
A private note (up to 500 characters) can be attached to this address.
Please DO NOT store any passwords or private keys here.Compiler specific version warnings:
The compiled contract might be susceptible to FullInlinerNonExpressionSplitArgumentEvaluationOrder (low-severity), MissingSideEffectsOnSelectorAccess (low-severity), AbiReencodingHeadOverflowWithStaticArrayCleanup (medium-severity), DirtyBytesArrayToStorage (low-severity), DataLocationChangeInInternalOverride (very low-severity), NestedCalldataArrayAbiReencodingSizeValidation (very low-severity), SignedImmutables (very low-severity), ABIDecodeTwoDimensionalArrayMemory (very low-severity), KeccakCaching (medium-severity), EmptyByteArrayCopy (medium-severity), DynamicArrayCleanup (medium-severity) Solidity Compiler Bugs.
Connect a Wallet
Connecting wallet for read function is optional, useful if you want to call certain functions or simply use your wallet's node.Connect a Wallet
Connecting wallet for read function is optional, useful if you want to call certain functions or simply use your wallet's node.Connect a Wallet
Connecting wallet for read function is optional, useful if you want to call certain functions or simply use your wallet's node.SignIn
Address Cards
To use this feature, please login to your Etherscan account and return to this page.Before You Copy
Transaction Private Note
This website uses cookies to improve your experience. By continuing to use this website, you agree to its Terms and Privacy Policy.