Feature Tip: Add private address tag to any address under My Name Tag !
More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 1,293 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Withdraw | 11975845 | 1389 days ago | IN | 0 ETH | 0.01074528 | ||||
Withdraw | 11956704 | 1392 days ago | IN | 0 ETH | 0.00941712 | ||||
Withdraw | 11805438 | 1415 days ago | IN | 0 ETH | 0.01190732 | ||||
Withdraw | 11805431 | 1415 days ago | IN | 0 ETH | 0.01355508 | ||||
Withdraw | 11762145 | 1422 days ago | IN | 0 ETH | 0.00716643 | ||||
Withdraw | 11756855 | 1422 days ago | IN | 0 ETH | 0.00359464 | ||||
Withdraw | 11756685 | 1423 days ago | IN | 0 ETH | 0.00521292 | ||||
Withdraw | 11756685 | 1423 days ago | IN | 0 ETH | 0.00412114 | ||||
Withdraw | 11755242 | 1423 days ago | IN | 0 ETH | 0.00572866 | ||||
Withdraw | 11751951 | 1423 days ago | IN | 0 ETH | 0.0072618 | ||||
Withdraw | 11750698 | 1423 days ago | IN | 0 ETH | 0.00756532 | ||||
Withdraw | 11747121 | 1424 days ago | IN | 0 ETH | 0.00567763 | ||||
Withdraw | 11742282 | 1425 days ago | IN | 0 ETH | 0.00491754 | ||||
Withdraw | 11734625 | 1426 days ago | IN | 0 ETH | 0.0050274 | ||||
Withdraw | 11733486 | 1426 days ago | IN | 0 ETH | 0.00744608 | ||||
Withdraw | 11730963 | 1426 days ago | IN | 0 ETH | 0.0042826 | ||||
Withdraw | 11730807 | 1426 days ago | IN | 0 ETH | 0.00511918 | ||||
Withdraw | 11728759 | 1427 days ago | IN | 0 ETH | 0.00563182 | ||||
Withdraw | 11728259 | 1427 days ago | IN | 0 ETH | 0.00754012 | ||||
Withdraw | 11727023 | 1427 days ago | IN | 0 ETH | 0.0071687 | ||||
Withdraw | 11717300 | 1429 days ago | IN | 0 ETH | 0.00456072 | ||||
Withdraw | 11716814 | 1429 days ago | IN | 0 ETH | 0.0049823 | ||||
Withdraw | 11716691 | 1429 days ago | IN | 0 ETH | 0.00648456 | ||||
Withdraw | 11716632 | 1429 days ago | IN | 0 ETH | 0.00547286 | ||||
Withdraw | 11716623 | 1429 days ago | IN | 0 ETH | 0.0046538 |
Advanced mode: Intended for advanced users or developers and will display all Internal Transactions including zero value transfers. Name tag integration is not available in advanced view.
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block |
From
|
To
|
||||
---|---|---|---|---|---|---|---|
11975845 | 1389 days ago | 0 ETH | |||||
11975845 | 1389 days ago | 0 ETH | |||||
11975845 | 1389 days ago | 0 ETH | |||||
11975845 | 1389 days ago | 0 ETH | |||||
11956704 | 1392 days ago | 0 ETH | |||||
11956704 | 1392 days ago | 0 ETH | |||||
11956704 | 1392 days ago | 0 ETH | |||||
11956704 | 1392 days ago | 0 ETH | |||||
11805438 | 1415 days ago | 0 ETH | |||||
11805438 | 1415 days ago | 0 ETH | |||||
11805438 | 1415 days ago | 0 ETH | |||||
11805438 | 1415 days ago | 0 ETH | |||||
11805431 | 1415 days ago | 0 ETH | |||||
11805431 | 1415 days ago | 0 ETH | |||||
11805431 | 1415 days ago | 0 ETH | |||||
11805431 | 1415 days ago | 0 ETH | |||||
11762145 | 1422 days ago | 0 ETH | |||||
11762145 | 1422 days ago | 0 ETH | |||||
11762145 | 1422 days ago | 0 ETH | |||||
11762145 | 1422 days ago | 0 ETH | |||||
11756855 | 1422 days ago | 0 ETH | |||||
11756855 | 1422 days ago | 0 ETH | |||||
11756855 | 1422 days ago | 0 ETH | |||||
11756855 | 1422 days ago | 0 ETH | |||||
11756685 | 1423 days ago | 0 ETH |
Loading...
Loading
Contract Name:
LPMining
Compiler Version
v0.6.12+commit.27d51765
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2020-12-16 */ // SPDX-License-Identifier: MIT // File: @openzeppelin/contracts/GSN/Context.sol pragma solidity ^0.6.0; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with GSN meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address payable) { return msg.sender; } function _msgData() internal view virtual returns (bytes memory) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } } // File: @openzeppelin/contracts/access/Ownable.sol pragma solidity ^0.6.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. */ 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 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/IERC20.sol pragma solidity ^0.6.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address sender, address recipient, uint256 amount) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); } // File: @openzeppelin/contracts/math/SafeMath.sol pragma solidity ^0.6.0; /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming languages. * `SafeMath` restores this intuition by reverting the transaction when an * operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return sub(a, b, "SafeMath: subtraction overflow"); } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers. Reverts on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return div(a, b, "SafeMath: division by zero"); } /** * @dev Returns the integer division of two unsigned integers. Reverts with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return mod(a, b, "SafeMath: modulo by zero"); } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts with custom message when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } } // File: @openzeppelin/contracts/utils/Address.sol pragma solidity ^0.6.2; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies in 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"); return _functionCallWithValue(target, data, value, errorMessage); } function _functionCallWithValue(address target, bytes memory data, uint256 weiValue, string memory errorMessage) private returns (bytes memory) { require(isContract(target), "Address: call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.call{ value: weiValue }(data); if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly // solhint-disable-next-line no-inline-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // File: @openzeppelin/contracts/token/ERC20/SafeERC20.sol pragma solidity ^0.6.0; /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeERC20 { using SafeMath for uint256; using Address for address; function safeTransfer(IERC20 token, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } /** * @dev Deprecated. This function has issues similar to the ones found in * {IERC20-approve}, and its usage is discouraged. * * Whenever possible, use {safeIncreaseAllowance} and * {safeDecreaseAllowance} instead. */ function safeApprove(IERC20 token, address spender, uint256 value) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' // solhint-disable-next-line max-line-length require((value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal { uint256 newAllowance = token.allowance(address(this), spender).add(value); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal { uint256 newAllowance = token.allowance(address(this), spender).sub(value, "SafeERC20: decreased allowance below zero"); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function _callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed"); if (returndata.length > 0) { // Return data is optional // solhint-disable-next-line max-line-length require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } } // File: @openzeppelin/contracts/token/ERC20/ERC20.sol pragma solidity ^0.6.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; using Address for address; 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 returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view 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 returns (uint8) { return _decimals; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view 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 { _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/token/STSToken.sol pragma solidity ^0.6.0; // sts 代币合约 contract STSToken is ERC20("StarSwap", "STS") { constructor() public { _mint(msg.sender, 21000000 * 10 ** 18); } } // File: contracts/mining/LPMining.sol pragma solidity ^0.6.12; contract LPMining is Ownable { using SafeMath for uint256; using SafeERC20 for IERC20; struct UserInfo { uint256 amount; // 用户抵押的 LP 数量 uint256 rewardDebt; // 用户奖励的债务 uint256 lastBlock; // 用户抵押 提现 领取后更新的操作 // 用户应得挖矿奖励计算: // // pending reward = (user.amount * pool.accTokenPerShare) - user.rewardDebt // // 用户抵押,提现时进行的操作: // 1. The pool's `accTokenPerShare` (and `lastRewardBlock`) 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. } // 池子的信息 struct PoolInfo { IERC20 lpToken; // LP 地址 uint256 allocPoint; // 池子的权重 uint256 lastRewardBlock; // 最新的奖励区块 uint256 accTokenPerShare; // 根据区块计算平均每个块挖到的 token uint256 totalDeposit; // 有效抵押数 } // 奖励代币 STSToken public stsToken; // 分红截止区块 uint256 public bonusEndBlock; // 每个块产的奖励代币 uint256 public stsTokenPerBlock; // 每个周期多少个块 uint256 public blockPerPeriod; // 分红奖励倍数 1 是 1倍 即不奖励 2 是奖励2倍 以此类推 uint256 public constant BONUS_MULTIPLIER = 1; // no bonus // 池子数组信息 PoolInfo[] public poolInfo; // 用户信息映射 mapping(uint256 => mapping(address => UserInfo)) public userInfo; // 所有池子的总权重 uint256 public totalAllocPoint = 0; // 挖矿开始区块 uint256 public startBlock; 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); // 构造函数 // stsToken: 奖励代币 // startBlock: 挖矿起始区块 // stsTokenPerBlock: 每个区块产矿数 // blockPerPeriod: 每个周期多少个区块 constructor( STSToken _stsToken, uint256 _startBlock, uint256 _initSTSTokenBase, uint256 _blockPerPeriod ) public { stsToken = _stsToken; stsTokenPerBlock = _initSTSTokenBase; blockPerPeriod = _blockPerPeriod; bonusEndBlock = _startBlock.add(_blockPerPeriod); startBlock = _startBlock; } function setBonusEndBlock(uint256 _startBlock) public onlyOwner { bonusEndBlock = _startBlock.add(blockPerPeriod); } function setStartBlock(uint256 _startBlock) public onlyOwner { startBlock = _startBlock; } function poolLength() external view returns (uint256) { return poolInfo.length; } // 新增 LP 池子 // 不要添加相同 LP token 的池子,会引起计算混乱 function add(uint256 _allocPoint, IERC20 _lpToken, bool _withUpdate) public onlyOwner { if (_withUpdate) { massUpdatePools(); } checkDuplicateLp(_lpToken); uint256 lastRewardBlock = block.number > startBlock ? block.number : startBlock; totalAllocPoint = totalAllocPoint.add(_allocPoint); poolInfo.push(PoolInfo({ lpToken : _lpToken, allocPoint : _allocPoint, lastRewardBlock : lastRewardBlock, accTokenPerShare : 0, totalDeposit: 0 })); } // 检查是否存在重复LP function checkDuplicateLp(IERC20 _lpToken) internal view { PoolInfo storage pool; for(uint256 i = 0; i < poolInfo.length; i++) { pool = poolInfo[i]; require(pool.lpToken != _lpToken, "lptoken is exist"); } } // 更新池子的权重 function set(uint256 _pid, uint256 _allocPoint, bool _withUpdate) public onlyOwner { if (_withUpdate) { massUpdatePools(); } totalAllocPoint = totalAllocPoint.sub(poolInfo[_pid].allocPoint).add(_allocPoint); poolInfo[_pid].allocPoint = _allocPoint; } // 返回区块奖励因数 // 避免 衰减后 uint div 取整的问题,故传入了一个 baseRatio function getMultiplier(uint256 _from, uint256 _to, uint baseRatio) public view returns (uint256) { uint base = baseRatio; uint canAwardBlockNum; if (_to <= bonusEndBlock) { return _to.sub(_from).mul(BONUS_MULTIPLIER).mul(base); } else if (_from >= bonusEndBlock) { { for (uint i = bonusEndBlock; i < _to; i = i + blockPerPeriod) { // 超过12个周期不再进行挖矿奖励 if (i >= bonusEndBlock.add(blockPerPeriod.mul(11))) { break; } // 12个周期内才进行奖励衰减 if (i < bonusEndBlock.add(blockPerPeriod.mul(11))) { base = base.mul(4).div(5); } // 循环进行衰减计算 if (i.add(blockPerPeriod) < _from) { continue; } if (i < _from && i.add(blockPerPeriod) >= _from) { // _from _to 同周期 if (i.add(blockPerPeriod) > _to) { canAwardBlockNum = canAwardBlockNum.add(base.mul(_to.sub(_from))); } else { // _from _to 跨周期 canAwardBlockNum = canAwardBlockNum.add(base.mul(i.add(blockPerPeriod).sub(_from))); } continue; } // if (i.add(blockPerPeriod) > _to) { // 同周期 is (_to - i) canAwardBlockNum = canAwardBlockNum.add(_to.sub(i).mul(base)); continue; } // 用户区块 逻辑可领取区块数 canAwardBlockNum = canAwardBlockNum.add(blockPerPeriod.mul(base)); } } return canAwardBlockNum; } else { uint first = bonusEndBlock.sub(_from).mul(BONUS_MULTIPLIER).mul(base); { for (uint j = bonusEndBlock; j < _to; j = j + blockPerPeriod) { // after 24 period do not mint award if (j >= bonusEndBlock.add(blockPerPeriod.mul(11))) { break; } // after 13 period do not decay if (j < bonusEndBlock.add(blockPerPeriod.mul(11))) { base = base.mul(4).div(5); } if (j.add(blockPerPeriod) > _to) { // cross the blocks is (_to - j) canAwardBlockNum = canAwardBlockNum.add(_to.sub(j).mul(base)); continue; } // 用户区块 逻辑可领取区块数 canAwardBlockNum = canAwardBlockNum.add(blockPerPeriod.mul(base)); } } return first.add(canAwardBlockNum); } } // 前端渲染挖矿奖励数值 function pendingToken(uint256 _pid, address _user) external view returns (uint256) { PoolInfo storage pool = poolInfo[_pid]; UserInfo storage user = userInfo[_pid][_user]; uint256 accTokenPerShare = pool.accTokenPerShare; uint256 lpSupply = pool.lpToken.balanceOf(address(this)); if (block.number > pool.lastRewardBlock && lpSupply != 0) { uint baseRatio = 1e12; uint256 multiplier = getMultiplier(pool.lastRewardBlock, block.number, baseRatio); uint256 stsTokenReward = multiplier.mul(stsTokenPerBlock).mul(pool.allocPoint).div(totalAllocPoint).div(baseRatio); accTokenPerShare = accTokenPerShare.add(stsTokenReward.mul(1e12).div(lpSupply)); } return user.amount.mul(accTokenPerShare).div(1e12).sub(user.rewardDebt); } // 强制更新池子信息 function massUpdatePools() public { uint256 length = poolInfo.length; for (uint256 pid = 0; pid < length; ++pid) { updatePool(pid); } } // 更新池子信息 function updatePool(uint256 _pid) public { PoolInfo storage pool = poolInfo[_pid]; if (block.number <= pool.lastRewardBlock) { return; } uint256 lpSupply = pool.lpToken.balanceOf(address(this)); if (lpSupply == 0) { pool.lastRewardBlock = block.number; return; } uint baseRatio = 1e12; uint256 multiplier = getMultiplier(pool.lastRewardBlock, block.number, baseRatio); uint256 stsTokenReward = multiplier.mul(stsTokenPerBlock).mul(pool.allocPoint).div(totalAllocPoint).div(baseRatio); pool.accTokenPerShare = pool.accTokenPerShare.add(stsTokenReward.mul(1e12).div(lpSupply)); pool.lastRewardBlock = block.number; } // 抵押 LP token 当 amount 为 0 时、领取挖矿奖励 function deposit(uint256 _pid, uint256 _amount) public { PoolInfo storage pool = poolInfo[_pid]; UserInfo storage user = userInfo[_pid][msg.sender]; // 如果是抵押令牌 if (_amount > 0) { // 如果是初次新增抵押,则有效抵押数量 +1 if (user.amount == 0) { pool.totalDeposit = pool.totalDeposit.add(1); } } updatePool(_pid); if (user.amount > 0) { uint256 pending = user.amount.mul(pool.accTokenPerShare).div(1e12).sub(user.rewardDebt); safeTokenTransfer(msg.sender, pending); } if (_amount > 0) { pool.lpToken.safeTransferFrom(address(msg.sender), address(this), _amount); } user.amount = user.amount.add(_amount); user.rewardDebt = user.amount.mul(pool.accTokenPerShare).div(1e12); emit Deposit(msg.sender, _pid, _amount); } // 提取 LP token function withdraw(uint256 _pid, uint256 _amount) public { 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.accTokenPerShare).div(1e12).sub(user.rewardDebt); safeTokenTransfer(msg.sender, pending); user.amount = user.amount.sub(_amount); if (user.amount == 0) { pool.totalDeposit = pool.totalDeposit.sub(1); } user.rewardDebt = user.amount.mul(pool.accTokenPerShare).div(1e12); pool.lpToken.safeTransfer(address(msg.sender), _amount); emit Withdraw(msg.sender, _pid, _amount); } // 不要奖励,直接提取 LP token function emergencyWithdraw(uint256 _pid) public { 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; } // 从合约发送奖励代币 如果合约账户代币不足,则直接 return function safeTokenTransfer(address _to, uint256 _amount) internal { uint256 stsTokenBal = stsToken.balanceOf(address(this)); if (_amount == 0 || stsTokenBal == 0) { return; } if (_amount > stsTokenBal) { stsToken.transfer(_to, stsTokenBal); } else { stsToken.transfer(_to, _amount); } } // 转移合约上的代币到指定地址,可由部署者操作 function forceTransfer(address _addr, uint256 _amount) public onlyOwner { require(_addr != address(0), "address can not be 0"); safeTokenTransfer(_addr, _amount); } function getTotalDeposit(uint256 _pid) public view returns(uint256) { PoolInfo storage pool = poolInfo[_pid]; return pool.totalDeposit; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"contract STSToken","name":"_stsToken","type":"address"},{"internalType":"uint256","name":"_startBlock","type":"uint256"},{"internalType":"uint256","name":"_initSTSTokenBase","type":"uint256"},{"internalType":"uint256","name":"_blockPerPeriod","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":[],"name":"blockPerPeriod","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"bonusEndBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"emergencyWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_addr","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"forceTransfer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_from","type":"uint256"},{"internalType":"uint256","name":"_to","type":"uint256"},{"internalType":"uint256","name":"baseRatio","type":"uint256"}],"name":"getMultiplier","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"getTotalDeposit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"massUpdatePools","outputs":[],"stateMutability":"nonpayable","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":"pendingToken","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":"lastRewardBlock","type":"uint256"},{"internalType":"uint256","name":"accTokenPerShare","type":"uint256"},{"internalType":"uint256","name":"totalDeposit","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":[{"internalType":"uint256","name":"_startBlock","type":"uint256"}],"name":"setBonusEndBlock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_startBlock","type":"uint256"}],"name":"setStartBlock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"stsToken","outputs":[{"internalType":"contract STSToken","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"stsTokenPerBlock","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":"_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"},{"internalType":"uint256","name":"lastBlock","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
608060405260006007553480156200001657600080fd5b5060405162001d2b38038062001d2b833981810160405260808110156200003c57600080fd5b508051602082015160408301516060909301519192909160006200005f620000f5565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600180546001600160a01b0319166001600160a01b03861617905560038290556004819055620000e68382620000f9602090811b6200139f17901c565b6002555050600855506200015b565b3390565b60008282018381101562000154576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b611bc0806200016b6000396000f3fe608060405234801561001057600080fd5b506004361061018e5760003560e01c80637bafb029116100de578063c4cad63211610097578063e2bbb15811610071578063e2bbb15814610402578063f2fde38b14610425578063f35e4a6e1461044b578063ffb0885d146104685761018e565b8063c4cad632146103d5578063ccabec72146103dd578063d23ab97a146103e55761018e565b80637bafb029146103115780638aa285501461033a5780638da5cb5b1461034257806393f1a40b146103665780639e0af234146103b0578063b7b6888b146103cd5761018e565b806348cd4cb11161014b5780635312ea8e116101255780635312ea8e146102b9578063630b5ba1146102d657806364482f79146102de578063715018a6146103095761018e565b806348cd4cb11461026857806348e43af41461027057806351eb05a61461029c5761018e565b8063081e3eda146101935780631526fe27146101ad57806317caf6f1146101ff5780631aed6553146102075780631eaaa0451461020f578063441a3e7014610245575b600080fd5b61019b610494565b60408051918252519081900360200190f35b6101ca600480360360208110156101c357600080fd5b503561049a565b604080516001600160a01b03909616865260208601949094528484019290925260608401526080830152519081900360a00190f35b61019b6104e2565b61019b6104e8565b6102436004803603606081101561022557600080fd5b508035906001600160a01b03602082013516906040013515156104ee565b005b6102436004803603604081101561025b57600080fd5b50803590602001356106a3565b61019b610811565b61019b6004803603604081101561028657600080fd5b50803590602001356001600160a01b0316610817565b610243600480360360208110156102b257600080fd5b503561098d565b610243600480360360208110156102cf57600080fd5b5035610ac7565b610243610b62565b610243600480360360608110156102f457600080fd5b50803590602081013590604001351515610b85565b610243610c56565b61019b6004803603606081101561032757600080fd5b5080359060208101359060400135610cf8565b61019b610f77565b61034a610f7c565b604080516001600160a01b039092168252519081900360200190f35b6103926004803603604081101561037c57600080fd5b50803590602001356001600160a01b0316610f8b565b60408051938452602084019290925282820152519081900360600190f35b610243600480360360208110156103c657600080fd5b5035610fb7565b61034a611023565b61019b611032565b61019b611038565b61019b600480360360208110156103fb57600080fd5b503561103e565b6102436004803603604081101561041857600080fd5b5080359060200135611069565b6102436004803603602081101561043b57600080fd5b50356001600160a01b0316611196565b6102436004803603602081101561046157600080fd5b503561128e565b6102436004803603604081101561047e57600080fd5b506001600160a01b0381351690602001356112eb565b60055490565b600581815481106104a757fe5b6000918252602090912060059091020180546001820154600283015460038401546004909401546001600160a01b0390931694509092909185565b60075481565b60025481565b6104f66113f9565b6000546001600160a01b03908116911614610546576040805162461bcd60e51b81526020600482018190526024820152600080516020611b41833981519152604482015290519081900360640190fd5b801561055457610554610b62565b61055d826113fd565b6000600854431161057057600854610572565b435b600754909150610582908561139f565b6007556040805160a0810182526001600160a01b0394851681526020810195865290810191825260006060820181815260808301828152600580546001810182559381905293517f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db09390940292830180546001600160a01b031916949097169390931790955594517f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db186015590517f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db285015591517f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db384015550517f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db490910155565b6000600583815481106106b257fe5b600091825260208083208684526006825260408085203386529092529220805460059092029092019250831115610725576040805162461bcd60e51b81526020600482015260126024820152711dda5d1a191c985dce881b9bdd0819dbdbd960721b604482015290519081900360640190fd5b61072e8461098d565b6000610768826001015461076264e8d4a5100061075c8760030154876000015461148d90919063ffffffff16565b906114e6565b90611528565b9050610774338261156a565b81546107809085611528565b80835561079d576004830154610797906001611528565b60048401555b600383015482546107b89164e8d4a510009161075c9161148d565b600183015582546107d3906001600160a01b03163386611710565b604080518581529051869133917ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b5689181900360200190a35050505050565b60085481565b6000806005848154811061082757fe5b600091825260208083208784526006825260408085206001600160a01b0389811687529084528186206005959095029092016003810154815483516370a0823160e01b815230600482015293519298509596909590949316926370a082319260248082019391829003018186803b1580156108a157600080fd5b505afa1580156108b5573d6000803e3d6000fd5b505050506040513d60208110156108cb57600080fd5b50516002850154909150431180156108e257508015155b1561095857600064e8d4a510009050600061090286600201544384610cf8565b905060006109338361075c60075461075c8b6001015461092d6003548961148d90919063ffffffff16565b9061148d565b905061095261094b8561075c8464e8d4a5100061148d565b869061139f565b94505050505b610980836001015461076264e8d4a5100061075c86886000015461148d90919063ffffffff16565b9450505050505b92915050565b60006005828154811061099c57fe5b90600052602060002090600502019050806002015443116109bd5750610ac4565b8054604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b158015610a0757600080fd5b505afa158015610a1b573d6000803e3d6000fd5b505050506040513d6020811015610a3157600080fd5b5051905080610a47575043600290910155610ac4565b600064e8d4a5100090506000610a6284600201544384610cf8565b90506000610a8d8361075c60075461075c896001015461092d6003548961148d90919063ffffffff16565b9050610ab0610aa58561075c8464e8d4a5100061148d565b60038701549061139f565b600386015550504360029093019290925550505b50565b600060058281548110610ad657fe5b60009182526020808320858452600682526040808520338087529352909320805460059093029093018054909450610b1b926001600160a01b03919091169190611710565b80546040805191825251849133917fbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae05959181900360200190a360008082556001909101555050565b60055460005b81811015610b8157610b798161098d565b600101610b68565b5050565b610b8d6113f9565b6000546001600160a01b03908116911614610bdd576040805162461bcd60e51b81526020600482018190526024820152600080516020611b41833981519152604482015290519081900360640190fd5b8015610beb57610beb610b62565b610c2882610c2260058681548110610bff57fe5b90600052602060002090600502016001015460075461152890919063ffffffff16565b9061139f565b6007819055508160058481548110610c3c57fe5b906000526020600020906005020160010181905550505050565b610c5e6113f9565b6000546001600160a01b03908116911614610cae576040805162461bcd60e51b81526020600482018190526024820152600080516020611b41833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b60008082905060006002548511610d2357610d1a8261092d600181898b611528565b92505050610f70565b6002548610610e8f576002545b85811015610e8557600454610d5390610d4a90600b61148d565b6002549061139f565b8110610d5e57610e85565b600454610d7090610d4a90600b61148d565b811015610d8a57610d87600561075c85600461148d565b92505b86610da06004548361139f90919063ffffffff16565b1015610dab57610e7c565b8681108015610dce575086610dcb6004548361139f90919063ffffffff16565b10155b15610e3b5785610de96004548361139f90919063ffffffff16565b1115610e1457610e0d610e06610dff888a611528565b859061148d565b839061139f565b9150610e36565b610e33610e06610dff896107626004548661139f90919063ffffffff16565b91505b610e7c565b85610e516004548361139f90919063ffffffff16565b1115610e6857610e33610e068461092d8985611528565b600454610e7990610e06908561148d565b91505b60045401610d30565b509150610f709050565b6000610eaf8361092d600161092d8b60025461152890919063ffffffff16565b6002549091505b86811015610f5f57600454610ed090610d4a90600b61148d565b8110610edb57610f5f565b600454610eed90610d4a90600b61148d565b811015610f0757610f04600561075c86600461148d565b93505b86610f1d6004548361139f90919063ffffffff16565b1115610f4257610f3b610f348561092d8a85611528565b849061139f565b9250610f56565b600454610f5390610f34908661148d565b92505b60045401610eb6565b50610f6a818361139f565b93505050505b9392505050565b600181565b6000546001600160a01b031690565b600660209081526000928352604080842090915290825290208054600182015460029092015490919083565b610fbf6113f9565b6000546001600160a01b0390811691161461100f576040805162461bcd60e51b81526020600482018190526024820152600080516020611b41833981519152604482015290519081900360640190fd5b60045461101d90829061139f565b60025550565b6001546001600160a01b031681565b60045481565b60035481565b6000806005838154811061104e57fe5b60009182526020909120600460059092020101549392505050565b60006005838154811061107857fe5b6000918252602080832086845260068252604080852033865290925292206005909102909101915082156110c25780546110c25760048201546110bc90600161139f565b60048301555b6110cb8461098d565b80541561110e576000611100826001015461076264e8d4a5100061075c8760030154876000015461148d90919063ffffffff16565b905061110c338261156a565b505b821561112b57815461112b906001600160a01b0316333086611762565b8054611137908461139f565b80825560038301546111549164e8d4a510009161075c919061148d565b6001820155604080518481529051859133917f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a159181900360200190a350505050565b61119e6113f9565b6000546001600160a01b039081169116146111ee576040805162461bcd60e51b81526020600482018190526024820152600080516020611b41833981519152604482015290519081900360640190fd5b6001600160a01b0381166112335760405162461bcd60e51b8152600401808060200182810382526026815260200180611afa6026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6112966113f9565b6000546001600160a01b039081169116146112e6576040805162461bcd60e51b81526020600482018190526024820152600080516020611b41833981519152604482015290519081900360640190fd5b600855565b6112f36113f9565b6000546001600160a01b03908116911614611343576040805162461bcd60e51b81526020600482018190526024820152600080516020611b41833981519152604482015290519081900360640190fd5b6001600160a01b038216611395576040805162461bcd60e51b81526020600482015260146024820152730616464726573732063616e206e6f7420626520360641b604482015290519081900360640190fd5b610b81828261156a565b600082820183811015610f70576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b3390565b6000805b600554811015611488576005818154811061141857fe5b6000918252602090912060059091020180549092506001600160a01b0384811691161415611480576040805162461bcd60e51b815260206004820152601060248201526f1b1c1d1bdad95b881a5cc8195e1a5cdd60821b604482015290519081900360640190fd5b600101611401565b505050565b60008261149c57506000610987565b828202828482816114a957fe5b0414610f705760405162461bcd60e51b8152600401808060200182810382526021815260200180611b206021913960400191505060405180910390fd5b6000610f7083836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506117c2565b6000610f7083836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611864565b600154604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b1580156115b557600080fd5b505afa1580156115c9573d6000803e3d6000fd5b505050506040513d60208110156115df57600080fd5b505190508115806115ee575080155b156115f95750610b81565b80821115611689576001546040805163a9059cbb60e01b81526001600160a01b038681166004830152602482018590529151919092169163a9059cbb9160448083019260209291908290030181600087803b15801561165757600080fd5b505af115801561166b573d6000803e3d6000fd5b505050506040513d602081101561168157600080fd5b506114889050565b6001546040805163a9059cbb60e01b81526001600160a01b038681166004830152602482018690529151919092169163a9059cbb9160448083019260209291908290030181600087803b1580156116df57600080fd5b505af11580156116f3573d6000803e3d6000fd5b505050506040513d602081101561170957600080fd5b5050505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b1790526114889084906118be565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b1790526117bc9085906118be565b50505050565b6000818361184e5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156118135781810151838201526020016117fb565b50505050905090810190601f1680156118405780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50600083858161185a57fe5b0495945050505050565b600081848411156118b65760405162461bcd60e51b81526020600482018181528351602484015283519092839260449091019190850190808383600083156118135781810151838201526020016117fb565b505050900390565b6060611913826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b031661196f9092919063ffffffff16565b8051909150156114885780806020019051602081101561193257600080fd5b50516114885760405162461bcd60e51b815260040180806020018281038252602a815260200180611b61602a913960400191505060405180910390fd5b606061197e8484600085611986565b949350505050565b606061199185611af3565b6119e2576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b60208310611a215780518252601f199092019160209182019101611a02565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114611a83576040519150601f19603f3d011682016040523d82523d6000602084013e611a88565b606091505b50915091508115611a9c57915061197e9050565b805115611aac5780518082602001fd5b60405162461bcd60e51b81526020600482018181528651602484015286518793919283926044019190850190808383600083156118135781810151838201526020016117fb565b3b15159056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a2646970667358221220d8adddcb10ba9d8a28560f8f91492a07b3429292ab76d37d1249a17bccbf992c64736f6c634300060c003300000000000000000000000012472b7349261aae97d20b32d34bbb212c4c013a0000000000000000000000000000000000000000000000000000000000ae219d00000000000000000000000000000000000000000000000024383ec5068410000000000000000000000000000000000000000000000000000000000000054600
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061018e5760003560e01c80637bafb029116100de578063c4cad63211610097578063e2bbb15811610071578063e2bbb15814610402578063f2fde38b14610425578063f35e4a6e1461044b578063ffb0885d146104685761018e565b8063c4cad632146103d5578063ccabec72146103dd578063d23ab97a146103e55761018e565b80637bafb029146103115780638aa285501461033a5780638da5cb5b1461034257806393f1a40b146103665780639e0af234146103b0578063b7b6888b146103cd5761018e565b806348cd4cb11161014b5780635312ea8e116101255780635312ea8e146102b9578063630b5ba1146102d657806364482f79146102de578063715018a6146103095761018e565b806348cd4cb11461026857806348e43af41461027057806351eb05a61461029c5761018e565b8063081e3eda146101935780631526fe27146101ad57806317caf6f1146101ff5780631aed6553146102075780631eaaa0451461020f578063441a3e7014610245575b600080fd5b61019b610494565b60408051918252519081900360200190f35b6101ca600480360360208110156101c357600080fd5b503561049a565b604080516001600160a01b03909616865260208601949094528484019290925260608401526080830152519081900360a00190f35b61019b6104e2565b61019b6104e8565b6102436004803603606081101561022557600080fd5b508035906001600160a01b03602082013516906040013515156104ee565b005b6102436004803603604081101561025b57600080fd5b50803590602001356106a3565b61019b610811565b61019b6004803603604081101561028657600080fd5b50803590602001356001600160a01b0316610817565b610243600480360360208110156102b257600080fd5b503561098d565b610243600480360360208110156102cf57600080fd5b5035610ac7565b610243610b62565b610243600480360360608110156102f457600080fd5b50803590602081013590604001351515610b85565b610243610c56565b61019b6004803603606081101561032757600080fd5b5080359060208101359060400135610cf8565b61019b610f77565b61034a610f7c565b604080516001600160a01b039092168252519081900360200190f35b6103926004803603604081101561037c57600080fd5b50803590602001356001600160a01b0316610f8b565b60408051938452602084019290925282820152519081900360600190f35b610243600480360360208110156103c657600080fd5b5035610fb7565b61034a611023565b61019b611032565b61019b611038565b61019b600480360360208110156103fb57600080fd5b503561103e565b6102436004803603604081101561041857600080fd5b5080359060200135611069565b6102436004803603602081101561043b57600080fd5b50356001600160a01b0316611196565b6102436004803603602081101561046157600080fd5b503561128e565b6102436004803603604081101561047e57600080fd5b506001600160a01b0381351690602001356112eb565b60055490565b600581815481106104a757fe5b6000918252602090912060059091020180546001820154600283015460038401546004909401546001600160a01b0390931694509092909185565b60075481565b60025481565b6104f66113f9565b6000546001600160a01b03908116911614610546576040805162461bcd60e51b81526020600482018190526024820152600080516020611b41833981519152604482015290519081900360640190fd5b801561055457610554610b62565b61055d826113fd565b6000600854431161057057600854610572565b435b600754909150610582908561139f565b6007556040805160a0810182526001600160a01b0394851681526020810195865290810191825260006060820181815260808301828152600580546001810182559381905293517f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db09390940292830180546001600160a01b031916949097169390931790955594517f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db186015590517f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db285015591517f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db384015550517f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db490910155565b6000600583815481106106b257fe5b600091825260208083208684526006825260408085203386529092529220805460059092029092019250831115610725576040805162461bcd60e51b81526020600482015260126024820152711dda5d1a191c985dce881b9bdd0819dbdbd960721b604482015290519081900360640190fd5b61072e8461098d565b6000610768826001015461076264e8d4a5100061075c8760030154876000015461148d90919063ffffffff16565b906114e6565b90611528565b9050610774338261156a565b81546107809085611528565b80835561079d576004830154610797906001611528565b60048401555b600383015482546107b89164e8d4a510009161075c9161148d565b600183015582546107d3906001600160a01b03163386611710565b604080518581529051869133917ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b5689181900360200190a35050505050565b60085481565b6000806005848154811061082757fe5b600091825260208083208784526006825260408085206001600160a01b0389811687529084528186206005959095029092016003810154815483516370a0823160e01b815230600482015293519298509596909590949316926370a082319260248082019391829003018186803b1580156108a157600080fd5b505afa1580156108b5573d6000803e3d6000fd5b505050506040513d60208110156108cb57600080fd5b50516002850154909150431180156108e257508015155b1561095857600064e8d4a510009050600061090286600201544384610cf8565b905060006109338361075c60075461075c8b6001015461092d6003548961148d90919063ffffffff16565b9061148d565b905061095261094b8561075c8464e8d4a5100061148d565b869061139f565b94505050505b610980836001015461076264e8d4a5100061075c86886000015461148d90919063ffffffff16565b9450505050505b92915050565b60006005828154811061099c57fe5b90600052602060002090600502019050806002015443116109bd5750610ac4565b8054604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b158015610a0757600080fd5b505afa158015610a1b573d6000803e3d6000fd5b505050506040513d6020811015610a3157600080fd5b5051905080610a47575043600290910155610ac4565b600064e8d4a5100090506000610a6284600201544384610cf8565b90506000610a8d8361075c60075461075c896001015461092d6003548961148d90919063ffffffff16565b9050610ab0610aa58561075c8464e8d4a5100061148d565b60038701549061139f565b600386015550504360029093019290925550505b50565b600060058281548110610ad657fe5b60009182526020808320858452600682526040808520338087529352909320805460059093029093018054909450610b1b926001600160a01b03919091169190611710565b80546040805191825251849133917fbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae05959181900360200190a360008082556001909101555050565b60055460005b81811015610b8157610b798161098d565b600101610b68565b5050565b610b8d6113f9565b6000546001600160a01b03908116911614610bdd576040805162461bcd60e51b81526020600482018190526024820152600080516020611b41833981519152604482015290519081900360640190fd5b8015610beb57610beb610b62565b610c2882610c2260058681548110610bff57fe5b90600052602060002090600502016001015460075461152890919063ffffffff16565b9061139f565b6007819055508160058481548110610c3c57fe5b906000526020600020906005020160010181905550505050565b610c5e6113f9565b6000546001600160a01b03908116911614610cae576040805162461bcd60e51b81526020600482018190526024820152600080516020611b41833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b60008082905060006002548511610d2357610d1a8261092d600181898b611528565b92505050610f70565b6002548610610e8f576002545b85811015610e8557600454610d5390610d4a90600b61148d565b6002549061139f565b8110610d5e57610e85565b600454610d7090610d4a90600b61148d565b811015610d8a57610d87600561075c85600461148d565b92505b86610da06004548361139f90919063ffffffff16565b1015610dab57610e7c565b8681108015610dce575086610dcb6004548361139f90919063ffffffff16565b10155b15610e3b5785610de96004548361139f90919063ffffffff16565b1115610e1457610e0d610e06610dff888a611528565b859061148d565b839061139f565b9150610e36565b610e33610e06610dff896107626004548661139f90919063ffffffff16565b91505b610e7c565b85610e516004548361139f90919063ffffffff16565b1115610e6857610e33610e068461092d8985611528565b600454610e7990610e06908561148d565b91505b60045401610d30565b509150610f709050565b6000610eaf8361092d600161092d8b60025461152890919063ffffffff16565b6002549091505b86811015610f5f57600454610ed090610d4a90600b61148d565b8110610edb57610f5f565b600454610eed90610d4a90600b61148d565b811015610f0757610f04600561075c86600461148d565b93505b86610f1d6004548361139f90919063ffffffff16565b1115610f4257610f3b610f348561092d8a85611528565b849061139f565b9250610f56565b600454610f5390610f34908661148d565b92505b60045401610eb6565b50610f6a818361139f565b93505050505b9392505050565b600181565b6000546001600160a01b031690565b600660209081526000928352604080842090915290825290208054600182015460029092015490919083565b610fbf6113f9565b6000546001600160a01b0390811691161461100f576040805162461bcd60e51b81526020600482018190526024820152600080516020611b41833981519152604482015290519081900360640190fd5b60045461101d90829061139f565b60025550565b6001546001600160a01b031681565b60045481565b60035481565b6000806005838154811061104e57fe5b60009182526020909120600460059092020101549392505050565b60006005838154811061107857fe5b6000918252602080832086845260068252604080852033865290925292206005909102909101915082156110c25780546110c25760048201546110bc90600161139f565b60048301555b6110cb8461098d565b80541561110e576000611100826001015461076264e8d4a5100061075c8760030154876000015461148d90919063ffffffff16565b905061110c338261156a565b505b821561112b57815461112b906001600160a01b0316333086611762565b8054611137908461139f565b80825560038301546111549164e8d4a510009161075c919061148d565b6001820155604080518481529051859133917f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a159181900360200190a350505050565b61119e6113f9565b6000546001600160a01b039081169116146111ee576040805162461bcd60e51b81526020600482018190526024820152600080516020611b41833981519152604482015290519081900360640190fd5b6001600160a01b0381166112335760405162461bcd60e51b8152600401808060200182810382526026815260200180611afa6026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6112966113f9565b6000546001600160a01b039081169116146112e6576040805162461bcd60e51b81526020600482018190526024820152600080516020611b41833981519152604482015290519081900360640190fd5b600855565b6112f36113f9565b6000546001600160a01b03908116911614611343576040805162461bcd60e51b81526020600482018190526024820152600080516020611b41833981519152604482015290519081900360640190fd5b6001600160a01b038216611395576040805162461bcd60e51b81526020600482015260146024820152730616464726573732063616e206e6f7420626520360641b604482015290519081900360640190fd5b610b81828261156a565b600082820183811015610f70576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b3390565b6000805b600554811015611488576005818154811061141857fe5b6000918252602090912060059091020180549092506001600160a01b0384811691161415611480576040805162461bcd60e51b815260206004820152601060248201526f1b1c1d1bdad95b881a5cc8195e1a5cdd60821b604482015290519081900360640190fd5b600101611401565b505050565b60008261149c57506000610987565b828202828482816114a957fe5b0414610f705760405162461bcd60e51b8152600401808060200182810382526021815260200180611b206021913960400191505060405180910390fd5b6000610f7083836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506117c2565b6000610f7083836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611864565b600154604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b1580156115b557600080fd5b505afa1580156115c9573d6000803e3d6000fd5b505050506040513d60208110156115df57600080fd5b505190508115806115ee575080155b156115f95750610b81565b80821115611689576001546040805163a9059cbb60e01b81526001600160a01b038681166004830152602482018590529151919092169163a9059cbb9160448083019260209291908290030181600087803b15801561165757600080fd5b505af115801561166b573d6000803e3d6000fd5b505050506040513d602081101561168157600080fd5b506114889050565b6001546040805163a9059cbb60e01b81526001600160a01b038681166004830152602482018690529151919092169163a9059cbb9160448083019260209291908290030181600087803b1580156116df57600080fd5b505af11580156116f3573d6000803e3d6000fd5b505050506040513d602081101561170957600080fd5b5050505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b1790526114889084906118be565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b1790526117bc9085906118be565b50505050565b6000818361184e5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156118135781810151838201526020016117fb565b50505050905090810190601f1680156118405780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50600083858161185a57fe5b0495945050505050565b600081848411156118b65760405162461bcd60e51b81526020600482018181528351602484015283519092839260449091019190850190808383600083156118135781810151838201526020016117fb565b505050900390565b6060611913826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b031661196f9092919063ffffffff16565b8051909150156114885780806020019051602081101561193257600080fd5b50516114885760405162461bcd60e51b815260040180806020018281038252602a815260200180611b61602a913960400191505060405180910390fd5b606061197e8484600085611986565b949350505050565b606061199185611af3565b6119e2576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b60208310611a215780518252601f199092019160209182019101611a02565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114611a83576040519150601f19603f3d011682016040523d82523d6000602084013e611a88565b606091505b50915091508115611a9c57915061197e9050565b805115611aac5780518082602001fd5b60405162461bcd60e51b81526020600482018181528651602484015286518793919283926044019190850190808383600083156118135781810151838201526020016117fb565b3b15159056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a2646970667358221220d8adddcb10ba9d8a28560f8f91492a07b3429292ab76d37d1249a17bccbf992c64736f6c634300060c0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000012472b7349261aae97d20b32d34bbb212c4c013a0000000000000000000000000000000000000000000000000000000000ae219d00000000000000000000000000000000000000000000000024383ec5068410000000000000000000000000000000000000000000000000000000000000054600
-----Decoded View---------------
Arg [0] : _stsToken (address): 0x12472B7349261Aae97d20B32d34BBB212C4C013a
Arg [1] : _startBlock (uint256): 11411869
Arg [2] : _initSTSTokenBase (uint256): 2609905000000000000
Arg [3] : _blockPerPeriod (uint256): 345600
-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 00000000000000000000000012472b7349261aae97d20b32d34bbb212c4c013a
Arg [1] : 0000000000000000000000000000000000000000000000000000000000ae219d
Arg [2] : 00000000000000000000000000000000000000000000000024383ec506841000
Arg [3] : 0000000000000000000000000000000000000000000000000000000000054600
Deployed Bytecode Sourcemap
32565:12678:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35488:95;;;:::i;:::-;;;;;;;;;;;;;;;;34145:26;;;;;;;;;;;;;;;;-1:-1:-1;34145:26:0;;:::i;:::-;;;;-1:-1:-1;;;;;34145:26:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34309:34;;;:::i;33795:28::-;;;:::i;35686:589::-;;;;;;;;;;;;;;;;-1:-1:-1;35686:589:0;;;-1:-1:-1;;;;;35686:589:0;;;;;;;;;;;;:::i;:::-;;43158:758;;;;;;;;;;;;;;;;-1:-1:-1;43158:758:0;;;;;;;:::i;34377:25::-;;;:::i;40237:839::-;;;;;;;;;;;;;;;;-1:-1:-1;40237:839:0;;;;;;-1:-1:-1;;;;;40237:839:0;;:::i;41332:759::-;;;;;;;;;;;;;;;;-1:-1:-1;41332:759:0;;:::i;43969:356::-;;;;;;;;;;;;;;;;-1:-1:-1;43969:356:0;;:::i;41117:180::-;;;:::i;36621:304::-;;;;;;;;;;;;;;;;-1:-1:-1;36621:304:0;;;;;;;;;;;;;;:::i;2745:148::-;;;:::i;37047:3143::-;;;;;;;;;;;;;;;;-1:-1:-1;37047:3143:0;;;;;;;;;;;;:::i;34053:44::-;;;:::i;2103:79::-;;;:::i;:::-;;;;-1:-1:-1;;;;;2103:79:0;;;;;;;;;;;;;;34205:64;;;;;;;;;;;;;;;;-1:-1:-1;34205:64:0;;;;;;-1:-1:-1;;;;;34205:64:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;35238:130;;;;;;;;;;;;;;;;-1:-1:-1;35238:130:0;;:::i;33737:24::-;;;:::i;33937:29::-;;;:::i;33866:31::-;;;:::i;45078:160::-;;;;;;;;;;;;;;;;-1:-1:-1;45078:160:0;;:::i;42165:961::-;;;;;;;;;;;;;;;;-1:-1:-1;42165:961:0;;;;;;;:::i;3048:244::-;;;;;;;;;;;;;;;;-1:-1:-1;3048:244:0;-1:-1:-1;;;;;3048:244:0;;:::i;35376:104::-;;;;;;;;;;;;;;;;-1:-1:-1;35376:104:0;;:::i;44883:187::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;44883:187:0;;;;;;;;:::i;35488:95::-;35560:8;:15;35488:95;:::o;34145:26::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;34145:26:0;;;;-1:-1:-1;34145:26:0;;;;;:::o;34309:34::-;;;;:::o;33795:28::-;;;;:::o;35686:589::-;2325:12;:10;:12::i;:::-;2315:6;;-1:-1:-1;;;;;2315:6:0;;;:22;;;2307:67;;;;;-1:-1:-1;;;2307:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2307:67:0;;;;;;;;;;;;;;;35787:11:::1;35783:61;;;35815:17;:15;:17::i;:::-;35854:26;35871:8;35854:16;:26::i;:::-;35891:23;35932:10;;35917:12;:25;:53;;35960:10;;35917:53;;;35945:12;35917:53;35999:15;::::0;35891:79;;-1:-1:-1;35999:32:0::1;::::0;36019:11;35999:19:::1;:32::i;:::-;35981:15;:50:::0;36056:210:::1;::::0;;::::1;::::0;::::1;::::0;;-1:-1:-1;;;;;36056:210:0;;::::1;::::0;;::::1;::::0;::::1;::::0;;;;;;;;;-1:-1:-1;36056:210:0;;;;;;;;;;;;36042:8:::1;:225:::0;;::::1;::::0;::::1;::::0;;;;;;;;;;;;::::1;::::0;;::::1;::::0;;-1:-1:-1;;;;;;36042:225:0::1;::::0;;;::::1;::::0;;;::::1;::::0;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;36042:225:0;;;;;;35686:589::o;43158:758::-;43225:21;43249:8;43258:4;43249:14;;;;;;;;;;;;;;;;43298;;;:8;:14;;;;;;43313:10;43298:26;;;;;;;43343:11;;43249:14;;;;;;;;-1:-1:-1;43343:22:0;-1:-1:-1;43343:22:0;43335:53;;;;;-1:-1:-1;;;43335:53:0;;;;;;;;;;;;-1:-1:-1;;;43335:53:0;;;;;;;;;;;;;;;43399:16;43410:4;43399:10;:16::i;:::-;43426:15;43444:69;43497:4;:15;;;43444:48;43487:4;43444:38;43460:4;:21;;;43444:4;:11;;;:15;;:38;;;;:::i;:::-;:42;;:48::i;:::-;:52;;:69::i;:::-;43426:87;;43524:38;43542:10;43554:7;43524:17;:38::i;:::-;43587:11;;:24;;43603:7;43587:15;:24::i;:::-;43573:38;;;43622:93;;43679:17;;;;:24;;43701:1;43679:21;:24::i;:::-;43659:17;;;:44;43622:93;43759:21;;;;43743:11;;:48;;43786:4;;43743:38;;:15;:38::i;:48::-;43725:15;;;:66;43802:12;;:55;;-1:-1:-1;;;;;43802:12:0;43836:10;43849:7;43802:25;:55::i;:::-;43873:35;;;;;;;;43894:4;;43882:10;;43873:35;;;;;;;;;43158:758;;;;;:::o;34377:25::-;;;;:::o;40237:839::-;40311:7;40331:21;40355:8;40364:4;40355:14;;;;;;;;;;;;;;;;40404;;;:8;:14;;;;;;-1:-1:-1;;;;;40404:21:0;;;;;;;;;;;40355:14;;;;;;;;40463:21;;;;40514:12;;:37;;-1:-1:-1;;;40514:37:0;;40545:4;40514:37;;;;;;40355:14;;-1:-1:-1;40404:21:0;;40463;;40355:14;;40514:12;;;:22;;:37;;;;;;;;;;;:12;:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;40514:37:0;40581:20;;;;40514:37;;-1:-1:-1;40566:12:0;:35;:52;;;;-1:-1:-1;40605:13:0;;;40566:52;40562:425;;;40635:14;40652:4;40635:21;;40671:18;40692:60;40706:4;:20;;;40728:12;40742:9;40692:13;:60::i;:::-;40671:81;;40767:22;40792:89;40871:9;40792:74;40850:15;;40792:53;40829:4;:15;;;40792:32;40807:16;;40792:10;:14;;:32;;;;:::i;:::-;:36;;:53::i;:89::-;40767:114;-1:-1:-1;40915:60:0;40936:38;40965:8;40936:24;40767:114;40955:4;40936:18;:24::i;:38::-;40915:16;;:20;:60::i;:::-;40896:79;;40562:425;;;;41004:64;41052:4;:15;;;41004:43;41042:4;41004:33;41020:16;41004:4;:11;;;:15;;:33;;;;:::i;:64::-;40997:71;;;;;;40237:839;;;;;:::o;41332:759::-;41384:21;41408:8;41417:4;41408:14;;;;;;;;;;;;;;;;;;41384:38;;41453:4;:20;;;41437:12;:36;41433:75;;41490:7;;;41433:75;41537:12;;:37;;;-1:-1:-1;;;41537:37:0;;41568:4;41537:37;;;;;;41518:16;;-1:-1:-1;;;;;41537:12:0;;:22;;:37;;;;;;;;;;;;;;:12;:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;41537:37:0;;-1:-1:-1;41589:13:0;41585:102;;-1:-1:-1;41642:12:0;41619:20;;;;:35;41669:7;;41585:102;41697:14;41714:4;41697:21;;41729:18;41750:60;41764:4;:20;;;41786:12;41800:9;41750:13;:60::i;:::-;41729:81;;41821:22;41846:89;41925:9;41846:74;41904:15;;41846:53;41883:4;:15;;;41846:32;41861:16;;41846:10;:14;;:32;;;;:::i;:89::-;41821:114;-1:-1:-1;41972:65:0;41998:38;42027:8;41998:24;41821:114;42017:4;41998:18;:24::i;:38::-;41972:21;;;;;:25;:65::i;:::-;41948:21;;;:89;-1:-1:-1;;42071:12:0;42048:20;;;;:35;;;;-1:-1:-1;;41332:759:0;;:::o;43969:356::-;44028:21;44052:8;44061:4;44052:14;;;;;;;;;;;;;;;;44101;;;:8;:14;;;;;;44116:10;44101:26;;;;;;;;44185:11;;44052:14;;;;;;;44138:12;;44052:14;;-1:-1:-1;44138:59:0;;-1:-1:-1;;;;;44138:12:0;;;;;44116:10;44138:25;:59::i;:::-;44249:11;;44213:48;;;;;;;44243:4;;44231:10;;44213:48;;;;;;;;;44286:1;44272:15;;;44298;;;;:19;-1:-1:-1;;43969:356:0:o;41117:180::-;41179:8;:15;41162:14;41205:85;41233:6;41227:3;:12;41205:85;;;41263:15;41274:3;41263:10;:15::i;:::-;41241:5;;41205:85;;;;41117:180;:::o;36621:304::-;2325:12;:10;:12::i;:::-;2315:6;;-1:-1:-1;;;;;2315:6:0;;;:22;;;2307:67;;;;;-1:-1:-1;;;2307:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2307:67:0;;;;;;;;;;;;;;;36719:11:::1;36715:61;;;36747:17;:15;:17::i;:::-;36804:63;36855:11;36804:46;36824:8;36833:4;36824:14;;;;;;;;;;;;;;;;;;:25;;;36804:15;;:19;;:46;;;;:::i;:::-;:50:::0;::::1;:63::i;:::-;36786:15;:81;;;;36906:11;36878:8;36887:4;36878:14;;;;;;;;;;;;;;;;;;:25;;:39;;;;36621:304:::0;;;:::o;2745:148::-;2325:12;:10;:12::i;:::-;2315:6;;-1:-1:-1;;;;;2315:6:0;;;:22;;;2307:67;;;;;-1:-1:-1;;;2307:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2307:67:0;;;;;;;;;;;;;;;2852:1:::1;2836:6:::0;;2815:40:::1;::::0;-1:-1:-1;;;;;2836:6:0;;::::1;::::0;2815:40:::1;::::0;2852:1;;2815:40:::1;2883:1;2866:19:::0;;-1:-1:-1;;;;;;2866:19:0::1;::::0;;2745:148::o;37047:3143::-;37135:7;37155:9;37167;37155:21;;37187;37230:13;;37223:3;:20;37219:2964;;37267:46;37308:4;37267:36;34096:1;37267:36;:3;37275:5;37267:7;:14::i;:46::-;37260:53;;;;;;37219:2964;37344:13;;37335:5;:22;37331:2852;;37407:13;;37393:1643;37426:3;37422:1;:7;37393:1643;;;37571:14;;37553:41;;37571:22;;37590:2;37571:18;:22::i;:::-;37553:13;;;:17;:41::i;:::-;37548:1;:46;37544:108;;37623:5;;37544:108;37760:14;;37742:41;;37760:22;;37779:2;37760:18;:22::i;37742:41::-;37738:1;:45;37734:127;;;37819:18;37835:1;37819:11;:4;37828:1;37819:8;:11::i;:18::-;37812:25;;37734:127;37960:5;37936:21;37942:14;;37936:1;:5;;:21;;;;:::i;:::-;:29;37932:94;;;37994:8;;37932:94;38058:5;38054:1;:9;:43;;;;;38092:5;38067:21;38073:14;;38067:1;:5;;:21;;;;:::i;:::-;:30;;38054:43;38050:540;;;38202:3;38178:21;38184:14;;38178:1;:5;;:21;;;;:::i;:::-;:27;38174:358;;;38257:46;38278:24;38287:14;:3;38295:5;38287:7;:14::i;:::-;38278:4;;:8;:24::i;:::-;38257:16;;:20;:46::i;:::-;38238:65;;38174:358;;;38440:64;38461:42;38470:32;38496:5;38470:21;38476:14;;38470:1;:5;;:21;;;;:::i;38440:64::-;38421:83;;38174:358;38558:8;;38050:540;38664:3;38640:21;38646:14;;38640:1;:5;;:21;;;;:::i;:::-;:27;38636:231;;;38766:42;38787:20;38802:4;38787:10;:3;38795:1;38787:7;:10::i;38636:231::-;38991:14;;38970:46;;38991:24;;39010:4;38991:18;:24::i;38970:46::-;38951:65;;37393:1643;37439:14;;37435:18;37393:1643;;;-1:-1:-1;39072:16:0;-1:-1:-1;39065:23:0;;-1:-1:-1;39065:23:0;37331:2852;39123:10;39136:56;39187:4;39136:46;34096:1;39136:24;39154:5;39136:13;;:17;;:24;;;;:::i;:56::-;39240:13;;39123:69;;-1:-1:-1;39226:882:0;39259:3;39255:1;:7;39226:882;;;39396:14;;39378:41;;39396:22;;39415:2;39396:18;:22::i;39378:41::-;39373:1;:46;39369:108;;39448:5;;39369:108;39578:14;;39560:41;;39578:22;;39597:2;39578:18;:22::i;39560:41::-;39556:1;:45;39552:127;;;39637:18;39653:1;39637:11;:4;39646:1;39637:8;:11::i;:18::-;39630:25;;39552:127;39729:3;39705:21;39711:14;;39705:1;:5;;:21;;;;:::i;:::-;:27;39701:238;;;39838:42;39859:20;39874:4;39859:10;:3;39867:1;39859:7;:10::i;:20::-;39838:16;;:20;:42::i;:::-;39819:61;;39907:8;;39701:238;40063:14;;40042:46;;40063:24;;40082:4;40063:18;:24::i;40042:46::-;40023:65;;39226:882;39272:14;;39268:18;39226:882;;;-1:-1:-1;40144:27:0;:5;40154:16;40144:9;:27::i;:::-;40137:34;;;;;37047:3143;;;;;;:::o;34053:44::-;34096:1;34053:44;:::o;2103:79::-;2141:7;2168:6;-1:-1:-1;;;;;2168:6:0;2103:79;:::o;34205:64::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;35238:130::-;2325:12;:10;:12::i;:::-;2315:6;;-1:-1:-1;;;;;2315:6:0;;;:22;;;2307:67;;;;;-1:-1:-1;;;2307:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2307:67:0;;;;;;;;;;;;;;;35345:14:::1;::::0;35329:31:::1;::::0;:11;;:15:::1;:31::i;:::-;35313:13;:47:::0;-1:-1:-1;35238:130:0:o;33737:24::-;;;-1:-1:-1;;;;;33737:24:0;;:::o;33937:29::-;;;;:::o;33866:31::-;;;;:::o;45078:160::-;45137:7;45157:21;45181:8;45190:4;45181:14;;;;;;;;;;;;;;;;45213:17;45181:14;;;;;45213:17;;;45078:160;-1:-1:-1;;;45078:160:0:o;42165:961::-;42231:21;42255:8;42264:4;42255:14;;;;;;;;;;;;;;;;42304;;;:8;:14;;;;;;42319:10;42304:26;;;;;;;42255:14;;;;;;;;-1:-1:-1;42379:11:0;;42375:215;;42482:11;;42478:101;;42539:17;;;;:24;;42561:1;42539:21;:24::i;:::-;42519:17;;;:44;42478:101;42600:16;42611:4;42600:10;:16::i;:::-;42631:11;;:15;42627:188;;42663:15;42681:69;42734:4;:15;;;42681:48;42724:4;42681:38;42697:4;:21;;;42681:4;:11;;;:15;;:38;;;;:::i;:69::-;42663:87;;42765:38;42783:10;42795:7;42765:17;:38::i;:::-;42627:188;;42829:11;;42825:118;;42857:12;;:74;;-1:-1:-1;;;;;42857:12:0;42895:10;42916:4;42923:7;42857:29;:74::i;:::-;42967:11;;:24;;42983:7;42967:15;:24::i;:::-;42953:38;;;43036:21;;;;43020:48;;43063:4;;43020:38;;42953;43020:15;:38::i;:48::-;43002:15;;;:66;43084:34;;;;;;;;43104:4;;43092:10;;43084:34;;;;;;;;;42165:961;;;;:::o;3048:244::-;2325:12;:10;:12::i;:::-;2315:6;;-1:-1:-1;;;;;2315:6:0;;;:22;;;2307:67;;;;;-1:-1:-1;;;2307:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2307:67:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;3137:22:0;::::1;3129:73;;;;-1:-1:-1::0;;;3129:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3239:6;::::0;;3218:38:::1;::::0;-1:-1:-1;;;;;3218:38:0;;::::1;::::0;3239:6;::::1;::::0;3218:38:::1;::::0;::::1;3267:6;:17:::0;;-1:-1:-1;;;;;;3267:17:0::1;-1:-1:-1::0;;;;;3267:17:0;;;::::1;::::0;;;::::1;::::0;;3048:244::o;35376:104::-;2325:12;:10;:12::i;:::-;2315:6;;-1:-1:-1;;;;;2315:6:0;;;:22;;;2307:67;;;;;-1:-1:-1;;;2307:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2307:67:0;;;;;;;;;;;;;;;35448:10:::1;:24:::0;35376:104::o;44883:187::-;2325:12;:10;:12::i;:::-;2315:6;;-1:-1:-1;;;;;2315:6:0;;;:22;;;2307:67;;;;;-1:-1:-1;;;2307:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2307:67:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;44974:19:0;::::1;44966:52;;;::::0;;-1:-1:-1;;;44966:52:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;44966:52:0;;;;;;;;;;;;;::::1;;45029:33;45047:5;45054:7;45029:17;:33::i;7023:181::-:0;7081:7;7113:5;;;7137:6;;;;7129:46;;;;;-1:-1:-1;;;7129:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;657:106;745:10;657:106;:::o;36318:265::-;36386:21;;36418:158;36441:8;:15;36437:19;;36418:158;;;36485:8;36494:1;36485:11;;;;;;;;;;;;;;;;;;;;;36519:12;;36485:11;;-1:-1:-1;;;;;;36519:24:0;;;:12;;:24;;36511:53;;;;;-1:-1:-1;;;36511:53:0;;;;;;;;;;;;-1:-1:-1;;;36511:53:0;;;;;;;;;;;;;;;36458:3;;36418:158;;;;36318:265;;:::o;8377:471::-;8435:7;8680:6;8676:47;;-1:-1:-1;8710:1:0;8703:8;;8676:47;8747:5;;;8751:1;8747;:5;:1;8771:5;;;;;:10;8763:56;;;;-1:-1:-1;;;8763:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9324:132;9382:7;9409:39;9413:1;9416;9409:39;;;;;;;;;;;;;;;;;:3;:39::i;7487:136::-;7545:7;7572:43;7576:1;7579;7572:43;;;;;;;;;;;;;;;;;:3;:43::i;44419:384::-;44518:8;;:33;;;-1:-1:-1;;;44518:33:0;;44545:4;44518:33;;;;;;44496:19;;-1:-1:-1;;;;;44518:8:0;;:18;;:33;;;;;;;;;;;;;;:8;:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;44518:33:0;;-1:-1:-1;44566:12:0;;;:32;;-1:-1:-1;44582:16:0;;44566:32;44562:71;;;44615:7;;;44562:71;44657:11;44647:7;:21;44643:153;;;44685:8;;:35;;;-1:-1:-1;;;44685:35:0;;-1:-1:-1;;;;;44685:35:0;;;;;;;;;;;;;;;:8;;;;;:17;;:35;;;;;;;;;;;;;;:8;;:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;44643:153:0;;-1:-1:-1;44643:153:0;;44753:8;;:31;;;-1:-1:-1;;;44753:31:0;;-1:-1:-1;;;;;44753:31:0;;;;;;;;;;;;;;;:8;;;;;:17;;:31;;;;;;;;;;;;;;:8;;:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;44419:384:0;;;:::o;18184:177::-;18294:58;;;-1:-1:-1;;;;;18294:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;18294:58:0;-1:-1:-1;;;18294:58:0;;;18267:86;;18287:5;;18267:19;:86::i;18369:205::-;18497:68;;;-1:-1:-1;;;;;18497:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;18497:68:0;-1:-1:-1;;;18497:68:0;;;18470:96;;18490:5;;18470:19;:96::i;:::-;18369:205;;;;:::o;9952:278::-;10038:7;10073:12;10066:5;10058:28;;;;-1:-1:-1;;;10058:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10097:9;10113:1;10109;:5;;;;;;;9952:278;-1:-1:-1;;;;;9952:278:0:o;7926:192::-;8012:7;8048:12;8040:6;;;;8032:29;;;;-1:-1:-1;;;8032:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;8084:5:0;;;7926:192::o;20489:761::-;20913:23;20939:69;20967:4;20939:69;;;;;;;;;;;;;;;;;20947:5;-1:-1:-1;;;;;20939:27:0;;;:69;;;;;:::i;:::-;21023:17;;20913:95;;-1:-1:-1;21023:21:0;21019:224;;21165:10;21154:30;;;;;;;;;;;;;;;-1:-1:-1;21154:30:0;21146:85;;;;-1:-1:-1;;;21146:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15165:196;15268:12;15300:53;15323:6;15331:4;15337:1;15340:12;15300:22;:53::i;:::-;15293:60;15165:196;-1:-1:-1;;;;15165:196:0:o;16542:979::-;16672:12;16705:18;16716:6;16705:10;:18::i;:::-;16697:60;;;;;-1:-1:-1;;;16697:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;16831:12;16845:23;16872:6;-1:-1:-1;;;;;16872:11:0;16892:8;16903:4;16872:36;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;16872:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16830:78;;;;16923:7;16919:595;;;16954:10;-1:-1:-1;16947:17:0;;-1:-1:-1;16947:17:0;16919:595;17068:17;;:21;17064:439;;17331:10;17325:17;17392:15;17379:10;17375:2;17371:19;17364:44;17279:148;17467:20;;-1:-1:-1;;;17467:20:0;;;;;;;;;;;;;;;;;17474:12;;17467:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12247:422;12614:20;12653:8;;;12247:422::o
Swarm Source
ipfs://d8adddcb10ba9d8a28560f8f91492a07b3429292ab76d37d1249a17bccbf992c
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.