Source Code
Latest 25 from a total of 16,453 transactions
| Transaction Hash |
|
Block
|
From
|
To
|
|||||
|---|---|---|---|---|---|---|---|---|---|
| Withdraw | 3265707 | 1030 days ago | IN | 0 GLMR | 0.0128337 | ||||
| Withdraw | 2585748 | 1127 days ago | IN | 0 GLMR | 0.0089189 | ||||
| Withdraw | 2585746 | 1127 days ago | IN | 0 GLMR | 0.00954769 | ||||
| Withdraw | 2585745 | 1127 days ago | IN | 0 GLMR | 0.00891626 | ||||
| Withdraw | 2559396 | 1131 days ago | IN | 0 GLMR | 0.01065455 | ||||
| Withdraw | 2493570 | 1140 days ago | IN | 0 GLMR | 0.01065455 | ||||
| Withdraw | 2469211 | 1144 days ago | IN | 0 GLMR | 0.01065455 | ||||
| Withdraw | 2461571 | 1145 days ago | IN | 0 GLMR | 0.00891839 | ||||
| Withdraw | 2461570 | 1145 days ago | IN | 0 GLMR | 0.01065455 | ||||
| Withdraw | 2366320 | 1158 days ago | IN | 0 GLMR | 0.01065455 | ||||
| Withdraw | 2297372 | 1168 days ago | IN | 0 GLMR | 0.00749739 | ||||
| Withdraw | 2297370 | 1168 days ago | IN | 0 GLMR | 0.0074979 | ||||
| Withdraw | 2091546 | 1197 days ago | IN | 0 GLMR | 0.00951775 | ||||
| Withdraw | 2006285 | 1209 days ago | IN | 0 GLMR | 0.0074979 | ||||
| Withdraw | 2006284 | 1209 days ago | IN | 0 GLMR | 0.00951724 | ||||
| Withdraw | 1924048 | 1221 days ago | IN | 0 GLMR | 0.00951775 | ||||
| Withdraw | 1881652 | 1227 days ago | IN | 0 GLMR | 0.00951775 | ||||
| Withdraw | 1846738 | 1232 days ago | IN | 0 GLMR | 0.04916593 | ||||
| Withdraw | 1846733 | 1232 days ago | IN | 0 GLMR | 0.0075299 | ||||
| Withdraw | 1846727 | 1232 days ago | IN | 0 GLMR | 0.00749526 | ||||
| Withdraw | 1845811 | 1232 days ago | IN | 0 GLMR | 0.00951775 | ||||
| Withdraw | 1770632 | 1243 days ago | IN | 0 GLMR | 0.0058468 | ||||
| Withdraw | 1750758 | 1246 days ago | IN | 0 GLMR | 0.00951775 | ||||
| Deposit | 1729752 | 1249 days ago | IN | 0 GLMR | 0.00698797 | ||||
| Deposit | 1729744 | 1249 days ago | IN | 0 GLMR | 0.01083126 |
View more zero value Internal Transactions in Advanced View mode
Cross-Chain Transactions
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:
GShareRewardPool
Compiler Version
v0.8.4+commit.c7e474f2
Contract Source Code (Solidity)
/** *Submitted for verification at moonbeam.moonscan.io on 2022-02-07 */ // Sources flattened with hardhat v2.8.3 https://hardhat.org // File @openzeppelin/contracts/token/ERC20/[email protected] // SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/IERC20.sol) pragma solidity ^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/utils/[email protected] // OpenZeppelin Contracts v4.4.1 (utils/Address.sol) pragma solidity ^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; 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"); (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"); (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"); (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"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal 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 assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // File @openzeppelin/contracts/token/ERC20/utils/[email protected] // OpenZeppelin Contracts v4.4.1 (token/ERC20/utils/SafeERC20.sol) pragma solidity ^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 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' 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) + value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } function safeDecreaseAllowance( IERC20 token, address spender, uint256 value ) internal { unchecked { uint256 oldAllowance = token.allowance(address(this), spender); require(oldAllowance >= value, "SafeERC20: decreased allowance below zero"); uint256 newAllowance = oldAllowance - value; _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 require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } } // File @openzeppelin/contracts/utils/math/[email protected] // OpenZeppelin Contracts v4.4.1 (utils/math/SafeMath.sol) pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ 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) { unchecked { 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) { unchecked { 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) { unchecked { // 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) { unchecked { 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) { unchecked { 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) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return 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) { return a * b; } /** * @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. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { 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) { 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) { unchecked { 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. * * 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) { unchecked { 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) { unchecked { require(b > 0, errorMessage); return a % b; } } } // File contracts/distribution/GShareRewardPool.sol pragma solidity ^0.8.0; // Note that this pool has no minter key of gSHARE (rewards). // Instead, the governance will call gSHARE distributeReward method and send reward to this pool at the beginning. contract GShareRewardPool { using SafeMath for uint256; using SafeERC20 for IERC20; // governance address public operator; // Info of each user. struct UserInfo { uint256 amount; // How many LP 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. gSHAREs to distribute per block. uint256 lastRewardTime; // Last time that gSHAREs distribution occurs. uint256 accGSharePerShare; // Accumulated gSHAREs per share, times 1e18. See below. bool isStarted; // if lastRewardTime has passed } IERC20 public gshare; // 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 gSHARE mining starts. uint256 public poolStartTime; // The time when gSHARE mining ends. uint256 public poolEndTime; uint256 public gSharePerSecond = 0.00186122 ether; // 59500 gshare / (370 days * 24h * 60min * 60s) uint256 public runningTime = 370 days; // 370 days uint256 public constant TOTAL_REWARDS = 59500 ether; 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); constructor( address _gshare, uint256 _poolStartTime ) { require(block.timestamp < _poolStartTime, "late"); if (_gshare != address(0)) gshare = IERC20(_gshare); poolStartTime = _poolStartTime; poolEndTime = poolStartTime + runningTime; operator = msg.sender; } modifier onlyOperator() { require(operator == msg.sender, "GShareRewardPool: 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, "GShareRewardPool: existing pool?"); } } // Add a new lp to the pool. Can only be called by the owner. function add( uint256 _allocPoint, IERC20 _token, bool _withUpdate, uint256 _lastRewardTime ) public onlyOperator { 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, accGSharePerShare : 0, isStarted : _isStarted })); if (_isStarted) { totalAllocPoint = totalAllocPoint.add(_allocPoint); } } // Update the given pool's gSHARE allocation point. Can only be called by the owner. function set(uint256 _pid, uint256 _allocPoint) public onlyOperator { massUpdatePools(); PoolInfo storage pool = poolInfo[_pid]; if (pool.isStarted) { totalAllocPoint = totalAllocPoint.sub(pool.allocPoint).add( _allocPoint ); } pool.allocPoint = _allocPoint; } // 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(gSharePerSecond); return poolEndTime.sub(_fromTime).mul(gSharePerSecond); } else { if (_toTime <= poolStartTime) return 0; if (_fromTime <= poolStartTime) return _toTime.sub(poolStartTime).mul(gSharePerSecond); return _toTime.sub(_fromTime).mul(gSharePerSecond); } } // View function to see pending gSHAREs on frontend. function pendingShare(uint256 _pid, address _user) external view returns (uint256) { PoolInfo storage pool = poolInfo[_pid]; UserInfo storage user = userInfo[_pid][_user]; uint256 accGSharePerShare = pool.accGSharePerShare; uint256 tokenSupply = pool.token.balanceOf(address(this)); if (block.timestamp > pool.lastRewardTime && tokenSupply != 0) { uint256 _generatedReward = getGeneratedReward(pool.lastRewardTime, block.timestamp); uint256 _gshareReward = _generatedReward.mul(pool.allocPoint).div(totalAllocPoint); accGSharePerShare = accGSharePerShare.add(_gshareReward.mul(1e18).div(tokenSupply)); } return user.amount.mul(accGSharePerShare).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 _gshareReward = _generatedReward.mul(pool.allocPoint).div(totalAllocPoint); pool.accGSharePerShare = pool.accGSharePerShare.add(_gshareReward.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.accGSharePerShare).div(1e18).sub(user.rewardDebt); if (_pending > 0) { safeGShareTransfer(_sender, _pending); emit RewardPaid(_sender, _pending); } } if (_amount > 0) { pool.token.safeTransferFrom(_sender, address(this), _amount); user.amount = user.amount.add(_amount); } user.rewardDebt = user.amount.mul(pool.accGSharePerShare).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.accGSharePerShare).div(1e18).sub(user.rewardDebt); if (_pending > 0) { safeGShareTransfer(_sender, _pending); emit RewardPaid(_sender, _pending); } if (_amount > 0) { user.amount = user.amount.sub(_amount); pool.token.safeTransfer(_sender, _amount); } user.rewardDebt = user.amount.mul(pool.accGSharePerShare).div(1e18); 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 gshare transfer function, just in case if rounding error causes pool to not have enough gSHAREs. function safeGShareTransfer(address _to, uint256 _amount) internal { uint256 _gshareBal = gshare.balanceOf(address(this)); if (_gshareBal > 0) { if (_amount > _gshareBal) { gshare.safeTransfer(_to, _gshareBal); } else { gshare.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 (gSHARE or lps) if less than 90 days after pool ends require(_token != gshare, "gshare"); 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
Contract ABI
API[{"inputs":[{"internalType":"address","name":"_gshare","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":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":"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"}],"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":"gSharePerSecond","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"gshare","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"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":"pendingShare","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":"accGSharePerShare","type":"uint256"},{"internalType":"bool","name":"isStarted","type":"bool"}],"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"}],"name":"set","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
6080604052600060045566069cc50cf2e8006007556301e7cb006008553480156200002957600080fd5b5060405162001841380380620018418339810160408190526200004c91620000ec565b8042106200008f5760405162461bcd60e51b815260040162000086906020808252600490820152636c61746560e01b604082015260600190565b60405180910390fd5b6001600160a01b03821615620000bb57600180546001600160a01b0319166001600160a01b0384161790555b6005819055600854620000cf908262000126565b6006555050600080546001600160a01b031916331790556200014b565b60008060408385031215620000ff578182fd5b82516001600160a01b038116811462000116578283fd5b6020939093015192949293505050565b600082198211156200014657634e487b7160e01b81526011600452602481fd5b500190565b6116e6806200015b6000396000f3fe608060405234801561001057600080fd5b50600436106101375760003560e01c8063570ca735116100b8578063943f013d1161007c578063943f013d146102b957806396805e54146102c2578063a5790f4b146102d5578063b3ab15fb146102e8578063cf4b55cb146102fb578063e2bbb1581461030e57600080fd5b8063570ca7351461022d5780635f96dc1114610258578063630b5ba1146102615780636e271dd51461026957806393f1a40b1461027257600080fd5b8063441a3e70116100ff578063441a3e70146101d8578063493ff4d3146101eb57806351eb05a6146101f45780635312ea8e1461020757806354575af41461021a57600080fd5b806309cf60911461013c5780631526fe271461016057806317caf6f1146101a75780631ab06ee5146101b0578063231f0c6a146101c5575b600080fd5b61014d690c99805fe37d3e30000081565b6040519081526020015b60405180910390f35b61017361016e36600461145d565b610321565b604080516001600160a01b03909616865260208601949094529284019190915260608301521515608082015260a001610157565b61014d60045481565b6101c36101be366004611503565b61036f565b005b61014d6101d3366004611503565b61041b565b6101c36101e6366004611503565b6104e0565b61014d60075481565b6101c361020236600461145d565b6106b0565b6101c361021536600461145d565b610822565b6101c361022836600461141c565b6108d2565b600054610240906001600160a01b031681565b6040516001600160a01b039091168152602001610157565b61014d60055481565b6101c3610a15565b61014d60065481565b6102a461028036600461148d565b60036020908152600092835260408084209091529082529020805460019091015482565b60408051928352602083019190915201610157565b61014d60085481565b6101c36102d03660046114bc565b610a40565b600154610240906001600160a01b031681565b6101c36102f63660046113e4565b610c1e565b61014d61030936600461148d565b610c6a565b6101c361031c366004611503565b610de3565b6002818154811061033157600080fd5b6000918252602090912060059091020180546001820154600283015460038401546004909401546001600160a01b0390931694509092909160ff1685565b6000546001600160a01b031633146103a25760405162461bcd60e51b815260040161039990611573565b60405180910390fd5b6103aa610a15565b6000600283815481106103cd57634e487b7160e01b600052603260045260246000fd5b60009182526020909120600590910201600481015490915060ff1615610414576104108261040a8360010154600454610f6b90919063ffffffff16565b90610f7e565b6004555b6001015550565b600081831061042c575060006104da565b6006548210610494576006548310610446575060006104da565b60055483116104795761047260075461046c600554600654610f6b90919063ffffffff16565b90610f8a565b90506104da565b61047260075461046c85600654610f6b90919063ffffffff16565b60055482116104a5575060006104da565b60055483116104c95761047260075461046c60055485610f6b90919063ffffffff16565b6007546104729061046c8486610f6b565b92915050565b600033905060006002848154811061050857634e487b7160e01b600052603260045260246000fd5b600091825260208083208784526003825260408085206001600160a01b0388168652909252922080546005909202909201925084111561057f5760405162461bcd60e51b81526020600482015260126024820152711dda5d1a191c985dce881b9bdd0819dbdbd960721b6044820152606401610399565b610588856106b0565b60006105c582600101546105bf670de0b6b3a76400006105b987600301548760000154610f8a90919063ffffffff16565b90610f96565b90610f6b565b9050801561061b576105d78482610fa2565b836001600160a01b03167fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e04868260405161061291815260200190565b60405180910390a25b841561064557815461062d9086610f6b565b82558254610645906001600160a01b03168587611058565b6003830154825461066391670de0b6b3a7640000916105b991610f8a565b600183015560405185815286906001600160a01b038616907ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b5689060200160405180910390a3505050505050565b6000600282815481106106d357634e487b7160e01b600052603260045260246000fd5b90600052602060002090600502019050806002015442116106f2575050565b80546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a082319060240160206040518083038186803b15801561073557600080fd5b505afa158015610749573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061076d9190611475565b90508061077f57504260029091015550565b600482015460ff166107b0576004808301805460ff1916600190811790915583015490546107ac91610f7e565b6004555b600454156108175760006107c883600201544261041b565b905060006107e96004546105b9866001015485610f8a90919063ffffffff16565b905061080f610804846105b984670de0b6b3a7640000610f8a565b600386015490610f7e565b600385015550505b504260029091015550565b60006002828154811061084557634e487b7160e01b600052603260045260246000fd5b600091825260208083208584526003825260408085203380875293528420805485825560018201959095556005909302018054909450919291610895916001600160a01b03919091169083611058565b604051818152849033907fbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae05959060200160405180910390a350505050565b6000546001600160a01b031633146108fc5760405162461bcd60e51b815260040161039990611573565b60065461090c906276a7006115bf565b4210156109fc576001546001600160a01b038481169116141561095a5760405162461bcd60e51b815260206004820152600660248201526567736861726560d01b6044820152606401610399565b60025460005b818110156109f95760006002828154811061098b57634e487b7160e01b600052603260045260246000fd5b6000918252602090912060059091020180549091506001600160a01b03878116911614156109e85760405162461bcd60e51b815260206004820152600a6024820152693837b7b6173a37b5b2b760b11b6044820152606401610399565b506109f281611659565b9050610960565b50505b610a106001600160a01b0384168284611058565b505050565b60025460005b81811015610a3c57610a2c816106b0565b610a3581611659565b9050610a1b565b5050565b6000546001600160a01b03163314610a6a5760405162461bcd60e51b815260040161039990611573565b610a73836110bb565b8115610a8157610a81610a15565b600554421015610aad5780610a995750600554610ac1565b600554811015610aa857506005545b610ac1565b801580610ab957504281105b15610ac15750425b600060055482111580610ad45750428211155b6040805160a0810182526001600160a01b03878116825260208201898152928201868152600060608401818152861580156080870190815260028054600181018255945295517f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace600590940293840180546001600160a01b031916919096161790945594517f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5acf82015590517f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ad082015592517f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ad184015590517f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ad2909201805460ff191692151592909217909155909150610c1757600454610c139086610f7e565b6004555b5050505050565b6000546001600160a01b03163314610c485760405162461bcd60e51b815260040161039990611573565b600080546001600160a01b0319166001600160a01b0392909216919091179055565b60008060028481548110610c8e57634e487b7160e01b600052603260045260246000fd5b60009182526020808320878452600380835260408086206001600160a01b038a81168852945280862060059590950290920190810154815492516370a0823160e01b815230600482015291965093949291909116906370a082319060240160206040518083038186803b158015610d0457600080fd5b505afa158015610d18573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d3c9190611475565b9050836002015442118015610d5057508015155b15610dad576000610d6585600201544261041b565b90506000610d866004546105b9886001015485610f8a90919063ffffffff16565b9050610da8610da1846105b984670de0b6b3a7640000610f8a565b8590610f7e565b935050505b610dd883600101546105bf670de0b6b3a76400006105b9868860000154610f8a90919063ffffffff16565b979650505050505050565b6000339050600060028481548110610e0b57634e487b7160e01b600052603260045260246000fd5b600091825260208083208784526003825260408085206001600160a01b0388168652909252922060059091029091019150610e45856106b0565b805415610ed5576000610e7d82600101546105bf670de0b6b3a76400006105b987600301548760000154610f8a90919063ffffffff16565b90508015610ed357610e8f8482610fa2565b836001600160a01b03167fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e048682604051610eca91815260200190565b60405180910390a25b505b8315610f01578154610ef2906001600160a01b031684308761116c565b8054610efe9085610f7e565b81555b60038201548154610f1f91670de0b6b3a7640000916105b991610f8a565b600182015560405184815285906001600160a01b038516907f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a159060200160405180910390a35050505050565b6000610f778284611616565b9392505050565b6000610f7782846115bf565b6000610f7782846115f7565b6000610f7782846115d7565b6001546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a082319060240160206040518083038186803b158015610fe657600080fd5b505afa158015610ffa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061101e9190611475565b90508015610a10578082111561104557600154610a10906001600160a01b03168483611058565b600154610a10906001600160a01b031684845b6040516001600160a01b038316602482015260448101829052610a1090849063a9059cbb60e01b906064015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b0319909316929092179091526111aa565b60025460005b81811015610a1057826001600160a01b0316600282815481106110f457634e487b7160e01b600052603260045260246000fd5b60009182526020909120600590910201546001600160a01b0316141561115c5760405162461bcd60e51b815260206004820181905260248201527f475368617265526577617264506f6f6c3a206578697374696e6720706f6f6c3f6044820152606401610399565b61116581611659565b90506110c1565b6040516001600160a01b03808516602483015283166044820152606481018290526111a49085906323b872dd60e01b90608401611084565b50505050565b60006111ff826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b031661127c9092919063ffffffff16565b805190915015610a10578080602001905181019061121d9190611400565b610a105760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610399565b606061128b8484600085611293565b949350505050565b6060824710156112f45760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610399565b843b6113425760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610399565b600080866001600160a01b0316858760405161135e9190611524565b60006040518083038185875af1925050503d806000811461139b576040519150601f19603f3d011682016040523d82523d6000602084013e6113a0565b606091505b5091509150610dd8828286606083156113ba575081610f77565b8251156113ca5782518084602001fd5b8160405162461bcd60e51b81526004016103999190611540565b6000602082840312156113f5578081fd5b8135610f778161168a565b600060208284031215611411578081fd5b8151610f77816116a2565b600080600060608486031215611430578182fd5b833561143b8161168a565b92506020840135915060408401356114528161168a565b809150509250925092565b60006020828403121561146e578081fd5b5035919050565b600060208284031215611486578081fd5b5051919050565b6000806040838503121561149f578182fd5b8235915060208301356114b18161168a565b809150509250929050565b600080600080608085870312156114d1578081fd5b8435935060208501356114e38161168a565b925060408501356114f3816116a2565b9396929550929360600135925050565b60008060408385031215611515578182fd5b50508035926020909101359150565b6000825161153681846020870161162d565b9190910192915050565b602081526000825180602084015261155f81604085016020870161162d565b601f01601f19169190910160400192915050565b6020808252602c908201527f475368617265526577617264506f6f6c3a2063616c6c6572206973206e6f742060408201526b3a34329037b832b930ba37b960a11b606082015260800190565b600082198211156115d2576115d2611674565b500190565b6000826115f257634e487b7160e01b81526012600452602481fd5b500490565b600081600019048311821515161561161157611611611674565b500290565b60008282101561162857611628611674565b500390565b60005b83811015611648578181015183820152602001611630565b838111156111a45750506000910152565b600060001982141561166d5761166d611674565b5060010190565b634e487b7160e01b600052601160045260246000fd5b6001600160a01b038116811461169f57600080fd5b50565b801515811461169f57600080fdfea264697066735822122099fcf5979173c60aff3757f8c69c9ea0371d10744c3df5f6f38b6772e67f4dd964736f6c6343000804003300000000000000000000000087894a4dd3228abcb1891795fd4d7c37196362200000000000000000000000000000000000000000000000000000000061f30974
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101375760003560e01c8063570ca735116100b8578063943f013d1161007c578063943f013d146102b957806396805e54146102c2578063a5790f4b146102d5578063b3ab15fb146102e8578063cf4b55cb146102fb578063e2bbb1581461030e57600080fd5b8063570ca7351461022d5780635f96dc1114610258578063630b5ba1146102615780636e271dd51461026957806393f1a40b1461027257600080fd5b8063441a3e70116100ff578063441a3e70146101d8578063493ff4d3146101eb57806351eb05a6146101f45780635312ea8e1461020757806354575af41461021a57600080fd5b806309cf60911461013c5780631526fe271461016057806317caf6f1146101a75780631ab06ee5146101b0578063231f0c6a146101c5575b600080fd5b61014d690c99805fe37d3e30000081565b6040519081526020015b60405180910390f35b61017361016e36600461145d565b610321565b604080516001600160a01b03909616865260208601949094529284019190915260608301521515608082015260a001610157565b61014d60045481565b6101c36101be366004611503565b61036f565b005b61014d6101d3366004611503565b61041b565b6101c36101e6366004611503565b6104e0565b61014d60075481565b6101c361020236600461145d565b6106b0565b6101c361021536600461145d565b610822565b6101c361022836600461141c565b6108d2565b600054610240906001600160a01b031681565b6040516001600160a01b039091168152602001610157565b61014d60055481565b6101c3610a15565b61014d60065481565b6102a461028036600461148d565b60036020908152600092835260408084209091529082529020805460019091015482565b60408051928352602083019190915201610157565b61014d60085481565b6101c36102d03660046114bc565b610a40565b600154610240906001600160a01b031681565b6101c36102f63660046113e4565b610c1e565b61014d61030936600461148d565b610c6a565b6101c361031c366004611503565b610de3565b6002818154811061033157600080fd5b6000918252602090912060059091020180546001820154600283015460038401546004909401546001600160a01b0390931694509092909160ff1685565b6000546001600160a01b031633146103a25760405162461bcd60e51b815260040161039990611573565b60405180910390fd5b6103aa610a15565b6000600283815481106103cd57634e487b7160e01b600052603260045260246000fd5b60009182526020909120600590910201600481015490915060ff1615610414576104108261040a8360010154600454610f6b90919063ffffffff16565b90610f7e565b6004555b6001015550565b600081831061042c575060006104da565b6006548210610494576006548310610446575060006104da565b60055483116104795761047260075461046c600554600654610f6b90919063ffffffff16565b90610f8a565b90506104da565b61047260075461046c85600654610f6b90919063ffffffff16565b60055482116104a5575060006104da565b60055483116104c95761047260075461046c60055485610f6b90919063ffffffff16565b6007546104729061046c8486610f6b565b92915050565b600033905060006002848154811061050857634e487b7160e01b600052603260045260246000fd5b600091825260208083208784526003825260408085206001600160a01b0388168652909252922080546005909202909201925084111561057f5760405162461bcd60e51b81526020600482015260126024820152711dda5d1a191c985dce881b9bdd0819dbdbd960721b6044820152606401610399565b610588856106b0565b60006105c582600101546105bf670de0b6b3a76400006105b987600301548760000154610f8a90919063ffffffff16565b90610f96565b90610f6b565b9050801561061b576105d78482610fa2565b836001600160a01b03167fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e04868260405161061291815260200190565b60405180910390a25b841561064557815461062d9086610f6b565b82558254610645906001600160a01b03168587611058565b6003830154825461066391670de0b6b3a7640000916105b991610f8a565b600183015560405185815286906001600160a01b038616907ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b5689060200160405180910390a3505050505050565b6000600282815481106106d357634e487b7160e01b600052603260045260246000fd5b90600052602060002090600502019050806002015442116106f2575050565b80546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a082319060240160206040518083038186803b15801561073557600080fd5b505afa158015610749573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061076d9190611475565b90508061077f57504260029091015550565b600482015460ff166107b0576004808301805460ff1916600190811790915583015490546107ac91610f7e565b6004555b600454156108175760006107c883600201544261041b565b905060006107e96004546105b9866001015485610f8a90919063ffffffff16565b905061080f610804846105b984670de0b6b3a7640000610f8a565b600386015490610f7e565b600385015550505b504260029091015550565b60006002828154811061084557634e487b7160e01b600052603260045260246000fd5b600091825260208083208584526003825260408085203380875293528420805485825560018201959095556005909302018054909450919291610895916001600160a01b03919091169083611058565b604051818152849033907fbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae05959060200160405180910390a350505050565b6000546001600160a01b031633146108fc5760405162461bcd60e51b815260040161039990611573565b60065461090c906276a7006115bf565b4210156109fc576001546001600160a01b038481169116141561095a5760405162461bcd60e51b815260206004820152600660248201526567736861726560d01b6044820152606401610399565b60025460005b818110156109f95760006002828154811061098b57634e487b7160e01b600052603260045260246000fd5b6000918252602090912060059091020180549091506001600160a01b03878116911614156109e85760405162461bcd60e51b815260206004820152600a6024820152693837b7b6173a37b5b2b760b11b6044820152606401610399565b506109f281611659565b9050610960565b50505b610a106001600160a01b0384168284611058565b505050565b60025460005b81811015610a3c57610a2c816106b0565b610a3581611659565b9050610a1b565b5050565b6000546001600160a01b03163314610a6a5760405162461bcd60e51b815260040161039990611573565b610a73836110bb565b8115610a8157610a81610a15565b600554421015610aad5780610a995750600554610ac1565b600554811015610aa857506005545b610ac1565b801580610ab957504281105b15610ac15750425b600060055482111580610ad45750428211155b6040805160a0810182526001600160a01b03878116825260208201898152928201868152600060608401818152861580156080870190815260028054600181018255945295517f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace600590940293840180546001600160a01b031916919096161790945594517f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5acf82015590517f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ad082015592517f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ad184015590517f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ad2909201805460ff191692151592909217909155909150610c1757600454610c139086610f7e565b6004555b5050505050565b6000546001600160a01b03163314610c485760405162461bcd60e51b815260040161039990611573565b600080546001600160a01b0319166001600160a01b0392909216919091179055565b60008060028481548110610c8e57634e487b7160e01b600052603260045260246000fd5b60009182526020808320878452600380835260408086206001600160a01b038a81168852945280862060059590950290920190810154815492516370a0823160e01b815230600482015291965093949291909116906370a082319060240160206040518083038186803b158015610d0457600080fd5b505afa158015610d18573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d3c9190611475565b9050836002015442118015610d5057508015155b15610dad576000610d6585600201544261041b565b90506000610d866004546105b9886001015485610f8a90919063ffffffff16565b9050610da8610da1846105b984670de0b6b3a7640000610f8a565b8590610f7e565b935050505b610dd883600101546105bf670de0b6b3a76400006105b9868860000154610f8a90919063ffffffff16565b979650505050505050565b6000339050600060028481548110610e0b57634e487b7160e01b600052603260045260246000fd5b600091825260208083208784526003825260408085206001600160a01b0388168652909252922060059091029091019150610e45856106b0565b805415610ed5576000610e7d82600101546105bf670de0b6b3a76400006105b987600301548760000154610f8a90919063ffffffff16565b90508015610ed357610e8f8482610fa2565b836001600160a01b03167fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e048682604051610eca91815260200190565b60405180910390a25b505b8315610f01578154610ef2906001600160a01b031684308761116c565b8054610efe9085610f7e565b81555b60038201548154610f1f91670de0b6b3a7640000916105b991610f8a565b600182015560405184815285906001600160a01b038516907f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a159060200160405180910390a35050505050565b6000610f778284611616565b9392505050565b6000610f7782846115bf565b6000610f7782846115f7565b6000610f7782846115d7565b6001546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a082319060240160206040518083038186803b158015610fe657600080fd5b505afa158015610ffa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061101e9190611475565b90508015610a10578082111561104557600154610a10906001600160a01b03168483611058565b600154610a10906001600160a01b031684845b6040516001600160a01b038316602482015260448101829052610a1090849063a9059cbb60e01b906064015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b0319909316929092179091526111aa565b60025460005b81811015610a1057826001600160a01b0316600282815481106110f457634e487b7160e01b600052603260045260246000fd5b60009182526020909120600590910201546001600160a01b0316141561115c5760405162461bcd60e51b815260206004820181905260248201527f475368617265526577617264506f6f6c3a206578697374696e6720706f6f6c3f6044820152606401610399565b61116581611659565b90506110c1565b6040516001600160a01b03808516602483015283166044820152606481018290526111a49085906323b872dd60e01b90608401611084565b50505050565b60006111ff826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b031661127c9092919063ffffffff16565b805190915015610a10578080602001905181019061121d9190611400565b610a105760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610399565b606061128b8484600085611293565b949350505050565b6060824710156112f45760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610399565b843b6113425760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610399565b600080866001600160a01b0316858760405161135e9190611524565b60006040518083038185875af1925050503d806000811461139b576040519150601f19603f3d011682016040523d82523d6000602084013e6113a0565b606091505b5091509150610dd8828286606083156113ba575081610f77565b8251156113ca5782518084602001fd5b8160405162461bcd60e51b81526004016103999190611540565b6000602082840312156113f5578081fd5b8135610f778161168a565b600060208284031215611411578081fd5b8151610f77816116a2565b600080600060608486031215611430578182fd5b833561143b8161168a565b92506020840135915060408401356114528161168a565b809150509250925092565b60006020828403121561146e578081fd5b5035919050565b600060208284031215611486578081fd5b5051919050565b6000806040838503121561149f578182fd5b8235915060208301356114b18161168a565b809150509250929050565b600080600080608085870312156114d1578081fd5b8435935060208501356114e38161168a565b925060408501356114f3816116a2565b9396929550929360600135925050565b60008060408385031215611515578182fd5b50508035926020909101359150565b6000825161153681846020870161162d565b9190910192915050565b602081526000825180602084015261155f81604085016020870161162d565b601f01601f19169190910160400192915050565b6020808252602c908201527f475368617265526577617264506f6f6c3a2063616c6c6572206973206e6f742060408201526b3a34329037b832b930ba37b960a11b606082015260800190565b600082198211156115d2576115d2611674565b500190565b6000826115f257634e487b7160e01b81526012600452602481fd5b500490565b600081600019048311821515161561161157611611611674565b500290565b60008282101561162857611628611674565b500390565b60005b83811015611648578181015183820152602001611630565b838111156111a45750506000910152565b600060001982141561166d5761166d611674565b5060010190565b634e487b7160e01b600052601160045260246000fd5b6001600160a01b038116811461169f57600080fd5b50565b801515811461169f57600080fdfea264697066735822122099fcf5979173c60aff3757f8c69c9ea0371d10744c3df5f6f38b6772e67f4dd964736f6c63430008040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000087894a4dd3228abcb1891795fd4d7c37196362200000000000000000000000000000000000000000000000000000000061f30974
-----Decoded View---------------
Arg [0] : _gshare (address): 0x87894a4Dd3228aBcb1891795Fd4d7C3719636220
Arg [1] : _poolStartTime (uint256): 1643317620
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 00000000000000000000000087894a4dd3228abcb1891795fd4d7c3719636220
Arg [1] : 0000000000000000000000000000000000000000000000000000000061f30974
Deployed Bytecode Sourcemap
22459:10617:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23931:51;;23971:11;23931:51;;;;;7942:25:1;;;7930:2;7915:18;23931:51:0;;;;;;;;23324:26;;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;4205:32:1;;;4187:51;;4269:2;4254:18;;4247:34;;;;4297:18;;;4290:34;;;;4355:2;4340:18;;4333:34;4411:14;4404:22;4398:3;4383:19;;4376:51;4174:3;4159:19;23324:26:0;4141:292:1;23569:34:0;;;;;;26498:353;;;;;;:::i;:::-;;:::i;:::-;;26928:661;;;;;;:::i;:::-;;:::i;30599:816::-;;;;;;:::i;:::-;;:::i;23770:49::-;;;;;;28780:916;;;;;;:::i;:::-;;:::i;31486:377::-;;;;;;:::i;:::-;;:::i;32463:610::-;;;;;;:::i;:::-;;:::i;22579:23::-;;;;;-1:-1:-1;;;;;22579:23:0;;;;;;-1:-1:-1;;;;;2997:32:1;;;2979:51;;2967:2;2952:18;22579:23:0;2934:102:1;23656:28:0;;;;;;28524:180;;;:::i;23735:26::-;;;;;;23408:64;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8152:25:1;;;8208:2;8193:18;;8186:34;;;;8125:18;23408:64:0;8107:119:1;23875:37:0;;;;;;25122:1278;;;;;;:::i;:::-;;:::i;23268:20::-;;;;;-1:-1:-1;;;;;23268:20:0;;;32354:101;;;;;;:::i;:::-;;:::i;27655:786::-;;;;;;:::i;:::-;;:::i;29731:832::-;;;;;;:::i;:::-;;:::i;23324:26::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;23324:26:0;;;;-1:-1:-1;23324:26:0;;;;;;;:::o;26498:353::-;24686:8;;-1:-1:-1;;;;;24686:8:0;24698:10;24686:22;24678:79;;;;-1:-1:-1;;;24678:79:0;;;;;;;:::i;:::-;;;;;;;;;26577:17:::1;:15;:17::i;:::-;26605:21;26629:8;26638:4;26629:14;;;;;;-1:-1:-1::0;;;26629:14:0::1;;;;;;;;;;::::0;;;::::1;::::0;;;::::1;::::0;;::::1;;26658;::::0;::::1;::::0;26629;;-1:-1:-1;26658:14:0::1;;26654:150;;;26707:85;26766:11;26707:36;26727:4;:15;;;26707;;:19;;:36;;;;:::i;:::-;:40:::0;::::1;:85::i;:::-;26689:15;:103:::0;26654:150:::1;26814:15;;:29:::0;-1:-1:-1;26498:353:0:o;26928:661::-;27013:7;27050;27037:9;:20;27033:34;;-1:-1:-1;27066:1:0;27059:8;;27033:34;27093:11;;27082:7;:22;27078:504;;27138:11;;27125:9;:24;27121:38;;-1:-1:-1;27158:1:0;27151:8;;27121:38;27191:13;;27178:9;:26;27174:90;;27213:51;27248:15;;27213:30;27229:13;;27213:11;;:15;;:30;;;;:::i;:::-;:34;;:51::i;:::-;27206:58;;;;27174:90;27286:47;27317:15;;27286:26;27302:9;27286:11;;:15;;:26;;;;:::i;27078:504::-;27381:13;;27370:7;:24;27366:38;;-1:-1:-1;27403:1:0;27396:8;;27366:38;27436:13;;27423:9;:26;27419:86;;27458:47;27489:15;;27458:26;27470:13;;27458:7;:11;;:26;;;;:::i;27419:86::-;27554:15;;27527:43;;:22;:7;27539:9;27527:11;:22::i;27078:504::-;26928:661;;;;:::o;30599:816::-;30666:15;30684:10;30666:28;;30705:21;30729:8;30738:4;30729:14;;;;;;-1:-1:-1;;;30729:14:0;;;;;;;;;;;;;;;;;30778;;;:8;:14;;;;;;-1:-1:-1;;;;;30778:23:0;;;;;;;;;30820:11;;30729:14;;;;;;;;-1:-1:-1;30820:22:0;-1:-1:-1;30820:22:0;30812:53;;;;-1:-1:-1;;;30812:53:0;;7240:2:1;30812:53:0;;;7222:21:1;7279:2;7259:18;;;7252:30;-1:-1:-1;;;7298:18:1;;;7291:48;7356:18;;30812:53:0;7212:168:1;30812:53:0;30876:16;30887:4;30876:10;:16::i;:::-;30903;30922:70;30976:4;:15;;;30922:49;30966:4;30922:39;30938:4;:22;;;30922:4;:11;;;:15;;:39;;;;:::i;:::-;:43;;:49::i;:::-;:53;;:70::i;:::-;30903:89;-1:-1:-1;31007:12:0;;31003:131;;31036:37;31055:7;31064:8;31036:18;:37::i;:::-;31104:7;-1:-1:-1;;;;;31093:29:0;;31113:8;31093:29;;;;7942:25:1;;7930:2;7915:18;;7897:76;31093:29:0;;;;;;;;31003:131;31148:11;;31144:138;;31190:11;;:24;;31206:7;31190:15;:24::i;:::-;31176:38;;31229:10;;:41;;-1:-1:-1;;;;;31229:10:0;31253:7;31262;31229:23;:41::i;:::-;31326:22;;;;31310:11;;:49;;31354:4;;31310:39;;:15;:39::i;:49::-;31292:15;;;:67;31375:32;;7942:25:1;;;31393:4:0;;-1:-1:-1;;;;;31375:32:0;;;;;7930:2:1;7915:18;31375:32:0;;;;;;;30599:816;;;;;;:::o;28780:916::-;28832:21;28856:8;28865:4;28856:14;;;;;;-1:-1:-1;;;28856:14:0;;;;;;;;;;;;;;;;;;;28832:38;;28904:4;:19;;;28885:15;:38;28881:77;;28940:7;28780:916;:::o;28881:77::-;28990:10;;:35;;-1:-1:-1;;;28990:35:0;;29019:4;28990:35;;;2979:51:1;28968:19:0;;-1:-1:-1;;;;;28990:10:0;;:20;;2952:18:1;;28990:35:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;28968:57;-1:-1:-1;29040:16:0;29036:107;;-1:-1:-1;29095:15:0;29073:19;;;;:37;-1:-1:-1;28780:916:0:o;29036:107::-;29158:14;;;;;;29153:138;;29189:14;;;;:21;;-1:-1:-1;;29189:21:0;29206:4;29189:21;;;;;;29263:15;;;29243;;:36;;:19;:36::i;:::-;29225:15;:54;29153:138;29305:15;;:19;29301:340;;29341:24;29368:56;29387:4;:19;;;29408:15;29368:18;:56::i;:::-;29341:83;;29439:21;29463:58;29505:15;;29463:37;29484:4;:15;;;29463:16;:20;;:37;;;;:::i;:58::-;29439:82;-1:-1:-1;29561:68:0;29588:40;29616:11;29588:23;29439:82;29606:4;29588:17;:23::i;:40::-;29561:22;;;;;:26;:68::i;:::-;29536:22;;;:93;-1:-1:-1;;29301:340:0;-1:-1:-1;29673:15:0;29651:19;;;;:37;-1:-1:-1;28780:916:0:o;31486:377::-;31545:21;31569:8;31578:4;31569:14;;;;;;-1:-1:-1;;;31569:14:0;;;;;;;;;;;;;;;;;31618;;;:8;:14;;;;;;31633:10;31618:26;;;;;;;31673:11;;31695:15;;;-1:-1:-1;31721:15:0;;:19;;;;31569:14;;;;;31751:10;;31569:14;;-1:-1:-1;31618:26:0;;31673:11;31751:44;;-1:-1:-1;;;;;31751:10:0;;;;;31673:11;31751:23;:44::i;:::-;31811;;7942:25:1;;;31841:4:0;;31829:10;;31811:44;;7930:2:1;7915:18;31811:44:0;;;;;;;31486:377;;;;:::o;32463:610::-;24686:8;;-1:-1:-1;;;;;24686:8:0;24698:10;24686:22;24678:79;;;;-1:-1:-1;;;24678:79:0;;;;;;;:::i;:::-;32599:11:::1;::::0;:21:::1;::::0;32613:7:::1;32599:21;:::i;:::-;32581:15;:39;32577:447;;;32757:6;::::0;-1:-1:-1;;;;;32747:16:0;;::::1;32757:6:::0;::::1;32747:16;;32739:35;;;::::0;-1:-1:-1;;;32739:35:0;;5028:2:1;32739:35:0::1;::::0;::::1;5010:21:1::0;5067:1;5047:18;;;5040:29;-1:-1:-1;;;5085:18:1;;;5078:36;5131:18;;32739:35:0::1;5000:155:1::0;32739:35:0::1;32806:8;:15:::0;32789:14:::1;32836:177;32864:6;32858:3;:12;32836:177;;;32898:21;32922:8;32931:3;32922:13;;;;;;-1:-1:-1::0;;;32922:13:0::1;;;;;;;;;;::::0;;;::::1;::::0;;;::::1;::::0;;::::1;;32972:10:::0;;32922:13;;-1:-1:-1;;;;;;32962:20:0;;::::1;32972:10:::0;::::1;32962:20;;32954:43;;;::::0;-1:-1:-1;;;32954:43:0;;6130:2:1;32954:43:0::1;::::0;::::1;6112:21:1::0;6169:2;6149:18;;;6142:30;-1:-1:-1;;;6188:18:1;;;6181:40;6238:18;;32954:43:0::1;6102:160:1::0;32954:43:0::1;-1:-1:-1::0;32872:5:0::1;::::0;::::1;:::i;:::-;;;32836:177;;;;32577:447;;33034:31;-1:-1:-1::0;;;;;33034:19:0;::::1;33054:2:::0;33058:6;33034:19:::1;:31::i;:::-;32463:610:::0;;;:::o;28524:180::-;28586:8;:15;28569:14;28612:85;28640:6;28634:3;:12;28612:85;;;28670:15;28681:3;28670:10;:15::i;:::-;28648:5;;;:::i;:::-;;;28612:85;;;;28524:180;:::o;25122:1278::-;24686:8;;-1:-1:-1;;;;;24686:8:0;24698:10;24686:22;24678:79;;;;-1:-1:-1;;;24678:79:0;;;;;;;:::i;:::-;25288:26:::1;25307:6;25288:18;:26::i;:::-;25329:11;25325:61;;;25357:17;:15;:17::i;:::-;25418:13;;25400:15;:31;25396:534;;;25485:20:::0;25481:243:::1;;-1:-1:-1::0;25544:13:0::1;::::0;25396:534:::1;;25481:243;25620:13;;25602:15;:31;25598:111;;;-1:-1:-1::0;25676:13:0::1;::::0;25598:111:::1;25396:534;;;25792:20:::0;;;:57:::1;;;25834:15;25816;:33;25792:57;25788:131;;;-1:-1:-1::0;25888:15:0::1;25788:131;25940:15;25987:13;;25968:15;:32;;25967:83;;;;26034:15;26015;:34;;25967:83;26075:213;::::0;;::::1;::::0;::::1;::::0;;-1:-1:-1;;;;;26075:213:0;;::::1;::::0;;::::1;::::0;::::1;::::0;;;;;;;;;-1:-1:-1;26075:213:0;;;;;;;::::1;::::0;::::1;::::0;;;;;;26061:8:::1;:228:::0;;::::1;::::0;::::1;::::0;;;;;;;::::1;::::0;;::::1;::::0;;::::1;::::0;;-1:-1:-1;;;;;;26061:228:0::1;::::0;;;::::1;;::::0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;26061:228:0::1;::::0;::::1;;::::0;;;::::1;::::0;;;26075:213;;-1:-1:-1;26300:93:0::1;;26349:15;::::0;:32:::1;::::0;26369:11;26349:19:::1;:32::i;:::-;26331:15;:50:::0;26300:93:::1;24768:1;25122:1278:::0;;;;:::o;32354:101::-;24686:8;;-1:-1:-1;;;;;24686:8:0;24698:10;24686:22;24678:79;;;;-1:-1:-1;;;24678:79:0;;;;;;;:::i;:::-;32427:8:::1;:20:::0;;-1:-1:-1;;;;;;32427:20:0::1;-1:-1:-1::0;;;;;32427:20:0;;;::::1;::::0;;;::::1;::::0;;32354:101::o;27655:786::-;27729:7;27749:21;27773:8;27782:4;27773:14;;;;;;-1:-1:-1;;;27773:14:0;;;;;;;;;;;;;;;;;27822;;;:8;:14;;;;;;;-1:-1:-1;;;;;27822:21:0;;;;;;;;;;27773:14;;;;;;;;27882:22;;;;27937:10;;:35;;-1:-1:-1;;;27937:35:0;;27966:4;27937:35;;;2979:51:1;27773:14:0;;-1:-1:-1;27822:21:0;;27773:14;27937:10;;;;;:20;;2952:18:1;;27937:35:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;27915:57;;28005:4;:19;;;27987:15;:37;:57;;;;-1:-1:-1;28028:16:0;;;27987:57;27983:368;;;28061:24;28088:56;28107:4;:19;;;28128:15;28088:18;:56::i;:::-;28061:83;;28159:21;28183:58;28225:15;;28183:37;28204:4;:15;;;28183:16;:20;;:37;;;;:::i;:58::-;28159:82;-1:-1:-1;28276:63:0;28298:40;28326:11;28298:23;28159:82;28316:4;28298:17;:23::i;:40::-;28276:17;;:21;:63::i;:::-;28256:83;;27983:368;;;28368:65;28417:4;:15;;;28368:44;28407:4;28368:34;28384:17;28368:4;:11;;;:15;;:34;;;;:::i;:65::-;28361:72;27655:786;-1:-1:-1;;;;;;;27655:786:0:o;29731:832::-;29797:15;29815:10;29797:28;;29836:21;29860:8;29869:4;29860:14;;;;;;-1:-1:-1;;;29860:14:0;;;;;;;;;;;;;;;;;29909;;;:8;:14;;;;;;-1:-1:-1;;;;;29909:23:0;;;;;;;;;29860:14;;;;;;;;-1:-1:-1;29943:16:0;29918:4;29943:10;:16::i;:::-;29974:11;;:15;29970:294;;30006:16;30025:70;30079:4;:15;;;30025:49;30069:4;30025:39;30041:4;:22;;;30025:4;:11;;;:15;;:39;;;;:::i;:70::-;30006:89;-1:-1:-1;30114:12:0;;30110:143;;30147:37;30166:7;30175:8;30147:18;:37::i;:::-;30219:7;-1:-1:-1;;;;;30208:29:0;;30228:8;30208:29;;;;7942:25:1;;7930:2;7915:18;;7897:76;30208:29:0;;;;;;;;30110:143;29970:294;;30278:11;;30274:157;;30306:10;;:60;;-1:-1:-1;;;;;30306:10:0;30334:7;30351:4;30358:7;30306:27;:60::i;:::-;30395:11;;:24;;30411:7;30395:15;:24::i;:::-;30381:38;;30274:157;30475:22;;;;30459:11;;:49;;30503:4;;30459:39;;:15;:39::i;:49::-;30441:15;;;:67;30524:31;;7942:25:1;;;30541:4:0;;-1:-1:-1;;;;;30524:31:0;;;;;7930:2:1;7915:18;30524:31:0;;;;;;;29731:832;;;;;:::o;18406:98::-;18464:7;18491:5;18495:1;18491;:5;:::i;:::-;18484:12;18406:98;-1:-1:-1;;;18406:98:0:o;18025:::-;18083:7;18110:5;18114:1;18110;:5;:::i;18763:98::-;18821:7;18848:5;18852:1;18848;:5;:::i;19162:98::-;19220:7;19247:5;19251:1;19247;:5;:::i;31981:365::-;32080:6;;:31;;-1:-1:-1;;;32080:31:0;;32105:4;32080:31;;;2979:51:1;32059:18:0;;-1:-1:-1;;;;;32080:6:0;;:16;;2952:18:1;;32080:31:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;32059:52;-1:-1:-1;32126:14:0;;32122:217;;32171:10;32161:7;:20;32157:171;;;32202:6;;:36;;-1:-1:-1;;;;;32202:6:0;32222:3;32227:10;32202:19;:36::i;32157:171::-;32279:6;;:33;;-1:-1:-1;;;;;32279:6:0;32299:3;32304:7;11859:211;12003:58;;-1:-1:-1;;;;;3613:32:1;;12003:58:0;;;3595:51:1;3662:18;;;3655:34;;;11976:86:0;;11996:5;;-1:-1:-1;;;12026:23:0;3568:18:1;;12003:58:0;;;;-1:-1:-1;;12003:58:0;;;;;;;;;;;;;;-1:-1:-1;;;;;12003:58:0;-1:-1:-1;;;;;;12003:58:0;;;;;;;;;;11976:19;:86::i;24785:262::-;24870:8;:15;24853:14;24896:144;24924:6;24918:3;:12;24896:144;;;24985:6;-1:-1:-1;;;;;24962:29:0;:8;24971:3;24962:13;;;;;;-1:-1:-1;;;24962:13:0;;;;;;;;;;;;;;;;;;;;;;:19;-1:-1:-1;;;;;24962:19:0;:29;;24954:74;;;;-1:-1:-1;;;24954:74:0;;5769:2:1;24954:74:0;;;5751:21:1;;;5788:18;;;5781:30;5847:34;5827:18;;;5820:62;5899:18;;24954:74:0;5741:182:1;24954:74:0;24932:5;;;:::i;:::-;;;24896:144;;12078:248;12249:68;;-1:-1:-1;;;;;3299:15:1;;;12249:68:0;;;3281:34:1;3351:15;;3331:18;;;3324:43;3383:18;;;3376:34;;;12222:96:0;;12242:5;;-1:-1:-1;;;12272:27:0;3216:18:1;;12249:68:0;3198:218:1;12222:96:0;12078:248;;;;:::o;14432:716::-;14856:23;14882:69;14910:4;14882:69;;;;;;;;;;;;;;;;;14890:5;-1:-1:-1;;;;;14882:27:0;;;:69;;;;;:::i;:::-;14966:17;;14856:95;;-1:-1:-1;14966:21:0;14962:179;;15063:10;15052:30;;;;;;;;;;;;:::i;:::-;15044:85;;;;-1:-1:-1;;;15044:85:0;;7587:2:1;15044:85:0;;;7569:21:1;7626:2;7606:18;;;7599:30;7665:34;7645:18;;;7638:62;-1:-1:-1;;;7716:18:1;;;7709:40;7766:19;;15044:85:0;7559:232:1;6631:229:0;6768:12;6800:52;6822:6;6830:4;6836:1;6839:12;6800:21;:52::i;:::-;6793:59;6631:229;-1:-1:-1;;;;6631:229:0:o;7751:510::-;7921:12;7979:5;7954:21;:30;;7946:81;;;;-1:-1:-1;;;7946:81:0;;5362:2:1;7946:81:0;;;5344:21:1;5401:2;5381:18;;;5374:30;5440:34;5420:18;;;5413:62;-1:-1:-1;;;5491:18:1;;;5484:36;5537:19;;7946:81:0;5334:228:1;7946:81:0;4148:20;;8038:60;;;;-1:-1:-1;;;8038:60:0;;6469:2:1;8038:60:0;;;6451:21:1;6508:2;6488:18;;;6481:30;6547:31;6527:18;;;6520:59;6596:18;;8038:60:0;6441:179:1;8038:60:0;8112:12;8126:23;8153:6;-1:-1:-1;;;;;8153:11:0;8172:5;8179:4;8153:31;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8111:73;;;;8202:51;8219:7;8228:10;8240:12;10587;10616:7;10612:530;;;-1:-1:-1;10647:10:0;10640:17;;10612:530;10761:17;;:21;10757:374;;10959:10;10953:17;11020:15;11007:10;11003:2;10999:19;10992:44;10907:148;11102:12;11095:20;;-1:-1:-1;;;11095:20:0;;;;;;;;:::i;14:257:1:-;73:6;126:2;114:9;105:7;101:23;97:32;94:2;;;147:6;139;132:22;94:2;191:9;178:23;210:31;235:5;210:31;:::i;276:255::-;343:6;396:2;384:9;375:7;371:23;367:32;364:2;;;417:6;409;402:22;364:2;454:9;448:16;473:28;495:5;473:28;:::i;536:479::-;626:6;634;642;695:2;683:9;674:7;670:23;666:32;663:2;;;716:6;708;701:22;663:2;760:9;747:23;779:31;804:5;779:31;:::i;:::-;829:5;-1:-1:-1;881:2:1;866:18;;853:32;;-1:-1:-1;937:2:1;922:18;;909:32;950:33;909:32;950:33;:::i;:::-;1002:7;992:17;;;653:362;;;;;:::o;1020:190::-;1079:6;1132:2;1120:9;1111:7;1107:23;1103:32;1100:2;;;1153:6;1145;1138:22;1100:2;-1:-1:-1;1181:23:1;;1090:120;-1:-1:-1;1090:120:1:o;1215:194::-;1285:6;1338:2;1326:9;1317:7;1313:23;1309:32;1306:2;;;1359:6;1351;1344:22;1306:2;-1:-1:-1;1387:16:1;;1296:113;-1:-1:-1;1296:113:1:o;1414:325::-;1482:6;1490;1543:2;1531:9;1522:7;1518:23;1514:32;1511:2;;;1564:6;1556;1549:22;1511:2;1605:9;1592:23;1582:33;;1665:2;1654:9;1650:18;1637:32;1678:31;1703:5;1678:31;:::i;:::-;1728:5;1718:15;;;1501:238;;;;;:::o;1744:542::-;1840:6;1848;1856;1864;1917:3;1905:9;1896:7;1892:23;1888:33;1885:2;;;1939:6;1931;1924:22;1885:2;1980:9;1967:23;1957:33;;2040:2;2029:9;2025:18;2012:32;2053:31;2078:5;2053:31;:::i;:::-;2103:5;-1:-1:-1;2160:2:1;2145:18;;2132:32;2173:30;2132:32;2173:30;:::i;:::-;1875:411;;;;-1:-1:-1;2222:7:1;;2276:2;2261:18;2248:32;;-1:-1:-1;;1875:411:1:o;2291:258::-;2359:6;2367;2420:2;2408:9;2399:7;2395:23;2391:32;2388:2;;;2441:6;2433;2426:22;2388:2;-1:-1:-1;;2469:23:1;;;2539:2;2524:18;;;2511:32;;-1:-1:-1;2378:171:1:o;2554:274::-;2683:3;2721:6;2715:13;2737:53;2783:6;2778:3;2771:4;2763:6;2759:17;2737:53;:::i;:::-;2806:16;;;;;2691:137;-1:-1:-1;;2691:137:1:o;4438:383::-;4587:2;4576:9;4569:21;4550:4;4619:6;4613:13;4662:6;4657:2;4646:9;4642:18;4635:34;4678:66;4737:6;4732:2;4721:9;4717:18;4712:2;4704:6;4700:15;4678:66;:::i;:::-;4805:2;4784:15;-1:-1:-1;;4780:29:1;4765:45;;;;4812:2;4761:54;;4559:262;-1:-1:-1;;4559:262:1:o;6625:408::-;6827:2;6809:21;;;6866:2;6846:18;;;6839:30;6905:34;6900:2;6885:18;;6878:62;-1:-1:-1;;;6971:2:1;6956:18;;6949:42;7023:3;7008:19;;6799:234::o;8231:128::-;8271:3;8302:1;8298:6;8295:1;8292:13;8289:2;;;8308:18;;:::i;:::-;-1:-1:-1;8344:9:1;;8279:80::o;8364:217::-;8404:1;8430;8420:2;;-1:-1:-1;;;8455:31:1;;8509:4;8506:1;8499:15;8537:4;8462:1;8527:15;8420:2;-1:-1:-1;8566:9:1;;8410:171::o;8586:168::-;8626:7;8692:1;8688;8684:6;8680:14;8677:1;8674:21;8669:1;8662:9;8655:17;8651:45;8648:2;;;8699:18;;:::i;:::-;-1:-1:-1;8739:9:1;;8638:116::o;8759:125::-;8799:4;8827:1;8824;8821:8;8818:2;;;8832:18;;:::i;:::-;-1:-1:-1;8869:9:1;;8808:76::o;8889:258::-;8961:1;8971:113;8985:6;8982:1;8979:13;8971:113;;;9061:11;;;9055:18;9042:11;;;9035:39;9007:2;9000:10;8971:113;;;9102:6;9099:1;9096:13;9093:2;;;-1:-1:-1;;9137:1:1;9119:16;;9112:27;8942:205::o;9152:135::-;9191:3;-1:-1:-1;;9212:17:1;;9209:2;;;9232:18;;:::i;:::-;-1:-1:-1;9279:1:1;9268:13;;9199:88::o;9292:127::-;9353:10;9348:3;9344:20;9341:1;9334:31;9384:4;9381:1;9374:15;9408:4;9405:1;9398:15;9424:131;-1:-1:-1;;;;;9499:31:1;;9489:42;;9479:2;;9545:1;9542;9535:12;9479:2;9469:86;:::o;9560:118::-;9646:5;9639:13;9632:21;9625:5;9622:32;9612:2;;9668:1;9665;9658:12
Swarm Source
ipfs://99fcf5979173c60aff3757f8c69c9ea0371d10744c3df5f6f38b6772e67f4dd9
Loading...
Loading
Loading...
Loading
Loading...
Loading
Net Worth in USD
$0.00
Net Worth in GLMR
Multichain Portfolio | 35 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.