Feature Tip: Add private address tag to any address under My Name Tag !
More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 269 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Withdraw | 12697096 | 1211 days ago | IN | 0 ETH | 0.00205089 | ||||
Withdraw | 12697093 | 1211 days ago | IN | 0 ETH | 0.00297542 | ||||
Withdraw | 12392470 | 1259 days ago | IN | 0 ETH | 0.01705777 | ||||
Withdraw | 12392466 | 1259 days ago | IN | 0 ETH | 0.01510849 | ||||
Withdraw | 12392462 | 1259 days ago | IN | 0 ETH | 0.01239966 | ||||
Withdraw | 12392457 | 1259 days ago | IN | 0 ETH | 0.01509884 | ||||
Withdraw | 12392452 | 1259 days ago | IN | 0 ETH | 0.01691481 | ||||
Withdraw | 12392449 | 1259 days ago | IN | 0 ETH | 0.01579686 | ||||
Withdraw | 12392448 | 1259 days ago | IN | 0 ETH | 0.02531364 | ||||
Withdraw | 12177011 | 1292 days ago | IN | 0 ETH | 0.01484221 | ||||
Deposit | 12173293 | 1293 days ago | IN | 0 ETH | 0.0174493 | ||||
Withdraw | 12170786 | 1293 days ago | IN | 0 ETH | 0.02438829 | ||||
Deposit | 12002781 | 1319 days ago | IN | 0 ETH | 0.01502153 | ||||
Deposit | 12002768 | 1319 days ago | IN | 0 ETH | 0.01379529 | ||||
Deposit | 12002710 | 1319 days ago | IN | 0 ETH | 0.01396831 | ||||
Withdraw | 11996332 | 1320 days ago | IN | 0 ETH | 0.02558537 | ||||
Deposit | 11652969 | 1373 days ago | IN | 0 ETH | 0.0076749 | ||||
Deposit | 11652963 | 1373 days ago | IN | 0 ETH | 0.00705092 | ||||
Deposit | 11651784 | 1373 days ago | IN | 0 ETH | 0.008026 | ||||
Deposit | 11651774 | 1373 days ago | IN | 0 ETH | 0.0078 | ||||
Deposit | 11565661 | 1386 days ago | IN | 0 ETH | 0.00460003 | ||||
Deposit | 11565661 | 1386 days ago | IN | 0 ETH | 0.00599827 | ||||
Deposit | 11565627 | 1386 days ago | IN | 0 ETH | 0.0064231 | ||||
Deposit | 11565615 | 1386 days ago | IN | 0 ETH | 0.00689764 | ||||
Deposit | 11565613 | 1386 days ago | IN | 0 ETH | 0.0066187 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
MasterChef
Compiler Version
v0.6.12+commit.27d51765
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2020-11-03 */ // File: @openzeppelin/contracts/GSN/Context.sol // SPDX-License-Identifier: MIT pragma solidity ^0.6.0; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with GSN meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address payable) { return msg.sender; } function _msgData() internal view virtual returns (bytes memory) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } } // File: @openzeppelin/contracts/token/ERC20/IERC20.sol pragma solidity ^0.6.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address sender, address recipient, uint256 amount) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); } // File: @openzeppelin/contracts/math/SafeMath.sol pragma solidity ^0.6.0; /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming languages. * `SafeMath` restores this intuition by reverting the transaction when an * operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return sub(a, b, "SafeMath: subtraction overflow"); } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers. Reverts on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return div(a, b, "SafeMath: division by zero"); } /** * @dev Returns the integer division of two unsigned integers. Reverts with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return mod(a, b, "SafeMath: modulo by zero"); } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts with custom message when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } } // File: @openzeppelin/contracts/utils/Address.sol pragma solidity ^0.6.2; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies in extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; // solhint-disable-next-line no-inline-assembly assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); // solhint-disable-next-line avoid-low-level-calls, avoid-call-value (bool success, ) = recipient.call{ value: amount }(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain`call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { return _functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); return _functionCallWithValue(target, data, value, errorMessage); } function _functionCallWithValue(address target, bytes memory data, uint256 weiValue, string memory errorMessage) private returns (bytes memory) { require(isContract(target), "Address: call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.call{ value: weiValue }(data); if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly // solhint-disable-next-line no-inline-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // File: @openzeppelin/contracts/token/ERC20/ERC20.sol pragma solidity ^0.6.0; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin guidelines: functions revert instead * of returning `false` on failure. This behavior is nonetheless conventional * and does not conflict with the expectations of ERC20 applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20 { using SafeMath for uint256; using Address for address; mapping (address => uint256) private _balances; mapping (address => mapping (address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; uint8 private _decimals; /** * @dev Sets the values for {name} and {symbol}, initializes {decimals} with * a default value of 18. * * To select a different value for {decimals}, use {_setupDecimals}. * * All three of these values are immutable: they can only be set once during * construction. */ constructor (string memory name, string memory symbol) public { _name = name; _symbol = symbol; _decimals = 18; } /** * @dev Returns the name of the token. */ function name() public view returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5,05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless {_setupDecimals} is * called. * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view returns (uint8) { return _decimals; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `recipient` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(_msgSender(), spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}; * * Requirements: * - `sender` and `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. * - the caller must have allowance for ``sender``'s tokens of at least * `amount`. */ function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) { _transfer(sender, recipient, amount); _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance")); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue)); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero")); return true; } /** * @dev Moves tokens `amount` from `sender` to `recipient`. * * This is internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `sender` cannot be the zero address. * - `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. */ function _transfer(address sender, address recipient, uint256 amount) internal virtual { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(sender, recipient, amount); _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance"); _balances[recipient] = _balances[recipient].add(amount); emit Transfer(sender, recipient, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements * * - `to` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply = _totalSupply.add(amount); _balances[account] = _balances[account].add(amount); emit Transfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance"); _totalSupply = _totalSupply.sub(amount); emit Transfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve(address owner, address spender, uint256 amount) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Sets {decimals} to a value other than the default one of 18. * * WARNING: This function should only be called from the constructor. Most * applications that interact with token contracts will not expect * {decimals} to ever change, and may work incorrectly if it does. */ function _setupDecimals(uint8 decimals_) internal { _decimals = decimals_; } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be to transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual { } } // File: @openzeppelin/contracts/token/ERC20/SafeERC20.sol pragma solidity ^0.6.0; /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeERC20 { using SafeMath for uint256; using Address for address; function safeTransfer(IERC20 token, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } /** * @dev Deprecated. This function has issues similar to the ones found in * {IERC20-approve}, and its usage is discouraged. * * Whenever possible, use {safeIncreaseAllowance} and * {safeDecreaseAllowance} instead. */ function safeApprove(IERC20 token, address spender, uint256 value) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' // solhint-disable-next-line max-line-length require((value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal { uint256 newAllowance = token.allowance(address(this), spender).add(value); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal { uint256 newAllowance = token.allowance(address(this), spender).sub(value, "SafeERC20: decreased allowance below zero"); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function _callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed"); if (returndata.length > 0) { // Return data is optional // solhint-disable-next-line max-line-length require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } } // File: @openzeppelin/contracts/access/Ownable.sol pragma solidity ^0.6.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor () internal { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } /** * @dev Returns the address of the current owner. */ function owner() public view returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(_owner == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } } // File: contracts/BTFToken.sol pragma solidity 0.6.12; // BTFToken with Governance. contract BTFToken is ERC20("BTFToken", "BTF"), Ownable { /// @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); _moveDelegates(address(0), _delegates[_to], _amount); } // Copied and modified from YAM code: // https://github.com/yam-finance/yam-protocol/blob/master/contracts/token/YAMGovernanceStorage.sol // https://github.com/yam-finance/yam-protocol/blob/master/contracts/token/YAMGovernance.sol // Which is copied and modified from COMPOUND: // https://github.com/compound-finance/compound-protocol/blob/master/contracts/Governance/Comp.sol /// @notice A record of each accounts delegate mapping (address => address) internal _delegates; /// @notice A checkpoint for marking number of votes from a given block struct Checkpoint { uint32 fromBlock; uint256 votes; } /// @notice A record of votes checkpoints for each account, by index mapping (address => mapping (uint32 => Checkpoint)) public checkpoints; /// @notice The number of checkpoints for each account mapping (address => uint32) public numCheckpoints; /// @notice The EIP-712 typehash for the contract's domain bytes32 public constant DOMAIN_TYPEHASH = keccak256("EIP712Domain(string name,uint256 chainId,address verifyingContract)"); /// @notice The EIP-712 typehash for the delegation struct used by the contract bytes32 public constant DELEGATION_TYPEHASH = keccak256("Delegation(address delegatee,uint256 nonce,uint256 expiry)"); /// @notice A record of states for signing / validating signatures mapping (address => uint) public nonces; /// @notice An event thats emitted when an account changes its delegate event DelegateChanged(address indexed delegator, address indexed fromDelegate, address indexed toDelegate); /// @notice An event thats emitted when a delegate account's vote balance changes event DelegateVotesChanged(address indexed delegate, uint previousBalance, uint newBalance); /** * @notice Delegate votes from `msg.sender` to `delegatee` * @param delegator The address to get delegatee for */ function delegates(address delegator) external view returns (address) { return _delegates[delegator]; } /** * @notice Delegate votes from `msg.sender` to `delegatee` * @param delegatee The address to delegate votes to */ function delegate(address delegatee) external { return _delegate(msg.sender, delegatee); } /** * @notice Delegates votes from signatory to `delegatee` * @param delegatee The address to delegate votes to * @param nonce The contract state required to match the signature * @param expiry The time at which to expire the signature * @param v The recovery byte of the signature * @param r Half of the ECDSA signature pair * @param s Half of the ECDSA signature pair */ function delegateBySig( address delegatee, uint nonce, uint expiry, uint8 v, bytes32 r, bytes32 s ) external { bytes32 domainSeparator = keccak256( abi.encode( DOMAIN_TYPEHASH, keccak256(bytes(name())), getChainId(), address(this) ) ); bytes32 structHash = keccak256( abi.encode( DELEGATION_TYPEHASH, delegatee, nonce, expiry ) ); bytes32 digest = keccak256( abi.encodePacked( "\x19\x01", domainSeparator, structHash ) ); address signatory = ecrecover(digest, v, r, s); require(signatory != address(0), "BTF::delegateBySig: invalid signature"); require(nonce == nonces[signatory]++, "BTF::delegateBySig: invalid nonce"); require(now <= expiry, "BTF::delegateBySig: signature expired"); return _delegate(signatory, delegatee); } /** * @notice Gets the current votes balance for `account` * @param account The address to get votes balance * @return The number of current votes for `account` */ function getCurrentVotes(address account) external view returns (uint256) { uint32 nCheckpoints = numCheckpoints[account]; return nCheckpoints > 0 ? checkpoints[account][nCheckpoints - 1].votes : 0; } /** * @notice Determine the prior number of votes for an account as of a block number * @dev Block number must be a finalized block or else this function will revert to prevent misinformation. * @param account The address of the account to check * @param blockNumber The block number to get the vote balance at * @return The number of votes the account had as of the given block */ function getPriorVotes(address account, uint blockNumber) external view returns (uint256) { require(blockNumber < block.number, "BTF::getPriorVotes: not yet determined"); uint32 nCheckpoints = numCheckpoints[account]; if (nCheckpoints == 0) { return 0; } // First check most recent balance if (checkpoints[account][nCheckpoints - 1].fromBlock <= blockNumber) { return checkpoints[account][nCheckpoints - 1].votes; } // Next check implicit zero balance if (checkpoints[account][0].fromBlock > blockNumber) { return 0; } uint32 lower = 0; uint32 upper = nCheckpoints - 1; while (upper > lower) { uint32 center = upper - (upper - lower) / 2; // ceil, avoiding overflow Checkpoint memory cp = checkpoints[account][center]; if (cp.fromBlock == blockNumber) { return cp.votes; } else if (cp.fromBlock < blockNumber) { lower = center; } else { upper = center - 1; } } return checkpoints[account][lower].votes; } function _delegate(address delegator, address delegatee) internal { address currentDelegate = _delegates[delegator]; uint256 delegatorBalance = balanceOf(delegator); // balance of underlying BTFs (not scaled); _delegates[delegator] = delegatee; emit DelegateChanged(delegator, currentDelegate, delegatee); _moveDelegates(currentDelegate, delegatee, delegatorBalance); } function _moveDelegates(address srcRep, address dstRep, uint256 amount) internal { if (srcRep != dstRep && amount > 0) { if (srcRep != address(0)) { // decrease old representative uint32 srcRepNum = numCheckpoints[srcRep]; uint256 srcRepOld = srcRepNum > 0 ? checkpoints[srcRep][srcRepNum - 1].votes : 0; uint256 srcRepNew = srcRepOld.sub(amount); _writeCheckpoint(srcRep, srcRepNum, srcRepOld, srcRepNew); } if (dstRep != address(0)) { // increase new representative uint32 dstRepNum = numCheckpoints[dstRep]; uint256 dstRepOld = dstRepNum > 0 ? checkpoints[dstRep][dstRepNum - 1].votes : 0; uint256 dstRepNew = dstRepOld.add(amount); _writeCheckpoint(dstRep, dstRepNum, dstRepOld, dstRepNew); } } } function _writeCheckpoint( address delegatee, uint32 nCheckpoints, uint256 oldVotes, uint256 newVotes ) internal { uint32 blockNumber = safe32(block.number, "BTF::_writeCheckpoint: block number exceeds 32 bits"); if (nCheckpoints > 0 && checkpoints[delegatee][nCheckpoints - 1].fromBlock == blockNumber) { checkpoints[delegatee][nCheckpoints - 1].votes = newVotes; } else { checkpoints[delegatee][nCheckpoints] = Checkpoint(blockNumber, newVotes); numCheckpoints[delegatee] = nCheckpoints + 1; } emit DelegateVotesChanged(delegatee, oldVotes, newVotes); } function safe32(uint n, string memory errorMessage) internal pure returns (uint32) { require(n < 2**32, errorMessage); return uint32(n); } function getChainId() internal pure returns (uint) { uint256 chainId; assembly { chainId := chainid() } return chainId; } } // File: contracts/interface/IMigratorChef.sol pragma solidity 0.6.12; interface IMigratorChef { // Perform LP token migration from legacy UniswapV2 to BTFSwap. // Take the current LP token address and return the new LP token address. // Migrator should have full access to the caller's LP token. // Return the new LP token address. // // XXX Migrator must have allowance access to UniswapV2 LP tokens. // BTFSwap must mint EXACTLY the same amount of BTFSwap LP tokens or // else something bad will happen. Traditional UniswapV2 does not // do that so be careful! function migrate(IERC20 token) external returns (IERC20); } // File: contracts/interface/IBTFReferral.sol pragma solidity ^0.6.2; interface IBTFReferral { function setReferrer(address farmer, address referrer) external; function getReferrer(address farmer) external view returns (address); } // File: contracts/MasterChef.sol pragma solidity 0.6.12; // MasterChef is the master of BTF contract MasterChef is Ownable { uint256 public constant DURATION = 7 days; uint256 public TotalSupply = 1000000 * 1e18; uint256 public initReward = 100000 * 1e18; uint256 public periodFinish = 0; using SafeMath for uint256; using SafeERC20 for IERC20; uint256 public rewardRate = 0; address public rewardReferral; uint256 public constant referralMax = 10000; // 1% uint256 public referralPercent = 100; // Fees 20% in total // - 15% devFundFee for development fund // - 5% comFundFee for community fund address public devAddr; uint256 public devFundFee = 1500; uint256 public constant devFundMax = 10000; address public comAddr; uint256 public comFundFee = 500; uint256 public constant comFundMax = 10000; address public timelock; // Info of each user. struct UserInfo { uint256 amount; uint256 rewardPerTokenPaid; uint256 rewards; } // Info of each pool. struct PoolInfo { IERC20 lpToken; uint256 allocPoint; uint256 lastUpdateTime; uint256 rewardPerTokenStored; } // The BTF TOKEN! BTFToken public btf; // The migrator contract. It has a lot of power. Can only be set through governance (owner). IMigratorChef public migrator; // Info of each pool. PoolInfo[] public poolInfo; // Info of each user that stakes LP tokens. mapping(uint256 => mapping(address => UserInfo)) public userInfo; // Total allocation poitns. Must be the sum of all allocation points in all pools. uint256 public totalAllocPoint = 0; // The block number when BTF mining starts. uint256 public startBlock; // add the same LP token only once mapping(address => bool) lpExists; event RewardAdded(uint256 reward); event Deposit(address indexed user, uint256 indexed pid, uint256 amount); event Withdraw(address indexed user, uint256 indexed pid, uint256 amount); event RewardPaid(address indexed user, uint256 reward); event EmergencyWithdraw(address indexed user, uint256 indexed pid, uint256 amount); constructor(BTFToken _btf, uint256 _startBlock, address _devAddr, address _comAddr, address _timelock) public { btf = _btf; startBlock = _startBlock; devAddr = _devAddr; comAddr = _comAddr; timelock = _timelock; } function setRewardReferral(address _rewardReferral) external onlyOwner { rewardReferral = _rewardReferral; } function setReferralPercent(uint256 _referralPercent) external onlyOwner { require(_referralPercent > 0 && _referralPercent < referralMax, "_referralPercent is wrong"); referralPercent = _referralPercent; } function setDevFundFee(uint256 _devFundFee) external { require(msg.sender == timelock, "!timelock"); devFundFee = _devFundFee; } // Update developer address by the previous dev. function dev(address _devAddr) external { require(msg.sender == devAddr, "!devaddr"); devAddr = _devAddr; } function setComFundFee(uint256 _comFundFee) external { require(msg.sender == timelock, "!timelock"); comFundFee = _comFundFee; } // Update community address by timelock. function com(address _comAddr) external { require(msg.sender == timelock, "!timelock"); comAddr = _comAddr; } function setTimelock(address _timelock) external { require(msg.sender == timelock, "!timelock"); timelock = _timelock; } modifier reduceHalve() { require(btf.totalSupply() <= TotalSupply, "Out of limited."); if (periodFinish == 0) { periodFinish = block.timestamp.add(DURATION); uint256 _comReward = initReward.mul(comFundFee).div(comFundMax); uint256 _devReward = initReward.mul(devFundFee).div(devFundMax); uint256 _initReward = initReward.sub(_comReward).sub(_devReward); rewardRate = _initReward.div(DURATION); btf.mint(address(this), _initReward); btf.mint(comAddr, _comReward); btf.mint(devAddr, _devReward); } else if (block.timestamp >= periodFinish) { initReward = initReward.sub(initReward.mul(10).div(100)); uint256 _comReward = initReward.mul(comFundFee).div(comFundMax); uint256 _devReward = initReward.mul(devFundFee).div(devFundMax); uint256 _initReward = initReward.sub(_comReward).sub(_devReward); rewardRate = _initReward.div(DURATION); btf.mint(address(this), _initReward); btf.mint(comAddr, _comReward); btf.mint(devAddr, _devReward); periodFinish = block.timestamp.add(DURATION); emit RewardAdded(initReward); } _; } modifier checkStart(){ require(block.number > startBlock, "not start"); _; } modifier updateReward(uint256 _pid, address _user) { PoolInfo storage pool = poolInfo[_pid]; UserInfo storage user = userInfo[_pid][_user]; pool.rewardPerTokenStored = rewardPerToken(_pid); pool.lastUpdateTime = lastTimeRewardApplicable(); if (_user != address(0)) { user.rewards = earned(_pid, _user); user.rewardPerTokenPaid = pool.rewardPerTokenStored; } _; } function lastTimeRewardApplicable() public view returns (uint256) { return (periodFinish == 0 || block.timestamp < periodFinish) ? block.timestamp : periodFinish; } function rewardPerToken(uint256 _pid) public view returns (uint256) { PoolInfo storage pool = poolInfo[_pid]; uint256 lpSupply = pool.lpToken.balanceOf(address(this)); if (lpSupply == 0) { return pool.rewardPerTokenStored; } return pool.rewardPerTokenStored.add( lastTimeRewardApplicable() .sub(pool.lastUpdateTime == 0 ? block.timestamp : pool.lastUpdateTime) .mul(rewardRate) .mul(pool.allocPoint) .div(totalAllocPoint) .mul(1e18) .div(lpSupply) ); } function earned(uint256 _pid, address _user) public view returns (uint256) { UserInfo storage user = userInfo[_pid][_user]; return user.amount .mul(rewardPerToken(_pid).sub(user.rewardPerTokenPaid)) .div(1e18) .add(user.rewards); } // Add a new lp to the pool. Can only be called by the owner. function add(uint256 _allocPoint, IERC20 _lpToken) public onlyOwner { require(!lpExists[address(_lpToken)], "do not add the same lp token more than once"); totalAllocPoint = totalAllocPoint.add(_allocPoint); poolInfo.push(PoolInfo({ lpToken : _lpToken, allocPoint : _allocPoint, lastUpdateTime : 0, rewardPerTokenStored : 0 })); lpExists[address(_lpToken)] = true; } function poolLength() external view returns (uint256) { return poolInfo.length; } // Update the given pool's BTF allocation point. Can only be called by the owner. function set(uint256 _pid, uint256 _allocPoint) public onlyOwner { totalAllocPoint = totalAllocPoint.sub(poolInfo[_pid].allocPoint).add(_allocPoint); poolInfo[_pid].allocPoint = _allocPoint; } // View function to see pending BTFs on frontend. function pendingBTF(uint256 _pid, address _user) external view returns (uint256) { return earned(_pid, _user); } function _getReward(uint256 _pid, address _user) private { UserInfo storage user = userInfo[_pid][_user]; uint256 reward = earned(_pid, _user); if (reward > 0) { user.rewards = 0; uint256 btfBal = btf.balanceOf(address(this)); if (reward > btfBal) { reward = btfBal; } uint256 referrerReward = 0; address referrer = address(0); if (rewardReferral != address(0)) { referrer = IBTFReferral(rewardReferral).getReferrer(_user); } if (referrer != address(0)) { referrerReward = reward.mul(referralPercent).div(referralMax); btf.transfer(referrer, referrerReward); emit RewardPaid(referrer, referrerReward); } btf.transfer(_user, reward.sub(referrerReward)); emit RewardPaid(_user, reward.sub(referrerReward)); } } // Deposit LP tokens to MasterChef for BTF allocation. function deposit(uint256 _pid, uint256 _amount, address referrer) public updateReward(_pid, msg.sender) reduceHalve checkStart { PoolInfo storage pool = poolInfo[_pid]; UserInfo storage user = userInfo[_pid][msg.sender]; _getReward(_pid, msg.sender); pool.lpToken.safeTransferFrom(address(msg.sender), address(this), _amount); user.amount = user.amount.add(_amount); emit Deposit(msg.sender, _pid, _amount); if (rewardReferral != address(0) && referrer != address(0)) { IBTFReferral(rewardReferral).setReferrer(msg.sender, referrer); } } // Withdraw LP tokens from MasterChef. function withdraw(uint256 _pid, uint256 _amount) public updateReward(_pid, msg.sender) reduceHalve checkStart { PoolInfo storage pool = poolInfo[_pid]; UserInfo storage user = userInfo[_pid][msg.sender]; require(user.amount >= _amount, "withdraw: not good"); _getReward(_pid, msg.sender); user.amount = user.amount.sub(_amount); pool.lpToken.safeTransfer(address(msg.sender), _amount); emit Withdraw(msg.sender, _pid, _amount); } // Withdraw without caring about rewards. EMERGENCY ONLY. function emergencyWithdraw(uint256 _pid) public { PoolInfo storage pool = poolInfo[_pid]; UserInfo storage user = userInfo[_pid][msg.sender]; pool.lpToken.safeTransfer(address(msg.sender), user.amount); emit EmergencyWithdraw(msg.sender, _pid, user.amount); user.amount = 0; user.rewards = 0; } // Set the migrator contract. Can only be called by the owner. function setMigrator(IMigratorChef _migrator) public onlyOwner { migrator = _migrator; } // Migrate lp token to another lp contract. Can be called by anyone. We trust that migrator contract is good. function migrate(uint256 _pid) public { require(address(migrator) != address(0), "migrate: no migrator"); PoolInfo storage pool = poolInfo[_pid]; IERC20 lpToken = pool.lpToken; uint256 bal = lpToken.balanceOf(address(this)); lpToken.safeApprove(address(migrator), bal); IERC20 newLpToken = migrator.migrate(lpToken); require(bal == newLpToken.balanceOf(address(this)), "migrate: bad"); pool.lpToken = newLpToken; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"contract BTFToken","name":"_btf","type":"address"},{"internalType":"uint256","name":"_startBlock","type":"uint256"},{"internalType":"address","name":"_devAddr","type":"address"},{"internalType":"address","name":"_comAddr","type":"address"},{"internalType":"address","name":"_timelock","type":"address"}],"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":false,"internalType":"uint256","name":"reward","type":"uint256"}],"name":"RewardAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"reward","type":"uint256"}],"name":"RewardPaid","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[],"name":"DURATION","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TotalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_allocPoint","type":"uint256"},{"internalType":"contract IERC20","name":"_lpToken","type":"address"}],"name":"add","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"btf","outputs":[{"internalType":"contract BTFToken","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_comAddr","type":"address"}],"name":"com","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"comAddr","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"comFundFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"comFundMax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"address","name":"referrer","type":"address"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_devAddr","type":"address"}],"name":"dev","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"devAddr","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"devFundFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"devFundMax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"address","name":"_user","type":"address"}],"name":"earned","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"emergencyWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"initReward","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastTimeRewardApplicable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"migrate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"migrator","outputs":[{"internalType":"contract IMigratorChef","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"address","name":"_user","type":"address"}],"name":"pendingBTF","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"periodFinish","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"poolInfo","outputs":[{"internalType":"contract IERC20","name":"lpToken","type":"address"},{"internalType":"uint256","name":"allocPoint","type":"uint256"},{"internalType":"uint256","name":"lastUpdateTime","type":"uint256"},{"internalType":"uint256","name":"rewardPerTokenStored","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"poolLength","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"referralMax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"referralPercent","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"}],"name":"rewardPerToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardReferral","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_allocPoint","type":"uint256"}],"name":"set","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_comFundFee","type":"uint256"}],"name":"setComFundFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_devFundFee","type":"uint256"}],"name":"setDevFundFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IMigratorChef","name":"_migrator","type":"address"}],"name":"setMigrator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_referralPercent","type":"uint256"}],"name":"setReferralPercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_rewardReferral","type":"address"}],"name":"setRewardReferral","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_timelock","type":"address"}],"name":"setTimelock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"timelock","outputs":[{"internalType":"address","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":"","type":"uint256"},{"internalType":"address","name":"","type":"address"}],"name":"userInfo","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"rewardPerTokenPaid","type":"uint256"},{"internalType":"uint256","name":"rewards","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
608060405269d3c21bcecceda100000060015569152d02c7e14af68000006002556000600355600060045560646006556105dc6008556101f4600a5560006010553480156200004d57600080fd5b5060405162002d1638038062002d16833981810160405260a08110156200007357600080fd5b5080516020820151604083015160608401516080909401519293919290919060006200009e62000141565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600c80546001600160a01b039687166001600160a01b031991821617909155601194909455600780549386169385169390931790925560098054918516918416919091179055600b805491909316911617905562000145565b3390565b612bc180620001556000396000f3fe608060405234801561001057600080fd5b50600436106102685760003560e01c8063758f7cfc116101515780639bfffad7116100c3578063bdacb30311610087578063bdacb303146105da578063d33219b414610600578063da09c72c14610608578063e39c08fc14610610578063ebe2b12b1461063c578063f2fde38b1461064457610268565b80639bfffad7146105b2578063a44b47f7146105ba578063a637558d146105c2578063ab4e4827146105ca578063b635b8ae146105d257610268565b8063874c120b11610115578063874c120b146104eb5780638d88a90e146105085780638da5cb5b1461052e5780638dbdbe6d1461053657806393f1a40b146105685780639a68cf631461029557610268565b8063758f7cfc1461049f57806377dc4e94146104a75780637b0a47ee146104d35780637cd07e47146104db57806380faa57d146104e357610268565b806323cf3118116101ea578063454b0608116101ae578063454b06081461041257806348cd4cb11461042f5780635312ea8e146104375780636129f25f14610454578063696ad98414610471578063715018a61461049757610268565b806323cf3118146103785780632b8bbbe81461039e578063343dfb7e146103ca57806335d32026146103d2578063441a3e70146103ef57610268565b806314e6ac091161023157806314e6ac09146102db5780631526fe27146102f857806317caf6f1146103455780631ab06ee51461034d5780631be052891461037057610268565b80622dcfb91461026d578063028594a914610295578063081e3eda146102af5780630cdb43c4146102b757806313bd4b9514610295575b600080fd5b6102936004803603602081101561028357600080fd5b50356001600160a01b031661066a565b005b61029d6106e4565b60408051918252519081900360200190f35b61029d6106ea565b6102bf6106f0565b604080516001600160a01b039092168252519081900360200190f35b610293600480360360208110156102f157600080fd5b50356106ff565b6103156004803603602081101561030e57600080fd5b503561074f565b604080516001600160a01b0390951685526020850193909352838301919091526060830152519081900360800190f35b61029d610790565b6102936004803603604081101561036357600080fd5b5080359060200135610796565b61029d610858565b6102936004803603602081101561038e57600080fd5b50356001600160a01b031661085f565b610293600480360360408110156103b457600080fd5b50803590602001356001600160a01b03166108d9565b61029d610aa0565b610293600480360360208110156103e857600080fd5b5035610aa6565b6102936004803603604081101561040557600080fd5b5080359060200135610af6565b6102936004803603602081101561042857600080fd5b503561118f565b61029d6113eb565b6102936004803603602081101561044d57600080fd5b50356113f1565b6102936004803603602081101561046a57600080fd5b503561148c565b6102936004803603602081101561048757600080fd5b50356001600160a01b031661154b565b6102936115b8565b6102bf61165a565b61029d600480360360408110156104bd57600080fd5b50803590602001356001600160a01b0316611669565b61029d61167e565b6102bf611684565b61029d611693565b61029d6004803603602081101561050157600080fd5b50356116ba565b6102936004803603602081101561051e57600080fd5b50356001600160a01b03166117c6565b6102bf611832565b6102936004803603606081101561054c57600080fd5b50803590602081013590604001356001600160a01b0316611841565b6105946004803603604081101561057e57600080fd5b50803590602001356001600160a01b0316611f13565b60408051938452602084019290925282820152519081900360600190f35b61029d611f3f565b61029d611f45565b6102bf611f4b565b61029d611f5a565b61029d611f60565b610293600480360360208110156105f057600080fd5b50356001600160a01b0316611f66565b6102bf611fd3565b6102bf611fe2565b61029d6004803603604081101561062657600080fd5b50803590602001356001600160a01b0316611ff1565b61029d612051565b6102936004803603602081101561065a57600080fd5b50356001600160a01b0316612057565b61067261214f565b6000546001600160a01b039081169116146106c2576040805162461bcd60e51b81526020600482018190526024820152600080516020612ae1833981519152604482015290519081900360640190fd5b600580546001600160a01b0319166001600160a01b0392909216919091179055565b61271081565b600e5490565b6005546001600160a01b031681565b600b546001600160a01b0316331461074a576040805162461bcd60e51b81526020600482015260096024820152682174696d656c6f636b60b81b604482015290519081900360640190fd5b600855565b600e818154811061075c57fe5b600091825260209091206004909102018054600182015460028301546003909301546001600160a01b039092169350919084565b60105481565b61079e61214f565b6000546001600160a01b039081169116146107ee576040805162461bcd60e51b81526020600482018190526024820152600080516020612ae1833981519152604482015290519081900360640190fd5b61082b81610825600e858154811061080257fe5b90600052602060002090600402016001015460105461215390919063ffffffff16565b90612195565b60108190555080600e838154811061083f57fe5b9060005260206000209060040201600101819055505050565b62093a8081565b61086761214f565b6000546001600160a01b039081169116146108b7576040805162461bcd60e51b81526020600482018190526024820152600080516020612ae1833981519152604482015290519081900360640190fd5b600d80546001600160a01b0319166001600160a01b0392909216919091179055565b6108e161214f565b6000546001600160a01b03908116911614610931576040805162461bcd60e51b81526020600482018190526024820152600080516020612ae1833981519152604482015290519081900360640190fd5b6001600160a01b03811660009081526012602052604090205460ff16156109895760405162461bcd60e51b815260040180806020018281038252602b815260200180612b01602b913960400191505060405180910390fd5b6010546109969083612195565b601055604080516080810182526001600160a01b039283168082526020808301958652600083850181815260608501828152600e80546001808201835591855296517fbb7b4a454dc3493923482f07822329ed19e8244eff582cc204f8554c3620c3fd600490980297880180546001600160a01b03191691909a161790985597517fbb7b4a454dc3493923482f07822329ed19e8244eff582cc204f8554c3620c3fe860155517fbb7b4a454dc3493923482f07822329ed19e8244eff582cc204f8554c3620c3ff85015595517fbb7b4a454dc3493923482f07822329ed19e8244eff582cc204f8554c3620c40090930192909255845260129052909120805460ff19169091179055565b60065481565b600b546001600160a01b03163314610af1576040805162461bcd60e51b81526020600482015260096024820152682174696d656c6f636b60b81b604482015290519081900360640190fd5b600a55565b81336000600e8381548110610b0757fe5b60009182526020808320868452600f825260408085206001600160a01b0388168652909252922060049091029091019150610b41846116ba565b6003830155610b4e611693565b60028301556001600160a01b03831615610b7c57610b6c8484611ff1565b6002820155600382015460018201555b600154600c60009054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b158015610bcd57600080fd5b505afa158015610be1573d6000803e3d6000fd5b505050506040513d6020811015610bf757600080fd5b50511115610c3e576040805162461bcd60e51b815260206004820152600f60248201526e27baba1037b3103634b6b4ba32b21760891b604482015290519081900360640190fd5b600354610e2157610c524262093a80612195565b600355600a54600254600091610c769161271091610c7091906121ef565b90612248565b90506000610c97612710610c706008546002546121ef90919063ffffffff16565b90506000610cba82610cb48560025461215390919063ffffffff16565b90612153565b9050610cc98162093a80612248565b6004908155600c54604080516340c10f1960e01b8152309381019390935260248301849052516001600160a01b03909116916340c10f1991604480830192600092919082900301818387803b158015610d2157600080fd5b505af1158015610d35573d6000803e3d6000fd5b5050600c54600954604080516340c10f1960e01b81526001600160a01b0392831660048201526024810189905290519190921693506340c10f199250604480830192600092919082900301818387803b158015610d9157600080fd5b505af1158015610da5573d6000803e3d6000fd5b5050600c54600754604080516340c10f1960e01b81526001600160a01b0392831660048201526024810188905290519190921693506340c10f199250604480830192600092919082900301818387803b158015610e0157600080fd5b505af1158015610e15573d6000803e3d6000fd5b5050505050505061105c565b600354421061105c57610e51610e486064610c70600a6002546121ef90919063ffffffff16565b60025490612153565b6002819055600a54600091610e6d9161271091610c70916121ef565b90506000610e8e612710610c706008546002546121ef90919063ffffffff16565b90506000610eab82610cb48560025461215390919063ffffffff16565b9050610eba8162093a80612248565b6004908155600c54604080516340c10f1960e01b8152309381019390935260248301849052516001600160a01b03909116916340c10f1991604480830192600092919082900301818387803b158015610f1257600080fd5b505af1158015610f26573d6000803e3d6000fd5b5050600c54600954604080516340c10f1960e01b81526001600160a01b0392831660048201526024810189905290519190921693506340c10f199250604480830192600092919082900301818387803b158015610f8257600080fd5b505af1158015610f96573d6000803e3d6000fd5b5050600c54600754604080516340c10f1960e01b81526001600160a01b0392831660048201526024810188905290519190921693506340c10f199250604480830192600092919082900301818387803b158015610ff257600080fd5b505af1158015611006573d6000803e3d6000fd5b5050505061102062093a804261219590919063ffffffff16565b60035560025460408051918252517fde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d9181900360200190a15050505b601154431161109e576040805162461bcd60e51b81526020600482015260096024820152681b9bdd081cdd185c9d60ba1b604482015290519081900360640190fd5b6000600e87815481106110ad57fe5b600091825260208083208a8452600f825260408085203386529092529220805460049092029092019250871115611120576040805162461bcd60e51b81526020600482015260126024820152711dda5d1a191c985dce881b9bdd0819dbdbd960721b604482015290519081900360640190fd5b61112a883361228a565b80546111369088612153565b8155815461114e906001600160a01b031633896125ab565b604080518881529051899133917ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b5689181900360200190a35050505050505050565b600d546001600160a01b03166111e3576040805162461bcd60e51b815260206004820152601460248201527336b4b3b930ba329d1037379036b4b3b930ba37b960611b604482015290519081900360640190fd5b6000600e82815481106111f257fe5b600091825260208083206004928302018054604080516370a0823160e01b81523095810195909552519195506001600160a01b0316939284926370a0823192602480840193829003018186803b15801561124b57600080fd5b505afa15801561125f573d6000803e3d6000fd5b505050506040513d602081101561127557600080fd5b5051600d54909150611294906001600160a01b03848116911683612602565b600d546040805163ce5494bb60e01b81526001600160a01b0385811660048301529151600093929092169163ce5494bb9160248082019260209290919082900301818787803b1580156112e657600080fd5b505af11580156112fa573d6000803e3d6000fd5b505050506040513d602081101561131057600080fd5b5051604080516370a0823160e01b815230600482015290519192506001600160a01b038316916370a0823191602480820192602092909190829003018186803b15801561135c57600080fd5b505afa158015611370573d6000803e3d6000fd5b505050506040513d602081101561138657600080fd5b505182146113ca576040805162461bcd60e51b815260206004820152600c60248201526b1b5a59dc985d194e8818985960a21b604482015290519081900360640190fd5b83546001600160a01b0319166001600160a01b039190911617909255505050565b60115481565b6000600e828154811061140057fe5b60009182526020808320858452600f82526040808520338087529352909320805460049093029093018054909450611445926001600160a01b039190911691906125ab565b80546040805191825251849133917fbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae05959181900360200190a360008082556002909101555050565b61149461214f565b6000546001600160a01b039081169116146114e4576040805162461bcd60e51b81526020600482018190526024820152600080516020612ae1833981519152604482015290519081900360640190fd5b6000811180156114f5575061271081105b611546576040805162461bcd60e51b815260206004820152601960248201527f5f726566657272616c50657263656e742069732077726f6e6700000000000000604482015290519081900360640190fd5b600655565b600b546001600160a01b03163314611596576040805162461bcd60e51b81526020600482015260096024820152682174696d656c6f636b60b81b604482015290519081900360640190fd5b600980546001600160a01b0319166001600160a01b0392909216919091179055565b6115c061214f565b6000546001600160a01b03908116911614611610576040805162461bcd60e51b81526020600482018190526024820152600080516020612ae1833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b600c546001600160a01b031681565b60006116758383611ff1565b90505b92915050565b60045481565b600d546001600160a01b031681565b6000600354600014806116a7575060035442105b6116b3576003546116b5565b425b905090565b600080600e83815481106116ca57fe5b600091825260208083206004928302018054604080516370a0823160e01b81523095810195909552519195506001600160a01b0316926370a08231926024808301939192829003018186803b15801561172257600080fd5b505afa158015611736573d6000803e3d6000fd5b505050506040513d602081101561174c57600080fd5b505190508061176157506003015490506117c1565b6117bc6117b182610c70670de0b6b3a76400006117ab601054610c7089600101546117ab6004546117ab8d600201546000146117a1578d600201546117a3565b425b610cb4611693565b906121ef565b600384015490612195565b925050505b919050565b6007546001600160a01b03163314611810576040805162461bcd60e51b815260206004820152600860248201526710b232bb30b2323960c11b604482015290519081900360640190fd5b600780546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031690565b82336000600e838154811061185257fe5b60009182526020808320868452600f825260408085206001600160a01b038816865290925292206004909102909101915061188c846116ba565b6003830155611899611693565b60028301556001600160a01b038316156118c7576118b78484611ff1565b6002820155600382015460018201555b600154600c60009054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561191857600080fd5b505afa15801561192c573d6000803e3d6000fd5b505050506040513d602081101561194257600080fd5b50511115611989576040805162461bcd60e51b815260206004820152600f60248201526e27baba1037b3103634b6b4ba32b21760891b604482015290519081900360640190fd5b600354611b605761199d4262093a80612195565b600355600a546002546000916119bb9161271091610c7091906121ef565b905060006119dc612710610c706008546002546121ef90919063ffffffff16565b905060006119f982610cb48560025461215390919063ffffffff16565b9050611a088162093a80612248565b6004908155600c54604080516340c10f1960e01b8152309381019390935260248301849052516001600160a01b03909116916340c10f1991604480830192600092919082900301818387803b158015611a6057600080fd5b505af1158015611a74573d6000803e3d6000fd5b5050600c54600954604080516340c10f1960e01b81526001600160a01b0392831660048201526024810189905290519190921693506340c10f199250604480830192600092919082900301818387803b158015611ad057600080fd5b505af1158015611ae4573d6000803e3d6000fd5b5050600c54600754604080516340c10f1960e01b81526001600160a01b0392831660048201526024810188905290519190921693506340c10f199250604480830192600092919082900301818387803b158015611b4057600080fd5b505af1158015611b54573d6000803e3d6000fd5b50505050505050611d92565b6003544210611d9257611b87610e486064610c70600a6002546121ef90919063ffffffff16565b6002819055600a54600091611ba39161271091610c70916121ef565b90506000611bc4612710610c706008546002546121ef90919063ffffffff16565b90506000611be182610cb48560025461215390919063ffffffff16565b9050611bf08162093a80612248565b6004908155600c54604080516340c10f1960e01b8152309381019390935260248301849052516001600160a01b03909116916340c10f1991604480830192600092919082900301818387803b158015611c4857600080fd5b505af1158015611c5c573d6000803e3d6000fd5b5050600c54600954604080516340c10f1960e01b81526001600160a01b0392831660048201526024810189905290519190921693506340c10f199250604480830192600092919082900301818387803b158015611cb857600080fd5b505af1158015611ccc573d6000803e3d6000fd5b5050600c54600754604080516340c10f1960e01b81526001600160a01b0392831660048201526024810188905290519190921693506340c10f199250604480830192600092919082900301818387803b158015611d2857600080fd5b505af1158015611d3c573d6000803e3d6000fd5b50505050611d5662093a804261219590919063ffffffff16565b60035560025460408051918252517fde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d9181900360200190a15050505b6011544311611dd4576040805162461bcd60e51b81526020600482015260096024820152681b9bdd081cdd185c9d60ba1b604482015290519081900360640190fd5b6000600e8881548110611de357fe5b600091825260208083208b8452600f825260408085203380875293529093206004909202909201925090611e18908a9061228a565b8154611e2f906001600160a01b031633308b612715565b8054611e3b9089612195565b81556040805189815290518a9133917f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a159181900360200190a36005546001600160a01b031615801590611e9657506001600160a01b03871615155b15611f08576005546040805163bbddaca360e01b81523360048201526001600160a01b038a811660248301529151919092169163bbddaca391604480830192600092919082900301818387803b158015611eef57600080fd5b505af1158015611f03573d6000803e3d6000fd5b505050505b505050505050505050565b600f60209081526000928352604080842090915290825290208054600182015460029092015490919083565b60025481565b60015481565b6009546001600160a01b031681565b600a5481565b60085481565b600b546001600160a01b03163314611fb1576040805162461bcd60e51b81526020600482015260096024820152682174696d656c6f636b60b81b604482015290519081900360640190fd5b600b80546001600160a01b0319166001600160a01b0392909216919091179055565b600b546001600160a01b031681565b6007546001600160a01b031681565b6000828152600f602090815260408083206001600160a01b0385168452909152812060028101546001820154612049919061082590670de0b6b3a764000090610c709061204190610cb48b6116ba565b8654906121ef565b949350505050565b60035481565b61205f61214f565b6000546001600160a01b039081169116146120af576040805162461bcd60e51b81526020600482018190526024820152600080516020612ae1833981519152604482015290519081900360640190fd5b6001600160a01b0381166120f45760405162461bcd60e51b8152600401808060200182810382526026815260200180612a9a6026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b3390565b600061167583836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061276f565b600082820183811015611675576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6000826121fe57506000611678565b8282028284828161220b57fe5b04146116755760405162461bcd60e51b8152600401808060200182810382526021815260200180612ac06021913960400191505060405180910390fd5b600061167583836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250612806565b6000828152600f602090815260408083206001600160a01b03851684529091528120906122b78484611ff1565b905080156125a557600060028301819055600c54604080516370a0823160e01b815230600482015290516001600160a01b03909216916370a0823191602480820192602092909190829003018186803b15801561231357600080fd5b505afa158015612327573d6000803e3d6000fd5b505050506040513d602081101561233d57600080fd5b505190508082111561234d578091505b60055460009081906001600160a01b0316156123df5760055460408051634a9fefc760e01b81526001600160a01b03898116600483015291519190921691634a9fefc7916024808301926020929190829003018186803b1580156123b057600080fd5b505afa1580156123c4573d6000803e3d6000fd5b505050506040513d60208110156123da57600080fd5b505190505b6001600160a01b038116156124cd57612409612710610c70600654876121ef90919063ffffffff16565b600c546040805163a9059cbb60e01b81526001600160a01b03858116600483015260248201859052915193955091169163a9059cbb916044808201926020929091908290030181600087803b15801561246157600080fd5b505af1158015612475573d6000803e3d6000fd5b505050506040513d602081101561248b57600080fd5b50506040805183815290516001600160a01b038316917fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486919081900360200190a25b600c546001600160a01b031663a9059cbb876124e98786612153565b6040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050602060405180830381600087803b15801561252f57600080fd5b505af1158015612543573d6000803e3d6000fd5b505050506040513d602081101561255957600080fd5b50506001600160a01b0386167fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e04866125908685612153565b60408051918252519081900360200190a25050505b50505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b1790526125fd90849061286b565b505050565b801580612688575060408051636eb1769f60e11b81523060048201526001600160a01b03848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b15801561265a57600080fd5b505afa15801561266e573d6000803e3d6000fd5b505050506040513d602081101561268457600080fd5b5051155b6126c35760405162461bcd60e51b8152600401808060200182810382526036815260200180612b566036913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b1790526125fd90849061286b565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b1790526125a590859061286b565b600081848411156127fe5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156127c35781810151838201526020016127ab565b50505050905090810190601f1680156127f05780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600081836128555760405162461bcd60e51b81526020600482018181528351602484015283519092839260449091019190850190808383600083156127c35781810151838201526020016127ab565b50600083858161286157fe5b0495945050505050565b60606128c0826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b031661291c9092919063ffffffff16565b8051909150156125fd578080602001905160208110156128df57600080fd5b50516125fd5760405162461bcd60e51b815260040180806020018281038252602a815260200180612b2c602a913960400191505060405180910390fd5b60606120498484600085606061293185612a93565b612982576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106129c15780518252601f1990920191602091820191016129a2565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114612a23576040519150601f19603f3d011682016040523d82523d6000602084013e612a28565b606091505b50915091508115612a3c5791506120499050565b805115612a4c5780518082602001fd5b60405162461bcd60e51b81526020600482018181528651602484015286518793919283926044019190850190808383600083156127c35781810151838201526020016127ab565b3b15159056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572646f206e6f7420616464207468652073616d65206c7020746f6b656e206d6f7265207468616e206f6e63655361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e6365a2646970667358221220ae078f2a8ed26d1954e435d8635bd33818e958a0586d3f7d7947fab8934c1bfe64736f6c634300060c0033000000000000000000000000a80c32c721d06c91dceffea78f184503c90469400000000000000000000000000000000000000000000000000000000000aab6fa000000000000000000000000f7622487765a21a907ec4dabb318c92c520e1a1e000000000000000000000000f7622487765a21a907ec4dabb318c92c520e1a1e000000000000000000000000f7622487765a21a907ec4dabb318c92c520e1a1e
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106102685760003560e01c8063758f7cfc116101515780639bfffad7116100c3578063bdacb30311610087578063bdacb303146105da578063d33219b414610600578063da09c72c14610608578063e39c08fc14610610578063ebe2b12b1461063c578063f2fde38b1461064457610268565b80639bfffad7146105b2578063a44b47f7146105ba578063a637558d146105c2578063ab4e4827146105ca578063b635b8ae146105d257610268565b8063874c120b11610115578063874c120b146104eb5780638d88a90e146105085780638da5cb5b1461052e5780638dbdbe6d1461053657806393f1a40b146105685780639a68cf631461029557610268565b8063758f7cfc1461049f57806377dc4e94146104a75780637b0a47ee146104d35780637cd07e47146104db57806380faa57d146104e357610268565b806323cf3118116101ea578063454b0608116101ae578063454b06081461041257806348cd4cb11461042f5780635312ea8e146104375780636129f25f14610454578063696ad98414610471578063715018a61461049757610268565b806323cf3118146103785780632b8bbbe81461039e578063343dfb7e146103ca57806335d32026146103d2578063441a3e70146103ef57610268565b806314e6ac091161023157806314e6ac09146102db5780631526fe27146102f857806317caf6f1146103455780631ab06ee51461034d5780631be052891461037057610268565b80622dcfb91461026d578063028594a914610295578063081e3eda146102af5780630cdb43c4146102b757806313bd4b9514610295575b600080fd5b6102936004803603602081101561028357600080fd5b50356001600160a01b031661066a565b005b61029d6106e4565b60408051918252519081900360200190f35b61029d6106ea565b6102bf6106f0565b604080516001600160a01b039092168252519081900360200190f35b610293600480360360208110156102f157600080fd5b50356106ff565b6103156004803603602081101561030e57600080fd5b503561074f565b604080516001600160a01b0390951685526020850193909352838301919091526060830152519081900360800190f35b61029d610790565b6102936004803603604081101561036357600080fd5b5080359060200135610796565b61029d610858565b6102936004803603602081101561038e57600080fd5b50356001600160a01b031661085f565b610293600480360360408110156103b457600080fd5b50803590602001356001600160a01b03166108d9565b61029d610aa0565b610293600480360360208110156103e857600080fd5b5035610aa6565b6102936004803603604081101561040557600080fd5b5080359060200135610af6565b6102936004803603602081101561042857600080fd5b503561118f565b61029d6113eb565b6102936004803603602081101561044d57600080fd5b50356113f1565b6102936004803603602081101561046a57600080fd5b503561148c565b6102936004803603602081101561048757600080fd5b50356001600160a01b031661154b565b6102936115b8565b6102bf61165a565b61029d600480360360408110156104bd57600080fd5b50803590602001356001600160a01b0316611669565b61029d61167e565b6102bf611684565b61029d611693565b61029d6004803603602081101561050157600080fd5b50356116ba565b6102936004803603602081101561051e57600080fd5b50356001600160a01b03166117c6565b6102bf611832565b6102936004803603606081101561054c57600080fd5b50803590602081013590604001356001600160a01b0316611841565b6105946004803603604081101561057e57600080fd5b50803590602001356001600160a01b0316611f13565b60408051938452602084019290925282820152519081900360600190f35b61029d611f3f565b61029d611f45565b6102bf611f4b565b61029d611f5a565b61029d611f60565b610293600480360360208110156105f057600080fd5b50356001600160a01b0316611f66565b6102bf611fd3565b6102bf611fe2565b61029d6004803603604081101561062657600080fd5b50803590602001356001600160a01b0316611ff1565b61029d612051565b6102936004803603602081101561065a57600080fd5b50356001600160a01b0316612057565b61067261214f565b6000546001600160a01b039081169116146106c2576040805162461bcd60e51b81526020600482018190526024820152600080516020612ae1833981519152604482015290519081900360640190fd5b600580546001600160a01b0319166001600160a01b0392909216919091179055565b61271081565b600e5490565b6005546001600160a01b031681565b600b546001600160a01b0316331461074a576040805162461bcd60e51b81526020600482015260096024820152682174696d656c6f636b60b81b604482015290519081900360640190fd5b600855565b600e818154811061075c57fe5b600091825260209091206004909102018054600182015460028301546003909301546001600160a01b039092169350919084565b60105481565b61079e61214f565b6000546001600160a01b039081169116146107ee576040805162461bcd60e51b81526020600482018190526024820152600080516020612ae1833981519152604482015290519081900360640190fd5b61082b81610825600e858154811061080257fe5b90600052602060002090600402016001015460105461215390919063ffffffff16565b90612195565b60108190555080600e838154811061083f57fe5b9060005260206000209060040201600101819055505050565b62093a8081565b61086761214f565b6000546001600160a01b039081169116146108b7576040805162461bcd60e51b81526020600482018190526024820152600080516020612ae1833981519152604482015290519081900360640190fd5b600d80546001600160a01b0319166001600160a01b0392909216919091179055565b6108e161214f565b6000546001600160a01b03908116911614610931576040805162461bcd60e51b81526020600482018190526024820152600080516020612ae1833981519152604482015290519081900360640190fd5b6001600160a01b03811660009081526012602052604090205460ff16156109895760405162461bcd60e51b815260040180806020018281038252602b815260200180612b01602b913960400191505060405180910390fd5b6010546109969083612195565b601055604080516080810182526001600160a01b039283168082526020808301958652600083850181815260608501828152600e80546001808201835591855296517fbb7b4a454dc3493923482f07822329ed19e8244eff582cc204f8554c3620c3fd600490980297880180546001600160a01b03191691909a161790985597517fbb7b4a454dc3493923482f07822329ed19e8244eff582cc204f8554c3620c3fe860155517fbb7b4a454dc3493923482f07822329ed19e8244eff582cc204f8554c3620c3ff85015595517fbb7b4a454dc3493923482f07822329ed19e8244eff582cc204f8554c3620c40090930192909255845260129052909120805460ff19169091179055565b60065481565b600b546001600160a01b03163314610af1576040805162461bcd60e51b81526020600482015260096024820152682174696d656c6f636b60b81b604482015290519081900360640190fd5b600a55565b81336000600e8381548110610b0757fe5b60009182526020808320868452600f825260408085206001600160a01b0388168652909252922060049091029091019150610b41846116ba565b6003830155610b4e611693565b60028301556001600160a01b03831615610b7c57610b6c8484611ff1565b6002820155600382015460018201555b600154600c60009054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b158015610bcd57600080fd5b505afa158015610be1573d6000803e3d6000fd5b505050506040513d6020811015610bf757600080fd5b50511115610c3e576040805162461bcd60e51b815260206004820152600f60248201526e27baba1037b3103634b6b4ba32b21760891b604482015290519081900360640190fd5b600354610e2157610c524262093a80612195565b600355600a54600254600091610c769161271091610c7091906121ef565b90612248565b90506000610c97612710610c706008546002546121ef90919063ffffffff16565b90506000610cba82610cb48560025461215390919063ffffffff16565b90612153565b9050610cc98162093a80612248565b6004908155600c54604080516340c10f1960e01b8152309381019390935260248301849052516001600160a01b03909116916340c10f1991604480830192600092919082900301818387803b158015610d2157600080fd5b505af1158015610d35573d6000803e3d6000fd5b5050600c54600954604080516340c10f1960e01b81526001600160a01b0392831660048201526024810189905290519190921693506340c10f199250604480830192600092919082900301818387803b158015610d9157600080fd5b505af1158015610da5573d6000803e3d6000fd5b5050600c54600754604080516340c10f1960e01b81526001600160a01b0392831660048201526024810188905290519190921693506340c10f199250604480830192600092919082900301818387803b158015610e0157600080fd5b505af1158015610e15573d6000803e3d6000fd5b5050505050505061105c565b600354421061105c57610e51610e486064610c70600a6002546121ef90919063ffffffff16565b60025490612153565b6002819055600a54600091610e6d9161271091610c70916121ef565b90506000610e8e612710610c706008546002546121ef90919063ffffffff16565b90506000610eab82610cb48560025461215390919063ffffffff16565b9050610eba8162093a80612248565b6004908155600c54604080516340c10f1960e01b8152309381019390935260248301849052516001600160a01b03909116916340c10f1991604480830192600092919082900301818387803b158015610f1257600080fd5b505af1158015610f26573d6000803e3d6000fd5b5050600c54600954604080516340c10f1960e01b81526001600160a01b0392831660048201526024810189905290519190921693506340c10f199250604480830192600092919082900301818387803b158015610f8257600080fd5b505af1158015610f96573d6000803e3d6000fd5b5050600c54600754604080516340c10f1960e01b81526001600160a01b0392831660048201526024810188905290519190921693506340c10f199250604480830192600092919082900301818387803b158015610ff257600080fd5b505af1158015611006573d6000803e3d6000fd5b5050505061102062093a804261219590919063ffffffff16565b60035560025460408051918252517fde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d9181900360200190a15050505b601154431161109e576040805162461bcd60e51b81526020600482015260096024820152681b9bdd081cdd185c9d60ba1b604482015290519081900360640190fd5b6000600e87815481106110ad57fe5b600091825260208083208a8452600f825260408085203386529092529220805460049092029092019250871115611120576040805162461bcd60e51b81526020600482015260126024820152711dda5d1a191c985dce881b9bdd0819dbdbd960721b604482015290519081900360640190fd5b61112a883361228a565b80546111369088612153565b8155815461114e906001600160a01b031633896125ab565b604080518881529051899133917ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b5689181900360200190a35050505050505050565b600d546001600160a01b03166111e3576040805162461bcd60e51b815260206004820152601460248201527336b4b3b930ba329d1037379036b4b3b930ba37b960611b604482015290519081900360640190fd5b6000600e82815481106111f257fe5b600091825260208083206004928302018054604080516370a0823160e01b81523095810195909552519195506001600160a01b0316939284926370a0823192602480840193829003018186803b15801561124b57600080fd5b505afa15801561125f573d6000803e3d6000fd5b505050506040513d602081101561127557600080fd5b5051600d54909150611294906001600160a01b03848116911683612602565b600d546040805163ce5494bb60e01b81526001600160a01b0385811660048301529151600093929092169163ce5494bb9160248082019260209290919082900301818787803b1580156112e657600080fd5b505af11580156112fa573d6000803e3d6000fd5b505050506040513d602081101561131057600080fd5b5051604080516370a0823160e01b815230600482015290519192506001600160a01b038316916370a0823191602480820192602092909190829003018186803b15801561135c57600080fd5b505afa158015611370573d6000803e3d6000fd5b505050506040513d602081101561138657600080fd5b505182146113ca576040805162461bcd60e51b815260206004820152600c60248201526b1b5a59dc985d194e8818985960a21b604482015290519081900360640190fd5b83546001600160a01b0319166001600160a01b039190911617909255505050565b60115481565b6000600e828154811061140057fe5b60009182526020808320858452600f82526040808520338087529352909320805460049093029093018054909450611445926001600160a01b039190911691906125ab565b80546040805191825251849133917fbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae05959181900360200190a360008082556002909101555050565b61149461214f565b6000546001600160a01b039081169116146114e4576040805162461bcd60e51b81526020600482018190526024820152600080516020612ae1833981519152604482015290519081900360640190fd5b6000811180156114f5575061271081105b611546576040805162461bcd60e51b815260206004820152601960248201527f5f726566657272616c50657263656e742069732077726f6e6700000000000000604482015290519081900360640190fd5b600655565b600b546001600160a01b03163314611596576040805162461bcd60e51b81526020600482015260096024820152682174696d656c6f636b60b81b604482015290519081900360640190fd5b600980546001600160a01b0319166001600160a01b0392909216919091179055565b6115c061214f565b6000546001600160a01b03908116911614611610576040805162461bcd60e51b81526020600482018190526024820152600080516020612ae1833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b600c546001600160a01b031681565b60006116758383611ff1565b90505b92915050565b60045481565b600d546001600160a01b031681565b6000600354600014806116a7575060035442105b6116b3576003546116b5565b425b905090565b600080600e83815481106116ca57fe5b600091825260208083206004928302018054604080516370a0823160e01b81523095810195909552519195506001600160a01b0316926370a08231926024808301939192829003018186803b15801561172257600080fd5b505afa158015611736573d6000803e3d6000fd5b505050506040513d602081101561174c57600080fd5b505190508061176157506003015490506117c1565b6117bc6117b182610c70670de0b6b3a76400006117ab601054610c7089600101546117ab6004546117ab8d600201546000146117a1578d600201546117a3565b425b610cb4611693565b906121ef565b600384015490612195565b925050505b919050565b6007546001600160a01b03163314611810576040805162461bcd60e51b815260206004820152600860248201526710b232bb30b2323960c11b604482015290519081900360640190fd5b600780546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031690565b82336000600e838154811061185257fe5b60009182526020808320868452600f825260408085206001600160a01b038816865290925292206004909102909101915061188c846116ba565b6003830155611899611693565b60028301556001600160a01b038316156118c7576118b78484611ff1565b6002820155600382015460018201555b600154600c60009054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561191857600080fd5b505afa15801561192c573d6000803e3d6000fd5b505050506040513d602081101561194257600080fd5b50511115611989576040805162461bcd60e51b815260206004820152600f60248201526e27baba1037b3103634b6b4ba32b21760891b604482015290519081900360640190fd5b600354611b605761199d4262093a80612195565b600355600a546002546000916119bb9161271091610c7091906121ef565b905060006119dc612710610c706008546002546121ef90919063ffffffff16565b905060006119f982610cb48560025461215390919063ffffffff16565b9050611a088162093a80612248565b6004908155600c54604080516340c10f1960e01b8152309381019390935260248301849052516001600160a01b03909116916340c10f1991604480830192600092919082900301818387803b158015611a6057600080fd5b505af1158015611a74573d6000803e3d6000fd5b5050600c54600954604080516340c10f1960e01b81526001600160a01b0392831660048201526024810189905290519190921693506340c10f199250604480830192600092919082900301818387803b158015611ad057600080fd5b505af1158015611ae4573d6000803e3d6000fd5b5050600c54600754604080516340c10f1960e01b81526001600160a01b0392831660048201526024810188905290519190921693506340c10f199250604480830192600092919082900301818387803b158015611b4057600080fd5b505af1158015611b54573d6000803e3d6000fd5b50505050505050611d92565b6003544210611d9257611b87610e486064610c70600a6002546121ef90919063ffffffff16565b6002819055600a54600091611ba39161271091610c70916121ef565b90506000611bc4612710610c706008546002546121ef90919063ffffffff16565b90506000611be182610cb48560025461215390919063ffffffff16565b9050611bf08162093a80612248565b6004908155600c54604080516340c10f1960e01b8152309381019390935260248301849052516001600160a01b03909116916340c10f1991604480830192600092919082900301818387803b158015611c4857600080fd5b505af1158015611c5c573d6000803e3d6000fd5b5050600c54600954604080516340c10f1960e01b81526001600160a01b0392831660048201526024810189905290519190921693506340c10f199250604480830192600092919082900301818387803b158015611cb857600080fd5b505af1158015611ccc573d6000803e3d6000fd5b5050600c54600754604080516340c10f1960e01b81526001600160a01b0392831660048201526024810188905290519190921693506340c10f199250604480830192600092919082900301818387803b158015611d2857600080fd5b505af1158015611d3c573d6000803e3d6000fd5b50505050611d5662093a804261219590919063ffffffff16565b60035560025460408051918252517fde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d9181900360200190a15050505b6011544311611dd4576040805162461bcd60e51b81526020600482015260096024820152681b9bdd081cdd185c9d60ba1b604482015290519081900360640190fd5b6000600e8881548110611de357fe5b600091825260208083208b8452600f825260408085203380875293529093206004909202909201925090611e18908a9061228a565b8154611e2f906001600160a01b031633308b612715565b8054611e3b9089612195565b81556040805189815290518a9133917f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a159181900360200190a36005546001600160a01b031615801590611e9657506001600160a01b03871615155b15611f08576005546040805163bbddaca360e01b81523360048201526001600160a01b038a811660248301529151919092169163bbddaca391604480830192600092919082900301818387803b158015611eef57600080fd5b505af1158015611f03573d6000803e3d6000fd5b505050505b505050505050505050565b600f60209081526000928352604080842090915290825290208054600182015460029092015490919083565b60025481565b60015481565b6009546001600160a01b031681565b600a5481565b60085481565b600b546001600160a01b03163314611fb1576040805162461bcd60e51b81526020600482015260096024820152682174696d656c6f636b60b81b604482015290519081900360640190fd5b600b80546001600160a01b0319166001600160a01b0392909216919091179055565b600b546001600160a01b031681565b6007546001600160a01b031681565b6000828152600f602090815260408083206001600160a01b0385168452909152812060028101546001820154612049919061082590670de0b6b3a764000090610c709061204190610cb48b6116ba565b8654906121ef565b949350505050565b60035481565b61205f61214f565b6000546001600160a01b039081169116146120af576040805162461bcd60e51b81526020600482018190526024820152600080516020612ae1833981519152604482015290519081900360640190fd5b6001600160a01b0381166120f45760405162461bcd60e51b8152600401808060200182810382526026815260200180612a9a6026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b3390565b600061167583836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061276f565b600082820183811015611675576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6000826121fe57506000611678565b8282028284828161220b57fe5b04146116755760405162461bcd60e51b8152600401808060200182810382526021815260200180612ac06021913960400191505060405180910390fd5b600061167583836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250612806565b6000828152600f602090815260408083206001600160a01b03851684529091528120906122b78484611ff1565b905080156125a557600060028301819055600c54604080516370a0823160e01b815230600482015290516001600160a01b03909216916370a0823191602480820192602092909190829003018186803b15801561231357600080fd5b505afa158015612327573d6000803e3d6000fd5b505050506040513d602081101561233d57600080fd5b505190508082111561234d578091505b60055460009081906001600160a01b0316156123df5760055460408051634a9fefc760e01b81526001600160a01b03898116600483015291519190921691634a9fefc7916024808301926020929190829003018186803b1580156123b057600080fd5b505afa1580156123c4573d6000803e3d6000fd5b505050506040513d60208110156123da57600080fd5b505190505b6001600160a01b038116156124cd57612409612710610c70600654876121ef90919063ffffffff16565b600c546040805163a9059cbb60e01b81526001600160a01b03858116600483015260248201859052915193955091169163a9059cbb916044808201926020929091908290030181600087803b15801561246157600080fd5b505af1158015612475573d6000803e3d6000fd5b505050506040513d602081101561248b57600080fd5b50506040805183815290516001600160a01b038316917fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486919081900360200190a25b600c546001600160a01b031663a9059cbb876124e98786612153565b6040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050602060405180830381600087803b15801561252f57600080fd5b505af1158015612543573d6000803e3d6000fd5b505050506040513d602081101561255957600080fd5b50506001600160a01b0386167fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e04866125908685612153565b60408051918252519081900360200190a25050505b50505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b1790526125fd90849061286b565b505050565b801580612688575060408051636eb1769f60e11b81523060048201526001600160a01b03848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b15801561265a57600080fd5b505afa15801561266e573d6000803e3d6000fd5b505050506040513d602081101561268457600080fd5b5051155b6126c35760405162461bcd60e51b8152600401808060200182810382526036815260200180612b566036913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b1790526125fd90849061286b565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b1790526125a590859061286b565b600081848411156127fe5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156127c35781810151838201526020016127ab565b50505050905090810190601f1680156127f05780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600081836128555760405162461bcd60e51b81526020600482018181528351602484015283519092839260449091019190850190808383600083156127c35781810151838201526020016127ab565b50600083858161286157fe5b0495945050505050565b60606128c0826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b031661291c9092919063ffffffff16565b8051909150156125fd578080602001905160208110156128df57600080fd5b50516125fd5760405162461bcd60e51b815260040180806020018281038252602a815260200180612b2c602a913960400191505060405180910390fd5b60606120498484600085606061293185612a93565b612982576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106129c15780518252601f1990920191602091820191016129a2565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114612a23576040519150601f19603f3d011682016040523d82523d6000602084013e612a28565b606091505b50915091508115612a3c5791506120499050565b805115612a4c5780518082602001fd5b60405162461bcd60e51b81526020600482018181528651602484015286518793919283926044019190850190808383600083156127c35781810151838201526020016127ab565b3b15159056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572646f206e6f7420616464207468652073616d65206c7020746f6b656e206d6f7265207468616e206f6e63655361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e6365a2646970667358221220ae078f2a8ed26d1954e435d8635bd33818e958a0586d3f7d7947fab8934c1bfe64736f6c634300060c0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000a80c32c721d06c91dceffea78f184503c90469400000000000000000000000000000000000000000000000000000000000aab6fa000000000000000000000000f7622487765a21a907ec4dabb318c92c520e1a1e000000000000000000000000f7622487765a21a907ec4dabb318c92c520e1a1e000000000000000000000000f7622487765a21a907ec4dabb318c92c520e1a1e
-----Decoded View---------------
Arg [0] : _btf (address): 0xa80C32c721d06c91DcEFfEa78f184503c9046940
Arg [1] : _startBlock (uint256): 11187962
Arg [2] : _devAddr (address): 0xf7622487765A21a907Ec4DAbb318c92c520e1a1E
Arg [3] : _comAddr (address): 0xf7622487765A21a907Ec4DAbb318c92c520e1a1E
Arg [4] : _timelock (address): 0xf7622487765A21a907Ec4DAbb318c92c520e1a1E
-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 000000000000000000000000a80c32c721d06c91dceffea78f184503c9046940
Arg [1] : 0000000000000000000000000000000000000000000000000000000000aab6fa
Arg [2] : 000000000000000000000000f7622487765a21a907ec4dabb318c92c520e1a1e
Arg [3] : 000000000000000000000000f7622487765a21a907ec4dabb318c92c520e1a1e
Arg [4] : 000000000000000000000000f7622487765a21a907ec4dabb318c92c520e1a1e
Deployed Bytecode Sourcemap
42306:11288:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44777:122;;;;;;;;;;;;;;;;-1:-1:-1;44777:122:0;-1:-1:-1;;;;;44777:122:0;;:::i;:::-;;42672:43;;;:::i;:::-;;;;;;;;;;;;;;;;49529:95;;;:::i;42636:29::-;;;:::i;:::-;;;;-1:-1:-1;;;;;42636:29:0;;;;;;;;;;;;;;45144:151;;;;;;;;;;;;;;;;-1:-1:-1;45144:151:0;;:::i;43710:26::-;;;;;;;;;;;;;;;;-1:-1:-1;43710:26:0;;:::i;:::-;;;;-1:-1:-1;;;;;43710:26:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43951:34;;;:::i;49719:215::-;;;;;;;;;;;;;;;;-1:-1:-1;49719:215:0;;;;;;;:::i;42344:41::-;;;:::i;52873:102::-;;;;;;;;;;;;;;;;-1:-1:-1;52873:102:0;-1:-1:-1;;;;;52873:102:0;;:::i;49045:476::-;;;;;;;;;;;;;;;;-1:-1:-1;49045:476:0;;;;;;-1:-1:-1;;;;;49045:476:0;;:::i;42733:36::-;;;:::i;45495:151::-;;;;;;;;;;;;;;;;-1:-1:-1;45495:151:0;;:::i;51876:497::-;;;;;;;;;;;;;;;;-1:-1:-1;51876:497:0;;;;;;;:::i;53098:491::-;;;;;;;;;;;;;;;;-1:-1:-1;53098:491:0;;:::i;44041:25::-;;;:::i;52444:353::-;;;;;;;;;;;;;;;;-1:-1:-1;52444:353:0;;:::i;44907:229::-;;;;;;;;;;;;;;;;-1:-1:-1;44907:229:0;;:::i;45700:132::-;;;;;;;;;;;;;;;;-1:-1:-1;45700:132:0;-1:-1:-1;;;;;45700:132:0;;:::i;31718:148::-;;;:::i;43523:19::-;;;:::i;49997:126::-;;;;;;;;;;;;;;;;-1:-1:-1;49997:126:0;;;;;;-1:-1:-1;;;;;49997:126:0;;:::i;42598:29::-;;;:::i;43647:::-;;;:::i;47880:178::-;;;:::i;48066:615::-;;;;;;;;;;;;;;;;-1:-1:-1;48066:615:0;;:::i;45357:130::-;;;;;;;;;;;;;;;;-1:-1:-1;45357:130:0;-1:-1:-1;;;;;45357:130:0;;:::i;31076:79::-;;;:::i;51195:629::-;;;;;;;;;;;;;;;;-1:-1:-1;51195:629:0;;;;;;;;;;;-1:-1:-1;;;;;51195:629:0;;:::i;43792:64::-;;;;;;;;;;;;;;;;-1:-1:-1;43792:64:0;;;;;;-1:-1:-1;;;;;43792:64:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;42444:41;;;:::i;42394:43::-;;;:::i;43018:22::-;;;:::i;43047:31::-;;;:::i;42928:32::-;;;:::i;45840:143::-;;;;;;;;;;;;;;;;-1:-1:-1;45840:143:0;-1:-1:-1;;;;;45840:143:0;;:::i;43136:23::-;;;:::i;42899:22::-;;;:::i;48689:281::-;;;;;;;;;;;;;;;;-1:-1:-1;48689:281:0;;;;;;-1:-1:-1;;;;;48689:281:0;;:::i;42492:31::-;;;:::i;32021:244::-;;;;;;;;;;;;;;;;-1:-1:-1;32021:244:0;-1:-1:-1;;;;;32021:244:0;;:::i;44777:122::-;31298:12;:10;:12::i;:::-;31288:6;;-1:-1:-1;;;;;31288:6:0;;;:22;;;31280:67;;;;;-1:-1:-1;;;31280:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;31280:67:0;;;;;;;;;;;;;;;44859:14:::1;:32:::0;;-1:-1:-1;;;;;;44859:32:0::1;-1:-1:-1::0;;;;;44859:32:0;;;::::1;::::0;;;::::1;::::0;;44777:122::o;42672:43::-;42710:5;42672:43;:::o;49529:95::-;49601:8;:15;49529:95;:::o;42636:29::-;;;-1:-1:-1;;;;;42636:29:0;;:::o;45144:151::-;45230:8;;-1:-1:-1;;;;;45230:8:0;45216:10;:22;45208:44;;;;;-1:-1:-1;;;45208:44:0;;;;;;;;;;;;-1:-1:-1;;;45208:44:0;;;;;;;;;;;;;;;45263:10;:24;45144:151::o;43710:26::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;43710:26:0;;;;-1:-1:-1;43710:26:0;;;:::o;43951:34::-;;;;:::o;49719:215::-;31298:12;:10;:12::i;:::-;31288:6;;-1:-1:-1;;;;;31288:6:0;;;:22;;;31280:67;;;;;-1:-1:-1;;;31280:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;31280:67:0;;;;;;;;;;;;;;;49813:63:::1;49864:11;49813:46;49833:8;49842:4;49833:14;;;;;;;;;;;;;;;;;;:25;;;49813:15;;:19;;:46;;;;:::i;:::-;:50:::0;::::1;:63::i;:::-;49795:15;:81;;;;49915:11;49887:8;49896:4;49887:14;;;;;;;;;;;;;;;;;;:25;;:39;;;;49719:215:::0;;:::o;42344:41::-;42379:6;42344:41;:::o;52873:102::-;31298:12;:10;:12::i;:::-;31288:6;;-1:-1:-1;;;;;31288:6:0;;;:22;;;31280:67;;;;;-1:-1:-1;;;31280:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;31280:67:0;;;;;;;;;;;;;;;52947:8:::1;:20:::0;;-1:-1:-1;;;;;;52947:20:0::1;-1:-1:-1::0;;;;;52947:20:0;;;::::1;::::0;;;::::1;::::0;;52873:102::o;49045:476::-;31298:12;:10;:12::i;:::-;31288:6;;-1:-1:-1;;;;;31288:6:0;;;:22;;;31280:67;;;;;-1:-1:-1;;;31280:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;31280:67:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;49133:27:0;::::1;;::::0;;;:8:::1;:27;::::0;;;;;::::1;;49132:28;49124:84;;;;-1:-1:-1::0;;;49124:84:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49239:15;::::0;:32:::1;::::0;49259:11;49239:19:::1;:32::i;:::-;49221:15;:50:::0;49296:169:::1;::::0;;::::1;::::0;::::1;::::0;;-1:-1:-1;;;;;49296:169:0;;::::1;::::0;;;::::1;::::0;;::::1;::::0;;;-1:-1:-1;49296:169:0;;;;;;;;;;;;49282:8:::1;:184:::0;;::::1;::::0;;::::1;::::0;;;;;;;;::::1;::::0;;::::1;::::0;;::::1;::::0;;-1:-1:-1;;;;;;49282:184:0::1;::::0;;;::::1;;::::0;;;;;;;;;;;;;;;;;;;;;;;;49479:27;;:8:::1;:27:::0;;;;;:34;;-1:-1:-1;;49479:34:0::1;::::0;;::::1;::::0;;49045:476::o;42733:36::-;;;;:::o;45495:151::-;45581:8;;-1:-1:-1;;;;;45581:8:0;45567:10;:22;45559:44;;;;;-1:-1:-1;;;45559:44:0;;;;;;;;;;;;-1:-1:-1;;;45559:44:0;;;;;;;;;;;;;;;45614:10;:24;45495:151::o;51876:497::-;51945:4;51951:10;47476:21;47500:8;47509:4;47500:14;;;;;;;;;;;;;;;;47549;;;:8;:14;;;;;;-1:-1:-1;;;;;47549:21:0;;;;;;;;;47500:14;;;;;;;;-1:-1:-1;47611:20:0;47558:4;47611:14;:20::i;:::-;47583:25;;;:48;47664:26;:24;:26::i;:::-;47642:19;;;:48;-1:-1:-1;;;;;47705:19:0;;;47701:152;;47756:19;47763:4;47769:5;47756:6;:19::i;:::-;47741:12;;;:34;47816:25;;;;47790:23;;;:51;47701:152;46054:11:::1;;46033:3;;;;;;;;;-1:-1:-1::0;;;;;46033:3:0::1;-1:-1:-1::0;;;;;46033:15:0::1;;:17;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;46033:17:0;:32:::1;;46025:60;;;::::0;;-1:-1:-1;;;46025:60:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;46025:60:0;;;;;;;;;;;;;::::1;;46102:12;::::0;46098:1182:::1;;46151:29;:15;42379:6;46151:19;:29::i;:::-;46136:12;:44:::0;46231:10:::1;::::0;46216::::1;::::0;46195:18:::1;::::0;46216:42:::1;::::0;43122:5:::1;::::0;46216:26:::1;::::0;:10;:14:::1;:26::i;:::-;:30:::0;::::1;:42::i;:::-;46195:63;;46273:18;46294:42;43004:5;46294:26;46309:10;;46294;;:14;;:26;;;;:::i;:42::-;46273:63;;46351:19;46373:42;46404:10;46373:26;46388:10;46373;;:14;;:26;;;;:::i;:::-;:30:::0;::::1;:42::i;:::-;46351:64:::0;-1:-1:-1;46445:25:0::1;46351:64:::0;42379:6:::1;46445:15;:25::i;:::-;46432:10;:38:::0;;;46485:3:::1;::::0;:36:::1;::::0;;-1:-1:-1;;;46485:36:0;;46502:4:::1;46485:36:::0;;::::1;::::0;;;;;;;;;;;-1:-1:-1;;;;;46485:3:0;;::::1;::::0;:8:::1;::::0;:36;;;;;:3:::1;::::0;:36;;;;;;;:3;;:36;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;46536:3:0::1;::::0;46545:7:::1;::::0;46536:29:::1;::::0;;-1:-1:-1;;;46536:29:0;;-1:-1:-1;;;;;46545:7:0;;::::1;46536:29;::::0;::::1;::::0;;;;;;;;;:3;;;::::1;::::0;-1:-1:-1;46536:8:0::1;::::0;-1:-1:-1;46536:29:0;;;;;:3:::1;::::0;:29;;;;;;;:3;;:29;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;46580:3:0::1;::::0;46589:7:::1;::::0;46580:29:::1;::::0;;-1:-1:-1;;;46580:29:0;;-1:-1:-1;;;;;46589:7:0;;::::1;46580:29;::::0;::::1;::::0;;;;;;;;;:3;;;::::1;::::0;-1:-1:-1;46580:8:0::1;::::0;-1:-1:-1;46580:29:0;;;;;:3:::1;::::0;:29;;;;;;;:3;;:29;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;46098:1182;;;;;;46650:12;;46631:15;:31;46627:653;;46692:43;46707:27;46730:3;46707:18;46722:2;46707:10;;:14;;:18;;;;:::i;:27::-;46692:10;::::0;;:14:::1;:43::i;:::-;46679:10;:56:::0;;;46786:10:::1;::::0;46750:18:::1;::::0;46771:42:::1;::::0;43122:5:::1;::::0;46771:26:::1;::::0;:14:::1;:26::i;:42::-;46750:63;;46828:18;46849:42;43004:5;46849:26;46864:10;;46849;;:14;;:26;;;;:::i;:42::-;46828:63;;46906:19;46928:42;46959:10;46928:26;46943:10;46928;;:14;;:26;;;;:::i;:42::-;46906:64:::0;-1:-1:-1;47000:25:0::1;46906:64:::0;42379:6:::1;47000:15;:25::i;:::-;46987:10;:38:::0;;;47040:3:::1;::::0;:36:::1;::::0;;-1:-1:-1;;;47040:36:0;;47057:4:::1;47040:36:::0;;::::1;::::0;;;;;;;;;;;-1:-1:-1;;;;;47040:3:0;;::::1;::::0;:8:::1;::::0;:36;;;;;:3:::1;::::0;:36;;;;;;;:3;;:36;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;47091:3:0::1;::::0;47100:7:::1;::::0;47091:29:::1;::::0;;-1:-1:-1;;;47091:29:0;;-1:-1:-1;;;;;47100:7:0;;::::1;47091:29;::::0;::::1;::::0;;;;;;;;;:3;;;::::1;::::0;-1:-1:-1;47091:8:0::1;::::0;-1:-1:-1;47091:29:0;;;;;:3:::1;::::0;:29;;;;;;;:3;;:29;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;47135:3:0::1;::::0;47144:7:::1;::::0;47135:29:::1;::::0;;-1:-1:-1;;;47135:29:0;;-1:-1:-1;;;;;47144:7:0;;::::1;47135:29;::::0;::::1;::::0;;;;;;;;;:3;;;::::1;::::0;-1:-1:-1;47135:8:0::1;::::0;-1:-1:-1;47135:29:0;;;;;:3:::1;::::0;:29;;;;;;;:3;;:29;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;47196;42379:6;47196:15;:19;;:29;;;;:::i;:::-;47181:12;:44:::0;47257:10:::1;::::0;47245:23:::1;::::0;;;;;;::::1;::::0;;;;::::1;::::0;;::::1;46627:653;;;;47362:10:::2;;47347:12;:25;47339:47;;;::::0;;-1:-1:-1;;;47339:47:0;;::::2;;::::0;::::2;::::0;::::2;::::0;;;;-1:-1:-1;;;47339:47:0;;;;;;;;;;;;;::::2;;51997:21:::3;52021:8;52030:4;52021:14;;;;;;;;;::::0;;;::::3;::::0;;;52070;;;:8:::3;:14:::0;;;;;;52085:10:::3;52070:26:::0;;;;;;;52115:11;;52021:14:::3;::::0;;::::3;::::0;;::::3;::::0;-1:-1:-1;52115:22:0;-1:-1:-1;52115:22:0::3;52107:53;;;::::0;;-1:-1:-1;;;52107:53:0;;::::3;;::::0;::::3;::::0;::::3;::::0;;;;-1:-1:-1;;;52107:53:0;;;;;;;;;;;;;::::3;;52171:28;52182:4;52188:10;52171;:28::i;:::-;52224:11:::0;;:24:::3;::::0;52240:7;52224:15:::3;:24::i;:::-;52210:38:::0;;52259:12;;:55:::3;::::0;-1:-1:-1;;;;;52259:12:0::3;52293:10;52306:7:::0;52259:25:::3;:55::i;:::-;52330:35;::::0;;;;;;;52351:4;;52339:10:::3;::::0;52330:35:::3;::::0;;;;::::3;::::0;;::::3;47397:1;;51876:497:::0;;;;;;:::o;53098:491::-;53163:8;;-1:-1:-1;;;;;53163:8:0;53147:64;;;;;-1:-1:-1;;;53147:64:0;;;;;;;;;;;;-1:-1:-1;;;53147:64:0;;;;;;;;;;;;;;;53222:21;53246:8;53255:4;53246:14;;;;;;;;;;;;;;;;;;;;;53288:12;;53325:32;;;-1:-1:-1;;;53325:32:0;;53351:4;53325:32;;;;;;;;53246:14;;-1:-1:-1;;;;;;53288:12:0;;53246:14;53288:12;;53325:17;;:32;;;;;;;;;;53288:12;53325:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;53325:32:0;53396:8;;53325:32;;-1:-1:-1;53368:43:0;;-1:-1:-1;;;;;53368:19:0;;;;53396:8;53325:32;53368:19;:43::i;:::-;53442:8;;:25;;;-1:-1:-1;;;53442:25:0;;-1:-1:-1;;;;;53442:25:0;;;;;;;;;53422:17;;53442:8;;;;;:16;;:25;;;;;;;;;;;;;;;53422:17;53442:8;:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;53442:25:0;53493:35;;;-1:-1:-1;;;53493:35:0;;53522:4;53493:35;;;;;;53442:25;;-1:-1:-1;;;;;;53493:20:0;;;;;:35;;;;;53442:25;;53493:35;;;;;;;;:20;:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;53493:35:0;53486:42;;53478:67;;;;;-1:-1:-1;;;53478:67:0;;;;;;;;;;;;-1:-1:-1;;;53478:67:0;;;;;;;;;;;;;;;53556:25;;-1:-1:-1;;;;;;53556:25:0;-1:-1:-1;;;;;53556:25:0;;;;;;;;-1:-1:-1;;;53098:491:0:o;44041:25::-;;;;:::o;52444:353::-;52503:21;52527:8;52536:4;52527:14;;;;;;;;;;;;;;;;52576;;;:8;:14;;;;;;52591:10;52576:26;;;;;;;;52660:11;;52527:14;;;;;;;52613:12;;52527:14;;-1:-1:-1;52613:59:0;;-1:-1:-1;;;;;52613:12:0;;;;;52591:10;52613:25;:59::i;:::-;52724:11;;52688:48;;;;;;;52718:4;;52706:10;;52688:48;;;;;;;;;52761:1;52747:15;;;52773:12;;;;:16;-1:-1:-1;;52444:353:0:o;44907:229::-;31298:12;:10;:12::i;:::-;31288:6;;-1:-1:-1;;;;;31288:6:0;;;:22;;;31280:67;;;;;-1:-1:-1;;;31280:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;31280:67:0;;;;;;;;;;;;;;;45018:1:::1;44999:16;:20;:54;;;;;42710:5;45023:16;:30;44999:54;44991:92;;;::::0;;-1:-1:-1;;;44991:92:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;45094:15;:34:::0;44907:229::o;45700:132::-;45773:8;;-1:-1:-1;;;;;45773:8:0;45759:10;:22;45751:44;;;;;-1:-1:-1;;;45751:44:0;;;;;;;;;;;;-1:-1:-1;;;45751:44:0;;;;;;;;;;;;;;;45806:7;:18;;-1:-1:-1;;;;;;45806:18:0;-1:-1:-1;;;;;45806:18:0;;;;;;;;;;45700:132::o;31718:148::-;31298:12;:10;:12::i;:::-;31288:6;;-1:-1:-1;;;;;31288:6:0;;;:22;;;31280:67;;;;;-1:-1:-1;;;31280:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;31280:67:0;;;;;;;;;;;;;;;31825:1:::1;31809:6:::0;;31788:40:::1;::::0;-1:-1:-1;;;;;31809:6:0;;::::1;::::0;31788:40:::1;::::0;31825:1;;31788:40:::1;31856:1;31839:19:::0;;-1:-1:-1;;;;;;31839:19:0::1;::::0;;31718:148::o;43523:19::-;;;-1:-1:-1;;;;;43523:19:0;;:::o;49997:126::-;50069:7;50096:19;50103:4;50109:5;50096:6;:19::i;:::-;50089:26;;49997:126;;;;;:::o;42598:29::-;;;;:::o;43647:::-;;;-1:-1:-1;;;;;43647:29:0;;:::o;47880:178::-;47937:7;47965:12;;47981:1;47965:17;:51;;;;48004:12;;47986:15;:30;47965:51;47964:86;;48038:12;;47964:86;;;48020:15;47964:86;47957:93;;47880:178;:::o;48066:615::-;48125:7;48145:21;48169:8;48178:4;48169:14;;;;;;;;;;;;;;;;;;;;;48213:12;;:37;;;-1:-1:-1;;;48213:37:0;;48244:4;48213:37;;;;;;;;48169:14;;-1:-1:-1;;;;;;48213:12:0;;:22;;:37;;;;;48169:14;;48213:37;;;;;:12;:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;48213:37:0;;-1:-1:-1;48265:13:0;48261:78;;-1:-1:-1;48302:25:0;;;;-1:-1:-1;48295:32:0;;48261:78;48356:317;48400:262;48653:8;48400:234;48629:4;48400:210;48594:15;;48400:175;48559:4;:15;;;48400:140;48529:10;;48400:110;48445:4;:19;;;48468:1;48445:24;:64;;48490:4;:19;;;48445:64;;;48472:15;48445:64;48400:26;:24;:26::i;:110::-;:128;;:140::i;:262::-;48356:25;;;;;:29;:317::i;:::-;48349:324;;;;48066:615;;;;:::o;45357:130::-;45430:7;;-1:-1:-1;;;;;45430:7:0;45416:10;:21;45408:42;;;;;-1:-1:-1;;;45408:42:0;;;;;;;;;;;;-1:-1:-1;;;45408:42:0;;;;;;;;;;;;;;;45461:7;:18;;-1:-1:-1;;;;;;45461:18:0;-1:-1:-1;;;;;45461:18:0;;;;;;;;;;45357:130::o;31076:79::-;31114:7;31141:6;-1:-1:-1;;;;;31141:6:0;31076:79;:::o;51195:629::-;51281:4;51287:10;47476:21;47500:8;47509:4;47500:14;;;;;;;;;;;;;;;;47549;;;:8;:14;;;;;;-1:-1:-1;;;;;47549:21:0;;;;;;;;;47500:14;;;;;;;;-1:-1:-1;47611:20:0;47558:4;47611:14;:20::i;:::-;47583:25;;;:48;47664:26;:24;:26::i;:::-;47642:19;;;:48;-1:-1:-1;;;;;47705:19:0;;;47701:152;;47756:19;47763:4;47769:5;47756:6;:19::i;:::-;47741:12;;;:34;47816:25;;;;47790:23;;;:51;47701:152;46054:11:::1;;46033:3;;;;;;;;;-1:-1:-1::0;;;;;46033:3:0::1;-1:-1:-1::0;;;;;46033:15:0::1;;:17;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;46033:17:0;:32:::1;;46025:60;;;::::0;;-1:-1:-1;;;46025:60:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;46025:60:0;;;;;;;;;;;;;::::1;;46102:12;::::0;46098:1182:::1;;46151:29;:15;42379:6;46151:19;:29::i;:::-;46136:12;:44:::0;46231:10:::1;::::0;46216::::1;::::0;46195:18:::1;::::0;46216:42:::1;::::0;43122:5:::1;::::0;46216:26:::1;::::0;:10;:14:::1;:26::i;:42::-;46195:63;;46273:18;46294:42;43004:5;46294:26;46309:10;;46294;;:14;;:26;;;;:::i;:42::-;46273:63;;46351:19;46373:42;46404:10;46373:26;46388:10;46373;;:14;;:26;;;;:::i;:42::-;46351:64:::0;-1:-1:-1;46445:25:0::1;46351:64:::0;42379:6:::1;46445:15;:25::i;:::-;46432:10;:38:::0;;;46485:3:::1;::::0;:36:::1;::::0;;-1:-1:-1;;;46485:36:0;;46502:4:::1;46485:36:::0;;::::1;::::0;;;;;;;;;;;-1:-1:-1;;;;;46485:3:0;;::::1;::::0;:8:::1;::::0;:36;;;;;:3:::1;::::0;:36;;;;;;;:3;;:36;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;46536:3:0::1;::::0;46545:7:::1;::::0;46536:29:::1;::::0;;-1:-1:-1;;;46536:29:0;;-1:-1:-1;;;;;46545:7:0;;::::1;46536:29;::::0;::::1;::::0;;;;;;;;;:3;;;::::1;::::0;-1:-1:-1;46536:8:0::1;::::0;-1:-1:-1;46536:29:0;;;;;:3:::1;::::0;:29;;;;;;;:3;;:29;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;46580:3:0::1;::::0;46589:7:::1;::::0;46580:29:::1;::::0;;-1:-1:-1;;;46580:29:0;;-1:-1:-1;;;;;46589:7:0;;::::1;46580:29;::::0;::::1;::::0;;;;;;;;;:3;;;::::1;::::0;-1:-1:-1;46580:8:0::1;::::0;-1:-1:-1;46580:29:0;;;;;:3:::1;::::0;:29;;;;;;;:3;;:29;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;46098:1182;;;;;;46650:12;;46631:15;:31;46627:653;;46692:43;46707:27;46730:3;46707:18;46722:2;46707:10;;:14;;:18;;;;:::i;46692:43::-;46679:10;:56:::0;;;46786:10:::1;::::0;46750:18:::1;::::0;46771:42:::1;::::0;43122:5:::1;::::0;46771:26:::1;::::0;:14:::1;:26::i;:42::-;46750:63;;46828:18;46849:42;43004:5;46849:26;46864:10;;46849;;:14;;:26;;;;:::i;:42::-;46828:63;;46906:19;46928:42;46959:10;46928:26;46943:10;46928;;:14;;:26;;;;:::i;:42::-;46906:64:::0;-1:-1:-1;47000:25:0::1;46906:64:::0;42379:6:::1;47000:15;:25::i;:::-;46987:10;:38:::0;;;47040:3:::1;::::0;:36:::1;::::0;;-1:-1:-1;;;47040:36:0;;47057:4:::1;47040:36:::0;;::::1;::::0;;;;;;;;;;;-1:-1:-1;;;;;47040:3:0;;::::1;::::0;:8:::1;::::0;:36;;;;;:3:::1;::::0;:36;;;;;;;:3;;:36;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;47091:3:0::1;::::0;47100:7:::1;::::0;47091:29:::1;::::0;;-1:-1:-1;;;47091:29:0;;-1:-1:-1;;;;;47100:7:0;;::::1;47091:29;::::0;::::1;::::0;;;;;;;;;:3;;;::::1;::::0;-1:-1:-1;47091:8:0::1;::::0;-1:-1:-1;47091:29:0;;;;;:3:::1;::::0;:29;;;;;;;:3;;:29;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;47135:3:0::1;::::0;47144:7:::1;::::0;47135:29:::1;::::0;;-1:-1:-1;;;47135:29:0;;-1:-1:-1;;;;;47144:7:0;;::::1;47135:29;::::0;::::1;::::0;;;;;;;;;:3;;;::::1;::::0;-1:-1:-1;47135:8:0::1;::::0;-1:-1:-1;47135:29:0;;;;;:3:::1;::::0;:29;;;;;;;:3;;:29;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;47196;42379:6;47196:15;:19;;:29;;;;:::i;:::-;47181:12;:44:::0;47257:10:::1;::::0;47245:23:::1;::::0;;;;;;::::1;::::0;;;;::::1;::::0;;::::1;46627:653;;;;47362:10:::2;;47347:12;:25;47339:47;;;::::0;;-1:-1:-1;;;47339:47:0;;::::2;;::::0;::::2;::::0;::::2;::::0;;;;-1:-1:-1;;;47339:47:0;;;;;;;;;;;;;::::2;;51333:21:::3;51357:8;51366:4;51357:14;;;;;;;;;::::0;;;::::3;::::0;;;51406;;;:8:::3;:14:::0;;;;;;51421:10:::3;51406:26:::0;;;;;;;;51357:14:::3;::::0;;::::3;::::0;;::::3;::::0;-1:-1:-1;51406:26:0;51443:28:::3;::::0;51415:4;;51443:10:::3;:28::i;:::-;51482:12:::0;;:74:::3;::::0;-1:-1:-1;;;;;51482:12:0::3;51520:10;51541:4;51548:7:::0;51482:29:::3;:74::i;:::-;51581:11:::0;;:24:::3;::::0;51597:7;51581:15:::3;:24::i;:::-;51567:38:::0;;51621:34:::3;::::0;;;;;;;51641:4;;51629:10:::3;::::0;51621:34:::3;::::0;;;;::::3;::::0;;::::3;51672:14;::::0;-1:-1:-1;;;;;51672:14:0::3;:28:::0;;::::3;::::0;:54:::3;;-1:-1:-1::0;;;;;;51704:22:0;::::3;::::0;::::3;51672:54;51668:149;;;51756:14;::::0;51743:62:::3;::::0;;-1:-1:-1;;;51743:62:0;;51784:10:::3;51743:62;::::0;::::3;::::0;-1:-1:-1;;;;;51743:62:0;;::::3;::::0;;;;;;51756:14;;;::::3;::::0;51743:40:::3;::::0;:62;;;;;51756:14:::3;::::0;51743:62;;;;;;;51756:14;;51743:62;::::3;;::::0;::::3;;;;::::0;::::3;;;;;;;;;;;;::::0;::::3;;;;;;;;;51668:149;47397:1;;51195:629:::0;;;;;;;:::o;43792:64::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;42444:41::-;;;;:::o;42394:43::-;;;;:::o;43018:22::-;;;-1:-1:-1;;;;;43018:22:0;;:::o;43047:31::-;;;;:::o;42928:32::-;;;;:::o;45840:143::-;45922:8;;-1:-1:-1;;;;;45922:8:0;45908:10;:22;45900:44;;;;;-1:-1:-1;;;45900:44:0;;;;;;;;;;;;-1:-1:-1;;;45900:44:0;;;;;;;;;;;;;;;45955:8;:20;;-1:-1:-1;;;;;;45955:20:0;-1:-1:-1;;;;;45955:20:0;;;;;;;;;;45840:143::o;43136:23::-;;;-1:-1:-1;;;;;43136:23:0;;:::o;42899:22::-;;;-1:-1:-1;;;;;42899:22:0;;:::o;48689:281::-;48755:7;48799:14;;;:8;:14;;;;;;;;-1:-1:-1;;;;;48799:21:0;;;;;;;;;48949:12;;;;48889:23;;;;48838:124;;48949:12;48838:96;;48929:4;;48838:76;;48864:49;;:20;48808:4;48864:14;:20::i;:49::-;48838:11;;;:25;:76::i;:124::-;48831:131;48689:281;-1:-1:-1;;;;48689:281:0:o;42492:31::-;;;;:::o;32021:244::-;31298:12;:10;:12::i;:::-;31288:6;;-1:-1:-1;;;;;31288:6:0;;;:22;;;31280:67;;;;;-1:-1:-1;;;31280:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;31280:67:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;32110:22:0;::::1;32102:73;;;;-1:-1:-1::0;;;32102:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32212:6;::::0;;32191:38:::1;::::0;-1:-1:-1;;;;;32191:38:0;;::::1;::::0;32212:6;::::1;::::0;32191:38:::1;::::0;::::1;32240:6;:17:::0;;-1:-1:-1;;;;;;32240:17:0::1;-1:-1:-1::0;;;;;32240:17:0;;;::::1;::::0;;;::::1;::::0;;32021:244::o;657:106::-;745:10;657:106;:::o;5203:136::-;5261:7;5288:43;5292:1;5295;5288:43;;;;;;;;;;;;;;;;;:3;:43::i;4739:181::-;4797:7;4829:5;;;4853:6;;;;4845:46;;;;;-1:-1:-1;;;4845:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;6093:471;6151:7;6396:6;6392:47;;-1:-1:-1;6426:1:0;6419:8;;6392:47;6463:5;;;6467:1;6463;:5;:1;6487:5;;;;;:10;6479:56;;;;-1:-1:-1;;;6479:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7040:132;7098:7;7125:39;7129:1;7132;7125:39;;;;;;;;;;;;;;;;;:3;:39::i;50131:996::-;50199:21;50223:14;;;:8;:14;;;;;;;;-1:-1:-1;;;;;50223:21:0;;;;;;;;;;50272:19;50232:4;50238:5;50272:6;:19::i;:::-;50255:36;-1:-1:-1;50306:10:0;;50302:818;;50348:1;50333:12;;;:16;;;50383:3;;:28;;;-1:-1:-1;;;50383:28:0;;50405:4;50383:28;;;;;;-1:-1:-1;;;;;50383:3:0;;;;:13;;:28;;;;;;;;;;;;;;;:3;:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;50383:28:0;;-1:-1:-1;50430:15:0;;;50426:71;;;50475:6;50466:15;;50426:71;50602:14;;50513:22;;;;-1:-1:-1;;;;;50602:14:0;:28;50598:127;;50675:14;;50662:47;;;-1:-1:-1;;;50662:47:0;;-1:-1:-1;;;;;50662:47:0;;;;;;;;;50675:14;;;;;50662:40;;:47;;;;;;;;;;;;;;50675:14;50662:47;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;50662:47:0;;-1:-1:-1;50598:127:0;-1:-1:-1;;;;;50743:22:0;;;50739:241;;50803:44;42710:5;50803:27;50814:15;;50803:6;:10;;:27;;;;:::i;:44::-;50866:3;;:38;;;-1:-1:-1;;;50866:38:0;;-1:-1:-1;;;;;50866:38:0;;;;;;;;;;;;;;;50786:61;;-1:-1:-1;50866:3:0;;;:12;;:38;;;;;;;;;;;;;;;:3;;:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;50928:36:0;;;;;;;;-1:-1:-1;;;;;50928:36:0;;;;;;;;;50866:38;50928:36;;;50739:241;50996:3;;-1:-1:-1;;;;;50996:3:0;:12;51009:5;51016:26;:6;51027:14;51016:10;:26::i;:::-;50996:47;;;;;;;;;;;;;-1:-1:-1;;;;;50996:47:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;51063:45:0;;;51081:26;:6;51092:14;51081:10;:26::i;:::-;51063:45;;;;;;;;;;;;;;;50302:818;;;;50131:996;;;;:::o;26909:177::-;27019:58;;;-1:-1:-1;;;;;27019:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;27019:58:0;-1:-1:-1;;;27019:58:0;;;26992:86;;27012:5;;26992:19;:86::i;:::-;26909:177;;;:::o;27568:622::-;27938:10;;;27937:62;;-1:-1:-1;27954:39:0;;;-1:-1:-1;;;27954:39:0;;27978:4;27954:39;;;;-1:-1:-1;;;;;27954:39:0;;;;;;;;;:15;;;;;;:39;;;;;;;;;;;;;;;:15;:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;27954:39:0;:44;27937:62;27929:152;;;;-1:-1:-1;;;27929:152:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28119:62;;;-1:-1:-1;;;;;28119:62:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;28119:62:0;-1:-1:-1;;;28119:62:0;;;28092:90;;28112:5;;28092:19;:90::i;27094:205::-;27222:68;;;-1:-1:-1;;;;;27222:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;27222:68:0;-1:-1:-1;;;27222:68:0;;;27195:96;;27215:5;;27195:19;:96::i;5642:192::-;5728:7;5764:12;5756:6;;;;5748:29;;;;-1:-1:-1;;;5748:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;5800:5:0;;;5642:192::o;7668:278::-;7754:7;7789:12;7782:5;7774:28;;;;-1:-1:-1;;;7774:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7813:9;7829:1;7825;:5;;;;;;;7668:278;-1:-1:-1;;;;;7668:278:0:o;29214:761::-;29638:23;29664:69;29692:4;29664:69;;;;;;;;;;;;;;;;;29672:5;-1:-1:-1;;;;;29664:27:0;;;:69;;;;;:::i;:::-;29748:17;;29638:95;;-1:-1:-1;29748:21:0;29744:224;;29890:10;29879:30;;;;;;;;;;;;;;;-1:-1:-1;29879:30:0;29871:85;;;;-1:-1:-1;;;29871:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12883:196;12986:12;13018:53;13041:6;13049:4;13055:1;13058:12;14390;14423:18;14434:6;14423:10;:18::i;:::-;14415:60;;;;;-1:-1:-1;;;14415:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;14549:12;14563:23;14590:6;-1:-1:-1;;;;;14590:11:0;14610:8;14621:4;14590:36;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;14590:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14548:78;;;;14641:7;14637:595;;;14672:10;-1:-1:-1;14665:17:0;;-1:-1:-1;14665:17:0;14637:595;14786:17;;:21;14782:439;;15049:10;15043:17;15110:15;15097:10;15093:2;15089:19;15082:44;14997:148;15185:20;;-1:-1:-1;;;15185:20:0;;;;;;;;;;;;;;;;;15192:12;;15185:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9965:422;10332:20;10371:8;;;9965:422::o
Swarm Source
ipfs://ae078f2a8ed26d1954e435d8635bd33818e958a0586d3f7d7947fab8934c1bfe
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 27 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.