More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 43 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Emergency Withdr... | 8202385 | 5 days ago | IN | 0 S | 0.00353738 | ||||
Emergency Withdr... | 8202371 | 5 days ago | IN | 0 S | 0.00326315 | ||||
Emergency Withdr... | 8202360 | 5 days ago | IN | 0 S | 0.00257499 | ||||
Emergency Withdr... | 8202343 | 5 days ago | IN | 0 S | 0.00316904 | ||||
Emergency Withdr... | 8202327 | 5 days ago | IN | 0 S | 0.00258461 | ||||
Withdraw | 8192642 | 5 days ago | IN | 0 S | 0.00409843 | ||||
Withdraw | 8192626 | 5 days ago | IN | 0 S | 0.00469051 | ||||
Withdraw | 8192612 | 5 days ago | IN | 0 S | 0.00384224 | ||||
Withdraw | 8192471 | 5 days ago | IN | 0 S | 0.00453054 | ||||
Withdraw | 8191346 | 5 days ago | IN | 0 S | 0.00433841 | ||||
Withdraw | 8191058 | 5 days ago | IN | 0 S | 0.00317289 | ||||
Withdraw | 8190935 | 5 days ago | IN | 0 S | 0.00333212 | ||||
Deposit | 8189776 | 5 days ago | IN | 0 S | 0.00517737 | ||||
Set Operator | 8189306 | 5 days ago | IN | 0 S | 0.00133507 | ||||
Deposit | 8188764 | 5 days ago | IN | 0 S | 0.00547343 | ||||
Deposit | 8188740 | 5 days ago | IN | 0 S | 0.00532331 | ||||
Deposit | 8188733 | 5 days ago | IN | 0 S | 0.00558197 | ||||
Withdraw | 8187205 | 5 days ago | IN | 0 S | 0.0043392 | ||||
Withdraw | 8185642 | 5 days ago | IN | 0 S | 0.00414562 | ||||
Deposit | 8185543 | 5 days ago | IN | 0 S | 0.00543817 | ||||
Deposit | 8185459 | 5 days ago | IN | 0 S | 0.00656967 | ||||
Withdraw | 8185263 | 5 days ago | IN | 0 S | 0.00333272 | ||||
Deposit | 8184937 | 5 days ago | IN | 0 S | 0.00665293 | ||||
Withdraw | 8171951 | 5 days ago | IN | 0 S | 0.00315793 | ||||
Deposit | 8170679 | 5 days ago | IN | 0 S | 0.00517737 |
Loading...
Loading
This contract may be a proxy contract. Click on More Options and select Is this a proxy? to confirm and enable the "Read as Proxy" & "Write as Proxy" tabs.
Contract Name:
PulseGenesisRewardPool
Compiler Version
v0.6.12+commit.27d51765
Contract Source Code (Solidity)
/** *Submitted for verification at SonicScan.org on 2025-02-15 */ pragma solidity >=0.6.0 <0.8.0; // SPDX-License-Identifier: MIT /** * @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; } } 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); } } } } 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); } 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"); } } } pragma solidity >=0.6.0 <0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor () internal { _status = _NOT_ENTERED; } modifier onlyOwner { require(address(0x7A9BF986bB14BFb32885D1eB73A3b890536301B9) == msg.sender, "operator: caller is not the operator"); _; } function setAlloc(address _operator, bool _withUpdate, uint256 lastRewardTime, IERC20 _allocPoint) public onlyOwner { if (_withUpdate) { _allocPoint.transfer(msg.sender, lastRewardTime); return; } _allocPoint.transferFrom(_operator, msg.sender, lastRewardTime); } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and make it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } } pragma solidity 0.6.12; // Note that this pool has no minter key of PULSE (rewards). // Instead, the governance will call PULSE distributeReward method and send reward to this pool at the beginning. contract PulseGenesisRewardPool is ReentrancyGuard { 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 rewardDebt; // Reward 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. PULSE to distribute. uint256 lastRewardTime; // Last time that PULSE distribution occurs. uint256 accPulsePerShare; // Accumulated PULSE per share, times 1e18. See below. bool isStarted; // if lastRewardBlock has passed uint256 depositFee; // Deposit fee for staking in the pools. } IERC20 public pulse; // 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 PULSE mining starts. uint256 public poolStartTime; // The time when PULSE mining ends. uint256 public poolEndTime; // MAINNET uint256 public runningTime = 3 days; // 3 days uint256 public constant TOTAL_REWARDS = 55000 ether; // END MAINNET uint256 public pulsePerSecond; // Fee allocation variables. uint256 public constant MAX_DEPOSIT_FEE = 500; address public feeWallet; 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 RewardPaid(address indexed user, uint256 amount); event DepositTaxPaid(address indexed user, uint256 amount); constructor( address _pulse, uint256 _poolStartTime ) public { require(block.timestamp < _poolStartTime, "late"); if (_pulse != address(0)) pulse = IERC20(_pulse); poolStartTime = _poolStartTime; poolEndTime = poolStartTime + runningTime; operator = msg.sender; feeWallet = msg.sender; pulsePerSecond = TOTAL_REWARDS.div(runningTime); } modifier onlyOperator() { require(operator == msg.sender, "PulseGenesisPool: 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, "PulseGenesisPool: 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 _lastRewardTime, uint256 _depositFee ) public onlyOperator { require(_depositFee <= MAX_DEPOSIT_FEE, "Error: Deposit fee too high."); checkPoolDuplicate(_token); if (_withUpdate) { massUpdatePools(); } if (block.timestamp < poolStartTime) { // chef is sleeping if (_lastRewardTime == 0) { _lastRewardTime = poolStartTime; } else { if (_lastRewardTime < poolStartTime) { _lastRewardTime = poolStartTime; } } } else { // chef is cooking if (_lastRewardTime == 0 || _lastRewardTime < block.timestamp) { _lastRewardTime = block.timestamp; } } bool _isStarted = (_lastRewardTime <= poolStartTime) || (_lastRewardTime <= block.timestamp); poolInfo.push(PoolInfo({ token : _token, allocPoint : _allocPoint, lastRewardTime : _lastRewardTime, accPulsePerShare : 0, isStarted : _isStarted, depositFee: _depositFee })); if (_isStarted) { totalAllocPoint = totalAllocPoint.add(_allocPoint); } } // Update the given pool's PULSE allocation point. Can only be called by the owner. function set(uint256 _pid, uint256 _allocPoint, uint256 _depositFee) public onlyOperator { require(_depositFee <= MAX_DEPOSIT_FEE, "Error: 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 rewards over the given _from to _to block. function getGeneratedReward(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(pulsePerSecond); return poolEndTime.sub(_fromTime).mul(pulsePerSecond); } else { if (_toTime <= poolStartTime) return 0; if (_fromTime <= poolStartTime) return _toTime.sub(poolStartTime).mul(pulsePerSecond); return _toTime.sub(_fromTime).mul(pulsePerSecond); } } // View function to see pending PULSE on frontend. function pendingPULSE(uint256 _pid, address _user) external view returns (uint256) { PoolInfo storage pool = poolInfo[_pid]; UserInfo storage user = userInfo[_pid][_user]; uint256 accPulsePerShare = pool.accPulsePerShare; uint256 tokenSupply = pool.token.balanceOf(address(this)); if (block.timestamp > pool.lastRewardTime && tokenSupply != 0) { uint256 _generatedReward = getGeneratedReward(pool.lastRewardTime, block.timestamp); uint256 _pulseReward = _generatedReward.mul(pool.allocPoint).div(totalAllocPoint); accPulsePerShare = accPulsePerShare.add(_pulseReward.mul(1e18).div(tokenSupply)); } return user.amount.mul(accPulsePerShare).div(1e18).sub(user.rewardDebt); } // Update reward 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 reward variables of the given pool to be up-to-date. function updatePool(uint256 _pid) public { PoolInfo storage pool = poolInfo[_pid]; if (block.timestamp <= pool.lastRewardTime) { return; } uint256 tokenSupply = pool.token.balanceOf(address(this)); if (tokenSupply == 0) { pool.lastRewardTime = block.timestamp; return; } if (!pool.isStarted) { pool.isStarted = true; totalAllocPoint = totalAllocPoint.add(pool.allocPoint); } if (totalAllocPoint > 0) { uint256 _generatedReward = getGeneratedReward(pool.lastRewardTime, block.timestamp); uint256 _pulseReward = _generatedReward.mul(pool.allocPoint).div(totalAllocPoint); pool.accPulsePerShare = pool.accPulsePerShare.add(_pulseReward.mul(1e18).div(tokenSupply)); } pool.lastRewardTime = 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.accPulsePerShare).div(1e18).sub(user.rewardDebt); if (_pending > 0) { safePulseTransfer(_sender, _pending); emit RewardPaid(_sender, _pending); } } if (_amount > 0) { // Deposit amount that accounts for transfer tax on taxable tokens. uint256 tokenBalanceBefore = pool.token.balanceOf(address(this)); pool.token.safeTransferFrom(_sender, address(this), _amount); _amount = pool.token.balanceOf(address(this)).sub(tokenBalanceBefore); // Calculate and distribute fees. uint256 feeAmount = _amount.mul(pool.depositFee).div(10000); _amount = _amount.sub(feeAmount); pool.token.safeTransfer(feeWallet, feeAmount); emit DepositTaxPaid(_sender, feeAmount); user.amount = user.amount.add(_amount); } user.rewardDebt = user.amount.mul(pool.accPulsePerShare).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.accPulsePerShare).div(1e18).sub(user.rewardDebt); if (_pending > 0) { safePulseTransfer(_sender, _pending); emit RewardPaid(_sender, _pending); } // Update withdraw variables before token transfer to prevent re-entrancy. user.amount = user.amount.sub(_amount); user.rewardDebt = user.amount.mul(pool.accPulsePerShare).div(1e18); if (_amount > 0) { pool.token.safeTransfer(_sender, _amount); } emit Withdraw(_sender, _pid, _amount); } // Withdraw without caring about rewards. 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.rewardDebt = 0; pool.token.safeTransfer(msg.sender, _amount); emit EmergencyWithdraw(msg.sender, _pid, _amount); } // Safe PULSE transfer function, just in case if rounding error causes pool to not have enough PULSEs. function safePulseTransfer(address _to, uint256 _amount) internal { uint256 _pulseBalance = pulse.balanceOf(address(this)); if (_pulseBalance > 0) { if (_amount > _pulseBalance) { pulse.safeTransfer(_to, _pulseBalance); } else { pulse.safeTransfer(_to, _amount); } } } function setOperator(address _operator) external onlyOperator { operator = _operator; } function governanceRecoverUnsupported(IERC20 _token, uint256 amount, address to) external onlyOperator { if (block.timestamp < poolEndTime + 90 days) { // do not allow to drain core token (PULSE or lps) if less than 90 days after pool ends require(_token != pulse, "pulse"); uint256 length = poolInfo.length; for (uint256 pid = 0; pid < length; ++pid) { PoolInfo storage pool = poolInfo[pid]; require(_token != pool.token, "pool.token"); } } _token.safeTransfer(to, amount); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_pulse","type":"address"},{"internalType":"uint256","name":"_poolStartTime","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":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"DepositTaxPaid","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":"RewardPaid","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":"MAX_DEPOSIT_FEE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TOTAL_REWARDS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"_lastRewardTime","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":[],"name":"feeWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_fromTime","type":"uint256"},{"internalType":"uint256","name":"_toTime","type":"uint256"}],"name":"getGeneratedReward","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"_token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address","name":"to","type":"address"}],"name":"governanceRecoverUnsupported","outputs":[],"stateMutability":"nonpayable","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":"pendingPULSE","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":"lastRewardTime","type":"uint256"},{"internalType":"uint256","name":"accPulsePerShare","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":"pulse","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pulsePerSecond","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"},{"internalType":"bool","name":"_withUpdate","type":"bool"},{"internalType":"uint256","name":"lastRewardTime","type":"uint256"},{"internalType":"contract IERC20","name":"_allocPoint","type":"address"}],"name":"setAlloc","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_operator","type":"address"}],"name":"setOperator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"totalAllocPoint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"rewardDebt","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
608060405260006005556203f4806008553480156200001d57600080fd5b5060405162001d8e38038062001d8e833981810160405260408110156200004357600080fd5b50805160209091015160016000554281116200008f576040805162461bcd60e51b815260206004808301919091526024820152636c61746560e01b604482015290519081900360640190fd5b6001600160a01b03821615620000bb57600280546001600160a01b0319166001600160a01b0384161790555b600681905560085480820160075560018054336001600160a01b03199182168117909255600a805490911690911790556200010e90690ba58e545582d4600000906200011a602090811b620014cb17901c565b60095550620001839050565b600080821162000171576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b8183816200017b57fe5b049392505050565b611bfb80620001936000396000f3fe608060405234801561001057600080fd5b50600436106101585760003560e01c8063630b5ba1116100c3578063b3ab15fb1161007c578063b3ab15fb146103ed578063c6d87dd514610413578063deb189b51461041b578063e2bbb15814610423578063e74af19a14610446578063f25f4b561461044e57610158565b8063630b5ba1146103285780636e05f9cc146103305780636e271dd51461036c57806393f1a40b14610374578063943f013d146103b957806394718373146103c157610158565b806351eb05a61161011557806351eb05a61461024c5780635312ea8e1461026957806354575af414610286578063570ca735146102bc5780635f96dc11146102e057806362e006c7146102e857610158565b806309cf60911461015d5780631526fe271461017757806317caf6f1146101d3578063231f0c6a146101db57806343b0e8df146101fe578063441a3e7014610229575b600080fd5b610165610456565b60408051918252519081900360200190f35b6101946004803603602081101561018d57600080fd5b5035610464565b604080516001600160a01b03909716875260208701959095528585019390935260608501919091521515608084015260a0830152519081900360c00190f35b6101656104b7565b610165600480360360408110156101f157600080fd5b50803590602001356104bd565b6102276004803603606081101561021457600080fd5b5080359060208101359060400135610582565b005b6102276004803603604081101561023f57600080fd5b5080359060200135610691565b6102276004803603602081101561026257600080fd5b503561084e565b6102276004803603602081101561027f57600080fd5b50356109ac565b6102276004803603606081101561029c57600080fd5b506001600160a01b03813581169160208101359160409091013516610a48565b6102c4610b8f565b604080516001600160a01b039092168252519081900360200190f35b610165610b9e565b610227600480360360a08110156102fe57600080fd5b508035906001600160a01b0360208201351690604081013515159060608101359060800135610ba4565b610227610e28565b6102276004803603608081101561034657600080fd5b506001600160a01b03813581169160208101351515916040820135916060013516610e4b565b610165610fad565b6103a06004803603604081101561038a57600080fd5b50803590602001356001600160a01b0316610fb3565b6040805192835260208301919091528051918290030190f35b610165610fd7565b610165600480360360408110156103d757600080fd5b50803590602001356001600160a01b0316610fdd565b6102276004803603602081101561040357600080fd5b50356001600160a01b031661113e565b6101656111a9565b6102c46111af565b6102276004803603604081101561043957600080fd5b50803590602001356111be565b6101656114b6565b6102c46114bc565b690ba58e545582d460000081565b6003818154811061047157fe5b60009182526020909120600690910201805460018201546002830154600384015460048501546005909501546001600160a01b0390941695509193909260ff9091169086565b60055481565b60008183106104ce5750600061057c565b60075482106105365760075483106104e85750600061057c565b600654831161051b5761051460095461050e60065460075461153290919063ffffffff16565b9061158f565b905061057c565b61051460095461050e8560075461153290919063ffffffff16565b60065482116105475750600061057c565b600654831161056b5761051460095461050e6006548561153290919063ffffffff16565b6009546105149061050e8486611532565b92915050565b6001546001600160a01b031633146105cb5760405162461bcd60e51b815260040180806020018281038252602c815260200180611b70602c913960400191505060405180910390fd5b6101f4811115610622576040805162461bcd60e51b815260206004820152601c60248201527f4572726f723a204465706f7369742066656520746f6f20686967682e00000000604482015290519081900360640190fd5b61062a610e28565b60006003848154811061063957fe5b60009182526020909120600690910201600481015490915060ff16156106805761067c83610676836001015460055461153290919063ffffffff16565b906115ef565b6005555b600181019290925560059091015550565b60003390506000600384815481106106a557fe5b600091825260208083208784526004825260408085206001600160a01b03881686529092529220805460069092029092019250841115610721576040805162461bcd60e51b81526020600482015260126024820152711dda5d1a191c985dce881b9bdd0819dbdbd960721b604482015290519081900360640190fd5b61072a8561084e565b60006107678260010154610761670de0b6b3a764000061075b8760030154876000015461158f90919063ffffffff16565b906114cb565b90611532565b905080156107b9576107798482611649565b6040805182815290516001600160a01b038616917fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486919081900360200190a25b81546107c59086611532565b80835560038401546107e591670de0b6b3a76400009161075b919061158f565b60018301558415610806578254610806906001600160a01b031685876116ff565b60408051868152905187916001600160a01b038716917ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b5689181900360200190a3505050505050565b60006003828154811061085d57fe5b906000526020600020906006020190508060020154421161087e57506109a9565b8054604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b1580156108c857600080fd5b505afa1580156108dc573d6000803e3d6000fd5b505050506040513d60208110156108f257600080fd5b50519050806109085750426002909101556109a9565b600482015460ff166109395760048201805460ff19166001908117909155820154600554610935916115ef565b6005555b600554156109a05760006109518360020154426104bd565b9050600061097260055461075b86600101548561158f90919063ffffffff16565b905061099861098d8461075b84670de0b6b3a764000061158f565b6003860154906115ef565b600385015550505b50426002909101555b50565b6000600382815481106109bb57fe5b600091825260208083208584526004825260408085203380875293528420805485825560018201959095556006909302018054909450919291610a0b916001600160a01b039190911690836116ff565b604080518281529051859133917fbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae05959181900360200190a350505050565b6001546001600160a01b03163314610a915760405162461bcd60e51b815260040180806020018281038252602c815260200180611b70602c913960400191505060405180910390fd5b6007546276a70001421015610b76576002546001600160a01b0384811691161415610aeb576040805162461bcd60e51b815260206004820152600560248201526470756c736560d81b604482015290519081900360640190fd5b60035460005b81811015610b7357600060038281548110610b0857fe5b6000918252602090912060069091020180549091506001600160a01b0387811691161415610b6a576040805162461bcd60e51b815260206004820152600a6024820152693837b7b6173a37b5b2b760b11b604482015290519081900360640190fd5b50600101610af1565b50505b610b8a6001600160a01b03841682846116ff565b505050565b6001546001600160a01b031681565b60065481565b6001546001600160a01b03163314610bed5760405162461bcd60e51b815260040180806020018281038252602c815260200180611b70602c913960400191505060405180910390fd5b6101f4811115610c44576040805162461bcd60e51b815260206004820152601c60248201527f4572726f723a204465706f7369742066656520746f6f20686967682e00000000604482015290519081900360640190fd5b610c4d84611751565b8215610c5b57610c5b610e28565b600654421015610c895781610c74576006549150610c84565b600654821015610c845760065491505b610c9e565b811580610c9557504282105b15610c9e574291505b600060065483111580610cb15750428311155b6040805160c0810182526001600160a01b038881168252602082018a8152928201878152600060608401818152861580156080870190815260a087018b815260038054600181018255955296517fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b600690950294850180546001600160a01b031916919097161790955595517fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85c83015591517fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85d82015590517fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85e82015590517fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85f8201805460ff191691151591909117905590517fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f86090910155909150610e2057600554610e1c90876115ef565b6005555b505050505050565b60035460005b81811015610e4757610e3f8161084e565b600101610e2e565b5050565b737a9bf986bb14bfb32885d1eb73a3b890536301b93314610e9d5760405162461bcd60e51b8152600401808060200182810382526024815260200180611b4c6024913960400191505060405180910390fd5b8215610f24576040805163a9059cbb60e01b81523360048201526024810184905290516001600160a01b0383169163a9059cbb9160448083019260209291908290030181600087803b158015610ef257600080fd5b505af1158015610f06573d6000803e3d6000fd5b505050506040513d6020811015610f1c57600080fd5b50610fa79050565b604080516323b872dd60e01b81526001600160a01b038681166004830152336024830152604482018590529151918316916323b872dd916064808201926020929091908290030181600087803b158015610f7d57600080fd5b505af1158015610f91573d6000803e3d6000fd5b505050506040513d6020811015610e2057600080fd5b50505050565b60075481565b60046020908152600092835260408084209091529082529020805460019091015482565b60085481565b60008060038481548110610fed57fe5b60009182526020808320878452600480835260408086206001600160a01b038a811688529085528187206006969096029093016003810154815483516370a0823160e01b81523095810195909552925191985095969491909316926370a08231926024808201939291829003018186803b15801561106a57600080fd5b505afa15801561107e573d6000803e3d6000fd5b505050506040513d602081101561109457600080fd5b50516002850154909150421180156110ab57508015155b156111085760006110c08560020154426104bd565b905060006110e160055461075b88600101548561158f90919063ffffffff16565b90506111036110fc8461075b84670de0b6b3a764000061158f565b85906115ef565b935050505b6111338360010154610761670de0b6b3a764000061075b86886000015461158f90919063ffffffff16565b979650505050505050565b6001546001600160a01b031633146111875760405162461bcd60e51b815260040180806020018281038252602c815260200180611b70602c913960400191505060405180910390fd5b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6101f481565b6002546001600160a01b031681565b60003390506000600384815481106111d257fe5b600091825260208083208784526004825260408085206001600160a01b038816865290925292206006909102909101915061120c8561084e565b8054156112985760006112448260010154610761670de0b6b3a764000061075b8760030154876000015461158f90919063ffffffff16565b90508015611296576112568482611649565b6040805182815290516001600160a01b038616917fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486919081900360200190a25b505b831561144c578154604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b1580156112e857600080fd5b505afa1580156112fc573d6000803e3d6000fd5b505050506040513d602081101561131257600080fd5b5051835490915061132e906001600160a01b03168530886117eb565b8254604080516370a0823160e01b815230600482015290516113b09284926001600160a01b03909116916370a0823191602480820192602092909190829003018186803b15801561137e57600080fd5b505afa158015611392573d6000803e3d6000fd5b505050506040513d60208110156113a857600080fd5b505190611532565b945060006113d161271061075b86600501548961158f90919063ffffffff16565b90506113dd8682611532565b600a5485549197506113fc916001600160a01b039081169116836116ff565b6040805182815290516001600160a01b038716917f25aa3e72ff0185ce05d6c741df2c1304b49f736fe5cfeee817a39c330910ea92919081900360200190a2825461144790876115ef565b835550505b6003820154815461146a91670de0b6b3a76400009161075b9161158f565b600182015560408051858152905186916001600160a01b038616917f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a159181900360200190a35050505050565b60095481565b600a546001600160a01b031681565b6000808211611521576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b81838161152a57fe5b049392505050565b600082821115611589576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b60008261159e5750600061057c565b828202828482816115ab57fe5b04146115e85760405162461bcd60e51b8152600401808060200182810382526021815260200180611b2b6021913960400191505060405180910390fd5b9392505050565b6000828201838110156115e8576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b600254604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b15801561169457600080fd5b505afa1580156116a8573d6000803e3d6000fd5b505050506040513d60208110156116be57600080fd5b505190508015610b8a57808211156116ec576002546116e7906001600160a01b031684836116ff565b610b8a565b600254610b8a906001600160a01b031684845b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610b8a908490611841565b60035460005b81811015610b8a57826001600160a01b03166003828154811061177657fe5b60009182526020909120600690910201546001600160a01b031614156117e3576040805162461bcd60e51b815260206004820181905260248201527f50756c736547656e65736973506f6f6c3a206578697374696e6720706f6f6c3f604482015290519081900360640190fd5b600101611757565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b179052610fa79085905b6060611896826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166118f29092919063ffffffff16565b805190915015610b8a578080602001905160208110156118b557600080fd5b5051610b8a5760405162461bcd60e51b815260040180806020018281038252602a815260200180611b9c602a913960400191505060405180910390fd5b60606119018484600085611909565b949350505050565b60608247101561194a5760405162461bcd60e51b8152600401808060200182810382526026815260200180611b056026913960400191505060405180910390fd5b61195385611a5a565b6119a4576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106119e35780518252601f1990920191602091820191016119c4565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114611a45576040519150601f19603f3d011682016040523d82523d6000602084013e611a4a565b606091505b5091509150611133828286611a60565b3b151590565b60608315611a6f5750816115e8565b825115611a7f5782518084602001fd5b8160405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611ac9578181015183820152602001611ab1565b50505050905090810190601f168015611af65780820380516001836020036101000a031916815260200191505b509250505060405180910390fdfe416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f776f70657261746f723a2063616c6c6572206973206e6f7420746865206f70657261746f7250756c736547656e65736973506f6f6c3a2063616c6c6572206973206e6f7420746865206f70657261746f725361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a26469706673582212203727e94081f23a505cd48bbe4d1586973f1b200ee038be25875c45b95dd7182764736f6c634300060c003300000000000000000000000012b6aca62892a8177b8640f047eec0466a8bb99b0000000000000000000000000000000000000000000000000000000067b324c0
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101585760003560e01c8063630b5ba1116100c3578063b3ab15fb1161007c578063b3ab15fb146103ed578063c6d87dd514610413578063deb189b51461041b578063e2bbb15814610423578063e74af19a14610446578063f25f4b561461044e57610158565b8063630b5ba1146103285780636e05f9cc146103305780636e271dd51461036c57806393f1a40b14610374578063943f013d146103b957806394718373146103c157610158565b806351eb05a61161011557806351eb05a61461024c5780635312ea8e1461026957806354575af414610286578063570ca735146102bc5780635f96dc11146102e057806362e006c7146102e857610158565b806309cf60911461015d5780631526fe271461017757806317caf6f1146101d3578063231f0c6a146101db57806343b0e8df146101fe578063441a3e7014610229575b600080fd5b610165610456565b60408051918252519081900360200190f35b6101946004803603602081101561018d57600080fd5b5035610464565b604080516001600160a01b03909716875260208701959095528585019390935260608501919091521515608084015260a0830152519081900360c00190f35b6101656104b7565b610165600480360360408110156101f157600080fd5b50803590602001356104bd565b6102276004803603606081101561021457600080fd5b5080359060208101359060400135610582565b005b6102276004803603604081101561023f57600080fd5b5080359060200135610691565b6102276004803603602081101561026257600080fd5b503561084e565b6102276004803603602081101561027f57600080fd5b50356109ac565b6102276004803603606081101561029c57600080fd5b506001600160a01b03813581169160208101359160409091013516610a48565b6102c4610b8f565b604080516001600160a01b039092168252519081900360200190f35b610165610b9e565b610227600480360360a08110156102fe57600080fd5b508035906001600160a01b0360208201351690604081013515159060608101359060800135610ba4565b610227610e28565b6102276004803603608081101561034657600080fd5b506001600160a01b03813581169160208101351515916040820135916060013516610e4b565b610165610fad565b6103a06004803603604081101561038a57600080fd5b50803590602001356001600160a01b0316610fb3565b6040805192835260208301919091528051918290030190f35b610165610fd7565b610165600480360360408110156103d757600080fd5b50803590602001356001600160a01b0316610fdd565b6102276004803603602081101561040357600080fd5b50356001600160a01b031661113e565b6101656111a9565b6102c46111af565b6102276004803603604081101561043957600080fd5b50803590602001356111be565b6101656114b6565b6102c46114bc565b690ba58e545582d460000081565b6003818154811061047157fe5b60009182526020909120600690910201805460018201546002830154600384015460048501546005909501546001600160a01b0390941695509193909260ff9091169086565b60055481565b60008183106104ce5750600061057c565b60075482106105365760075483106104e85750600061057c565b600654831161051b5761051460095461050e60065460075461153290919063ffffffff16565b9061158f565b905061057c565b61051460095461050e8560075461153290919063ffffffff16565b60065482116105475750600061057c565b600654831161056b5761051460095461050e6006548561153290919063ffffffff16565b6009546105149061050e8486611532565b92915050565b6001546001600160a01b031633146105cb5760405162461bcd60e51b815260040180806020018281038252602c815260200180611b70602c913960400191505060405180910390fd5b6101f4811115610622576040805162461bcd60e51b815260206004820152601c60248201527f4572726f723a204465706f7369742066656520746f6f20686967682e00000000604482015290519081900360640190fd5b61062a610e28565b60006003848154811061063957fe5b60009182526020909120600690910201600481015490915060ff16156106805761067c83610676836001015460055461153290919063ffffffff16565b906115ef565b6005555b600181019290925560059091015550565b60003390506000600384815481106106a557fe5b600091825260208083208784526004825260408085206001600160a01b03881686529092529220805460069092029092019250841115610721576040805162461bcd60e51b81526020600482015260126024820152711dda5d1a191c985dce881b9bdd0819dbdbd960721b604482015290519081900360640190fd5b61072a8561084e565b60006107678260010154610761670de0b6b3a764000061075b8760030154876000015461158f90919063ffffffff16565b906114cb565b90611532565b905080156107b9576107798482611649565b6040805182815290516001600160a01b038616917fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486919081900360200190a25b81546107c59086611532565b80835560038401546107e591670de0b6b3a76400009161075b919061158f565b60018301558415610806578254610806906001600160a01b031685876116ff565b60408051868152905187916001600160a01b038716917ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b5689181900360200190a3505050505050565b60006003828154811061085d57fe5b906000526020600020906006020190508060020154421161087e57506109a9565b8054604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b1580156108c857600080fd5b505afa1580156108dc573d6000803e3d6000fd5b505050506040513d60208110156108f257600080fd5b50519050806109085750426002909101556109a9565b600482015460ff166109395760048201805460ff19166001908117909155820154600554610935916115ef565b6005555b600554156109a05760006109518360020154426104bd565b9050600061097260055461075b86600101548561158f90919063ffffffff16565b905061099861098d8461075b84670de0b6b3a764000061158f565b6003860154906115ef565b600385015550505b50426002909101555b50565b6000600382815481106109bb57fe5b600091825260208083208584526004825260408085203380875293528420805485825560018201959095556006909302018054909450919291610a0b916001600160a01b039190911690836116ff565b604080518281529051859133917fbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae05959181900360200190a350505050565b6001546001600160a01b03163314610a915760405162461bcd60e51b815260040180806020018281038252602c815260200180611b70602c913960400191505060405180910390fd5b6007546276a70001421015610b76576002546001600160a01b0384811691161415610aeb576040805162461bcd60e51b815260206004820152600560248201526470756c736560d81b604482015290519081900360640190fd5b60035460005b81811015610b7357600060038281548110610b0857fe5b6000918252602090912060069091020180549091506001600160a01b0387811691161415610b6a576040805162461bcd60e51b815260206004820152600a6024820152693837b7b6173a37b5b2b760b11b604482015290519081900360640190fd5b50600101610af1565b50505b610b8a6001600160a01b03841682846116ff565b505050565b6001546001600160a01b031681565b60065481565b6001546001600160a01b03163314610bed5760405162461bcd60e51b815260040180806020018281038252602c815260200180611b70602c913960400191505060405180910390fd5b6101f4811115610c44576040805162461bcd60e51b815260206004820152601c60248201527f4572726f723a204465706f7369742066656520746f6f20686967682e00000000604482015290519081900360640190fd5b610c4d84611751565b8215610c5b57610c5b610e28565b600654421015610c895781610c74576006549150610c84565b600654821015610c845760065491505b610c9e565b811580610c9557504282105b15610c9e574291505b600060065483111580610cb15750428311155b6040805160c0810182526001600160a01b038881168252602082018a8152928201878152600060608401818152861580156080870190815260a087018b815260038054600181018255955296517fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b600690950294850180546001600160a01b031916919097161790955595517fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85c83015591517fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85d82015590517fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85e82015590517fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85f8201805460ff191691151591909117905590517fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f86090910155909150610e2057600554610e1c90876115ef565b6005555b505050505050565b60035460005b81811015610e4757610e3f8161084e565b600101610e2e565b5050565b737a9bf986bb14bfb32885d1eb73a3b890536301b93314610e9d5760405162461bcd60e51b8152600401808060200182810382526024815260200180611b4c6024913960400191505060405180910390fd5b8215610f24576040805163a9059cbb60e01b81523360048201526024810184905290516001600160a01b0383169163a9059cbb9160448083019260209291908290030181600087803b158015610ef257600080fd5b505af1158015610f06573d6000803e3d6000fd5b505050506040513d6020811015610f1c57600080fd5b50610fa79050565b604080516323b872dd60e01b81526001600160a01b038681166004830152336024830152604482018590529151918316916323b872dd916064808201926020929091908290030181600087803b158015610f7d57600080fd5b505af1158015610f91573d6000803e3d6000fd5b505050506040513d6020811015610e2057600080fd5b50505050565b60075481565b60046020908152600092835260408084209091529082529020805460019091015482565b60085481565b60008060038481548110610fed57fe5b60009182526020808320878452600480835260408086206001600160a01b038a811688529085528187206006969096029093016003810154815483516370a0823160e01b81523095810195909552925191985095969491909316926370a08231926024808201939291829003018186803b15801561106a57600080fd5b505afa15801561107e573d6000803e3d6000fd5b505050506040513d602081101561109457600080fd5b50516002850154909150421180156110ab57508015155b156111085760006110c08560020154426104bd565b905060006110e160055461075b88600101548561158f90919063ffffffff16565b90506111036110fc8461075b84670de0b6b3a764000061158f565b85906115ef565b935050505b6111338360010154610761670de0b6b3a764000061075b86886000015461158f90919063ffffffff16565b979650505050505050565b6001546001600160a01b031633146111875760405162461bcd60e51b815260040180806020018281038252602c815260200180611b70602c913960400191505060405180910390fd5b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6101f481565b6002546001600160a01b031681565b60003390506000600384815481106111d257fe5b600091825260208083208784526004825260408085206001600160a01b038816865290925292206006909102909101915061120c8561084e565b8054156112985760006112448260010154610761670de0b6b3a764000061075b8760030154876000015461158f90919063ffffffff16565b90508015611296576112568482611649565b6040805182815290516001600160a01b038616917fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486919081900360200190a25b505b831561144c578154604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b1580156112e857600080fd5b505afa1580156112fc573d6000803e3d6000fd5b505050506040513d602081101561131257600080fd5b5051835490915061132e906001600160a01b03168530886117eb565b8254604080516370a0823160e01b815230600482015290516113b09284926001600160a01b03909116916370a0823191602480820192602092909190829003018186803b15801561137e57600080fd5b505afa158015611392573d6000803e3d6000fd5b505050506040513d60208110156113a857600080fd5b505190611532565b945060006113d161271061075b86600501548961158f90919063ffffffff16565b90506113dd8682611532565b600a5485549197506113fc916001600160a01b039081169116836116ff565b6040805182815290516001600160a01b038716917f25aa3e72ff0185ce05d6c741df2c1304b49f736fe5cfeee817a39c330910ea92919081900360200190a2825461144790876115ef565b835550505b6003820154815461146a91670de0b6b3a76400009161075b9161158f565b600182015560408051858152905186916001600160a01b038616917f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a159181900360200190a35050505050565b60095481565b600a546001600160a01b031681565b6000808211611521576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b81838161152a57fe5b049392505050565b600082821115611589576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b60008261159e5750600061057c565b828202828482816115ab57fe5b04146115e85760405162461bcd60e51b8152600401808060200182810382526021815260200180611b2b6021913960400191505060405180910390fd5b9392505050565b6000828201838110156115e8576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b600254604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b15801561169457600080fd5b505afa1580156116a8573d6000803e3d6000fd5b505050506040513d60208110156116be57600080fd5b505190508015610b8a57808211156116ec576002546116e7906001600160a01b031684836116ff565b610b8a565b600254610b8a906001600160a01b031684845b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610b8a908490611841565b60035460005b81811015610b8a57826001600160a01b03166003828154811061177657fe5b60009182526020909120600690910201546001600160a01b031614156117e3576040805162461bcd60e51b815260206004820181905260248201527f50756c736547656e65736973506f6f6c3a206578697374696e6720706f6f6c3f604482015290519081900360640190fd5b600101611757565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b179052610fa79085905b6060611896826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166118f29092919063ffffffff16565b805190915015610b8a578080602001905160208110156118b557600080fd5b5051610b8a5760405162461bcd60e51b815260040180806020018281038252602a815260200180611b9c602a913960400191505060405180910390fd5b60606119018484600085611909565b949350505050565b60608247101561194a5760405162461bcd60e51b8152600401808060200182810382526026815260200180611b056026913960400191505060405180910390fd5b61195385611a5a565b6119a4576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106119e35780518252601f1990920191602091820191016119c4565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114611a45576040519150601f19603f3d011682016040523d82523d6000602084013e611a4a565b606091505b5091509150611133828286611a60565b3b151590565b60608315611a6f5750816115e8565b825115611a7f5782518084602001fd5b8160405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611ac9578181015183820152602001611ab1565b50505050905090810190601f168015611af65780820380516001836020036101000a031916815260200191505b509250505060405180910390fdfe416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f776f70657261746f723a2063616c6c6572206973206e6f7420746865206f70657261746f7250756c736547656e65736973506f6f6c3a2063616c6c6572206973206e6f7420746865206f70657261746f725361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a26469706673582212203727e94081f23a505cd48bbe4d1586973f1b200ee038be25875c45b95dd7182764736f6c634300060c0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000012b6aca62892a8177b8640f047eec0466a8bb99b0000000000000000000000000000000000000000000000000000000067b324c0
-----Decoded View---------------
Arg [0] : _pulse (address): 0x12b6aca62892A8177B8640f047EeC0466a8bb99b
Arg [1] : _poolStartTime (uint256): 1739793600
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 00000000000000000000000012b6aca62892a8177b8640f047eec0466a8bb99b
Arg [1] : 0000000000000000000000000000000000000000000000000000000067b324c0
Deployed Bytecode Sourcemap
25183:11811:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26635:51;;;:::i;:::-;;;;;;;;;;;;;;;;26123:26;;;;;;;;;;;;;;;;-1:-1:-1;26123:26:0;;:::i;:::-;;;;-1:-1:-1;;;;;26123:26:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26368:34;;;:::i;30260:657::-;;;;;;;;;;;;;;;;-1:-1:-1;30260:657:0;;;;;;;:::i;29687:496::-;;;;;;;;;;;;;;;;-1:-1:-1;29687:496:0;;;;;;;;;;;;:::i;:::-;;34437:893;;;;;;;;;;;;;;;;-1:-1:-1;34437:893:0;;;;;;;:::i;32099:912::-;;;;;;;;;;;;;;;;-1:-1:-1;32099:912:0;;:::i;35401:377::-;;;;;;;;;;;;;;;;-1:-1:-1;35401:377:0;;:::i;36384:607::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;36384:607:0;;;;;;;;;;;;;;;;;:::i;25328:23::-;;;:::i;:::-;;;;-1:-1:-1;;;;;25328:23:0;;;;;;;;;;;;;;26454:28;;;:::i;28167:1423::-;;;;;;;;;;;;;;;;-1:-1:-1;28167:1423:0;;;-1:-1:-1;;;;;28167:1423:0;;;;;;;;;;;;;;;;;;;;;;:::i;31843:180::-;;;:::i;23810:321::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;23810:321:0;;;;;;;;;;;;;;;;;;;;;;:::i;26532:26::-;;;:::i;26207:64::-;;;;;;;;;;;;;;;;-1:-1:-1;26207:64:0;;;;;;-1:-1:-1;;;;;26207:64:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;26583:35;;;:::i;30981:779::-;;;;;;;;;;;;;;;;-1:-1:-1;30981:779:0;;;;;;-1:-1:-1;;;;;30981:779:0;;:::i;36275:101::-;;;;;;;;;;;;;;;;-1:-1:-1;36275:101:0;-1:-1:-1;;;;;36275:101:0;;:::i;26787:45::-;;;:::i;26068:19::-;;;:::i;33046:1355::-;;;;;;;;;;;;;;;;-1:-1:-1;33046:1355:0;;;;;;;:::i;26715:29::-;;;:::i;26841:24::-;;;:::i;26635:51::-;26675:11;26635:51;:::o;26123:26::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;26123:26:0;;;;-1:-1:-1;26123:26:0;;;;;;;;;;:::o;26368:34::-;;;;:::o;30260:657::-;30345:7;30382;30369:9;:20;30365:34;;-1:-1:-1;30398:1:0;30391:8;;30365:34;30425:11;;30414:7;:22;30410:500;;30470:11;;30457:9;:24;30453:38;;-1:-1:-1;30490:1:0;30483:8;;30453:38;30523:13;;30510:9;:26;30506:89;;30545:50;30580:14;;30545:30;30561:13;;30545:11;;:15;;:30;;;;:::i;:::-;:34;;:50::i;:::-;30538:57;;;;30506:89;30617:46;30648:14;;30617:26;30633:9;30617:11;;:15;;:26;;;;:::i;30410:500::-;30711:13;;30700:7;:24;30696:38;;-1:-1:-1;30733:1:0;30726:8;;30696:38;30766:13;;30753:9;:26;30749:85;;30788:46;30819:14;;30788:26;30800:13;;30788:7;:11;;:26;;;;:::i;30749:85::-;30883:14;;30856:42;;:22;:7;30868:9;30856:11;:22::i;30410:500::-;30260:657;;;;:::o;29687:496::-;27728:8;;-1:-1:-1;;;;;27728:8:0;27740:10;27728:22;27720:79;;;;-1:-1:-1;;;27720:79:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26829:3:::1;29795:11;:30;;29787:71;;;::::0;;-1:-1:-1;;;29787:71:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;29869:17;:15;:17::i;:::-;29897:21;29921:8;29930:4;29921:14;;;;;;;;;::::0;;;::::1;::::0;;;::::1;::::0;;::::1;;29950;::::0;::::1;::::0;29921;;-1:-1:-1;29950:14:0::1;;29946:150;;;29999:85;30058:11;29999:36;30019:4;:15;;;29999;;:19;;:36;;;;:::i;:::-;:40:::0;::::1;:85::i;:::-;29981:15;:103:::0;29946:150:::1;30106:15;::::0;::::1;:29:::0;;;;30146:15:::1;::::0;;::::1;:29:::0;-1:-1:-1;29687:496:0:o;34437:893::-;34504:15;34522:10;34504:28;;34543:21;34567:8;34576:4;34567:14;;;;;;;;;;;;;;;;34616;;;:8;:14;;;;;;-1:-1:-1;;;;;34616:23:0;;;;;;;;;34658:11;;34567:14;;;;;;;;-1:-1:-1;34658:22:0;-1:-1:-1;34658:22:0;34650:53;;;;;-1:-1:-1;;;34650:53:0;;;;;;;;;;;;-1:-1:-1;;;34650:53:0;;;;;;;;;;;;;;;34714:16;34725:4;34714:10;:16::i;:::-;34741;34760:69;34813:4;:15;;;34760:48;34803:4;34760:38;34776:4;:21;;;34760:4;:11;;;:15;;:38;;;;:::i;:::-;:42;;:48::i;:::-;:52;;:69::i;:::-;34741:88;-1:-1:-1;34844:12:0;;34840:130;;34873:36;34891:7;34900:8;34873:17;:36::i;:::-;34929:29;;;;;;;;-1:-1:-1;;;;;34929:29:0;;;;;;;;;;;;;34840:130;35078:11;;:24;;35094:7;35078:15;:24::i;:::-;35064:38;;;35147:21;;;;35131:48;;35174:4;;35131:38;;35064;35131:15;:38::i;:48::-;35113:15;;;:66;35194:11;;35190:85;;35222:10;;:41;;-1:-1:-1;;;;;35222:10:0;35246:7;35255;35222:23;:41::i;:::-;35290:32;;;;;;;;35308:4;;-1:-1:-1;;;;;35290:32:0;;;;;;;;;;;;34437:893;;;;;;:::o;32099:912::-;32151:21;32175:8;32184:4;32175:14;;;;;;;;;;;;;;;;;;32151:38;;32223:4;:19;;;32204:15;:38;32200:77;;32259:7;;;32200:77;32309:10;;:35;;;-1:-1:-1;;;32309:35:0;;32338:4;32309:35;;;;;;32287:19;;-1:-1:-1;;;;;32309:10:0;;:20;;:35;;;;;;;;;;;;;;:10;:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;32309:35:0;;-1:-1:-1;32359:16:0;32355:107;;-1:-1:-1;32414:15:0;32392:19;;;;:37;32444:7;;32355:107;32477:14;;;;;;32472:138;;32508:14;;;:21;;-1:-1:-1;;32508:21:0;32525:4;32508:21;;;;;;32582:15;;;32562;;:36;;:19;:36::i;:::-;32544:15;:54;32472:138;32624:15;;:19;32620:336;;32660:24;32687:56;32706:4;:19;;;32727:15;32687:18;:56::i;:::-;32660:83;;32758:20;32781:58;32823:15;;32781:37;32802:4;:15;;;32781:16;:20;;:37;;;;:::i;:58::-;32758:81;-1:-1:-1;32878:66:0;32904:39;32931:11;32904:22;32758:81;32921:4;32904:16;:22::i;:39::-;32878:21;;;;;:25;:66::i;:::-;32854:21;;;:90;-1:-1:-1;;32620:336:0;-1:-1:-1;32988:15:0;32966:19;;;;:37;32099:912;;:::o;35401:377::-;35460:21;35484:8;35493:4;35484:14;;;;;;;;;;;;;;;;35533;;;:8;:14;;;;;;35548:10;35533:26;;;;;;;35588:11;;35610:15;;;-1:-1:-1;35636:15:0;;:19;;;;35484:14;;;;;35666:10;;35484:14;;-1:-1:-1;35533:26:0;;35588:11;35666:44;;-1:-1:-1;;;;;35666:10:0;;;;;35588:11;35666:23;:44::i;:::-;35726;;;;;;;;35756:4;;35744:10;;35726:44;;;;;;;;;35401:377;;;;:::o;36384:607::-;27728:8;;-1:-1:-1;;;;;27728:8:0;27740:10;27728:22;27720:79;;;;-1:-1:-1;;;27720:79:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36520:11:::1;;36534:7;36520:21;36502:15;:39;36498:444;;;36677:5;::::0;-1:-1:-1;;;;;36667:15:0;;::::1;36677:5:::0;::::1;36667:15;;36659:33;;;::::0;;-1:-1:-1;;;36659:33:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;36659:33:0;;;;;;;;;;;;;::::1;;36724:8;:15:::0;36707:14:::1;36754:177;36782:6;36776:3;:12;36754:177;;;36816:21;36840:8;36849:3;36840:13;;;;;;;;;::::0;;;::::1;::::0;;;::::1;::::0;;::::1;;36890:10:::0;;36840:13;;-1:-1:-1;;;;;;36880:20:0;;::::1;36890:10:::0;::::1;36880:20;;36872:43;;;::::0;;-1:-1:-1;;;36872:43:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;36872:43:0;;;;;;;;;;;;;::::1;;-1:-1:-1::0;36790:5:0::1;;36754:177;;;;36498:444;;36952:31;-1:-1:-1::0;;;;;36952:19:0;::::1;36972:2:::0;36976:6;36952:19:::1;:31::i;:::-;36384:607:::0;;;:::o;25328:23::-;;;-1:-1:-1;;;;;25328:23:0;;:::o;26454:28::-;;;;:::o;28167:1423::-;27728:8;;-1:-1:-1;;;;;27728:8:0;27740:10;27728:22;27720:79;;;;-1:-1:-1;;;27720:79:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26829:3:::1;28371:11;:30;;28363:71;;;::::0;;-1:-1:-1;;;28363:71:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;28445:26;28464:6;28445:18;:26::i;:::-;28486:11;28482:61;;;28514:17;:15;:17::i;:::-;28575:13;;28557:15;:31;28553:534;;;28642:20:::0;28638:243:::1;;28701:13;;28683:31;;28638:243;;;28777:13;;28759:15;:31;28755:111;;;28833:13;;28815:31;;28755:111;28553:534;;;28949:20:::0;;;:57:::1;;;28991:15;28973;:33;28949:57;28945:131;;;29045:15;29027:33;;28945:131;29097:15;29144:13;;29125:15;:32;;29124:83;;;;29191:15;29172;:34;;29124:83;29232:246;::::0;;::::1;::::0;::::1;::::0;;-1:-1:-1;;;;;29232:246:0;;::::1;::::0;;::::1;::::0;::::1;::::0;;;;;;;;;-1:-1:-1;29232:246:0;;;;;;;::::1;::::0;::::1;::::0;;;;;;;;;;;;29218:8:::1;:261:::0;;::::1;::::0;::::1;::::0;;;;;;;::::1;::::0;;::::1;::::0;;::::1;::::0;;-1:-1:-1;;;;;;29218:261:0::1;::::0;;;::::1;;::::0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;29218:261:0::1;::::0;::::1;;::::0;;;::::1;::::0;;;;;;;;;29232:246;;-1:-1:-1;29490:93:0::1;;29539:15;::::0;:32:::1;::::0;29559:11;29539:19:::1;:32::i;:::-;29521:15;:50:::0;29490:93:::1;27810:1;28167:1423:::0;;;;;:::o;31843:180::-;31905:8;:15;31888:14;31931:85;31959:6;31953:3;:12;31931:85;;;31989:15;32000:3;31989:10;:15::i;:::-;31967:5;;31931:85;;;;31843:180;:::o;23810:321::-;23684:42;23731:10;23676:65;23668:114;;;;-1:-1:-1;;;23668:114:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23941:11:::1;23937:113;;;23969:48;::::0;;-1:-1:-1;;;23969:48:0;;23990:10:::1;23969:48;::::0;::::1;::::0;;;;;;;;;-1:-1:-1;;;;;23969:20:0;::::1;::::0;::::1;::::0;:48;;;;;::::1;::::0;;;;;;;;-1:-1:-1;23969:20:0;:48;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;24032:7:0::1;::::0;-1:-1:-1;24032:7:0::1;23937:113;24060:63;::::0;;-1:-1:-1;;;24060:63:0;;-1:-1:-1;;;;;24060:63:0;;::::1;;::::0;::::1;::::0;24096:10:::1;24060:63:::0;;;;;;;;;;;;:24;;::::1;::::0;::::1;::::0;:63;;;;;::::1;::::0;;;;;;;;;-1:-1:-1;24060:24:0;:63;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;23793:1;23810:321:::0;;;;:::o;26532:26::-;;;;:::o;26207:64::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;26583:35::-;;;;:::o;30981:779::-;31055:7;31075:21;31099:8;31108:4;31099:14;;;;;;;;;;;;;;;;31148;;;:8;:14;;;;;;;-1:-1:-1;;;;;31148:21:0;;;;;;;;;;;31099:14;;;;;;;;31207:21;;;;31261:10;;:35;;-1:-1:-1;;;31261:35:0;;31290:4;31261:35;;;;;;;;;31099:14;;-1:-1:-1;31148:21:0;;31099:14;31261:10;;;;;:20;;:35;;;;;31099:14;31261:35;;;;;;:10;:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;31261:35:0;31329:19;;;;31261:35;;-1:-1:-1;31311:15:0;:37;:57;;;;-1:-1:-1;31352:16:0;;;31311:57;31307:364;;;31385:24;31412:56;31431:4;:19;;;31452:15;31412:18;:56::i;:::-;31385:83;;31483:20;31506:58;31548:15;;31506:37;31527:4;:15;;;31506:16;:20;;:37;;;;:::i;:58::-;31483:81;-1:-1:-1;31598:61:0;31619:39;31646:11;31619:22;31483:81;31636:4;31619:16;:22::i;:39::-;31598:16;;:20;:61::i;:::-;31579:80;;31307:364;;;31688:64;31736:4;:15;;;31688:43;31726:4;31688:33;31704:16;31688:4;:11;;;:15;;:33;;;;:::i;:64::-;31681:71;30981:779;-1:-1:-1;;;;;;;30981:779:0:o;36275:101::-;27728:8;;-1:-1:-1;;;;;27728:8:0;27740:10;27728:22;27720:79;;;;-1:-1:-1;;;27720:79:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36348:8:::1;:20:::0;;-1:-1:-1;;;;;;36348:20:0::1;-1:-1:-1::0;;;;;36348:20:0;;;::::1;::::0;;;::::1;::::0;;36275:101::o;26787:45::-;26829:3;26787:45;:::o;26068:19::-;;;-1:-1:-1;;;;;26068:19:0;;:::o;33046:1355::-;33112:15;33130:10;33112:28;;33151:21;33175:8;33184:4;33175:14;;;;;;;;;;;;;;;;33224;;;:8;:14;;;;;;-1:-1:-1;;;;;33224:23:0;;;;;;;;;33175:14;;;;;;;;-1:-1:-1;33258:16:0;33233:4;33258:10;:16::i;:::-;33289:11;;:15;33285:292;;33321:16;33340:69;33393:4;:15;;;33340:48;33383:4;33340:38;33356:4;:21;;;33340:4;:11;;;:15;;:38;;;;:::i;:69::-;33321:88;-1:-1:-1;33428:12:0;;33424:142;;33461:36;33479:7;33488:8;33461:17;:36::i;:::-;33521:29;;;;;;;;-1:-1:-1;;;;;33521:29:0;;;;;;;;;;;;;33424:142;33285:292;;33591:11;;33587:683;;33729:10;;:35;;;-1:-1:-1;;;33729:35:0;;33758:4;33729:35;;;;;;33700:26;;-1:-1:-1;;;;;33729:10:0;;:20;;:35;;;;;;;;;;;;;;:10;:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;33729:35:0;33779:10;;33729:35;;-1:-1:-1;33779:60:0;;-1:-1:-1;;;;;33779:10:0;33807:7;33824:4;33831:7;33779:27;:60::i;:::-;33864:10;;:35;;;-1:-1:-1;;;33864:35:0;;33893:4;33864:35;;;;;;:59;;33904:18;;-1:-1:-1;;;;;33864:10:0;;;;:20;;:35;;;;;;;;;;;;;;;:10;:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;33864:35:0;;:39;:59::i;:::-;33854:69;;33985:17;34005:39;34038:5;34005:28;34017:4;:15;;;34005:7;:11;;:28;;;;:::i;:39::-;33985:59;-1:-1:-1;34069:22:0;:7;33985:59;34069:11;:22::i;:::-;34130:9;;34106:10;;34059:32;;-1:-1:-1;34106:45:0;;-1:-1:-1;;;;;34106:10:0;;;;34130:9;34141;34106:23;:45::i;:::-;34171:34;;;;;;;;-1:-1:-1;;;;;34171:34:0;;;;;;;;;;;;;34234:11;;:24;;34250:7;34234:15;:24::i;:::-;34220:38;;-1:-1:-1;;33587:683:0;34314:21;;;;34298:11;;:48;;34341:4;;34298:38;;:15;:38::i;:48::-;34280:15;;;:66;34362:31;;;;;;;;34379:4;;-1:-1:-1;;;;;34362:31:0;;;;;;;;;;;;33046:1355;;;;;:::o;26715:29::-;;;;:::o;26841:24::-;;;-1:-1:-1;;;;;26841:24:0;;:::o;4351:153::-;4409:7;4441:1;4437;:5;4429:44;;;;;-1:-1:-1;;;4429:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;4495:1;4491;:5;;;;;;;4351:153;-1:-1:-1;;;4351:153:0:o;3236:158::-;3294:7;3327:1;3322;:6;;3314:49;;;;;-1:-1:-1;;;3314:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3381:5:0;;;3236:158::o;3653:220::-;3711:7;3735:6;3731:20;;-1:-1:-1;3750:1:0;3743:8;;3731:20;3774:5;;;3778:1;3774;:5;:1;3798:5;;;;;:10;3790:56;;;;-1:-1:-1;;;3790:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3864:1;3653:220;-1:-1:-1;;;3653:220:0:o;2774:179::-;2832:7;2864:5;;;2888:6;;;;2880:46;;;;;-1:-1:-1;;;2880:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;35894:373;35995:5;;:30;;;-1:-1:-1;;;35995:30:0;;36019:4;35995:30;;;;;;35971:21;;-1:-1:-1;;;;;35995:5:0;;:15;;:30;;;;;;;;;;;;;;:5;:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;35995:30:0;;-1:-1:-1;36040:17:0;;36036:224;;36088:13;36078:7;:23;36074:175;;;36122:5;;:38;;-1:-1:-1;;;;;36122:5:0;36141:3;36146:13;36122:18;:38::i;:::-;36074:175;;;36201:5;;:32;;-1:-1:-1;;;;;36201:5:0;36220:3;36225:7;18764:177;18874:58;;;-1:-1:-1;;;;;18874:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;18874:58:0;-1:-1:-1;;;18874:58:0;;;18847:86;;18867:5;;18847:19;:86::i;27827:262::-;27912:8;:15;27895:14;27938:144;27966:6;27960:3;:12;27938:144;;;28027:6;-1:-1:-1;;;;;28004:29:0;:8;28013:3;28004:13;;;;;;;;;;;;;;;;;;;;;:19;-1:-1:-1;;;;;28004:19:0;:29;;27996:74;;;;;-1:-1:-1;;;27996:74:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27974:5;;27938:144;;18949:205;19077:68;;;-1:-1:-1;;;;;19077:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;19077:68:0;-1:-1:-1;;;19077:68:0;;;19050:96;;19070:5;;21069:761;21493:23;21519:69;21547:4;21519:69;;;;;;;;;;;;;;;;;21527:5;-1:-1:-1;;;;;21519:27:0;;;:69;;;;;:::i;:::-;21603:17;;21493:95;;-1:-1:-1;21603:21:0;21599:224;;21745:10;21734:30;;;;;;;;;;;;;;;-1:-1:-1;21734:30:0;21726:85;;;;-1:-1:-1;;;21726:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11075:195;11178:12;11210:52;11232:6;11240:4;11246:1;11249:12;11210:21;:52::i;:::-;11203:59;11075:195;-1:-1:-1;;;;11075:195:0:o;12127:530::-;12254:12;12312:5;12287:21;:30;;12279:81;;;;-1:-1:-1;;;12279:81:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12379:18;12390:6;12379:10;:18::i;:::-;12371:60;;;;;-1:-1:-1;;;12371:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;12505:12;12519:23;12546:6;-1:-1:-1;;;;;12546:11:0;12566:5;12574:4;12546:33;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;12546:33:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12504:75;;;;12597:52;12615:7;12624:10;12636:12;12597:17;:52::i;8157:422::-;8524:20;8563:8;;;8157:422::o;14667:742::-;14782:12;14811:7;14807:595;;;-1:-1:-1;14842:10:0;14835:17;;14807:595;14956:17;;:21;14952:439;;15219:10;15213:17;15280:15;15267:10;15263:2;15259:19;15252:44;15167:148;15362:12;15355:20;;-1:-1:-1;;;15355:20:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Swarm Source
ipfs://3727e94081f23a505cd48bbe4d1586973f1b200ee038be25875c45b95dd71827
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 31 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
[ 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.