Contract Overview
[ Download CSV Export ]
Latest 25 internal transaction
[ Download CSV Export ]
Contract Name:
Xpast
Compiler Version
v0.6.12+commit.27d51765
Contract Source Code (Solidity)
/** *Submitted for verification at FtmScan.com on 2021-12-12 */ // SPDX-License-Identifier: UNLICENSED /** * @title SafeBEP20 * @dev Wrappers around BEP20 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 SafeBEP20 for IBEP20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeBEP20 { using SafeMath for uint256; using Address for address; function safeTransfer(IBEP20 token, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } function safeTransferFrom(IBEP20 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 * {IBEP20-approve}, and its usage is discouraged. * * Whenever possible, use {safeIncreaseAllowance} and * {safeDecreaseAllowance} instead. */ function safeApprove(IBEP20 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), "SafeBEP20: approve from non-zero to non-zero allowance" ); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } function safeIncreaseAllowance(IBEP20 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(IBEP20 token, address spender, uint256 value) internal { uint256 newAllowance = token.allowance(address(this), spender).sub(value, "SafeBEP20: 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(IBEP20 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, "SafeBEP20: low-level call failed"); if (returndata.length > 0) { // Return data is optional // solhint-disable-next-line max-line-length require(abi.decode(returndata, (bool)), "SafeBEP20: BEP20 operation did not succeed"); } } } pragma solidity 0.6.12; // /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with GSN meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address payable) { return msg.sender; } function _msgData() internal view virtual returns (bytes memory) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } } // /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor () internal { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } } // interface IBEP20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the token decimals. */ function decimals() external view returns (uint8); /** * @dev Returns the token symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the token name. */ function name() external view returns (string memory); /** * @dev Returns the bep token owner. */ function getOwner() external view returns (address); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address _owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address sender, address recipient, uint256 amount ) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); } // /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming languages. * `SafeMath` restores this intuition by reverting the transaction when an * operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b > a) return (false, 0); return (true, a - b); } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b == 0) return (false, 0); return (true, a / b); } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b == 0) return (false, 0); return (true, a % b); } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { require(b <= a, "SafeMath: subtraction overflow"); return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { if (a == 0) return 0; uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { require(b > 0, "SafeMath: division by zero"); return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { require(b > 0, "SafeMath: modulo by zero"); return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); return a - b; } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryDiv}. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); return a % b; } } // /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; // solhint-disable-next-line no-inline-assembly assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); // solhint-disable-next-line avoid-low-level-calls, avoid-call-value (bool success, ) = recipient.call{ value: amount }(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain`call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.call{ value: value }(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.staticcall(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.delegatecall(data); return _verifyCallResult(success, returndata, errorMessage); } function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly // solhint-disable-next-line no-inline-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // /** * @dev Implementation of the {IBEP20} 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 {BEP20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-BEP20-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 BEP20 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 {IBEP20-approve}. */ contract BEP20 is Context, IBEP20, Ownable { using SafeMath for uint256; using Address for address; mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; uint8 private _decimals; uint256 constant MAXSUPPLY = 288000 ether; /** * @dev Sets the values for {name} and {symbol}, initializes {decimals} with * a default value of 18. * * To select a different value for {decimals}, use {_setupDecimals}. * * All three of these values are immutable: they can only be set once during * construction. */ constructor(string memory name, string memory symbol) public { _name = name; _symbol = symbol; _decimals = 18; } /** * @dev Returns the bep token owner. */ function getOwner() external override view returns (address) { return owner(); } /** * @dev Returns the token name. */ function name() public override view returns (string memory) { return _name; } /** * @dev Returns the token decimals. */ function decimals() public override view returns (uint8) { return _decimals; } /** * @dev Returns the token symbol. */ function symbol() public override view returns (string memory) { return _symbol; } /** * @dev See {BEP20-totalSupply}. */ function totalSupply() public override view returns (uint256) { return _totalSupply; } function maxSupply() public pure returns (uint256) { return MAXSUPPLY; } /** * @dev See {BEP20-balanceOf}. */ function balanceOf(address account) public override view returns (uint256) { return _balances[account]; } /** * @dev See {BEP20-transfer}. * * Requirements: * * - `recipient` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address recipient, uint256 amount) public override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } /** * @dev See {BEP20-allowance}. */ function allowance(address owner, address spender) public override view returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {BEP20-approve}. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public override returns (bool) { _approve(_msgSender(), spender, amount); return true; } /** * @dev See {BEP20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {BEP20}; * * Requirements: * - `sender` and `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. * - the caller must have allowance for `sender`'s tokens of at least * `amount`. */ function transferFrom( address sender, address recipient, uint256 amount ) public override returns (bool) { _transfer(sender, recipient, amount); _approve( sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "BEP20: 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 {BEP20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue)); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {BEP20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public returns (bool) { _approve( _msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "BEP20: decreased allowance below zero") ); return true; } /** * @dev Creates `amount` tokens and assigns them to `msg.sender`, increasing * the total supply. * * Requirements * * - `msg.sender` must be the token owner */ function mint(uint256 amount) public onlyOwner returns (bool) { _mint(_msgSender(), amount); 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), "BEP20: transfer from the zero address"); require(recipient != address(0), "BEP20: transfer to the zero address"); _balances[sender] = _balances[sender].sub(amount, "BEP20: transfer amount exceeds balance"); _balances[recipient] = _balances[recipient].add(amount); emit Transfer(sender, recipient, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements * * - `to` cannot be the zero address. */ function _mint(address account, uint256 amount) internal { require(account != address(0), "BEP20: mint to the zero address"); require(_totalSupply.add(amount) <= MAXSUPPLY, "Max supply reached"); _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 { require(account != address(0), "BEP20: burn from the zero address"); _balances[account] = _balances[account].sub(amount, "BEP20: 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 is internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve( address owner, address spender, uint256 amount ) internal { require(owner != address(0), "BEP20: approve from the zero address"); require(spender != address(0), "BEP20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Destroys `amount` tokens from `account`.`amount` is then deducted * from the caller's allowance. * * See {_burn} and {_approve}. */ function _burnFrom(address account, uint256 amount) internal { _burn(account, amount); _approve( account, _msgSender(), _allowances[account][_msgSender()].sub(amount, "BEP20: burn amount exceeds allowance") ); } } interface IUniswapV2Router01 { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidity( address tokenA, address tokenB, uint amountADesired, uint amountBDesired, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB, uint liquidity); function addLiquidityETH( address token, uint amountTokenDesired, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external payable returns (uint amountToken, uint amountETH, uint liquidity); function removeLiquidity( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB); function removeLiquidityETH( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountToken, uint amountETH); function removeLiquidityWithPermit( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountA, uint amountB); function removeLiquidityETHWithPermit( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountToken, uint amountETH); function swapExactTokensForTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapTokensForExactTokens( uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB); function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut); function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn); function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts); function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts); } interface IUniswapV2Router02 is IUniswapV2Router01 { function removeLiquidityETHSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountETH); function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountETH); function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; function swapExactETHForTokensSupportingFeeOnTransferTokens( uint amountOutMin, address[] calldata path, address to, uint deadline ) external payable; function swapExactTokensForETHSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; } interface IUniswapV2Pair { event Approval(address indexed owner, address indexed spender, uint value); event Transfer(address indexed from, address indexed to, uint value); function name() external pure returns (string memory); function symbol() external pure returns (string memory); function decimals() external pure returns (uint8); function totalSupply() external view returns (uint); function balanceOf(address owner) external view returns (uint); function allowance(address owner, address spender) external view returns (uint); function approve(address spender, uint value) external returns (bool); function transfer(address to, uint value) external returns (bool); function transferFrom(address from, address to, uint value) external returns (bool); function DOMAIN_SEPARATOR() external view returns (bytes32); function PERMIT_TYPEHASH() external pure returns (bytes32); function nonces(address owner) external view returns (uint); function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external; event Mint(address indexed sender, uint amount0, uint amount1); event Burn(address indexed sender, uint amount0, uint amount1, address indexed to); event Swap( address indexed sender, uint amount0In, uint amount1In, uint amount0Out, uint amount1Out, address indexed to ); event Sync(uint112 reserve0, uint112 reserve1); function MINIMUM_LIQUIDITY() external pure returns (uint); function factory() external view returns (address); function token0() external view returns (address); function token1() external view returns (address); function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast); function price0CumulativeLast() external view returns (uint); function price1CumulativeLast() external view returns (uint); function kLast() external view returns (uint); function mint(address to) external returns (uint liquidity); function burn(address to) external returns (uint amount0, uint amount1); function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external; function skim(address to) external; function sync() external; function initialize(address, address) external; } interface IUniswapV2Factory { event PairCreated(address indexed token0, address indexed token1, address pair, uint); function feeTo() external view returns (address); function feeToSetter() external view returns (address); function getPair(address tokenA, address tokenB) external view returns (address pair); function allPairs(uint) external view returns (address pair); function allPairsLength() external view returns (uint); function createPair(address tokenA, address tokenB) external returns (address pair); function setFeeTo(address) external; function setFeeToSetter(address) external; } /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a pershieldtage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor () internal { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and make it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } } // Xpast Token. contract Xpast is BEP20 { // Transfer tax rate in basis points. (default 5%) uint16 public transferTaxRate = 500; // Burn Fee, in percent of transferTaxRate. uint16 public burnFee = 20; // Liq Fee, in percent of transferTaxRate. uint16 public liqFee = 100 - burnFee; // Max transfer tax rate: 20%. uint16 public constant maxTaxRate = 2000; // Fee address address payable public constant feeAddr = 0xE62b207D82Fc3D6E9ff96F20Ee33D869aD2171b1; // Burn address address public constant burnAddr = 0x000000000000000000000000000000000000dEaD; // Contract address is excluded from tax, like Presale Cotract. mapping(address => bool) public noTaxRecipient; // Contract address is excluded from tax, like Presale Cotract. mapping(address => bool) public noTaxSender; // Max transfer amount rate in basis points. (Currently at 100% of total supply) uint16 public maxTransferAmountRate = 10000; // Addresses that excluded from antiWhale mapping(address => bool) private _excludedFromAntiWhale; // Automatic swap and liquify enabled bool public swapAndLiquifyEnabled = false; // Min amount to liquify. (default 10 XPASTs) uint256 public minAmountToLiquify = 10 ether; // The swap router, modifiable. IUniswapV2Router02 public swapRouter; // The trading pair address public swapPair; // In swap and liquify bool private _inSwapAndLiquify; // The operator can call all functions except of minting XPAST address private _operator; // The lpEarner address set to burn address to lock liquidity forever address constant public lpEarner = 0x000000000000000000000000000000000000dEaD; // Events event OperatorTransferred(address indexed previousOperator, address indexed newOperator); event TransferTaxRateUpdated(address indexed operator, uint256 previousRate, uint256 newRate); event BurnFeeUpdated(address indexed operator, uint256 previousRate, uint256 newRate); event MaxTransferAmountRateUpdated(address indexed operator, uint256 previousRate, uint256 newRate); event SwapAndLiquifyEnabledUpdated(address indexed operator, bool enabled); event MinAmountToLiquifyUpdated(address indexed operator, uint256 previousAmount, uint256 newAmount); event SwapRouterUpdated(address indexed operator, address indexed router, address indexed pair); event SetNoTaxSenderAddr(address indexed operator, address indexed noTaxSenderAddr, bool _value); event SetNoTaxRecipientAddr(address indexed operator, address indexed noTaxRecipientAddr, bool _value); event SwapAndLiquify(uint256 tokensSwapped, uint256 ethReceived, uint256 tokensIntoLiqudity); event SetExcludedFromAntiWhale(address indexed operator, address indexed accountAddress, bool excluded); modifier onlyOperator() { require(_operator == msg.sender, "operator: caller is not the operator"); _; } modifier antiWhale(address sender, address recipient, uint256 amount) { if (maxTransferAmount() > 0) { if ( _excludedFromAntiWhale[sender] == false && _excludedFromAntiWhale[recipient] == false ) { require(amount <= maxTransferAmount(), "XPAST::antiWhale: Transfer amount exceeds the maxTransferAmount"); } } _; } modifier lockTheSwap { _inSwapAndLiquify = true; _; _inSwapAndLiquify = false; } modifier transferTaxFree { uint16 _transferTaxRate = transferTaxRate; transferTaxRate = 0; _; transferTaxRate = _transferTaxRate; } /** * @notice Constructs the XpastSwapToken contract. */ constructor() public BEP20("Xmas Past", "XPAST") { _operator = _msgSender(); emit OperatorTransferred(address(0), _operator); _excludedFromAntiWhale[msg.sender] = true; _excludedFromAntiWhale[address(0)] = true; _excludedFromAntiWhale[address(this)] = true; _excludedFromAntiWhale[burnAddr] = true; } /// @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); } /// @dev overrides transfer function to meet tokenomics of XPAST function _transfer(address sender, address recipient, uint256 amount) internal virtual override antiWhale(sender, recipient, amount) { // swap and liquify if ( swapAndLiquifyEnabled == true && _inSwapAndLiquify == false && address(swapRouter) != address(0) && swapPair != address(0) && sender != swapPair // excludes Buying in FTM Liquidity && sender != owner() // excludes owner (later MasterChef) ) { swapAndLiquify(); } if (recipient == burnAddr || sender == _operator || noTaxRecipient[recipient] || noTaxSender[sender] || transferTaxRate == 0 ) { super._transfer(sender, recipient, amount); // transfer with no Tax } else { // default tax is 5% of every transfer uint256 taxAmount = amount.mul(transferTaxRate).div(10000); uint256 burnAmount = taxAmount.mul(burnFee).div(100); uint256 liqAmount = taxAmount.sub(burnAmount); require(taxAmount == burnAmount + liqAmount, "XPAST::transfer: Burn value invalid"); // default 95% of transfer sent to recipient uint256 sendAmount = amount.sub(taxAmount); require(amount == sendAmount + taxAmount, "XPAST::transfer: Tax value invalid"); super._transfer(sender, burnAddr, burnAmount); super._transfer(sender, address(this), liqAmount); super._transfer(sender, recipient, sendAmount); } } /// @dev Swap and liquify function swapAndLiquify() private lockTheSwap transferTaxFree { uint256 contractTokenBalance = balanceOf(address(this)); uint256 maxTransferAmount = maxTransferAmount(); contractTokenBalance = contractTokenBalance > maxTransferAmount ? maxTransferAmount : contractTokenBalance; if (contractTokenBalance >= minAmountToLiquify) { // only min amount to liquify uint256 liquifyAmount = minAmountToLiquify; // split the liquify amount into halves uint256 half = liquifyAmount.div(2); uint256 otherHalf = liquifyAmount.sub(half.mul(80).div(100)); // swap tokens for ETH swapTokensForEth(half); // send 20% ETH to the Fee Wallet feeAddr.transfer(address(this).balance.mul(20).div(100)); // how much ETH is in the token contract uint256 newBalance = address(this).balance; // add liquidity addLiquidity(otherHalf, newBalance); emit SwapAndLiquify(half, newBalance, otherHalf); } } /// @dev Swap tokens for eth function swapTokensForEth(uint256 tokenAmount) private { // generate the xpast -> weth path for swapping address[] memory path = new address[](2); path[0] = address(this); path[1] = swapRouter.WETH(); _approve(address(this), address(swapRouter), tokenAmount); // make the swap swapRouter.swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmount, 0, // accept any amount of ETH path, address(this), block.timestamp ); } /// @dev Add liquidity function addLiquidity(uint256 tokenAmount, uint256 ethAmount) private { // approve token transfer to cover all possible scenarios _approve(address(this), address(swapRouter), tokenAmount); // add the liquidity swapRouter.addLiquidityETH{value: ethAmount}( address(this), tokenAmount, 0, // slippage is unavoidable 0, // slippage is unavoidable lpEarner, block.timestamp ); } /** * @dev Returns the max transfer amount. */ function maxTransferAmount() public view returns (uint256) { return totalSupply().mul(maxTransferAmountRate).div(10000); } /** * @dev Returns the address is excluded from antiWhale or not. */ function isExcludedFromAntiWhale(address _account) public view returns (bool) { return _excludedFromAntiWhale[_account]; } // To receive FTM from swapRouter when swapping receive() external payable {} /** * @dev Update the transfer tax rate. * Can only be called by the current operator. */ function updateTransferTaxRate(uint16 _transferTaxRate) public onlyOperator { require(_transferTaxRate <= maxTaxRate, "XPAST::updateTransferTaxRate: Transfer tax rate must not exceed the maximum rate."); emit TransferTaxRateUpdated(msg.sender, transferTaxRate, _transferTaxRate); transferTaxRate = _transferTaxRate; } /** * @dev Update the Burn Fee. * Can only be called by the current operator. */ function updateBurnFee(uint16 _burnFee) public onlyOperator { require(_burnFee <= 100, "XPAST::updateBurnRate: Burn Fee must not exceed the maximum rate."); emit BurnFeeUpdated(msg.sender, burnFee, _burnFee); burnFee = _burnFee; } /** * @dev Update the max transfer amount rate. * Can only be called by the current operator. */ function updateMaxTransferAmountRate(uint16 _maxTransferAmountRate) public onlyOperator { require(_maxTransferAmountRate <= 10000, "XPAST::updateMaxTransferAmountRate: Max transfer amount to High."); require(_maxTransferAmountRate >= 500, "XPAST::updateMaxTransferAmountRate: Min transfer amount to Low."); emit MaxTransferAmountRateUpdated(msg.sender, maxTransferAmountRate, _maxTransferAmountRate); maxTransferAmountRate = _maxTransferAmountRate; } /** * @dev Update the min amount to liquify. * Can only be called by the current operator. */ function updateMinAmountToLiquify(uint256 _minAmount) public onlyOperator { emit MinAmountToLiquifyUpdated(msg.sender, minAmountToLiquify, _minAmount); minAmountToLiquify = _minAmount; } /** * @dev Exclude or include an address from antiWhale. * Can only be called by the current operator. */ function setExcludedFromAntiWhale(address _account, bool _excluded) public onlyOperator { _excludedFromAntiWhale[_account] = _excluded; emit SetExcludedFromAntiWhale(msg.sender, _account, _excluded); } /** * @dev Update the swapAndLiquifyEnabled. * Can only be called by the current operator. */ function updateSwapAndLiquifyEnabled(bool _enabled) public onlyOperator { emit SwapAndLiquifyEnabledUpdated(msg.sender, _enabled); swapAndLiquifyEnabled = _enabled; } /** * @dev Update the swap router. * Can only be called by the current operator. */ function updateSwapRouter(address _router) public onlyOperator { require (address(swapRouter) == address(0), "Router already set"); swapRouter = IUniswapV2Router02(_router); swapPair = IUniswapV2Factory(swapRouter.factory()).getPair(address(this), swapRouter.WETH()); require(swapPair != address(0), "XPAST::updateSwapRouter: Invalid pair address."); emit SwapRouterUpdated(msg.sender, address(swapRouter), swapPair); } /** * @dev Update the no Tax Contract Address. * Can only be called by the current operator. */ function setNoTaxSenderAddr(address _noTaxSenderAddr, bool _value) external onlyOperator { noTaxSender[_noTaxSenderAddr] = _value; emit SetNoTaxSenderAddr(msg.sender, _noTaxSenderAddr, _value); } function setNoTaxRecipientAddr(address _noTaxRecipientAddr, bool _value) external onlyOperator { noTaxRecipient[_noTaxRecipientAddr] = _value; emit SetNoTaxRecipientAddr(msg.sender, _noTaxRecipientAddr, _value); } /** * @dev Returns the address of the current operator. */ function operator() public view returns (address) { return _operator; } /** * @dev Transfers operator of the contract to a new account (`newOperator`). * Can only be called by the current operator. */ function transferOperator(address newOperator) public onlyOperator { require(newOperator != address(0), "XPAST::transferOperator: new operator is the zero address"); emit OperatorTransferred(_operator, newOperator); _operator = newOperator; } } /** * @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( IBEP20 token, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } function safeTransferFrom( IBEP20 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( IBEP20 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( IBEP20 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( IBEP20 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(IBEP20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed"); if (returndata.length > 0) { // Return data is optional // solhint-disable-next-line max-line-length require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } } // MasterChef is the master of XPAST. He can make Xpast and he is a fair guy. // // Note that it's ownable and the owner wields tremendous power. The ownership // will be transferred to a governance smart contract once XPAST is sufficiently // distributed and the community can show to govern itself. // // Have fun reading it. Hopefully it's bug-free. God bless. contract MasterChef is Ownable, ReentrancyGuard { using SafeMath for uint256; using SafeERC20 for IBEP20; // Info of each user. struct UserInfo { uint256 amount; // How many LP tokens the user has provided. uint256 rewardDebt; // Reward debt. See explanation below. // // We do some fancy math here. Basically, any point in time, the amount of XPAST // entitled to a user but is pending to be distributed is: // // pending reward = (user.amount * pool.accXpastPerShare) - user.rewardDebt // // Whenever a user deposits or withdraws LP tokens to a pool. Here's what happens: // 1. The pool's `accXpastPerShare` (and `lastRewardBlock`) gets updated. // 2. User receives the pending reward sent to his/her address. // 3. User's `amount` gets updated. // 4. User's `rewardDebt` gets updated. } // Info of each pool. struct PoolInfo { IBEP20 lpToken; // Address of LP token contract. uint256 allocPoint; // How many allocation points assigned to this pool. XPASTs to distribute per second. uint256 lastRewardSecond; // Last second that XPASTs distribution occurs. uint256 accXpastPerShare; // Accumulated XPASTs per share, times 1e18. See below. uint16 depositFeeBP; // Deposit fee in basis points uint256 lpSupply; } // The XPAST TOKEN! Xpast public xpast; // Dev address. address public devaddr; // XPAST tokens created per second. uint256 public XpastPerSecond; // Deposit Fee address address public feeAddress; // Max emission rate. uint256 public constant MAX_EMISSION_RATE = 5 ether; // Info of each pool. PoolInfo[] public poolInfo; // Info of each user that stakes LP tokens. mapping(uint256 => mapping(address => UserInfo)) public userInfo; // Total allocation points. Must be the sum of all allocation points in all pools. uint256 public totalAllocPoint = 0; // The block timestamp when Xpast mining starts. uint256 public startTime; event Deposit(address indexed user, uint256 indexed pid, uint256 amount); event Withdraw(address indexed user, uint256 indexed pid, uint256 amount); event EmergencyWithdraw( address indexed user, uint256 indexed pid, uint256 amount ); event SetFeeAddress(address indexed user, address indexed newAddress); event SetDevAddress(address indexed user, address indexed newAddress); event UpdateEmissionRate(address indexed user, uint256 XpastPerSecond); event addPool( uint256 indexed pid, address lpToken, uint256 allocPoint, uint256 depositFeeBP ); event setPool( uint256 indexed pid, address lpToken, uint256 allocPoint, uint256 depositFeeBP ); event UpdateStartTime(uint256 newStartTime); constructor( Xpast _xpast, address _devaddr, address _feeAddress, uint256 _XpastPerSecond, uint256 _startTime ) public { xpast = _xpast; devaddr = _devaddr; feeAddress = _feeAddress; XpastPerSecond = _XpastPerSecond; startTime = _startTime; } function poolLength() external view returns (uint256) { return poolInfo.length; } mapping(IBEP20 => bool) public poolExistence; modifier nonDuplicated(IBEP20 _lpToken) { require(poolExistence[_lpToken] == false, "nonDuplicated: duplicated"); _; } // Add a new lp to the pool. Can only be called by the owner. function add( uint256 _allocPoint, IBEP20 _lpToken, uint16 _depositFeeBP, bool _withUpdate ) external onlyOwner nonDuplicated(_lpToken) { // valid ERC20 token _lpToken.balanceOf(address(this)); require(_depositFeeBP <= 400, "add: invalid deposit fee basis points"); if (_withUpdate) { massUpdatePools(); } uint256 lastRewardSecond = block.timestamp > startTime ? block.timestamp : startTime; totalAllocPoint = totalAllocPoint.add(_allocPoint); poolExistence[_lpToken] = true; poolInfo.push( PoolInfo({ lpToken: _lpToken, allocPoint: _allocPoint, lastRewardSecond: lastRewardSecond, accXpastPerShare: 0, depositFeeBP: _depositFeeBP, lpSupply: 0 }) ); emit addPool( poolInfo.length - 1, address(_lpToken), _allocPoint, _depositFeeBP ); } // Update the given pool's Xpast allocation point and deposit fee. Can only be called by the owner. function set( uint256 _pid, uint256 _allocPoint, uint16 _depositFeeBP, bool _withUpdate ) external onlyOwner { require(_depositFeeBP <= 400, "set: invalid deposit fee basis points"); if (_withUpdate) { massUpdatePools(); } totalAllocPoint = totalAllocPoint.sub(poolInfo[_pid].allocPoint).add( _allocPoint ); poolInfo[_pid].allocPoint = _allocPoint; poolInfo[_pid].depositFeeBP = _depositFeeBP; emit setPool( _pid, address(poolInfo[_pid].lpToken), _allocPoint, _depositFeeBP ); } // Return reward multiplier over the given _from to _to block. function getMultiplier(uint256 _from, uint256 _to) public pure returns (uint256) { return _to.sub(_from); } // View function to see pending xpast on frontend. function pendingXpast(uint256 _pid, address _user) external view returns (uint256) { PoolInfo storage pool = poolInfo[_pid]; UserInfo storage user = userInfo[_pid][_user]; uint256 accXpastPerShare = pool.accXpastPerShare; if ( block.timestamp > pool.lastRewardSecond && pool.lpSupply != 0 && totalAllocPoint > 0 ) { uint256 multiplier = getMultiplier( pool.lastRewardSecond, block.timestamp ); uint256 xpastReward = multiplier .mul(XpastPerSecond) .mul(pool.allocPoint) .div(totalAllocPoint); uint256 devReward = xpastReward.div(10); uint256 totalRewards = xpast.totalSupply().add(devReward).add( xpastReward ); if (totalRewards > xpast.maxSupply()) { xpastReward = xpast.maxSupply().sub(xpast.totalSupply()); } accXpastPerShare = accXpastPerShare.add( xpastReward.mul(1e18).div(pool.lpSupply) ); } return user.amount.mul(accXpastPerShare).div(1e18).sub(user.rewardDebt); } // Update reward variables for all pools. Be careful of gas spending! function massUpdatePools() public { uint256 length = poolInfo.length; for (uint256 pid = 0; pid < length; ++pid) { updatePool(pid); } } // Update reward variables of the given pool to be up-to-date. function updatePool(uint256 _pid) public { PoolInfo storage pool = poolInfo[_pid]; if (block.timestamp <= pool.lastRewardSecond) { return; } if (pool.lpSupply == 0 || pool.allocPoint == 0) { pool.lastRewardSecond = block.timestamp; return; } uint256 multiplier = getMultiplier( pool.lastRewardSecond, block.timestamp ); uint256 xpastReward = multiplier .mul(XpastPerSecond) .mul(pool.allocPoint) .div(totalAllocPoint); uint256 devReward = xpastReward.div(10); uint256 totalRewards = xpast.totalSupply().add(devReward).add( xpastReward ); if (totalRewards <= xpast.maxSupply()) { // mint as normal as not at maxSupply xpast.mint(devaddr, xpastReward.div(10)); xpast.mint(address(this), xpastReward); } else { // mint the difference only to MC, update xpastReward xpastReward = xpast.maxSupply().sub(xpast.totalSupply()); xpast.mint(address(this), xpastReward); } if (xpastReward != 0) { // only calculate and update if xpastReward is non 0 pool.accXpastPerShare = pool.accXpastPerShare.add( xpastReward.mul(1e18).div(pool.lpSupply) ); } pool.lastRewardSecond = block.timestamp; } // Deposit LP tokens to MasterChef for Xpast allocation. function deposit(uint256 _pid, uint256 _amount) external nonReentrant { PoolInfo storage pool = poolInfo[_pid]; UserInfo storage user = userInfo[_pid][msg.sender]; updatePool(_pid); if (user.amount > 0) { uint256 pending = user .amount .mul(pool.accXpastPerShare) .div(1e18) .sub(user.rewardDebt); if (pending > 0) { safeXpastTransfer(msg.sender, pending); } } if (_amount > 0) { uint256 balanceBefore = pool.lpToken.balanceOf(address(this)); pool.lpToken.safeTransferFrom( address(msg.sender), address(this), _amount ); _amount = pool.lpToken.balanceOf(address(this)).sub(balanceBefore); if (pool.depositFeeBP > 0) { uint256 depositFee = _amount.mul(pool.depositFeeBP).div(10000); pool.lpToken.safeTransfer(feeAddress, depositFee); user.amount = user.amount.add(_amount).sub(depositFee); pool.lpSupply = pool.lpSupply.add(_amount).sub(depositFee); } else { user.amount = user.amount.add(_amount); pool.lpSupply = pool.lpSupply.add(_amount); } } user.rewardDebt = user.amount.mul(pool.accXpastPerShare).div(1e18); emit Deposit(msg.sender, _pid, _amount); } // Withdraw LP tokens from MasterChef. function withdraw(uint256 _pid, uint256 _amount) external nonReentrant { PoolInfo storage pool = poolInfo[_pid]; UserInfo storage user = userInfo[_pid][msg.sender]; require(user.amount >= _amount, "withdraw: not good"); updatePool(_pid); uint256 pending = user.amount.mul(pool.accXpastPerShare).div(1e18).sub( user.rewardDebt ); if (pending > 0) { safeXpastTransfer(msg.sender, pending); } if (_amount > 0) { user.amount = user.amount.sub(_amount); pool.lpToken.safeTransfer(address(msg.sender), _amount); pool.lpSupply = pool.lpSupply.sub(_amount); } user.rewardDebt = user.amount.mul(pool.accXpastPerShare).div(1e18); emit Withdraw(msg.sender, _pid, _amount); } // Withdraw without caring about rewards. EMERGENCY ONLY. function emergencyWithdraw(uint256 _pid) external nonReentrant { PoolInfo storage pool = poolInfo[_pid]; UserInfo storage user = userInfo[_pid][msg.sender]; uint256 amount = user.amount; user.amount = 0; user.rewardDebt = 0; pool.lpToken.safeTransfer(address(msg.sender), amount); if (pool.lpSupply >= amount) { pool.lpSupply = pool.lpSupply.sub(amount); } else { pool.lpSupply = 0; } emit EmergencyWithdraw(msg.sender, _pid, amount); } // Safe xpast transfer function, just in case if rounding error causes pool to not have enough XPASTs. function safeXpastTransfer(address _to, uint256 _amount) internal { uint256 xpastBal = xpast.balanceOf(address(this)); bool transferSuccess = false; if (_amount > xpastBal) { transferSuccess = xpast.transfer(_to, xpastBal); } else { transferSuccess = xpast.transfer(_to, _amount); } require(transferSuccess, "safeXpastTransfer: transfer failed"); } // Update dev address. function setDevAddress(address _devaddr) external { require(_devaddr != address(0), "!nonzero"); require(msg.sender == devaddr, "dev: wut?"); devaddr = _devaddr; emit SetDevAddress(msg.sender, _devaddr); } function setFeeAddress(address _feeAddress) external { require(msg.sender == feeAddress, "setFeeAddress: FORBIDDEN"); require(_feeAddress != address(0), "!nonzero"); feeAddress = _feeAddress; emit SetFeeAddress(msg.sender, _feeAddress); } //Pancake has to add hidden dummy pools inorder to alter the emission, here we make it simple and transparent to all. function updateEmissionRate(uint256 _XpastPerSecond) external onlyOwner { require(_XpastPerSecond <= MAX_EMISSION_RATE, "Emission too high"); massUpdatePools(); XpastPerSecond = _XpastPerSecond; emit UpdateEmissionRate(msg.sender, _XpastPerSecond); } // Only update before start of farm function updateStartTime(uint256 _newStartTime) external onlyOwner { require( block.timestamp < startTime, "cannot change start time if farm has already started" ); require( block.timestamp < _newStartTime, "cannot set start time in the past" ); uint256 length = poolInfo.length; for (uint256 pid = 0; pid < length; ++pid) { PoolInfo storage pool = poolInfo[pid]; pool.lastRewardSecond = _newStartTime; } startTime = _newStartTime; emit UpdateStartTime(startTime); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"uint256","name":"previousRate","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newRate","type":"uint256"}],"name":"BurnFeeUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"uint256","name":"previousRate","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newRate","type":"uint256"}],"name":"MaxTransferAmountRateUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"uint256","name":"previousAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"MinAmountToLiquifyUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOperator","type":"address"},{"indexed":true,"internalType":"address","name":"newOperator","type":"address"}],"name":"OperatorTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"accountAddress","type":"address"},{"indexed":false,"internalType":"bool","name":"excluded","type":"bool"}],"name":"SetExcludedFromAntiWhale","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"noTaxRecipientAddr","type":"address"},{"indexed":false,"internalType":"bool","name":"_value","type":"bool"}],"name":"SetNoTaxRecipientAddr","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"noTaxSenderAddr","type":"address"},{"indexed":false,"internalType":"bool","name":"_value","type":"bool"}],"name":"SetNoTaxSenderAddr","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokensSwapped","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethReceived","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokensIntoLiqudity","type":"uint256"}],"name":"SwapAndLiquify","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"enabled","type":"bool"}],"name":"SwapAndLiquifyEnabledUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"router","type":"address"},{"indexed":true,"internalType":"address","name":"pair","type":"address"}],"name":"SwapRouterUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"uint256","name":"previousRate","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newRate","type":"uint256"}],"name":"TransferTaxRateUpdated","type":"event"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"burnAddr","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"burnFee","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"feeAddr","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"}],"name":"isExcludedFromAntiWhale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"liqFee","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lpEarner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"maxTaxRate","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTransferAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTransferAmountRate","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minAmountToLiquify","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"noTaxRecipient","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"noTaxSender","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"operator","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"},{"internalType":"bool","name":"_excluded","type":"bool"}],"name":"setExcludedFromAntiWhale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_noTaxRecipientAddr","type":"address"},{"internalType":"bool","name":"_value","type":"bool"}],"name":"setNoTaxRecipientAddr","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_noTaxSenderAddr","type":"address"},{"internalType":"bool","name":"_value","type":"bool"}],"name":"setNoTaxSenderAddr","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapAndLiquifyEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapPair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapRouter","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOperator","type":"address"}],"name":"transferOperator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"transferTaxRate","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"_burnFee","type":"uint16"}],"name":"updateBurnFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_maxTransferAmountRate","type":"uint16"}],"name":"updateMaxTransferAmountRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_minAmount","type":"uint256"}],"name":"updateMinAmountToLiquify","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_enabled","type":"bool"}],"name":"updateSwapAndLiquifyEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_router","type":"address"}],"name":"updateSwapRouter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_transferTaxRate","type":"uint16"}],"name":"updateTransferTaxRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60806040526006805461ffff60281b1962ffff00199091166201f4001764ffff00000019166314000000179081166501000000000061ffff63010000009093048316606403909216919091021790556009805461271061ffff19909116179055600b805460ff19169055678ac7230489e80000600c553480156200008257600080fd5b5060405180604001604052806009815260200168161b585cc814185cdd60ba1b8152506040518060400160405280600581526020016416141054d560da1b8152506000620000d56200023d60201b60201c565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35081516200013490600490602085019062000241565b5080516200014a90600590602084019062000241565b50506006805460ff1916601217905550620001646200023d565b600f80546001600160a01b0319166001600160a01b0392831617908190556040519116906000907f74da04524d50c64947f5dd5381ef1a4dca5cba8ed1d816243f9e48aa0b5617ed908290a3336000908152600a60205260408082208054600160ff1991821681179092557f13da86008ba1c6922daee3e07db95305ef49ebced9f5467a0b8613fcc6b343e38054821683179055308452918320805483168217905561dead9092527f20677881080440a9b3c87e826370bb5d9c2f74efd4dede686d52d77a6a09f8bb80549091169091179055620002dd565b3390565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200028457805160ff1916838001178555620002b4565b82800160010185558215620002b4579182015b82811115620002b457825182559160200191906001019062000297565b50620002c2929150620002c6565b5090565b5b80821115620002c25760008155600101620002c7565b612a4f80620002ed6000396000f3fe6080604052600436106102765760003560e01c8063893d20e81161014f578063b98b677f116100c1578063daa96e941161007a578063daa96e94146108d6578063dd62ed3e14610911578063e48849b21461094c578063e6727e0b14610961578063f2fde38b14610994578063fce589d8146109c75761027d565b8063b98b677f14610829578063c31c9c071461085c578063c7f59a6714610871578063d246d411146107ff578063d5abeb01146108ac578063d8248358146108c15761027d565b8063a392e67411610113578063a392e6741461074e578063a457c2d714610778578063a9059cbb146107b1578063a9e75723146107ea578063af38b151146107ff578063b65d08b0146108145761027d565b8063893d20e8146106b95780638da5cb5b146106ce57806395d89b41146106e35780639f9a4e7f146106f8578063a0712d68146107245761027d565b806339e7fddc116101e8578063570ca735116101ac578063570ca735146105c557806359c9176c146105da57806363afa05f146106085780636a141e2c1461064357806370a0823114610671578063715018a6146106a45761027d565b806339e7fddc146105215780633fb0da64146105365780633ff8bf2e1461056257806340c10f19146105775780634a74bb02146105b05761027d565b806326991cc81161023a57806326991cc8146103f6578063269f534c1461042757806329605e771461045a578063313ce5671461048f578063376c2391146104ba57806339509351146104e85761027d565b806306fdde0314610282578063095ea7b31461030c5780630bb772061461035957806318160ddd1461038c57806323b872dd146103b35761027d565b3661027d57005b600080fd5b34801561028e57600080fd5b506102976109dc565b6040805160208082528351818301528351919283929083019185019080838360005b838110156102d15781810151838201526020016102b9565b50505050905090810190601f1680156102fe5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561031857600080fd5b506103456004803603604081101561032f57600080fd5b506001600160a01b038135169060200135610a72565b604080519115158252519081900360200190f35b34801561036557600080fd5b506103456004803603602081101561037c57600080fd5b50356001600160a01b0316610a90565b34801561039857600080fd5b506103a1610aa5565b60408051918252519081900360200190f35b3480156103bf57600080fd5b50610345600480360360608110156103d657600080fd5b506001600160a01b03813581169160208101359091169060400135610aab565b34801561040257600080fd5b5061040b610b32565b604080516001600160a01b039092168252519081900360200190f35b34801561043357600080fd5b506103456004803603602081101561044a57600080fd5b50356001600160a01b0316610b41565b34801561046657600080fd5b5061048d6004803603602081101561047d57600080fd5b50356001600160a01b0316610b5f565b005b34801561049b57600080fd5b506104a4610c49565b6040805160ff9092168252519081900360200190f35b3480156104c657600080fd5b5061048d600480360360208110156104dd57600080fd5b503561ffff16610c52565b3480156104f457600080fd5b506103456004803603604081101561050b57600080fd5b506001600160a01b038135169060200135610d47565b34801561052d57600080fd5b5061040b610d95565b34801561054257600080fd5b5061054b610dad565b6040805161ffff9092168252519081900360200190f35b34801561056e57600080fd5b5061054b610dc0565b34801561058357600080fd5b5061048d6004803603604081101561059a57600080fd5b506001600160a01b038135169060200135610dca565b3480156105bc57600080fd5b50610345610e3a565b3480156105d157600080fd5b5061040b610e43565b3480156105e657600080fd5b5061048d600480360360208110156105fd57600080fd5b503561ffff16610e52565b34801561061457600080fd5b5061048d6004803603604081101561062b57600080fd5b506001600160a01b0381351690602001351515610f4c565b34801561064f57600080fd5b5061048d6004803603602081101561066657600080fd5b503561ffff16610ff6565b34801561067d57600080fd5b506103a16004803603602081101561069457600080fd5b50356001600160a01b0316611125565b3480156106b057600080fd5b5061048d611140565b3480156106c557600080fd5b5061040b6111ec565b3480156106da57600080fd5b5061040b6111fb565b3480156106ef57600080fd5b5061029761120a565b34801561070457600080fd5b5061048d6004803603602081101561071b57600080fd5b5035151561126b565b34801561073057600080fd5b506103456004803603602081101561074757600080fd5b50356112ff565b34801561075a57600080fd5b5061048d6004803603602081101561077157600080fd5b503561137c565b34801561078457600080fd5b506103456004803603604081101561079b57600080fd5b506001600160a01b038135169060200135611408565b3480156107bd57600080fd5b50610345600480360360408110156107d457600080fd5b506001600160a01b038135169060200135611470565b3480156107f657600080fd5b506103a1611484565b34801561080b57600080fd5b5061040b6114ae565b34801561082057600080fd5b5061054b6114b4565b34801561083557600080fd5b5061048d6004803603602081101561084c57600080fd5b50356001600160a01b03166114c3565b34801561086857600080fd5b5061040b61177b565b34801561087d57600080fd5b5061048d6004803603604081101561089457600080fd5b506001600160a01b038135169060200135151561178a565b3480156108b857600080fd5b506103a1611834565b3480156108cd57600080fd5b506103a1611842565b3480156108e257600080fd5b5061048d600480360360408110156108f957600080fd5b506001600160a01b0381351690602001351515611848565b34801561091d57600080fd5b506103a16004803603604081101561093457600080fd5b506001600160a01b03813581169160200135166118f2565b34801561095857600080fd5b5061054b61191d565b34801561096d57600080fd5b506103456004803603602081101561098457600080fd5b50356001600160a01b0316611923565b3480156109a057600080fd5b5061048d600480360360208110156109b757600080fd5b50356001600160a01b0316611938565b3480156109d357600080fd5b5061054b611a3a565b60048054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610a685780601f10610a3d57610100808354040283529160200191610a68565b820191906000526020600020905b815481529060010190602001808311610a4b57829003601f168201915b5050505050905090565b6000610a86610a7f611a4b565b8484611a4f565b5060015b92915050565b60076020526000908152604090205460ff1681565b60035490565b6000610ab8848484611b3b565b610b2884610ac4611a4b565b610b238560405180606001604052806028815260200161275c602891396001600160a01b038a16600090815260026020526040812090610b02611a4b565b6001600160a01b031681526020810191909152604001600020549190611e1f565b611a4f565b5060019392505050565b600e546001600160a01b031681565b6001600160a01b03166000908152600a602052604090205460ff1690565b600f546001600160a01b03163314610ba85760405162461bcd60e51b81526004018080602001828103825260248152602001806128686024913960400191505060405180910390fd5b6001600160a01b038116610bed5760405162461bcd60e51b81526004018080602001828103825260398152602001806127016039913960400191505060405180910390fd5b600f546040516001600160a01b038084169216907f74da04524d50c64947f5dd5381ef1a4dca5cba8ed1d816243f9e48aa0b5617ed90600090a3600f80546001600160a01b0319166001600160a01b0392909216919091179055565b60065460ff1690565b600f546001600160a01b03163314610c9b5760405162461bcd60e51b81526004018080602001828103825260248152602001806128686024913960400191505060405180910390fd5b6107d061ffff82161115610ce05760405162461bcd60e51b81526004018080602001828103825260518152602001806129396051913960600191505060405180910390fd5b6006546040805161ffff610100909304831681529183166020830152805133927fe9d5c8ee2a65d4fb859c680669d8f902172d53e3f15f9f11108a31bbada4b70b92908290030190a26006805461ffff9092166101000262ffff0019909216919091179055565b6000610a86610d54611a4b565b84610b238560026000610d65611a4b565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490611eb6565b73e62b207d82fc3d6e9ff96f20ee33d869ad2171b181565b60065465010000000000900461ffff1681565b60095461ffff1681565b610dd2611a4b565b6001600160a01b0316610de36111fb565b6001600160a01b031614610e2c576040805162461bcd60e51b81526020600482018190526024820152600080516020612848833981519152604482015290519081900360640190fd5b610e368282611f17565b5050565b600b5460ff1681565b600f546001600160a01b031690565b600f546001600160a01b03163314610e9b5760405162461bcd60e51b81526004018080602001828103825260248152602001806128686024913960400191505060405180910390fd5b60648161ffff161115610edf5760405162461bcd60e51b81526004018080602001828103825260418152602001806127846041913960600191505060405180910390fd5b6006546040805161ffff6301000000909304831681529183166020830152805133927f9dd5b4b7c6d2d8952a052c811ac50e7001fcc6017949845a5aa027b1796ef0b892908290030190a26006805461ffff90921663010000000264ffff00000019909216919091179055565b600f546001600160a01b03163314610f955760405162461bcd60e51b81526004018080602001828103825260248152602001806128686024913960400191505060405180910390fd5b6001600160a01b038216600081815260076020908152604091829020805460ff19168515159081179091558251908152915133927f23bfc94d99731e125b658f96c33f01a529e592e4b67c368c4e0b56f0a42c1b7292908290030190a35050565b600f546001600160a01b0316331461103f5760405162461bcd60e51b81526004018080602001828103825260248152602001806128686024913960400191505060405180910390fd5b6127108161ffff1611156110845760405162461bcd60e51b815260040180806020018281038252604081526020018061298a6040913960400191505060405180910390fd5b6101f48161ffff1610156110c95760405162461bcd60e51b815260040180806020018281038252603f8152602001806128fa603f913960400191505060405180910390fd5b6009546040805161ffff92831681529183166020830152805133927fb62a50fc861a770636e85357becb3b82a32e911106609d4985871eaf29011e0892908290030190a26009805461ffff191661ffff92909216919091179055565b6001600160a01b031660009081526001602052604090205490565b611148611a4b565b6001600160a01b03166111596111fb565b6001600160a01b0316146111a2576040805162461bcd60e51b81526020600482018190526024820152600080516020612848833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b60006111f66111fb565b905090565b6000546001600160a01b031690565b60058054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610a685780601f10610a3d57610100808354040283529160200191610a68565b600f546001600160a01b031633146112b45760405162461bcd60e51b81526004018080602001828103825260248152602001806128686024913960400191505060405180910390fd5b604080518215158152905133917f3ca65588b29182880283bc8778fea5f01b351e01d874839a39a99e1c281a2113919081900360200190a2600b805460ff1916911515919091179055565b6000611309611a4b565b6001600160a01b031661131a6111fb565b6001600160a01b031614611363576040805162461bcd60e51b81526020600482018190526024820152600080516020612848833981519152604482015290519081900360640190fd5b61137461136e611a4b565b83611f17565b506001919050565b600f546001600160a01b031633146113c55760405162461bcd60e51b81526004018080602001828103825260248152602001806128686024913960400191505060405180910390fd5b600c546040805191825260208201839052805133927f54c7a13ff01698e4ed3550a23216585f8472c7b1515a932eac98c9a6d48990c592908290030190a2600c55565b6000610a86611415611a4b565b84610b23856040518060600160405280602581526020016128d5602591396002600061143f611a4b565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190611e1f565b6000610a8661147d611a4b565b8484611b3b565b6009546000906111f690612710906114a89061ffff166114a2610aa5565b9061205e565b906120b7565b61dead81565b600654610100900461ffff1681565b600f546001600160a01b0316331461150c5760405162461bcd60e51b81526004018080602001828103825260248152602001806128686024913960400191505060405180910390fd5b600d546001600160a01b03161561155f576040805162461bcd60e51b8152602060048201526012602482015271149bdd5d195c88185b1c9958591e481cd95d60721b604482015290519081900360640190fd5b600d80546001600160a01b0319166001600160a01b0383811691909117918290556040805163c45a015560e01b81529051929091169163c45a015591600480820192602092909190829003018186803b1580156115bb57600080fd5b505afa1580156115cf573d6000803e3d6000fd5b505050506040513d60208110156115e557600080fd5b5051600d54604080516315ab88c960e31b815290516001600160a01b039384169363e6a4390593309391169163ad5c464891600480820192602092909190829003018186803b15801561163757600080fd5b505afa15801561164b573d6000803e3d6000fd5b505050506040513d602081101561166157600080fd5b5051604080516001600160e01b031960e086901b1681526001600160a01b039384166004820152929091166024830152516044808301926020929190829003018186803b1580156116b157600080fd5b505afa1580156116c5573d6000803e3d6000fd5b505050506040513d60208110156116db57600080fd5b5051600e80546001600160a01b0319166001600160a01b039283161790819055166117375760405162461bcd60e51b815260040180806020018281038252602e8152602001806129ca602e913960400191505060405180910390fd5b600e54600d546040516001600160a01b03928316929091169033907fd4359230835d0c79972b7780914a403c7cdba8320af86bb1f31b3baf99c0c7c190600090a450565b600d546001600160a01b031681565b600f546001600160a01b031633146117d35760405162461bcd60e51b81526004018080602001828103825260248152602001806128686024913960400191505060405180910390fd5b6001600160a01b0382166000818152600a6020908152604091829020805460ff19168515159081179091558251908152915133927fad1345fc53231babc9be2f696e0c5ad43f72622f29b9e4b3b10e538f5ee7d25992908290030190a35050565b693cfc82e37e9a7400000090565b600c5481565b600f546001600160a01b031633146118915760405162461bcd60e51b81526004018080602001828103825260248152602001806128686024913960400191505060405180910390fd5b6001600160a01b038216600081815260086020908152604091829020805460ff19168515159081179091558251908152915133927f018fbba1b69799d0633d23b5ecdd20262da54942a71f7bb1ec1ff5c7c4a530a092908290030190a35050565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b6107d081565b60086020526000908152604090205460ff1681565b611940611a4b565b6001600160a01b03166119516111fb565b6001600160a01b03161461199a576040805162461bcd60e51b81526020600482018190526024820152600080516020612848833981519152604482015290519081900360640190fd5b6001600160a01b0381166119df5760405162461bcd60e51b81526004018080602001828103825260268152602001806126db6026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6006546301000000900461ffff1681565b3390565b6001600160a01b038316611a945760405162461bcd60e51b81526004018080602001828103825260248152602001806126b76024913960400191505060405180910390fd5b6001600160a01b038216611ad95760405162461bcd60e51b81526004018080602001828103825260228152602001806129f86022913960400191505060405180910390fd5b6001600160a01b03808416600081815260026020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b8282826000611b48611484565b1115611bdb576001600160a01b0383166000908152600a602052604090205460ff16158015611b9057506001600160a01b0382166000908152600a602052604090205460ff16155b15611bdb57611b9d611484565b811115611bdb5760405162461bcd60e51b815260040180806020018281038252603f815260200180612809603f913960400191505060405180910390fd5b600b5460ff1615156001148015611bfc5750600e54600160a01b900460ff16155b8015611c125750600d546001600160a01b031615155b8015611c285750600e546001600160a01b031615155b8015611c425750600e546001600160a01b03878116911614155b8015611c675750611c516111fb565b6001600160a01b0316866001600160a01b031614155b15611c7457611c7461211e565b6001600160a01b03851661dead1480611c9a5750600f546001600160a01b038781169116145b80611cbd57506001600160a01b03851660009081526007602052604090205460ff165b80611ce057506001600160a01b03861660009081526008602052604090205460ff165b80611cf45750600654610100900461ffff16155b15611d0957611d04868686612283565b611e17565b600654600090611d2b90612710906114a8908890610100900461ffff1661205e565b600654909150600090611d51906064906114a89085906301000000900461ffff1661205e565b90506000611d5f83836123d5565b90508082018314611da15760405162461bcd60e51b81526004018080602001828103825260238152602001806127c56023913960400191505060405180910390fd5b6000611dad88856123d5565b90508381018814611def5760405162461bcd60e51b815260040180806020018281038252602281526020018061273a6022913960400191505060405180910390fd5b611dfc8a61dead85612283565b611e078a3084612283565b611e128a8a83612283565b505050505b505050505050565b60008184841115611eae5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611e73578181015183820152602001611e5b565b50505050905090810190601f168015611ea05780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600082820183811015611f10576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b6001600160a01b038216611f72576040805162461bcd60e51b815260206004820152601f60248201527f42455032303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b600354693cfc82e37e9a7400000090611f8b9083611eb6565b1115611fd3576040805162461bcd60e51b815260206004820152601260248201527113585e081cdd5c1c1b1e481c995858da195960721b604482015290519081900360640190fd5b600354611fe09082611eb6565b6003556001600160a01b0382166000908152600160205260409020546120069082611eb6565b6001600160a01b03831660008181526001602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b60008261206d57506000610a8a565b8282028284828161207a57fe5b0414611f105760405162461bcd60e51b81526004018080602001828103825260218152602001806127e86021913960400191505060405180910390fd5b600080821161210d576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b81838161211657fe5b049392505050565b600e805460ff60a01b1916600160a01b1790556006805462ffff0019811690915561ffff61010090910416600061215430611125565b90506000612160611484565b905080821161216f5781612171565b805b9150600c54821061225657600c54600061218c8260026120b7565b905060006121aa6121a360646114a885605061205e565b84906123d5565b90506121b582612432565b73e62b207d82fc3d6e9ff96f20ee33d869ad2171b16108fc6121dd60646114a847601461205e565b6040518115909202916000818181858888f19350505050158015612205573d6000803e3d6000fd5b504761221182826125d8565b604080518481526020810183905280820184905290517f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619181900360600190a1505050505b50506006805461ffff9092166101000262ffff0019909216919091179055600e805460ff60a01b19169055565b6001600160a01b0383166122c85760405162461bcd60e51b81526004018080602001828103825260258152602001806126926025913960400191505060405180910390fd5b6001600160a01b03821661230d5760405162461bcd60e51b81526004018080602001828103825260238152602001806128b26023913960400191505060405180910390fd5b61234a8160405180606001604052806026815260200161288c602691396001600160a01b0386166000908152600160205260409020549190611e1f565b6001600160a01b0380851660009081526001602052604080822093909355908416815220546123799082611eb6565b6001600160a01b0380841660008181526001602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b60008282111561242c576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b6040805160028082526060808301845292602083019080368337019050509050308160008151811061246057fe5b6001600160a01b03928316602091820292909201810191909152600d54604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b1580156124b457600080fd5b505afa1580156124c8573d6000803e3d6000fd5b505050506040513d60208110156124de57600080fd5b50518151829060019081106124ef57fe5b6001600160a01b039283166020918202929092010152600d546125159130911684611a4f565b600d5460405163791ac94760e01b8152600481018481526000602483018190523060648401819052426084850181905260a060448601908152875160a487015287516001600160a01b039097169663791ac947968a968a9594939092909160c40190602080880191028083838b5b8381101561259b578181015183820152602001612583565b505050509050019650505050505050600060405180830381600087803b1580156125c457600080fd5b505af1158015611e17573d6000803e3d6000fd5b600d546125f09030906001600160a01b031684611a4f565b600d546040805163f305d71960e01b815230600482015260248101859052600060448201819052606482015261dead60848201524260a482015290516001600160a01b039092169163f305d71991849160c480830192606092919082900301818588803b15801561266057600080fd5b505af1158015612674573d6000803e3d6000fd5b50505050506040513d606081101561268b57600080fd5b5050505056fe42455032303a207472616e736665722066726f6d20746865207a65726f206164647265737342455032303a20617070726f76652066726f6d20746865207a65726f20616464726573734f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737358504153543a3a7472616e736665724f70657261746f723a206e6577206f70657261746f7220697320746865207a65726f206164647265737358504153543a3a7472616e736665723a205461782076616c756520696e76616c696442455032303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636558504153543a3a7570646174654275726e526174653a204275726e20466565206d757374206e6f742065786365656420746865206d6178696d756d20726174652e58504153543a3a7472616e736665723a204275726e2076616c756520696e76616c6964536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7758504153543a3a616e74695768616c653a205472616e7366657220616d6f756e74206578636565647320746865206d61785472616e73666572416d6f756e744f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726f70657261746f723a2063616c6c6572206973206e6f7420746865206f70657261746f7242455032303a207472616e7366657220616d6f756e7420657863656564732062616c616e636542455032303a207472616e7366657220746f20746865207a65726f206164647265737342455032303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726f58504153543a3a7570646174654d61785472616e73666572416d6f756e74526174653a204d696e207472616e7366657220616d6f756e7420746f204c6f772e58504153543a3a7570646174655472616e73666572546178526174653a205472616e73666572207461782072617465206d757374206e6f742065786365656420746865206d6178696d756d20726174652e58504153543a3a7570646174654d61785472616e73666572416d6f756e74526174653a204d6178207472616e7366657220616d6f756e7420746f20486967682e58504153543a3a75706461746553776170526f757465723a20496e76616c6964207061697220616464726573732e42455032303a20617070726f766520746f20746865207a65726f2061646472657373a26469706673582212202c7e5addb57ac8e18817e8c77ed9e59409511327a1563b48868322b346452f4164736f6c634300060c0033
Deployed ByteCode Sourcemap
46237:13255:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27615:92;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29198:161;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;29198:161:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;46945:46;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;46945:46:0;-1:-1:-1;;;;;46945:46:0;;:::i;28091:100::-;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;29830:397;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;29830:397:0;;;;;;;;;;;;;;;;;:::i;47694:23::-;;;;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;47694:23:0;;;;;;;;;;;;;;54997:136;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;54997:136:0;-1:-1:-1;;;;;54997:136:0;;:::i;59213:274::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;59213:274:0;-1:-1:-1;;;;;59213:274:0;;:::i;:::-;;27774:92;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;55344:349;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;55344:349:0;;;;:::i;30635:210::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;30635:210:0;;;;;;;;:::i;46672:84::-;;;;;;;;;;;;;:::i;46514:36::-;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;47207:43;;;;;;;;;;;;;:::i;50612:99::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;50612:99:0;;;;;;;;:::i;47421:41::-;;;;;;;;;;;;;:::i;58962:85::-;;;;;;;;;;;;;:::i;55805:262::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;55805:262:0;;;;:::i;58638:236::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;58638:236:0;;;;;;;;;;:::i;56199:491::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;56199:491:0;;;;:::i;28349:119::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;28349:119:0;-1:-1:-1;;;;;28349:119:0;;:::i;6278:148::-;;;;;;;;;;;;;:::i;27458:94::-;;;;;;;;;;;;;:::i;5627:87::-;;;;;;;;;;;;;:::i;27931:96::-;;;;;;;;;;;;;:::i;57510:189::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;57510:189:0;;;;:::i;31876:130::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;31876:130:0;;:::i;56815:209::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;56815:209:0;;:::i;31347:311::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;31347:311:0;;;;;;;;:::i;28680:167::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;28680:167:0;;;;;;;;:::i;54767:136::-;;;;;;;;;;;;;:::i;47978:77::-;;;;;;;;;;;;;:::i;46330:35::-;;;;;;;;;;;;;:::i;57814:469::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;57814:469:0;-1:-1:-1;;;;;57814:469:0;;:::i;47620:36::-;;;;;;;;;;;;;:::i;57161:224::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;57161:224:0;;;;;;;;;;:::i;28199:86::-;;;;;;;;;;;;;:::i;47526:44::-;;;;;;;;;;;;;:::i;58412:218::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;58412:218:0;;;;;;;;;;:::i;28909:143::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;28909:143:0;;;;;;;;;;:::i;46599:40::-;;;;;;;;;;;;;:::i;47069:43::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;47069:43:0;-1:-1:-1;;;;;47069:43:0;;:::i;6581:244::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;6581:244:0;-1:-1:-1;;;;;6581:244:0;;:::i;46427:26::-;;;;;;;;;;;;;:::i;27615:92::-;27694:5;27687:12;;;;;;;;-1:-1:-1;;27687:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27661:13;;27687:12;;27694:5;;27687:12;;27694:5;27687:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27615:92;:::o;29198:161::-;29273:4;29290:39;29299:12;:10;:12::i;:::-;29313:7;29322:6;29290:8;:39::i;:::-;-1:-1:-1;29347:4:0;29198:161;;;;;:::o;46945:46::-;;;;;;;;;;;;;;;:::o;28091:100::-;28171:12;;28091:100;:::o;29830:397::-;29962:4;29979:36;29989:6;29997:9;30008:6;29979:9;:36::i;:::-;30026:171;30049:6;30070:12;:10;:12::i;:::-;30097:89;30135:6;30097:89;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;30097:19:0;;;;;;:11;:19;;;;;;30117:12;:10;:12::i;:::-;-1:-1:-1;;;;;30097:33:0;;;;;;;;;;;;-1:-1:-1;30097:33:0;;;:89;:37;:89::i;:::-;30026:8;:171::i;:::-;-1:-1:-1;30215:4:0;29830:397;;;;;:::o;47694:23::-;;;-1:-1:-1;;;;;47694:23:0;;:::o;54997:136::-;-1:-1:-1;;;;;55093:32:0;55069:4;55093:32;;;:22;:32;;;;;;;;;54997:136::o;59213:274::-;49228:9;;-1:-1:-1;;;;;49228:9:0;49241:10;49228:23;49220:72;;;;-1:-1:-1;;;49220:72:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;59299:25:0;::::1;59291:95;;;;-1:-1:-1::0;;;59291:95:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;59422:9;::::0;59402:43:::1;::::0;-1:-1:-1;;;;;59402:43:0;;::::1;::::0;59422:9:::1;::::0;59402:43:::1;::::0;59422:9:::1;::::0;59402:43:::1;59456:9;:23:::0;;-1:-1:-1;;;;;;59456:23:0::1;-1:-1:-1::0;;;;;59456:23:0;;;::::1;::::0;;;::::1;::::0;;59213:274::o;27774:92::-;27849:9;;;;27774:92;:::o;55344:349::-;49228:9;;-1:-1:-1;;;;;49228:9:0;49241:10;49228:23;49220:72;;;;-1:-1:-1;;;49220:72:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46635:4:::1;55439:30;::::0;::::1;;;55431:124;;;;-1:-1:-1::0;;;55431:124:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55606:15;::::0;55571:69:::1;::::0;;55606:15:::1;;::::0;;::::1;::::0;::::1;55571:69:::0;;;;::::1;;::::0;::::1;::::0;;;55594:10:::1;::::0;55571:69:::1;::::0;;;;;;;::::1;55651:15;:34:::0;;::::1;::::0;;::::1;;;-1:-1:-1::0;;55651:34:0;;::::1;::::0;;;::::1;::::0;;55344:349::o;30635:210::-;30715:4;30732:83;30741:12;:10;:12::i;:::-;30755:7;30764:50;30803:10;30764:11;:25;30776:12;:10;:12::i;:::-;-1:-1:-1;;;;;30764:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;30764:25:0;;;:34;;;;;;;;;;;:38;:50::i;46672:84::-;46714:42;46672:84;:::o;46514:36::-;;;;;;;;;:::o;47207:43::-;;;;;;:::o;50612:99::-;5858:12;:10;:12::i;:::-;-1:-1:-1;;;;;5847:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;5847:23:0;;5839:68;;;;;-1:-1:-1;;;5839:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;5839:68:0;;;;;;;;;;;;;;;50684:19:::1;50690:3;50695:7;50684:5;:19::i;:::-;50612:99:::0;;:::o;47421:41::-;;;;;;:::o;58962:85::-;59030:9;;-1:-1:-1;;;;;59030:9:0;58962:85;:::o;55805:262::-;49228:9;;-1:-1:-1;;;;;49228:9:0;49241:10;49228:23;49220:72;;;;-1:-1:-1;;;49220:72:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55896:3:::1;55884:8;:15;;;;55876:93;;;;-1:-1:-1::0;;;55876:93:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56012:7;::::0;55985:45:::1;::::0;;56012:7:::1;::::0;;;::::1;::::0;::::1;55985:45:::0;;;;::::1;;::::0;::::1;::::0;;;56000:10:::1;::::0;55985:45:::1;::::0;;;;;;;::::1;56041:7;:18:::0;;::::1;::::0;;::::1;::::0;::::1;-1:-1:-1::0;;56041:18:0;;::::1;::::0;;;::::1;::::0;;55805:262::o;58638:236::-;49228:9;;-1:-1:-1;;;;;49228:9:0;49241:10;49228:23;49220:72;;;;-1:-1:-1;;;49220:72:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;58744:35:0;::::1;;::::0;;;:14:::1;:35;::::0;;;;;;;;:44;;-1:-1:-1;;58744:44:0::1;::::0;::::1;;::::0;;::::1;::::0;;;58804:62;;;;;;;58826:10:::1;::::0;58804:62:::1;::::0;;;;;;;::::1;58638:236:::0;;:::o;56199:491::-;49228:9;;-1:-1:-1;;;;;49228:9:0;49241:10;49228:23;49220:72;;;;-1:-1:-1;;;49220:72:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56332:5:::1;56306:22;:31;;;;56298:108;;;;-1:-1:-1::0;;;56298:108:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56451:3;56425:22;:29;;;;56417:105;;;;-1:-1:-1::0;;;56417:105:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56579:21;::::0;56538:87:::1;::::0;;56579:21:::1;::::0;;::::1;56538:87:::0;;;;::::1;;::::0;::::1;::::0;;;56567:10:::1;::::0;56538:87:::1;::::0;;;;;;;::::1;56636:21;:46:::0;;-1:-1:-1;;56636:46:0::1;;::::0;;;::::1;::::0;;;::::1;::::0;;56199:491::o;28349:119::-;-1:-1:-1;;;;;28442:18:0;28415:7;28442:18;;;:9;:18;;;;;;;28349:119::o;6278:148::-;5858:12;:10;:12::i;:::-;-1:-1:-1;;;;;5847:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;5847:23:0;;5839:68;;;;;-1:-1:-1;;;5839:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;5839:68:0;;;;;;;;;;;;;;;6385:1:::1;6369:6:::0;;6348:40:::1;::::0;-1:-1:-1;;;;;6369:6:0;;::::1;::::0;6348:40:::1;::::0;6385:1;;6348:40:::1;6416:1;6399:19:::0;;-1:-1:-1;;;;;;6399:19:0::1;::::0;;6278:148::o;27458:94::-;27510:7;27537;:5;:7::i;:::-;27530:14;;27458:94;:::o;5627:87::-;5673:7;5700:6;-1:-1:-1;;;;;5700:6:0;5627:87;:::o;27931:96::-;28012:7;28005:14;;;;;;;;-1:-1:-1;;28005:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27979:13;;28005:14;;28012:7;;28005:14;;28012:7;28005:14;;;;;;;;;;;;;;;;;;;;;;;;57510:189;49228:9;;-1:-1:-1;;;;;49228:9:0;49241:10;49228:23;49220:72;;;;-1:-1:-1;;;49220:72:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57598:50:::1;::::0;;;::::1;;::::0;;;;57627:10:::1;::::0;57598:50:::1;::::0;;;;;::::1;::::0;;::::1;57659:21;:32:::0;;-1:-1:-1;;57659:32:0::1;::::0;::::1;;::::0;;;::::1;::::0;;57510:189::o;31876:130::-;31932:4;5858:12;:10;:12::i;:::-;-1:-1:-1;;;;;5847:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;5847:23:0;;5839:68;;;;;-1:-1:-1;;;5839:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;5839:68:0;;;;;;;;;;;;;;;31949:27:::1;31955:12;:10;:12::i;:::-;31969:6;31949:5;:27::i;:::-;-1:-1:-1::0;31994:4:0::1;31876:130:::0;;;:::o;56815:209::-;49228:9;;-1:-1:-1;;;;;49228:9:0;49241:10;49228:23;49220:72;;;;-1:-1:-1;;;49220:72:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56943:18:::1;::::0;56905:69:::1;::::0;;;;;::::1;::::0;::::1;::::0;;;;;56931:10:::1;::::0;56905:69:::1;::::0;;;;;;;::::1;56985:18;:31:::0;56815:209::o;31347:311::-;31432:4;31449:179;31472:12;:10;:12::i;:::-;31499:7;31521:96;31560:15;31521:96;;;;;;;;;;;;;;;;;:11;:25;31533:12;:10;:12::i;:::-;-1:-1:-1;;;;;31521:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;31521:25:0;;;:34;;;;;;;;;;;:96;:38;:96::i;28680:167::-;28758:4;28775:42;28785:12;:10;:12::i;:::-;28799:9;28810:6;28775:9;:42::i;54767:136::-;54862:21;;54817:7;;54844:51;;54889:5;;54844:40;;54862:21;;54844:13;:11;:13::i;:::-;:17;;:40::i;:::-;:44;;:51::i;47978:77::-;48013:42;47978:77;:::o;46330:35::-;;;;;;;;;:::o;57814:469::-;49228:9;;-1:-1:-1;;;;;49228:9:0;49241:10;49228:23;49220:72;;;;-1:-1:-1;;;49220:72:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57905:10:::1;::::0;-1:-1:-1;;;;;57905:10:0::1;57897:33:::0;57888:65:::1;;;::::0;;-1:-1:-1;;;57888:65:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;57888:65:0;;;;;;;;;;;;;::::1;;57964:10;:40:::0;;-1:-1:-1;;;;;;57964:40:0::1;-1:-1:-1::0;;;;;57964:40:0;;::::1;::::0;;;::::1;::::0;;;;58044:20:::1;::::0;;-1:-1:-1;;;58044:20:0;;;;:10;;;::::1;::::0;:18:::1;::::0;:20:::1;::::0;;::::1;::::0;::::1;::::0;;;;;;;;;:10;:20;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;58044:20:0;58089:10:::1;::::0;:17:::1;::::0;;-1:-1:-1;;;58089:17:0;;;;-1:-1:-1;;;;;58026:47:0;;::::1;::::0;::::1;::::0;58082:4:::1;::::0;58089:10;::::1;::::0;:15:::1;::::0;:17:::1;::::0;;::::1;::::0;58044:20:::1;::::0;58089:17;;;;;;;;:10;:17;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;58089:17:0;58026:81:::1;::::0;;-1:-1:-1;;;;;;58026:81:0::1;::::0;;;;;;-1:-1:-1;;;;;58026:81:0;;::::1;;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;58089:17:::1;::::0;58026:81;;;;;;;;;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;58026:81:0;58015:8:::1;:92:::0;;-1:-1:-1;;;;;;58015:92:0::1;-1:-1:-1::0;;;;;58015:92:0;;::::1;;::::0;;;;58126:8:::1;58118:81;;;;-1:-1:-1::0;;;58118:81:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;58266:8;::::0;58253:10:::1;::::0;58215:60:::1;::::0;-1:-1:-1;;;;;58266:8:0;;::::1;::::0;58253:10;;::::1;::::0;58233::::1;::::0;58215:60:::1;::::0;58266:8:::1;::::0;58215:60:::1;57814:469:::0;:::o;47620:36::-;;;-1:-1:-1;;;;;47620:36:0;;:::o;57161:224::-;49228:9;;-1:-1:-1;;;;;49228:9:0;49241:10;49228:23;49220:72;;;;-1:-1:-1;;;49220:72:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;57260:32:0;::::1;;::::0;;;:22:::1;:32;::::0;;;;;;;;:44;;-1:-1:-1;;57260:44:0::1;::::0;::::1;;::::0;;::::1;::::0;;;57320:57;;;;;;;57345:10:::1;::::0;57320:57:::1;::::0;;;;;;;::::1;57161:224:::0;;:::o;28199:86::-;26900:12;28199:86;:::o;47526:44::-;;;;:::o;58412:218::-;49228:9;;-1:-1:-1;;;;;49228:9:0;49241:10;49228:23;49220:72;;;;-1:-1:-1;;;49220:72:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;58512:29:0;::::1;;::::0;;;:11:::1;:29;::::0;;;;;;;;:38;;-1:-1:-1;;58512:38:0::1;::::0;::::1;;::::0;;::::1;::::0;;;58566:56;;;;;;;58585:10:::1;::::0;58566:56:::1;::::0;;;;;;;::::1;58412:218:::0;;:::o;28909:143::-;-1:-1:-1;;;;;29017:18:0;;;28990:7;29017:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;28909:143::o;46599:40::-;46635:4;46599:40;:::o;47069:43::-;;;;;;;;;;;;;;;:::o;6581:244::-;5858:12;:10;:12::i;:::-;-1:-1:-1;;;;;5847:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;5847:23:0;;5839:68;;;;;-1:-1:-1;;;5839:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;5839:68:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;6670:22:0;::::1;6662:73;;;;-1:-1:-1::0;;;6662:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6772:6;::::0;;6751:38:::1;::::0;-1:-1:-1;;;;;6751:38:0;;::::1;::::0;6772:6;::::1;::::0;6751:38:::1;::::0;::::1;6800:6;:17:::0;;-1:-1:-1;;;;;;6800:17:0::1;-1:-1:-1::0;;;;;6800:17:0;;;::::1;::::0;;;::::1;::::0;;6581:244::o;46427:26::-;;;;;;;;;:::o;4251:106::-;4339:10;4251:106;:::o;34799:372::-;-1:-1:-1;;;;;34927:19:0;;34919:68;;;;-1:-1:-1;;;34919:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;35006:21:0;;34998:68;;;;-1:-1:-1;;;34998:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;35079:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;35131:32;;;;;;;;;;;;;;;;;34799:372;;;:::o;50789:1588::-;50895:6;50903:9;50914:6;49427:1;49405:19;:17;:19::i;:::-;:23;49401:335;;;-1:-1:-1;;;;;49467:30:0;;;;;;:22;:30;;;;;;;;:39;;;:102;;-1:-1:-1;;;;;;49527:33:0;;;;;;:22;:33;;;;;;;;:42;49467:102;49445:280;;;49622:19;:17;:19::i;:::-;49612:6;:29;;49604:105;;;;-1:-1:-1;;;49604:105:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50980:21:::1;::::0;::::1;;:29;;:21:::0;:29:::1;:72:::0;::::1;;;-1:-1:-1::0;51026:17:0::1;::::0;-1:-1:-1;;;51026:17:0;::::1;;;:26;50980:72;:122;;;;-1:-1:-1::0;51077:10:0::1;::::0;-1:-1:-1;;;;;51077:10:0::1;51069:33:::0;::::1;50980:122;:161;;;;-1:-1:-1::0;51119:8:0::1;::::0;-1:-1:-1;;;;;51119:8:0::1;:22:::0;::::1;50980:161;:196;;;;-1:-1:-1::0;51168:8:0::1;::::0;-1:-1:-1;;;;;51158:18:0;;::::1;51168:8:::0;::::1;51158:18;;50980:196;:276;;;;;51249:7;:5;:7::i;:::-;-1:-1:-1::0;;;;;51239:17:0::1;:6;-1:-1:-1::0;;;;;51239:17:0::1;;;50980:276;50962:375;;;51318:16;:14;:16::i;:::-;-1:-1:-1::0;;;;;51353:21:0;::::1;46825:42;51353:21;::::0;:44:::1;;-1:-1:-1::0;51388:9:0::1;::::0;-1:-1:-1;;;;;51378:19:0;;::::1;51388:9:::0;::::1;51378:19;51353:44;:82;;;-1:-1:-1::0;;;;;;51410:25:0;::::1;;::::0;;;:14:::1;:25;::::0;;;;;::::1;;51353:82;:105;;;-1:-1:-1::0;;;;;;51439:19:0;::::1;;::::0;;;:11:::1;:19;::::0;;;;;::::1;;51353:105;:138;;;-1:-1:-1::0;51471:15:0::1;::::0;::::1;::::0;::::1;;;:20:::0;51353:138:::1;51349:1021;;;51511:42;51527:6;51535:9;51546:6;51511:15;:42::i;:::-;51349:1021;;;51708:15;::::0;51677:17:::1;::::0;51697:38:::1;::::0;51729:5:::1;::::0;51697:27:::1;::::0;:6;;51708:15:::1;::::0;::::1;;;51697:10;:27::i;:38::-;51785:7;::::0;51677:58;;-1:-1:-1;51750:18:0::1;::::0;51771:31:::1;::::0;51798:3:::1;::::0;51771:22:::1;::::0;51677:58;;51785:7;;::::1;;;51771:13;:22::i;:31::-;51750:52:::0;-1:-1:-1;51817:17:0::1;51837:25;:9:::0;51750:52;51837:13:::1;:25::i;:::-;51817:45;;51911:9;51898:10;:22;51885:9;:35;51877:83;;;;-1:-1:-1::0;;;51877:83:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52035:18;52056:21;:6:::0;52067:9;52056:10:::1;:21::i;:::-;52035:42;;52123:9;52110:10;:22;52100:6;:32;52092:79;;;;-1:-1:-1::0;;;52092:79:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52188:45;52204:6;46825:42;52222:10;52188:15;:45::i;:::-;52248:49;52264:6;52280:4;52287:9;52248:15;:49::i;:::-;52312:46;52328:6;52336:9;52347:10;52312:15;:46::i;:::-;51349:1021;;;;;50789:1588:::0;;;;;;:::o;15522:166::-;15608:7;15644:12;15636:6;;;;15628:29;;;;-1:-1:-1;;;15628:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;15675:5:0;;;15522:166::o;12695:179::-;12753:7;12785:5;;;12809:6;;;;12801:46;;;;;-1:-1:-1;;;12801:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;12865:1;12695:179;-1:-1:-1;;;12695:179:0:o;33292:387::-;-1:-1:-1;;;;;33368:21:0;;33360:65;;;;;-1:-1:-1;;;33360:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;33444:12;;26900;;33444:24;;33461:6;33444:16;:24::i;:::-;:37;;33436:68;;;;;-1:-1:-1;;;33436:68:0;;;;;;;;;;;;-1:-1:-1;;;33436:68:0;;;;;;;;;;;;;;;33532:12;;:24;;33549:6;33532:16;:24::i;:::-;33517:12;:39;-1:-1:-1;;;;;33588:18:0;;;;;;:9;:18;;;;;;:30;;33611:6;33588:22;:30::i;:::-;-1:-1:-1;;;;;33567:18:0;;;;;;:9;:18;;;;;;;;:51;;;;33634:37;;;;;;;33567:18;;;;33634:37;;;;;;;;;;33292:387;;:::o;13574:220::-;13632:7;13656:6;13652:20;;-1:-1:-1;13671:1:0;13664:8;;13652:20;13695:5;;;13699:1;13695;:5;:1;13719:5;;;;;:10;13711:56;;;;-1:-1:-1;;;13711:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14272:153;14330:7;14362:1;14358;:5;14350:44;;;;;-1:-1:-1;;;14350:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;14416:1;14412;:5;;;;;;;14272:153;-1:-1:-1;;;14272:153:0:o;52416:1126::-;49795:17;:24;;-1:-1:-1;;;;49795:24:0;-1:-1:-1;;;49795:24:0;;;49945:15:::1;::::0;;-1:-1:-1;;49971:19:0;::::1;::::0;;;49945:15:::1;49795:24:::0;49945:15;;::::1;;49795:24:::0;52520::::2;52538:4;52520:9;:24::i;:::-;52489:55;;52555:25;52583:19;:17;:19::i;:::-;52555:47;;52659:17;52636:20;:40;:83;;52699:20;52636:83;;;52679:17;52636:83;52613:106;;52760:18;;52736:20;:42;52732:803;;52862:18;::::0;52838:21:::2;52965:20;52862:18:::0;52983:1:::2;52965:17;:20::i;:::-;52950:35:::0;-1:-1:-1;53000:17:0::2;53020:40;53038:21;53055:3;53038:12;52950:35:::0;53047:2:::2;53038:8;:12::i;:21::-;53020:13:::0;;:17:::2;:40::i;:::-;53000:60;;53113:22;53130:4;53113:16;:22::i;:::-;46714:42;53207:56;53224:38;53258:3;53224:29;:21;53250:2;53224:25;:29::i;:38::-;53207:56;::::0;;::::2;::::0;;::::2;::::0;::::2;::::0;;;;;;::::2;;;;;;;;;;;;;::::0;::::2;;;;;-1:-1:-1::0;53355:21:0::2;53423:35;53436:9:::0;53355:21;53423:12:::2;:35::i;:::-;53480:43;::::0;;;;;::::2;::::0;::::2;::::0;;;;;;;;;;;::::2;::::0;;;;;;;::::2;52732:803;;;;;-1:-1:-1::0;;50013:15:0::1;:34:::0;;::::1;::::0;;::::1;;;-1:-1:-1::0;;50013:34:0;;::::1;::::0;;;::::1;::::0;;49842:17;:25;;-1:-1:-1;;;;49842:25:0;;;52416:1126::o;32496:513::-;-1:-1:-1;;;;;32636:20:0;;32628:70;;;;-1:-1:-1;;;32628:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;32717:23:0;;32709:71;;;;-1:-1:-1;;;32709:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32813;32835:6;32813:71;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;32813:17:0;;;;;;:9;:17;;;;;;;:71;:21;:71::i;:::-;-1:-1:-1;;;;;32793:17:0;;;;;;;:9;:17;;;;;;:91;;;;32918:20;;;;;;;:32;;32943:6;32918:24;:32::i;:::-;-1:-1:-1;;;;;32895:20:0;;;;;;;:9;:20;;;;;;;;;:55;;;;32966:35;;;;;;;32895:20;;32966:35;;;;;;;;;;;;;32496:513;;;:::o;13157:158::-;13215:7;13248:1;13243;:6;;13235:49;;;;;-1:-1:-1;;;13235:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;13302:5:0;;;13157:158::o;53584:571::-;53731:16;;;53745:1;53731:16;;;53707:21;53731:16;;;;;53707:21;53731:16;;;;;;;;;;-1:-1:-1;53731:16:0;53707:40;;53776:4;53758;53763:1;53758:7;;;;;;;;-1:-1:-1;;;;;53758:23:0;;;:7;;;;;;;;;;:23;;;;53802:10;;:17;;;-1:-1:-1;;;53802:17:0;;;;:10;;;;;:15;;:17;;;;;53758:7;;53802:17;;;;;:10;:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;53802:17:0;53792:7;;:4;;53797:1;;53792:7;;;;;;-1:-1:-1;;;;;53792:27:0;;;:7;;;;;;;;;:27;53864:10;;53832:57;;53849:4;;53864:10;53877:11;53832:8;:57::i;:::-;53928:10;;:219;;-1:-1:-1;;;53928:219:0;;;;;;;;:10;:219;;;;;;54101:4;53928:219;;;;;;54121:15;53928:219;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;53928:10:0;;;;:61;;54004:11;;54074:4;;54101;54121:15;53928:219;;;;;;;;;;;;;;;;:10;:219;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54191:504;54371:10;;54339:57;;54356:4;;-1:-1:-1;;;;;54371:10:0;54384:11;54339:8;:57::i;:::-;54439:10;;:248;;;-1:-1:-1;;;54439:248:0;;54506:4;54439:248;;;;;;;;;;:10;:248;;;;;;;;;;48013:42;54439:248;;;;54661:15;54439:248;;;;;;-1:-1:-1;;;;;54439:10:0;;;;:26;;54473:9;;54439:248;;;;;;;;;;;;;;54473:9;54439:10;:248;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;54191:504:0:o
Swarm Source
ipfs://2c7e5addb57ac8e18817e8c77ed9e59409511327a1563b48868322b346452f41
Age | Block | Fee Address | BC Fee Address | Voting Power | Jailed | Incoming |
---|
Validator ID :
0 FTM
Amount Staked
0
Amount Delegated
0
Staking Total
0
Staking Start Epoch
0
Staking Start Time
0
Proof of Importance
0
Origination Score
0
Validation Score
0
Active
0
Online
0
Downtime
0 s
Address | Amount | claimed Rewards | Created On Epoch | Created On |
---|
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.