More Info
Private Name Tags
ContractCreator:
Sponsored
Latest 25 from a total of 930,824 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
Value | ||||
---|---|---|---|---|---|---|---|---|---|
Emergency Withdr... | 55871908 | 407 days ago | IN | 0 FTM | 0.01086299 | ||||
Emergency Withdr... | 55871866 | 407 days ago | IN | 0 FTM | 0.010877 | ||||
Emergency Withdr... | 55871858 | 407 days ago | IN | 0 FTM | 0.01088005 | ||||
Emergency Withdr... | 55871518 | 407 days ago | IN | 0 FTM | 0.01098186 | ||||
Emergency Withdr... | 55722053 | 409 days ago | IN | 0 FTM | 0.00241667 | ||||
Emergency Withdr... | 55721821 | 409 days ago | IN | 0 FTM | 0.00334175 | ||||
Emergency Withdr... | 49925696 | 521 days ago | IN | 0 FTM | 0.00015958 | ||||
Emergency Withdr... | 44373697 | 600 days ago | IN | 0 FTM | 0.00023328 | ||||
Emergency Withdr... | 43935264 | 607 days ago | IN | 0 FTM | 0.0001563 | ||||
Emergency Withdr... | 35703484 | 719 days ago | IN | 0 FTM | 0.00603079 | ||||
Emergency Withdr... | 35703171 | 719 days ago | IN | 0 FTM | 0.00589544 | ||||
Emergency Withdr... | 32226732 | 759 days ago | IN | 0 FTM | 0.04850698 | ||||
Emergency Withdr... | 31328704 | 770 days ago | IN | 0 FTM | 0.00918104 | ||||
Leave Mechs | 31051129 | 773 days ago | IN | 0 FTM | 0.01603958 | ||||
Emergency Withdr... | 30682870 | 776 days ago | IN | 0 FTM | 0.01547045 | ||||
Emergency Withdr... | 30466232 | 778 days ago | IN | 0 FTM | 0.02804149 | ||||
Leave Mechs | 29694867 | 786 days ago | IN | 0 FTM | 0.01468677 | ||||
Emergency Withdr... | 29440260 | 789 days ago | IN | 0 FTM | 0.00604545 | ||||
Emergency Withdr... | 29440198 | 789 days ago | IN | 0 FTM | 0.00658468 | ||||
Emergency Withdr... | 29440193 | 789 days ago | IN | 0 FTM | 0.00636051 | ||||
Leave Mechs | 29368875 | 790 days ago | IN | 0 FTM | 0.0180411 | ||||
Leave Mechs | 29126199 | 792 days ago | IN | 0 FTM | 0.09125179 | ||||
Emergency Withdr... | 28772425 | 796 days ago | IN | 0 FTM | 0.04906614 | ||||
Emergency Withdr... | 28378870 | 800 days ago | IN | 0 FTM | 0.03670262 | ||||
Emergency Withdr... | 28378854 | 800 days ago | IN | 0 FTM | 0.03670262 |
Latest 1 internal transaction
Parent Txn Hash | Block | From | To | Value | ||
---|---|---|---|---|---|---|
5110091 | 1060 days ago | Contract Creation | 0 FTM |
Loading...
Loading
Contract Name:
HyperPlanet
Compiler Version
v0.6.12+commit.27d51765
Contract Source Code (Solidity)
/** *Submitted for verification at ftmscan.com on 2021-05-03 */ // SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address sender, address recipient, uint256 amount) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); } // File: @openzeppelin/contracts/math/SafeMath.sol pragma solidity >=0.6.0 <0.8.0; /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming languages. * `SafeMath` restores this intuition by reverting the transaction when an * operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b > a) return (false, 0); return (true, a - b); } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b == 0) return (false, 0); return (true, a / b); } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b == 0) return (false, 0); return (true, a % b); } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { require(b <= a, "SafeMath: subtraction overflow"); return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { if (a == 0) return 0; uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { require(b > 0, "SafeMath: division by zero"); return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { require(b > 0, "SafeMath: modulo by zero"); return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); return a - b; } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryDiv}. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); return a % b; } } // File: @openzeppelin/contracts/utils/Address.sol pragma solidity >=0.6.2 <0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; // solhint-disable-next-line no-inline-assembly assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); // solhint-disable-next-line avoid-low-level-calls, avoid-call-value (bool success, ) = recipient.call{ value: amount }(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain`call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.call{ value: value }(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.staticcall(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.delegatecall(data); return _verifyCallResult(success, returndata, errorMessage); } function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly // solhint-disable-next-line no-inline-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // File: @openzeppelin/contracts/token/ERC20/SafeERC20.sol pragma solidity >=0.6.0 <0.8.0; /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeERC20 { using SafeMath for uint256; using Address for address; function safeTransfer(IERC20 token, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } /** * @dev Deprecated. This function has issues similar to the ones found in * {IERC20-approve}, and its usage is discouraged. * * Whenever possible, use {safeIncreaseAllowance} and * {safeDecreaseAllowance} instead. */ function safeApprove(IERC20 token, address spender, uint256 value) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' // solhint-disable-next-line max-line-length require((value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal { uint256 newAllowance = token.allowance(address(this), spender).add(value); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal { uint256 newAllowance = token.allowance(address(this), spender).sub(value, "SafeERC20: decreased allowance below zero"); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function _callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed"); if (returndata.length > 0) { // Return data is optional // solhint-disable-next-line max-line-length require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } } // File: @openzeppelin/contracts/utils/Context.sol pragma solidity >=0.6.0 <0.8.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/access/Ownable.sol pragma solidity >=0.6.0 <0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor () internal { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } } // File: @openzeppelin/contracts/token/ERC20/ERC20.sol pragma solidity >=0.6.0 <0.8.0; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin guidelines: functions revert instead * of returning `false` on failure. This behavior is nonetheless conventional * and does not conflict with the expectations of ERC20 applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20 { using SafeMath for uint256; mapping (address => uint256) private _balances; mapping (address => mapping (address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; uint8 private _decimals; /** * @dev Sets the values for {name} and {symbol}, initializes {decimals} with * a default value of 18. * * To select a different value for {decimals}, use {_setupDecimals}. * * All three of these values are immutable: they can only be set once during * construction. */ constructor (string memory name_, string memory symbol_) public { _name = name_; _symbol = symbol_; _decimals = 18; } /** * @dev Returns the name of the token. */ function name() public view virtual returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5,05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless {_setupDecimals} is * called. * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual returns (uint8) { return _decimals; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `recipient` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(_msgSender(), spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * Requirements: * * - `sender` and `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. * - the caller must have allowance for ``sender``'s tokens of at least * `amount`. */ function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) { _transfer(sender, recipient, amount); _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance")); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue)); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero")); return true; } /** * @dev Moves tokens `amount` from `sender` to `recipient`. * * This is internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `sender` cannot be the zero address. * - `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. */ function _transfer(address sender, address recipient, uint256 amount) internal virtual { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(sender, recipient, amount); _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance"); _balances[recipient] = _balances[recipient].add(amount); emit Transfer(sender, recipient, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `to` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply = _totalSupply.add(amount); _balances[account] = _balances[account].add(amount); emit Transfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance"); _totalSupply = _totalSupply.sub(amount); emit Transfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve(address owner, address spender, uint256 amount) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Sets {decimals} to a value other than the default one of 18. * * WARNING: This function should only be called from the constructor. Most * applications that interact with token contracts will not expect * {decimals} to ever change, and may work incorrectly if it does. */ function _setupDecimals(uint8 decimals_) internal virtual { _decimals = decimals_; } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be to transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual { } } // File: contracts/HyperOrillium.sol pragma solidity 0.6.12; contract HyperOrillium is Ownable, ERC20('HyperOrillium', 'ORI') { // burn counter uint256 private _burnTotal; /// @notice Creates `_amount` token to `_to`. Must only be called by the owner. function mint(address _to, uint256 _amount) public onlyOwner { _mint(_to, _amount); } // burn logic function burn(uint256 amount) public { _burn(_msgSender(), amount); _burnTotal = _burnTotal.add(amount); } // interactive burn logic function burnFrom(address account, uint256 amount) public { uint256 decreasedAllowance = allowance(account, _msgSender()).sub( amount, 'ERC20: burn amount exceeds allowance' ); _approve(account, _msgSender(), decreasedAllowance); _burn(account, amount); _burnTotal = _burnTotal.add(amount); } // view total burnt orillium function totalOriBurned() public view returns (uint256) { return _burnTotal; } } // File: contracts/HyperOriMechs.sol pragma solidity 0.6.12; contract HyperMechs is Ownable, ERC20('HyperMechs', 'MECHS') { /// @notice Creates `_amount` token to `_to`. Must only be called by the owner (HyperCity). function mint(address _to, uint256 _amount) public onlyOwner { _mint(_to, _amount); } function burn(address _from ,uint256 _amount) public onlyOwner { _burn(_from, _amount); } // HyperOrillium HyperOrillium public ori; constructor( HyperOrillium _ori ) public { ori = _ori; } // Safe ori transfer function, just in case if rounding error causes pool to not have enough DRUGs. function safeOrilliumTransfer(address _to, uint256 _amount) public onlyOwner { uint256 oriBal = ori.balanceOf(address(this)); if (_amount > oriBal) { ori.transfer(_to, oriBal); } else { ori.transfer(_to, _amount); } } } // File: contracts/HyperPlanet.sol pragma solidity 0.6.12; contract HyperPlanet is Ownable { using SafeMath for uint256; using SafeERC20 for IERC20; // Info of each user. struct UserInfo { uint256 amount; // How many LP tokens the user has provided. uint256 rewardDebt; // Reward debt. See explanation below. // // We do some fancy math here. Basically, any point in time, the amount of ORI // entitled to a user but is pending to be distributed is: // // pending reward = (user.amount * pool.accOrilliumPerShare) - user.rewardDebt // // Whenever a user deposits or withdraws LP tokens to a pool. Here's what happens: // 1. The pool's `accOrilliumPerShare` (and `lastRewardTime`) gets updated. // 2. User receives the pending reward sent to his/her address. // 3. User's `amount` gets updated. // 4. User's `rewardDebt` gets updated. } // Info of each pool. struct PoolInfo { IERC20 lpToken; // Address of LP token contract. uint256 allocPoint; // How many allocation points assigned to this pool. ORI to distribute per block. uint256 lastRewardTime; // Last timestamp that ORI distribution occurs. uint256 accOrilliumPerShare; // Accumulated ORI per share, times 1e12. See below. } // Hyper Tokens HyperOrillium public ori; HyperMechs public mechs; // farm parameters address public devAddr; address public lpFeeAddr; uint256 public oriPerSecond; uint256 public BONUS_MULTIPLIER = 1; // Info of each pool. PoolInfo[] public poolInfo; // Info of each user that stakes LP tokens. mapping (uint256 => mapping (address => UserInfo)) public userInfo; // Total allocation poitns. Must be the sum of all allocation points in all pools. uint256 public totalAllocPoint = 0; // The block number when ORI mining starts. uint256 public startTime; event Deposit(address indexed user, uint256 indexed pid, uint256 amount); event Withdraw(address indexed user, uint256 indexed pid, uint256 amount); event EmergencyWithdraw(address indexed user, uint256 indexed pid, uint256 amount); constructor( HyperOrillium _ori, HyperMechs _mechs, address _devAddr, address _lpFeeAddr, uint256 _oriPerSecond, uint256 _startTime ) public { ori = _ori; mechs = _mechs; devAddr = _devAddr; lpFeeAddr = _lpFeeAddr; oriPerSecond = _oriPerSecond; startTime = _startTime; // staking pool poolInfo.push(PoolInfo({ lpToken: _ori, allocPoint: 1000, lastRewardTime: startTime, accOrilliumPerShare: 0 })); totalAllocPoint = 1000; } function updateMultiplier(uint256 multiplierNumber) public onlyOwner { BONUS_MULTIPLIER = multiplierNumber; } function poolLength() external view returns (uint256) { return poolInfo.length; } function checkForDuplicate(IERC20 _lpToken) internal view { uint256 length = poolInfo.length; for (uint256 _pid = 0; _pid < length; _pid++) { require(poolInfo[_pid].lpToken != _lpToken, "add: pool already exists!!!!"); } } // Add a new lp to the pool. Can only be called by the owner. function add(uint256 _allocPoint, IERC20 _lpToken, bool _withUpdate) public onlyOwner { if (_withUpdate) { massUpdatePools(); } // check for duplicate pool checkForDuplicate(_lpToken); uint256 lastRewardTime = block.timestamp > startTime ? block.timestamp : startTime; totalAllocPoint = totalAllocPoint.add(_allocPoint); poolInfo.push(PoolInfo({ lpToken: _lpToken, allocPoint: _allocPoint, lastRewardTime: lastRewardTime, accOrilliumPerShare: 0 })); updateStakingPool(); } // Update the given pool's ORI allocation point. Can only be called by the owner. function set(uint256 _pid, uint256 _allocPoint, bool _withUpdate) public onlyOwner { if (_withUpdate) { massUpdatePools(); } totalAllocPoint = totalAllocPoint.sub(poolInfo[_pid].allocPoint).add(_allocPoint); uint256 prevAllocPoint = poolInfo[_pid].allocPoint; poolInfo[_pid].allocPoint = _allocPoint; if (prevAllocPoint != _allocPoint) { updateStakingPool(); } } function updateStakingPool() internal { uint256 length = poolInfo.length; uint256 points = 0; for (uint256 pid = 1; pid < length; ++pid) { points = points.add(poolInfo[pid].allocPoint); } if (points != 0) { points = points.div(4); totalAllocPoint = totalAllocPoint.sub(poolInfo[0].allocPoint).add(points); poolInfo[0].allocPoint = points; } } // Return reward multiplier over the given _from to _to timestamp. function getMultiplier(uint256 _from, uint256 _to) public view returns (uint256) { _from = _from > startTime ? _from : startTime; if (_to < startTime) { return 0; } return _to - _from; } // View function to see pending ORI on frontend. function pendingOrillium(uint256 _pid, address _user) external view returns (uint256) { PoolInfo storage pool = poolInfo[_pid]; UserInfo storage user = userInfo[_pid][_user]; uint256 accOrilliumPerShare = pool.accOrilliumPerShare; uint256 lpSupply = pool.lpToken.balanceOf(address(this)); if (block.timestamp > pool.lastRewardTime && lpSupply != 0) { uint256 multiplier = getMultiplier(pool.lastRewardTime, block.timestamp); uint256 oriReward = multiplier.mul(oriPerSecond).mul(pool.allocPoint).div(totalAllocPoint); accOrilliumPerShare = accOrilliumPerShare.add(oriReward.mul(1e12).div(lpSupply)); } return user.amount.mul(accOrilliumPerShare).div(1e12).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 lpSupply = pool.lpToken.balanceOf(address(this)); if (lpSupply == 0) { pool.lastRewardTime = block.timestamp; return; } uint256 multiplier = getMultiplier(pool.lastRewardTime, block.timestamp); uint256 oriReward = multiplier.mul(oriPerSecond).mul(pool.allocPoint).div(totalAllocPoint); ori.mint(devAddr, oriReward.div(10)); ori.mint(address(mechs), oriReward); pool.accOrilliumPerShare = pool.accOrilliumPerShare.add(oriReward.mul(1e12).div(lpSupply)); pool.lastRewardTime = block.timestamp; } // Deposit LP tokens to HyperPlanet for ORI allocation. function deposit(uint256 _pid, uint256 _amount) public { // ensure ori uses staking require (_pid != 0, 'deposit ORI by staking'); PoolInfo storage pool = poolInfo[_pid]; UserInfo storage user = userInfo[_pid][msg.sender]; updatePool(_pid); if (user.amount > 0) { uint256 pending = user.amount.mul(pool.accOrilliumPerShare).div(1e12).sub(user.rewardDebt); if(pending > 0) { safeOrilliumTransfer(msg.sender, pending); } } if (_amount > 0) { uint256 lpFee = _amount.div(100); uint256 afterFee = _amount.sub(lpFee); pool.lpToken.safeTransferFrom(address(msg.sender), address(lpFeeAddr), lpFee); pool.lpToken.safeTransferFrom(address(msg.sender), address(this), afterFee); user.amount = user.amount.add(afterFee); user.rewardDebt = user.amount.mul(pool.accOrilliumPerShare).div(1e12); emit Deposit(msg.sender, _pid, afterFee); } else { user.rewardDebt = user.amount.mul(pool.accOrilliumPerShare).div(1e12); emit Deposit(msg.sender, _pid, _amount); } } // Withdraw LP tokens from HyperPlanet. function withdraw(uint256 _pid, uint256 _amount) public { // ensure ori uses staking require (_pid != 0, 'withdraw ORI by unstaking'); PoolInfo storage pool = poolInfo[_pid]; UserInfo storage user = userInfo[_pid][msg.sender]; require(user.amount >= _amount, "withdraw: not good"); updatePool(_pid); uint256 pending = user.amount.mul(pool.accOrilliumPerShare).div(1e12).sub(user.rewardDebt); if(pending > 0) { safeOrilliumTransfer(msg.sender, pending); } if(_amount > 0) { user.amount = user.amount.sub(_amount); pool.lpToken.safeTransfer(address(msg.sender), _amount); } user.rewardDebt = user.amount.mul(pool.accOrilliumPerShare).div(1e12); emit Withdraw(msg.sender, _pid, _amount); } // Stake ORI tokens to HyperPlanet function enterMechs(uint256 _amount) public { PoolInfo storage pool = poolInfo[0]; UserInfo storage user = userInfo[0][msg.sender]; updatePool(0); uint256 amountAfterRatio = _amount.div(5); uint256 sanitized = amountAfterRatio.mul(5); if (user.amount > 0) { uint256 pending = user.amount.mul(pool.accOrilliumPerShare).div(1e12).sub(user.rewardDebt); if(pending > 0) { safeOrilliumTransfer(msg.sender, pending); } } if(_amount > 0) { pool.lpToken.safeTransferFrom(address(msg.sender), address(this), sanitized); user.amount = user.amount.add(sanitized); } user.rewardDebt = user.amount.mul(pool.accOrilliumPerShare).div(1e12); mechs.mint(msg.sender, amountAfterRatio); emit Deposit(msg.sender, 0, sanitized); } // Withdraw ORI tokens from STAKING. function leaveMechs(uint256 _amount) public { PoolInfo storage pool = poolInfo[0]; UserInfo storage user = userInfo[0][msg.sender]; require(user.amount >= _amount.mul(5), "you don't have enough mechs"); updatePool(0); uint256 pending = user.amount.mul(pool.accOrilliumPerShare).div(1e12).sub(user.rewardDebt); uint256 amountAfterRatio = _amount.mul(5); if(pending > 0) { safeOrilliumTransfer(msg.sender, pending); } if(_amount > 0) { user.amount = user.amount.sub(amountAfterRatio); pool.lpToken.safeTransfer(address(msg.sender), amountAfterRatio); } user.rewardDebt = user.amount.mul(pool.accOrilliumPerShare).div(1e12); mechs.burn(msg.sender, _amount); emit Withdraw(msg.sender, 0, amountAfterRatio); } // Withdraw without caring about rewards. EMERGENCY ONLY. function emergencyWithdraw(uint256 _pid) public { require (_pid != 0, "Use leaveMechs"); PoolInfo storage pool = poolInfo[_pid]; UserInfo storage user = userInfo[_pid][msg.sender]; pool.lpToken.safeTransfer(address(msg.sender), user.amount); emit EmergencyWithdraw(msg.sender, _pid, user.amount); user.amount = 0; user.rewardDebt = 0; } // Safe ori transfer function, just in case if rounding error causes pool to not have enough ORI. function safeOrilliumTransfer(address _to, uint256 _amount) internal { mechs.safeOrilliumTransfer(_to, _amount); } // Update dev address function dev(address _devAddr) public onlyOwner { devAddr = _devAddr; } // Update LP Fee Address function lpFeeAddress(address _lpFeeAddr) public onlyOwner { lpFeeAddr = _lpFeeAddr; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"contract HyperOrillium","name":"_ori","type":"address"},{"internalType":"contract HyperMechs","name":"_mechs","type":"address"},{"internalType":"address","name":"_devAddr","type":"address"},{"internalType":"address","name":"_lpFeeAddr","type":"address"},{"internalType":"uint256","name":"_oriPerSecond","type":"uint256"},{"internalType":"uint256","name":"_startTime","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"EmergencyWithdraw","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[],"name":"BONUS_MULTIPLIER","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_allocPoint","type":"uint256"},{"internalType":"contract IERC20","name":"_lpToken","type":"address"},{"internalType":"bool","name":"_withUpdate","type":"bool"}],"name":"add","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_devAddr","type":"address"}],"name":"dev","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"devAddr","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"emergencyWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"enterMechs","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_from","type":"uint256"},{"internalType":"uint256","name":"_to","type":"uint256"}],"name":"getMultiplier","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"leaveMechs","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"lpFeeAddr","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_lpFeeAddr","type":"address"}],"name":"lpFeeAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"massUpdatePools","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mechs","outputs":[{"internalType":"contract HyperMechs","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ori","outputs":[{"internalType":"contract HyperOrillium","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"oriPerSecond","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"address","name":"_user","type":"address"}],"name":"pendingOrillium","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"poolInfo","outputs":[{"internalType":"contract IERC20","name":"lpToken","type":"address"},{"internalType":"uint256","name":"allocPoint","type":"uint256"},{"internalType":"uint256","name":"lastRewardTime","type":"uint256"},{"internalType":"uint256","name":"accOrilliumPerShare","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"poolLength","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_allocPoint","type":"uint256"},{"internalType":"bool","name":"_withUpdate","type":"bool"}],"name":"set","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalAllocPoint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"multiplierNumber","type":"uint256"}],"name":"updateMultiplier","outputs":[],"stateMutability":"nonpayable","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
60806040526001600655600060095534801561001a57600080fd5b50604051612234380380612234833981810160405260c081101561003d57600080fd5b508051602082015160408301516060840151608085015160a0909501519394929391929091600061006c6101f7565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600180546001600160a01b03199081166001600160a01b039889169081178355600280548316988a169890981790975560038054821696891696909617909555600480548616948816949094178455600592909255600a819055604080516080810182529586526103e86020870181815291870192835260006060880181815260078054968701815590915296517fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c688949095029384018054909616949097169390931790935590517fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c68982015590517fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c68a82015590517fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c68b909101556009556101fb565b3390565b61202a8061020a6000396000f3fe608060405234801561001057600080fd5b50600436106101c45760003560e01c8063715018a6116100f957806393f1a40b11610097578063af4d79ae11610071578063af4d79ae14610489578063da09c72c14610491578063e2bbb15814610499578063f2fde38b146104bc576101c4565b806393f1a40b146104345780639b6b955d14610479578063aa8ea80a14610481576101c4565b80638aa28550116100d35780638aa28550146103db5780638d88a90e146103e35780638da5cb5b146104095780638dbb1e3a14610411576101c4565b8063715018a61461039f57806378e97925146103a75780637a8f430f146103af576101c4565b80633e7321eb116101665780635312ea8e116101405780635312ea8e146103325780635ffe61461461034f578063630b5ba11461036c57806364482f7914610374576101c4565b80633e7321eb146102d5578063441a3e70146102f257806351eb05a614610315576101c4565b806317caf6f1116101a257806317caf6f1146102585780631e38cb91146102605780631eaaa0451461027d578063355f6c96146102b1576101c4565b80630216c519146101c9578063081e3eda146101f15780631526fe271461020b575b600080fd5b6101ef600480360360208110156101df57600080fd5b50356001600160a01b03166104e2565b005b6101f9610578565b60408051918252519081900360200190f35b6102286004803603602081101561022157600080fd5b503561057e565b604080516001600160a01b0390951685526020850193909352838301919091526060830152519081900360800190f35b6101f96105bf565b6101ef6004803603602081101561027657600080fd5b50356105c5565b6101ef6004803603606081101561029357600080fd5b508035906001600160a01b0360208201351690604001351515610786565b6102b9610931565b604080516001600160a01b039092168252519081900360200190f35b6101ef600480360360208110156102eb57600080fd5b5035610940565b6101ef6004803603604081101561030857600080fd5b5080359060200135610b56565b6101ef6004803603602081101561032b57600080fd5b5035610d06565b6101ef6004803603602081101561034857600080fd5b5035610f32565b6101ef6004803603602081101561036557600080fd5b503561101f565b6101ef611098565b6101ef6004803603606081101561038a57600080fd5b508035906020810135906040013515156110bb565b6101ef6111d5565b6101f9611293565b6101f9600480360360408110156103c557600080fd5b50803590602001356001600160a01b0316611299565b6101f96113fd565b6101ef600480360360208110156103f957600080fd5b50356001600160a01b0316611403565b6102b9611499565b6101f96004803603604081101561042757600080fd5b50803590602001356114a8565b6104606004803603604081101561044a57600080fd5b50803590602001356001600160a01b03166114d6565b6040805192835260208301919091528051918290030190f35b6102b96114fa565b6102b9611509565b6101f9611518565b6102b961151e565b6101ef600480360360408110156104af57600080fd5b508035906020013561152d565b6101ef600480360360208110156104d257600080fd5b50356001600160a01b031661172a565b6104ea61183e565b6001600160a01b03166104fb611499565b6001600160a01b031614610556576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600480546001600160a01b0319166001600160a01b0392909216919091179055565b60075490565b6007818154811061058b57fe5b600091825260209091206004909102018054600182015460028301546003909301546001600160a01b039092169350919084565b60095481565b600060076000815481106105d557fe5b600091825260208083203384527f5eff886ea0ce6ca488a3d6e336d6c0f75f46d19b42c06ce5ee98e42c96d256c79091526040832060049092020192509061061c90610d06565b6000610629846005611842565b905060006106388260056118a9565b83549091501561069057600061067c846001015461067664e8d4a51000610670896003015489600001546118a990919063ffffffff16565b90611842565b90611909565b9050801561068e5761068e3382611966565b505b84156106bc5783546106ad906001600160a01b03163330846119f0565b82546106b99082611a78565b83555b600384015483546106d79164e8d4a5100091610670916118a9565b6001840155600254604080516340c10f1960e01b81523360048201526024810185905290516001600160a01b03909216916340c10f199160448082019260009290919082900301818387803b15801561072f57600080fd5b505af1158015610743573d6000803e3d6000fd5b5050604080518481529051600093503392507f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a159181900360200190a35050505050565b61078e61183e565b6001600160a01b031661079f611499565b6001600160a01b0316146107fa576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b801561080857610808611098565b61081182611ad2565b6000600a54421161082457600a54610826565b425b6009549091506108369085611a78565b600955604080516080810182526001600160a01b0385811682526020820187815292820184815260006060840181815260078054600181018255925293517fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c688600490920291820180546001600160a01b031916919094161790925592517fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c68982015591517fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c68a830155517fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c68b9091015561092b611b71565b50505050565b6001546001600160a01b031681565b6000600760008154811061095057fe5b600091825260208083203384527f5eff886ea0ce6ca488a3d6e336d6c0f75f46d19b42c06ce5ee98e42c96d256c790915260409092206004909102909101915061099b8360056118a9565b815410156109f0576040805162461bcd60e51b815260206004820152601b60248201527f796f7520646f6e2774206861766520656e6f756768206d656368730000000000604482015290519081900360640190fd5b6109fa6000610d06565b6000610a28826001015461067664e8d4a51000610670876003015487600001546118a990919063ffffffff16565b90506000610a378560056118a9565b90508115610a4957610a493383611966565b8415610a73578254610a5b9082611909565b83558354610a73906001600160a01b03163383611c13565b60038401548354610a8e9164e8d4a5100091610670916118a9565b6001840155600254604080517f9dc29fac0000000000000000000000000000000000000000000000000000000081523360048201526024810188905290516001600160a01b0390921691639dc29fac9160448082019260009290919082900301818387803b158015610aff57600080fd5b505af1158015610b13573d6000803e3d6000fd5b5050604080518481529051600093503392507ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b5689181900360200190a35050505050565b81610ba8576040805162461bcd60e51b815260206004820152601960248201527f7769746864726177204f524920627920756e7374616b696e6700000000000000604482015290519081900360640190fd5b600060078381548110610bb757fe5b600091825260208083208684526008825260408085203386529092529220805460049092029092019250831115610c35576040805162461bcd60e51b815260206004820152601260248201527f77697468647261773a206e6f7420676f6f640000000000000000000000000000604482015290519081900360640190fd5b610c3e84610d06565b6000610c6c826001015461067664e8d4a51000610670876003015487600001546118a990919063ffffffff16565b90508015610c7e57610c7e3382611966565b8315610ca8578154610c909085611909565b82558254610ca8906001600160a01b03163386611c13565b60038301548254610cc39164e8d4a5100091610670916118a9565b6001830155604080518581529051869133917ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b5689181900360200190a35050505050565b600060078281548110610d1557fe5b9060005260206000209060040201905080600201544211610d365750610f2f565b8054604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b158015610d8057600080fd5b505afa158015610d94573d6000803e3d6000fd5b505050506040513d6020811015610daa57600080fd5b5051905080610dc0575042600290910155610f2f565b6000610dd08360020154426114a8565b90506000610dfd6009546106708660010154610df7600554876118a990919063ffffffff16565b906118a9565b6001546003549192506001600160a01b03908116916340c10f199116610e2484600a611842565b6040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050600060405180830381600087803b158015610e6a57600080fd5b505af1158015610e7e573d6000803e3d6000fd5b5050600154600254604080516340c10f1960e01b81526001600160a01b0392831660048201526024810187905290519190921693506340c10f199250604480830192600092919082900301818387803b158015610eda57600080fd5b505af1158015610eee573d6000803e3d6000fd5b50505050610f1c610f118461067064e8d4a51000856118a990919063ffffffff16565b600386015490611a78565b6003850155505042600290920191909155505b50565b80610f84576040805162461bcd60e51b815260206004820152600e60248201527f557365206c656176654d65636873000000000000000000000000000000000000604482015290519081900360640190fd5b600060078281548110610f9357fe5b60009182526020808320858452600882526040808520338087529352909320805460049093029093018054909450610fd8926001600160a01b03919091169190611c13565b80546040805191825251849133917fbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae05959181900360200190a360008082556001909101555050565b61102761183e565b6001600160a01b0316611038611499565b6001600160a01b031614611093576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600655565b60075460005b818110156110b7576110af81610d06565b60010161109e565b5050565b6110c361183e565b6001600160a01b03166110d4611499565b6001600160a01b03161461112f576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b801561113d5761113d611098565b61117a826111746007868154811061115157fe5b90600052602060002090600402016001015460095461190990919063ffffffff16565b90611a78565b60098190555060006007848154811061118f57fe5b906000526020600020906004020160010154905082600785815481106111b157fe5b90600052602060002090600402016001018190555082811461092b5761092b611b71565b6111dd61183e565b6001600160a01b03166111ee611499565b6001600160a01b031614611249576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b600a5481565b600080600784815481106112a957fe5b600091825260208083208784526008825260408085206001600160a01b03898116875290845281862060049586029093016003810154815484516370a0823160e01b81523098810198909852935191985093969395939492909116926370a08231926024808301939192829003018186803b15801561132757600080fd5b505afa15801561133b573d6000803e3d6000fd5b505050506040513d602081101561135157600080fd5b505160028501549091504211801561136857508015155b156113c857600061137d8560020154426114a8565b905060006113a46009546106708860010154610df7600554876118a990919063ffffffff16565b90506113c36113bc846106708464e8d4a510006118a9565b8590611a78565b935050505b6113f0836001015461067664e8d4a510006106708688600001546118a990919063ffffffff16565b9450505050505b92915050565b60065481565b61140b61183e565b6001600160a01b031661141c611499565b6001600160a01b031614611477576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600380546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031690565b6000600a5483116114bb57600a546114bd565b825b9250600a548210156114d1575060006113f7565b500390565b60086020908152600092835260408084209091529082529020805460019091015482565b6004546001600160a01b031681565b6002546001600160a01b031681565b60055481565b6003546001600160a01b031681565b8161157f576040805162461bcd60e51b815260206004820152601660248201527f6465706f736974204f5249206279207374616b696e6700000000000000000000604482015290519081900360640190fd5b60006007838154811061158e57fe5b600091825260208083208684526008825260408085203386529092529220600490910290910191506115bf84610d06565b8054156116085760006115f4826001015461067664e8d4a51000610670876003015487600001546118a990919063ffffffff16565b90508015611606576116063382611966565b505b82156116cd57600061161b846064611842565b905060006116298583611909565b600454855491925061164a916001600160a01b0390811691339116856119f0565b8354611661906001600160a01b03163330846119f0565b825461166d9082611a78565b808455600385015461168a9164e8d4a510009161067091906118a9565b6001840155604080518281529051879133917f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a159181900360200190a3505061092b565b600382015481546116e89164e8d4a5100091610670916118a9565b6001820155604080518481529051859133917f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a159181900360200190a350505050565b61173261183e565b6001600160a01b0316611743611499565b6001600160a01b03161461179e576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b0381166117e35760405162461bcd60e51b8152600401808060200182810382526026815260200180611f5e6026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b3390565b6000808211611898576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b8183816118a157fe5b049392505050565b6000826118b8575060006113f7565b828202828482816118c557fe5b04146119025760405162461bcd60e51b8152600401808060200182810382526021815260200180611faa6021913960400191505060405180910390fd5b9392505050565b600082821115611960576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b600254604080517feb188a9c0000000000000000000000000000000000000000000000000000000081526001600160a01b038581166004830152602482018590529151919092169163eb188a9c91604480830192600092919082900301818387803b1580156119d457600080fd5b505af11580156119e8573d6000803e3d6000fd5b505050505050565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f23b872dd0000000000000000000000000000000000000000000000000000000017905261092b908590611c8f565b600082820183811015611902576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b60075460005b81811015611b6c57826001600160a01b031660078281548110611af757fe5b60009182526020909120600490910201546001600160a01b03161415611b64576040805162461bcd60e51b815260206004820152601c60248201527f6164643a20706f6f6c20616c7265616479206578697374732121212100000000604482015290519081900360640190fd5b600101611ad8565b505050565b600754600060015b82811015611bbc57611bb260078281548110611b9157fe5b90600052602060002090600402016001015483611a7890919063ffffffff16565b9150600101611b79565b5080156110b757611bce816004611842565b9050611be581611174600760008154811061115157fe5b600981905550806007600081548110611bfa57fe5b9060005260206000209060040201600101819055505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb00000000000000000000000000000000000000000000000000000000179052611b6c9084905b6060611ce4826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316611d409092919063ffffffff16565b805190915015611b6c57808060200190516020811015611d0357600080fd5b5051611b6c5760405162461bcd60e51b815260040180806020018281038252602a815260200180611fcb602a913960400191505060405180910390fd5b6060611d4f8484600085611d57565b949350505050565b606082471015611d985760405162461bcd60e51b8152600401808060200182810382526026815260200180611f846026913960400191505060405180910390fd5b611da185611eb3565b611df2576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b60208310611e315780518252601f199092019160209182019101611e12565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114611e93576040519150601f19603f3d011682016040523d82523d6000602084013e611e98565b606091505b5091509150611ea8828286611eb9565b979650505050505050565b3b151590565b60608315611ec8575081611902565b825115611ed85782518084602001fd5b8160405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611f22578181015183820152602001611f0a565b50505050905090810190601f168015611f4f5780820380516001836020036101000a031916815260200191505b509250505060405180910390fdfe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a2646970667358221220e4b87d5d82173cd3fccc3ccebca53469f3f995fcae14b3d6c1cee01a3472b92c64736f6c634300060c00330000000000000000000000000575f8738efda7f512e3654f277c77e80c7d272500000000000000000000000085c85647e1a79c2b8bc3ed2b6a1dde326eec66c5000000000000000000000000bda58f52b0426a97ca16881988a8a69e1dae3728000000000000000000000000584b914ca29e3a8d66092847e5871cac497cf9470000000000000000000000000000000000000000000000002b992ddfa23249d60000000000000000000000000000000000000000000000000000000060907997
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101c45760003560e01c8063715018a6116100f957806393f1a40b11610097578063af4d79ae11610071578063af4d79ae14610489578063da09c72c14610491578063e2bbb15814610499578063f2fde38b146104bc576101c4565b806393f1a40b146104345780639b6b955d14610479578063aa8ea80a14610481576101c4565b80638aa28550116100d35780638aa28550146103db5780638d88a90e146103e35780638da5cb5b146104095780638dbb1e3a14610411576101c4565b8063715018a61461039f57806378e97925146103a75780637a8f430f146103af576101c4565b80633e7321eb116101665780635312ea8e116101405780635312ea8e146103325780635ffe61461461034f578063630b5ba11461036c57806364482f7914610374576101c4565b80633e7321eb146102d5578063441a3e70146102f257806351eb05a614610315576101c4565b806317caf6f1116101a257806317caf6f1146102585780631e38cb91146102605780631eaaa0451461027d578063355f6c96146102b1576101c4565b80630216c519146101c9578063081e3eda146101f15780631526fe271461020b575b600080fd5b6101ef600480360360208110156101df57600080fd5b50356001600160a01b03166104e2565b005b6101f9610578565b60408051918252519081900360200190f35b6102286004803603602081101561022157600080fd5b503561057e565b604080516001600160a01b0390951685526020850193909352838301919091526060830152519081900360800190f35b6101f96105bf565b6101ef6004803603602081101561027657600080fd5b50356105c5565b6101ef6004803603606081101561029357600080fd5b508035906001600160a01b0360208201351690604001351515610786565b6102b9610931565b604080516001600160a01b039092168252519081900360200190f35b6101ef600480360360208110156102eb57600080fd5b5035610940565b6101ef6004803603604081101561030857600080fd5b5080359060200135610b56565b6101ef6004803603602081101561032b57600080fd5b5035610d06565b6101ef6004803603602081101561034857600080fd5b5035610f32565b6101ef6004803603602081101561036557600080fd5b503561101f565b6101ef611098565b6101ef6004803603606081101561038a57600080fd5b508035906020810135906040013515156110bb565b6101ef6111d5565b6101f9611293565b6101f9600480360360408110156103c557600080fd5b50803590602001356001600160a01b0316611299565b6101f96113fd565b6101ef600480360360208110156103f957600080fd5b50356001600160a01b0316611403565b6102b9611499565b6101f96004803603604081101561042757600080fd5b50803590602001356114a8565b6104606004803603604081101561044a57600080fd5b50803590602001356001600160a01b03166114d6565b6040805192835260208301919091528051918290030190f35b6102b96114fa565b6102b9611509565b6101f9611518565b6102b961151e565b6101ef600480360360408110156104af57600080fd5b508035906020013561152d565b6101ef600480360360208110156104d257600080fd5b50356001600160a01b031661172a565b6104ea61183e565b6001600160a01b03166104fb611499565b6001600160a01b031614610556576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600480546001600160a01b0319166001600160a01b0392909216919091179055565b60075490565b6007818154811061058b57fe5b600091825260209091206004909102018054600182015460028301546003909301546001600160a01b039092169350919084565b60095481565b600060076000815481106105d557fe5b600091825260208083203384527f5eff886ea0ce6ca488a3d6e336d6c0f75f46d19b42c06ce5ee98e42c96d256c79091526040832060049092020192509061061c90610d06565b6000610629846005611842565b905060006106388260056118a9565b83549091501561069057600061067c846001015461067664e8d4a51000610670896003015489600001546118a990919063ffffffff16565b90611842565b90611909565b9050801561068e5761068e3382611966565b505b84156106bc5783546106ad906001600160a01b03163330846119f0565b82546106b99082611a78565b83555b600384015483546106d79164e8d4a5100091610670916118a9565b6001840155600254604080516340c10f1960e01b81523360048201526024810185905290516001600160a01b03909216916340c10f199160448082019260009290919082900301818387803b15801561072f57600080fd5b505af1158015610743573d6000803e3d6000fd5b5050604080518481529051600093503392507f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a159181900360200190a35050505050565b61078e61183e565b6001600160a01b031661079f611499565b6001600160a01b0316146107fa576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b801561080857610808611098565b61081182611ad2565b6000600a54421161082457600a54610826565b425b6009549091506108369085611a78565b600955604080516080810182526001600160a01b0385811682526020820187815292820184815260006060840181815260078054600181018255925293517fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c688600490920291820180546001600160a01b031916919094161790925592517fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c68982015591517fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c68a830155517fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c68b9091015561092b611b71565b50505050565b6001546001600160a01b031681565b6000600760008154811061095057fe5b600091825260208083203384527f5eff886ea0ce6ca488a3d6e336d6c0f75f46d19b42c06ce5ee98e42c96d256c790915260409092206004909102909101915061099b8360056118a9565b815410156109f0576040805162461bcd60e51b815260206004820152601b60248201527f796f7520646f6e2774206861766520656e6f756768206d656368730000000000604482015290519081900360640190fd5b6109fa6000610d06565b6000610a28826001015461067664e8d4a51000610670876003015487600001546118a990919063ffffffff16565b90506000610a378560056118a9565b90508115610a4957610a493383611966565b8415610a73578254610a5b9082611909565b83558354610a73906001600160a01b03163383611c13565b60038401548354610a8e9164e8d4a5100091610670916118a9565b6001840155600254604080517f9dc29fac0000000000000000000000000000000000000000000000000000000081523360048201526024810188905290516001600160a01b0390921691639dc29fac9160448082019260009290919082900301818387803b158015610aff57600080fd5b505af1158015610b13573d6000803e3d6000fd5b5050604080518481529051600093503392507ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b5689181900360200190a35050505050565b81610ba8576040805162461bcd60e51b815260206004820152601960248201527f7769746864726177204f524920627920756e7374616b696e6700000000000000604482015290519081900360640190fd5b600060078381548110610bb757fe5b600091825260208083208684526008825260408085203386529092529220805460049092029092019250831115610c35576040805162461bcd60e51b815260206004820152601260248201527f77697468647261773a206e6f7420676f6f640000000000000000000000000000604482015290519081900360640190fd5b610c3e84610d06565b6000610c6c826001015461067664e8d4a51000610670876003015487600001546118a990919063ffffffff16565b90508015610c7e57610c7e3382611966565b8315610ca8578154610c909085611909565b82558254610ca8906001600160a01b03163386611c13565b60038301548254610cc39164e8d4a5100091610670916118a9565b6001830155604080518581529051869133917ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b5689181900360200190a35050505050565b600060078281548110610d1557fe5b9060005260206000209060040201905080600201544211610d365750610f2f565b8054604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b158015610d8057600080fd5b505afa158015610d94573d6000803e3d6000fd5b505050506040513d6020811015610daa57600080fd5b5051905080610dc0575042600290910155610f2f565b6000610dd08360020154426114a8565b90506000610dfd6009546106708660010154610df7600554876118a990919063ffffffff16565b906118a9565b6001546003549192506001600160a01b03908116916340c10f199116610e2484600a611842565b6040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050600060405180830381600087803b158015610e6a57600080fd5b505af1158015610e7e573d6000803e3d6000fd5b5050600154600254604080516340c10f1960e01b81526001600160a01b0392831660048201526024810187905290519190921693506340c10f199250604480830192600092919082900301818387803b158015610eda57600080fd5b505af1158015610eee573d6000803e3d6000fd5b50505050610f1c610f118461067064e8d4a51000856118a990919063ffffffff16565b600386015490611a78565b6003850155505042600290920191909155505b50565b80610f84576040805162461bcd60e51b815260206004820152600e60248201527f557365206c656176654d65636873000000000000000000000000000000000000604482015290519081900360640190fd5b600060078281548110610f9357fe5b60009182526020808320858452600882526040808520338087529352909320805460049093029093018054909450610fd8926001600160a01b03919091169190611c13565b80546040805191825251849133917fbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae05959181900360200190a360008082556001909101555050565b61102761183e565b6001600160a01b0316611038611499565b6001600160a01b031614611093576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600655565b60075460005b818110156110b7576110af81610d06565b60010161109e565b5050565b6110c361183e565b6001600160a01b03166110d4611499565b6001600160a01b03161461112f576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b801561113d5761113d611098565b61117a826111746007868154811061115157fe5b90600052602060002090600402016001015460095461190990919063ffffffff16565b90611a78565b60098190555060006007848154811061118f57fe5b906000526020600020906004020160010154905082600785815481106111b157fe5b90600052602060002090600402016001018190555082811461092b5761092b611b71565b6111dd61183e565b6001600160a01b03166111ee611499565b6001600160a01b031614611249576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b600a5481565b600080600784815481106112a957fe5b600091825260208083208784526008825260408085206001600160a01b03898116875290845281862060049586029093016003810154815484516370a0823160e01b81523098810198909852935191985093969395939492909116926370a08231926024808301939192829003018186803b15801561132757600080fd5b505afa15801561133b573d6000803e3d6000fd5b505050506040513d602081101561135157600080fd5b505160028501549091504211801561136857508015155b156113c857600061137d8560020154426114a8565b905060006113a46009546106708860010154610df7600554876118a990919063ffffffff16565b90506113c36113bc846106708464e8d4a510006118a9565b8590611a78565b935050505b6113f0836001015461067664e8d4a510006106708688600001546118a990919063ffffffff16565b9450505050505b92915050565b60065481565b61140b61183e565b6001600160a01b031661141c611499565b6001600160a01b031614611477576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600380546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031690565b6000600a5483116114bb57600a546114bd565b825b9250600a548210156114d1575060006113f7565b500390565b60086020908152600092835260408084209091529082529020805460019091015482565b6004546001600160a01b031681565b6002546001600160a01b031681565b60055481565b6003546001600160a01b031681565b8161157f576040805162461bcd60e51b815260206004820152601660248201527f6465706f736974204f5249206279207374616b696e6700000000000000000000604482015290519081900360640190fd5b60006007838154811061158e57fe5b600091825260208083208684526008825260408085203386529092529220600490910290910191506115bf84610d06565b8054156116085760006115f4826001015461067664e8d4a51000610670876003015487600001546118a990919063ffffffff16565b90508015611606576116063382611966565b505b82156116cd57600061161b846064611842565b905060006116298583611909565b600454855491925061164a916001600160a01b0390811691339116856119f0565b8354611661906001600160a01b03163330846119f0565b825461166d9082611a78565b808455600385015461168a9164e8d4a510009161067091906118a9565b6001840155604080518281529051879133917f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a159181900360200190a3505061092b565b600382015481546116e89164e8d4a5100091610670916118a9565b6001820155604080518481529051859133917f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a159181900360200190a350505050565b61173261183e565b6001600160a01b0316611743611499565b6001600160a01b03161461179e576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b0381166117e35760405162461bcd60e51b8152600401808060200182810382526026815260200180611f5e6026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b3390565b6000808211611898576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b8183816118a157fe5b049392505050565b6000826118b8575060006113f7565b828202828482816118c557fe5b04146119025760405162461bcd60e51b8152600401808060200182810382526021815260200180611faa6021913960400191505060405180910390fd5b9392505050565b600082821115611960576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b600254604080517feb188a9c0000000000000000000000000000000000000000000000000000000081526001600160a01b038581166004830152602482018590529151919092169163eb188a9c91604480830192600092919082900301818387803b1580156119d457600080fd5b505af11580156119e8573d6000803e3d6000fd5b505050505050565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f23b872dd0000000000000000000000000000000000000000000000000000000017905261092b908590611c8f565b600082820183811015611902576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b60075460005b81811015611b6c57826001600160a01b031660078281548110611af757fe5b60009182526020909120600490910201546001600160a01b03161415611b64576040805162461bcd60e51b815260206004820152601c60248201527f6164643a20706f6f6c20616c7265616479206578697374732121212100000000604482015290519081900360640190fd5b600101611ad8565b505050565b600754600060015b82811015611bbc57611bb260078281548110611b9157fe5b90600052602060002090600402016001015483611a7890919063ffffffff16565b9150600101611b79565b5080156110b757611bce816004611842565b9050611be581611174600760008154811061115157fe5b600981905550806007600081548110611bfa57fe5b9060005260206000209060040201600101819055505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb00000000000000000000000000000000000000000000000000000000179052611b6c9084905b6060611ce4826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316611d409092919063ffffffff16565b805190915015611b6c57808060200190516020811015611d0357600080fd5b5051611b6c5760405162461bcd60e51b815260040180806020018281038252602a815260200180611fcb602a913960400191505060405180910390fd5b6060611d4f8484600085611d57565b949350505050565b606082471015611d985760405162461bcd60e51b8152600401808060200182810382526026815260200180611f846026913960400191505060405180910390fd5b611da185611eb3565b611df2576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b60208310611e315780518252601f199092019160209182019101611e12565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114611e93576040519150601f19603f3d011682016040523d82523d6000602084013e611e98565b606091505b5091509150611ea8828286611eb9565b979650505050505050565b3b151590565b60608315611ec8575081611902565b825115611ed85782518084602001fd5b8160405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611f22578181015183820152602001611f0a565b50505050905090810190601f168015611f4f5780820380516001836020036101000a031916815260200191505b509250505060405180910390fdfe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a2646970667358221220e4b87d5d82173cd3fccc3ccebca53469f3f995fcae14b3d6c1cee01a3472b92c64736f6c634300060c0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000575f8738efda7f512e3654f277c77e80c7d272500000000000000000000000085c85647e1a79c2b8bc3ed2b6a1dde326eec66c5000000000000000000000000bda58f52b0426a97ca16881988a8a69e1dae3728000000000000000000000000584b914ca29e3a8d66092847e5871cac497cf9470000000000000000000000000000000000000000000000002b992ddfa23249d60000000000000000000000000000000000000000000000000000000060907997
-----Decoded View---------------
Arg [0] : _ori (address): 0x0575f8738EFdA7F512e3654F277C77e80C7d2725
Arg [1] : _mechs (address): 0x85c85647e1A79c2b8bc3Ed2B6a1DdE326eeC66c5
Arg [2] : _devAddr (address): 0xbDa58f52b0426a97ca16881988a8a69E1dAe3728
Arg [3] : _lpFeeAddr (address): 0x584b914CA29e3a8d66092847E5871cAC497Cf947
Arg [4] : _oriPerSecond (uint256): 3141592653589793238
Arg [5] : _startTime (uint256): 1620081047
-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000000575f8738efda7f512e3654f277c77e80c7d2725
Arg [1] : 00000000000000000000000085c85647e1a79c2b8bc3ed2b6a1dde326eec66c5
Arg [2] : 000000000000000000000000bda58f52b0426a97ca16881988a8a69e1dae3728
Arg [3] : 000000000000000000000000584b914ca29e3a8d66092847e5871cac497cf947
Arg [4] : 0000000000000000000000000000000000000000000000002b992ddfa23249d6
Arg [5] : 0000000000000000000000000000000000000000000000000000000060907997
Deployed Bytecode Sourcemap
38507:12460:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50864:100;;;;;;;;;;;;;;;;-1:-1:-1;50864:100:0;-1:-1:-1;;;;;50864:100:0;;:::i;:::-;;41533:95;;;:::i;:::-;;;;;;;;;;;;;;;;40143:26;;;;;;;;;;;;;;;;-1:-1:-1;40143:26:0;;:::i;:::-;;;;-1:-1:-1;;;;;40143:26:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40386:34;;;:::i;48153:916::-;;;;;;;;;;;;;;;;-1:-1:-1;48153:916:0;;:::i;41980:625::-;;;;;;;;;;;;;;;;-1:-1:-1;41980:625:0;;;-1:-1:-1;;;;;41980:625:0;;;;;;;;;;;;:::i;39887:24::-;;;:::i;:::-;;;;-1:-1:-1;;;;;39887:24:0;;;;;;;;;;;;;;49119:875;;;;;;;;;;;;;;;;-1:-1:-1;49119:875:0;;:::i;47256:849::-;;;;;;;;;;;;;;;;-1:-1:-1;47256:849:0;;;;;;;:::i;45125:792::-;;;;;;;;;;;;;;;;-1:-1:-1;45125:792:0;;:::i;50065:404::-;;;;;;;;;;;;;;;;-1:-1:-1;50065:404:0;;:::i;41402:123::-;;;;;;;;;;;;;;;;-1:-1:-1;41402:123:0;;:::i;44867:180::-;;;:::i;42700:456::-;;;;;;;;;;;;;;;;-1:-1:-1;42700:456:0;;;;;;;;;;;;;;:::i;24751:148::-;;;:::i;40476:24::-;;;:::i;43999:785::-;;;;;;;;;;;;;;;;-1:-1:-1;43999:785:0;;;;;;-1:-1:-1;;;;;43999:785:0;;:::i;40072:35::-;;;:::i;50743:85::-;;;;;;;;;;;;;;;;-1:-1:-1;50743:85:0;-1:-1:-1;;;;;50743:85:0;;:::i;24100:87::-;;;:::i;43697:240::-;;;;;;;;;;;;;;;;-1:-1:-1;43697:240:0;;;;;;;:::i;40225:66::-;;;;;;;;;;;;;;;;-1:-1:-1;40225:66:0;;;;;;-1:-1:-1;;;;;40225:66:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;40007:24;;;:::i;39918:23::-;;;:::i;40038:27::-;;;:::i;39978:22::-;;;:::i;45986:1217::-;;;;;;;;;;;;;;;;-1:-1:-1;45986:1217:0;;;;;;;:::i;25054:244::-;;;;;;;;;;;;;;;;-1:-1:-1;25054:244:0;-1:-1:-1;;;;;25054:244:0;;:::i;50864:100::-;24331:12;:10;:12::i;:::-;-1:-1:-1;;;;;24320:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;24320:23:0;;24312:68;;;;;-1:-1:-1;;;24312:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50934:9:::1;:22:::0;;-1:-1:-1;;;;;;50934:22:0::1;-1:-1:-1::0;;;;;50934:22:0;;;::::1;::::0;;;::::1;::::0;;50864:100::o;41533:95::-;41605:8;:15;41533:95;:::o;40143:26::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;40143:26:0;;;;-1:-1:-1;40143:26:0;;;:::o;40386:34::-;;;;:::o;48153:916::-;48208:21;48232:8;48241:1;48232:11;;;;;;;;;;;;;;;;48290:10;48278:23;;:11;:23;;;:11;:23;;48232:11;;;;;;-1:-1:-1;48278:23:0;48312:13;;:10;:13::i;:::-;48336:24;48363:14;:7;48375:1;48363:11;:14::i;:::-;48336:41;-1:-1:-1;48388:17:0;48408:23;48336:41;48429:1;48408:20;:23::i;:::-;48448:11;;48388:43;;-1:-1:-1;48448:15:0;48444:244;;48480:15;48498:72;48554:4;:15;;;48498:51;48544:4;48498:41;48514:4;:24;;;48498:4;:11;;;:15;;:41;;;;:::i;:::-;:45;;:51::i;:::-;:55;;:72::i;:::-;48480:90;-1:-1:-1;48588:11:0;;48585:92;;48620:41;48641:10;48653:7;48620:20;:41::i;:::-;48444:244;;48701:11;;48698:174;;48729:12;;:76;;-1:-1:-1;;;;;48729:12:0;48767:10;48788:4;48795:9;48729:29;:76::i;:::-;48834:11;;:26;;48850:9;48834:15;:26::i;:::-;48820:40;;48698:174;48916:24;;;;48900:11;;:51;;48946:4;;48900:41;;:15;:41::i;:51::-;48882:15;;;:69;48972:5;;:40;;;-1:-1:-1;;;48972:40:0;;48983:10;48972:40;;;;;;;;;;;;-1:-1:-1;;;;;48972:5:0;;;;:10;;:40;;;;;:5;;:40;;;;;;;;:5;;:40;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;49028:33:0;;;;;;;;49048:1;;-1:-1:-1;49036:10:0;;-1:-1:-1;49028:33:0;;;;;;;;;48153:916;;;;;:::o;41980:625::-;24331:12;:10;:12::i;:::-;-1:-1:-1;;;;;24320:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;24320:23:0;;24312:68;;;;;-1:-1:-1;;;24312:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42081:11:::1;42077:61;;;42109:17;:15;:17::i;:::-;42185:27;42203:8;42185:17;:27::i;:::-;42225:22;42268:9;;42250:15;:27;:57;;42298:9;;42250:57;;;42280:15;42250:57;42336:15;::::0;42225:82;;-1:-1:-1;42336:32:0::1;::::0;42356:11;42336:19:::1;:32::i;:::-;42318:15;:50:::0;42393:173:::1;::::0;;::::1;::::0;::::1;::::0;;-1:-1:-1;;;;;42393:173:0;;::::1;::::0;;::::1;::::0;::::1;::::0;;;;;;;;;-1:-1:-1;42393:173:0;;;;;;42379:8:::1;:188:::0;;::::1;::::0;::::1;::::0;;;;;;;::::1;::::0;;::::1;::::0;;::::1;::::0;;-1:-1:-1;;;;;;42379:188:0::1;::::0;;;::::1;;::::0;;;;;;;;;;;;;;;;;;;;;42578:19:::1;:17;:19::i;:::-;24391:1;41980:625:::0;;;:::o;39887:24::-;;;-1:-1:-1;;;;;39887:24:0;;:::o;49119:875::-;49174:21;49198:8;49207:1;49198:11;;;;;;;;;;;;;;;;49256:10;49244:23;;:11;:23;;;:11;:23;;;49198:11;;;;;;;;-1:-1:-1;49301:14:0;:7;49313:1;49301:11;:14::i;:::-;49286:11;;:29;;49278:69;;;;;-1:-1:-1;;;49278:69:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;49358:13;49369:1;49358:10;:13::i;:::-;49382:15;49400:72;49456:4;:15;;;49400:51;49446:4;49400:41;49416:4;:24;;;49400:4;:11;;;:15;;:41;;;;:::i;:72::-;49382:90;-1:-1:-1;49483:24:0;49510:14;:7;49522:1;49510:11;:14::i;:::-;49483:41;-1:-1:-1;49538:11:0;;49535:84;;49566:41;49587:10;49599:7;49566:20;:41::i;:::-;49632:11;;49629:169;;49674:11;;:33;;49690:16;49674:15;:33::i;:::-;49660:47;;49722:12;;:64;;-1:-1:-1;;;;;49722:12:0;49756:10;49769:16;49722:25;:64::i;:::-;49842:24;;;;49826:11;;:51;;49872:4;;49826:41;;:15;:41::i;:51::-;49808:15;;;:69;49898:5;;:31;;;;;;49909:10;49898:31;;;;;;;;;;;;-1:-1:-1;;;;;49898:5:0;;;;:10;;:31;;;;;:5;;:31;;;;;;;;:5;;:31;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;49945:41:0;;;;;;;;49966:1;;-1:-1:-1;49954:10:0;;-1:-1:-1;49945:41:0;;;;;;;;;49119:875;;;;;:::o;47256:849::-;47368:9;47359:48;;;;;-1:-1:-1;;;47359:48:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;47418:21;47442:8;47451:4;47442:14;;;;;;;;;;;;;;;;47491;;;:8;:14;;;;;;47506:10;47491:26;;;;;;;47536:11;;47442:14;;;;;;;;-1:-1:-1;47536:22:0;-1:-1:-1;47536:22:0;47528:53;;;;;-1:-1:-1;;;47528:53:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;47594:16;47605:4;47594:10;:16::i;:::-;47621:15;47639:72;47695:4;:15;;;47639:51;47685:4;47639:41;47655:4;:24;;;47639:4;:11;;;:15;;:41;;;;:::i;:72::-;47621:90;-1:-1:-1;47725:11:0;;47722:84;;47753:41;47774:10;47786:7;47753:20;:41::i;:::-;47819:11;;47816:151;;47861:11;;:24;;47877:7;47861:15;:24::i;:::-;47847:38;;47900:12;;:55;;-1:-1:-1;;;;;47900:12:0;47934:10;47947:7;47900:25;:55::i;:::-;48011:24;;;;47995:11;;:51;;48041:4;;47995:41;;:15;:41::i;:51::-;47977:15;;;:69;48062:35;;;;;;;;48083:4;;48071:10;;48062:35;;;;;;;;;47256:849;;;;;:::o;45125:792::-;45177:21;45201:8;45210:4;45201:14;;;;;;;;;;;;;;;;;;45177:38;;45249:4;:19;;;45230:15;:38;45226:77;;45285:7;;;45226:77;45332:12;;:37;;;-1:-1:-1;;;45332:37:0;;45363:4;45332:37;;;;;;45313:16;;-1:-1:-1;;;;;45332:12:0;;:22;;:37;;;;;;;;;;;;;;:12;:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;45332:37:0;;-1:-1:-1;45384:13:0;45380:104;;-1:-1:-1;45436:15:0;45414:19;;;;:37;45466:7;;45380:104;45494:18;45515:51;45529:4;:19;;;45550:15;45515:13;:51::i;:::-;45494:72;;45577:17;45597:70;45651:15;;45597:49;45630:4;:15;;;45597:28;45612:12;;45597:10;:14;;:28;;;;:::i;:::-;:32;;:49::i;:70::-;45678:3;;45687:7;;45577:90;;-1:-1:-1;;;;;;45678:3:0;;;;:8;;45687:7;45696:17;45577:90;45710:2;45696:13;:17::i;:::-;45678:36;;;;;;;;;;;;;-1:-1:-1;;;;;45678:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;45725:3:0;;45742:5;;45725:35;;;-1:-1:-1;;;45725:35:0;;-1:-1:-1;;;;;45742:5:0;;;45725:35;;;;;;;;;;;;:3;;;;;-1:-1:-1;45725:8:0;;-1:-1:-1;45725:35:0;;;;;:3;;:35;;;;;;;:3;;:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45798:63;45827:33;45851:8;45827:19;45841:4;45827:9;:13;;:19;;;;:::i;:33::-;45798:24;;;;;:28;:63::i;:::-;45771:24;;;:90;-1:-1:-1;;45894:15:0;45872:19;;;;:37;;;;-1:-1:-1;45125:792:0;;:::o;50065:404::-;50133:9;50124:37;;;;;-1:-1:-1;;;50124:37:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;50172:21;50196:8;50205:4;50196:14;;;;;;;;;;;;;;;;50245;;;:8;:14;;;;;;50260:10;50245:26;;;;;;;;50329:11;;50196:14;;;;;;;50282:12;;50196:14;;-1:-1:-1;50282:59:0;;-1:-1:-1;;;;;50282:12:0;;;;;50260:10;50282:25;:59::i;:::-;50393:11;;50357:48;;;;;;;50387:4;;50375:10;;50357:48;;;;;;;;;50430:1;50416:15;;;50442;;;;:19;-1:-1:-1;;50065:404:0:o;41402:123::-;24331:12;:10;:12::i;:::-;-1:-1:-1;;;;;24320:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;24320:23:0;;24312:68;;;;;-1:-1:-1;;;24312:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41482:16:::1;:35:::0;41402:123::o;44867:180::-;44929:8;:15;44912:14;44955:85;44983:6;44977:3;:12;44955:85;;;45013:15;45024:3;45013:10;:15::i;:::-;44991:5;;44955:85;;;;44867:180;:::o;42700:456::-;24331:12;:10;:12::i;:::-;-1:-1:-1;;;;;24320:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;24320:23:0;;24312:68;;;;;-1:-1:-1;;;24312:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42798:11:::1;42794:61;;;42826:17;:15;:17::i;:::-;42883:63;42934:11;42883:46;42903:8;42912:4;42903:14;;;;;;;;;;;;;;;;;;:25;;;42883:15;;:19;;:46;;;;:::i;:::-;:50:::0;::::1;:63::i;:::-;42865:15;:81;;;;42957:22;42982:8;42991:4;42982:14;;;;;;;;;;;;;;;;;;:25;;;42957:50;;43046:11;43018:8;43027:4;43018:14;;;;;;;;;;;;;;;;;;:25;;:39;;;;43090:11;43072:14;:29;43068:81;;43118:19;:17;:19::i;24751:148::-:0;24331:12;:10;:12::i;:::-;-1:-1:-1;;;;;24320:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;24320:23:0;;24312:68;;;;;-1:-1:-1;;;24312:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24858:1:::1;24842:6:::0;;24821:40:::1;::::0;-1:-1:-1;;;;;24842:6:0;;::::1;::::0;24821:40:::1;::::0;24858:1;;24821:40:::1;24889:1;24872:19:::0;;-1:-1:-1;;;;;;24872:19:0::1;::::0;;24751:148::o;40476:24::-;;;;:::o;43999:785::-;44076:7;44096:21;44120:8;44129:4;44120:14;;;;;;;;;;;;;;;;44169;;;:8;:14;;;;;;-1:-1:-1;;;;;44169:21:0;;;;;;;;;;;44120:14;;;;;;;44231:24;;;;44285:12;;:37;;-1:-1:-1;;;44285:37:0;;44316:4;44285:37;;;;;;;;;44120:14;;-1:-1:-1;44169:21:0;;44231:24;;44120:14;;44285:12;;;;;:22;;:37;;;;;44120:14;;44285:37;;;;;:12;:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;44285:37:0;44355:19;;;;44285:37;;-1:-1:-1;44337:15:0;:37;:54;;;;-1:-1:-1;44378:13:0;;;44337:54;44333:359;;;44408:18;44429:51;44443:4;:19;;;44464:15;44429:13;:51::i;:::-;44408:72;;44495:17;44515:70;44569:15;;44515:49;44548:4;:15;;;44515:28;44530:12;;44515:10;:14;;:28;;;;:::i;:70::-;44495:90;-1:-1:-1;44622:58:0;44646:33;44670:8;44646:19;44495:90;44660:4;44646:13;:19::i;:33::-;44622:19;;:23;:58::i;:::-;44600:80;;44333:359;;;44709:67;44760:4;:15;;;44709:46;44750:4;44709:36;44725:19;44709:4;:11;;;:15;;:36;;;;:::i;:67::-;44702:74;;;;;;43999:785;;;;;:::o;40072:35::-;;;;:::o;50743:85::-;24331:12;:10;:12::i;:::-;-1:-1:-1;;;;;24320:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;24320:23:0;;24312:68;;;;;-1:-1:-1;;;24312:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50802:7:::1;:18:::0;;-1:-1:-1;;;;;;50802:18:0::1;-1:-1:-1::0;;;;;50802:18:0;;;::::1;::::0;;;::::1;::::0;;50743:85::o;24100:87::-;24146:7;24173:6;-1:-1:-1;;;;;24173:6:0;24100:87;:::o;43697:240::-;43769:7;43805:9;;43797:5;:17;:37;;43825:9;;43797:37;;;43817:5;43797:37;43789:45;;43855:9;;43849:3;:15;43845:56;;;-1:-1:-1;43888:1:0;43881:8;;43845:56;-1:-1:-1;43918:11:0;;43697:240::o;40225:66::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;40007:24::-;;;-1:-1:-1;;;;;40007:24:0;;:::o;39918:23::-;;;-1:-1:-1;;;;;39918:23:0;;:::o;40038:27::-;;;;:::o;39978:22::-;;;-1:-1:-1;;;;;39978:22:0;;:::o;45986:1217::-;46097:9;46088:45;;;;;-1:-1:-1;;;46088:45:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;46144:21;46168:8;46177:4;46168:14;;;;;;;;;;;;;;;;46217;;;:8;:14;;;;;;46232:10;46217:26;;;;;;;46168:14;;;;;;;;-1:-1:-1;46254:16:0;46226:4;46254:10;:16::i;:::-;46285:11;;:15;46281:244;;46317:15;46335:72;46391:4;:15;;;46335:51;46381:4;46335:41;46351:4;:24;;;46335:4;:11;;;:15;;:41;;;;:::i;:72::-;46317:90;-1:-1:-1;46425:11:0;;46422:92;;46457:41;46478:10;46490:7;46457:20;:41::i;:::-;46281:244;;46539:11;;46535:661;;46567:13;46583:16;:7;46595:3;46583:11;:16::i;:::-;46567:32;-1:-1:-1;46614:16:0;46633:18;:7;46567:32;46633:11;:18::i;:::-;46725:9;;46666:12;;46614:37;;-1:-1:-1;46666:77:0;;-1:-1:-1;;;;;46666:12:0;;;;46704:10;;46725:9;46737:5;46666:29;:77::i;:::-;46758:12;;:75;;-1:-1:-1;;;;;46758:12:0;46796:10;46817:4;46824:8;46758:29;:75::i;:::-;46862:11;;:25;;46878:8;46862:15;:25::i;:::-;46848:39;;;46938:24;;;;46922:51;;46968:4;;46922:41;;46848:39;46922:15;:41::i;:51::-;46904:15;;;:69;46993:35;;;;;;;;47013:4;;47001:10;;46993:35;;;;;;;;;46535:661;;;;;47095:24;;;;47079:11;;:51;;47125:4;;47079:41;;:15;:41::i;:51::-;47061:15;;;:69;47150:34;;;;;;;;47170:4;;47158:10;;47150:34;;;;;;;;;45986:1217;;;;:::o;25054:244::-;24331:12;:10;:12::i;:::-;-1:-1:-1;;;;;24320:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;24320:23:0;;24312:68;;;;;-1:-1:-1;;;24312:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;25143:22:0;::::1;25135:73;;;;-1:-1:-1::0;;;25135:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25245:6;::::0;;25224:38:::1;::::0;-1:-1:-1;;;;;25224:38:0;;::::1;::::0;25245:6;::::1;::::0;25224:38:::1;::::0;::::1;25273:6;:17:::0;;-1:-1:-1;;;;;;25273:17:0::1;-1:-1:-1::0;;;;;25273:17:0;;;::::1;::::0;;;::::1;::::0;;25054:244::o;22639:106::-;22727:10;22639:106;:::o;7153:153::-;7211:7;7243:1;7239;:5;7231:44;;;;;-1:-1:-1;;;7231:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;7297:1;7293;:5;;;;;;;7153:153;-1:-1:-1;;;7153:153:0:o;6455:220::-;6513:7;6537:6;6533:20;;-1:-1:-1;6552:1:0;6545:8;;6533:20;6576:5;;;6580:1;6576;:5;:1;6600:5;;;;;:10;6592:56;;;;-1:-1:-1;;;6592:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6666:1;6455:220;-1:-1:-1;;;6455:220:0:o;6038:158::-;6096:7;6129:1;6124;:6;;6116:49;;;;;-1:-1:-1;;;6116:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;6183:5:0;;;6038:158::o;50580:128::-;50660:5;;:40;;;;;;-1:-1:-1;;;;;50660:40:0;;;;;;;;;;;;;;;:5;;;;;:26;;:40;;;;;:5;;:40;;;;;;;:5;;:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50580:128;;:::o;19119:205::-;19247:68;;;-1:-1:-1;;;;;19247:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19270:27;19247:68;;;19220:96;;19240:5;;19220:19;:96::i;5576:179::-;5634:7;5666:5;;;5690:6;;;;5682:46;;;;;-1:-1:-1;;;5682:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;41636:269;41722:8;:15;41705:14;41748:148;41778:6;41771:4;:13;41748:148;;;41843:8;-1:-1:-1;;;;;41817:34:0;:8;41826:4;41817:14;;;;;;;;;;;;;;;;;;;;;:22;-1:-1:-1;;;;;41817:22:0;:34;;41809:75;;;;;-1:-1:-1;;;41809:75:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;41786:6;;41748:148;;;;41636:269;;:::o;43164:453::-;43230:8;:15;43213:14;43304:1;43285:115;43313:6;43307:3;:12;43285:115;;;43352:36;43363:8;43372:3;43363:13;;;;;;;;;;;;;;;;;;:24;;;43352:6;:10;;:36;;;;:::i;:::-;43343:45;-1:-1:-1;43321:5:0;;43285:115;;;-1:-1:-1;43414:11:0;;43410:200;;43451:13;:6;43462:1;43451:10;:13::i;:::-;43442:22;;43497:55;43545:6;43497:43;43517:8;43526:1;43517:11;;;;;;;43497:55;43479:15;:73;;;;43592:6;43567:8;43576:1;43567:11;;;;;;;;;;;;;;;;;;:22;;:31;;;;43164:453;;:::o;18934:177::-;19044:58;;;-1:-1:-1;;;;;19044:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19067:23;19044:58;;;19017:86;;19037:5;;21239:761;21663:23;21689:69;21717:4;21689:69;;;;;;;;;;;;;;;;;21697:5;-1:-1:-1;;;;;21689:27:0;;;:69;;;;;:::i;:::-;21773:17;;21663:95;;-1:-1:-1;21773:21:0;21769:224;;21915:10;21904:30;;;;;;;;;;;;;;;-1:-1:-1;21904:30:0;21896:85;;;;-1:-1:-1;;;21896:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13931:195;14034:12;14066:52;14088:6;14096:4;14102:1;14105:12;14066:21;:52::i;:::-;14059:59;13931:195;-1:-1:-1;;;;13931:195:0:o;14983:530::-;15110:12;15168:5;15143:21;:30;;15135:81;;;;-1:-1:-1;;;15135:81:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15235:18;15246:6;15235:10;:18::i;:::-;15227:60;;;;;-1:-1:-1;;;15227:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;15361:12;15375:23;15402:6;-1:-1:-1;;;;;15402:11:0;15422:5;15430:4;15402:33;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;15402:33:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15360:75;;;;15453:52;15471:7;15480:10;15492:12;15453:17;:52::i;:::-;15446:59;14983:530;-1:-1:-1;;;;;;;14983:530:0:o;11013:422::-;11380:20;11419:8;;;11013:422::o;17523:742::-;17638:12;17667:7;17663:595;;;-1:-1:-1;17698:10:0;17691:17;;17663:595;17812:17;;:21;17808:439;;18075:10;18069:17;18136:15;18123:10;18119:2;18115:19;18108:44;18023:148;18218:12;18211:20;;-1:-1:-1;;;18211:20:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Swarm Source
ipfs://e4b87d5d82173cd3fccc3ccebca53469f3f995fcae14b3d6c1cee01a3472b92c
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.