Overview
ETH Balance
0 ETH
Eth Value
$0.00Token Holdings
More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 577 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Deposit | 17355809 | 542 days ago | IN | 0 ETH | 0.00321791 | ||||
Deposit | 16660200 | 640 days ago | IN | 0 ETH | 0.00231549 | ||||
Claim SAND | 16660198 | 640 days ago | IN | 0 ETH | 0.0020559 | ||||
Deposit | 16488895 | 664 days ago | IN | 0 ETH | 0.00184916 | ||||
Deposit | 16451230 | 669 days ago | IN | 0 ETH | 0.00463484 | ||||
Deposit | 16444920 | 670 days ago | IN | 0 ETH | 0.00174095 | ||||
Deposit | 16401952 | 676 days ago | IN | 0 ETH | 0.00433021 | ||||
Deposit | 16394678 | 677 days ago | IN | 0 ETH | 0.00177486 | ||||
Deposit | 16222051 | 701 days ago | IN | 0 ETH | 0.0016729 | ||||
Claim SAND | 16083999 | 720 days ago | IN | 0 ETH | 0.00106758 | ||||
Deposit | 16083998 | 720 days ago | IN | 0 ETH | 0.00207084 | ||||
Deposit | 16072326 | 722 days ago | IN | 0 ETH | 0.00157132 | ||||
Deposit | 16052411 | 725 days ago | IN | 0 ETH | 0.00135537 | ||||
Claim SAND | 16052403 | 725 days ago | IN | 0 ETH | 0.00141874 | ||||
Deposit | 16042983 | 726 days ago | IN | 0 ETH | 0.00114467 | ||||
Deposit | 15983380 | 734 days ago | IN | 0 ETH | 0.00171503 | ||||
Deposit | 15977734 | 735 days ago | IN | 0 ETH | 0.00256248 | ||||
Deposit | 15950513 | 739 days ago | IN | 0 ETH | 0.00249313 | ||||
Deposit | 15913721 | 744 days ago | IN | 0 ETH | 0.00154296 | ||||
Deposit | 15900490 | 746 days ago | IN | 0 ETH | 0.00229918 | ||||
Deposit | 15900420 | 746 days ago | IN | 0 ETH | 0.0018837 | ||||
Deposit | 15900406 | 746 days ago | IN | 0 ETH | 0.00227276 | ||||
Deposit | 15899883 | 746 days ago | IN | 0 ETH | 0.00181312 | ||||
Deposit | 15897045 | 746 days ago | IN | 0 ETH | 0.00406441 | ||||
Deposit | 15887987 | 748 days ago | IN | 0 ETH | 0.00239711 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
MasterChefSAND
Compiler Version
v0.6.12+commit.27d51765
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2021-09-23 */ // SPDX-License-Identifier: MIT pragma solidity =0.6.12; // /* * @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; } } // // /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address sender, address recipient, uint256 amount) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); } // /** * @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, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b > a) return (false, 0); return (true, a - b); } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b == 0) return (false, 0); return (true, a / b); } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b == 0) return (false, 0); return (true, a % b); } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { 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) { require(b <= a, "SafeMath: subtraction overflow"); return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { 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, reverting 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) { require(b > 0, "SafeMath: division by zero"); return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { require(b > 0, "SafeMath: modulo by zero"); return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); return a - b; } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryDiv}. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); return a % b; } } // /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; // solhint-disable-next-line no-inline-assembly assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); // solhint-disable-next-line avoid-low-level-calls, avoid-call-value (bool success, ) = recipient.call{ value: amount }(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain`call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.call{ value: value }(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.staticcall(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.delegatecall(data); return _verifyCallResult(success, returndata, errorMessage); } function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly // solhint-disable-next-line no-inline-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor () internal { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } } // /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeERC20 { using 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)); } /** * @dev Deprecated. This function has issues similar to the ones found in * {IERC20-approve}, and its usage is discouraged. * * Whenever possible, use {safeIncreaseAllowance} and * {safeDecreaseAllowance} instead. */ function safeApprove(IERC20 token, address spender, uint256 value) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' // 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. We use {Address.functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed"); if (returndata.length > 0) { // Return data is optional // solhint-disable-next-line max-line-length require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } } // MasterChef is the master of VEMP. He can make VEMP and he is a fair guy. // // Note that it's ownable and the owner wields tremendous power. The ownership // will be transferred to a governance smart contract once VEMP is sufficiently // distributed and the community can show to govern itself. // // Have fun reading it. Hopefully it's bug-free. God bless. contract MasterChefSAND is Ownable { using SafeMath for uint256; using SafeERC20 for IERC20; // Info of each user. struct UserInfo { uint256 amount; // How many LP tokens the user has provided. uint256 rewardDebt; // Reward debt. See explanation below. uint256 rewardSANDDebt; // Reward debt in SAND. // // We do some fancy math here. Basically, any point in time, the amount of VEMPs // entitled to a user but is pending to be distributed is: // // pending reward = (user.amount * pool.accVEMPPerShare) - user.rewardDebt // // Whenever a user deposits or withdraws LP tokens to a pool. Here's what happens: // 1. The pool's `accVEMPPerShare` (and `lastRewardBlock`) gets updated. // 2. User receives the pending reward sent to his/her address. // 3. User's `amount` gets updated. // 4. User's `rewardDebt` gets updated. } // Info of each pool. struct PoolInfo { IERC20 lpToken; // Address of LP token contract. uint256 allocPoint; // How many allocation points assigned to this pool. VEMPs to distribute per block. uint256 lastRewardBlock; // Last block number that VEMPs distribution occurs. uint256 accVEMPPerShare; // Accumulated VEMPs per share, times 1e12. See below. uint256 accSANDPerShare; // Accumulated SANDs per share, times 1e12. See below. uint256 lastTotalSANDReward; // last total rewards uint256 lastSANDRewardBalance; // last SAND rewards tokens uint256 totalSANDReward; // total SAND rewards tokens } // The VEMP TOKEN! IERC20 public VEMP; // admin address. address public adminaddr; // VEMP tokens created per block. uint256 public VEMPPerBlock; // Bonus muliplier for early VEMP makers. uint256 public constant BONUS_MULTIPLIER = 1; // Info of each pool. PoolInfo[] public poolInfo; // Info of each user that stakes LP tokens. mapping (uint256 => mapping (address => UserInfo)) public userInfo; // Total allocation poitns. Must be the sum of all allocation points in all pools. uint256 public totalAllocPoint = 0; // The block number when VEMP mining starts. uint256 public startBlock; // total SAND staked uint256 public totalSANDStaked; // total SAND used for purchase land uint256 public totalSANDUsedForPurchase = 0; event Deposit(address indexed user, uint256 indexed pid, uint256 amount); event Withdraw(address indexed user, uint256 indexed pid, uint256 amount); event EmergencyWithdraw(address indexed user, uint256 indexed pid, uint256 amount); constructor( IERC20 _VEMP, address _adminaddr, uint256 _VEMPPerBlock, uint256 _startBlock ) public { VEMP = _VEMP; adminaddr = _adminaddr; VEMPPerBlock = _VEMPPerBlock; startBlock = _startBlock; } function poolLength() external view returns (uint256) { return poolInfo.length; } // Add a new lp to the pool. Can only be called by the owner. // XXX DO NOT add the same LP token more than once. Rewards will be messed up if you do. function add(uint256 _allocPoint, IERC20 _lpToken, bool _withUpdate) public onlyOwner { if (_withUpdate) { massUpdatePools(); } uint256 lastRewardBlock = block.number > startBlock ? block.number : startBlock; totalAllocPoint = totalAllocPoint.add(_allocPoint); poolInfo.push(PoolInfo({ lpToken: _lpToken, allocPoint: _allocPoint, lastRewardBlock: lastRewardBlock, accVEMPPerShare: 0, accSANDPerShare: 0, lastTotalSANDReward: 0, lastSANDRewardBalance: 0, totalSANDReward: 0 })); } // Update the given pool's VEMP allocation point. Can only be called by the owner. function set(uint256 _pid, uint256 _allocPoint, bool _withUpdate) public onlyOwner { if (_withUpdate) { massUpdatePools(); } totalAllocPoint = totalAllocPoint.sub(poolInfo[_pid].allocPoint).add(_allocPoint); poolInfo[_pid].allocPoint = _allocPoint; } // Return reward multiplier over the given _from to _to block. function getMultiplier(uint256 _from, uint256 _to) public pure returns (uint256) { if (_to >= _from) { return _to.sub(_from).mul(BONUS_MULTIPLIER); } else { return _from.sub(_to); } } // View function to see pending VEMPs on frontend. function pendingVEMP(uint256 _pid, address _user) external view returns (uint256) { PoolInfo storage pool = poolInfo[_pid]; UserInfo storage user = userInfo[_pid][_user]; uint256 accVEMPPerShare = pool.accVEMPPerShare; uint256 lpSupply = totalSANDStaked; if (block.number > pool.lastRewardBlock && lpSupply != 0) { uint256 multiplier = getMultiplier(pool.lastRewardBlock, block.number); uint256 VEMPReward = multiplier.mul(VEMPPerBlock).mul(pool.allocPoint).div(totalAllocPoint); accVEMPPerShare = accVEMPPerShare.add(VEMPReward.mul(1e12).div(lpSupply)); } return user.amount.mul(accVEMPPerShare).div(1e12).sub(user.rewardDebt); } // View function to see pending SANDs on frontend. function pendingSAND(uint256 _pid, address _user) external view returns (uint256) { PoolInfo storage pool = poolInfo[_pid]; UserInfo storage user = userInfo[_pid][_user]; uint256 accSANDPerShare = pool.accSANDPerShare; uint256 lpSupply = totalSANDStaked; if (block.number > pool.lastRewardBlock && lpSupply != 0) { uint256 rewardBalance = pool.lpToken.balanceOf(address(this)).sub(totalSANDStaked.sub(totalSANDUsedForPurchase)); uint256 _totalReward = rewardBalance.sub(pool.lastSANDRewardBalance); accSANDPerShare = accSANDPerShare.add(_totalReward.mul(1e12).div(lpSupply)); } return user.amount.mul(accSANDPerShare).div(1e12).sub(user.rewardSANDDebt); } // Update reward vairables for all pools. Be careful of gas spending! function massUpdatePools() public { uint256 length = poolInfo.length; for (uint256 pid = 0; pid < length; ++pid) { updatePool(pid); } } // Update reward variables of the given pool to be up-to-date. function updatePool(uint256 _pid) public { PoolInfo storage pool = poolInfo[_pid]; UserInfo storage user = userInfo[_pid][msg.sender]; if (block.number <= pool.lastRewardBlock) { return; } uint256 rewardBalance = pool.lpToken.balanceOf(address(this)).sub(totalSANDStaked.sub(totalSANDUsedForPurchase)); uint256 _totalReward = pool.totalSANDReward.add(rewardBalance.sub(pool.lastSANDRewardBalance)); pool.lastSANDRewardBalance = rewardBalance; pool.totalSANDReward = _totalReward; uint256 lpSupply = totalSANDStaked; if (lpSupply == 0) { pool.lastRewardBlock = block.number; pool.accSANDPerShare = 0; pool.lastTotalSANDReward = 0; user.rewardSANDDebt = 0; pool.lastSANDRewardBalance = 0; pool.totalSANDReward = 0; return; } uint256 multiplier = getMultiplier(pool.lastRewardBlock, block.number); uint256 VEMPReward = multiplier.mul(VEMPPerBlock).mul(pool.allocPoint).div(totalAllocPoint); pool.accVEMPPerShare = pool.accVEMPPerShare.add(VEMPReward.mul(1e12).div(lpSupply)); pool.lastRewardBlock = block.number; uint256 reward = _totalReward.sub(pool.lastTotalSANDReward); pool.accSANDPerShare = pool.accSANDPerShare.add(reward.mul(1e12).div(lpSupply)); pool.lastTotalSANDReward = _totalReward; } // Deposit LP tokens to MasterChef for VEMP allocation. function deposit(uint256 _pid, uint256 _amount) public { PoolInfo storage pool = poolInfo[_pid]; UserInfo storage user = userInfo[_pid][msg.sender]; updatePool(_pid); if (user.amount > 0) { uint256 pending = user.amount.mul(pool.accVEMPPerShare).div(1e12).sub(user.rewardDebt); safeVEMPTransfer(msg.sender, pending); uint256 SANDReward = user.amount.mul(pool.accSANDPerShare).div(1e12).sub(user.rewardSANDDebt); pool.lpToken.safeTransfer(msg.sender, SANDReward); pool.lastSANDRewardBalance = pool.lpToken.balanceOf(address(this)).sub(totalSANDStaked.sub(totalSANDUsedForPurchase)); } pool.lpToken.safeTransferFrom(address(msg.sender), address(this), _amount); totalSANDStaked = totalSANDStaked.add(_amount); user.amount = user.amount.add(_amount); user.rewardDebt = user.amount.mul(pool.accVEMPPerShare).div(1e12); user.rewardSANDDebt = user.amount.mul(pool.accSANDPerShare).div(1e12); emit Deposit(msg.sender, _pid, _amount); } // Earn SAND tokens to MasterChef. function claimSAND(uint256 _pid) public { PoolInfo storage pool = poolInfo[_pid]; UserInfo storage user = userInfo[_pid][msg.sender]; updatePool(_pid); uint256 SANDReward = user.amount.mul(pool.accSANDPerShare).div(1e12).sub(user.rewardSANDDebt); pool.lpToken.safeTransfer(msg.sender, SANDReward); pool.lastSANDRewardBalance = pool.lpToken.balanceOf(address(this)).sub(totalSANDStaked.sub(totalSANDUsedForPurchase)); user.rewardSANDDebt = user.amount.mul(pool.accSANDPerShare).div(1e12); } // Safe VEMP transfer function, just in case if rounding error causes pool to not have enough VEMPs. function safeVEMPTransfer(address _to, uint256 _amount) internal { uint256 VEMPBal = VEMP.balanceOf(address(this)); if (_amount > VEMPBal) { VEMP.transfer(_to, VEMPBal); } else { VEMP.transfer(_to, _amount); } } // Safe SAND transfer function to admin. function accessSANDTokens(uint256 _pid, address _to, uint256 _amount) public { require(msg.sender == adminaddr, "sender must be admin address"); require(totalSANDStaked.sub(totalSANDUsedForPurchase) >= _amount, "Amount must be less than staked SAND amount"); PoolInfo storage pool = poolInfo[_pid]; uint256 SANDBal = pool.lpToken.balanceOf(address(this)); if (_amount > SANDBal) { pool.lpToken.transfer(_to, SANDBal); totalSANDUsedForPurchase = totalSANDUsedForPurchase.add(SANDBal); } else { pool.lpToken.transfer(_to, _amount); totalSANDUsedForPurchase = totalSANDUsedForPurchase.add(_amount); } } // Update Reward per block function updateRewardPerBlock(uint256 _newRewardPerBlock) public onlyOwner { massUpdatePools(); VEMPPerBlock = _newRewardPerBlock; } // Update admin address by the previous admin. function admin(address _adminaddr) public { require(msg.sender == adminaddr, "admin: wut?"); adminaddr = _adminaddr; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"contract IERC20","name":"_VEMP","type":"address"},{"internalType":"address","name":"_adminaddr","type":"address"},{"internalType":"uint256","name":"_VEMPPerBlock","type":"uint256"},{"internalType":"uint256","name":"_startBlock","type":"uint256"}],"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"}],"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"}],"name":"EmergencyWithdraw","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[],"name":"BONUS_MULTIPLIER","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"VEMP","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"VEMPPerBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"accessSANDTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_allocPoint","type":"uint256"},{"internalType":"contract IERC20","name":"_lpToken","type":"address"},{"internalType":"bool","name":"_withUpdate","type":"bool"}],"name":"add","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_adminaddr","type":"address"}],"name":"admin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"adminaddr","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"claimSAND","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_from","type":"uint256"},{"internalType":"uint256","name":"_to","type":"uint256"}],"name":"getMultiplier","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[],"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":"pendingSAND","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"address","name":"_user","type":"address"}],"name":"pendingVEMP","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"poolInfo","outputs":[{"internalType":"contract IERC20","name":"lpToken","type":"address"},{"internalType":"uint256","name":"allocPoint","type":"uint256"},{"internalType":"uint256","name":"lastRewardBlock","type":"uint256"},{"internalType":"uint256","name":"accVEMPPerShare","type":"uint256"},{"internalType":"uint256","name":"accSANDPerShare","type":"uint256"},{"internalType":"uint256","name":"lastTotalSANDReward","type":"uint256"},{"internalType":"uint256","name":"lastSANDRewardBalance","type":"uint256"},{"internalType":"uint256","name":"totalSANDReward","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":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_allocPoint","type":"uint256"},{"internalType":"bool","name":"_withUpdate","type":"bool"}],"name":"set","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalAllocPoint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSANDStaked","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSANDUsedForPurchase","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":"_pid","type":"uint256"}],"name":"updatePool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newRewardPerBlock","type":"uint256"}],"name":"updateRewardPerBlock","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":"uint256","name":"rewardDebt","type":"uint256"},{"internalType":"uint256","name":"rewardSANDDebt","type":"uint256"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
60806040526000600655600060095534801561001a57600080fd5b50604051611d80380380611d808339818101604052608081101561003d57600080fd5b5080516020820151604083015160609093015191929091600061005e6100e6565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600180546001600160a01b039586166001600160a01b03199182161790915560028054949095169316929092179092556003919091556007556100ea565b3390565b611c87806100f96000396000f3fe608060405234801561001057600080fd5b506004361061018e5760003560e01c8063645404a0116100de57806393f1a40b11610097578063c2a2543f11610071578063c2a2543f14610424578063ca72c94a1461042c578063e2bbb1581461045e578063f2fde38b146104815761018e565b806393f1a40b146103ca578063a27bee8d14610414578063ac3d84cd1461041c5761018e565b8063645404a01461036a578063715018a6146103725780638a8a8ea91461037a5780638aa28550146103975780638da5cb5b1461039f5780638dbb1e3a146103a75761018e565b806328f41ed91161014b57806351eb05a61161012557806351eb05a6146102f4578063630b5ba11461031157806363a846f81461031957806364482f791461033f5761018e565b806328f41ed91461029c5780632fa196ef146102c057806348cd4cb1146102ec5761018e565b806301f8a97614610193578063055c532f146101b2578063081e3eda146101f05780631526fe27146101f857806317caf6f1146102605780631eaaa04514610268575b600080fd5b6101b0600480360360208110156101a957600080fd5b50356104a7565b005b6101de600480360360408110156101c857600080fd5b50803590602001356001600160a01b0316610516565b60408051918252519081900360200190f35b6101de61068f565b6102156004803603602081101561020e57600080fd5b5035610695565b604080516001600160a01b0390991689526020890197909752878701959095526060870193909352608086019190915260a085015260c084015260e083015251908190036101000190f35b6101de6106f2565b6101b06004803603606081101561027e57600080fd5b508035906001600160a01b03602082013516906040013515156106f8565b6102a4610932565b604080516001600160a01b039092168252519081900360200190f35b6101de600480360360408110156102d657600080fd5b50803590602001356001600160a01b0316610941565b6101de610a24565b6101b06004803603602081101561030a57600080fd5b5035610a2a565b6101b0610c04565b6101b06004803603602081101561032f57600080fd5b50356001600160a01b0316610c27565b6101b06004803603606081101561035557600080fd5b50803590602081013590604001351515610c96565b6101de610d71565b6101b0610d77565b6101b06004803603602081101561039057600080fd5b5035610e23565b6101de610ef2565b6102a4610ef7565b6101de600480360360408110156103bd57600080fd5b5080359060200135610f06565b6103f6600480360360408110156103e057600080fd5b50803590602001356001600160a01b0316610f2f565b60408051938452602084019290925282820152519081900360600190f35b6101de610f5b565b6102a4610f61565b6101de610f70565b6101b06004803603606081101561044257600080fd5b508035906001600160a01b036020820135169060400135610f76565b6101b06004803603604081101561047457600080fd5b50803590602001356111f7565b6101b06004803603602081101561049757600080fd5b50356001600160a01b03166113dd565b6104af6114df565b6001600160a01b03166104c0610ef7565b6001600160a01b031614610509576040805162461bcd60e51b81526020600482018190526024820152600080516020611bdd833981519152604482015290519081900360640190fd5b610511610c04565b600355565b6000806004848154811061052657fe5b600091825260208083208784526005825260408085206001600160a01b038916865290925292206008918202909201600481015491546002820154919450904311801561057257508015155b1561065457600061060f6105936009546008546114e390919063ffffffff16565b8654604080516370a0823160e01b815230600482015290516001600160a01b03909216916370a0823191602480820192602092909190829003018186803b1580156105dd57600080fd5b505afa1580156105f1573d6000803e3d6000fd5b505050506040513d602081101561060757600080fd5b5051906114e3565b9050600061062a8660060154836114e390919063ffffffff16565b905061064f610648846106428464e8d4a51000611540565b906115a0565b8590611607565b935050505b610682836002015461067c64e8d4a5100061064286886000015461154090919063ffffffff16565b906114e3565b9450505050505b92915050565b60045490565b600481815481106106a257fe5b6000918252602090912060089091020180546001820154600283015460038401546004850154600586015460068701546007909701546001600160a01b0390961697509395929491939092909188565b60065481565b6107006114df565b6001600160a01b0316610711610ef7565b6001600160a01b03161461075a576040805162461bcd60e51b81526020600482018190526024820152600080516020611bdd833981519152604482015290519081900360640190fd5b801561076857610768610c04565b6000600754431161077b5760075461077d565b435b60065490915061078d9085611607565b60065560408051610100810182526001600160a01b039485168152602081019586529081019182526000606082018181526080830182815260a0840183815260c0850184815260e0860185815260048054600181018255965295517f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b600890960295860180546001600160a01b03191691909a161790985597517f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19c84015593517f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19d830155517f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19e82015591517f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19f83015593517f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd1a082015591517f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd1a18301555090517f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd1a290910155565b6001546001600160a01b031681565b6000806004848154811061095157fe5b600091825260208083208784526005825260408085206001600160a01b038916865290925292206008918202909201600381015491546002820154919450904311801561099d57508015155b156109fc5760006109b2856002015443610f06565b905060006109df60065461064288600101546109d96003548761154090919063ffffffff16565b90611540565b90506109f7610648846106428464e8d4a51000611540565b935050505b610682836001015461067c64e8d4a5100061064286886000015461154090919063ffffffff16565b60075481565b600060048281548110610a3957fe5b60009182526020808320858452600582526040808520338652909252922060026008909202909201908101549092504311610a75575050610c01565b6000610adb610a916009546008546114e390919063ffffffff16565b8454604080516370a0823160e01b815230600482015290516001600160a01b03909216916370a0823191602480820192602092909190829003018186803b1580156105dd57600080fd5b90506000610b04610af98560060154846114e390919063ffffffff16565b600786015490611607565b600685018390556007850181905560085490915080610b51575050436002808501919091556000600485018190556005850181905592018290555060068201819055600790910155610c01565b6000610b61866002015443610f06565b90506000610b8860065461064289600101546109d96003548761154090919063ffffffff16565b9050610bab610ba0846106428464e8d4a51000611540565b600389015490611607565b60038801554360028801556005870154600090610bc99086906114e3565b9050610bec610be1856106428464e8d4a51000611540565b60048a015490611607565b60048901555050505060059093019290925550505b50565b60045460005b81811015610c2357610c1b81610a2a565b600101610c0a565b5050565b6002546001600160a01b03163314610c74576040805162461bcd60e51b815260206004820152600b60248201526a61646d696e3a207775743f60a81b604482015290519081900360640190fd5b600280546001600160a01b0319166001600160a01b0392909216919091179055565b610c9e6114df565b6001600160a01b0316610caf610ef7565b6001600160a01b031614610cf8576040805162461bcd60e51b81526020600482018190526024820152600080516020611bdd833981519152604482015290519081900360640190fd5b8015610d0657610d06610c04565b610d4382610d3d60048681548110610d1a57fe5b9060005260206000209060080201600101546006546114e390919063ffffffff16565b90611607565b6006819055508160048481548110610d5757fe5b906000526020600020906008020160010181905550505050565b60085481565b610d7f6114df565b6001600160a01b0316610d90610ef7565b6001600160a01b031614610dd9576040805162461bcd60e51b81526020600482018190526024820152600080516020611bdd833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b600060048281548110610e3257fe5b60009182526020808320858452600582526040808520338652909252922060089091029091019150610e6383610a2a565b6000610e91826002015461067c64e8d4a510006106428760040154876000015461154090919063ffffffff16565b8354909150610eaa906001600160a01b03163383611661565b610ec4610a916009546008546114e390919063ffffffff16565b600684015560048301548254610ee49164e8d4a510009161064291611540565b826002018190555050505050565b600181565b6000546001600160a01b031690565b6000828210610f2557610f1e60016109d984866114e3565b9050610689565b610f1e83836114e3565b600560209081526000928352604080842090915290825290208054600182015460029092015490919083565b60095481565b6002546001600160a01b031681565b60035481565b6002546001600160a01b03163314610fd5576040805162461bcd60e51b815260206004820152601c60248201527f73656e646572206d7573742062652061646d696e206164647265737300000000604482015290519081900360640190fd5b80610fed6009546008546114e390919063ffffffff16565b101561102a5760405162461bcd60e51b815260040180806020018281038252602b815260200180611c27602b913960400191505060405180910390fd5b60006004848154811061103957fe5b6000918252602080832060089092029091018054604080516370a0823160e01b815230600482015290519295506001600160a01b03909116926370a0823192602480840193829003018186803b15801561109257600080fd5b505afa1580156110a6573d6000803e3d6000fd5b505050506040513d60208110156110bc57600080fd5b505190508083111561115e5781546040805163a9059cbb60e01b81526001600160a01b038781166004830152602482018590529151919092169163a9059cbb9160448083019260209291908290030181600087803b15801561111d57600080fd5b505af1158015611131573d6000803e3d6000fd5b505050506040513d602081101561114757600080fd5b50506009546111569082611607565b6009556111f0565b81546040805163a9059cbb60e01b81526001600160a01b038781166004830152602482018790529151919092169163a9059cbb9160448083019260209291908290030181600087803b1580156111b357600080fd5b505af11580156111c7573d6000803e3d6000fd5b505050506040513d60208110156111dd57600080fd5b50506009546111ec9084611607565b6009555b5050505050565b60006004838154811061120657fe5b6000918252602080832086845260058252604080852033865290925292206008909102909101915061123784610a2a565b80541561132b57600061126c826001015461067c64e8d4a510006106428760030154876000015461154090919063ffffffff16565b905061127833826116b8565b60006112a6836002015461067c64e8d4a510006106428860040154886000015461154090919063ffffffff16565b84549091506112bf906001600160a01b03163383611661565b6113236112d96009546008546114e390919063ffffffff16565b8554604080516370a0823160e01b815230600482015290516001600160a01b03909216916370a0823191602480820192602092909190829003018186803b1580156105dd57600080fd5b600685015550505b8154611342906001600160a01b0316333086611841565b60085461134f9084611607565b600855805461135e9084611607565b808255600383015461137b9164e8d4a51000916106429190611540565b60018201556004820154815461139b9164e8d4a510009161064291611540565b6002820155604080518481529051859133917f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a159181900360200190a350505050565b6113e56114df565b6001600160a01b03166113f6610ef7565b6001600160a01b03161461143f576040805162461bcd60e51b81526020600482018190526024820152600080516020611bdd833981519152604482015290519081900360640190fd5b6001600160a01b0381166114845760405162461bcd60e51b8152600401808060200182810382526026815260200180611b706026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b3390565b60008282111561153a576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b60008261154f57506000610689565b8282028284828161155c57fe5b04146115995760405162461bcd60e51b8152600401808060200182810382526021815260200180611bbc6021913960400191505060405180910390fd5b9392505050565b60008082116115f6576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b8183816115ff57fe5b049392505050565b600082820183811015611599576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b1790526116b39084906118a1565b505050565b600154604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b15801561170357600080fd5b505afa158015611717573d6000803e3d6000fd5b505050506040513d602081101561172d57600080fd5b50519050808211156117c1576001546040805163a9059cbb60e01b81526001600160a01b038681166004830152602482018590529151919092169163a9059cbb9160448083019260209291908290030181600087803b15801561178f57600080fd5b505af11580156117a3573d6000803e3d6000fd5b505050506040513d60208110156117b957600080fd5b506116b39050565b6001546040805163a9059cbb60e01b81526001600160a01b038681166004830152602482018690529151919092169163a9059cbb9160448083019260209291908290030181600087803b15801561181757600080fd5b505af115801561182b573d6000803e3d6000fd5b505050506040513d60208110156111f057600080fd5b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b17905261189b9085906118a1565b50505050565b60606118f6826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166119529092919063ffffffff16565b8051909150156116b35780806020019051602081101561191557600080fd5b50516116b35760405162461bcd60e51b815260040180806020018281038252602a815260200180611bfd602a913960400191505060405180910390fd5b60606119618484600085611969565b949350505050565b6060824710156119aa5760405162461bcd60e51b8152600401808060200182810382526026815260200180611b966026913960400191505060405180910390fd5b6119b385611ac5565b611a04576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b60208310611a435780518252601f199092019160209182019101611a24565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114611aa5576040519150601f19603f3d011682016040523d82523d6000602084013e611aaa565b606091505b5091509150611aba828286611acb565b979650505050505050565b3b151590565b60608315611ada575081611599565b825115611aea5782518084602001fd5b8160405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611b34578181015183820152602001611b1c565b50505050905090810190601f168015611b615780820380516001836020036101000a031916815260200191505b509250505060405180910390fdfe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564416d6f756e74206d757374206265206c657373207468616e207374616b65642053414e4420616d6f756e74a2646970667358221220137e9fbfe9b42c70041d2866d9df187f2df1409a18f4035dda8d18274314d34a64736f6c634300060c0033000000000000000000000000cfeb09c3c5f0f78ad72166d55f9e6e9a60e96eec0000000000000000000000002f00df4f995451e0df337b91744006eb8892bfb100000000000000000000000000000000000000000000000014d1120d7b1600000000000000000000000000000000000000000000000000000000000000caad7d
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061018e5760003560e01c8063645404a0116100de57806393f1a40b11610097578063c2a2543f11610071578063c2a2543f14610424578063ca72c94a1461042c578063e2bbb1581461045e578063f2fde38b146104815761018e565b806393f1a40b146103ca578063a27bee8d14610414578063ac3d84cd1461041c5761018e565b8063645404a01461036a578063715018a6146103725780638a8a8ea91461037a5780638aa28550146103975780638da5cb5b1461039f5780638dbb1e3a146103a75761018e565b806328f41ed91161014b57806351eb05a61161012557806351eb05a6146102f4578063630b5ba11461031157806363a846f81461031957806364482f791461033f5761018e565b806328f41ed91461029c5780632fa196ef146102c057806348cd4cb1146102ec5761018e565b806301f8a97614610193578063055c532f146101b2578063081e3eda146101f05780631526fe27146101f857806317caf6f1146102605780631eaaa04514610268575b600080fd5b6101b0600480360360208110156101a957600080fd5b50356104a7565b005b6101de600480360360408110156101c857600080fd5b50803590602001356001600160a01b0316610516565b60408051918252519081900360200190f35b6101de61068f565b6102156004803603602081101561020e57600080fd5b5035610695565b604080516001600160a01b0390991689526020890197909752878701959095526060870193909352608086019190915260a085015260c084015260e083015251908190036101000190f35b6101de6106f2565b6101b06004803603606081101561027e57600080fd5b508035906001600160a01b03602082013516906040013515156106f8565b6102a4610932565b604080516001600160a01b039092168252519081900360200190f35b6101de600480360360408110156102d657600080fd5b50803590602001356001600160a01b0316610941565b6101de610a24565b6101b06004803603602081101561030a57600080fd5b5035610a2a565b6101b0610c04565b6101b06004803603602081101561032f57600080fd5b50356001600160a01b0316610c27565b6101b06004803603606081101561035557600080fd5b50803590602081013590604001351515610c96565b6101de610d71565b6101b0610d77565b6101b06004803603602081101561039057600080fd5b5035610e23565b6101de610ef2565b6102a4610ef7565b6101de600480360360408110156103bd57600080fd5b5080359060200135610f06565b6103f6600480360360408110156103e057600080fd5b50803590602001356001600160a01b0316610f2f565b60408051938452602084019290925282820152519081900360600190f35b6101de610f5b565b6102a4610f61565b6101de610f70565b6101b06004803603606081101561044257600080fd5b508035906001600160a01b036020820135169060400135610f76565b6101b06004803603604081101561047457600080fd5b50803590602001356111f7565b6101b06004803603602081101561049757600080fd5b50356001600160a01b03166113dd565b6104af6114df565b6001600160a01b03166104c0610ef7565b6001600160a01b031614610509576040805162461bcd60e51b81526020600482018190526024820152600080516020611bdd833981519152604482015290519081900360640190fd5b610511610c04565b600355565b6000806004848154811061052657fe5b600091825260208083208784526005825260408085206001600160a01b038916865290925292206008918202909201600481015491546002820154919450904311801561057257508015155b1561065457600061060f6105936009546008546114e390919063ffffffff16565b8654604080516370a0823160e01b815230600482015290516001600160a01b03909216916370a0823191602480820192602092909190829003018186803b1580156105dd57600080fd5b505afa1580156105f1573d6000803e3d6000fd5b505050506040513d602081101561060757600080fd5b5051906114e3565b9050600061062a8660060154836114e390919063ffffffff16565b905061064f610648846106428464e8d4a51000611540565b906115a0565b8590611607565b935050505b610682836002015461067c64e8d4a5100061064286886000015461154090919063ffffffff16565b906114e3565b9450505050505b92915050565b60045490565b600481815481106106a257fe5b6000918252602090912060089091020180546001820154600283015460038401546004850154600586015460068701546007909701546001600160a01b0390961697509395929491939092909188565b60065481565b6107006114df565b6001600160a01b0316610711610ef7565b6001600160a01b03161461075a576040805162461bcd60e51b81526020600482018190526024820152600080516020611bdd833981519152604482015290519081900360640190fd5b801561076857610768610c04565b6000600754431161077b5760075461077d565b435b60065490915061078d9085611607565b60065560408051610100810182526001600160a01b039485168152602081019586529081019182526000606082018181526080830182815260a0840183815260c0850184815260e0860185815260048054600181018255965295517f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b600890960295860180546001600160a01b03191691909a161790985597517f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19c84015593517f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19d830155517f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19e82015591517f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19f83015593517f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd1a082015591517f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd1a18301555090517f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd1a290910155565b6001546001600160a01b031681565b6000806004848154811061095157fe5b600091825260208083208784526005825260408085206001600160a01b038916865290925292206008918202909201600381015491546002820154919450904311801561099d57508015155b156109fc5760006109b2856002015443610f06565b905060006109df60065461064288600101546109d96003548761154090919063ffffffff16565b90611540565b90506109f7610648846106428464e8d4a51000611540565b935050505b610682836001015461067c64e8d4a5100061064286886000015461154090919063ffffffff16565b60075481565b600060048281548110610a3957fe5b60009182526020808320858452600582526040808520338652909252922060026008909202909201908101549092504311610a75575050610c01565b6000610adb610a916009546008546114e390919063ffffffff16565b8454604080516370a0823160e01b815230600482015290516001600160a01b03909216916370a0823191602480820192602092909190829003018186803b1580156105dd57600080fd5b90506000610b04610af98560060154846114e390919063ffffffff16565b600786015490611607565b600685018390556007850181905560085490915080610b51575050436002808501919091556000600485018190556005850181905592018290555060068201819055600790910155610c01565b6000610b61866002015443610f06565b90506000610b8860065461064289600101546109d96003548761154090919063ffffffff16565b9050610bab610ba0846106428464e8d4a51000611540565b600389015490611607565b60038801554360028801556005870154600090610bc99086906114e3565b9050610bec610be1856106428464e8d4a51000611540565b60048a015490611607565b60048901555050505060059093019290925550505b50565b60045460005b81811015610c2357610c1b81610a2a565b600101610c0a565b5050565b6002546001600160a01b03163314610c74576040805162461bcd60e51b815260206004820152600b60248201526a61646d696e3a207775743f60a81b604482015290519081900360640190fd5b600280546001600160a01b0319166001600160a01b0392909216919091179055565b610c9e6114df565b6001600160a01b0316610caf610ef7565b6001600160a01b031614610cf8576040805162461bcd60e51b81526020600482018190526024820152600080516020611bdd833981519152604482015290519081900360640190fd5b8015610d0657610d06610c04565b610d4382610d3d60048681548110610d1a57fe5b9060005260206000209060080201600101546006546114e390919063ffffffff16565b90611607565b6006819055508160048481548110610d5757fe5b906000526020600020906008020160010181905550505050565b60085481565b610d7f6114df565b6001600160a01b0316610d90610ef7565b6001600160a01b031614610dd9576040805162461bcd60e51b81526020600482018190526024820152600080516020611bdd833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b600060048281548110610e3257fe5b60009182526020808320858452600582526040808520338652909252922060089091029091019150610e6383610a2a565b6000610e91826002015461067c64e8d4a510006106428760040154876000015461154090919063ffffffff16565b8354909150610eaa906001600160a01b03163383611661565b610ec4610a916009546008546114e390919063ffffffff16565b600684015560048301548254610ee49164e8d4a510009161064291611540565b826002018190555050505050565b600181565b6000546001600160a01b031690565b6000828210610f2557610f1e60016109d984866114e3565b9050610689565b610f1e83836114e3565b600560209081526000928352604080842090915290825290208054600182015460029092015490919083565b60095481565b6002546001600160a01b031681565b60035481565b6002546001600160a01b03163314610fd5576040805162461bcd60e51b815260206004820152601c60248201527f73656e646572206d7573742062652061646d696e206164647265737300000000604482015290519081900360640190fd5b80610fed6009546008546114e390919063ffffffff16565b101561102a5760405162461bcd60e51b815260040180806020018281038252602b815260200180611c27602b913960400191505060405180910390fd5b60006004848154811061103957fe5b6000918252602080832060089092029091018054604080516370a0823160e01b815230600482015290519295506001600160a01b03909116926370a0823192602480840193829003018186803b15801561109257600080fd5b505afa1580156110a6573d6000803e3d6000fd5b505050506040513d60208110156110bc57600080fd5b505190508083111561115e5781546040805163a9059cbb60e01b81526001600160a01b038781166004830152602482018590529151919092169163a9059cbb9160448083019260209291908290030181600087803b15801561111d57600080fd5b505af1158015611131573d6000803e3d6000fd5b505050506040513d602081101561114757600080fd5b50506009546111569082611607565b6009556111f0565b81546040805163a9059cbb60e01b81526001600160a01b038781166004830152602482018790529151919092169163a9059cbb9160448083019260209291908290030181600087803b1580156111b357600080fd5b505af11580156111c7573d6000803e3d6000fd5b505050506040513d60208110156111dd57600080fd5b50506009546111ec9084611607565b6009555b5050505050565b60006004838154811061120657fe5b6000918252602080832086845260058252604080852033865290925292206008909102909101915061123784610a2a565b80541561132b57600061126c826001015461067c64e8d4a510006106428760030154876000015461154090919063ffffffff16565b905061127833826116b8565b60006112a6836002015461067c64e8d4a510006106428860040154886000015461154090919063ffffffff16565b84549091506112bf906001600160a01b03163383611661565b6113236112d96009546008546114e390919063ffffffff16565b8554604080516370a0823160e01b815230600482015290516001600160a01b03909216916370a0823191602480820192602092909190829003018186803b1580156105dd57600080fd5b600685015550505b8154611342906001600160a01b0316333086611841565b60085461134f9084611607565b600855805461135e9084611607565b808255600383015461137b9164e8d4a51000916106429190611540565b60018201556004820154815461139b9164e8d4a510009161064291611540565b6002820155604080518481529051859133917f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a159181900360200190a350505050565b6113e56114df565b6001600160a01b03166113f6610ef7565b6001600160a01b03161461143f576040805162461bcd60e51b81526020600482018190526024820152600080516020611bdd833981519152604482015290519081900360640190fd5b6001600160a01b0381166114845760405162461bcd60e51b8152600401808060200182810382526026815260200180611b706026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b3390565b60008282111561153a576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b60008261154f57506000610689565b8282028284828161155c57fe5b04146115995760405162461bcd60e51b8152600401808060200182810382526021815260200180611bbc6021913960400191505060405180910390fd5b9392505050565b60008082116115f6576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b8183816115ff57fe5b049392505050565b600082820183811015611599576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b1790526116b39084906118a1565b505050565b600154604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b15801561170357600080fd5b505afa158015611717573d6000803e3d6000fd5b505050506040513d602081101561172d57600080fd5b50519050808211156117c1576001546040805163a9059cbb60e01b81526001600160a01b038681166004830152602482018590529151919092169163a9059cbb9160448083019260209291908290030181600087803b15801561178f57600080fd5b505af11580156117a3573d6000803e3d6000fd5b505050506040513d60208110156117b957600080fd5b506116b39050565b6001546040805163a9059cbb60e01b81526001600160a01b038681166004830152602482018690529151919092169163a9059cbb9160448083019260209291908290030181600087803b15801561181757600080fd5b505af115801561182b573d6000803e3d6000fd5b505050506040513d60208110156111f057600080fd5b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b17905261189b9085906118a1565b50505050565b60606118f6826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166119529092919063ffffffff16565b8051909150156116b35780806020019051602081101561191557600080fd5b50516116b35760405162461bcd60e51b815260040180806020018281038252602a815260200180611bfd602a913960400191505060405180910390fd5b60606119618484600085611969565b949350505050565b6060824710156119aa5760405162461bcd60e51b8152600401808060200182810382526026815260200180611b966026913960400191505060405180910390fd5b6119b385611ac5565b611a04576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b60208310611a435780518252601f199092019160209182019101611a24565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114611aa5576040519150601f19603f3d011682016040523d82523d6000602084013e611aaa565b606091505b5091509150611aba828286611acb565b979650505050505050565b3b151590565b60608315611ada575081611599565b825115611aea5782518084602001fd5b8160405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611b34578181015183820152602001611b1c565b50505050905090810190601f168015611b615780820380516001836020036101000a031916815260200191505b509250505060405180910390fdfe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564416d6f756e74206d757374206265206c657373207468616e207374616b65642053414e4420616d6f756e74a2646970667358221220137e9fbfe9b42c70041d2866d9df187f2df1409a18f4035dda8d18274314d34a64736f6c634300060c0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000cfeb09c3c5f0f78ad72166d55f9e6e9a60e96eec0000000000000000000000002f00df4f995451e0df337b91744006eb8892bfb100000000000000000000000000000000000000000000000014d1120d7b1600000000000000000000000000000000000000000000000000000000000000caad7d
-----Decoded View---------------
Arg [0] : _VEMP (address): 0xcFEB09C3c5F0f78aD72166D55f9e6E9A60e96eEC
Arg [1] : _adminaddr (address): 0x2f00dF4F995451e0DF337B91744006EB8892bfB1
Arg [2] : _VEMPPerBlock (uint256): 1500000000000000000
Arg [3] : _startBlock (uint256): 13282685
-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 000000000000000000000000cfeb09c3c5f0f78ad72166d55f9e6e9a60e96eec
Arg [1] : 0000000000000000000000002f00df4f995451e0df337b91744006eb8892bfb1
Arg [2] : 00000000000000000000000000000000000000000000000014d1120d7b160000
Arg [3] : 0000000000000000000000000000000000000000000000000000000000caad7d
Deployed Bytecode Sourcemap
25244:11548:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36433:155;;;;;;;;;;;;;;;;-1:-1:-1;36433:155:0;;:::i;:::-;;30815:762;;;;;;;;;;;;;;;;-1:-1:-1;30815:762:0;;;;;;-1:-1:-1;;;;;30815:762:0;;:::i;:::-;;;;;;;;;;;;;;;;28306:95;;;:::i;27247:26::-;;;;;;;;;;;;;;;;-1:-1:-1;27247:26:0;;:::i;:::-;;;;-1:-1:-1;;;;;27247:26:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27490:34;;;:::i;28570:655::-;;;;;;;;;;;;;;;;-1:-1:-1;28570:655:0;;;-1:-1:-1;;;;;28570:655:0;;;;;;;;;;;;:::i;26968:18::-;;;:::i;:::-;;;;-1:-1:-1;;;;;26968:18:0;;;;;;;;;;;;;;30010:737;;;;;;;;;;;;;;;;-1:-1:-1;30010:737:0;;;;;;-1:-1:-1;;;;;30010:737:0;;:::i;27581:25::-;;;:::i;31916:1495::-;;;;;;;;;;;;;;;;-1:-1:-1;31916:1495:0;;:::i;31660:180::-;;;:::i;36648:141::-;;;;;;;;;;;;;;;;-1:-1:-1;36648:141:0;-1:-1:-1;;;;;36648:141:0;;:::i;29321:304::-;;;;;;;;;;;;;;;;-1:-1:-1;29321:304:0;;;;;;;;;;;;;;:::i;27639:30::-;;;:::i;20685:148::-;;;:::i;34643:577::-;;;;;;;;;;;;;;;;-1:-1:-1;34643:577:0;;:::i;27167:44::-;;;:::i;20034:87::-;;;:::i;29705:241::-;;;;;;;;;;;;;;;;-1:-1:-1;29705:241:0;;;;;;;:::i;27329:66::-;;;;;;;;;;;;;;;;-1:-1:-1;27329:66:0;;;;;;-1:-1:-1;;;;;27329:66:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;27718:43;;;:::i;27016:24::-;;;:::i;27086:27::-;;;:::i;35670:719::-;;;;;;;;;;;;;;;;-1:-1:-1;35670:719:0;;;-1:-1:-1;;;;;35670:719:0;;;;;;;;;;:::i;33480:1111::-;;;;;;;;;;;;;;;;-1:-1:-1;33480:1111:0;;;;;;;:::i;20988:244::-;;;;;;;;;;;;;;;;-1:-1:-1;20988:244:0;-1:-1:-1;;;;;20988:244:0;;:::i;36433:155::-;20265:12;:10;:12::i;:::-;-1:-1:-1;;;;;20254:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;20254:23:0;;20246:68;;;;;-1:-1:-1;;;20246:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;20246:68:0;;;;;;;;;;;;;;;36519:17:::1;:15;:17::i;:::-;36547:12;:33:::0;36433:155::o;30815:762::-;30888:7;30908:21;30932:8;30941:4;30932:14;;;;;;;;;;;;;;;;30981;;;:8;:14;;;;;;-1:-1:-1;;;;;30981:21:0;;;;;;;;;30932:14;;;;;;;31039:20;;;;31089:15;;31134:20;;;;30932:14;;-1:-1:-1;31089:15:0;31119:12;:35;:52;;;;-1:-1:-1;31158:13:0;;;31119:52;31115:370;;;31188:21;31212:88;31254:45;31274:24;;31254:15;;:19;;:45;;;;:::i;:::-;31212:12;;:37;;;-1:-1:-1;;;31212:37:0;;31243:4;31212:37;;;;;;-1:-1:-1;;;;;31212:12:0;;;;:22;;:37;;;;;;;;;;;;;;;:12;:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;31212:37:0;;:41;:88::i;:::-;31188:112;;31315:20;31338:45;31356:4;:26;;;31338:13;:17;;:45;;;;:::i;:::-;31315:68;-1:-1:-1;31416:57:0;31436:36;31463:8;31436:22;31315:68;31453:4;31436:16;:22::i;:::-;:26;;:36::i;:::-;31416:15;;:19;:57::i;:::-;31398:75;;31115:370;;;31502:67;31549:4;:19;;;31502:42;31539:4;31502:32;31518:15;31502:4;:11;;;:15;;:32;;;;:::i;:42::-;:46;;:67::i;:::-;31495:74;;;;;;30815:762;;;;;:::o;28306:95::-;28378:8;:15;28306:95;:::o;27247:26::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;27247:26:0;;;;-1:-1:-1;27247:26:0;;;;;;;;;;;:::o;27490:34::-;;;;:::o;28570:655::-;20265:12;:10;:12::i;:::-;-1:-1:-1;;;;;20254:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;20254:23:0;;20246:68;;;;;-1:-1:-1;;;20246:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;20246:68:0;;;;;;;;;;;;;;;28671:11:::1;28667:61;;;28699:17;:15;:17::i;:::-;28738:23;28779:10;;28764:12;:25;:53;;28807:10;;28764:53;;;28792:12;28764:53;28846:15;::::0;28738:79;;-1:-1:-1;28846:32:0::1;::::0;28866:11;28846:19:::1;:32::i;:::-;28828:15;:50:::0;28903:313:::1;::::0;;::::1;::::0;::::1;::::0;;-1:-1:-1;;;;;28903:313:0;;::::1;::::0;;::::1;::::0;::::1;::::0;;;;;;;;;-1:-1:-1;28903:313:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28889:8:::1;:328:::0;;::::1;::::0;::::1;::::0;;;;;;;::::1;::::0;;::::1;::::0;;::::1;::::0;;-1:-1:-1;;;;;;28889:328:0::1;::::0;;;::::1;;::::0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;28889:328:0;;;;;;;28570:655::o;26968:18::-;;;-1:-1:-1;;;;;26968:18:0;;:::o;30010:737::-;30083:7;30103:21;30127:8;30136:4;30127:14;;;;;;;;;;;;;;;;30176;;;:8;:14;;;;;;-1:-1:-1;;;;;30176:21:0;;;;;;;;;30127:14;;;;;;;30234:20;;;;30284:15;;30329:20;;;;30127:14;;-1:-1:-1;30284:15:0;30314:12;:35;:52;;;;-1:-1:-1;30353:13:0;;;30314:52;30310:349;;;30383:18;30404:49;30418:4;:20;;;30440:12;30404:13;:49::i;:::-;30383:70;;30468:18;30489:70;30543:15;;30489:49;30522:4;:15;;;30489:28;30504:12;;30489:10;:14;;:28;;;;:::i;:::-;:32;;:49::i;:70::-;30468:91;-1:-1:-1;30592:55:0;30612:34;30637:8;30612:20;30468:91;30627:4;30612:14;:20::i;30592:55::-;30574:73;;30310:349;;;30676:63;30723:4;:15;;;30676:42;30713:4;30676:32;30692:15;30676:4;:11;;;:15;;:32;;;;:::i;27581:25::-;;;;:::o;31916:1495::-;31968:21;31992:8;32001:4;31992:14;;;;;;;;;;;;;;;;32041;;;:8;:14;;;;;;32056:10;32041:26;;;;;;;32108:20;31992:14;;;;;;;32108:20;;;;31992:14;;-1:-1:-1;32092:12:0;:36;32088:75;;32145:7;;;;32088:75;32173:21;32197:88;32239:45;32259:24;;32239:15;;:19;;:45;;;;:::i;:::-;32197:12;;:37;;;-1:-1:-1;;;32197:37:0;;32228:4;32197:37;;;;;;-1:-1:-1;;;;;32197:12:0;;;;:22;;:37;;;;;;;;;;;;;;;:12;:37;;;;;;;;;;:88;32173:112;;32296:20;32319:71;32344:45;32362:4;:26;;;32344:13;:17;;:45;;;;:::i;:::-;32319:20;;;;;:24;:71::i;:::-;32401:26;;;:42;;;32454:20;;;:35;;;32529:15;;32296:94;;-1:-1:-1;32559:13:0;32555:306;;-1:-1:-1;;32612:12:0;32589:20;;;;:35;;;;32662:1;32639:20;;;:24;;;32678;;;:28;;;32721:19;;:23;;;-1:-1:-1;32759:26:0;;;:30;;;32804:20;;;;:24;32843:7;;32555:306;32871:18;32892:49;32906:4;:20;;;32928:12;32892:13;:49::i;:::-;32871:70;;32952:18;32973:70;33027:15;;32973:49;33006:4;:15;;;32973:28;32988:12;;32973:10;:14;;:28;;;;:::i;:70::-;32952:91;-1:-1:-1;33077:60:0;33102:34;33127:8;33102:20;32952:91;33117:4;33102:14;:20::i;:34::-;33077:20;;;;;:24;:60::i;:::-;33054:20;;;:83;33171:12;33148:20;;;:35;33238:24;;;;-1:-1:-1;;33221:42:0;;:12;;:16;:42::i;:::-;33204:59;-1:-1:-1;33297:56:0;33322:30;33343:8;33322:16;33204:59;33333:4;33322:10;:16::i;:30::-;33297:20;;;;;:24;:56::i;:::-;33274:20;;;:79;-1:-1:-1;;;;33364:24:0;;;;:39;;;;-1:-1:-1;;31916:1495:0;;:::o;31660:180::-;31722:8;:15;31705:14;31748:85;31776:6;31770:3;:12;31748:85;;;31806:15;31817:3;31806:10;:15::i;:::-;31784:5;;31748:85;;;;31660:180;:::o;36648:141::-;36723:9;;-1:-1:-1;;;;;36723:9:0;36709:10;:23;36701:47;;;;;-1:-1:-1;;;36701:47:0;;;;;;;;;;;;-1:-1:-1;;;36701:47:0;;;;;;;;;;;;;;;36759:9;:22;;-1:-1:-1;;;;;;36759:22:0;-1:-1:-1;;;;;36759:22:0;;;;;;;;;;36648:141::o;29321:304::-;20265:12;:10;:12::i;:::-;-1:-1:-1;;;;;20254:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;20254:23:0;;20246:68;;;;;-1:-1:-1;;;20246:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;20246:68:0;;;;;;;;;;;;;;;29419:11:::1;29415:61;;;29447:17;:15;:17::i;:::-;29504:63;29555:11;29504:46;29524:8;29533:4;29524:14;;;;;;;;;;;;;;;;;;:25;;;29504:15;;:19;;:46;;;;:::i;:::-;:50:::0;::::1;:63::i;:::-;29486:15;:81;;;;29606:11;29578:8;29587:4;29578:14;;;;;;;;;;;;;;;;;;:25;;:39;;;;29321:304:::0;;;:::o;27639:30::-;;;;:::o;20685:148::-;20265:12;:10;:12::i;:::-;-1:-1:-1;;;;;20254:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;20254:23:0;;20246:68;;;;;-1:-1:-1;;;20246:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;20246:68:0;;;;;;;;;;;;;;;20792:1:::1;20776:6:::0;;20755:40:::1;::::0;-1:-1:-1;;;;;20776:6:0;;::::1;::::0;20755:40:::1;::::0;20792:1;;20755:40:::1;20823:1;20806:19:::0;;-1:-1:-1;;;;;;20806:19:0::1;::::0;;20685:148::o;34643:577::-;34694:21;34718:8;34727:4;34718:14;;;;;;;;;;;;;;;;34767;;;:8;:14;;;;;;34782:10;34767:26;;;;;;;34718:14;;;;;;;;-1:-1:-1;34804:16:0;34776:4;34804:10;:16::i;:::-;34841:18;34862:72;34914:4;:19;;;34862:47;34904:4;34862:37;34878:4;:20;;;34862:4;:11;;;:15;;:37;;;;:::i;:72::-;34945:12;;34841:93;;-1:-1:-1;34945:49:0;;-1:-1:-1;;;;;34945:12:0;34971:10;34841:93;34945:25;:49::i;:::-;35034:88;35076:45;35096:24;;35076:15;;:19;;:45;;;;:::i;35034:88::-;35005:26;;;:117;35181:20;;;;35165:11;;:47;;35207:4;;35165:37;;:15;:37::i;:47::-;35143:4;:19;;:69;;;;34643:577;;;;:::o;27167:44::-;27210:1;27167:44;:::o;20034:87::-;20080:7;20107:6;-1:-1:-1;;;;;20107:6:0;20034:87;:::o;29705:241::-;29777:7;29808:5;29801:3;:12;29797:142;;29837:36;27210:1;29837:14;:3;29845:5;29837:7;:14::i;:36::-;29830:43;;;;29797:142;29913:14;:5;29923:3;29913:9;:14::i;27329:66::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;27718:43::-;;;;:::o;27016:24::-;;;-1:-1:-1;;;;;27016:24:0;;:::o;27086:27::-;;;;:::o;35670:719::-;35780:9;;-1:-1:-1;;;;;35780:9:0;35766:10;:23;35758:64;;;;;-1:-1:-1;;;35758:64:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;35890:7;35841:45;35861:24;;35841:15;;:19;;:45;;;;:::i;:::-;:56;;35833:112;;;;-1:-1:-1;;;35833:112:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35956:21;35980:8;35989:4;35980:14;;;;;;;;;;;;;;;;;;;;;;;36023:12;;:37;;;-1:-1:-1;;;36023:37:0;;36054:4;36023:37;;;;;;35980:14;;-1:-1:-1;;;;;;36023:12:0;;;;:22;;:37;;;;;;;;;;:12;:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;36023:37:0;;-1:-1:-1;36075:17:0;;;36071:311;;;36109:12;;:35;;;-1:-1:-1;;;36109:35:0;;-1:-1:-1;;;;;36109:35:0;;;;;;;;;;;;;;;:12;;;;;:21;;:35;;;;;;;;;;;;;;:12;;:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;36186:24:0;;:37;;36215:7;36186:28;:37::i;:::-;36159:24;:64;36071:311;;;36256:12;;:35;;;-1:-1:-1;;;36256:35:0;;-1:-1:-1;;;;;36256:35:0;;;;;;;;;;;;;;;:12;;;;;:21;;:35;;;;;;;;;;;;;;:12;;:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;36333:24:0;;:37;;36362:7;36333:28;:37::i;:::-;36306:24;:64;36071:311;35670:719;;;;;:::o;33480:1111::-;33546:21;33570:8;33579:4;33570:14;;;;;;;;;;;;;;;;33619;;;:8;:14;;;;;;33634:10;33619:26;;;;;;;33570:14;;;;;;;;-1:-1:-1;33656:16:0;33628:4;33656:10;:16::i;:::-;33687:11;;:15;33683:504;;33719:15;33737:68;33789:4;:15;;;33737:47;33779:4;33737:37;33753:4;:20;;;33737:4;:11;;;:15;;:37;;;;:::i;:68::-;33719:86;;33820:37;33837:10;33849:7;33820:16;:37::i;:::-;33886:18;33907:72;33959:4;:19;;;33907:47;33949:4;33907:37;33923:4;:20;;;33907:4;:11;;;:15;;:37;;;;:::i;:72::-;33994:12;;33886:93;;-1:-1:-1;33994:49:0;;-1:-1:-1;;;;;33994:12:0;34020:10;33886:93;33994:25;:49::i;:::-;34087:88;34129:45;34149:24;;34129:15;;:19;;:45;;;;:::i;:::-;34087:12;;:37;;;-1:-1:-1;;;34087:37:0;;34118:4;34087:37;;;;;;-1:-1:-1;;;;;34087:12:0;;;;:22;;:37;;;;;;;;;;;;;;;:12;:37;;;;;;;;;;:88;34058:26;;;:117;-1:-1:-1;;33683:504:0;34197:12;;:74;;-1:-1:-1;;;;;34197:12:0;34235:10;34256:4;34263:7;34197:29;:74::i;:::-;34300:15;;:28;;34320:7;34300:19;:28::i;:::-;34282:15;:46;34353:11;;:24;;34369:7;34353:15;:24::i;:::-;34339:38;;;34422:20;;;;34406:47;;34448:4;;34406:37;;34339:38;34406:15;:37::i;:47::-;34388:15;;;:65;34502:20;;;;34486:11;;:47;;34528:4;;34486:37;;:15;:37::i;:47::-;34464:19;;;:69;34549:34;;;;;;;;34569:4;;34557:10;;34549:34;;;;;;;;;33480:1111;;;;:::o;20988:244::-;20265:12;:10;:12::i;:::-;-1:-1:-1;;;;;20254:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;20254:23:0;;20246:68;;;;;-1:-1:-1;;;20246:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;20246:68:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;21077:22:0;::::1;21069:73;;;;-1:-1:-1::0;;;21069:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21179:6;::::0;;21158:38:::1;::::0;-1:-1:-1;;;;;21158:38:0;;::::1;::::0;21179:6;::::1;::::0;21158:38:::1;::::0;::::1;21207:6;:17:::0;;-1:-1:-1;;;;;;21207:17:0::1;-1:-1:-1::0;;;;;21207:17:0;;;::::1;::::0;;;::::1;::::0;;20988:244::o;613:106::-;701:10;613:106;:::o;6862:158::-;6920:7;6953:1;6948;:6;;6940:49;;;;;-1:-1:-1;;;6940:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;7007:5:0;;;6862:158::o;7279:220::-;7337:7;7361:6;7357:20;;-1:-1:-1;7376:1:0;7369:8;;7357:20;7400:5;;;7404:1;7400;:5;:1;7424:5;;;;;:10;7416:56;;;;-1:-1:-1;;;7416:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7490:1;7279:220;-1:-1:-1;;;7279:220:0:o;7977:153::-;8035:7;8067:1;8063;:5;8055:44;;;;;-1:-1:-1;;;8055:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;8121:1;8117;:5;;;;;;;7977:153;-1:-1:-1;;;7977:153:0:o;6400:179::-;6458:7;6490:5;;;6514:6;;;;6506:46;;;;;-1:-1:-1;;;6506:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;21803:177;21913:58;;;-1:-1:-1;;;;;21913:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;21913:58:0;-1:-1:-1;;;21913:58:0;;;21886:86;;21906:5;;21886:19;:86::i;:::-;21803:177;;;:::o;35334:278::-;35428:4;;:29;;;-1:-1:-1;;;35428:29:0;;35451:4;35428:29;;;;;;35410:15;;-1:-1:-1;;;;;35428:4:0;;:14;;:29;;;;;;;;;;;;;;:4;:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;35428:29:0;;-1:-1:-1;35472:17:0;;;35468:137;;;35506:4;;:27;;;-1:-1:-1;;;35506:27:0;;-1:-1:-1;;;;;35506:27:0;;;;;;;;;;;;;;;:4;;;;;:13;;:27;;;;;;;;;;;;;;:4;;:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;35468:137:0;;-1:-1:-1;35468:137:0;;35566:4;;:27;;;-1:-1:-1;;;35566:27:0;;-1:-1:-1;;;;;35566:27:0;;;;;;;;;;;;;;;:4;;;;;:13;;:27;;;;;;;;;;;;;;:4;;:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21988:205;22116:68;;;-1:-1:-1;;;;;22116:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;22116:68:0;-1:-1:-1;;;22116:68:0;;;22089:96;;22109:5;;22089:19;:96::i;:::-;21988:205;;;;:::o;24108:761::-;24532:23;24558:69;24586:4;24558:69;;;;;;;;;;;;;;;;;24566:5;-1:-1:-1;;;;;24558:27:0;;;:69;;;;;:::i;:::-;24642:17;;24532:95;;-1:-1:-1;24642:21:0;24638:224;;24784:10;24773:30;;;;;;;;;;;;;;;-1:-1:-1;24773:30:0;24765:85;;;;-1:-1:-1;;;24765:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14671:195;14774:12;14806:52;14828:6;14836:4;14842:1;14845:12;14806:21;:52::i;:::-;14799:59;14671:195;-1:-1:-1;;;;14671:195:0:o;15723:530::-;15850:12;15908:5;15883:21;:30;;15875:81;;;;-1:-1:-1;;;15875:81:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15975:18;15986:6;15975:10;:18::i;:::-;15967:60;;;;;-1:-1:-1;;;15967:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;16101:12;16115:23;16142:6;-1:-1:-1;;;;;16142:11:0;16162:5;16170:4;16142:33;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;16142:33:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16100:75;;;;16193:52;16211:7;16220:10;16232:12;16193:17;:52::i;:::-;16186:59;15723:530;-1:-1:-1;;;;;;;15723:530:0:o;11753:422::-;12120:20;12159:8;;;11753:422::o;18263:742::-;18378:12;18407:7;18403:595;;;-1:-1:-1;18438:10:0;18431:17;;18403:595;18552:17;;:21;18548:439;;18815:10;18809:17;18876:15;18863:10;18859:2;18855:19;18848:44;18763:148;18958:12;18951:20;;-1:-1:-1;;;18951:20:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Swarm Source
ipfs://137e9fbfe9b42c70041d2866d9df187f2df1409a18f4035dda8d18274314d34a
Loading...
Loading
Loading...
Loading
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.