More Info
Private Name Tags
ContractCreator:
Latest 25 from a total of 1,226 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
Value | ||||
---|---|---|---|---|---|---|---|---|---|
Withdraw | 43696975 | 609 days ago | IN | 0 FTM | 0.0055918 | ||||
Deposit | 43612921 | 611 days ago | IN | 0 FTM | 0.00473208 | ||||
Deposit | 43612759 | 611 days ago | IN | 0 FTM | 0.00751504 | ||||
Withdraw | 29339804 | 789 days ago | IN | 0 FTM | 0.02782223 | ||||
Withdraw | 29339757 | 789 days ago | IN | 0 FTM | 0.03351504 | ||||
Deposit | 29339589 | 789 days ago | IN | 0 FTM | 0.02488535 | ||||
Withdraw | 29339453 | 789 days ago | IN | 0 FTM | 0.03742165 | ||||
Withdraw | 29339391 | 789 days ago | IN | 0 FTM | 0.04293415 | ||||
Deposit | 29333015 | 789 days ago | IN | 0 FTM | 0.07475405 | ||||
Deposit | 29332059 | 789 days ago | IN | 0 FTM | 0.05463936 | ||||
Withdraw | 29237837 | 790 days ago | IN | 0 FTM | 0.04913928 | ||||
Withdraw | 29235651 | 790 days ago | IN | 0 FTM | 0.03628454 | ||||
Withdraw | 29235602 | 790 days ago | IN | 0 FTM | 0.02266623 | ||||
Withdraw | 29235479 | 790 days ago | IN | 0 FTM | 0.05698235 | ||||
Deposit | 29235145 | 790 days ago | IN | 0 FTM | 0.0359035 | ||||
Deposit | 29235142 | 790 days ago | IN | 0 FTM | 0.03502378 | ||||
Deposit | 29235126 | 790 days ago | IN | 0 FTM | 0.06702281 | ||||
Deposit | 28963466 | 793 days ago | IN | 0 FTM | 0.05082484 | ||||
Deposit | 28963164 | 793 days ago | IN | 0 FTM | 0.04608387 | ||||
Deposit | 28963052 | 793 days ago | IN | 0 FTM | 0.06616729 | ||||
Deposit | 28870700 | 794 days ago | IN | 0 FTM | 0.01988052 | ||||
Withdraw | 28706609 | 796 days ago | IN | 0 FTM | 0.16491892 | ||||
Deposit | 28706352 | 796 days ago | IN | 0 FTM | 0.24783213 | ||||
Withdraw | 28691699 | 796 days ago | IN | 0 FTM | 0.04793592 | ||||
Withdraw | 28691659 | 796 days ago | IN | 0 FTM | 0.14168639 |
Latest 1 internal transaction
Parent Txn Hash | Block | From | To | Value | ||
---|---|---|---|---|---|---|
23662548 | 848 days ago | Contract Creation | 0 FTM |
Loading...
Loading
Contract Name:
fMunMasterChef
Compiler Version
v0.6.12+commit.27d51765
Contract Source Code (Solidity)
/** *Submitted for verification at ftmscan.com on 2021-12-01 */ /** *Submitted for verification at FtmScan.com on 2021-10-24 */ /** *Submitted for verification at FtmScan.com on 2021-10-07 */ /** *Submitted for verification at FtmScan.com on 2021-10-07 */ /** *Submitted for verification at FtmScan.com on 2021-09-19 */ // SPDX-License-Identifier: MIT pragma solidity 0.6.12; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor () internal { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and make it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } } /* * @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; } } /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming languages. * `SafeMath` restores this intuition by reverting the transaction when an * operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b > a) return (false, 0); return (true, a - b); } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b == 0) return (false, 0); return (true, a / b); } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b == 0) return (false, 0); return (true, a % b); } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { require(b <= a, "SafeMath: subtraction overflow"); return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { if (a == 0) return 0; uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { require(b > 0, "SafeMath: division by zero"); return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { require(b > 0, "SafeMath: modulo by zero"); return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); return a - b; } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryDiv}. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); return a % b; } } /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor () internal { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } } /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; // solhint-disable-next-line no-inline-assembly assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); // solhint-disable-next-line avoid-low-level-calls, avoid-call-value (bool success, ) = recipient.call{ value: amount }(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain`call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.call{ value: value }(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.staticcall(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.delegatecall(data); return _verifyCallResult(success, returndata, errorMessage); } function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly // solhint-disable-next-line no-inline-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the token decimals. */ function decimals() external view returns (uint8); /** * @dev Returns the token symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the token name. */ function name() external view returns (string memory); /** * @dev Returns the bep token owner. */ function getOwner() external view returns (address); /** * @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); } contract ERC20 is Context, IERC20, Ownable { 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 bep token owner. */ function getOwner() external override view returns (address) { return owner(); } /** * @dev Returns the token name. */ function name() public override view returns (string memory) { return _name; } /** * @dev Returns the token decimals. */ function decimals() public override view returns (uint8) { return _decimals; } /** * @dev Returns the token symbol. */ function symbol() public override view returns (string memory) { return _symbol; } /** * @dev See {ERC20-totalSupply}. */ function totalSupply() public override view returns (uint256) { return _totalSupply; } /** * @dev See {ERC20-balanceOf}. */ function balanceOf(address account) public override view returns (uint256) { return _balances[account]; } /** * @dev See {ERC20-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 override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } /** * @dev See {ERC20-allowance}. */ function allowance(address owner, address spender) public override view returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {ERC20-approve}. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public override returns (bool) { _approve(_msgSender(), spender, amount); return true; } /** * @dev See {ERC20-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 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 {ERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public 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 {ERC20-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 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"); _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 { require(account != address(0), "ERC20: mint to the zero address"); _totalSupply = _totalSupply.add(amount); _balances[account] = _balances[account].add(amount); emit Transfer(address(0), account, amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner`s tokens. * * This is 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 { 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); } } // fMun. contract fMun is ERC20('FTM-Mun', 'MUN') { /// @notice Creates `_amount` token to `_to`. Must only be called by the owner (MasterChef). function mint(address _to, uint256 _amount) public onlyOwner { _mint(_to, _amount); } constructor ( address _masterchef ) public { transferOwnership(_masterchef); } } /** * @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"); } } } // MasterChef is the master of fMun. He can make fMun and he is a fair guy. // // Note that it's ownable and the owner wields tremendous power. The ownership // will be transferred to a governance smart contract once fMun is sufficiently // distributed and the community can show to govern itself. // // Have fun reading it. Hopefully it's bug-free. God bless. contract fMunMasterChef is Ownable, ReentrancyGuard { using SafeMath for uint256; using SafeERC20 for IERC20; // Info of each user. struct UserInfo { uint256 amount; // How many LP tokens the user has provided. uint256 rewardDebt; // Reward debt. See explanation below. // // We do some fancy math here. Basically, any point in time, the amount of fMun // entitled to a user but is pending to be distributed is: // // pending reward = (user.amount * pool.accfMunPerShare) - user.rewardDebt // // Whenever a user deposits or withdraws LP tokens to a pool. Here's what happens: // 1. The pool's `accfMunPerShare` (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. } // Info of each pool. struct PoolInfo { IERC20 lpToken; // Address of LP token contract. uint256 allocPoint; // How many allocation points assigned to this pool. ALPHAs to distribute per block. uint256 lastRewardBlock; // Last block number that fMun distribution occurs. uint256 accfMunPerShare; // Accumulated fMun per share, times 1e18. See below. uint16 depositFeeBP; // Deposit fee in basis points uint256 lpSupply; } // The fMun TOKEN! fMun public immutable token; // Dev address. address public devaddr; // fMun tokens created per block. uint256 public fMunPerBlock; // Deposit Fee address address public feeAddress; // Info of each pool. PoolInfo[] public poolInfo; // Info of each user that stakes LP tokens. mapping(uint256 => mapping(address => UserInfo)) public userInfo; // Total allocation points. Must be the sum of all allocation points in all pools. uint256 public totalAllocPoint = 0; // The block number when fMun mining starts. uint256 public startBlock; // Maximum fMunPerBlock uint256 public MAX_EMISSION_RATE = 0.004 ether; event Deposit(address indexed user, uint256 indexed pid, uint256 amount); event Withdraw(address indexed user, uint256 indexed pid, uint256 amount); event EmergencyWithdraw(address indexed user, uint256 indexed pid, uint256 amount); event SetFeeAddress(address indexed user, address indexed newAddress); event SetDevAddress(address indexed user, address indexed newAddress); event UpdateEmissionRate(address indexed user, uint256 fMunPerBlock); event addPool(uint256 indexed pid, address lpToken, uint256 allocPoint, uint256 depositFeeBP); event setPool(uint256 indexed pid, address lpToken, uint256 allocPoint, uint256 depositFeeBP); event UpdateStartBlock(uint256 newStartBlock); event fMunMintError(bytes reason); constructor( fMun _tokenAddress, address _devaddr, address _feeAddress, uint256 _fMunPerBlock, uint256 _startBlock ) public { token = _tokenAddress; devaddr = _devaddr; feeAddress = _feeAddress; fMunPerBlock = _fMunPerBlock; startBlock = _startBlock; } function poolLength() external view returns (uint256) { return poolInfo.length; } mapping(IERC20 => bool) public poolExistence; modifier nonDuplicated(IERC20 _lpToken) { require(poolExistence[_lpToken] == false, "nonDuplicated: duplicated"); _; } // Add a new lp to the pool. Can only be called by the owner. function add(uint256 _allocPoint, IERC20 _lpToken, uint16 _depositFeeBP, bool _withUpdate) external onlyOwner nonDuplicated(_lpToken) { // valid ERC20 token _lpToken.balanceOf(address(this)); require(_depositFeeBP <= 400, "add: invalid deposit fee basis points"); if (_withUpdate) { massUpdatePools(); } uint256 lastRewardBlock = block.number > startBlock ? block.number : startBlock; totalAllocPoint = totalAllocPoint.add(_allocPoint); poolExistence[_lpToken] = true; poolInfo.push( PoolInfo({ lpToken : _lpToken, allocPoint : _allocPoint, lastRewardBlock : lastRewardBlock, accfMunPerShare : 0, depositFeeBP : _depositFeeBP, lpSupply: 0 }) ); emit addPool(poolInfo.length - 1, address(_lpToken), _allocPoint, _depositFeeBP); } // Update the given pool's Mun allocation point and deposit fee. Can only be called by the owner. function set(uint256 _pid, uint256 _allocPoint, uint16 _depositFeeBP, bool _withUpdate) external onlyOwner { require(_depositFeeBP <= 400, "set: invalid deposit fee basis points"); if (_withUpdate) { massUpdatePools(); } totalAllocPoint = totalAllocPoint.sub(poolInfo[_pid].allocPoint).add(_allocPoint); poolInfo[_pid].allocPoint = _allocPoint; poolInfo[_pid].depositFeeBP = _depositFeeBP; emit setPool(_pid, address(poolInfo[_pid].lpToken), _allocPoint, _depositFeeBP); } // Return reward multiplier over the given _from to _to block. function getMultiplier(uint256 _from, uint256 _to) public pure returns (uint256) { return _to.sub(_from); } // View function to see pending Alphas on frontend. function pendingMun(uint256 _pid, address _user) external view returns (uint256) { PoolInfo storage pool = poolInfo[_pid]; UserInfo storage user = userInfo[_pid][_user]; uint256 accfMunPerShare = pool.accfMunPerShare; if (block.number > pool.lastRewardBlock && pool.lpSupply != 0 && totalAllocPoint > 0) { uint256 multiplier = getMultiplier(pool.lastRewardBlock, block.number); uint256 fMunReward = multiplier.mul(fMunPerBlock).mul(pool.allocPoint).div(totalAllocPoint); accfMunPerShare = accfMunPerShare.add(fMunReward.mul(1e18).div(pool.lpSupply)); } return user.amount.mul(accfMunPerShare).div(1e18).sub(user.rewardDebt); } // Update reward variables for all pools. Be careful of gas spending! function massUpdatePools() public { uint256 length = poolInfo.length; for (uint256 pid = 0; pid < length; ++pid) { updatePool(pid); } } // Update reward variables of the given pool to be up-to-date. function updatePool(uint256 _pid) public { PoolInfo storage pool = poolInfo[_pid]; if (block.number <= pool.lastRewardBlock) { return; } if (pool.lpSupply == 0 || pool.allocPoint == 0) { pool.lastRewardBlock = block.number; return; } uint256 multiplier = getMultiplier(pool.lastRewardBlock, block.number); uint256 fMunReward = multiplier.mul(fMunPerBlock).mul(pool.allocPoint).div(totalAllocPoint); try token.mint(devaddr, fMunReward.div(10)) { } catch (bytes memory reason) { fMunReward = 0; emit fMunMintError(reason); } try token.mint(address(this), fMunReward) { } catch (bytes memory reason) { fMunReward = 0; emit fMunMintError(reason); } pool.accfMunPerShare = pool.accfMunPerShare.add(fMunReward.mul(1e18).div(pool.lpSupply)); pool.lastRewardBlock = block.number; } // Deposit LP tokens to MasterChef for Mun allocation. function deposit(uint256 _pid, uint256 _amount) external nonReentrant { PoolInfo storage pool = poolInfo[_pid]; UserInfo storage user = userInfo[_pid][msg.sender]; updatePool(_pid); if (user.amount > 0) { uint256 pending = user.amount.mul(pool.accfMunPerShare).div(1e18).sub(user.rewardDebt); if (pending > 0) { safeMunTransfer(msg.sender, pending); } } if (_amount > 0) { uint256 balanceBefore = pool.lpToken.balanceOf(address(this)); pool.lpToken.safeTransferFrom(address(msg.sender), address(this), _amount); _amount = pool.lpToken.balanceOf(address(this)) - balanceBefore; if (pool.depositFeeBP > 0) { uint256 depositFee = _amount.mul(pool.depositFeeBP).div(10000); pool.lpToken.safeTransfer(feeAddress, depositFee); user.amount = user.amount.add(_amount).sub(depositFee); pool.lpSupply = pool.lpSupply.add(_amount).sub(depositFee); } else { user.amount = user.amount.add(_amount); pool.lpSupply = pool.lpSupply.add(_amount); } } user.rewardDebt = user.amount.mul(pool.accfMunPerShare).div(1e18); emit Deposit(msg.sender, _pid, _amount); } // Withdraw LP tokens from MasterChef. function withdraw(uint256 _pid, uint256 _amount) external nonReentrant { 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.accfMunPerShare).div(1e18).sub(user.rewardDebt); if (pending > 0) { safeMunTransfer(msg.sender, pending); } if (_amount > 0) { user.amount = user.amount.sub(_amount); pool.lpToken.safeTransfer(address(msg.sender), _amount); pool.lpSupply = pool.lpSupply.sub(_amount); } user.rewardDebt = user.amount.mul(pool.accfMunPerShare).div(1e18); emit Withdraw(msg.sender, _pid, _amount); } // Withdraw without caring about rewards. EMERGENCY ONLY. function emergencyWithdraw(uint256 _pid) external nonReentrant { PoolInfo storage pool = poolInfo[_pid]; UserInfo storage user = userInfo[_pid][msg.sender]; uint256 amount = user.amount; user.amount = 0; user.rewardDebt = 0; pool.lpToken.safeTransfer(address(msg.sender), amount); if (pool.lpSupply >= amount) { pool.lpSupply = pool.lpSupply.sub(amount); } else { pool.lpSupply = 0; } emit EmergencyWithdraw(msg.sender, _pid, amount); } // Safe fMun transfer function, just in case if rounding error causes pool to not have enough ALPHAs. function safeMunTransfer(address _to, uint256 _amount) internal { uint256 fMunBal = token.balanceOf(address(this)); bool transferSuccess = false; if (_amount > fMunBal) { transferSuccess = token.transfer(_to, fMunBal); } else { transferSuccess = token.transfer(_to, _amount); } require(transferSuccess, "safeMunTransfer: transfer failed"); } // Update dev address. function setDevAddress(address _devaddr) external { require(msg.sender == devaddr, "setDevAddress: ACCESS DENIED"); require(_devaddr != address(0), "setDevAddress: INCORRECT INPUT"); devaddr = _devaddr; emit SetDevAddress(msg.sender, _devaddr); } function setFeeAddress(address _feeAddress) external { require(msg.sender == feeAddress, "setFeeAddress: ACCESS DENIED"); require(_feeAddress != address(0), "setFeeAddress: INCORRECT INPUT"); feeAddress = _feeAddress; emit SetFeeAddress(msg.sender, _feeAddress); } // Pancake has to add hidden dummy pools inorder to alter the emission, here we make it simple and transparent to all. function updateEmissionRate(uint256 _fMunPerBlock) external onlyOwner { require(_fMunPerBlock <= MAX_EMISSION_RATE, "INCORRECT INPUT"); massUpdatePools(); fMunPerBlock = _fMunPerBlock; emit UpdateEmissionRate(msg.sender, _fMunPerBlock); } // Only update before start of farm function updateStartBlock(uint256 _newStartBlock) external onlyOwner { require(block.number < startBlock, "FARM ALREADY STARTED"); require(block.number < _newStartBlock, "INCORRECT INPUT"); uint256 length = poolInfo.length; for (uint256 pid = 0; pid < length; ++pid) { PoolInfo storage pool = poolInfo[pid]; pool.lastRewardBlock = _newStartBlock; } startBlock = _newStartBlock; emit UpdateStartBlock(startBlock); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"contract fMun","name":"_tokenAddress","type":"address"},{"internalType":"address","name":"_devaddr","type":"address"},{"internalType":"address","name":"_feeAddress","type":"address"},{"internalType":"uint256","name":"_fMunPerBlock","type":"uint256"},{"internalType":"uint256","name":"_startBlock","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":"address","name":"newAddress","type":"address"}],"name":"SetDevAddress","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"address","name":"newAddress","type":"address"}],"name":"SetFeeAddress","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"fMunPerBlock","type":"uint256"}],"name":"UpdateEmissionRate","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newStartBlock","type":"uint256"}],"name":"UpdateStartBlock","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"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"address","name":"lpToken","type":"address"},{"indexed":false,"internalType":"uint256","name":"allocPoint","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"depositFeeBP","type":"uint256"}],"name":"addPool","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bytes","name":"reason","type":"bytes"}],"name":"fMunMintError","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"address","name":"lpToken","type":"address"},{"indexed":false,"internalType":"uint256","name":"allocPoint","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"depositFeeBP","type":"uint256"}],"name":"setPool","type":"event"},{"inputs":[],"name":"MAX_EMISSION_RATE","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":"uint16","name":"_depositFeeBP","type":"uint16"},{"internalType":"bool","name":"_withUpdate","type":"bool"}],"name":"add","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"devaddr","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"emergencyWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"fMunPerBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feeAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_from","type":"uint256"},{"internalType":"uint256","name":"_to","type":"uint256"}],"name":"getMultiplier","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","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":"pendingMun","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"name":"poolExistence","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"accfMunPerShare","type":"uint256"},{"internalType":"uint16","name":"depositFeeBP","type":"uint16"},{"internalType":"uint256","name":"lpSupply","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":"uint16","name":"_depositFeeBP","type":"uint16"},{"internalType":"bool","name":"_withUpdate","type":"bool"}],"name":"set","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_devaddr","type":"address"}],"name":"setDevAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_feeAddress","type":"address"}],"name":"setFeeAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"token","outputs":[{"internalType":"contract fMun","name":"","type":"address"}],"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":"_fMunPerBlock","type":"uint256"}],"name":"updateEmissionRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"updatePool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newStartBlock","type":"uint256"}],"name":"updateStartBlock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"address","name":"","type":"address"}],"name":"userInfo","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"rewardDebt","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60a06040526000600755660e35fa931a00006009553480156200002157600080fd5b506040516200394a3803806200394a833981810160405260a08110156200004757600080fd5b8101908080519060200190929190805190602001909291908051906020019092919080519060200190929190805190602001909291905050506000620000926200020960201b60201c565b9050806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a350600180819055508473ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff1660601b8152505083600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508160038190555080600881905550505050505062000211565b600033905090565b60805160601c6137026200024860003980610f6352806111175280612bca5280612e125280612ee05280612fb352506137026000f3fe608060405234801561001057600080fd5b50600436106101a95760003560e01c8063715018a6116100f9578063d0d41fe111610097578063e2bbb15811610071578063e2bbb158146106e8578063f2fde38b14610720578063fac2b9ba14610764578063fc0c546a14610792576101a9565b8063d0d41fe11461061e578063d49e77cd14610662578063d963842214610696576101a9565b80638da5cb5b116100d35780638da5cb5b146104db5780638dbb1e3a1461050f57806393f1a40b1461055b578063cbd258b5146105c4576101a9565b8063715018a61461042557806384e82a331461042f5780638705fcd414610497576101a9565b8063436cc3d61161016657806348cd4cb11161014057806348cd4cb1146103a157806351eb05a6146103bf5780635312ea8e146103ed578063630b5ba11461041b576101a9565b8063436cc3d61461032d578063441a3e701461034b578063486ee2ae14610383576101a9565b806304f9917b146101ae578063081e3eda146102105780630ba84cd21461022e5780631526fe271461025c57806317caf6f1146102db57806341275358146102f9575b600080fd5b6101fa600480360360408110156101c457600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506107c6565b6040518082815260200191505060405180910390f35b61021861095d565b6040518082815260200191505060405180910390f35b61025a6004803603602081101561024457600080fd5b810190808035906020019092919050505061096a565b005b6102886004803603602081101561027257600080fd5b8101908080359060200190929190505050610af1565b604051808773ffffffffffffffffffffffffffffffffffffffff1681526020018681526020018581526020018481526020018361ffff168152602001828152602001965050505050505060405180910390f35b6102e3610b68565b6040518082815260200191505060405180910390f35b610301610b6e565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610335610b94565b6040518082815260200191505060405180910390f35b6103816004803603604081101561036157600080fd5b810190808035906020019092919080359060200190929190505050610b9a565b005b61038b610ea5565b6040518082815260200191505060405180910390f35b6103a9610eab565b6040518082815260200191505060405180910390f35b6103eb600480360360208110156103d557600080fd5b8101908080359060200190929190505050610eb1565b005b6104196004803603602081101561040357600080fd5b81019080803590602001909291905050506112f3565b005b6104236114e9565b005b61042d611516565b005b6104956004803603608081101561044557600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803561ffff169060200190929190803515159060200190929190505050611683565b005b6104d9600480360360208110156104ad57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611b0e565b005b6104e3611d12565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6105456004803603604081101561052557600080fd5b810190808035906020019092919080359060200190929190505050611d3b565b6040518082815260200191505060405180910390f35b6105a76004803603604081101561057157600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611d58565b604051808381526020018281526020019250505060405180910390f35b610606600480360360208110156105da57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611d89565b60405180821515815260200191505060405180910390f35b6106606004803603602081101561063457600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611da9565b005b61066a611fad565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6106e6600480360360808110156106ac57600080fd5b810190808035906020019092919080359060200190929190803561ffff169060200190929190803515159060200190929190505050611fd3565b005b61071e600480360360408110156106fe57600080fd5b81019080803590602001909291908035906020019092919050505061223d565b005b6107626004803603602081101561073657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506127ad565b005b6107906004803603602081101561077a57600080fd5b810190808035906020019092919050505061299f565b005b61079a612bc8565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b600080600584815481106107d657fe5b9060005260206000209060060201905060006006600086815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905060008260030154905082600201544311801561085b57506000836005015414155b801561086957506000600754115b1561090b57600061087e846002015443611d3b565b905060006108c16007546108b387600101546108a560035487612bec90919063ffffffff16565b612bec90919063ffffffff16565b612c7290919063ffffffff16565b90506109066108f786600501546108e9670de0b6b3a764000085612bec90919063ffffffff16565b612c7290919063ffffffff16565b84612cfb90919063ffffffff16565b925050505b6109528260010154610944670de0b6b3a7640000610936858760000154612bec90919063ffffffff16565b612c7290919063ffffffff16565b612d8390919063ffffffff16565b935050505092915050565b6000600580549050905090565b610972612e06565b73ffffffffffffffffffffffffffffffffffffffff16610990611d12565b73ffffffffffffffffffffffffffffffffffffffff1614610a19576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600954811115610a91576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600f8152602001807f494e434f525245435420494e505554000000000000000000000000000000000081525060200191505060405180910390fd5b610a996114e9565b806003819055503373ffffffffffffffffffffffffffffffffffffffff167fe2492e003bbe8afa53088b406f0c1cb5d9e280370fc72a74cf116ffd343c4053826040518082815260200191505060405180910390a250565b60058181548110610afe57fe5b90600052602060002090600602016000915090508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060010154908060020154908060030154908060040160009054906101000a900461ffff16908060050154905086565b60075481565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60095481565b60026001541415610c13576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b6002600181905550600060058381548110610c2a57fe5b9060005260206000209060060201905060006006600085815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090508281600001541015610d08576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260128152602001807f77697468647261773a206e6f7420676f6f64000000000000000000000000000081525060200191505060405180910390fd5b610d1184610eb1565b6000610d5e8260010154610d50670de0b6b3a7640000610d4287600301548760000154612bec90919063ffffffff16565b612c7290919063ffffffff16565b612d8390919063ffffffff16565b90506000811115610d7457610d733382612e0e565b5b6000841115610e0b57610d94848360000154612d8390919063ffffffff16565b8260000181905550610deb33858560000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166130f99092919063ffffffff16565b610e02848460050154612d8390919063ffffffff16565b83600501819055505b610e40670de0b6b3a7640000610e3285600301548560000154612bec90919063ffffffff16565b612c7290919063ffffffff16565b8260010181905550843373ffffffffffffffffffffffffffffffffffffffff167ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b568866040518082815260200191505060405180910390a3505050600180819055505050565b60035481565b60085481565b600060058281548110610ec057fe5b9060005260206000209060060201905080600201544311610ee157506112f0565b600081600501541480610ef8575060008160010154145b15610f0c57438160020181905550506112f0565b6000610f1c826002015443611d3b565b90506000610f5f600754610f518560010154610f4360035487612bec90919063ffffffff16565b612bec90919063ffffffff16565b612c7290919063ffffffff16565b90507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166340c10f19600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16610fd4600a85612c7290919063ffffffff16565b6040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b15801561102757600080fd5b505af1925050508015611038575060015b611114573d8060008114611068576040519150601f19603f3d011682016040523d82523d6000602084013e61106d565b606091505b50600091507f9e98bdbb6bae5dbf7098c1b752c9ff75e03d6c37244dc5390d6bd85830f1be4e816040518080602001828103825283818151815260200191508051906020019080838360005b838110156110d45780820151818401526020810190506110b9565b50505050905090810190601f1680156111015780820380516001836020036101000a031916815260200191505b509250505060405180910390a150611115565b5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166340c10f1930836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b1580156111a657600080fd5b505af19250505080156111b7575060015b611293573d80600081146111e7576040519150601f19603f3d011682016040523d82523d6000602084013e6111ec565b606091505b50600091507f9e98bdbb6bae5dbf7098c1b752c9ff75e03d6c37244dc5390d6bd85830f1be4e816040518080602001828103825283818151815260200191508051906020019080838360005b83811015611253578082015181840152602081019050611238565b50505050905090810190601f1680156112805780820380516001836020036101000a031916815260200191505b509250505060405180910390a150611294565b5b6112db6112c884600501546112ba670de0b6b3a764000085612bec90919063ffffffff16565b612c7290919063ffffffff16565b8460030154612cfb90919063ffffffff16565b83600301819055504383600201819055505050505b50565b6002600154141561136c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b600260018190555060006005828154811061138357fe5b9060005260206000209060060201905060006006600084815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050600081600001549050600082600001819055506000826001018190555061145333828560000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166130f99092919063ffffffff16565b8083600501541061148257611475818460050154612d8390919063ffffffff16565b836005018190555061148d565b600083600501819055505b833373ffffffffffffffffffffffffffffffffffffffff167fbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae0595836040518082815260200191505060405180910390a35050506001808190555050565b6000600580549050905060005b818110156115125761150781610eb1565b8060010190506114f6565b5050565b61151e612e06565b73ffffffffffffffffffffffffffffffffffffffff1661153c611d12565b73ffffffffffffffffffffffffffffffffffffffff16146115c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b61168b612e06565b73ffffffffffffffffffffffffffffffffffffffff166116a9611d12565b73ffffffffffffffffffffffffffffffffffffffff1614611732576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b8260001515600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161515146117f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260198152602001807f6e6f6e4475706c6963617465643a206475706c6963617465640000000000000081525060200191505060405180910390fd5b8373ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561186057600080fd5b505afa158015611874573d6000803e3d6000fd5b505050506040513d602081101561188a57600080fd5b8101908080519060200190929190505050506101908361ffff1611156118fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260258152602001806135ec6025913960400191505060405180910390fd5b811561190a576119096114e9565b5b6000600854431161191d5760085461191f565b435b905061193686600754612cfb90919063ffffffff16565b6007819055506001600a60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555060056040518060c001604052808773ffffffffffffffffffffffffffffffffffffffff168152602001888152602001838152602001600081526020018661ffff1681526020016000815250908060018154018082558091505060019003906000526020600020906006020160009091909190915060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160010155604082015181600201556060820151816003015560808201518160040160006101000a81548161ffff021916908361ffff16021790555060a0820151816005015550506001600580549050037faa6642278d4bbef86d8990c37355d5d4dfe365c194106bdf7a65162268606f07868887604051808473ffffffffffffffffffffffffffffffffffffffff1681526020018381526020018261ffff168152602001935050505060405180910390a2505050505050565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611bd1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601c8152602001807f736574466565416464726573733a204143434553532044454e4945440000000081525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611c74576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f736574466565416464726573733a20494e434f525245435420494e505554000081525060200191505060405180910390fd5b80600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fd44190acf9d04bdb5d3a1aafff7e6dee8b40b93dfb8c5d3f0eea4b9f4539c3f760405160405180910390a350565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000611d508383612d8390919063ffffffff16565b905092915050565b6006602052816000526040600020602052806000526040600020600091509150508060000154908060010154905082565b600a6020528060005260406000206000915054906101000a900460ff1681565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611e6c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601c8152602001807f736574446576416464726573733a204143434553532044454e4945440000000081525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611f0f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f736574446576416464726573733a20494e434f525245435420494e505554000081525060200191505060405180910390fd5b80600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f618c54559e94f1499a808aad71ee8729f8e74e8c48e979616328ce493a1a52e760405160405180910390a350565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b611fdb612e06565b73ffffffffffffffffffffffffffffffffffffffff16611ff9611d12565b73ffffffffffffffffffffffffffffffffffffffff1614612082576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b6101908261ffff1611156120e1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602581526020018061367e6025913960400191505060405180910390fd5b80156120f0576120ef6114e9565b5b612135836121276005878154811061210457fe5b906000526020600020906006020160010154600754612d8390919063ffffffff16565b612cfb90919063ffffffff16565b600781905550826005858154811061214957fe5b906000526020600020906006020160010181905550816005858154811061216c57fe5b906000526020600020906006020160040160006101000a81548161ffff021916908361ffff160217905550837f39f0c3d078af018954b4fa56832a05a2b511afaa999b133ea3f1c487c21ed287600586815481106121c657fe5b906000526020600020906006020160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168585604051808473ffffffffffffffffffffffffffffffffffffffff1681526020018381526020018261ffff168152602001935050505060405180910390a250505050565b600260015414156122b6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b60026001819055506000600583815481106122cd57fe5b9060005260206000209060060201905060006006600085815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905061233a84610eb1565b6000816000015411156123ac5760006123948260010154612386670de0b6b3a764000061237887600301548760000154612bec90919063ffffffff16565b612c7290919063ffffffff16565b612d8390919063ffffffff16565b905060008111156123aa576123a93382612e0e565b5b505b60008311156127145760008260000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561244257600080fd5b505afa158015612456573d6000803e3d6000fd5b505050506040513d602081101561246c57600080fd5b810190808051906020019092919050505090506124d03330868660000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661319b909392919063ffffffff16565b808360000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561255c57600080fd5b505afa158015612570573d6000803e3d6000fd5b505050506040513d602081101561258657600080fd5b810190808051906020019092919050505003935060008360040160009054906101000a900461ffff1661ffff1611156126d35760006125f86127106125ea8660040160009054906101000a900461ffff1661ffff1688612bec90919063ffffffff16565b612c7290919063ffffffff16565b905061266b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16828660000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166130f99092919063ffffffff16565b61269481612686878660000154612cfb90919063ffffffff16565b612d8390919063ffffffff16565b83600001819055506126c5816126b7878760050154612cfb90919063ffffffff16565b612d8390919063ffffffff16565b846005018190555050612712565b6126ea848360000154612cfb90919063ffffffff16565b8260000181905550612709848460050154612cfb90919063ffffffff16565b83600501819055505b505b612749670de0b6b3a764000061273b84600301548460000154612bec90919063ffffffff16565b612c7290919063ffffffff16565b8160010181905550833373ffffffffffffffffffffffffffffffffffffffff167f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a15856040518082815260200191505060405180910390a35050600180819055505050565b6127b5612e06565b73ffffffffffffffffffffffffffffffffffffffff166127d3611d12565b73ffffffffffffffffffffffffffffffffffffffff161461285c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156128e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806136116026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6129a7612e06565b73ffffffffffffffffffffffffffffffffffffffff166129c5611d12565b73ffffffffffffffffffffffffffffffffffffffff1614612a4e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b6008544310612ac5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260148152602001807f4641524d20414c5245414459205354415254454400000000000000000000000081525060200191505060405180910390fd5b804310612b3a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600f8152602001807f494e434f525245435420494e505554000000000000000000000000000000000081525060200191505060405180910390fd5b6000600580549050905060005b81811015612b8357600060058281548110612b5e57fe5b9060005260206000209060060201905083816002018190555050806001019050612b47565b50816008819055507f1ff2238e284780b094bb341b41af7e6ce294dee1da3799ae49cd0e29fbe127096008546040518082815260200191505060405180910390a15050565b7f000000000000000000000000000000000000000000000000000000000000000081565b600080831415612bff5760009050612c6c565b6000828402905082848281612c1057fe5b0414612c67576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602181526020018061365d6021913960400191505060405180910390fd5b809150505b92915050565b6000808211612ce9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525060200191505060405180910390fd5b818381612cf257fe5b04905092915050565b600080828401905083811015612d79576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b600082821115612dfb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525060200191505060405180910390fd5b818303905092915050565b600033905090565b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015612e9757600080fd5b505afa158015612eab573d6000803e3d6000fd5b505050506040513d6020811015612ec157600080fd5b81019080805190602001909291905050509050600081831115612fb1577f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663a9059cbb85846040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b158015612f6f57600080fd5b505af1158015612f83573d6000803e3d6000fd5b505050506040513d6020811015612f9957600080fd5b81019080805190602001909291905050509050613080565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663a9059cbb85856040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b15801561304257600080fd5b505af1158015613056573d6000803e3d6000fd5b505050506040513d602081101561306c57600080fd5b810190808051906020019092919050505090505b806130f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f736166654d756e5472616e736665723a207472616e73666572206661696c656481525060200191505060405180910390fd5b50505050565b6131968363a9059cbb60e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff838183161783525050505061325c565b505050565b613256846323b872dd60e01b858585604051602401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff838183161783525050505061325c565b50505050565b60606132be826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff1661334b9092919063ffffffff16565b9050600081511115613346578080602001905160208110156132df57600080fd5b8101908080519060200190929190505050613345576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a8152602001806136a3602a913960400191505060405180910390fd5b5b505050565b606061335a8484600085613363565b90509392505050565b6060824710156133be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806136376026913960400191505060405180910390fd5b6133c78561350c565b613439576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000081525060200191505060405180910390fd5b600060608673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b602083106134895780518252602082019150602081019050602083039250613466565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146134eb576040519150601f19603f3d011682016040523d82523d6000602084013e6134f0565b606091505b509150915061350082828661351f565b92505050949350505050565b600080823b905060008111915050919050565b6060831561352f578290506135e4565b6000835111156135425782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156135a957808201518184015260208101905061358e565b50505050905090810190601f1680156135d65780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b939250505056fe6164643a20696e76616c6964206465706f7369742066656520626173697320706f696e74734f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f777365743a20696e76616c6964206465706f7369742066656520626173697320706f696e74735361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a2646970667358221220cf0f2ef46c7f0f9d410420ca89f1165685ac71dad3b07760bd005120bba2fc2064736f6c634300060c0033000000000000000000000000f84c0611d4f5255636fcb17f48589900da42506c00000000000000000000000013cb59b6df12589a41a543baa796f70e61296ba800000000000000000000000013cb59b6df12589a41a543baa796f70e61296ba8000000000000000000000000000000000000000000000000000aa87bee53800000000000000000000000000000000000000000000000000000000000016e18b7
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101a95760003560e01c8063715018a6116100f9578063d0d41fe111610097578063e2bbb15811610071578063e2bbb158146106e8578063f2fde38b14610720578063fac2b9ba14610764578063fc0c546a14610792576101a9565b8063d0d41fe11461061e578063d49e77cd14610662578063d963842214610696576101a9565b80638da5cb5b116100d35780638da5cb5b146104db5780638dbb1e3a1461050f57806393f1a40b1461055b578063cbd258b5146105c4576101a9565b8063715018a61461042557806384e82a331461042f5780638705fcd414610497576101a9565b8063436cc3d61161016657806348cd4cb11161014057806348cd4cb1146103a157806351eb05a6146103bf5780635312ea8e146103ed578063630b5ba11461041b576101a9565b8063436cc3d61461032d578063441a3e701461034b578063486ee2ae14610383576101a9565b806304f9917b146101ae578063081e3eda146102105780630ba84cd21461022e5780631526fe271461025c57806317caf6f1146102db57806341275358146102f9575b600080fd5b6101fa600480360360408110156101c457600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506107c6565b6040518082815260200191505060405180910390f35b61021861095d565b6040518082815260200191505060405180910390f35b61025a6004803603602081101561024457600080fd5b810190808035906020019092919050505061096a565b005b6102886004803603602081101561027257600080fd5b8101908080359060200190929190505050610af1565b604051808773ffffffffffffffffffffffffffffffffffffffff1681526020018681526020018581526020018481526020018361ffff168152602001828152602001965050505050505060405180910390f35b6102e3610b68565b6040518082815260200191505060405180910390f35b610301610b6e565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610335610b94565b6040518082815260200191505060405180910390f35b6103816004803603604081101561036157600080fd5b810190808035906020019092919080359060200190929190505050610b9a565b005b61038b610ea5565b6040518082815260200191505060405180910390f35b6103a9610eab565b6040518082815260200191505060405180910390f35b6103eb600480360360208110156103d557600080fd5b8101908080359060200190929190505050610eb1565b005b6104196004803603602081101561040357600080fd5b81019080803590602001909291905050506112f3565b005b6104236114e9565b005b61042d611516565b005b6104956004803603608081101561044557600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803561ffff169060200190929190803515159060200190929190505050611683565b005b6104d9600480360360208110156104ad57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611b0e565b005b6104e3611d12565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6105456004803603604081101561052557600080fd5b810190808035906020019092919080359060200190929190505050611d3b565b6040518082815260200191505060405180910390f35b6105a76004803603604081101561057157600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611d58565b604051808381526020018281526020019250505060405180910390f35b610606600480360360208110156105da57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611d89565b60405180821515815260200191505060405180910390f35b6106606004803603602081101561063457600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611da9565b005b61066a611fad565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6106e6600480360360808110156106ac57600080fd5b810190808035906020019092919080359060200190929190803561ffff169060200190929190803515159060200190929190505050611fd3565b005b61071e600480360360408110156106fe57600080fd5b81019080803590602001909291908035906020019092919050505061223d565b005b6107626004803603602081101561073657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506127ad565b005b6107906004803603602081101561077a57600080fd5b810190808035906020019092919050505061299f565b005b61079a612bc8565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b600080600584815481106107d657fe5b9060005260206000209060060201905060006006600086815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905060008260030154905082600201544311801561085b57506000836005015414155b801561086957506000600754115b1561090b57600061087e846002015443611d3b565b905060006108c16007546108b387600101546108a560035487612bec90919063ffffffff16565b612bec90919063ffffffff16565b612c7290919063ffffffff16565b90506109066108f786600501546108e9670de0b6b3a764000085612bec90919063ffffffff16565b612c7290919063ffffffff16565b84612cfb90919063ffffffff16565b925050505b6109528260010154610944670de0b6b3a7640000610936858760000154612bec90919063ffffffff16565b612c7290919063ffffffff16565b612d8390919063ffffffff16565b935050505092915050565b6000600580549050905090565b610972612e06565b73ffffffffffffffffffffffffffffffffffffffff16610990611d12565b73ffffffffffffffffffffffffffffffffffffffff1614610a19576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600954811115610a91576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600f8152602001807f494e434f525245435420494e505554000000000000000000000000000000000081525060200191505060405180910390fd5b610a996114e9565b806003819055503373ffffffffffffffffffffffffffffffffffffffff167fe2492e003bbe8afa53088b406f0c1cb5d9e280370fc72a74cf116ffd343c4053826040518082815260200191505060405180910390a250565b60058181548110610afe57fe5b90600052602060002090600602016000915090508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060010154908060020154908060030154908060040160009054906101000a900461ffff16908060050154905086565b60075481565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60095481565b60026001541415610c13576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b6002600181905550600060058381548110610c2a57fe5b9060005260206000209060060201905060006006600085815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090508281600001541015610d08576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260128152602001807f77697468647261773a206e6f7420676f6f64000000000000000000000000000081525060200191505060405180910390fd5b610d1184610eb1565b6000610d5e8260010154610d50670de0b6b3a7640000610d4287600301548760000154612bec90919063ffffffff16565b612c7290919063ffffffff16565b612d8390919063ffffffff16565b90506000811115610d7457610d733382612e0e565b5b6000841115610e0b57610d94848360000154612d8390919063ffffffff16565b8260000181905550610deb33858560000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166130f99092919063ffffffff16565b610e02848460050154612d8390919063ffffffff16565b83600501819055505b610e40670de0b6b3a7640000610e3285600301548560000154612bec90919063ffffffff16565b612c7290919063ffffffff16565b8260010181905550843373ffffffffffffffffffffffffffffffffffffffff167ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b568866040518082815260200191505060405180910390a3505050600180819055505050565b60035481565b60085481565b600060058281548110610ec057fe5b9060005260206000209060060201905080600201544311610ee157506112f0565b600081600501541480610ef8575060008160010154145b15610f0c57438160020181905550506112f0565b6000610f1c826002015443611d3b565b90506000610f5f600754610f518560010154610f4360035487612bec90919063ffffffff16565b612bec90919063ffffffff16565b612c7290919063ffffffff16565b90507f000000000000000000000000f84c0611d4f5255636fcb17f48589900da42506c73ffffffffffffffffffffffffffffffffffffffff166340c10f19600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16610fd4600a85612c7290919063ffffffff16565b6040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b15801561102757600080fd5b505af1925050508015611038575060015b611114573d8060008114611068576040519150601f19603f3d011682016040523d82523d6000602084013e61106d565b606091505b50600091507f9e98bdbb6bae5dbf7098c1b752c9ff75e03d6c37244dc5390d6bd85830f1be4e816040518080602001828103825283818151815260200191508051906020019080838360005b838110156110d45780820151818401526020810190506110b9565b50505050905090810190601f1680156111015780820380516001836020036101000a031916815260200191505b509250505060405180910390a150611115565b5b7f000000000000000000000000f84c0611d4f5255636fcb17f48589900da42506c73ffffffffffffffffffffffffffffffffffffffff166340c10f1930836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b1580156111a657600080fd5b505af19250505080156111b7575060015b611293573d80600081146111e7576040519150601f19603f3d011682016040523d82523d6000602084013e6111ec565b606091505b50600091507f9e98bdbb6bae5dbf7098c1b752c9ff75e03d6c37244dc5390d6bd85830f1be4e816040518080602001828103825283818151815260200191508051906020019080838360005b83811015611253578082015181840152602081019050611238565b50505050905090810190601f1680156112805780820380516001836020036101000a031916815260200191505b509250505060405180910390a150611294565b5b6112db6112c884600501546112ba670de0b6b3a764000085612bec90919063ffffffff16565b612c7290919063ffffffff16565b8460030154612cfb90919063ffffffff16565b83600301819055504383600201819055505050505b50565b6002600154141561136c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b600260018190555060006005828154811061138357fe5b9060005260206000209060060201905060006006600084815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050600081600001549050600082600001819055506000826001018190555061145333828560000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166130f99092919063ffffffff16565b8083600501541061148257611475818460050154612d8390919063ffffffff16565b836005018190555061148d565b600083600501819055505b833373ffffffffffffffffffffffffffffffffffffffff167fbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae0595836040518082815260200191505060405180910390a35050506001808190555050565b6000600580549050905060005b818110156115125761150781610eb1565b8060010190506114f6565b5050565b61151e612e06565b73ffffffffffffffffffffffffffffffffffffffff1661153c611d12565b73ffffffffffffffffffffffffffffffffffffffff16146115c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b61168b612e06565b73ffffffffffffffffffffffffffffffffffffffff166116a9611d12565b73ffffffffffffffffffffffffffffffffffffffff1614611732576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b8260001515600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161515146117f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260198152602001807f6e6f6e4475706c6963617465643a206475706c6963617465640000000000000081525060200191505060405180910390fd5b8373ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561186057600080fd5b505afa158015611874573d6000803e3d6000fd5b505050506040513d602081101561188a57600080fd5b8101908080519060200190929190505050506101908361ffff1611156118fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260258152602001806135ec6025913960400191505060405180910390fd5b811561190a576119096114e9565b5b6000600854431161191d5760085461191f565b435b905061193686600754612cfb90919063ffffffff16565b6007819055506001600a60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555060056040518060c001604052808773ffffffffffffffffffffffffffffffffffffffff168152602001888152602001838152602001600081526020018661ffff1681526020016000815250908060018154018082558091505060019003906000526020600020906006020160009091909190915060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160010155604082015181600201556060820151816003015560808201518160040160006101000a81548161ffff021916908361ffff16021790555060a0820151816005015550506001600580549050037faa6642278d4bbef86d8990c37355d5d4dfe365c194106bdf7a65162268606f07868887604051808473ffffffffffffffffffffffffffffffffffffffff1681526020018381526020018261ffff168152602001935050505060405180910390a2505050505050565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611bd1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601c8152602001807f736574466565416464726573733a204143434553532044454e4945440000000081525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611c74576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f736574466565416464726573733a20494e434f525245435420494e505554000081525060200191505060405180910390fd5b80600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fd44190acf9d04bdb5d3a1aafff7e6dee8b40b93dfb8c5d3f0eea4b9f4539c3f760405160405180910390a350565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000611d508383612d8390919063ffffffff16565b905092915050565b6006602052816000526040600020602052806000526040600020600091509150508060000154908060010154905082565b600a6020528060005260406000206000915054906101000a900460ff1681565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611e6c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601c8152602001807f736574446576416464726573733a204143434553532044454e4945440000000081525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611f0f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f736574446576416464726573733a20494e434f525245435420494e505554000081525060200191505060405180910390fd5b80600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f618c54559e94f1499a808aad71ee8729f8e74e8c48e979616328ce493a1a52e760405160405180910390a350565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b611fdb612e06565b73ffffffffffffffffffffffffffffffffffffffff16611ff9611d12565b73ffffffffffffffffffffffffffffffffffffffff1614612082576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b6101908261ffff1611156120e1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602581526020018061367e6025913960400191505060405180910390fd5b80156120f0576120ef6114e9565b5b612135836121276005878154811061210457fe5b906000526020600020906006020160010154600754612d8390919063ffffffff16565b612cfb90919063ffffffff16565b600781905550826005858154811061214957fe5b906000526020600020906006020160010181905550816005858154811061216c57fe5b906000526020600020906006020160040160006101000a81548161ffff021916908361ffff160217905550837f39f0c3d078af018954b4fa56832a05a2b511afaa999b133ea3f1c487c21ed287600586815481106121c657fe5b906000526020600020906006020160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168585604051808473ffffffffffffffffffffffffffffffffffffffff1681526020018381526020018261ffff168152602001935050505060405180910390a250505050565b600260015414156122b6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b60026001819055506000600583815481106122cd57fe5b9060005260206000209060060201905060006006600085815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905061233a84610eb1565b6000816000015411156123ac5760006123948260010154612386670de0b6b3a764000061237887600301548760000154612bec90919063ffffffff16565b612c7290919063ffffffff16565b612d8390919063ffffffff16565b905060008111156123aa576123a93382612e0e565b5b505b60008311156127145760008260000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561244257600080fd5b505afa158015612456573d6000803e3d6000fd5b505050506040513d602081101561246c57600080fd5b810190808051906020019092919050505090506124d03330868660000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661319b909392919063ffffffff16565b808360000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561255c57600080fd5b505afa158015612570573d6000803e3d6000fd5b505050506040513d602081101561258657600080fd5b810190808051906020019092919050505003935060008360040160009054906101000a900461ffff1661ffff1611156126d35760006125f86127106125ea8660040160009054906101000a900461ffff1661ffff1688612bec90919063ffffffff16565b612c7290919063ffffffff16565b905061266b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16828660000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166130f99092919063ffffffff16565b61269481612686878660000154612cfb90919063ffffffff16565b612d8390919063ffffffff16565b83600001819055506126c5816126b7878760050154612cfb90919063ffffffff16565b612d8390919063ffffffff16565b846005018190555050612712565b6126ea848360000154612cfb90919063ffffffff16565b8260000181905550612709848460050154612cfb90919063ffffffff16565b83600501819055505b505b612749670de0b6b3a764000061273b84600301548460000154612bec90919063ffffffff16565b612c7290919063ffffffff16565b8160010181905550833373ffffffffffffffffffffffffffffffffffffffff167f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a15856040518082815260200191505060405180910390a35050600180819055505050565b6127b5612e06565b73ffffffffffffffffffffffffffffffffffffffff166127d3611d12565b73ffffffffffffffffffffffffffffffffffffffff161461285c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156128e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806136116026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6129a7612e06565b73ffffffffffffffffffffffffffffffffffffffff166129c5611d12565b73ffffffffffffffffffffffffffffffffffffffff1614612a4e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b6008544310612ac5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260148152602001807f4641524d20414c5245414459205354415254454400000000000000000000000081525060200191505060405180910390fd5b804310612b3a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600f8152602001807f494e434f525245435420494e505554000000000000000000000000000000000081525060200191505060405180910390fd5b6000600580549050905060005b81811015612b8357600060058281548110612b5e57fe5b9060005260206000209060060201905083816002018190555050806001019050612b47565b50816008819055507f1ff2238e284780b094bb341b41af7e6ce294dee1da3799ae49cd0e29fbe127096008546040518082815260200191505060405180910390a15050565b7f000000000000000000000000f84c0611d4f5255636fcb17f48589900da42506c81565b600080831415612bff5760009050612c6c565b6000828402905082848281612c1057fe5b0414612c67576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602181526020018061365d6021913960400191505060405180910390fd5b809150505b92915050565b6000808211612ce9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525060200191505060405180910390fd5b818381612cf257fe5b04905092915050565b600080828401905083811015612d79576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b600082821115612dfb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525060200191505060405180910390fd5b818303905092915050565b600033905090565b60007f000000000000000000000000f84c0611d4f5255636fcb17f48589900da42506c73ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015612e9757600080fd5b505afa158015612eab573d6000803e3d6000fd5b505050506040513d6020811015612ec157600080fd5b81019080805190602001909291905050509050600081831115612fb1577f000000000000000000000000f84c0611d4f5255636fcb17f48589900da42506c73ffffffffffffffffffffffffffffffffffffffff1663a9059cbb85846040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b158015612f6f57600080fd5b505af1158015612f83573d6000803e3d6000fd5b505050506040513d6020811015612f9957600080fd5b81019080805190602001909291905050509050613080565b7f000000000000000000000000f84c0611d4f5255636fcb17f48589900da42506c73ffffffffffffffffffffffffffffffffffffffff1663a9059cbb85856040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b15801561304257600080fd5b505af1158015613056573d6000803e3d6000fd5b505050506040513d602081101561306c57600080fd5b810190808051906020019092919050505090505b806130f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f736166654d756e5472616e736665723a207472616e73666572206661696c656481525060200191505060405180910390fd5b50505050565b6131968363a9059cbb60e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff838183161783525050505061325c565b505050565b613256846323b872dd60e01b858585604051602401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff838183161783525050505061325c565b50505050565b60606132be826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff1661334b9092919063ffffffff16565b9050600081511115613346578080602001905160208110156132df57600080fd5b8101908080519060200190929190505050613345576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a8152602001806136a3602a913960400191505060405180910390fd5b5b505050565b606061335a8484600085613363565b90509392505050565b6060824710156133be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806136376026913960400191505060405180910390fd5b6133c78561350c565b613439576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000081525060200191505060405180910390fd5b600060608673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b602083106134895780518252602082019150602081019050602083039250613466565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146134eb576040519150601f19603f3d011682016040523d82523d6000602084013e6134f0565b606091505b509150915061350082828661351f565b92505050949350505050565b600080823b905060008111915050919050565b6060831561352f578290506135e4565b6000835111156135425782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156135a957808201518184015260208101905061358e565b50505050905090810190601f1680156135d65780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b939250505056fe6164643a20696e76616c6964206465706f7369742066656520626173697320706f696e74734f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f777365743a20696e76616c6964206465706f7369742066656520626173697320706f696e74735361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a2646970667358221220cf0f2ef46c7f0f9d410420ca89f1165685ac71dad3b07760bd005120bba2fc2064736f6c634300060c0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000f84c0611d4f5255636fcb17f48589900da42506c00000000000000000000000013cb59b6df12589a41a543baa796f70e61296ba800000000000000000000000013cb59b6df12589a41a543baa796f70e61296ba8000000000000000000000000000000000000000000000000000aa87bee53800000000000000000000000000000000000000000000000000000000000016e18b7
-----Decoded View---------------
Arg [0] : _tokenAddress (address): 0xF84c0611D4F5255636FCb17f48589900dA42506C
Arg [1] : _devaddr (address): 0x13CB59B6dF12589a41a543bAA796F70E61296ba8
Arg [2] : _feeAddress (address): 0x13CB59B6dF12589a41a543bAA796F70E61296ba8
Arg [3] : _fMunPerBlock (uint256): 3000000000000000
Arg [4] : _startBlock (uint256): 23992503
-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 000000000000000000000000f84c0611d4f5255636fcb17f48589900da42506c
Arg [1] : 00000000000000000000000013cb59b6df12589a41a543baa796f70e61296ba8
Arg [2] : 00000000000000000000000013cb59b6df12589a41a543baa796f70e61296ba8
Arg [3] : 000000000000000000000000000000000000000000000000000aa87bee538000
Arg [4] : 00000000000000000000000000000000000000000000000000000000016e18b7
Deployed Bytecode Sourcemap
36584:12789:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42191:724;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;39916:95;;;:::i;:::-;;;;;;;;;;;;;;;;;;;48532:279;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;38335:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38576:34;;;:::i;:::-;;;;;;;;;;;;;;;;;;;38274:25;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;38730:46;;;:::i;:::-;;;;;;;;;;;;;;;;;;;45777:813;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;38212:27;;;:::i;:::-;;;;;;;;;;;;;;;;;;;38667:25;;;:::i;:::-;;;;;;;;;;;;;;;;;;;43254:1034;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;46661:562;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;42998:180;;;:::i;:::-;;12884:148;;;:::i;:::-;;40286:977;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;48095:305;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;12233:87;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;42005:121;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;38417:64;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;40019:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;47800:287;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;38144:22;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;41374:555;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;44360:1365;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;13187:244;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;48860:510;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;38089:27;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;42191:724;42263:7;42283:21;42307:8;42316:4;42307:14;;;;;;;;;;;;;;;;;;42283:38;;42332:21;42356:8;:14;42365:4;42356:14;;;;;;;;;;;:21;42371:5;42356:21;;;;;;;;;;;;;;;42332:45;;42388:23;42414:4;:20;;;42388:46;;42464:4;:20;;;42449:12;:35;:57;;;;;42505:1;42488:4;:13;;;:18;;42449:57;:80;;;;;42528:1;42510:15;;:19;42449:80;42445:382;;;42546:18;42567:49;42581:4;:20;;;42603:12;42567:13;:49::i;:::-;42546:70;;42631:18;42652:70;42706:15;;42652:49;42685:4;:15;;;42652:28;42667:12;;42652:10;:14;;:28;;;;:::i;:::-;:32;;:49;;;;:::i;:::-;:53;;:70;;;;:::i;:::-;42631:91;;42755:60;42775:39;42800:4;:13;;;42775:20;42790:4;42775:10;:14;;:20;;;;:::i;:::-;:24;;:39;;;;:::i;:::-;42755:15;:19;;:60;;;;:::i;:::-;42737:78;;42445:382;;;42844:63;42891:4;:15;;;42844:42;42881:4;42844:32;42860:15;42844:4;:11;;;:15;;:32;;;;:::i;:::-;:36;;:42;;;;:::i;:::-;:46;;:63;;;;:::i;:::-;42837:70;;;;;42191:724;;;;:::o;39916:95::-;39961:7;39988:8;:15;;;;39981:22;;39916:95;:::o;48532:279::-;12464:12;:10;:12::i;:::-;12453:23;;:7;:5;:7::i;:::-;:23;;;12445:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48638:17:::1;;48621:13;:34;;48613:62;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;48686:17;:15;:17::i;:::-;48729:13;48714:12;:28;;;;48777:10;48758:45;;;48789:13;48758:45;;;;;;;;;;;;;;;;;;48532:279:::0;:::o;38335:26::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;38576:34::-;;;;:::o;38274:25::-;;;;;;;;;;;;;:::o;38730:46::-;;;;:::o;45777:813::-;1993:1;2599:7;;:19;;2591:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1993:1;2732:7;:18;;;;45859:21:::1;45883:8;45892:4;45883:14;;;;;;;;;;;;;;;;;;45859:38;;45908:21;45932:8;:14;45941:4;45932:14;;;;;;;;;;;:26;45947:10;45932:26;;;;;;;;;;;;;;;45908:50;;45992:7;45977:4;:11;;;:22;;45969:53;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;46033:16;46044:4;46033:10;:16::i;:::-;46060:15;46078:68;46130:4;:15;;;46078:47;46120:4;46078:37;46094:4;:20;;;46078:4;:11;;;:15;;:37;;;;:::i;:::-;:41;;:47;;;;:::i;:::-;:51;;:68;;;;:::i;:::-;46060:86;;46171:1;46161:7;:11;46157:80;;;46189:36;46205:10;46217:7;46189:15;:36::i;:::-;46157:80;46261:1;46251:7;:11;46247:209;;;46293:24;46309:7;46293:4;:11;;;:15;;:24;;;;:::i;:::-;46279:4;:11;;:38;;;;46332:55;46366:10;46379:7;46332:4;:12;;;;;;;;;;;;:25;;;;:55;;;;;:::i;:::-;46418:26;46436:7;46418:4;:13;;;:17;;:26;;;;:::i;:::-;46402:4;:13;;:42;;;;46247:209;46484:47;46526:4;46484:37;46500:4;:20;;;46484:4;:11;;;:15;;:37;;;;:::i;:::-;:41;;:47;;;;:::i;:::-;46466:4;:15;;:65;;;;46568:4;46556:10;46547:35;;;46574:7;46547:35;;;;;;;;;;;;;;;;;;2763:1;;;1949::::0;2911:7;:22;;;;45777:813;;:::o;38212:27::-;;;;:::o;38667:25::-;;;;:::o;43254:1034::-;43306:21;43330:8;43339:4;43330:14;;;;;;;;;;;;;;;;;;43306:38;;43375:4;:20;;;43359:12;:36;43355:75;;43412:7;;;43355:75;43461:1;43444:4;:13;;;:18;:42;;;;43485:1;43466:4;:15;;;:20;43444:42;43440:131;;;43526:12;43503:4;:20;;:35;;;;43553:7;;;43440:131;43581:18;43602:49;43616:4;:20;;;43638:12;43602:13;:49::i;:::-;43581:70;;43662:18;43683:70;43737:15;;43683:49;43716:4;:15;;;43683:28;43698:12;;43683:10;:14;;:28;;;;:::i;:::-;:32;;:49;;;;:::i;:::-;:53;;:70;;;;:::i;:::-;43662:91;;43778:5;:10;;;43789:7;;;;;;;;;;;43798:18;43813:2;43798:10;:14;;:18;;;;:::i;:::-;43778:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43774:167;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43887:1;43874:14;;43908:21;43922:6;43908:21;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43831:110;43774:167;;;;43965:5;:10;;;43984:4;43991:10;43965:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43961:165;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44072:1;44059:14;;44093:21;44107:6;44093:21;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44016:110;43961:165;;;;44169:65;44194:39;44219:4;:13;;;44194:20;44209:4;44194:10;:14;;:20;;;;:::i;:::-;:24;;:39;;;;:::i;:::-;44169:4;:20;;;:24;;:65;;;;:::i;:::-;44146:4;:20;;:88;;;;44268:12;44245:4;:20;;:35;;;;43254:1034;;;;;:::o;46661:562::-;1993:1;2599:7;;:19;;2591:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1993:1;2732:7;:18;;;;46735:21:::1;46759:8;46768:4;46759:14;;;;;;;;;;;;;;;;;;46735:38;;46784:21;46808:8;:14;46817:4;46808:14;;;;;;;;;;;:26;46823:10;46808:26;;;;;;;;;;;;;;;46784:50;;46845:14;46862:4;:11;;;46845:28;;46898:1;46884:4;:11;;:15;;;;46928:1;46910:4;:15;;:19;;;;46940:54;46974:10;46987:6;46940:4;:12;;;;;;;;;;;;:25;;;;:54;;;;;:::i;:::-;47029:6;47011:4;:13;;;:24;47007:148;;47068:25;47086:6;47068:4;:13;;;:17;;:25;;;;:::i;:::-;47052:4;:13;;:41;;;;47007:148;;;47142:1;47126:4;:13;;:17;;;;47007:148;47202:4;47190:10;47172:43;;;47208:6;47172:43;;;;;;;;;;;;;;;;;;2763:1;;;1949::::0;2911:7;:22;;;;46661:562;:::o;42998:180::-;43043:14;43060:8;:15;;;;43043:32;;43091:11;43086:85;43114:6;43108:3;:12;43086:85;;;43144:15;43155:3;43144:10;:15::i;:::-;43122:5;;;;;43086:85;;;;42998:180;:::o;12884:148::-;12464:12;:10;:12::i;:::-;12453:23;;:7;:5;:7::i;:::-;:23;;;12445:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12991:1:::1;12954:40;;12975:6;::::0;::::1;;;;;;;;12954:40;;;;;;;;;;;;13022:1;13005:6:::0;::::1;:19;;;;;;;;;;;;;;;;;;12884:148::o:0;40286:977::-;12464:12;:10;:12::i;:::-;12453:23;;:7;:5;:7::i;:::-;:23;;;12445:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40410:8:::1;40156:5;40129:32;;:13;:23;40143:8;40129:23;;;;;;;;;;;;;;;;;;;;;;;;;:32;;;40121:70;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;40461:8:::2;:18;;;40488:4;40461:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;40532:3;40515:13;:20;;;;40507:70;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40592:11;40588:61;;;40620:17;:15;:17::i;:::-;40588:61;40659:23;40700:10;;40685:12;:25;:53;;40728:10;;40685:53;;;40713:12;40685:53;40659:79;;40767:32;40787:11;40767:15;;:19;;:32;;;;:::i;:::-;40749:15;:50;;;;40836:4;40810:13;:23;40824:8;40810:23;;;;;;;;;;;;;;;;:30;;;;;;;;;;;;;;;;;;40851:8;40879:272;;;;;;;;40917:8;40879:272;;;;;;40957:11;40879:272;;;;41005:15;40879:272;;;;41057:1;40879:272;;;;41092:13;40879:272;;;;;;41134:1;40879:272;;::::0;40851:311:::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41206:1;41188:8;:15;;;;:19;41180:75;41217:8;41228:11;41241:13;41180:75;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40202:1;12524::::1;40286:977:::0;;;;:::o;48095:305::-;48181:10;;;;;;;;;;;48167:24;;:10;:24;;;48159:65;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48266:1;48243:25;;:11;:25;;;;48235:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48327:11;48314:10;;:24;;;;;;;;;;;;;;;;;;48380:11;48354:38;;48368:10;48354:38;;;;;;;;;;;;48095:305;:::o;12233:87::-;12279:7;12306:6;;;;;;;;;;;12299:13;;12233:87;:::o;42005:121::-;42077:7;42104:14;42112:5;42104:3;:7;;:14;;;;:::i;:::-;42097:21;;42005:121;;;;:::o;38417:64::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;40019:44::-;;;;;;;;;;;;;;;;;;;;;;:::o;47800:287::-;47883:7;;;;;;;;;;;47869:21;;:10;:21;;;47861:62;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47962:1;47942:22;;:8;:22;;;;47934:65;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48020:8;48010:7;;:18;;;;;;;;;;;;;;;;;;48070:8;48044:35;;48058:10;48044:35;;;;;;;;;;;;47800:287;:::o;38144:22::-;;;;;;;;;;;;;:::o;41374:555::-;12464:12;:10;:12::i;:::-;12453:23;;:7;:5;:7::i;:::-;:23;;;12445:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41517:3:::1;41500:13;:20;;;;41492:70;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41577:11;41573:61;;;41605:17;:15;:17::i;:::-;41573:61;41662:63;41713:11;41662:46;41682:8;41691:4;41682:14;;;;;;;;;;;;;;;;;;:25;;;41662:15;;:19;;:46;;;;:::i;:::-;:50;;:63;;;;:::i;:::-;41644:15;:81;;;;41764:11;41736:8;41745:4;41736:14;;;;;;;;;;;;;;;;;;:25;;:39;;;;41816:13;41786:8;41795:4;41786:14;;;;;;;;;;;;;;;;;;:27;;;:43;;;;;;;;;;;;;;;;;;41855:4;41847:74;41869:8;41878:4;41869:14;;;;;;;;;;;;;;;;;;:22;;;;;;;;;;;;41894:11;41907:13;41847:74;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41374:555:::0;;;;:::o;44360:1365::-;1993:1;2599:7;;:19;;2591:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1993:1;2732:7;:18;;;;44441:21:::1;44465:8;44474:4;44465:14;;;;;;;;;;;;;;;;;;44441:38;;44490:21;44514:8;:14;44523:4;44514:14;;;;;;;;;;;:26;44529:10;44514:26;;;;;;;;;;;;;;;44490:50;;44551:16;44562:4;44551:10;:16::i;:::-;44596:1;44582:4;:11;;;:15;44578:236;;;44614:15;44632:68;44684:4;:15;;;44632:47;44674:4;44632:37;44648:4;:20;;;44632:4;:11;;;:15;;:37;;;;:::i;:::-;:41;;:47;;;;:::i;:::-;:51;;:68;;;;:::i;:::-;44614:86;;44729:1;44719:7;:11;44715:88;;;44751:36;44767:10;44779:7;44751:15;:36::i;:::-;44715:88;44578:236;;44838:1;44828:7;:11;44824:768;;;44856:21;44880:4;:12;;;;;;;;;;;;:22;;;44911:4;44880:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;44856:61;;44932:74;44970:10;44991:4;44998:7;44932:4;:12;;;;;;;;;;;;:29;;;;:74;;;;;;:::i;:::-;45071:13;45031:4;:12;;;;;;;;;;;;:22;;;45062:4;45031:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;:53;45021:63;;45123:1;45103:4;:17;;;;;;;;;;;;:21;;;45099:482;;;45145:18;45166:41;45201:5;45166:30;45178:4;:17;;;;;;;;;;;;45166:30;;:7;:11;;:30;;;;:::i;:::-;:34;;:41;;;;:::i;:::-;45145:62;;45226:49;45252:10;;;;;;;;;;;45264;45226:4;:12;;;;;;;;;;;;:25;;;;:49;;;;;:::i;:::-;45308:40;45337:10;45308:24;45324:7;45308:4;:11;;;:15;;:24;;;;:::i;:::-;:28;;:40;;;;:::i;:::-;45294:4;:11;;:54;;;;45383:42;45414:10;45383:26;45401:7;45383:4;:13;;;:17;;:26;;;;:::i;:::-;:30;;:42;;;;:::i;:::-;45367:4;:13;;:58;;;;45099:482;;;;45480:24;45496:7;45480:4;:11;;;:15;;:24;;;;:::i;:::-;45466:4;:11;;:38;;;;45539:26;45557:7;45539:4;:13;;;:17;;:26;;;;:::i;:::-;45523:4;:13;;:42;;;;45099:482;44824:768;;45620:47;45662:4;45620:37;45636:4;:20;;;45620:4;:11;;;:15;;:37;;;;:::i;:::-;:41;;:47;;;;:::i;:::-;45602:4;:15;;:65;;;;45703:4;45691:10;45683:34;;;45709:7;45683:34;;;;;;;;;;;;;;;;;;2763:1;;1949::::0;2911:7;:22;;;;44360:1365;;:::o;13187:244::-;12464:12;:10;:12::i;:::-;12453:23;;:7;:5;:7::i;:::-;:23;;;12445:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13296:1:::1;13276:22;;:8;:22;;;;13268:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13386:8;13357:38;;13378:6;::::0;::::1;;;;;;;;13357:38;;;;;;;;;;;;13415:8;13406:6;::::0;:17:::1;;;;;;;;;;;;;;;;;;13187:244:::0;:::o;48860:510::-;12464:12;:10;:12::i;:::-;12453:23;;:7;:5;:7::i;:::-;:23;;;12445:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48963:10:::1;;48948:12;:25;48940:58;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;49032:14;49017:12;:29;49009:57;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;49077:14;49094:8;:15;;;;49077:32;;49125:11;49120:159;49148:6;49142:3;:12;49120:159;;;49178:21;49202:8;49211:3;49202:13;;;;;;;;;;;;;;;;;;49178:37;;49253:14;49230:4;:20;;:37;;;;49120:159;49156:5;;;;;49120:159;;;;49302:14;49289:10;:27;;;;49334:28;49351:10;;49334:28;;;;;;;;;;;;;;;;;;12524:1;48860:510:::0;:::o;38089:27::-;;;:::o;7428:220::-;7486:7;7515:1;7510;:6;7506:20;;;7525:1;7518:8;;;;7506:20;7537:9;7553:1;7549;:5;7537:17;;7582:1;7577;7573;:5;;;;;;:10;7565:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7639:1;7632:8;;;7428:220;;;;;:::o;8126:153::-;8184:7;8216:1;8212;:5;8204:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8270:1;8266;:5;;;;;;8259:12;;8126:153;;;;:::o;6549:179::-;6607:7;6627:9;6643:1;6639;:5;6627:17;;6668:1;6663;:6;;6655:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6719:1;6712:8;;;6549:179;;;;:::o;7011:158::-;7069:7;7102:1;7097;:6;;7089:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7160:1;7156;:5;7149:12;;7011:158;;;;:::o;3491:106::-;3544:15;3579:10;3572:17;;3491:106;:::o;47338:426::-;47413:15;47431:5;:15;;;47455:4;47431:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47413:48;;47472:20;47525:7;47515;:17;47511:175;;;47567:5;:14;;;47582:3;47587:7;47567:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47549:46;;47511:175;;;47646:5;:14;;;47661:3;47666:7;47646:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47628:46;;47511:175;47704:15;47696:60;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47338:426;;;;:::o;32900:211::-;33017:86;33037:5;33067:23;;;33092:2;33096:5;33044:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33017:19;:86::i;:::-;32900:211;;;:::o;33119:248::-;33263:96;33283:5;33313:27;;;33342:4;33348:2;33352:5;33290:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33263:19;:96::i;:::-;33119:248;;;;:::o;35435:774::-;35859:23;35885:69;35913:4;35885:69;;;;;;;;;;;;;;;;;35893:5;35885:27;;;;:69;;;;;:::i;:::-;35859:95;;35989:1;35969:10;:17;:21;35965:237;;;36124:10;36113:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36105:85;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35965:237;35435:774;;;:::o;17037:195::-;17140:12;17172:52;17194:6;17202:4;17208:1;17211:12;17172:21;:52::i;:::-;17165:59;;17037:195;;;;;:::o;18089:530::-;18216:12;18274:5;18249:21;:30;;18241:81;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18341:18;18352:6;18341:10;:18::i;:::-;18333:60;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18467:12;18481:23;18508:6;:11;;18528:5;18536:4;18508:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18466:75;;;;18559:52;18577:7;18586:10;18598:12;18559:17;:52::i;:::-;18552:59;;;;18089:530;;;;;;:::o;14119:422::-;14179:4;14387:12;14498:7;14486:20;14478:28;;14532:1;14525:4;:8;14518:15;;;14119:422;;;:::o;20629:742::-;20744:12;20773:7;20769:595;;;20804:10;20797:17;;;;20769:595;20938:1;20918:10;:17;:21;20914:439;;;21181:10;21175:17;21242:15;21229:10;21225:2;21221:19;21214:44;21129:148;21324:12;21317:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20629:742;;;;;;:::o
Swarm Source
ipfs://cf0f2ef46c7f0f9d410420ca89f1165685ac71dad3b07760bd005120bba2fc20
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.