More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 266 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Exit | 19800196 | 211 days ago | IN | 0 ETH | 0.00074821 | ||||
Get Reward | 15076936 | 881 days ago | IN | 0 ETH | 0.00220526 | ||||
Get Reward | 13971631 | 1057 days ago | IN | 0 ETH | 0.00441531 | ||||
Get Reward | 13927514 | 1064 days ago | IN | 0 ETH | 0.00689642 | ||||
Withdraw | 13927514 | 1064 days ago | IN | 0 ETH | 0.01515198 | ||||
Get Reward | 13788271 | 1086 days ago | IN | 0 ETH | 0.00343889 | ||||
Withdraw | 13788265 | 1086 days ago | IN | 0 ETH | 0.01039806 | ||||
Exit | 13285372 | 1165 days ago | IN | 0 ETH | 0.00897424 | ||||
Get Reward | 13079653 | 1197 days ago | IN | 0 ETH | 0.00306229 | ||||
Get Reward | 13065493 | 1199 days ago | IN | 0 ETH | 0.00179642 | ||||
Withdraw | 13035286 | 1204 days ago | IN | 0 ETH | 0.00656193 | ||||
Exit | 12936902 | 1219 days ago | IN | 0 ETH | 0.00370986 | ||||
Get Reward | 12900226 | 1225 days ago | IN | 0 ETH | 0.00191576 | ||||
Withdraw | 12886392 | 1227 days ago | IN | 0 ETH | 0.00230339 | ||||
Exit | 12886114 | 1227 days ago | IN | 0 ETH | 0.00307143 | ||||
Exit | 12809336 | 1239 days ago | IN | 0 ETH | 0.00120663 | ||||
Exit | 12807763 | 1239 days ago | IN | 0 ETH | 0.00262974 | ||||
Withdraw | 12805790 | 1239 days ago | IN | 0 ETH | 0.00189301 | ||||
Exit | 12799449 | 1240 days ago | IN | 0 ETH | 0.00177704 | ||||
Get Reward | 12782015 | 1243 days ago | IN | 0 ETH | 0.00227739 | ||||
Withdraw | 12781666 | 1243 days ago | IN | 0 ETH | 0.00444225 | ||||
Exit | 12771588 | 1245 days ago | IN | 0 ETH | 0.00101144 | ||||
Exit | 12761451 | 1246 days ago | IN | 0 ETH | 0.0015226 | ||||
Get Reward | 12761410 | 1246 days ago | IN | 0 ETH | 0.0003303 | ||||
Withdraw | 12753447 | 1248 days ago | IN | 0 ETH | 0.00113602 |
Latest 1 internal transaction
Advanced mode:
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
11305509 | 1471 days ago | Contract Creation | 0 ETH |
Loading...
Loading
Similar Match Source Code This contract matches the deployed Bytecode of the Source Code for Contract 0x41edC2C7...2b0Fe296d The constructor portion of the code might be different and could alter the actual behaviour of the contract
Contract Name:
SatellitePool
Compiler Version
v0.6.12+commit.27d51765
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2020-11-16 */ // File: contracts\interface\IStakingRewards.sol // SPDX-License-Identifier: MIT pragma solidity ^0.6.12; interface IStakingRewards { // Views function lastTimeRewardApplicable() external view returns (uint256); function rewardPerToken() external view returns (uint256); function earned(address account) external view returns (uint256, uint256); function getRewardForDuration() external view returns (uint256); function totalSupply() external view returns (uint256); function balanceOf(address account) external view returns (uint256); // Mutative function stake(uint256 amount) external; function withdraw(uint256 amount) external; function getReward() external; function exit() external; } // File: contracts\pool\RewardsDistributionRecipient.sol pragma solidity ^0.6.12; abstract contract RewardsDistributionRecipient { address public rewardsDistribution; function notifyRewardAmount(uint256 reward, uint duration) external virtual; modifier onlyRewardsDistribution() { require(msg.sender == rewardsDistribution, "Caller is not RewardsDistribution contract"); _; } } // File: @openzeppelin\contracts\utils\ReentrancyGuard.sol pragma solidity ^0.6.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor () internal { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and make it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } } // File: @openzeppelin\contracts\math\SafeMath.sol pragma solidity ^0.6.0; /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming languages. * `SafeMath` restores this intuition by reverting the transaction when an * operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, 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) { return sub(a, b, "SafeMath: subtraction overflow"); } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * 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); uint256 c = a - b; return c; } /** * @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) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers. Reverts on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return div(a, b, "SafeMath: division by zero"); } /** * @dev Returns the integer division of two unsigned integers. Reverts 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) { require(b > 0, errorMessage); uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts 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 mod(a, b, "SafeMath: modulo by zero"); } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts with custom message 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, string memory errorMessage) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } } // File: @openzeppelin\contracts\math\Math.sol pragma solidity ^0.6.0; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a >= b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow, so we distribute return (a / 2) + (b / 2) + ((a % 2 + b % 2) / 2); } } // File: node_modules\@openzeppelin\contracts\token\ERC20\IERC20.sol pragma solidity ^0.6.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: node_modules\@openzeppelin\contracts\utils\Address.sol pragma solidity ^0.6.2; /** * @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) { // According to EIP-1052, 0x0 is the value returned for not-yet created accounts // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned // for accounts without code, i.e. `keccak256('')` bytes32 codehash; bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470; // solhint-disable-next-line no-inline-assembly assembly { codehash := extcodehash(account) } return (codehash != accountHash && codehash != 0x0); } /** * @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"); return _functionCallWithValue(target, data, value, errorMessage); } function _functionCallWithValue(address target, bytes memory data, uint256 weiValue, string memory errorMessage) private returns (bytes memory) { require(isContract(target), "Address: call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.call{ value: weiValue }(data); if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly // solhint-disable-next-line no-inline-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // File: @openzeppelin\contracts\token\ERC20\SafeERC20.sol pragma solidity ^0.6.0; /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeERC20 { using SafeMath for uint256; using Address for address; function safeTransfer(IERC20 token, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } /** * @dev Deprecated. This function has issues similar to the ones found in * {IERC20-approve}, and its usage is discouraged. * * Whenever possible, use {safeIncreaseAllowance} and * {safeDecreaseAllowance} instead. */ function safeApprove(IERC20 token, address spender, uint256 value) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' // solhint-disable-next-line max-line-length require((value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal { uint256 newAllowance = token.allowance(address(this), spender).add(value); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal { uint256 newAllowance = token.allowance(address(this), spender).sub(value, "SafeERC20: decreased allowance below zero"); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function _callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed"); if (returndata.length > 0) { // Return data is optional // solhint-disable-next-line max-line-length require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } } // File: contracts\pool\StakingRewardsLock.sol pragma solidity ^0.6.12; contract StakingRewardsLock is IStakingRewards, RewardsDistributionRecipient, ReentrancyGuard { using SafeMath for uint; using Math for uint; using SafeERC20 for IERC20; IERC20 public rewardsToken; IERC20 public stakingToken; uint256 public periodFinish = 0; uint256 public rewardRate = 0; uint256 public rewardsDuration; uint256 public lastUpdateTime; uint256 public rewardPerTokenStored; uint256 public lockDuration; mapping(address => uint256) public userRewardPerTokenPaid; mapping(address => uint256) public unlockRewards; mapping(address => uint256) public lockRewards; mapping(address => uint256) public userLockTime; uint256 private _totalSupply; mapping(address => uint256) private _balances; uint public unlockPercent; uint public lockPercent; constructor( address _rewardsDistribution, address _rewardsToken, address _stakingToken, uint256 _lockDuration, uint256 _unlockPercent, uint256 _lockPercent ) public { rewardsToken = IERC20(_rewardsToken); stakingToken = IERC20(_stakingToken); rewardsDistribution = _rewardsDistribution; lockDuration = _lockDuration; unlockPercent = _unlockPercent; lockPercent = _lockPercent; } /* ========== VIEWS ========== */ function totalSupply() external override view returns (uint256) { return _totalSupply; } function balanceOf(address account) external override view returns (uint256) { return _balances[account]; } function lastTimeRewardApplicable() public override view returns (uint256) { return Math.min(block.timestamp, periodFinish); } function rewardPerToken() public override view returns (uint256) { if (_totalSupply == 0) { return rewardPerTokenStored; } return rewardPerTokenStored.add( lastTimeRewardApplicable().sub(lastUpdateTime).mul(rewardRate).mul(1e18).div(_totalSupply) ); } function earned(address account) public override view returns (uint256, uint256) { uint earnedToken = earnedDuration(account); if(block.timestamp >= userLockTime[account]) { uint unlockAmount = unlockRewards[account].add(lockRewards[account]).add(earnedToken); return (unlockAmount, 0); } else { uint unlockAmount = unlockRewards[account].add(earnedToken.mul(unlockPercent).div(100)); uint lockAmount = lockRewards[account].add(earnedToken.mul(lockPercent).div(100)); return (unlockAmount, lockAmount); } } function earnedDuration(address account) internal view returns (uint256) { return _balances[account].mul(rewardPerToken().sub(userRewardPerTokenPaid[account])).div(1e18); } function getRewardForDuration() external override view returns (uint256) { return rewardRate.mul(rewardsDuration); } /* ========== MUTATIVE FUNCTIONS ========== */ function stakeWithPermit(uint256 amount, uint deadline, uint8 v, bytes32 r, bytes32 s) external nonReentrant updateReward(msg.sender) { require(amount > 0, "Cannot stake 0"); if (userLockTime[msg.sender] == 0) { userLockTime[msg.sender] = block.timestamp.add(lockDuration); } _totalSupply = _totalSupply.add(amount); _balances[msg.sender] = _balances[msg.sender].add(amount); // permit IBORERC20(address(stakingToken)).permit(msg.sender, address(this), amount, deadline, v, r, s); stakingToken.safeTransferFrom(msg.sender, address(this), amount); emit Staked(msg.sender, amount); } function stake(uint256 amount) external override nonReentrant updateReward(msg.sender) { require(amount > 0, "Cannot stake 0"); if (userLockTime[msg.sender] == 0) { userLockTime[msg.sender] = block.timestamp.add(lockDuration); } _totalSupply = _totalSupply.add(amount); _balances[msg.sender] = _balances[msg.sender].add(amount); stakingToken.safeTransferFrom(msg.sender, address(this), amount); emit Staked(msg.sender, amount); } function withdraw(uint256 amount) public override virtual nonReentrant updateReward(msg.sender) { require(amount > 0, "Cannot withdraw 0"); _totalSupply = _totalSupply.sub(amount); _balances[msg.sender] = _balances[msg.sender].sub(amount); stakingToken.safeTransfer(msg.sender, amount); emit Withdrawn(msg.sender, amount); } function getReward() public override nonReentrant updateReward(msg.sender) { uint256 reward = unlockRewards[msg.sender]; if (reward > 0) { unlockRewards[msg.sender] = 0; rewardsToken.safeTransfer(msg.sender, reward); emit RewardPaid(msg.sender, reward); } } function exit() external override { withdraw(_balances[msg.sender]); getReward(); } /* ========== RESTRICTED FUNCTIONS ========== */ function notifyRewardAmount(uint256 reward, uint duration) external override onlyRewardsDistribution updateReward(address(0)) { rewardsDuration = duration; if (block.timestamp >= periodFinish) { rewardRate = reward.div(rewardsDuration); } else { uint256 remaining = periodFinish.sub(block.timestamp); uint256 leftover = remaining.mul(rewardRate); rewardRate = reward.add(leftover).div(rewardsDuration); } // Ensure the provided reward amount is not more than the balance in the contract. // This keeps the reward rate in the right range, preventing overflows due to // very high values of rewardRate in the earned and rewardsPerToken functions; // Reward + leftover must be less than 2^256 / 10^18 to avoid overflow. uint balance = rewardsToken.balanceOf(address(this)); require(rewardRate <= balance.div(rewardsDuration), "Provided reward too high"); lastUpdateTime = block.timestamp; periodFinish = block.timestamp.add(rewardsDuration); emit RewardAdded(reward); } /* ========== MODIFIERS ========== */ modifier updateReward(address account) { rewardPerTokenStored = rewardPerToken(); lastUpdateTime = lastTimeRewardApplicable(); if (account != address(0)) { (uint unlock, uint lock) = earned(account); unlockRewards[account] = unlock; lockRewards[account] = lock; userRewardPerTokenPaid[account] = rewardPerTokenStored; } _; } /* ========== EVENTS ========== */ event RewardAdded(uint256 reward); event Staked(address indexed user, uint256 amount); event Withdrawn(address indexed user, uint256 amount); event RewardPaid(address indexed user, uint256 reward); } interface IBORERC20 { function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external; } // File: contracts\interface\IOracle.sol pragma solidity ^0.6.12; interface IOracle { function setPrice(bytes32 _symbol, uint _price) external; function getPrice(bytes32 _symbol) external view returns (uint); } // File: contracts\lib\SafeDecimalMath.sol pragma solidity ^0.6.8; // Libraries // https://docs.synthetix.io/contracts/SafeDecimalMath library SafeDecimalMath { using SafeMath for uint; /* Number of decimal places in the representations. */ uint8 public constant decimals = 18; uint8 public constant highPrecisionDecimals = 27; /* The number representing 1.0. */ uint public constant UNIT = 10**uint(decimals); /* The number representing 1.0 for higher fidelity numbers. */ uint public constant PRECISE_UNIT = 10**uint(highPrecisionDecimals); uint private constant UNIT_TO_HIGH_PRECISION_CONVERSION_FACTOR = 10**uint(highPrecisionDecimals - decimals); /** * @return Provides an interface to UNIT. */ function unit() external pure returns (uint) { return UNIT; } /** * @return Provides an interface to PRECISE_UNIT. */ function preciseUnit() external pure returns (uint) { return PRECISE_UNIT; } /** * @return The result of multiplying x and y, interpreting the operands as fixed-point * decimals. * * @dev A unit factor is divided out after the product of x and y is evaluated, * so that product must be less than 2**256. As this is an integer division, * the internal division always rounds down. This helps save on gas. Rounding * is more expensive on gas. */ function multiplyDecimal(uint x, uint y) internal pure returns (uint) { /* Divide by UNIT to remove the extra factor introduced by the product. */ return x.mul(y) / UNIT; } /** * @return The result of safely multiplying x and y, interpreting the operands * as fixed-point decimals of the specified precision unit. * * @dev The operands should be in the form of a the specified unit factor which will be * divided out after the product of x and y is evaluated, so that product must be * less than 2**256. * * Unlike multiplyDecimal, this function rounds the result to the nearest increment. * Rounding is useful when you need to retain fidelity for small decimal numbers * (eg. small fractions or percentages). */ function _multiplyDecimalRound( uint x, uint y, uint precisionUnit ) private pure returns (uint) { /* Divide by UNIT to remove the extra factor introduced by the product. */ uint quotientTimesTen = x.mul(y) / (precisionUnit / 10); if (quotientTimesTen % 10 >= 5) { quotientTimesTen += 10; } return quotientTimesTen / 10; } /** * @return The result of safely multiplying x and y, interpreting the operands * as fixed-point decimals of a precise unit. * * @dev The operands should be in the precise unit factor which will be * divided out after the product of x and y is evaluated, so that product must be * less than 2**256. * * Unlike multiplyDecimal, this function rounds the result to the nearest increment. * Rounding is useful when you need to retain fidelity for small decimal numbers * (eg. small fractions or percentages). */ function multiplyDecimalRoundPrecise(uint x, uint y) internal pure returns (uint) { return _multiplyDecimalRound(x, y, PRECISE_UNIT); } /** * @return The result of safely multiplying x and y, interpreting the operands * as fixed-point decimals of a standard unit. * * @dev The operands should be in the standard unit factor which will be * divided out after the product of x and y is evaluated, so that product must be * less than 2**256. * * Unlike multiplyDecimal, this function rounds the result to the nearest increment. * Rounding is useful when you need to retain fidelity for small decimal numbers * (eg. small fractions or percentages). */ function multiplyDecimalRound(uint x, uint y) internal pure returns (uint) { return _multiplyDecimalRound(x, y, UNIT); } /** * @return The result of safely dividing x and y. The return value is a high * precision decimal. * * @dev y is divided after the product of x and the standard precision unit * is evaluated, so the product of x and UNIT must be less than 2**256. As * this is an integer division, the result is always rounded down. * This helps save on gas. Rounding is more expensive on gas. */ function divideDecimal(uint x, uint y) internal pure returns (uint) { /* Reintroduce the UNIT factor that will be divided out by y. */ return x.mul(UNIT).div(y); } /** * @return The result of safely dividing x and y. The return value is as a rounded * decimal in the precision unit specified in the parameter. * * @dev y is divided after the product of x and the specified precision unit * is evaluated, so the product of x and the specified precision unit must * be less than 2**256. The result is rounded to the nearest increment. */ function _divideDecimalRound( uint x, uint y, uint precisionUnit ) private pure returns (uint) { uint resultTimesTen = x.mul(precisionUnit * 10).div(y); if (resultTimesTen % 10 >= 5) { resultTimesTen += 10; } return resultTimesTen / 10; } /** * @return The result of safely dividing x and y. The return value is as a rounded * standard precision decimal. * * @dev y is divided after the product of x and the standard precision unit * is evaluated, so the product of x and the standard precision unit must * be less than 2**256. The result is rounded to the nearest increment. */ function divideDecimalRound(uint x, uint y) internal pure returns (uint) { return _divideDecimalRound(x, y, UNIT); } /** * @return The result of safely dividing x and y. The return value is as a rounded * high precision decimal. * * @dev y is divided after the product of x and the high precision unit * is evaluated, so the product of x and the high precision unit must * be less than 2**256. The result is rounded to the nearest increment. */ function divideDecimalRoundPrecise(uint x, uint y) internal pure returns (uint) { return _divideDecimalRound(x, y, PRECISE_UNIT); } /** * @dev Convert a standard decimal representation to a high precision one. */ function decimalToPreciseDecimal(uint i) internal pure returns (uint) { return i.mul(UNIT_TO_HIGH_PRECISION_CONVERSION_FACTOR); } /** * @dev Convert a high precision decimal to a standard decimal representation. */ function preciseDecimalToDecimal(uint i) internal pure returns (uint) { uint quotientTimesTen = i / (UNIT_TO_HIGH_PRECISION_CONVERSION_FACTOR / 10); if (quotientTimesTen % 10 >= 5) { quotientTimesTen += 10; } return quotientTimesTen / 10; } } // File: contracts\interface\ILiquidate.sol pragma solidity ^0.6.12; interface ILiquidate { function liquidate(address account) external; } // File: node_modules\@openzeppelin\contracts\GSN\Context.sol pragma solidity ^0.6.0; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with GSN meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address payable) { return msg.sender; } function _msgData() internal view virtual returns (bytes memory) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } } // File: @openzeppelin\contracts\utils\Pausable.sol pragma solidity ^0.6.0; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor () internal { _paused = false; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view returns (bool) { return _paused; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { require(!_paused, "Pausable: paused"); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { require(_paused, "Pausable: not paused"); _; } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } } // File: contracts\interface\IPause.sol pragma solidity ^0.6.12; interface IPause { function pause() external; function unpause() external; } // File: contracts\pool\SatellitePool.sol pragma solidity ^0.6.12; contract SatellitePool is StakingRewardsLock, ILiquidate, Pausable, IPause{ using SafeDecimalMath for uint; address public liquidation; IOracle public oracle; bytes32 public stakingTokenSymbol; address public owner; uint256 public diffDecimal; constructor( address _liquidation, address _rewardsDistribution, address _rewardsToken, address _stakingToken, address _oracle, bytes32 _sts, uint256 _lockDuration, uint256 _unlockPercent, uint256 _lockPercent, address _owner, uint256 _diffDecimal ) public StakingRewardsLock(_rewardsDistribution, _rewardsToken, _stakingToken, _lockDuration, _unlockPercent, _lockPercent) { liquidation = _liquidation; oracle = IOracle(_oracle); stakingTokenSymbol = _sts; owner = _owner; diffDecimal = _diffDecimal; } function liquidate(address account) public override onlyLiquidation { stakingToken.safeTransfer(account, stakingToken.balanceOf(address(this))); } function tvl() public view returns(uint){ uint tokenAmount = stakingToken.balanceOf(address(this)); uint price = oracle.getPrice(stakingTokenSymbol); return tokenAmount.mul(10**(diffDecimal)).multiplyDecimal(price); } function withdraw(uint amount) public override whenNotPaused{ super.withdraw(amount); } function pause() public override onlyLiquidation { _pause(); } function unpause() public override onlyLiquidation { _unpause(); } function setLiquidation(address liqui) public onlyOwner { liquidation = liqui; } modifier onlyLiquidation { require(msg.sender == liquidation, "caller is not liquidator"); _; } modifier onlyOwner() { require(owner == msg.sender, "SatellitePool: caller is not the owner"); _; } function transferOwnership(address newOwner) public onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); owner = newOwner; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_liquidation","type":"address"},{"internalType":"address","name":"_rewardsDistribution","type":"address"},{"internalType":"address","name":"_rewardsToken","type":"address"},{"internalType":"address","name":"_stakingToken","type":"address"},{"internalType":"address","name":"_oracle","type":"address"},{"internalType":"bytes32","name":"_sts","type":"bytes32"},{"internalType":"uint256","name":"_lockDuration","type":"uint256"},{"internalType":"uint256","name":"_unlockPercent","type":"uint256"},{"internalType":"uint256","name":"_lockPercent","type":"uint256"},{"internalType":"address","name":"_owner","type":"address"},{"internalType":"uint256","name":"_diffDecimal","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"reward","type":"uint256"}],"name":"RewardAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"reward","type":"uint256"}],"name":"RewardPaid","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Staked","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdrawn","type":"event"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"diffDecimal","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"earned","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"exit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getRewardForDuration","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastTimeRewardApplicable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastUpdateTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"liquidate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"liquidation","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lockDuration","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lockPercent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"lockRewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"reward","type":"uint256"},{"internalType":"uint256","name":"duration","type":"uint256"}],"name":"notifyRewardAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"oracle","outputs":[{"internalType":"contract IOracle","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"periodFinish","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardPerToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardPerTokenStored","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardsDistribution","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardsDuration","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardsToken","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"liqui","type":"address"}],"name":"setLiquidation","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"stake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"stakeWithPermit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stakingToken","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"stakingTokenSymbol","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"tvl","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"unlockPercent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"unlockRewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userLockTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userRewardPerTokenPaid","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061023c5760003560e01c806380faa57d1161013b578063c8f33c91116100b8578063e9fad8ee1161007c578063e9fad8ee146104e3578063ebe2b12b146104eb578063ecd9ba82146104f3578063f2dfbf661461052b578063f2fde38b146105335761023c565b8063c8f33c91146104bb578063cd3daf9d146104c3578063d1af0c7d146104cb578063df136d65146104d3578063e5328e06146104db5761023c565b806391030cb6116100ff57806391030cb614610442578063940711611461044a578063a694fc3a14610470578063ab919ee31461048d578063ac0ed758146104b35761023c565b806380faa57d146103de5780638456cb59146103e6578063876e65ff146103ee5780638b876347146104145780638da5cb5b1461043a5761023c565b80633f4ba83a116101c957806370a082311161018d57806370a082311461039857806372f702f3146103be578063756688c0146103c65780637b0a47ee146103ce5780637dc0d1d0146103d65761023c565b80633f4ba83a146103225780633fc6df6e1461032a57806347cae4481461034e5780635a9a93fc146103565780635c975abb1461037c5761023c565b8063246132f911610210578063246132f9146102aa5780632e1a7d4d146102cf5780632f865568146102ec578063386a9525146103125780633d18b9121461031a5761023c565b80628cc26214610241578063045544431461028057806318160ddd1461029a5780631c1f78eb146102a2575b600080fd5b6102676004803603602081101561025757600080fd5b50356001600160a01b0316610559565b6040805192835260208301919091528051918290030190f35b610288610667565b60408051918252519081900360200190f35b61028861066d565b610288610674565b6102cd600480360360408110156102c057600080fd5b5080359060200135610692565b005b6102cd600480360360208110156102e557600080fd5b50356108dc565b6102cd6004803603602081101561030257600080fd5b50356001600160a01b0316610933565b610288610a22565b6102cd610a28565b6102cd610b5d565b610332610bc6565b604080516001600160a01b039092168252519081900360200190f35b610288610bd5565b6102886004803603602081101561036c57600080fd5b50356001600160a01b0316610bdb565b610384610bed565b604080519115158252519081900360200190f35b610288600480360360208110156103ae57600080fd5b50356001600160a01b0316610bf6565b610332610c11565b610288610c20565b610288610c26565b610332610c2c565b610288610c3b565b6102cd610c49565b6102886004803603602081101561040457600080fd5b50356001600160a01b0316610cb0565b6102886004803603602081101561042a57600080fd5b50356001600160a01b0316610cc2565b610332610cd4565b610288610ce3565b6102886004803603602081101561046057600080fd5b50356001600160a01b0316610ce9565b6102cd6004803603602081101561048657600080fd5b5035610cfb565b6102cd600480360360208110156104a357600080fd5b50356001600160a01b0316610ec0565b610288610f31565b610288610f37565b610288610f3d565b610332610f91565b610288610fa0565b610288610fa6565b6102cd6110ca565b6102886110eb565b6102cd600480360360a081101561050957600080fd5b5080359060208101359060ff60408201351690606081013590608001356110f1565b610332611345565b6102cd6004803603602081101561054957600080fd5b50356001600160a01b0316611359565b600080600061056784611409565b6001600160a01b0385166000908152600d602052604090205490915042106105d0576001600160a01b0384166000908152600c6020908152604080832054600b9092528220546105c29184916105bc91611465565b90611465565b935060009250610662915050565b60006106146105f560646105ef601054866114c690919063ffffffff16565b9061151f565b6001600160a01b0387166000908152600b602052604090205490611465565b9050600061065461063560646105ef601154876114c690919063ffffffff16565b6001600160a01b0388166000908152600c602052604090205490611465565b919450909250610662915050565b915091565b60095481565b600e545b90565b600061068d6006546005546114c690919063ffffffff16565b905090565b6000546001600160a01b031633146106db5760405162461bcd60e51b815260040180806020018281038252602a815260200180611d43602a913960400191505060405180910390fd5b60006106e5610f3d565b6008556106f0610c3b565b6007556001600160a01b038116156107485760008061070e83610559565b6001600160a01b0385166000908152600b6020908152604080832094909455600c815283822092909255600854600a909252919091205550505b6006829055600454421061076c5760065461076490849061151f565b6005556107af565b60045460009061077c9042611561565b90506000610795600554836114c690919063ffffffff16565b6006549091506107a9906105ef8784611465565b60055550505b600254604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b1580156107fa57600080fd5b505afa15801561080e573d6000803e3d6000fd5b505050506040513d602081101561082457600080fd5b505160065490915061083790829061151f565b600554111561088d576040805162461bcd60e51b815260206004820152601860248201527f50726f76696465642072657761726420746f6f20686967680000000000000000604482015290519081900360640190fd5b4260078190556006546108a09190611465565b6004556040805185815290517fde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d9181900360200190a150505050565b60125460ff1615610927576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b610930816115a3565b50565b60125461010090046001600160a01b03163314610992576040805162461bcd60e51b815260206004820152601860248201527731b0b63632b91034b9903737ba103634b8bab4b230ba37b960411b604482015290519081900360640190fd5b600354604080516370a0823160e01b815230600482015290516109309284926001600160a01b03909116916370a0823191602480820192602092909190829003018186803b1580156109e357600080fd5b505afa1580156109f7573d6000803e3d6000fd5b505050506040513d6020811015610a0d57600080fd5b50516003546001600160a01b03169190611737565b60065481565b60026001541415610a6e576040805162461bcd60e51b815260206004820152601f6024820152600080516020611cb6833981519152604482015290519081900360640190fd5b600260015533610a7c610f3d565b600855610a87610c3b565b6007556001600160a01b03811615610adf57600080610aa583610559565b6001600160a01b0385166000908152600b6020908152604080832094909455600c815283822092909255600854600a909252919091205550505b336000908152600b60205260409020548015610b5557336000818152600b6020526040812055600254610b1e916001600160a01b039091169083611737565b60408051828152905133917fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486919081900360200190a25b505060018055565b60125461010090046001600160a01b03163314610bbc576040805162461bcd60e51b815260206004820152601860248201527731b0b63632b91034b9903737ba103634b8bab4b230ba37b960411b604482015290519081900360640190fd5b610bc461178e565b565b6000546001600160a01b031681565b60165481565b600d6020526000908152604090205481565b60125460ff1690565b6001600160a01b03166000908152600f602052604090205490565b6003546001600160a01b031681565b60105481565b60055481565b6013546001600160a01b031681565b600061068d4260045461182c565b60125461010090046001600160a01b03163314610ca8576040805162461bcd60e51b815260206004820152601860248201527731b0b63632b91034b9903737ba103634b8bab4b230ba37b960411b604482015290519081900360640190fd5b610bc4611842565b600b6020526000908152604090205481565b600a6020526000908152604090205481565b6015546001600160a01b031681565b60115481565b600c6020526000908152604090205481565b60026001541415610d41576040805162461bcd60e51b815260206004820152601f6024820152600080516020611cb6833981519152604482015290519081900360640190fd5b600260015533610d4f610f3d565b600855610d5a610c3b565b6007556001600160a01b03811615610db257600080610d7883610559565b6001600160a01b0385166000908152600b6020908152604080832094909455600c815283822092909255600854600a909252919091205550505b60008211610df8576040805162461bcd60e51b815260206004820152600e60248201526d043616e6e6f74207374616b6520360941b604482015290519081900360640190fd5b336000908152600d6020526040902054610e2b57600954610e1a904290611465565b336000908152600d60205260409020555b600e54610e389083611465565b600e55336000908152600f6020526040902054610e559083611465565b336000818152600f6020526040902091909155600354610e82916001600160a01b039091169030856118c3565b60408051838152905133917f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d919081900360200190a2505060018055565b6015546001600160a01b03163314610f095760405162461bcd60e51b8152600401808060200182810382526026815260200180611cd66026913960400191505060405180910390fd5b601280546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b60145481565b60075481565b6000600e5460001415610f535750600854610671565b61068d610f88600e546105ef670de0b6b3a7640000610f82600554610f82600754610f7c610c3b565b90611561565b906114c6565b60085490611465565b6002546001600160a01b031681565b60085481565b600354604080516370a0823160e01b8152306004820152905160009283926001600160a01b03909116916370a0823191602480820192602092909190829003018186803b158015610ff657600080fd5b505afa15801561100a573d6000803e3d6000fd5b505050506040513d602081101561102057600080fd5b5051601354601454604080516331d98b3f60e01b81526004810192909252519293506000926001600160a01b03909216916331d98b3f91602480820192602092909190829003018186803b15801561107757600080fd5b505afa15801561108b573d6000803e3d6000fd5b505050506040513d60208110156110a157600080fd5b50516016549091506110c39082906110bd908590600a0a6114c6565b90611923565b9250505090565b336000908152600f60205260409020546110e3906108dc565b610bc4610a28565b60045481565b60026001541415611137576040805162461bcd60e51b815260206004820152601f6024820152600080516020611cb6833981519152604482015290519081900360640190fd5b600260015533611145610f3d565b600855611150610c3b565b6007556001600160a01b038116156111a85760008061116e83610559565b6001600160a01b0385166000908152600b6020908152604080832094909455600c815283822092909255600854600a909252919091205550505b600086116111ee576040805162461bcd60e51b815260206004820152600e60248201526d043616e6e6f74207374616b6520360941b604482015290519081900360640190fd5b336000908152600d602052604090205461122157600954611210904290611465565b336000908152600d60205260409020555b600e5461122e9087611465565b600e55336000908152600f602052604090205461124b9087611465565b336000818152600f602052604080822093909355600354835163d505accf60e01b81526004810193909352306024840152604483018a90526064830189905260ff8816608484015260a4830187905260c4830186905292516001600160a01b039093169263d505accf9260e480820193929182900301818387803b1580156112d257600080fd5b505af11580156112e6573d6000803e3d6000fd5b505060035461130392506001600160a01b031690503330896118c3565b60408051878152905133917f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d919081900360200190a250506001805550505050565b60125461010090046001600160a01b031681565b6015546001600160a01b031633146113a25760405162461bcd60e51b8152600401808060200182810382526026815260200180611cd66026913960400191505060405180910390fd5b6001600160a01b0381166113e75760405162461bcd60e51b8152600401808060200182810382526026815260200180611cfc6026913960400191505060405180910390fd5b601580546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b0381166000908152600a602052604081205461145f90670de0b6b3a7640000906105ef9061144090610f7c610f3d565b6001600160a01b0386166000908152600f6020526040902054906114c6565b92915050565b6000828201838110156114bf576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b6000826114d55750600061145f565b828202828482816114e257fe5b04146114bf5760405162461bcd60e51b8152600401808060200182810382526021815260200180611d226021913960400191505060405180910390fd5b60006114bf83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611947565b60006114bf83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506119e9565b600260015414156115e9576040805162461bcd60e51b815260206004820152601f6024820152600080516020611cb6833981519152604482015290519081900360640190fd5b6002600155336115f7610f3d565b600855611602610c3b565b6007556001600160a01b0381161561165a5760008061162083610559565b6001600160a01b0385166000908152600b6020908152604080832094909455600c815283822092909255600854600a909252919091205550505b600082116116a3576040805162461bcd60e51b8152602060048201526011602482015270043616e6e6f74207769746864726177203607c1b604482015290519081900360640190fd5b600e546116b09083611561565b600e55336000908152600f60205260409020546116cd9083611561565b336000818152600f60205260409020919091556003546116f9916001600160a01b039091169084611737565b60408051838152905133917f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5919081900360200190a2505060018055565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052611789908490611a43565b505050565b60125460ff166117dc576040805162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604482015290519081900360640190fd5b6012805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa61180f611af4565b604080516001600160a01b039092168252519081900360200190a1565b600081831061183b57816114bf565b5090919050565b60125460ff161561188d576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b6012805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25861180f611af4565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b17905261191d908590611a43565b50505050565b6000670de0b6b3a764000061193884846114c6565b8161193f57fe5b049392505050565b600081836119d35760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611998578181015183820152602001611980565b50505050905090810190601f1680156119c55780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385816119df57fe5b0495945050505050565b60008184841115611a3b5760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315611998578181015183820152602001611980565b505050900390565b6060611a98826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316611af89092919063ffffffff16565b80519091501561178957808060200190516020811015611ab757600080fd5b50516117895760405162461bcd60e51b815260040180806020018281038252602a815260200180611d6d602a913960400191505060405180910390fd5b3390565b6060611b078484600085611b0f565b949350505050565b6060611b1a85611c7c565b611b6b576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b60208310611baa5780518252601f199092019160209182019101611b8b565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114611c0c576040519150601f19603f3d011682016040523d82523d6000602084013e611c11565b606091505b50915091508115611c25579150611b079050565b805115611c355780518082602001fd5b60405162461bcd60e51b8152602060048201818152865160248401528651879391928392604401919085019080838360008315611998578181015183820152602001611980565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470818114801590611b0757505015159291505056fe5265656e7472616e637947756172643a207265656e7472616e742063616c6c00536174656c6c697465506f6f6c3a2063616c6c6572206973206e6f7420746865206f776e65724f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7743616c6c6572206973206e6f742052657761726473446973747269627574696f6e20636f6e74726163745361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a2646970667358221220eb5aa248e29f70f08c78a10ae2b1036078b55bfc3926afbd14697aa85079fe9164736f6c634300060c0033
Deployed Bytecode Sourcemap
41421:2216:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25147:612;;;;;;;;;;;;;;;;-1:-1:-1;25147:612:0;-1:-1:-1;;;;;25147:612:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;23450:27;;;:::i;:::-;;;;;;;;;;;;;;;;24413:102;;;:::i;25963:130::-;;;:::i;28253:1145::-;;;;;;;;;;;;;;;;-1:-1:-1;28253:1145:0;;;;;;;:::i;:::-;;42812:101;;;;;;;;;;;;;;;;-1:-1:-1;42812:101:0;;:::i;42383:160::-;;;;;;;;;;;;;;;;-1:-1:-1;42383:160:0;-1:-1:-1;;;;;42383:160:0;;:::i;23335:30::-;;;:::i;27747:328::-;;;:::i;43006:80::-;;;:::i;929:34::-;;;:::i;:::-;;;;-1:-1:-1;;;;;929:34:0;;;;;;;;;;;;;;41669:26;;;:::i;23658:47::-;;;;;;;;;;;;;;;;-1:-1:-1;23658:47:0;-1:-1:-1;;;;;23658:47:0;;:::i;40010:78::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;24523:121;;;;;;;;;;;;;;;;-1:-1:-1;24523:121:0;-1:-1:-1;;;;;24523:121:0;;:::i;23228:26::-;;;:::i;23803:25::-;;;:::i;23299:29::-;;;:::i;41574:21::-;;;:::i;24652:140::-;;;:::i;42922:76::-;;;:::i;23550:48::-;;;;;;;;;;;;;;;;-1:-1:-1;23550:48:0;-1:-1:-1;;;;;23550:48:0;;:::i;23486:57::-;;;;;;;;;;;;;;;;-1:-1:-1;23486:57:0;-1:-1:-1;;;;;23486:57:0;;:::i;41642:20::-;;;:::i;23835:23::-;;;:::i;23605:46::-;;;;;;;;;;;;;;;;-1:-1:-1;23605:46:0;-1:-1:-1;;;;;23605:46:0;;:::i;26847:510::-;;;;;;;;;;;;;;;;-1:-1:-1;26847:510:0;;:::i;43094:94::-;;;;;;;;;;;;;;;;-1:-1:-1;43094:94:0;-1:-1:-1;;;;;43094:94:0;;:::i;41602:33::-;;;:::i;23372:29::-;;;:::i;24800:339::-;;;:::i;23195:26::-;;;:::i;23408:35::-;;;:::i;42551:249::-;;;:::i;28083:106::-;;;:::i;23261:31::-;;;:::i;26155:684::-;;;;;;;;;;;;;;;;-1:-1:-1;26155:684:0;;;;;;;;;;;;;;;;;;;;;;;;:::i;41541:26::-;;;:::i;43453:181::-;;;;;;;;;;;;;;;;-1:-1:-1;43453:181:0;-1:-1:-1;;;;;43453:181:0;;:::i;25147:612::-;25210:7;25219;25239:16;25258:23;25273:7;25258:14;:23::i;:::-;-1:-1:-1;;;;;25314:21:0;;;;;;:12;:21;;;;;;25239:42;;-1:-1:-1;25295:15:0;:40;25292:460;;-1:-1:-1;;;;;25399:20:0;;25352:17;25399:20;;;:11;:20;;;;;;;;;25372:13;:22;;;;;;:65;;25425:11;;25372:48;;:26;:48::i;:::-;:52;;:65::i;:::-;25352:85;-1:-1:-1;25474:1:0;;-1:-1:-1;25452:24:0;;-1:-1:-1;;25452:24:0;25292:460;25509:17;25529:67;25556:39;25591:3;25556:30;25572:13;;25556:11;:15;;:30;;;;:::i;:::-;:34;;:39::i;:::-;-1:-1:-1;;;;;25529:22:0;;;;;;:13;:22;;;;;;;:26;:67::i;:::-;25509:87;;25611:15;25629:63;25654:37;25687:3;25654:28;25670:11;;25654;:15;;:28;;;;:::i;:37::-;-1:-1:-1;;;;;25629:20:0;;;;;;:11;:20;;;;;;;:24;:63::i;:::-;25715:12;;-1:-1:-1;25611:81:0;;-1:-1:-1;25707:33:0;;-1:-1:-1;;25707:33:0;25147:612;;;;:::o;23450:27::-;;;;:::o;24413:102::-;24495:12;;24413:102;;:::o;25963:130::-;26027:7;26054:31;26069:15;;26054:10;;:14;;:31;;;;:::i;:::-;26047:38;;25963:130;:::o;28253:1145::-;1124:19;;-1:-1:-1;;;;;1124:19:0;1110:10;:33;1102:88;;;;-1:-1:-1;;;1102:88:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28375:1:::1;29524:16;:14;:16::i;:::-;29501:20;:39:::0;29568:26:::1;:24;:26::i;:::-;29551:14;:43:::0;-1:-1:-1;;;;;29609:21:0;::::1;::::0;29605:253:::1;;29648:11;29661:9:::0;29674:15:::1;29681:7;29674:6;:15::i;:::-;-1:-1:-1::0;;;;;29704:22:0;::::1;;::::0;;;:13:::1;:22;::::0;;;;;;;:31;;;;29750:11:::1;:20:::0;;;;;:27;;;;29826:20:::1;::::0;29792:22:::1;:31:::0;;;;;;;:54;-1:-1:-1;;29605:253:0::1;28390:15:::2;:26:::0;;;28450:12:::2;::::0;28431:15:::2;:31;28427:319;;28504:15;::::0;28493:27:::2;::::0;:6;;:10:::2;:27::i;:::-;28480:10;:40:::0;28427:319:::2;;;28573:12;::::0;28553:17:::2;::::0;28573:33:::2;::::0;28590:15:::2;28573:16;:33::i;:::-;28553:53;;28621:16;28640:25;28654:10;;28640:9;:13;;:25;;;;:::i;:::-;28718:15;::::0;28621:44;;-1:-1:-1;28693:41:0::2;::::0;:20:::2;:6:::0;28621:44;28693:10:::2;:20::i;:41::-;28680:10;:54:::0;-1:-1:-1;;28427:319:0::2;29121:12;::::0;:37:::2;::::0;;-1:-1:-1;;;29121:37:0;;29152:4:::2;29121:37;::::0;::::2;::::0;;;29106:12:::2;::::0;-1:-1:-1;;;;;29121:12:0::2;::::0;:22:::2;::::0;:37;;;;;::::2;::::0;;;;;;;;:12;:37;::::2;;::::0;::::2;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;::::0;::::2;;-1:-1:-1::0;29121:37:0;29203:15:::2;::::0;29121:37;;-1:-1:-1;29191:28:0::2;::::0;29121:37;;29191:11:::2;:28::i;:::-;29177:10;;:42;;29169:79;;;::::0;;-1:-1:-1;;;29169:79:0;;::::2;;::::0;::::2;::::0;::::2;::::0;;;;::::2;::::0;;;;;;;;;;;;;::::2;;29278:15;29261:14;:32:::0;;;29339:15:::2;::::0;29319:36:::2;::::0;29278:15;29319:19:::2;:36::i;:::-;29304:12;:51:::0;29371:19:::2;::::0;;;;;;;::::2;::::0;;;;::::2;::::0;;::::2;29868:1;1201::::1;28253:1145:::0;;:::o;42812:101::-;40328:7;;;;40327:8;40319:37;;;;;-1:-1:-1;;;40319:37:0;;;;;;;;;;;;-1:-1:-1;;;40319:37:0;;;;;;;;;;;;;;;42883:22:::1;42898:6;42883:14;:22::i;:::-;42812:101:::0;:::o;42383:160::-;43254:11;;;;;-1:-1:-1;;;;;43254:11:0;43240:10;:25;43232:62;;;;;-1:-1:-1;;;43232:62:0;;;;;;;;;;;;-1:-1:-1;;;43232:62:0;;;;;;;;;;;;;;;42497:12:::1;::::0;:37:::1;::::0;;-1:-1:-1;;;42497:37:0;;42528:4:::1;42497:37;::::0;::::1;::::0;;;42462:73:::1;::::0;42488:7;;-1:-1:-1;;;;;42497:12:0;;::::1;::::0;:22:::1;::::0;:37;;;;;::::1;::::0;;;;;;;;;:12;:37;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;42497:37:0;42462:12:::1;::::0;-1:-1:-1;;;;;42462:12:0::1;::::0;:73;:25:::1;:73::i;23335:30::-:0;;;;:::o;27747:328::-;2948:1;3554:7;;:19;;3546:63;;;;;-1:-1:-1;;;3546:63:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;3546:63:0;;;;;;;;;;;;;;;2948:1;3687:7;:18;27810:10:::1;29524:16;:14;:16::i;:::-;29501:20;:39:::0;29568:26:::1;:24;:26::i;:::-;29551:14;:43:::0;-1:-1:-1;;;;;29609:21:0;::::1;::::0;29605:253:::1;;29648:11;29661:9:::0;29674:15:::1;29681:7;29674:6;:15::i;:::-;-1:-1:-1::0;;;;;29704:22:0;::::1;;::::0;;;:13:::1;:22;::::0;;;;;;;:31;;;;29750:11:::1;:20:::0;;;;;:27;;;;29826:20:::1;::::0;29792:22:::1;:31:::0;;;;;;;:54;-1:-1:-1;;29605:253:0::1;27864:10:::2;27833:14;27850:25:::0;;;:13:::2;:25;::::0;;;;;27890:10;;27886:182:::2;;27931:10;27945:1;27917:25:::0;;;:13:::2;:25;::::0;;;;:29;27961:12:::2;::::0;:45:::2;::::0;-1:-1:-1;;;;;27961:12:0;;::::2;::::0;27999:6;27961:25:::2;:45::i;:::-;28026:30;::::0;;;;;;;28037:10:::2;::::0;28026:30:::2;::::0;;;;;::::2;::::0;;::::2;27886:182;-1:-1:-1::0;;2904:1:0;3866:22;;27747:328::o;43006:80::-;43254:11;;;;;-1:-1:-1;;;;;43254:11:0;43240:10;:25;43232:62;;;;;-1:-1:-1;;;43232:62:0;;;;;;;;;;;;-1:-1:-1;;;43232:62:0;;;;;;;;;;;;;;;43068:10:::1;:8;:10::i;:::-;43006:80::o:0;929:34::-;;;-1:-1:-1;;;;;929:34:0;;:::o;41669:26::-;;;;:::o;23658:47::-;;;;;;;;;;;;;:::o;40010:78::-;40073:7;;;;40010:78;:::o;24523:121::-;-1:-1:-1;;;;;24618:18:0;24591:7;24618:18;;;:9;:18;;;;;;;24523:121::o;23228:26::-;;;-1:-1:-1;;;;;23228:26:0;;:::o;23803:25::-;;;;:::o;23299:29::-;;;;:::o;41574:21::-;;;-1:-1:-1;;;;;41574:21:0;;:::o;24652:140::-;24718:7;24745:39;24754:15;24771:12;;24745:8;:39::i;42922:76::-;43254:11;;;;;-1:-1:-1;;;;;43254:11:0;43240:10;:25;43232:62;;;;;-1:-1:-1;;;43232:62:0;;;;;;;;;;;;-1:-1:-1;;;43232:62:0;;;;;;;;;;;;;;;42982:8:::1;:6;:8::i;23550:48::-:0;;;;;;;;;;;;;:::o;23486:57::-;;;;;;;;;;;;;:::o;41642:20::-;;;-1:-1:-1;;;;;41642:20:0;;:::o;23835:23::-;;;;:::o;23605:46::-;;;;;;;;;;;;;:::o;26847:510::-;2948:1;3554:7;;:19;;3546:63;;;;;-1:-1:-1;;;3546:63:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;3546:63:0;;;;;;;;;;;;;;;2948:1;3687:7;:18;26922:10:::1;29524:16;:14;:16::i;:::-;29501:20;:39:::0;29568:26:::1;:24;:26::i;:::-;29551:14;:43:::0;-1:-1:-1;;;;;29609:21:0;::::1;::::0;29605:253:::1;;29648:11;29661:9:::0;29674:15:::1;29681:7;29674:6;:15::i;:::-;-1:-1:-1::0;;;;;29704:22:0;::::1;;::::0;;;:13:::1;:22;::::0;;;;;;;:31;;;;29750:11:::1;:20:::0;;;;;:27;;;;29826:20:::1;::::0;29792:22:::1;:31:::0;;;;;;;:54;-1:-1:-1;;29605:253:0::1;26962:1:::2;26953:6;:10;26945:37;;;::::0;;-1:-1:-1;;;26945:37:0;;::::2;;::::0;::::2;::::0;::::2;::::0;;;;-1:-1:-1;;;26945:37:0;;;;;;;;;;;;;::::2;;27010:10;26997:24;::::0;;;:12:::2;:24;::::0;;;;;26993:122:::2;;27090:12;::::0;27070:33:::2;::::0;:15:::2;::::0;:19:::2;:33::i;:::-;27056:10;27043:24;::::0;;;:12:::2;:24;::::0;;;;:60;26993:122:::2;27140:12;::::0;:24:::2;::::0;27157:6;27140:16:::2;:24::i;:::-;27125:12;:39:::0;27209:10:::2;27199:21;::::0;;;:9:::2;:21;::::0;;;;;:33:::2;::::0;27225:6;27199:25:::2;:33::i;:::-;27185:10;27175:21;::::0;;;:9:::2;:21;::::0;;;;:57;;;;27243:12:::2;::::0;:64:::2;::::0;-1:-1:-1;;;;;27243:12:0;;::::2;::::0;27293:4:::2;27300:6:::0;27243:29:::2;:64::i;:::-;27323:26;::::0;;;;;;;27330:10:::2;::::0;27323:26:::2;::::0;;;;;::::2;::::0;;::::2;-1:-1:-1::0;;2904:1:0;3866:22;;26847:510::o;43094:94::-;43363:5;;-1:-1:-1;;;;;43363:5:0;43372:10;43363:19;43355:70;;;;-1:-1:-1;;;43355:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43161:11:::1;:19:::0;;-1:-1:-1;;;;;43161:19:0;;::::1;;;-1:-1:-1::0;;;;;;43161:19:0;;::::1;::::0;;;::::1;::::0;;43094:94::o;41602:33::-;;;;:::o;23372:29::-;;;;:::o;24800:339::-;24856:7;24880:12;;24896:1;24880:17;24876:77;;;-1:-1:-1;24921:20:0;;24914:27;;24876:77;24983:148;25026:90;25103:12;;25026:72;25093:4;25026:62;25077:10;;25026:46;25057:14;;25026:26;:24;:26::i;:::-;:30;;:46::i;:::-;:50;;:62::i;:90::-;24983:20;;;:24;:148::i;23195:26::-;;;-1:-1:-1;;;;;23195:26:0;;:::o;23408:35::-;;;;:::o;42551:249::-;42621:12;;:37;;;-1:-1:-1;;;42621:37:0;;42652:4;42621:37;;;;;;42586:4;;;;-1:-1:-1;;;;;42621:12:0;;;;:22;;:37;;;;;;;;;;;;;;;:12;:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;42621:37:0;42682:6;;42698:18;;42682:35;;;-1:-1:-1;;;42682:35:0;;;;;;;;;;42621:37;;-1:-1:-1;42669:10:0;;-1:-1:-1;;;;;42682:6:0;;;;:15;;:35;;;;;42621:37;;42682:35;;;;;;;;:6;:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;42682:35:0;42756:11;;42682:35;;-1:-1:-1;42735:57:0;;42682:35;;42735:34;;:11;;42751:2;:17;42735:15;:34::i;:::-;:50;;:57::i;:::-;42728:64;;;;42551:249;:::o;28083:106::-;28147:10;28137:21;;;;:9;:21;;;;;;28128:31;;:8;:31::i;:::-;28170:11;:9;:11::i;23261:31::-;;;;:::o;26155:684::-;2948:1;3554:7;;:19;;3546:63;;;;;-1:-1:-1;;;3546:63:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;3546:63:0;;;;;;;;;;;;;;;2948:1;3687:7;:18;26277:10:::1;29524:16;:14;:16::i;:::-;29501:20;:39:::0;29568:26:::1;:24;:26::i;:::-;29551:14;:43:::0;-1:-1:-1;;;;;29609:21:0;::::1;::::0;29605:253:::1;;29648:11;29661:9:::0;29674:15:::1;29681:7;29674:6;:15::i;:::-;-1:-1:-1::0;;;;;29704:22:0;::::1;;::::0;;;:13:::1;:22;::::0;;;;;;;:31;;;;29750:11:::1;:20:::0;;;;;:27;;;;29826:20:::1;::::0;29792:22:::1;:31:::0;;;;;;;:54;-1:-1:-1;;29605:253:0::1;26317:1:::2;26308:6;:10;26300:37;;;::::0;;-1:-1:-1;;;26300:37:0;;::::2;;::::0;::::2;::::0;::::2;::::0;;;;-1:-1:-1;;;26300:37:0;;;;;;;;;;;;;::::2;;26365:10;26352:24;::::0;;;:12:::2;:24;::::0;;;;;26348:122:::2;;26445:12;::::0;26425:33:::2;::::0;:15:::2;::::0;:19:::2;:33::i;:::-;26411:10;26398:24;::::0;;;:12:::2;:24;::::0;;;;:60;26348:122:::2;26495:12;::::0;:24:::2;::::0;26512:6;26495:16:::2;:24::i;:::-;26480:12;:39:::0;26564:10:::2;26554:21;::::0;;;:9:::2;:21;::::0;;;;;:33:::2;::::0;26580:6;26554:25:::2;:33::i;:::-;26540:10;26530:21;::::0;;;:9:::2;:21;::::0;;;;;:57;;;;26637:12:::2;::::0;26619:93;;-1:-1:-1;;;26619:93:0;;::::2;::::0;::::2;::::0;;;;26679:4:::2;26619:93:::0;;;;;;;;;;;;;;;;::::2;::::0;::::2;::::0;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;26637:12:0;;::::2;::::0;26619:39:::2;::::0;:93;;;;;26530:21;26619:93;;;;;;26530:21;26637:12;26619:93;::::2;;::::0;::::2;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;-1:-1:-1::0;;26725:12:0::2;::::0;:64:::2;::::0;-1:-1:-1;;;;;;26725:12:0::2;::::0;-1:-1:-1;26755:10:0::2;26775:4;26782:6:::0;26725:29:::2;:64::i;:::-;26805:26;::::0;;;;;;;26812:10:::2;::::0;26805:26:::2;::::0;;;;;::::2;::::0;;::::2;-1:-1:-1::0;;2904:1:0;3866:22;;-1:-1:-1;;;;26155:684:0:o;41541:26::-;;;;;;-1:-1:-1;;;;;41541:26:0;;:::o;43453:181::-;43363:5;;-1:-1:-1;;;;;43363:5:0;43372:10;43363:19;43355:70;;;;-1:-1:-1;;;43355:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;43534:22:0;::::1;43526:73;;;;-1:-1:-1::0;;;43526:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43610:5;:16:::0;;-1:-1:-1;;;;;;43610:16:0::1;-1:-1:-1::0;;;;;43610:16:0;;;::::1;::::0;;;::::1;::::0;;43453:181::o;25769:186::-;-1:-1:-1;;;;;25904:31:0;;25833:7;25904:31;;;:22;:31;;;;;;25860:87;;25942:4;;25860:77;;25883:53;;:16;:14;:16::i;:53::-;-1:-1:-1;;;;;25860:18:0;;;;;;:9;:18;;;;;;;:22;:77::i;:87::-;25853:94;25769:186;-1:-1:-1;;25769:186:0:o;4824:181::-;4882:7;4914:5;;;4938:6;;;;4930:46;;;;;-1:-1:-1;;;4930:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;4996:1;4824:181;-1:-1:-1;;;4824:181:0:o;6178:471::-;6236:7;6481:6;6477:47;;-1:-1:-1;6511:1:0;6504:8;;6477:47;6548:5;;;6552:1;6548;:5;:1;6572:5;;;;;:10;6564:56;;;;-1:-1:-1;;;6564:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7125:132;7183:7;7210:39;7214:1;7217;7210:39;;;;;;;;;;;;;;;;;:3;:39::i;5288:136::-;5346:7;5373:43;5377:1;5380;5373:43;;;;;;;;;;;;;;;;;:3;:43::i;27365:374::-;2948:1;3554:7;;:19;;3546:63;;;;;-1:-1:-1;;;3546:63:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;3546:63:0;;;;;;;;;;;;;;;2948:1;3687:7;:18;27449:10:::1;29524:16;:14;:16::i;:::-;29501:20;:39:::0;29568:26:::1;:24;:26::i;:::-;29551:14;:43:::0;-1:-1:-1;;;;;29609:21:0;::::1;::::0;29605:253:::1;;29648:11;29661:9:::0;29674:15:::1;29681:7;29674:6;:15::i;:::-;-1:-1:-1::0;;;;;29704:22:0;::::1;;::::0;;;:13:::1;:22;::::0;;;;;;;:31;;;;29750:11:::1;:20:::0;;;;;:27;;;;29826:20:::1;::::0;29792:22:::1;:31:::0;;;;;;;:54;-1:-1:-1;;29605:253:0::1;27489:1:::2;27480:6;:10;27472:40;;;::::0;;-1:-1:-1;;;27472:40:0;;::::2;;::::0;::::2;::::0;::::2;::::0;;;;-1:-1:-1;;;27472:40:0;;;;;;;;;;;;;::::2;;27538:12;::::0;:24:::2;::::0;27555:6;27538:16:::2;:24::i;:::-;27523:12;:39:::0;27607:10:::2;27597:21;::::0;;;:9:::2;:21;::::0;;;;;:33:::2;::::0;27623:6;27597:25:::2;:33::i;:::-;27583:10;27573:21;::::0;;;:9:::2;:21;::::0;;;;:57;;;;27641:12:::2;::::0;:45:::2;::::0;-1:-1:-1;;;;;27641:12:0;;::::2;::::0;27679:6;27641:25:::2;:45::i;:::-;27702:29;::::0;;;;;;;27712:10:::2;::::0;27702:29:::2;::::0;;;;;::::2;::::0;;::::2;-1:-1:-1::0;;2904:1:0;3866:22;;27365:374::o;19850:177::-;19960:58;;;-1:-1:-1;;;;;19960:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;19960:58:0;-1:-1:-1;;;19960:58:0;;;19933:86;;19953:5;;19933:19;:86::i;:::-;19850:177;;;:::o;41059:120::-;40604:7;;;;40596:40;;;;;-1:-1:-1;;;40596:40:0;;;;;;;;;;;;-1:-1:-1;;;40596:40:0;;;;;;;;;;;;;;;41118:7:::1;:15:::0;;-1:-1:-1;;41118:15:0::1;::::0;;41149:22:::1;41158:12;:10;:12::i;:::-;41149:22;::::0;;-1:-1:-1;;;;;41149:22:0;;::::1;::::0;;;;;;;::::1;::::0;;::::1;41059:120::o:0;9708:106::-;9766:7;9797:1;9793;:5;:13;;9805:1;9793:13;;;-1:-1:-1;9801:1:0;;9708:106;-1:-1:-1;9708:106:0:o;40800:118::-;40328:7;;;;40327:8;40319:37;;;;;-1:-1:-1;;;40319:37:0;;;;;;;;;;;;-1:-1:-1;;;40319:37:0;;;;;;;;;;;;;;;40860:7:::1;:14:::0;;-1:-1:-1;;40860:14:0::1;40870:4;40860:14;::::0;;40890:20:::1;40897:12;:10;:12::i;20035:205::-:0;20163:68;;;-1:-1:-1;;;;;20163:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;20163:68:0;-1:-1:-1;;;20163:68:0;;;20136:96;;20156:5;;20136:19;:96::i;:::-;20035:205;;;;:::o;31999:195::-;32063:4;30975:18;32171:8;:1;32177;32171:5;:8::i;:::-;:15;;;;;;;31999:195;-1:-1:-1;;;31999:195:0:o;7753:278::-;7839:7;7874:12;7867:5;7859:28;;;;-1:-1:-1;;;7859:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7898:9;7914:1;7910;:5;;;;;;;7753:278;-1:-1:-1;;;;;7753:278:0:o;5727:192::-;5813:7;5849:12;5841:6;;;;5833:29;;;;-1:-1:-1;;;5833:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;5885:5:0;;;5727:192::o;22155:761::-;22579:23;22605:69;22633:4;22605:69;;;;;;;;;;;;;;;;;22613:5;-1:-1:-1;;;;;22605:27:0;;;:69;;;;;:::i;:::-;22689:17;;22579:95;;-1:-1:-1;22689:21:0;22685:224;;22831:10;22820:30;;;;;;;;;;;;;;;-1:-1:-1;22820:30:0;22812:85;;;;-1:-1:-1;;;22812:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38588:106;38676:10;38588:106;:::o;16837:196::-;16940:12;16972:53;16995:6;17003:4;17009:1;17012:12;16972:22;:53::i;:::-;16965:60;16837:196;-1:-1:-1;;;;16837:196:0:o;18214:979::-;18344:12;18377:18;18388:6;18377:10;:18::i;:::-;18369:60;;;;;-1:-1:-1;;;18369:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;18503:12;18517:23;18544:6;-1:-1:-1;;;;;18544:11:0;18564:8;18575:4;18544:36;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;18544:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18502:78;;;;18595:7;18591:595;;;18626:10;-1:-1:-1;18619:17:0;;-1:-1:-1;18619:17:0;18591:595;18740:17;;:21;18736:439;;19003:10;18997:17;19064:15;19051:10;19047:2;19043:19;19036:44;18951:148;19139:20;;-1:-1:-1;;;19139:20:0;;;;;;;;;;;;;;;;;19146:12;;19139:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13722:619;13782:4;14250:20;;14093:66;14290:23;;;;;;:42;;-1:-1:-1;;14317:15:0;;;14282:51;-1:-1:-1;;13722:619:0:o
Swarm Source
ipfs://eb5aa248e29f70f08c78a10ae2b1036078b55bfc3926afbd14697aa85079fe91
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ 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.