Polygon Sponsored slots available. Book your slot here!
More Info
Private Name Tags
ContractCreator
Sponsored
Latest 25 from a total of 124 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Withdraw | 34548157 | 725 days ago | IN | 0 POL | 0.01142354 | ||||
Withdraw | 34542946 | 725 days ago | IN | 0 POL | 0.01230027 | ||||
Withdraw | 34498091 | 726 days ago | IN | 0 POL | 0.02091096 | ||||
Withdraw | 34497968 | 726 days ago | IN | 0 POL | 0.01772736 | ||||
Withdraw | 34487134 | 726 days ago | IN | 0 POL | 0.00766396 | ||||
Withdraw | 34486932 | 726 days ago | IN | 0 POL | 0.00740766 | ||||
Withdraw | 34484209 | 727 days ago | IN | 0 POL | 0.00677643 | ||||
Withdraw | 34484180 | 727 days ago | IN | 0 POL | 0.0043444 | ||||
Withdraw | 34478230 | 727 days ago | IN | 0 POL | 0.01153907 | ||||
Withdraw | 34478206 | 727 days ago | IN | 0 POL | 0.00977656 | ||||
Withdraw | 34478195 | 727 days ago | IN | 0 POL | 0.00939287 | ||||
Withdraw | 34478087 | 727 days ago | IN | 0 POL | 0.00632511 | ||||
Withdraw | 34478025 | 727 days ago | IN | 0 POL | 0.00774301 | ||||
Withdraw | 34477991 | 727 days ago | IN | 0 POL | 0.00897769 | ||||
Withdraw | 34477783 | 727 days ago | IN | 0 POL | 0.01129484 | ||||
Withdraw | 34477642 | 727 days ago | IN | 0 POL | 0.01156099 | ||||
Withdraw | 34474043 | 727 days ago | IN | 0 POL | 0.00538338 | ||||
Emergency Withdr... | 34473852 | 727 days ago | IN | 0 POL | 0.00425282 | ||||
Withdraw | 34473719 | 727 days ago | IN | 0 POL | 0.00644482 | ||||
Emergency Withdr... | 34473695 | 727 days ago | IN | 0 POL | 2.61568559 | ||||
Withdraw | 34473525 | 727 days ago | IN | 0 POL | 0.00585883 | ||||
Withdraw | 34473493 | 727 days ago | IN | 0 POL | 0.00458182 | ||||
Withdraw | 34473381 | 727 days ago | IN | 0 POL | 0.00688904 | ||||
Withdraw | 34473373 | 727 days ago | IN | 0 POL | 0.00695622 | ||||
Withdraw | 34473368 | 727 days ago | IN | 0 POL | 0.00806001 |
Loading...
Loading
Contract Name:
BonusPool
Compiler Version
v0.6.12+commit.27d51765
Contract Source Code (Solidity)
/** *Submitted for verification at polygonscan.com on 2022-10-17 */ // SPDX-License-Identifier: MIT // File: @openzeppelin/contracts/token/ERC20/IERC20.sol pragma solidity >=0.6.0 <0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address sender, address recipient, uint256 amount) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); } // File: @openzeppelin/contracts/math/SafeMath.sol pragma solidity >=0.6.0 <0.8.0; /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming languages. * `SafeMath` restores this intuition by reverting the transaction when an * operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, 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; } } // File: @openzeppelin/contracts/utils/Address.sol pragma solidity >=0.6.2 <0.8.0; /** * @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); } } } } // File: @openzeppelin/contracts/token/ERC20/SafeERC20.sol pragma solidity >=0.6.0 <0.8.0; /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for 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"); } } } // File: contracts/distribution/BonusPool.sol pragma solidity 0.6.12; contract BonusPool { using SafeMath for uint256; using SafeERC20 for IERC20; // governance address public operator; // Info of each user. struct UserInfo { uint256 amount; // How many tokens the user has provided. uint256 marsDebt; // Mars debt. See explanation below. } // Info of each pool. struct PoolInfo { IERC20 token; // Address of LP token contract. uint256 allocPoint; // How many allocation points assigned to this pool. Mars to distribute. uint256 lastMarsTime; // Last time that Mars distribution occurs. uint256 accMarsPerShare; // Accumulated Mars per share, times 1e18. See below. bool isStarted; // if lastMarsBlock has passed uint256 depositFee; // deposit fee, x / 10000, 2% max } IERC20 public mars; // Info of each pool. PoolInfo[] public poolInfo; // Info of each user that stakes LP tokens. mapping(uint256 => mapping(address => UserInfo)) public userInfo; // Total allocation points. Must be the sum of all allocation points in all pools. uint256 public totalAllocPoint = 0; // The time when Mars mining starts. uint256 public poolStartTime; // The time when Mars mining ends. uint256 public poolEndTime; uint256 public marsPerSecond = 0.000018 ether; uint256 public runningTime = 1 days; uint256 constant MAX_DEPOSIT_FEE = 0; // 0% address public treasuryFund; 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); event MarsPaid(address indexed user, uint256 amount); constructor( address _mars, uint256 _poolStartTime, address _treasuryFund ) public { require(block.timestamp < _poolStartTime, "late"); if (_mars != address(0)) mars = IERC20(_mars); poolStartTime = _poolStartTime; poolEndTime = poolStartTime + runningTime; operator = msg.sender; treasuryFund = _treasuryFund; } modifier onlyOperator() { require(operator == msg.sender, "GenesisPool: caller is not the operator"); _; } function checkPoolDuplicate(IERC20 _token) internal view { uint256 length = poolInfo.length; for (uint256 pid = 0; pid < length; ++pid) { require(poolInfo[pid].token != _token, "GenesisPool: existing pool?"); } } // Add a new token to the pool. Can only be called by the owner. function add( uint256 _allocPoint, IERC20 _token, bool _withUpdate, uint256 _lastMarsTime, uint256 _depositFee ) public onlyOperator { require(_depositFee <= MAX_DEPOSIT_FEE, "deposit fee too high"); checkPoolDuplicate(_token); if (_withUpdate) { massUpdatePools(); } if (block.timestamp < poolStartTime) { // chef is sleeping if (_lastMarsTime == 0) { _lastMarsTime = poolStartTime; } else { if (_lastMarsTime < poolStartTime) { _lastMarsTime = poolStartTime; } } } else { // chef is cooking if (_lastMarsTime == 0 || _lastMarsTime < block.timestamp) { _lastMarsTime = block.timestamp; } } bool _isStarted = (_lastMarsTime <= poolStartTime) || (_lastMarsTime <= block.timestamp); poolInfo.push(PoolInfo({ token : _token, allocPoint : _allocPoint, lastMarsTime : _lastMarsTime, accMarsPerShare : 0, isStarted : _isStarted, depositFee: _depositFee })); if (_isStarted) { totalAllocPoint = totalAllocPoint.add(_allocPoint); } } // Set Mars Allocation. function MarsAllocation( IERC20 _token, uint256 _amount, address _to ) external onlyOperator { _token.transfer(_to, _amount); } // Update the given pool's Mars allocation point. Can only be called by the owner. function set(uint256 _pid, uint256 _allocPoint, uint256 _depositFee) public onlyOperator { require(_depositFee <= MAX_DEPOSIT_FEE, "deposit fee too high"); massUpdatePools(); PoolInfo storage pool = poolInfo[_pid]; if (pool.isStarted) { totalAllocPoint = totalAllocPoint.sub(pool.allocPoint).add( _allocPoint ); } pool.allocPoint = _allocPoint; pool.depositFee = _depositFee; } // Return accumulate marss over the given _from to _to block. function getGeneratedMars(uint256 _fromTime, uint256 _toTime) public view returns (uint256) { if (_fromTime >= _toTime) return 0; if (_toTime >= poolEndTime) { if (_fromTime >= poolEndTime) return 0; if (_fromTime <= poolStartTime) return poolEndTime.sub(poolStartTime).mul(marsPerSecond); return poolEndTime.sub(_fromTime).mul(marsPerSecond); } else { if (_toTime <= poolStartTime) return 0; if (_fromTime <= poolStartTime) return _toTime.sub(poolStartTime).mul(marsPerSecond); return _toTime.sub(_fromTime).mul(marsPerSecond); } } // View function to see pending Mars on frontend. function pendingMars(uint256 _pid, address _user) external view returns (uint256) { PoolInfo storage pool = poolInfo[_pid]; UserInfo storage user = userInfo[_pid][_user]; uint256 accMarsPerShare = pool.accMarsPerShare; uint256 tokenSupply = pool.token.balanceOf(address(this)); if (block.timestamp > pool.lastMarsTime && tokenSupply != 0) { uint256 _generatedMars = getGeneratedMars(pool.lastMarsTime, block.timestamp); uint256 _mars = _generatedMars.mul(pool.allocPoint).div(totalAllocPoint); accMarsPerShare = accMarsPerShare.add(_mars.mul(1e18).div(tokenSupply)); } return user.amount.mul(accMarsPerShare).div(1e18).sub(user.marsDebt); } // Update mars variables 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 mars variables of the given pool to be up-to-date. function updatePool(uint256 _pid) public { PoolInfo storage pool = poolInfo[_pid]; if (block.timestamp <= pool.lastMarsTime) { return; } uint256 tokenSupply = pool.token.balanceOf(address(this)); if (tokenSupply == 0) { pool.lastMarsTime = block.timestamp; return; } if (!pool.isStarted) { pool.isStarted = true; totalAllocPoint = totalAllocPoint.add(pool.allocPoint); } if (totalAllocPoint > 0) { uint256 _generatedMars = getGeneratedMars(pool.lastMarsTime, block.timestamp); uint256 _mars = _generatedMars.mul(pool.allocPoint).div(totalAllocPoint); pool.accMarsPerShare = pool.accMarsPerShare.add(_mars.mul(1e18).div(tokenSupply)); } pool.lastMarsTime = block.timestamp; } // Deposit LP tokens. function deposit(uint256 _pid, uint256 _amount) public { address _sender = msg.sender; PoolInfo storage pool = poolInfo[_pid]; UserInfo storage user = userInfo[_pid][_sender]; updatePool(_pid); if (user.amount > 0) { uint256 _pending = user.amount.mul(pool.accMarsPerShare).div(1e18).sub(user.marsDebt); if (_pending > 0) { safeMarsTransfer(_sender, _pending); emit MarsPaid(_sender, _pending); } } if (_amount > 0) { pool.token.safeTransferFrom(_sender, address(this), _amount); uint256 depositFee = _amount.mul(pool.depositFee).div(10000); user.amount = user.amount.add(_amount.sub(depositFee)); if (depositFee > 0) { pool.token.safeTransfer(treasuryFund, depositFee); } } user.marsDebt = user.amount.mul(pool.accMarsPerShare).div(1e18); emit Deposit(_sender, _pid, _amount); } // Withdraw LP tokens. function withdraw(uint256 _pid, uint256 _amount) public { address _sender = msg.sender; PoolInfo storage pool = poolInfo[_pid]; UserInfo storage user = userInfo[_pid][_sender]; require(user.amount >= _amount, "withdraw: not good"); updatePool(_pid); uint256 _pending = user.amount.mul(pool.accMarsPerShare).div(1e18).sub(user.marsDebt); if (_pending > 0) { safeMarsTransfer(_sender, _pending); emit MarsPaid(_sender, _pending); } if (_amount > 0) { user.amount = user.amount.sub(_amount); pool.token.safeTransfer(_sender, _amount); } user.marsDebt = user.amount.mul(pool.accMarsPerShare).div(1e18); emit Withdraw(_sender, _pid, _amount); } // Withdraw without caring about marss. EMERGENCY ONLY. function emergencyWithdraw(uint256 _pid) public { PoolInfo storage pool = poolInfo[_pid]; UserInfo storage user = userInfo[_pid][msg.sender]; uint256 _amount = user.amount; user.amount = 0; user.marsDebt = 0; pool.token.safeTransfer(msg.sender, _amount); emit EmergencyWithdraw(msg.sender, _pid, _amount); } // Safe Mars transfer function, just in case if rounding error causes pool to not have enough Marss. function safeMarsTransfer(address _to, uint256 _amount) internal { uint256 _marsBalance = mars.balanceOf(address(this)); if (_marsBalance > 0) { if (_amount > _marsBalance) { mars.safeTransfer(_to, _marsBalance); } else { mars.safeTransfer(_to, _amount); } } } function setOperator(address _operator) external onlyOperator { operator = _operator; } function setTreasuryFund(address _treasuryFund) external { require(msg.sender == treasuryFund, "!treasury"); treasuryFund = _treasuryFund; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_mars","type":"address"},{"internalType":"uint256","name":"_poolStartTime","type":"uint256"},{"internalType":"address","name":"_treasuryFund","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"}],"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":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"MarsPaid","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":[{"internalType":"contract IERC20","name":"_token","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"address","name":"_to","type":"address"}],"name":"MarsAllocation","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_allocPoint","type":"uint256"},{"internalType":"contract IERC20","name":"_token","type":"address"},{"internalType":"bool","name":"_withUpdate","type":"bool"},{"internalType":"uint256","name":"_lastMarsTime","type":"uint256"},{"internalType":"uint256","name":"_depositFee","type":"uint256"}],"name":"add","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":"_pid","type":"uint256"}],"name":"emergencyWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_fromTime","type":"uint256"},{"internalType":"uint256","name":"_toTime","type":"uint256"}],"name":"getGeneratedMars","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mars","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"marsPerSecond","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"massUpdatePools","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"operator","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"address","name":"_user","type":"address"}],"name":"pendingMars","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"poolEndTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"poolInfo","outputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"uint256","name":"allocPoint","type":"uint256"},{"internalType":"uint256","name":"lastMarsTime","type":"uint256"},{"internalType":"uint256","name":"accMarsPerShare","type":"uint256"},{"internalType":"bool","name":"isStarted","type":"bool"},{"internalType":"uint256","name":"depositFee","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"poolStartTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"runningTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_allocPoint","type":"uint256"},{"internalType":"uint256","name":"_depositFee","type":"uint256"}],"name":"set","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_operator","type":"address"}],"name":"setOperator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_treasuryFund","type":"address"}],"name":"setTreasuryFund","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"totalAllocPoint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"treasuryFund","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"updatePool","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":"marsDebt","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6080604052600060045565105ef39b20006007556201518060085534801561002657600080fd5b506040516128403803806128408339818101604052606081101561004957600080fd5b810190808051906020019092919080519060200190929190805190602001909291905050508142106100e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260048152602001807f6c6174650000000000000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146101595782600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b8160058190555060085460055401600681905550336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505050612640806102006000396000f3fe608060405234801561001057600080fd5b50600436106101425760003560e01c806392222e3a116100b8578063b3ab15fb1161007c578063b3ab15fb146104c5578063ce56fa0514610509578063e0c4f12d1461056b578063e2bbb1581461059f578063f746b718146105d7578063f7d520221461061b57610142565b806392222e3a146103a057806393f1a40b146103ec578063943f013d14610455578063aa6637dd14610473578063b15a9c40146104a757610142565b80635312ea8e1161010a5780635312ea8e1461028a578063570ca735146102b85780635f96dc11146102ec57806362e006c71461030a578063630b5ba1146103785780636e271dd51461038257610142565b80631526fe271461014757806317caf6f1146101c457806343b0e8df146101e2578063441a3e701461022457806351eb05a61461025c575b600080fd5b6101736004803603602081101561015d57600080fd5b8101908080359060200190929190505050610689565b604051808773ffffffffffffffffffffffffffffffffffffffff1681526020018681526020018581526020018481526020018315158152602001828152602001965050505050505060405180910390f35b6101cc6106ff565b6040518082815260200191505060405180910390f35b610222600480360360608110156101f857600080fd5b81019080803590602001909291908035906020019092919080359060200190929190505050610705565b005b61025a6004803603604081101561023a57600080fd5b8101908080359060200190929190803590602001909291905050506108a8565b005b6102886004803603602081101561027257600080fd5b8101908080359060200190929190505050610b60565b005b6102b6600480360360208110156102a057600080fd5b8101908080359060200190929190505050610d6f565b005b6102c0610ea3565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6102f4610ec7565b6040518082815260200191505060405180910390f35b610376600480360360a081101561032057600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035151590602001909291908035906020019092919080359060200190929190505050610ecd565b005b61038061118c565b005b61038a6111b9565b6040518082815260200191505060405180910390f35b6103d6600480360360408110156103b657600080fd5b8101908080359060200190929190803590602001909291905050506111bf565b6040518082815260200191505060405180910390f35b6104386004803603604081101561040257600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506112d2565b604051808381526020018281526020019250505060405180910390f35b61045d611303565b6040518082815260200191505060405180910390f35b61047b611309565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6104af61132f565b6040518082815260200191505060405180910390f35b610507600480360360208110156104db57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611335565b005b6105556004803603604081101561051f57600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061141c565b6040518082815260200191505060405180910390f35b610573611654565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6105d5600480360360408110156105b557600080fd5b81019080803590602001909291908035906020019092919050505061167a565b005b610619600480360360208110156105ed57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611985565b005b6106876004803603606081101561063157600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611a8c565b005b6002818154811061069657fe5b90600052602060002090600602016000915090508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060010154908060020154908060030154908060040160009054906101000a900460ff16908060050154905086565b60045481565b3373ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146107a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260278152602001806125996027913960400191505060405180910390fd5b6000811115610820576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260148152602001807f6465706f7369742066656520746f6f206869676800000000000000000000000081525060200191505060405180910390fd5b61082861118c565b60006002848154811061083757fe5b906000526020600020906006020190508060040160009054906101000a900460ff1615610890576108898361087b8360010154600454611be290919063ffffffff16565b611c6590919063ffffffff16565b6004819055505b82816001018190555081816005018190555050505050565b60003390506000600284815481106108bc57fe5b9060005260206000209060060201905060006003600086815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050838160000154101561099a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260128152602001807f77697468647261773a206e6f7420676f6f64000000000000000000000000000081525060200191505060405180910390fd5b6109a385610b60565b60006109f082600101546109e2670de0b6b3a76400006109d487600301548760000154611ced90919063ffffffff16565b611d7390919063ffffffff16565b611be290919063ffffffff16565b90506000811115610a5457610a058482611dfc565b8373ffffffffffffffffffffffffffffffffffffffff167f45da806b866bc9f8f48de85be50855976c0b4929476b01bac0435f4d9deb0efd826040518082815260200191505060405180910390a25b6000851115610acc57610a74858360000154611be290919063ffffffff16565b8260000181905550610acb84868560000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611f7b9092919063ffffffff16565b5b610b01670de0b6b3a7640000610af385600301548560000154611ced90919063ffffffff16565b611d7390919063ffffffff16565b8260010181905550858473ffffffffffffffffffffffffffffffffffffffff167ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b568876040518082815260200191505060405180910390a3505050505050565b600060028281548110610b6f57fe5b9060005260206000209060060201905080600201544211610b905750610d6c565b60008160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015610c1d57600080fd5b505afa158015610c31573d6000803e3d6000fd5b505050506040513d6020811015610c4757600080fd5b810190808051906020019092919050505090506000811415610c73574282600201819055505050610d6c565b8160040160009054906101000a900460ff16610cc65760018260040160006101000a81548160ff021916908315150217905550610cbf8260010154600454611c6590919063ffffffff16565b6004819055505b60006004541115610d60576000610ce18360020154426111bf565b90506000610d10600454610d02866001015485611ced90919063ffffffff16565b611d7390919063ffffffff16565b9050610d55610d4284610d34670de0b6b3a764000085611ced90919063ffffffff16565b611d7390919063ffffffff16565b8560030154611c6590919063ffffffff16565b846003018190555050505b42826002018190555050505b50565b600060028281548110610d7e57fe5b9060005260206000209060060201905060006003600084815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090506000816000015490506000826000018190555060008260010181905550610e4e33828560000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611f7b9092919063ffffffff16565b833373ffffffffffffffffffffffffffffffffffffffff167fbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae0595836040518082815260200191505060405180910390a350505050565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60055481565b3373ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610f71576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260278152602001806125996027913960400191505060405180910390fd5b6000811115610fe8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260148152602001807f6465706f7369742066656520746f6f206869676800000000000000000000000081525060200191505060405180910390fd5b610ff18461201d565b821561100057610fff61118c565b5b60055442101561103357600082141561101d57600554915061102e565b60055482101561102d5760055491505b5b61104b565b600082148061104157504282105b1561104a574291505b5b60006005548311158061105e5750428311155b905060026040518060c001604052808773ffffffffffffffffffffffffffffffffffffffff16815260200188815260200185815260200160008152602001831515815260200184815250908060018154018082558091505060019003906000526020600020906006020160009091909190915060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160010155604082015181600201556060820151816003015560808201518160040160006101000a81548160ff02191690831515021790555060a08201518160050155505080156111845761117d86600454611c6590919063ffffffff16565b6004819055505b505050505050565b6000600280549050905060005b818110156111b5576111aa81610b60565b806001019050611199565b5050565b60065481565b60008183106111d157600090506112cc565b60065482106112575760065483106111ec57600090506112cc565b600554831161122757611220600754611212600554600654611be290919063ffffffff16565b611ced90919063ffffffff16565b90506112cc565b61125060075461124285600654611be290919063ffffffff16565b611ced90919063ffffffff16565b90506112cc565b600554821161126957600090506112cc565b60055483116112a25761129b60075461128d60055485611be290919063ffffffff16565b611ced90919063ffffffff16565b90506112cc565b6112c96007546112bb8585611be290919063ffffffff16565b611ced90919063ffffffff16565b90505b92915050565b6003602052816000526040600020602052806000526040600020600091509150508060000154908060010154905082565b60085481565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60075481565b3373ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146113d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260278152602001806125996027913960400191505060405180910390fd5b806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000806002848154811061142c57fe5b9060005260206000209060060201905060006003600086815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905060008260030154905060008360000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561152657600080fd5b505afa15801561153a573d6000803e3d6000fd5b505050506040513d602081101561155057600080fd5b81019080805190602001909291905050509050836002015442118015611577575060008114155b1561160157600061158c8560020154426111bf565b905060006115bb6004546115ad886001015485611ced90919063ffffffff16565b611d7390919063ffffffff16565b90506115fc6115ed846115df670de0b6b3a764000085611ced90919063ffffffff16565b611d7390919063ffffffff16565b85611c6590919063ffffffff16565b935050505b611648836001015461163a670de0b6b3a764000061162c868860000154611ced90919063ffffffff16565b611d7390919063ffffffff16565b611be290919063ffffffff16565b94505050505092915050565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600033905060006002848154811061168e57fe5b9060005260206000209060060201905060006003600086815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090506116fb85610b60565b6000816000015411156117bb5760006117558260010154611747670de0b6b3a764000061173987600301548760000154611ced90919063ffffffff16565b611d7390919063ffffffff16565b611be290919063ffffffff16565b905060008111156117b95761176a8482611dfc565b8373ffffffffffffffffffffffffffffffffffffffff167f45da806b866bc9f8f48de85be50855976c0b4929476b01bac0435f4d9deb0efd826040518082815260200191505060405180910390a25b505b60008411156118f2576118158330868560000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612122909392919063ffffffff16565b6000611842612710611834856005015488611ced90919063ffffffff16565b611d7390919063ffffffff16565b905061186d61185a8287611be290919063ffffffff16565b8360000154611c6590919063ffffffff16565b826000018190555060008111156118f0576118ef600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16828560000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611f7b9092919063ffffffff16565b5b505b611927670de0b6b3a764000061191984600301548460000154611ced90919063ffffffff16565b611d7390919063ffffffff16565b8160010181905550848373ffffffffffffffffffffffffffffffffffffffff167f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a15866040518082815260200191505060405180910390a35050505050565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611a48576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260098152602001807f217472656173757279000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b80600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b3373ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611b30576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260278152602001806125996027913960400191505060405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff1663a9059cbb82846040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b158015611ba157600080fd5b505af1158015611bb5573d6000803e3d6000fd5b505050506040513d6020811015611bcb57600080fd5b810190808051906020019092919050505050505050565b600082821115611c5a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525060200191505060405180910390fd5b818303905092915050565b600080828401905083811015611ce3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b600080831415611d005760009050611d6d565b6000828402905082848281611d1157fe5b0414611d68576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806125c06021913960400191505060405180910390fd5b809150505b92915050565b6000808211611dea576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525060200191505060405180910390fd5b818381611df357fe5b04905092915050565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015611e8757600080fd5b505afa158015611e9b573d6000803e3d6000fd5b505050506040513d6020811015611eb157600080fd5b810190808051906020019092919050505090506000811115611f765780821115611f2757611f228382600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611f7b9092919063ffffffff16565b611f75565b611f748383600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611f7b9092919063ffffffff16565b5b5b505050565b6120188363a9059cbb60e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506121e3565b505050565b6000600280549050905060005b8181101561211d578273ffffffffffffffffffffffffffffffffffffffff166002828154811061205657fe5b906000526020600020906006020160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415612112576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f47656e65736973506f6f6c3a206578697374696e6720706f6f6c3f000000000081525060200191505060405180910390fd5b80600101905061202a565b505050565b6121dd846323b872dd60e01b858585604051602401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506121e3565b50505050565b6060612245826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166122d29092919063ffffffff16565b90506000815111156122cd5780806020019051602081101561226657600080fd5b81019080805190602001909291905050506122cc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a8152602001806125e1602a913960400191505060405180910390fd5b5b505050565b60606122e184846000856122ea565b90509392505050565b606082471015612345576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806125736026913960400191505060405180910390fd5b61234e85612493565b6123c0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000081525060200191505060405180910390fd5b600060608673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b6020831061241057805182526020820191506020810190506020830392506123ed565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114612472576040519150601f19603f3d011682016040523d82523d6000602084013e612477565b606091505b50915091506124878282866124a6565b92505050949350505050565b600080823b905060008111915050919050565b606083156124b65782905061256b565b6000835111156124c95782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015612530578082015181840152602081019050612515565b50505050905090810190601f16801561255d5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b939250505056fe416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c47656e65736973506f6f6c3a2063616c6c6572206973206e6f7420746865206f70657261746f72536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a2646970667358221220ef575c9b2b2816c0bf1fa2f3af008533691c11b56c4aa11e5ddb67cc1c67745764736f6c634300060c0033000000000000000000000000bd3be68bcb92aa8b59b894d0811acadaeeb2136900000000000000000000000000000000000000000000000000000000634da9b4000000000000000000000000643d7f1ffd8dc0ba9a052397223228ddcb235b25
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101425760003560e01c806392222e3a116100b8578063b3ab15fb1161007c578063b3ab15fb146104c5578063ce56fa0514610509578063e0c4f12d1461056b578063e2bbb1581461059f578063f746b718146105d7578063f7d520221461061b57610142565b806392222e3a146103a057806393f1a40b146103ec578063943f013d14610455578063aa6637dd14610473578063b15a9c40146104a757610142565b80635312ea8e1161010a5780635312ea8e1461028a578063570ca735146102b85780635f96dc11146102ec57806362e006c71461030a578063630b5ba1146103785780636e271dd51461038257610142565b80631526fe271461014757806317caf6f1146101c457806343b0e8df146101e2578063441a3e701461022457806351eb05a61461025c575b600080fd5b6101736004803603602081101561015d57600080fd5b8101908080359060200190929190505050610689565b604051808773ffffffffffffffffffffffffffffffffffffffff1681526020018681526020018581526020018481526020018315158152602001828152602001965050505050505060405180910390f35b6101cc6106ff565b6040518082815260200191505060405180910390f35b610222600480360360608110156101f857600080fd5b81019080803590602001909291908035906020019092919080359060200190929190505050610705565b005b61025a6004803603604081101561023a57600080fd5b8101908080359060200190929190803590602001909291905050506108a8565b005b6102886004803603602081101561027257600080fd5b8101908080359060200190929190505050610b60565b005b6102b6600480360360208110156102a057600080fd5b8101908080359060200190929190505050610d6f565b005b6102c0610ea3565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6102f4610ec7565b6040518082815260200191505060405180910390f35b610376600480360360a081101561032057600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035151590602001909291908035906020019092919080359060200190929190505050610ecd565b005b61038061118c565b005b61038a6111b9565b6040518082815260200191505060405180910390f35b6103d6600480360360408110156103b657600080fd5b8101908080359060200190929190803590602001909291905050506111bf565b6040518082815260200191505060405180910390f35b6104386004803603604081101561040257600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506112d2565b604051808381526020018281526020019250505060405180910390f35b61045d611303565b6040518082815260200191505060405180910390f35b61047b611309565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6104af61132f565b6040518082815260200191505060405180910390f35b610507600480360360208110156104db57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611335565b005b6105556004803603604081101561051f57600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061141c565b6040518082815260200191505060405180910390f35b610573611654565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6105d5600480360360408110156105b557600080fd5b81019080803590602001909291908035906020019092919050505061167a565b005b610619600480360360208110156105ed57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611985565b005b6106876004803603606081101561063157600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611a8c565b005b6002818154811061069657fe5b90600052602060002090600602016000915090508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060010154908060020154908060030154908060040160009054906101000a900460ff16908060050154905086565b60045481565b3373ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146107a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260278152602001806125996027913960400191505060405180910390fd5b6000811115610820576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260148152602001807f6465706f7369742066656520746f6f206869676800000000000000000000000081525060200191505060405180910390fd5b61082861118c565b60006002848154811061083757fe5b906000526020600020906006020190508060040160009054906101000a900460ff1615610890576108898361087b8360010154600454611be290919063ffffffff16565b611c6590919063ffffffff16565b6004819055505b82816001018190555081816005018190555050505050565b60003390506000600284815481106108bc57fe5b9060005260206000209060060201905060006003600086815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050838160000154101561099a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260128152602001807f77697468647261773a206e6f7420676f6f64000000000000000000000000000081525060200191505060405180910390fd5b6109a385610b60565b60006109f082600101546109e2670de0b6b3a76400006109d487600301548760000154611ced90919063ffffffff16565b611d7390919063ffffffff16565b611be290919063ffffffff16565b90506000811115610a5457610a058482611dfc565b8373ffffffffffffffffffffffffffffffffffffffff167f45da806b866bc9f8f48de85be50855976c0b4929476b01bac0435f4d9deb0efd826040518082815260200191505060405180910390a25b6000851115610acc57610a74858360000154611be290919063ffffffff16565b8260000181905550610acb84868560000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611f7b9092919063ffffffff16565b5b610b01670de0b6b3a7640000610af385600301548560000154611ced90919063ffffffff16565b611d7390919063ffffffff16565b8260010181905550858473ffffffffffffffffffffffffffffffffffffffff167ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b568876040518082815260200191505060405180910390a3505050505050565b600060028281548110610b6f57fe5b9060005260206000209060060201905080600201544211610b905750610d6c565b60008160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015610c1d57600080fd5b505afa158015610c31573d6000803e3d6000fd5b505050506040513d6020811015610c4757600080fd5b810190808051906020019092919050505090506000811415610c73574282600201819055505050610d6c565b8160040160009054906101000a900460ff16610cc65760018260040160006101000a81548160ff021916908315150217905550610cbf8260010154600454611c6590919063ffffffff16565b6004819055505b60006004541115610d60576000610ce18360020154426111bf565b90506000610d10600454610d02866001015485611ced90919063ffffffff16565b611d7390919063ffffffff16565b9050610d55610d4284610d34670de0b6b3a764000085611ced90919063ffffffff16565b611d7390919063ffffffff16565b8560030154611c6590919063ffffffff16565b846003018190555050505b42826002018190555050505b50565b600060028281548110610d7e57fe5b9060005260206000209060060201905060006003600084815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090506000816000015490506000826000018190555060008260010181905550610e4e33828560000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611f7b9092919063ffffffff16565b833373ffffffffffffffffffffffffffffffffffffffff167fbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae0595836040518082815260200191505060405180910390a350505050565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60055481565b3373ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610f71576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260278152602001806125996027913960400191505060405180910390fd5b6000811115610fe8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260148152602001807f6465706f7369742066656520746f6f206869676800000000000000000000000081525060200191505060405180910390fd5b610ff18461201d565b821561100057610fff61118c565b5b60055442101561103357600082141561101d57600554915061102e565b60055482101561102d5760055491505b5b61104b565b600082148061104157504282105b1561104a574291505b5b60006005548311158061105e5750428311155b905060026040518060c001604052808773ffffffffffffffffffffffffffffffffffffffff16815260200188815260200185815260200160008152602001831515815260200184815250908060018154018082558091505060019003906000526020600020906006020160009091909190915060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160010155604082015181600201556060820151816003015560808201518160040160006101000a81548160ff02191690831515021790555060a08201518160050155505080156111845761117d86600454611c6590919063ffffffff16565b6004819055505b505050505050565b6000600280549050905060005b818110156111b5576111aa81610b60565b806001019050611199565b5050565b60065481565b60008183106111d157600090506112cc565b60065482106112575760065483106111ec57600090506112cc565b600554831161122757611220600754611212600554600654611be290919063ffffffff16565b611ced90919063ffffffff16565b90506112cc565b61125060075461124285600654611be290919063ffffffff16565b611ced90919063ffffffff16565b90506112cc565b600554821161126957600090506112cc565b60055483116112a25761129b60075461128d60055485611be290919063ffffffff16565b611ced90919063ffffffff16565b90506112cc565b6112c96007546112bb8585611be290919063ffffffff16565b611ced90919063ffffffff16565b90505b92915050565b6003602052816000526040600020602052806000526040600020600091509150508060000154908060010154905082565b60085481565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60075481565b3373ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146113d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260278152602001806125996027913960400191505060405180910390fd5b806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000806002848154811061142c57fe5b9060005260206000209060060201905060006003600086815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905060008260030154905060008360000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561152657600080fd5b505afa15801561153a573d6000803e3d6000fd5b505050506040513d602081101561155057600080fd5b81019080805190602001909291905050509050836002015442118015611577575060008114155b1561160157600061158c8560020154426111bf565b905060006115bb6004546115ad886001015485611ced90919063ffffffff16565b611d7390919063ffffffff16565b90506115fc6115ed846115df670de0b6b3a764000085611ced90919063ffffffff16565b611d7390919063ffffffff16565b85611c6590919063ffffffff16565b935050505b611648836001015461163a670de0b6b3a764000061162c868860000154611ced90919063ffffffff16565b611d7390919063ffffffff16565b611be290919063ffffffff16565b94505050505092915050565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600033905060006002848154811061168e57fe5b9060005260206000209060060201905060006003600086815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090506116fb85610b60565b6000816000015411156117bb5760006117558260010154611747670de0b6b3a764000061173987600301548760000154611ced90919063ffffffff16565b611d7390919063ffffffff16565b611be290919063ffffffff16565b905060008111156117b95761176a8482611dfc565b8373ffffffffffffffffffffffffffffffffffffffff167f45da806b866bc9f8f48de85be50855976c0b4929476b01bac0435f4d9deb0efd826040518082815260200191505060405180910390a25b505b60008411156118f2576118158330868560000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612122909392919063ffffffff16565b6000611842612710611834856005015488611ced90919063ffffffff16565b611d7390919063ffffffff16565b905061186d61185a8287611be290919063ffffffff16565b8360000154611c6590919063ffffffff16565b826000018190555060008111156118f0576118ef600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16828560000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611f7b9092919063ffffffff16565b5b505b611927670de0b6b3a764000061191984600301548460000154611ced90919063ffffffff16565b611d7390919063ffffffff16565b8160010181905550848373ffffffffffffffffffffffffffffffffffffffff167f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a15866040518082815260200191505060405180910390a35050505050565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611a48576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260098152602001807f217472656173757279000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b80600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b3373ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611b30576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260278152602001806125996027913960400191505060405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff1663a9059cbb82846040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b158015611ba157600080fd5b505af1158015611bb5573d6000803e3d6000fd5b505050506040513d6020811015611bcb57600080fd5b810190808051906020019092919050505050505050565b600082821115611c5a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525060200191505060405180910390fd5b818303905092915050565b600080828401905083811015611ce3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b600080831415611d005760009050611d6d565b6000828402905082848281611d1157fe5b0414611d68576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806125c06021913960400191505060405180910390fd5b809150505b92915050565b6000808211611dea576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525060200191505060405180910390fd5b818381611df357fe5b04905092915050565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015611e8757600080fd5b505afa158015611e9b573d6000803e3d6000fd5b505050506040513d6020811015611eb157600080fd5b810190808051906020019092919050505090506000811115611f765780821115611f2757611f228382600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611f7b9092919063ffffffff16565b611f75565b611f748383600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611f7b9092919063ffffffff16565b5b5b505050565b6120188363a9059cbb60e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506121e3565b505050565b6000600280549050905060005b8181101561211d578273ffffffffffffffffffffffffffffffffffffffff166002828154811061205657fe5b906000526020600020906006020160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415612112576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f47656e65736973506f6f6c3a206578697374696e6720706f6f6c3f000000000081525060200191505060405180910390fd5b80600101905061202a565b505050565b6121dd846323b872dd60e01b858585604051602401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506121e3565b50505050565b6060612245826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166122d29092919063ffffffff16565b90506000815111156122cd5780806020019051602081101561226657600080fd5b81019080805190602001909291905050506122cc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a8152602001806125e1602a913960400191505060405180910390fd5b5b505050565b60606122e184846000856122ea565b90509392505050565b606082471015612345576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806125736026913960400191505060405180910390fd5b61234e85612493565b6123c0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000081525060200191505060405180910390fd5b600060608673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b6020831061241057805182526020820191506020810190506020830392506123ed565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114612472576040519150601f19603f3d011682016040523d82523d6000602084013e612477565b606091505b50915091506124878282866124a6565b92505050949350505050565b600080823b905060008111915050919050565b606083156124b65782905061256b565b6000835111156124c95782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015612530578082015181840152602081019050612515565b50505050905090810190601f16801561255d5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b939250505056fe416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c47656e65736973506f6f6c3a2063616c6c6572206973206e6f7420746865206f70657261746f72536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a2646970667358221220ef575c9b2b2816c0bf1fa2f3af008533691c11b56c4aa11e5ddb67cc1c67745764736f6c634300060c0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000bd3be68bcb92aa8b59b894d0811acadaeeb2136900000000000000000000000000000000000000000000000000000000634da9b4000000000000000000000000643d7f1ffd8dc0ba9a052397223228ddcb235b25
-----Decoded View---------------
Arg [0] : _mars (address): 0xbD3bE68bcb92AA8b59B894D0811ACAdAeeB21369
Arg [1] : _poolStartTime (uint256): 1666034100
Arg [2] : _treasuryFund (address): 0x643D7F1ffd8DC0BA9A052397223228DDcb235B25
-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 000000000000000000000000bd3be68bcb92aa8b59b894d0811acadaeeb21369
Arg [1] : 00000000000000000000000000000000000000000000000000000000634da9b4
Arg [2] : 000000000000000000000000643d7f1ffd8dc0ba9a052397223228ddcb235b25
Deployed Bytecode Sourcemap
22156:10753:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23044:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23289:34;;;:::i;:::-;;;;;;;;;;;;;;;;;;;26558:488;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;30897:804;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;28915:882;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;31770:375;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;22269:23;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;23374:28;;;:::i;:::-;;;;;;;;;;;;;;;;;;;24861:1394;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;28661:180;;;:::i;:::-;;23451:26;;;:::i;:::-;;;;;;;;;;;;;;;;;;;27121:651;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;23128:64;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;23538:35;;;:::i;:::-;;;;;;;;;;;;;;;;;;;22990:18;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;23486:45;;;:::i;:::-;;;;;;;;;;;;;;;;;;;32632:101;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;27835:745;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;23633:27;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;29832:1029;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;32741:163;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;26291:173;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;23044:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;23289:34::-;;;;:::o;26558:488::-;24444:10;24432:22;;:8;;;;;;;;;;:22;;;24424:74;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23617:1:::1;26666:11;:30;;26658:63;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;26732:17;:15;:17::i;:::-;26760:21;26784:8;26793:4;26784:14;;;;;;;;;;;;;;;;;;26760:38;;26813:4;:14;;;;;;;;;;;;26809:150;;;26862:85;26921:11;26862:36;26882:4;:15;;;26862;;:19;;:36;;;;:::i;:::-;:40;;:85;;;;:::i;:::-;26844:15;:103;;;;26809:150;26987:11;26969:4;:15;;:29;;;;27027:11;27009:4;:15;;:29;;;;24509:1;26558:488:::0;;;:::o;30897:804::-;30964:15;30982:10;30964:28;;31003:21;31027:8;31036:4;31027:14;;;;;;;;;;;;;;;;;;31003:38;;31052:21;31076:8;:14;31085:4;31076:14;;;;;;;;;;;:23;31091:7;31076:23;;;;;;;;;;;;;;;31052:47;;31133:7;31118:4;:11;;;:22;;31110:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31174:16;31185:4;31174:10;:16::i;:::-;31201;31220:66;31272:4;:13;;;31220:47;31262:4;31220:37;31236:4;:20;;;31220:4;:11;;;:15;;:37;;;;:::i;:::-;:41;;:47;;;;:::i;:::-;:51;;:66;;;;:::i;:::-;31201:85;;31312:1;31301:8;:12;31297:127;;;31330:35;31347:7;31356:8;31330:16;:35::i;:::-;31394:7;31385:27;;;31403:8;31385:27;;;;;;;;;;;;;;;;;;31297:127;31448:1;31438:7;:11;31434:138;;;31480:24;31496:7;31480:4;:11;;;:15;;:24;;;;:::i;:::-;31466:4;:11;;:38;;;;31519:41;31543:7;31552;31519:4;:10;;;;;;;;;;;;:23;;;;:41;;;;;:::i;:::-;31434:138;31598:47;31640:4;31598:37;31614:4;:20;;;31598:4;:11;;;:15;;:37;;;;:::i;:::-;:41;;:47;;;;:::i;:::-;31582:4;:13;;:63;;;;31679:4;31670:7;31661:32;;;31685:7;31661:32;;;;;;;;;;;;;;;;;;30897:804;;;;;;:::o;28915:882::-;28967:21;28991:8;29000:4;28991:14;;;;;;;;;;;;;;;;;;28967:38;;29039:4;:17;;;29020:15;:36;29016:75;;29073:7;;;29016:75;29101:19;29123:4;:10;;;;;;;;;;;;:20;;;29152:4;29123:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29101:57;;29188:1;29173:11;:16;29169:105;;;29226:15;29206:4;:17;;:35;;;;29256:7;;;;29169:105;29289:4;:14;;;;;;;;;;;;29284:138;;29337:4;29320;:14;;;:21;;;;;;;;;;;;;;;;;;29374:36;29394:4;:15;;;29374;;:19;;:36;;;;:::i;:::-;29356:15;:54;;;;29284:138;29454:1;29436:15;;:19;29432:312;;;29472:22;29497:52;29514:4;:17;;;29533:15;29497:16;:52::i;:::-;29472:77;;29564:13;29580:56;29620:15;;29580:35;29599:4;:15;;;29580:14;:18;;:35;;;;:::i;:::-;:39;;:56;;;;:::i;:::-;29564:72;;29674:58;29699:32;29719:11;29699:15;29709:4;29699:5;:9;;:15;;;;:::i;:::-;:19;;:32;;;;:::i;:::-;29674:4;:20;;;:24;;:58;;;;:::i;:::-;29651:4;:20;;:81;;;;29432:312;;;29774:15;29754:4;:17;;:35;;;;28915:882;;;;:::o;31770:375::-;31829:21;31853:8;31862:4;31853:14;;;;;;;;;;;;;;;;;;31829:38;;31878:21;31902:8;:14;31911:4;31902:14;;;;;;;;;;;:26;31917:10;31902:26;;;;;;;;;;;;;;;31878:50;;31939:15;31957:4;:11;;;31939:29;;31993:1;31979:4;:11;;:15;;;;32021:1;32005:4;:13;;:17;;;;32033:44;32057:10;32069:7;32033:4;:10;;;;;;;;;;;;:23;;;;:44;;;;;:::i;:::-;32123:4;32111:10;32093:44;;;32129:7;32093:44;;;;;;;;;;;;;;;;;;31770:375;;;;:::o;22269:23::-;;;;;;;;;;;;:::o;23374:28::-;;;;:::o;24861:1394::-;24444:10;24432:22;;:8;;;;;;;;;;:22;;;24424:74;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23617:1:::1;25063:11;:30;;25055:63;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;25129:26;25148:6;25129:18;:26::i;:::-;25170:11;25166:61;;;25198:17;:15;:17::i;:::-;25166:61;25259:13;;25241:15;:31;25237:520;;;25343:1;25326:13;:18;25322:235;;;25381:13;;25365:29;;25322:235;;;25455:13;;25439;:29;25435:107;;;25509:13;;25493:29;;25435:107;25322:235;25237:520;;;25642:1;25625:13;:18;:53;;;;25663:15;25647:13;:31;25625:53;25621:125;;;25715:15;25699:31;;25621:125;25237:520;25767:15;25812:13;;25795;:30;;25794:79;;;;25857:15;25840:13;:32;;25794:79;25767:106;;25884:8;25898:245;;;;;;;;25930:6;25898:245;;;;;;25964:11;25898:245;;;;26005:13;25898:245;;;;26051:1;25898:245;;;;26079:10;25898:245;;;;;;26116:11;25898:245;;::::0;25884:260:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26159:10;26155:93;;;26204:32;26224:11;26204:15;;:19;;:32;;;;:::i;:::-;26186:15;:50;;;;26155:93;24509:1;24861:1394:::0;;;;;:::o;28661:180::-;28706:14;28723:8;:15;;;;28706:32;;28754:11;28749:85;28777:6;28771:3;:12;28749:85;;;28807:15;28818:3;28807:10;:15::i;:::-;28785:5;;;;;28749:85;;;;28661:180;:::o;23451:26::-;;;;:::o;27121:651::-;27204:7;27241;27228:9;:20;27224:34;;27257:1;27250:8;;;;27224:34;27284:11;;27273:7;:22;27269:496;;27329:11;;27316:9;:24;27312:38;;27349:1;27342:8;;;;27312:38;27382:13;;27369:9;:26;27365:88;;27404:49;27439:13;;27404:30;27420:13;;27404:11;;:15;;:30;;;;:::i;:::-;:34;;:49;;;;:::i;:::-;27397:56;;;;27365:88;27475:45;27506:13;;27475:26;27491:9;27475:11;;:15;;:26;;;;:::i;:::-;:30;;:45;;;;:::i;:::-;27468:52;;;;27269:496;27568:13;;27557:7;:24;27553:38;;27590:1;27583:8;;;;27553:38;27623:13;;27610:9;:26;27606:84;;27645:45;27676:13;;27645:26;27657:13;;27645:7;:11;;:26;;;;:::i;:::-;:30;;:45;;;;:::i;:::-;27638:52;;;;27606:84;27712:41;27739:13;;27712:22;27724:9;27712:7;:11;;:22;;;;:::i;:::-;:26;;:41;;;;:::i;:::-;27705:48;;27121:651;;;;;:::o;23128:64::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;23538:35::-;;;;:::o;22990:18::-;;;;;;;;;;;;;:::o;23486:45::-;;;;:::o;32632:101::-;24444:10;24432:22;;:8;;;;;;;;;;:22;;;24424:74;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32716:9:::1;32705:8;::::0;:20:::1;;;;;;;;;;;;;;;;;;32632:101:::0;:::o;27835:745::-;27908:7;27928:21;27952:8;27961:4;27952:14;;;;;;;;;;;;;;;;;;27928:38;;27977:21;28001:8;:14;28010:4;28001:14;;;;;;;;;;;:21;28016:5;28001:21;;;;;;;;;;;;;;;27977:45;;28033:23;28059:4;:20;;;28033:46;;28090:19;28112:4;:10;;;;;;;;;;;;:20;;;28141:4;28112:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28090:57;;28180:4;:17;;;28162:15;:35;:55;;;;;28216:1;28201:11;:16;;28162:55;28158:336;;;28234:22;28259:52;28276:4;:17;;;28295:15;28259:16;:52::i;:::-;28234:77;;28326:13;28342:56;28382:15;;28342:35;28361:4;:15;;;28342:14;:18;;:35;;;;:::i;:::-;:39;;:56;;;;:::i;:::-;28326:72;;28429:53;28449:32;28469:11;28449:15;28459:4;28449:5;:9;;:15;;;;:::i;:::-;:19;;:32;;;;:::i;:::-;28429:15;:19;;:53;;;;:::i;:::-;28411:71;;28158:336;;;28511:61;28558:4;:13;;;28511:42;28548:4;28511:32;28527:15;28511:4;:11;;;:15;;:32;;;;:::i;:::-;:36;;:42;;;;:::i;:::-;:46;;:61;;;;:::i;:::-;28504:68;;;;;;27835:745;;;;:::o;23633:27::-;;;;;;;;;;;;;:::o;29832:1029::-;29898:15;29916:10;29898:28;;29937:21;29961:8;29970:4;29961:14;;;;;;;;;;;;;;;;;;29937:38;;29986:21;30010:8;:14;30019:4;30010:14;;;;;;;;;;;:23;30025:7;30010:23;;;;;;;;;;;;;;;29986:47;;30044:16;30055:4;30044:10;:16::i;:::-;30089:1;30075:4;:11;;;:15;30071:286;;;30107:16;30126:66;30178:4;:13;;;30126:47;30168:4;30126:37;30142:4;:20;;;30126:4;:11;;;:15;;:37;;;;:::i;:::-;:41;;:47;;;;:::i;:::-;:51;;:66;;;;:::i;:::-;30107:85;;30222:1;30211:8;:12;30207:139;;;30244:35;30261:7;30270:8;30244:16;:35::i;:::-;30312:7;30303:27;;;30321:8;30303:27;;;;;;;;;;;;;;;;;;30207:139;30071:286;;30381:1;30371:7;:11;30367:366;;;30399:60;30427:7;30444:4;30451:7;30399:4;:10;;;;;;;;;;;;:27;;;;:60;;;;;;:::i;:::-;30474:18;30495:39;30528:5;30495:28;30507:4;:15;;;30495:7;:11;;:28;;;;:::i;:::-;:32;;:39;;;;:::i;:::-;30474:60;;30563:40;30579:23;30591:10;30579:7;:11;;:23;;;;:::i;:::-;30563:4;:11;;;:15;;:40;;;;:::i;:::-;30549:4;:11;;:54;;;;30635:1;30622:10;:14;30618:104;;;30657:49;30681:12;;;;;;;;;;;30695:10;30657:4;:10;;;;;;;;;;;;:23;;;;:49;;;;;:::i;:::-;30618:104;30367:366;;30759:47;30801:4;30759:37;30775:4;:20;;;30759:4;:11;;;:15;;:37;;;;:::i;:::-;:41;;:47;;;;:::i;:::-;30743:4;:13;;:63;;;;30839:4;30830:7;30822:31;;;30845:7;30822:31;;;;;;;;;;;;;;;;;;29832:1029;;;;;:::o;32741:163::-;32831:12;;;;;;;;;;;32817:26;;:10;:26;;;32809:48;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32883:13;32868:12;;:28;;;;;;;;;;;;;;;;;;32741:163;:::o;26291:173::-;24444:10;24432:22;;:8;;;;;;;;;;:22;;;24424:74;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26427:6:::1;:15;;;26443:3;26448:7;26427:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;26291:173:::0;;;:::o;6099:158::-;6157:7;6190:1;6185;:6;;6177:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6248:1;6244;:5;6237:12;;6099:158;;;;:::o;5637:179::-;5695:7;5715:9;5731:1;5727;:5;5715:17;;5756:1;5751;:6;;5743:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5807:1;5800:8;;;5637:179;;;;:::o;6516:220::-;6574:7;6603:1;6598;:6;6594:20;;;6613:1;6606:8;;;;6594:20;6625:9;6641:1;6637;:5;6625:17;;6670:1;6665;6661;:5;;;;;;:10;6653:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6727:1;6720:8;;;6516:220;;;;;:::o;7214:153::-;7272:7;7304:1;7300;:5;7292:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7358:1;7354;:5;;;;;;7347:12;;7214:153;;;;:::o;32259:365::-;32335:20;32358:4;;;;;;;;;;;:14;;;32381:4;32358:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32335:52;;32417:1;32402:12;:16;32398:219;;;32449:12;32439:7;:22;32435:171;;;32482:36;32500:3;32505:12;32482:4;;;;;;;;;;;:17;;;;:36;;;;;:::i;:::-;32435:171;;;32559:31;32577:3;32582:7;32559:4;;;;;;;;;;;:17;;;;:31;;;;;:::i;:::-;32435:171;32398:219;32259:365;;;:::o;18999:177::-;19082:86;19102:5;19132:23;;;19157:2;19161:5;19109:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19082:19;:86::i;:::-;18999:177;;;:::o;24526:257::-;24594:14;24611:8;:15;;;;24594:32;;24642:11;24637:139;24665:6;24659:3;:12;24637:139;;;24726:6;24703:29;;:8;24712:3;24703:13;;;;;;;;;;;;;;;;;;:19;;;;;;;;;;;;:29;;;;24695:69;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24673:5;;;;;24637:139;;;;24526:257;;:::o;19184:205::-;19285:96;19305:5;19335:27;;;19364:4;19370:2;19374:5;19312:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19285:19;:96::i;:::-;19184:205;;;;:::o;21304:761::-;21728:23;21754:69;21782:4;21754:69;;;;;;;;;;;;;;;;;21762:5;21754:27;;;;:69;;;;;:::i;:::-;21728:95;;21858:1;21838:10;:17;:21;21834:224;;;21980:10;21969:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21961:85;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21834:224;21304:761;;;:::o;13994:195::-;14097:12;14129:52;14151:6;14159:4;14165:1;14168:12;14129:21;:52::i;:::-;14122:59;;13994:195;;;;;:::o;15046:530::-;15173:12;15231:5;15206:21;:30;;15198:81;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15298:18;15309:6;15298:10;:18::i;:::-;15290:60;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15424:12;15438:23;15465:6;:11;;15485:5;15493:4;15465:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15423:75;;;;15516:52;15534:7;15543:10;15555:12;15516:17;:52::i;:::-;15509:59;;;;15046:530;;;;;;:::o;11076:422::-;11136:4;11344:12;11455:7;11443:20;11435:28;;11489:1;11482:4;:8;11475:15;;;11076:422;;;:::o;17586:742::-;17701:12;17730:7;17726:595;;;17761:10;17754:17;;;;17726:595;17895:1;17875:10;:17;:21;17871:439;;;18138:10;18132:17;18199:15;18186:10;18182:2;18178:19;18171:44;18086:148;18281:12;18274:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17586:742;;;;;;:::o
Swarm Source
ipfs://ef575c9b2b2816c0bf1fa2f3af008533691c11b56c4aa11e5ddb67cc1c677457
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.