More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 13,246 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Approve | 45571227 | 10 hrs ago | IN | 0 BNB | 0.00023287 | ||||
Approve | 45403273 | 6 days ago | IN | 0 BNB | 0.00002672 | ||||
Approve | 44724092 | 29 days ago | IN | 0 BNB | 0.00013896 | ||||
Approve | 44650745 | 32 days ago | IN | 0 BNB | 0.000094 | ||||
Approve | 44588648 | 34 days ago | IN | 0 BNB | 0.00007923 | ||||
Approve | 44588647 | 34 days ago | IN | 0 BNB | 0.00013893 | ||||
Approve | 44497659 | 37 days ago | IN | 0 BNB | 0.00002672 | ||||
Approve | 43243306 | 81 days ago | IN | 0 BNB | 0.00002672 | ||||
Transfer | 42869331 | 94 days ago | IN | 0 BNB | 0.00012306 | ||||
Approve | 42693220 | 100 days ago | IN | 0 BNB | 0.00002672 | ||||
Approve | 42670403 | 101 days ago | IN | 0 BNB | 0.00002672 | ||||
Approve | 42653278 | 101 days ago | IN | 0 BNB | 0.00002672 | ||||
Approve | 42653276 | 101 days ago | IN | 0 BNB | 0.00002672 | ||||
Approve | 42130202 | 119 days ago | IN | 0 BNB | 0.00004657 | ||||
Approve | 42032353 | 123 days ago | IN | 0 BNB | 0.00004657 | ||||
Approve | 41453019 | 143 days ago | IN | 0 BNB | 0.00013972 | ||||
Approve | 40636835 | 171 days ago | IN | 0 BNB | 0.00004657 | ||||
Approve | 40636621 | 171 days ago | IN | 0 BNB | 0.00004657 | ||||
Approve | 40548008 | 175 days ago | IN | 0 BNB | 0.00002672 | ||||
Approve | 40535219 | 175 days ago | IN | 0 BNB | 0.00002672 | ||||
Transfer | 40524463 | 175 days ago | IN | 0 BNB | 0.00014016 | ||||
Approve | 40524210 | 175 days ago | IN | 0 BNB | 0.00004657 | ||||
Transfer | 40523565 | 175 days ago | IN | 0 BNB | 0.00014016 | ||||
Approve | 40031871 | 193 days ago | IN | 0 BNB | 0.00004657 | ||||
Approve | 39994487 | 194 days ago | IN | 0 BNB | 0.00013205 |
Latest 25 internal transactions (View All)
Loading...
Loading
Contract Name:
Moonlift
Compiler Version
v0.6.12+commit.27d51765
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity 0.6.12; import "./libs/SafeMath.sol"; import "./libs/Ownable.sol"; import "./libs/Address.sol"; import "./abstracts/Governance.sol"; import "./abstracts/BEP20WithFee.sol"; import "./interfaces/IUniswapV2Factory.sol"; import "./interfaces/IUniswapV2Router02.sol"; contract Moonlift is BEP20WithFee("Moonlift", "MLTP"), Governance { using Address for address; constructor(address router, address BUSD) public { if (router != address(0)) { _createPair(router, IUniswapV2Router02(router).WETH()); if (BUSD != address(0)) { _createPair(router, BUSD); } } // minting 100b to the owner setTaxless(_msgSender(), true); _mint(_msgSender(), 100_000_000_000e18); } function _createPair(address router, address token1) private { address pair = IUniswapV2Factory(IUniswapV2Router02(router).factory()).createPair(address(this), token1); _addPairToTrack(pair); rewardsExcluded[pair] = true; rewardsExcluded[getPairVault(pair)] = true; } // --==[ Public functions ]==-- function addPairToTrack(address pair) external onlyOwner { _addPairToTrack(pair); rewardsExcluded[pair] = true; rewardsExcluded[getPairVault(pair)] = true; } function burn(uint256 amount) external { _burn(_msgSender(), amount); } function burnFrom(address account, uint256 amount) external { uint256 decreasedAllowance = allowance(account, _msgSender()).sub( amount, "ERC20: burn amount exceeds allowance" ); _approve(account, _msgSender(), decreasedAllowance); _burn(account, amount); } function _balanceOf(address account) internal override view returns (uint256) { return balanceOf(account); } function _name() internal override view returns (string memory) { return name(); } }
// SPDX-License-Identifier: MIT pragma solidity 0.6.12; /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming languages. * `SafeMath` restores this intuition by reverting the transaction when an * operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return sub(a, b, "SafeMath: subtraction overflow"); } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers. Reverts on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return div(a, b, "SafeMath: division by zero"); } /** * @dev Returns the integer division of two unsigned integers. Reverts with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { // Solidity only automatically asserts when dividing by 0 require(b > 0, errorMessage); uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return mod(a, b, "SafeMath: modulo by zero"); } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts with custom message when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } }
// SPDX-License-Identifier: MIT pragma solidity 0.6.12; import "./Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor () internal { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } /** * @dev Returns the address of the current owner. */ function owner() public view returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(_owner == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public 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 onlyOwner { _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). */ function _transferOwnership(address newOwner) internal { require(newOwner != address(0), "Ownable: new owner is the zero address"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } }
// SPDX-License-Identifier: MIT pragma solidity 0.6.12; /** * @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 * // solhint-disable-next-line * 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); } 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); } } } }
// SPDX-License-Identifier: MIT pragma solidity 0.6.12; import "../libs/IBEP20.sol"; import "../libs/SafeMath.sol"; abstract contract Governance is IBEP20 { using SafeMath for uint256; // Copied and modified from YAM code: // https://github.com/yam-finance/yam-protocol/blob/master/contracts/token/YAMGovernanceStorage.sol // https://github.com/yam-finance/yam-protocol/blob/master/contracts/token/YAMGovernance.sol // Which is copied and modified from COMPOUND: // https://github.com/compound-finance/compound-protocol/blob/master/contracts/Governance/Comp.sol /// @dev A record of each accounts delegate mapping(address => address) internal _delegates; /// @notice A checkpoint for marking number of votes from a given block struct Checkpoint { uint32 fromBlock; uint256 votes; } /// @notice A record of votes checkpoints for each account, by index mapping(address => mapping(uint32 => Checkpoint)) public checkpoints; /// @notice The number of checkpoints for each account mapping(address => uint32) public numCheckpoints; /// @notice The EIP-712 typehash for the contract's domain bytes32 public constant DOMAIN_TYPEHASH = keccak256( "EIP712Domain(string name,uint256 chainId,address verifyingContract)" ); /// @notice The EIP-712 typehash for the delegation struct used by the contract bytes32 public constant DELEGATION_TYPEHASH = keccak256( "Delegation(address delegatee,uint256 nonce,uint256 expiry)" ); /// @notice A record of states for signing / validating signatures mapping(address => uint) public nonces; /// @notice An event thats emitted when an account changes its delegate event DelegateChanged( address indexed delegator, address indexed fromDelegate, address indexed toDelegate ); /// @notice An event thats emitted when a delegate account's vote balance changes event DelegateVotesChanged( address indexed delegate, uint previousBalance, uint newBalance ); /** * @notice Delegate votes from `msg.sender` to `delegatee` * @param delegator The address to get delegatee for */ function delegates(address delegator) external view returns (address) { return _delegates[delegator]; } /** * @notice Delegate votes from `msg.sender` to `delegatee` * @param delegatee The address to delegate votes to */ function delegate(address delegatee) external { return _delegate(msg.sender, delegatee); } /** * @notice Delegates votes from signatory to `delegatee` * @param delegatee The address to delegate votes to * @param nonce The contract state required to match the signature * @param expiry The time at which to expire the signature * @param v The recovery byte of the signature * @param r Half of the ECDSA signature pair * @param s Half of the ECDSA signature pair */ function delegateBySig( address delegatee, uint nonce, uint expiry, uint8 v, bytes32 r, bytes32 s ) external { bytes32 domainSeparator = keccak256( abi.encode( DOMAIN_TYPEHASH, keccak256(bytes(_name())), getChainId(), address(this) ) ); bytes32 structHash = keccak256( abi.encode( DELEGATION_TYPEHASH, delegatee, nonce, expiry ) ); bytes32 digest = keccak256( abi.encodePacked( "\x19\x01", domainSeparator, structHash ) ); address signatory = ecrecover(digest, v, r, s); require(signatory != address(0), "EGG::delegateBySig: invalid signature"); require(nonce == nonces[signatory]++, "EGG::delegateBySig: invalid nonce"); require(now <= expiry, "EGG::delegateBySig: signature expired"); return _delegate(signatory, delegatee); } /** * @notice Gets the current votes balance for `account` * @param account The address to get votes balance * @return The number of current votes for `account` */ function getCurrentVotes(address account) external view returns (uint256) { uint32 nCheckpoints = numCheckpoints[account]; return nCheckpoints > 0 ? checkpoints[account][nCheckpoints - 1].votes : 0; } /** * @notice Determine the prior number of votes for an account as of a block number * @dev Block number must be a finalized block or else this function will revert to prevent misinformation. * @param account The address of the account to check * @param blockNumber The block number to get the vote balance at * @return The number of votes the account had as of the given block */ function getPriorVotes(address account, uint blockNumber) external view returns (uint256) { require(blockNumber < block.number, "EGG::getPriorVotes: not yet determined"); uint32 nCheckpoints = numCheckpoints[account]; if (nCheckpoints == 0) { return 0; } // First check most recent balance if (checkpoints[account][nCheckpoints - 1].fromBlock <= blockNumber) { return checkpoints[account][nCheckpoints - 1].votes; } // Next check implicit zero balance if (checkpoints[account][0].fromBlock > blockNumber) { return 0; } uint32 lower = 0; uint32 upper = nCheckpoints - 1; while (upper > lower) { uint32 center = upper - (upper - lower) / 2; // ceil, avoiding overflow Checkpoint memory cp = checkpoints[account][center]; if (cp.fromBlock == blockNumber) { return cp.votes; } else if (cp.fromBlock < blockNumber) { lower = center; } else { upper = center - 1; } } return checkpoints[account][lower].votes; } function _delegate(address delegator, address delegatee) internal { address currentDelegate = _delegates[delegator]; uint256 delegatorBalance = _balanceOf(delegator); // balance of underlying EGGs (not scaled); _delegates[delegator] = delegatee; emit DelegateChanged(delegator, currentDelegate, delegatee); _moveDelegates(currentDelegate, delegatee, delegatorBalance); } function _moveDelegates(address srcRep, address dstRep, uint256 amount) internal { if (srcRep != dstRep && amount > 0) { if (srcRep != address(0)) { // decrease old representative uint32 srcRepNum = numCheckpoints[srcRep]; uint256 srcRepOld = srcRepNum > 0 ? checkpoints[srcRep][srcRepNum - 1].votes : 0; uint256 srcRepNew = srcRepOld.sub(amount); _writeCheckpoint(srcRep, srcRepNum, srcRepOld, srcRepNew); } if (dstRep != address(0)) { // increase new representative uint32 dstRepNum = numCheckpoints[dstRep]; uint256 dstRepOld = dstRepNum > 0 ? checkpoints[dstRep][dstRepNum - 1].votes : 0; uint256 dstRepNew = dstRepOld.add(amount); _writeCheckpoint(dstRep, dstRepNum, dstRepOld, dstRepNew); } } } function _writeCheckpoint( address delegatee, uint32 nCheckpoints, uint256 oldVotes, uint256 newVotes ) internal { uint32 blockNumber = safe32( block.number, "EGG::_writeCheckpoint: block number exceeds 32 bits" ); if (nCheckpoints > 0 && checkpoints[delegatee][nCheckpoints - 1].fromBlock == blockNumber) { checkpoints[delegatee][nCheckpoints - 1].votes = newVotes; } else { checkpoints[delegatee][nCheckpoints] = Checkpoint(blockNumber, newVotes); numCheckpoints[delegatee] = nCheckpoints + 1; } emit DelegateVotesChanged(delegatee, oldVotes, newVotes); } function safe32(uint n, string memory errorMessage) internal pure returns (uint32) { require(n < 2 ** 32, errorMessage); return uint32(n); } function getChainId() internal pure returns (uint) { uint256 chainId; // solhint-disable-next-line no-inline-assembly assembly {chainId := chainid()} return chainId; } function _balanceOf(address) internal virtual view returns(uint256); function _name() internal virtual view returns (string memory); }
// SPDX-License-Identifier: MIT pragma solidity 0.6.12; import "../interfaces/IUniswapV2Pair.sol"; import "../interfaces/IUniswapV2Router02.sol"; import "../libs/SafeMath.sol"; import "./PairsHolder.sol"; import "./BEP20WithHoldersDistribution.sol"; abstract contract BEP20WithFee is BEP20WithHoldersDistribution, PairsHolder { using SafeMath for uint256; // --==[ FEES ]==-- // Fees numbers are multiplied by 100 uint256 public buyFee = 500; // 5% uint256 public sellFee = 1000; // 10% uint256 public tokenHoldersPart = 5000; // 50% uint256 public lpPart = 2500; // 25% uint256 public burnPart = 1500; // 15% uint256 public projectPart = 1000; // 10% uint256 private constant minLPBalance = 1e18; // --==[ WALLETS ]==-- address public teamWallet; mapping(address => bool) public taxless; bool public isFeeActive = true; bool public isRewardActive = true; uint256 public minTokenBeforeReward = 100e18; // --==[ TOTALS ]==-- uint256 public totalBurnFee; uint256 public totalLpFee; uint256 public totalProtocolFee; uint256 public totalHoldersFee; // --==[ Events ]==-- event LpRewarded(address indexed lpPair, uint256 amount); event FeesUpdated( uint256 indexed buyFee, uint256 indexed sellFee, uint256 tokenHoldersPart, uint256 lpPart, uint256 burnPart, uint256 projectPart ); constructor(string memory name, string memory symbol) BEP20WithHoldersDistribution(name, symbol) internal { teamWallet = _msgSender(); } // --==[ External methods ]==-- function setFees( uint256 buyFee_, uint256 sellFee_, uint256 tokenHoldersPart_, uint256 lpPart_, uint256 burnPart_, uint256 projectPart_ ) external onlyOwner { require(buyFee_ < 10000, "sell fee should be less than 100%"); require(sellFee_ < 10000, "sell fee should be less than 100%"); require(tokenHoldersPart_.add(lpPart_).add(burnPart_).add(projectPart_) == 10000, "sum of tokenHolders/lp/burn/project parts should be 10000 (100%)"); buyFee = buyFee_; sellFee = sellFee_; tokenHoldersPart = tokenHoldersPart_; lpPart = lpPart_; burnPart = burnPart_; projectPart = projectPart_; emit FeesUpdated(buyFee, sellFee, tokenHoldersPart, lpPart, burnPart, projectPart); } function setMinTokenBeforeReward(uint256 amount) external onlyOwner { minTokenBeforeReward = amount; } function setFeeActive(bool value) external onlyOwner { isFeeActive = value; } function setRewardActive(bool value) external onlyOwner { isRewardActive = value; } function setTaxless(address account, bool value) public onlyOwner { require(account != address(0), "Taxless is zero-address"); taxless[account] = value; } function setTeamWallet(address account) external onlyOwner { require(account != address(0), "Team wallet is zero-address"); require(teamWallet != account, "Team wallet is the same"); // include old project wallet to rewards if (teamWallet != address(0)) { setTaxless(teamWallet, false); includeInRewards(teamWallet); } teamWallet = account; // exclude new project wallet to rewards if (teamWallet != address(0)) { setTaxless(teamWallet, true); excludeFromRewards(teamWallet); } } // --==[ Overridden methods ]==-- function _transfer(address from, address to, uint256 amount) override _distribute(from) internal { checkAndLiquify(from, to); if ((!isPair(from) && !isPair(to)) || !isFeeActive || taxless[from] || taxless[to] || taxless[msg.sender] || taxless[tx.origin]) { super._transfer(from, to, amount); return; } uint256 holdersFee; uint256 lpFee; uint256 burnFee; uint256 projectFee; address lpPair; address feePayer; if (from == msg.sender && isPair(from)) {// buying (holdersFee, lpFee, burnFee, projectFee) = calcFees(amount.mul(buyFee).div(10000)); lpPair = from; feePayer = to; } else if (isPair(to)) {// selling (holdersFee, lpFee, burnFee, projectFee) = calcFees(amount.mul(sellFee).div(10000)); lpPair = to; feePayer = from; } // only reward LP when token balance greater then minimum if (lpPair != address(0)) { if (balanceOf(lpPair) < minTokenBeforeReward) { lpFee = 0; } else { emit LpRewarded(lpPair, lpFee); } } { // increasing total values totalHoldersFee = totalHoldersFee.add(holdersFee); totalBurnFee = totalBurnFee.add(burnFee); totalLpFee = totalLpFee.add(lpFee); totalProtocolFee = totalProtocolFee.add(projectFee); } _processPayment(from, to, amount, holdersFee, lpFee, burnFee, projectFee, lpPair, feePayer); } function _processPayment( address from, address to, uint256 amount, uint256 holdersFee, uint256 lpFee, uint256 burnFee, uint256 projectFee, address lpPair, address feePayer ) private { // in the case of buying we should transfer all amount to buyer and then take fees from it if (feePayer == to) { super._transfer(from, to, amount); } if (isRewardActive) { // transfer holders fee part addRewards(feePayer, holdersFee); // transfer LP part super._transfer(feePayer, pair_vaults[lpPair], lpFee); // burn the burning fee part super._burn(feePayer, burnFee); // transfer project fee part super._transfer(feePayer, teamWallet, projectFee); } else {// if rewards are not active — just burn excess super._burn(feePayer, holdersFee.add(lpFee).add(burnFee).add(projectFee)); } // selling? fee is taken from the seller if (feePayer == from) { amount = amount.sub(holdersFee).sub(burnFee).sub(lpFee).sub(projectFee); super._transfer(from, to, amount); } } // --==[ Private methods ]==-- function calcFees(uint256 amount) private view returns (uint256 holdersFee, uint256 lpFee, uint256 burnFee, uint256 projectFee) { // Calc TokenHolders part holdersFee = amount.mul(tokenHoldersPart).div(10000); lpFee = amount.mul(lpPart).div(10000); burnFee = amount.mul(burnPart).div(10000); projectFee = amount.mul(projectPart).div(10000); } function checkAndLiquify(address from, address to) private lock { uint256 pairs_length = pairsLength(); // this loop is safe because pairs length would never been more than 25 for (uint256 idx = 0; idx < pairs_length; idx++) { address pair = pairs[idx]; address vault = getPairVault(pair); uint256 lpVaultBalance = BEP20.balanceOf(vault); bool overMinTokenBalance = lpVaultBalance >= minLPBalance; if ( overMinTokenBalance && from != pair && // couldn't liquify if sender or receiver is the same pair! to != pair // couldn't liquify if sender or receiver is the same pair! ) { BEP20._transfer(vault, pair, lpVaultBalance); IUniswapV2Pair(pair).sync(); } } } bool private locked; modifier lock { require(!locked, "Locked"); locked = true; _; locked = false; } }
// SPDX-License-Identifier: MIT pragma solidity 0.6.12; interface IUniswapV2Factory { function createPair(address tokenA, address tokenB) external returns (address pair); }
// SPDX-License-Identifier: MIT pragma solidity 0.6.12; import "./IUniswapV2Router01.sol"; interface IUniswapV2Router02 is IUniswapV2Router01 { function removeLiquidityETHSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountETH); function swapExactTokensForETHSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; 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; }
// SPDX-License-Identifier: MIT 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. */ contract Context { // Empty internal constructor, to prevent people from mistakenly deploying // an instance of this contract, which should be used via inheritance. constructor () internal {} function _msgSender() internal view returns (address payable) { return msg.sender; } function _msgData() internal view returns (bytes memory) { // silence state mutability warning without generating bytecode - // see https://github.com/ethereum/solidity/issues/2691 this; return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity 0.6.12; 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); }
// SPDX-License-Identifier: MIT pragma solidity 0.6.12; interface IUniswapV2Pair { function sync() external; }
// SPDX-License-Identifier: MIT pragma solidity 0.6.12; contract PairVault { constructor() public { } } abstract contract PairsHolder { mapping(address => address) internal pair_vaults; address[] public pairs; function _addPairToTrack(address pair) internal { require(!isPair(pair), "Already tracking"); require(pairs.length < 25, "Maximum 25 LP Pairs reached"); pair_vaults[pair] = address(new PairVault()); pairs.push(pair); } function isPair(address account) public view returns (bool) { return getPairVault(account) != address(0); } function getPairVault(address pair) public view returns (address) { return pair_vaults[pair]; } function pairsLength() public view returns (uint256) { return pairs.length; } }
// SPDX-License-Identifier: MIT pragma solidity 0.6.12; import "../libs/BEP20.sol"; abstract contract BEP20WithHoldersDistribution is BEP20 { mapping(address => bool) public rewardsExcluded; mapping(address => uint256) public lastTotalDividends; uint256 public rewardsPerHolding; constructor(string memory name, string memory symbol) BEP20(name, symbol) internal { rewardsExcluded[_msgSender()] = true; } function _calcRewards(address account) internal view virtual returns (uint256) { if (account == address(this) || rewardsExcluded[account]) { return 0; } uint256 _balance = super.balanceOf(account); uint256 _dividends = super.balanceOf(address(this)); return (_balance * (_dividends - lastTotalDividends[account])) / totalSupply(); } modifier _distribute(address account) { lastTotalDividends[account] = super.balanceOf(address(this)); uint256 rewards = _calcRewards(account); super._transfer(address(this), account, rewards); _; } function excludeFromRewards(address account) _distribute(account) public onlyOwner { rewardsExcluded[account] = true; } function includeInRewards(address account) _distribute(account) public onlyOwner { delete rewardsExcluded[account]; } function addRewards(address from, uint256 amount) internal { BEP20._transfer(from, address(this), amount); } /** * @dev See {BEP20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return super.balanceOf(account) + _calcRewards(account); } }
// SPDX-License-Identifier: MIT pragma solidity 0.6.12; interface IUniswapV2Router01 { function factory() external pure returns (address); // solhint-disable-next-line func-name-mixedcase 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); }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.12; import "./Context.sol"; import "./IBEP20.sol"; import "./Ownable.sol"; import "./SafeMath.sol"; /** * @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; mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) internal _allowances; uint256 private _totalSupply; string private _name; string private _symbol; uint8 private _decimals; /** * @dev Sets the values for {name} and {symbol}, initializes {decimals} with * a default value of 18. * * To select a different value for {decimals}, use {_setupDecimals}. * * All three of these values are immutable: they can only be set once during * construction. */ constructor(string memory name, string memory symbol) internal { _name = name; _symbol = symbol; _decimals = 18; } /** * @dev Returns the bep token owner. */ function getOwner() external override view returns (address) { return owner(); } /** * @dev Returns the name of the token. */ function name() public override view returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public override view returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. */ function decimals() public override view returns (uint8) { return _decimals; } /** * @dev See {BEP20-totalSupply}. */ function totalSupply() public override view returns (uint256) { return _totalSupply; } /** * @dev See {BEP20-balanceOf}. */ function balanceOf(address account) public override virtual 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 virtual 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 virtual 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 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 { if (amount == 0) {return;} 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"); _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") ); } }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"router","type":"address"},{"internalType":"address","name":"BUSD","type":"address"}],"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":"delegator","type":"address"},{"indexed":true,"internalType":"address","name":"fromDelegate","type":"address"},{"indexed":true,"internalType":"address","name":"toDelegate","type":"address"}],"name":"DelegateChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"delegate","type":"address"},{"indexed":false,"internalType":"uint256","name":"previousBalance","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newBalance","type":"uint256"}],"name":"DelegateVotesChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"buyFee","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"sellFee","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokenHoldersPart","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"lpPart","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"burnPart","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"projectPart","type":"uint256"}],"name":"FeesUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"lpPair","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"LpRewarded","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":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"DELEGATION_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DOMAIN_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"pair","type":"address"}],"name":"addPairToTrack","outputs":[],"stateMutability":"nonpayable","type":"function"},{"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":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"burnPart","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint32","name":"","type":"uint32"}],"name":"checkpoints","outputs":[{"internalType":"uint32","name":"fromBlock","type":"uint32"},{"internalType":"uint256","name":"votes","type":"uint256"}],"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":[{"internalType":"address","name":"delegatee","type":"address"}],"name":"delegate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"delegatee","type":"address"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"uint256","name":"expiry","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"delegateBySig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"delegator","type":"address"}],"name":"delegates","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"excludeFromRewards","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getCurrentVotes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"pair","type":"address"}],"name":"getPairVault","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"blockNumber","type":"uint256"}],"name":"getPriorVotes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"includeInRewards","outputs":[],"stateMutability":"nonpayable","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":[],"name":"isFeeActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isPair","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isRewardActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"lastTotalDividends","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lpPart","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minTokenBeforeReward","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"numCheckpoints","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"pairs","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pairsLength","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"projectPart","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"rewardsExcluded","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardsPerHolding","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"value","type":"bool"}],"name":"setFeeActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"buyFee_","type":"uint256"},{"internalType":"uint256","name":"sellFee_","type":"uint256"},{"internalType":"uint256","name":"tokenHoldersPart_","type":"uint256"},{"internalType":"uint256","name":"lpPart_","type":"uint256"},{"internalType":"uint256","name":"burnPart_","type":"uint256"},{"internalType":"uint256","name":"projectPart_","type":"uint256"}],"name":"setFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setMinTokenBeforeReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"value","type":"bool"}],"name":"setRewardActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setTaxless","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"setTeamWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"taxless","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"teamWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenHoldersPart","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalBurnFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalHoldersFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalLpFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalProtocolFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"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":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526101f4600c556103e8600d819055611388600e556109c4600f556105dc6010556011556014805461ff001960ff199091166001171661010017905568056bc75e2d631000006015553480156200005957600080fd5b5060405162003ab738038062003ab7833981810160405260408110156200007f57600080fd5b5080516020918201516040805180820182526008815267135bdbdb9b1a599d60c21b818601528151808301909252600482526304d4c54560e41b9482019490945291929091818181816000620000d462000295565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350815162000133906004906020850190620007ca565b50805162000149906005906020840190620007ca565b50506006805460ff19166012179055506001600760006200016962000295565b6001600160a01b031681526020810191909152604001600020805460ff1916911515919091179055506200019e905062000295565b601280546001600160a01b0319166001600160a01b039283161790558416159150620002559050576200023982836001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b1580156200020557600080fd5b505afa1580156200021a573d6000803e3d6000fd5b505050506040513d60208110156200023157600080fd5b505162000299565b6001600160a01b03811615620002555762000255828262000299565b6200026b6200026362000295565b6001620003f2565b6200028d6200027962000295565b6c01431e0fae6d7217caa0000000620004e6565b505062000873565b3390565b6000826001600160a01b031663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b158015620002d557600080fd5b505afa158015620002ea573d6000803e3d6000fd5b505050506040513d60208110156200030157600080fd5b5051604080516364e329cb60e11b81523060048201526001600160a01b0385811660248301529151919092169163c9c653969160448083019260209291908290030181600087803b1580156200035657600080fd5b505af11580156200036b573d6000803e3d6000fd5b505050506040513d60208110156200038257600080fd5b505190506200039181620005eb565b6001600160a01b03811660009081526007602081905260408220805460ff1916600190811790915591620003c5846200072b565b6001600160a01b031681526020810191909152604001600020805460ff1916911515919091179055505050565b620003fc62000295565b6000546001600160a01b039081169116146200045f576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b038216620004bb576040805162461bcd60e51b815260206004820152601760248201527f5461786c657373206973207a65726f2d61646472657373000000000000000000604482015290519081900360640190fd5b6001600160a01b03919091166000908152601360205260409020805460ff1916911515919091179055565b6001600160a01b03821662000542576040805162461bcd60e51b815260206004820152601f60248201527f42455032303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b6200055e816003546200074960201b62001d361790919060201c565b6003556001600160a01b0382166000908152600160209081526040909120546200059391839062001d3662000749821b17901c565b6001600160a01b03831660008181526001602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b620005f681620007ab565b156200063c576040805162461bcd60e51b815260206004820152601060248201526f416c726561647920747261636b696e6760801b604482015290519081900360640190fd5b600b5460191162000694576040805162461bcd60e51b815260206004820152601b60248201527f4d6178696d756d203235204c5020506169727320726561636865640000000000604482015290519081900360640190fd5b604051620006a2906200084f565b604051809103906000f080158015620006bf573d6000803e3d6000fd5b506001600160a01b039182166000818152600a602052604081208054939094166001600160a01b031993841617909355600b805460018101825593527f0175b7a638427703f0dbe7bb9bbf987a2551717b34e79f33b5b1008d1fa01db990920180549091169091179055565b6001600160a01b039081166000908152600a60205260409020541690565b600082820183811015620007a4576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b600080620007b9836200072b565b6001600160a01b0316141592915050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200080d57805160ff19168380011785556200083d565b828001600101855582156200083d579182015b828111156200083d57825182559160200191906001019062000820565b506200084b9291506200085c565b5090565b605c8062003a5b83390190565b5b808211156200084b57600081556001016200085d565b6131d880620008836000396000f3fe608060405234801561001057600080fd5b506004361061038e5760003560e01c8063782d6fe1116101de578063b609995e1161010f578063db53fbf0116100ad578063e5e31b131161007c578063e5e31b1314610a00578063e7a324dc14610a26578063f1127ed814610a2e578063f2fde38b14610a805761038e565b8063db53fbf0146109ba578063dd62ed3e146109c2578063e0b4856c146109f0578063e43504da146109f85761038e565b8063bcd0dc52116100e9578063bcd0dc521461095b578063c3cda52014610963578063c8b4bb3d146109aa578063d72d79d9146109b25761038e565b8063b609995e146108f9578063b7bfff651461091f578063b91ac7881461093e5761038e565b80638da5cb5b1161017c578063a457c2d711610156578063a457c2d714610855578063a6f7e0fa14610881578063a9059cbb146108a7578063b4b5ea57146108d35761038e565b80638da5cb5b146108285780639158a0ac1461083057806395d89b411461084d5761038e565b806386f6c3c1116101b857806386f6c3c1146107b757806388611f35146107f2578063893d20e8146107fa5780638bf2581c146108025761038e565b8063782d6fe11461073957806379cc6790146107655780637ecebe00146107915761038e565b8063324db30f116102c3578063587cde1e116102615780636fcfff45116102305780636fcfff45146106c4578063702f2fa91461070357806370a082311461070b578063715018a6146107315761038e565b8063587cde1e14610668578063599270441461068e5780635c19a95c146106965780636d3c832f146106bc5761038e565b80633fd800061161029d5780633fd80006146105ef57806342966c6814610615578063470624021461063257806347f2dc5b1461063a5761038e565b8063324db30f146105b357806334975748146105bb57806339509351146105c35761038e565b806318160ddd1161033057806320606b701161030a57806320606b701461054f57806323b872dd146105575780632b14ca561461058d578063313ce567146105955761038e565b806318160ddd1461051957806318a01684146105215780631d0e98f3146105475761038e565b8063111e03761161036c578063111e03761461049257806312ef46ea146104ba5780631525ff7d146104d4578063171fb3bf146104fa5761038e565b806303c250bc1461039357806306fdde03146103d5578063095ea7b314610452575b600080fd5b6103b9600480360360208110156103a957600080fd5b50356001600160a01b0316610aa6565b604080516001600160a01b039092168252519081900360200190f35b6103dd610ac7565b6040805160208082528351818301528351919283929083019185019080838360005b838110156104175781810151838201526020016103ff565b50505050905090810190601f1680156104445780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61047e6004803603604081101561046857600080fd5b506001600160a01b038135169060200135610b5d565b604080519115158252519081900360200190f35b6104b8600480360360208110156104a857600080fd5b50356001600160a01b0316610b7b565b005b6104c2610c35565b60408051918252519081900360200190f35b6104b8600480360360208110156104ea57600080fd5b50356001600160a01b0316610c3b565b6104b86004803603602081101561051057600080fd5b50351515610de4565b6104c2610e56565b6104c26004803603602081101561053757600080fd5b50356001600160a01b0316610e5c565b61047e610e6e565b6104c2610e7c565b61047e6004803603606081101561056d57600080fd5b506001600160a01b03813581169160208101359091169060400135610ea0565b6104c2610f27565b61059d610f2d565b6040805160ff9092168252519081900360200190f35b6104c2610f36565b6104c2610f3c565b61047e600480360360408110156105d957600080fd5b506001600160a01b038135169060200135610f42565b6104b86004803603602081101561060557600080fd5b50356001600160a01b0316610f90565b6104b86004803603602081101561062b57600080fd5b503561104e565b6104c261105f565b6104b86004803603604081101561065057600080fd5b506001600160a01b0381351690602001351515611065565b6103b96004803603602081101561067e57600080fd5b50356001600160a01b0316611143565b6103b9611161565b6104b8600480360360208110156106ac57600080fd5b50356001600160a01b0316611170565b6104c261117a565b6106ea600480360360208110156106da57600080fd5b50356001600160a01b0316611180565b6040805163ffffffff9092168252519081900360200190f35b6104c2611198565b6104c26004803603602081101561072157600080fd5b50356001600160a01b031661119e565b6104b86111b9565b6104c26004803603604081101561074f57600080fd5b506001600160a01b03813516906020013561125b565b6104b86004803603604081101561077b57600080fd5b506001600160a01b038135169060200135611463565b6104c2600480360360208110156107a757600080fd5b50356001600160a01b03166114bd565b6104b8600480360360c08110156107cd57600080fd5b5080359060208101359060408101359060608101359060808101359060a001356114cf565b6104c261166d565b6103b9611673565b61047e6004803603602081101561081857600080fd5b50356001600160a01b0316611682565b6103b9611697565b6104b86004803603602081101561084657600080fd5b50356116a6565b6103dd611703565b61047e6004803603604081101561086b57600080fd5b506001600160a01b038135169060200135611764565b61047e6004803603602081101561089757600080fd5b50356001600160a01b03166117cc565b61047e600480360360408110156108bd57600080fd5b506001600160a01b0381351690602001356117e1565b6104c2600480360360208110156108e957600080fd5b50356001600160a01b03166117f5565b6104b86004803603602081101561090f57600080fd5b50356001600160a01b0316611859565b6104b86004803603602081101561093557600080fd5b50351515611910565b6103b96004803603602081101561095457600080fd5b503561197b565b6104c26119a2565b6104b8600480360360c081101561097957600080fd5b506001600160a01b038135169060208101359060408101359060ff6060820135169060808101359060a001356119a8565b6104c2611c1b565b6104c2611c21565b6104c2611c27565b6104c2600480360360408110156109d857600080fd5b506001600160a01b0381358116916020013516611c2d565b6104c2611c58565b61047e611c5e565b61047e60048036036020811015610a1657600080fd5b50356001600160a01b0316611c67565b6104c2611c84565b610a6060048036036040811015610a4457600080fd5b5080356001600160a01b0316906020013563ffffffff16611ca8565b6040805163ffffffff909316835260208301919091528051918290030190f35b6104b860048036036020811015610a9657600080fd5b50356001600160a01b0316611cd5565b6001600160a01b038082166000908152600a6020526040902054165b919050565b60048054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610b535780601f10610b2857610100808354040283529160200191610b53565b820191906000526020600020905b815481529060010190602001808311610b3657829003601f168201915b5050505050905090565b6000610b71610b6a611d90565b8484611d94565b5060015b92915050565b80610b8530611e80565b6001600160a01b038216600090815260086020526040812091909155610baa82611e9b565b9050610bb7308383611f28565b610bbf611d90565b6000546001600160a01b03908116911614610c0f576040805162461bcd60e51b81526020600482018190526024820152600080516020612fb2833981519152604482015290519081900360640190fd5b50506001600160a01b03166000908152600760205260409020805460ff19166001179055565b60095481565b610c43611d90565b6000546001600160a01b03908116911614610c93576040805162461bcd60e51b81526020600482018190526024820152600080516020612fb2833981519152604482015290519081900360640190fd5b6001600160a01b038116610cee576040805162461bcd60e51b815260206004820152601b60248201527f5465616d2077616c6c6574206973207a65726f2d616464726573730000000000604482015290519081900360640190fd5b6012546001600160a01b0382811691161415610d51576040805162461bcd60e51b815260206004820152601760248201527f5465616d2077616c6c6574206973207468652073616d65000000000000000000604482015290519081900360640190fd5b6012546001600160a01b031615610d8e57601254610d79906001600160a01b03166000611065565b601254610d8e906001600160a01b0316611859565b601280546001600160a01b0319166001600160a01b0383811691909117918290551615610de157601254610dcc906001600160a01b03166001611065565b601254610de1906001600160a01b0316610b7b565b50565b610dec611d90565b6000546001600160a01b03908116911614610e3c576040805162461bcd60e51b81526020600482018190526024820152600080516020612fb2833981519152604482015290519081900360640190fd5b601480549115156101000261ff0019909216919091179055565b60035490565b60086020526000908152604090205481565b601454610100900460ff1681565b7f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a86681565b6000610ead848484612084565b610f1d84610eb9611d90565b610f1885604051806060016040528060288152602001612f43602891396001600160a01b038a16600090815260026020526040812090610ef7611d90565b6001600160a01b0316815260208101919091526040016000205491906122ef565b611d94565b5060019392505050565b600d5481565b60065460ff1690565b60165481565b600b5490565b6000610b71610f4f611d90565b84610f188560026000610f60611d90565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490611d36565b610f98611d90565b6000546001600160a01b03908116911614610fe8576040805162461bcd60e51b81526020600482018190526024820152600080516020612fb2833981519152604482015290519081900360640190fd5b610ff181612386565b6001600160a01b03811660009081526007602081905260408220805460ff191660019081179091559161102384610aa6565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905550565b610de1611059611d90565b826124bf565b600c5481565b61106d611d90565b6000546001600160a01b039081169116146110bd576040805162461bcd60e51b81526020600482018190526024820152600080516020612fb2833981519152604482015290519081900360640190fd5b6001600160a01b038216611118576040805162461bcd60e51b815260206004820152601760248201527f5461786c657373206973207a65726f2d61646472657373000000000000000000604482015290519081900360640190fd5b6001600160a01b03919091166000908152601360205260409020805460ff1916911515919091179055565b6001600160a01b039081166000908152601b60205260409020541690565b6012546001600160a01b031681565b610de133826125af565b60175481565b601d6020526000908152604090205463ffffffff1681565b60155481565b60006111a982611e9b565b6111b283611e80565b0192915050565b6111c1611d90565b6000546001600160a01b03908116911614611211576040805162461bcd60e51b81526020600482018190526024820152600080516020612fb2833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b600043821061129b5760405162461bcd60e51b8152600401808060200182810382526026815260200180612f6b6026913960400191505060405180910390fd5b6001600160a01b0383166000908152601d602052604090205463ffffffff16806112c9576000915050610b75565b6001600160a01b0384166000908152601c6020908152604080832063ffffffff600019860181168552925290912054168310611338576001600160a01b0384166000908152601c602090815260408083206000199490940163ffffffff16835292905220600101549050610b75565b6001600160a01b0384166000908152601c6020908152604080832083805290915290205463ffffffff16831015611373576000915050610b75565b600060001982015b8163ffffffff168163ffffffff16111561142c57600282820363ffffffff160481036113a5612e2f565b506001600160a01b0387166000908152601c6020908152604080832063ffffffff80861685529083529281902081518083019092528054909316808252600190930154918101919091529087141561140757602001519450610b759350505050565b805163ffffffff1687111561141e57819350611425565b6001820392505b505061137b565b506001600160a01b0385166000908152601c6020908152604080832063ffffffff9094168352929052206001015491505092915050565b600061149a82604051806060016040528060248152602001612fd2602491396114938661148e611d90565b611c2d565b91906122ef565b90506114ae836114a8611d90565b83611d94565b6114b883836124bf565b505050565b601e6020526000908152604090205481565b6114d7611d90565b6000546001600160a01b03908116911614611527576040805162461bcd60e51b81526020600482018190526024820152600080516020612fb2833981519152604482015290519081900360640190fd5b61271086106115675760405162461bcd60e51b81526004018080602001828103825260218152602001806130fe6021913960400191505060405180910390fd5b61271085106115a75760405162461bcd60e51b81526004018080602001828103825260218152602001806130fe6021913960400191505060405180910390fd5b6115bd816115b784818888611d36565b90611d36565b612710146115fc5760405162461bcd60e51b81526004018080602001828103825260408152602001806131416040913960400191505060405180910390fd5b600c869055600d859055600e849055600f839055601082905560118190556040805185815260208101859052808201849052606081018390529051869188917f2e494fbb5d1bda2269c90d7124ba22ca99044b61d2a920ece35a1a1726ff0c379181900360800190a3505050505050565b60185481565b600061167d611697565b905090565b60076020526000908152604090205460ff1681565b6000546001600160a01b031690565b6116ae611d90565b6000546001600160a01b039081169116146116fe576040805162461bcd60e51b81526020600482018190526024820152600080516020612fb2833981519152604482015290519081900360640190fd5b601555565b60058054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610b535780601f10610b2857610100808354040283529160200191610b53565b6000610b71611771611d90565b84610f1885604051806060016040528060258152602001613060602591396002600061179b611d90565b6001600160a01b03908116825260208083019390935260409182016000908120918d168152925290205491906122ef565b60136020526000908152604090205460ff1681565b6000610b716117ee611d90565b8484612084565b6001600160a01b0381166000908152601d602052604081205463ffffffff1680611820576000611852565b6001600160a01b0383166000908152601c6020908152604080832063ffffffff60001986011684529091529020600101545b9392505050565b8061186330611e80565b6001600160a01b03821660009081526008602052604081209190915561188882611e9b565b9050611895308383611f28565b61189d611d90565b6000546001600160a01b039081169116146118ed576040805162461bcd60e51b81526020600482018190526024820152600080516020612fb2833981519152604482015290519081900360640190fd5b50506001600160a01b03166000908152600760205260409020805460ff19169055565b611918611d90565b6000546001600160a01b03908116911614611968576040805162461bcd60e51b81526020600482018190526024820152600080516020612fb2833981519152604482015290519081900360640190fd5b6014805460ff1916911515919091179055565b600b818154811061198857fe5b6000918252602090912001546001600160a01b0316905081565b600f5481565b60007f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a8666119d3612644565b805190602001206119e261264e565b60408051602080820195909552808201939093526060830191909152306080808401919091528151808403909101815260a0830182528051908401207fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf60c08401526001600160a01b038b1660e084015261010083018a90526101208084018a9052825180850390910181526101408401835280519085012061190160f01b6101608501526101628401829052610182808501829052835180860390910181526101a285018085528151918701919091206000918290526101c2860180865281905260ff8b166101e287015261020286018a90526102228601899052935192965090949293909260019261024280840193601f198301929081900390910190855afa158015611b15573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116611b675760405162461bcd60e51b81526004018080602001828103825260258152602001806130a66025913960400191505060405180910390fd5b6001600160a01b0381166000908152601e602052604090208054600181019091558914611bc55760405162461bcd60e51b815260040180806020018281038252602181526020018061303f6021913960400191505060405180910390fd5b87421115611c045760405162461bcd60e51b8152600401808060200182810382526025815260200180612f1e6025913960400191505060405180910390fd5b611c0e818b6125af565b505050505b505050505050565b60105481565b60195481565b60115481565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b600e5481565b60145460ff1681565b600080611c7383610aa6565b6001600160a01b0316141592915050565b7fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf81565b601c6020908152600092835260408084209091529082529020805460019091015463ffffffff9091169082565b611cdd611d90565b6000546001600160a01b03908116911614611d2d576040805162461bcd60e51b81526020600482018190526024820152600080516020612fb2833981519152604482015290519081900360640190fd5b610de181612652565b600082820183811015611852576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b3390565b6001600160a01b038316611dd95760405162461bcd60e51b8152600401808060200182810382526024815260200180612ed46024913960400191505060405180910390fd5b6001600160a01b038216611e1e5760405162461bcd60e51b81526004018080602001828103825260228152602001806131816022913960400191505060405180910390fd5b6001600160a01b03808416600081815260026020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b031660009081526001602052604090205490565b60006001600160a01b038216301480611ecc57506001600160a01b03821660009081526007602052604090205460ff165b15611ed957506000610ac2565b6000611ee483611e80565b90506000611ef130611e80565b9050611efb610e56565b6001600160a01b0385166000908152600860205260409020548203830281611f1f57fe5b04949350505050565b80611f32576114b8565b6001600160a01b038316611f775760405162461bcd60e51b8152600401808060200182810382526025815260200180612eaf6025913960400191505060405180910390fd5b6001600160a01b038216611fbc5760405162461bcd60e51b815260040180806020018281038252602381526020018061301c6023913960400191505060405180910390fd5b611ff981604051806060016040528060268152602001612ff6602691396001600160a01b03861660009081526001602052604090205491906122ef565b6001600160a01b0380851660009081526001602052604080822093909355908416815220546120289082611d36565b6001600160a01b0380841660008181526001602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b8261208e30611e80565b6001600160a01b0382166000908152600860205260408120919091556120b382611e9b565b90506120c0308383611f28565b6120ca85856126f2565b6120d385611c67565b1580156120e657506120e484611c67565b155b806120f4575060145460ff16155b8061211757506001600160a01b03851660009081526013602052604090205460ff165b8061213a57506001600160a01b03841660009081526013602052604090205460ff165b8061215457503360009081526013602052604090205460ff165b8061216e57503260009081526013602052604090205460ff165b156121835761217e858585611f28565b6122e8565b600080808080806001600160a01b038b16331480156121a657506121a68b611c67565b156121e9576121d46121cf6127106121c9600c548d61286290919063ffffffff16565b906128bb565b6128fd565b929850909650945092508a9150899050612226565b6121f28a611c67565b15612226576122156121cf6127106121c9600d548d61286290919063ffffffff16565b929850909650945092508991508a90505b6001600160a01b03821615612290576015546122418361119e565b10156122505760009450612290565b6040805186815290516001600160a01b038416917f885ccf168dd11707c7be052089ab9a16c35e68f2a896a6d4a134d9742c5e6b73919081900360200190a25b60195461229d9087611d36565b6019556016546122ad9085611d36565b6016556017546122bd9086611d36565b6017556018546122cd9084611d36565b6018556122e18b8b8b89898989898961297e565b5050505050505b5050505050565b6000818484111561237e5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561234357818101518382015260200161232b565b50505050905090810190601f1680156123705780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b61238f81611c67565b156123d4576040805162461bcd60e51b815260206004820152601060248201526f416c726561647920747261636b696e6760801b604482015290519081900360640190fd5b600b5460191161242b576040805162461bcd60e51b815260206004820152601b60248201527f4d6178696d756d203235204c5020506169727320726561636865640000000000604482015290519081900360640190fd5b60405161243790612e46565b604051809103906000f080158015612453573d6000803e3d6000fd5b506001600160a01b039182166000818152600a602052604081208054939094166001600160a01b031993841617909355600b805460018101825593527f0175b7a638427703f0dbe7bb9bbf987a2551717b34e79f33b5b1008d1fa01db990920180549091169091179055565b6001600160a01b0382166125045760405162461bcd60e51b81526004018080602001828103825260218152602001806130856021913960400191505060405180910390fd5b6125418160405180606001604052806022815260200161311f602291396001600160a01b03851660009081526001602052604090205491906122ef565b6001600160a01b0383166000908152600160205260409020556003546125679082612a6e565b6003556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b6001600160a01b038083166000908152601b6020526040812054909116906125d684612ab0565b6001600160a01b038581166000818152601b602052604080822080546001600160a01b031916898616908117909155905194955093928616927f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f9190a461263e828483612abb565b50505050565b606061167d610ac7565b4690565b6001600160a01b0381166126975760405162461bcd60e51b8152600401808060200182810382526026815260200180612ef86026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b601a5460ff1615612733576040805162461bcd60e51b8152602060048201526006602482015265131bd8dad95960d21b604482015290519081900360640190fd5b601a805460ff19166001179055600061274a610f3c565b905060005b81811015612852576000600b828154811061276657fe5b60009182526020822001546001600160a01b0316915061278582610aa6565b9050600061279282611e80565b9050670de0b6b3a7640000811080159081906127c05750836001600160a01b0316886001600160a01b031614155b80156127de5750836001600160a01b0316876001600160a01b031614155b15612842576127ee838584611f28565b836001600160a01b031663fff6cae96040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561282957600080fd5b505af115801561283d573d6000803e3d6000fd5b505050505b50506001909201915061274f9050565b5050601a805460ff191690555050565b60008261287157506000610b75565b8282028284828161287e57fe5b04146118525760405162461bcd60e51b8152600401808060200182810382526021815260200180612f916021913960400191505060405180910390fd5b600061185283836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250612bf8565b60008060008061291e6127106121c9600e548861286290919063ffffffff16565b935061293b6127106121c9600f548861286290919063ffffffff16565b92506129586127106121c96010548861286290919063ffffffff16565b91506129756127106121c96011548861286290919063ffffffff16565b90509193509193565b876001600160a01b0316816001600160a01b031614156129a3576129a3898989611f28565b601454610100900460ff1615612a0b576129bd8187612c5d565b6001600160a01b038083166000908152600a60205260409020546129e49183911687611f28565b6129ee81856124bf565b601254612a069082906001600160a01b031685611f28565b612a24565b612a2481612a1f856115b788818c8c611d36565b6124bf565b886001600160a01b0316816001600160a01b03161415612a6357612a5683612a50878188818d8d612a6e565b90612a6e565b9650612a63898989611f28565b505050505050505050565b600061185283836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506122ef565b6000610b758261119e565b816001600160a01b0316836001600160a01b031614158015612add5750600081115b156114b8576001600160a01b03831615612b6f576001600160a01b0383166000908152601d602052604081205463ffffffff169081612b1d576000612b4f565b6001600160a01b0385166000908152601c6020908152604080832063ffffffff60001987011684529091529020600101545b90506000612b5d8285612a6e565b9050612b6b86848484612c6c565b5050505b6001600160a01b038216156114b8576001600160a01b0382166000908152601d602052604081205463ffffffff169081612baa576000612bdc565b6001600160a01b0384166000908152601c6020908152604080832063ffffffff60001987011684529091529020600101545b90506000612bea8285611d36565b9050611c1385848484612c6c565b60008183612c475760405162461bcd60e51b815260206004820181815283516024840152835190928392604490910191908501908083836000831561234357818101518382015260200161232b565b506000838581612c5357fe5b0495945050505050565b612c68823083611f28565b5050565b6000612c90436040518060600160405280603381526020016130cb60339139612dd1565b905060008463ffffffff16118015612cd957506001600160a01b0385166000908152601c6020908152604080832063ffffffff6000198901811685529252909120548282169116145b15612d16576001600160a01b0385166000908152601c6020908152604080832063ffffffff60001989011684529091529020600101829055612d87565b60408051808201825263ffffffff808416825260208083018681526001600160a01b038a166000818152601c84528681208b8616825284528681209551865490861663ffffffff199182161787559251600196870155908152601d9092529390208054928801909116919092161790555b604080518481526020810184905281516001600160a01b038816927fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724928290030190a25050505050565b6000816401000000008410612e275760405162461bcd60e51b815260206004820181815283516024840152835190928392604490910191908501908083836000831561234357818101518382015260200161232b565b509192915050565b604080518082019091526000808252602082015290565b605c80612e538339019056fe6080604052348015600f57600080fd5b50603f80601d6000396000f3fe6080604052600080fdfea2646970667358221220733a4b4f843536e0c73d5e8856031ba10bff90f45916adbda172e5253b2bf75664736f6c634300060c003342455032303a207472616e736665722066726f6d20746865207a65726f206164647265737342455032303a20617070726f76652066726f6d20746865207a65726f20616464726573734f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573734547473a3a64656c656761746542795369673a207369676e6174757265206578706972656442455032303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63654547473a3a6765745072696f72566f7465733a206e6f74207965742064657465726d696e6564536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657245524332303a206275726e20616d6f756e74206578636565647320616c6c6f77616e636542455032303a207472616e7366657220616d6f756e7420657863656564732062616c616e636542455032303a207472616e7366657220746f20746865207a65726f20616464726573734547473a3a64656c656761746542795369673a20696e76616c6964206e6f6e636542455032303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726f42455032303a206275726e2066726f6d20746865207a65726f20616464726573734547473a3a64656c656761746542795369673a20696e76616c6964207369676e61747572654547473a3a5f7772697465436865636b706f696e743a20626c6f636b206e756d6265722065786365656473203332206269747373656c6c206665652073686f756c64206265206c657373207468616e203130302542455032303a206275726e20616d6f756e7420657863656564732062616c616e636573756d206f6620746f6b656e486f6c646572732f6c702f6275726e2f70726f6a6563742070617274732073686f756c642062652031303030302028313030252942455032303a20617070726f766520746f20746865207a65726f2061646472657373a2646970667358221220cbff7dda938b334d708c972aaddef0ac075c155fc8194f36170241a6d645653564736f6c634300060c00336080604052348015600f57600080fd5b50603f80601d6000396000f3fe6080604052600080fdfea2646970667358221220733a4b4f843536e0c73d5e8856031ba10bff90f45916adbda172e5253b2bf75664736f6c634300060c003300000000000000000000000005ff2b0db69458a0750badebc4f9e13add608c7f000000000000000000000000e9e7cea3dedca5984780bafc599bd69add087d56
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061038e5760003560e01c8063782d6fe1116101de578063b609995e1161010f578063db53fbf0116100ad578063e5e31b131161007c578063e5e31b1314610a00578063e7a324dc14610a26578063f1127ed814610a2e578063f2fde38b14610a805761038e565b8063db53fbf0146109ba578063dd62ed3e146109c2578063e0b4856c146109f0578063e43504da146109f85761038e565b8063bcd0dc52116100e9578063bcd0dc521461095b578063c3cda52014610963578063c8b4bb3d146109aa578063d72d79d9146109b25761038e565b8063b609995e146108f9578063b7bfff651461091f578063b91ac7881461093e5761038e565b80638da5cb5b1161017c578063a457c2d711610156578063a457c2d714610855578063a6f7e0fa14610881578063a9059cbb146108a7578063b4b5ea57146108d35761038e565b80638da5cb5b146108285780639158a0ac1461083057806395d89b411461084d5761038e565b806386f6c3c1116101b857806386f6c3c1146107b757806388611f35146107f2578063893d20e8146107fa5780638bf2581c146108025761038e565b8063782d6fe11461073957806379cc6790146107655780637ecebe00146107915761038e565b8063324db30f116102c3578063587cde1e116102615780636fcfff45116102305780636fcfff45146106c4578063702f2fa91461070357806370a082311461070b578063715018a6146107315761038e565b8063587cde1e14610668578063599270441461068e5780635c19a95c146106965780636d3c832f146106bc5761038e565b80633fd800061161029d5780633fd80006146105ef57806342966c6814610615578063470624021461063257806347f2dc5b1461063a5761038e565b8063324db30f146105b357806334975748146105bb57806339509351146105c35761038e565b806318160ddd1161033057806320606b701161030a57806320606b701461054f57806323b872dd146105575780632b14ca561461058d578063313ce567146105955761038e565b806318160ddd1461051957806318a01684146105215780631d0e98f3146105475761038e565b8063111e03761161036c578063111e03761461049257806312ef46ea146104ba5780631525ff7d146104d4578063171fb3bf146104fa5761038e565b806303c250bc1461039357806306fdde03146103d5578063095ea7b314610452575b600080fd5b6103b9600480360360208110156103a957600080fd5b50356001600160a01b0316610aa6565b604080516001600160a01b039092168252519081900360200190f35b6103dd610ac7565b6040805160208082528351818301528351919283929083019185019080838360005b838110156104175781810151838201526020016103ff565b50505050905090810190601f1680156104445780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61047e6004803603604081101561046857600080fd5b506001600160a01b038135169060200135610b5d565b604080519115158252519081900360200190f35b6104b8600480360360208110156104a857600080fd5b50356001600160a01b0316610b7b565b005b6104c2610c35565b60408051918252519081900360200190f35b6104b8600480360360208110156104ea57600080fd5b50356001600160a01b0316610c3b565b6104b86004803603602081101561051057600080fd5b50351515610de4565b6104c2610e56565b6104c26004803603602081101561053757600080fd5b50356001600160a01b0316610e5c565b61047e610e6e565b6104c2610e7c565b61047e6004803603606081101561056d57600080fd5b506001600160a01b03813581169160208101359091169060400135610ea0565b6104c2610f27565b61059d610f2d565b6040805160ff9092168252519081900360200190f35b6104c2610f36565b6104c2610f3c565b61047e600480360360408110156105d957600080fd5b506001600160a01b038135169060200135610f42565b6104b86004803603602081101561060557600080fd5b50356001600160a01b0316610f90565b6104b86004803603602081101561062b57600080fd5b503561104e565b6104c261105f565b6104b86004803603604081101561065057600080fd5b506001600160a01b0381351690602001351515611065565b6103b96004803603602081101561067e57600080fd5b50356001600160a01b0316611143565b6103b9611161565b6104b8600480360360208110156106ac57600080fd5b50356001600160a01b0316611170565b6104c261117a565b6106ea600480360360208110156106da57600080fd5b50356001600160a01b0316611180565b6040805163ffffffff9092168252519081900360200190f35b6104c2611198565b6104c26004803603602081101561072157600080fd5b50356001600160a01b031661119e565b6104b86111b9565b6104c26004803603604081101561074f57600080fd5b506001600160a01b03813516906020013561125b565b6104b86004803603604081101561077b57600080fd5b506001600160a01b038135169060200135611463565b6104c2600480360360208110156107a757600080fd5b50356001600160a01b03166114bd565b6104b8600480360360c08110156107cd57600080fd5b5080359060208101359060408101359060608101359060808101359060a001356114cf565b6104c261166d565b6103b9611673565b61047e6004803603602081101561081857600080fd5b50356001600160a01b0316611682565b6103b9611697565b6104b86004803603602081101561084657600080fd5b50356116a6565b6103dd611703565b61047e6004803603604081101561086b57600080fd5b506001600160a01b038135169060200135611764565b61047e6004803603602081101561089757600080fd5b50356001600160a01b03166117cc565b61047e600480360360408110156108bd57600080fd5b506001600160a01b0381351690602001356117e1565b6104c2600480360360208110156108e957600080fd5b50356001600160a01b03166117f5565b6104b86004803603602081101561090f57600080fd5b50356001600160a01b0316611859565b6104b86004803603602081101561093557600080fd5b50351515611910565b6103b96004803603602081101561095457600080fd5b503561197b565b6104c26119a2565b6104b8600480360360c081101561097957600080fd5b506001600160a01b038135169060208101359060408101359060ff6060820135169060808101359060a001356119a8565b6104c2611c1b565b6104c2611c21565b6104c2611c27565b6104c2600480360360408110156109d857600080fd5b506001600160a01b0381358116916020013516611c2d565b6104c2611c58565b61047e611c5e565b61047e60048036036020811015610a1657600080fd5b50356001600160a01b0316611c67565b6104c2611c84565b610a6060048036036040811015610a4457600080fd5b5080356001600160a01b0316906020013563ffffffff16611ca8565b6040805163ffffffff909316835260208301919091528051918290030190f35b6104b860048036036020811015610a9657600080fd5b50356001600160a01b0316611cd5565b6001600160a01b038082166000908152600a6020526040902054165b919050565b60048054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610b535780601f10610b2857610100808354040283529160200191610b53565b820191906000526020600020905b815481529060010190602001808311610b3657829003601f168201915b5050505050905090565b6000610b71610b6a611d90565b8484611d94565b5060015b92915050565b80610b8530611e80565b6001600160a01b038216600090815260086020526040812091909155610baa82611e9b565b9050610bb7308383611f28565b610bbf611d90565b6000546001600160a01b03908116911614610c0f576040805162461bcd60e51b81526020600482018190526024820152600080516020612fb2833981519152604482015290519081900360640190fd5b50506001600160a01b03166000908152600760205260409020805460ff19166001179055565b60095481565b610c43611d90565b6000546001600160a01b03908116911614610c93576040805162461bcd60e51b81526020600482018190526024820152600080516020612fb2833981519152604482015290519081900360640190fd5b6001600160a01b038116610cee576040805162461bcd60e51b815260206004820152601b60248201527f5465616d2077616c6c6574206973207a65726f2d616464726573730000000000604482015290519081900360640190fd5b6012546001600160a01b0382811691161415610d51576040805162461bcd60e51b815260206004820152601760248201527f5465616d2077616c6c6574206973207468652073616d65000000000000000000604482015290519081900360640190fd5b6012546001600160a01b031615610d8e57601254610d79906001600160a01b03166000611065565b601254610d8e906001600160a01b0316611859565b601280546001600160a01b0319166001600160a01b0383811691909117918290551615610de157601254610dcc906001600160a01b03166001611065565b601254610de1906001600160a01b0316610b7b565b50565b610dec611d90565b6000546001600160a01b03908116911614610e3c576040805162461bcd60e51b81526020600482018190526024820152600080516020612fb2833981519152604482015290519081900360640190fd5b601480549115156101000261ff0019909216919091179055565b60035490565b60086020526000908152604090205481565b601454610100900460ff1681565b7f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a86681565b6000610ead848484612084565b610f1d84610eb9611d90565b610f1885604051806060016040528060288152602001612f43602891396001600160a01b038a16600090815260026020526040812090610ef7611d90565b6001600160a01b0316815260208101919091526040016000205491906122ef565b611d94565b5060019392505050565b600d5481565b60065460ff1690565b60165481565b600b5490565b6000610b71610f4f611d90565b84610f188560026000610f60611d90565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490611d36565b610f98611d90565b6000546001600160a01b03908116911614610fe8576040805162461bcd60e51b81526020600482018190526024820152600080516020612fb2833981519152604482015290519081900360640190fd5b610ff181612386565b6001600160a01b03811660009081526007602081905260408220805460ff191660019081179091559161102384610aa6565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905550565b610de1611059611d90565b826124bf565b600c5481565b61106d611d90565b6000546001600160a01b039081169116146110bd576040805162461bcd60e51b81526020600482018190526024820152600080516020612fb2833981519152604482015290519081900360640190fd5b6001600160a01b038216611118576040805162461bcd60e51b815260206004820152601760248201527f5461786c657373206973207a65726f2d61646472657373000000000000000000604482015290519081900360640190fd5b6001600160a01b03919091166000908152601360205260409020805460ff1916911515919091179055565b6001600160a01b039081166000908152601b60205260409020541690565b6012546001600160a01b031681565b610de133826125af565b60175481565b601d6020526000908152604090205463ffffffff1681565b60155481565b60006111a982611e9b565b6111b283611e80565b0192915050565b6111c1611d90565b6000546001600160a01b03908116911614611211576040805162461bcd60e51b81526020600482018190526024820152600080516020612fb2833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b600043821061129b5760405162461bcd60e51b8152600401808060200182810382526026815260200180612f6b6026913960400191505060405180910390fd5b6001600160a01b0383166000908152601d602052604090205463ffffffff16806112c9576000915050610b75565b6001600160a01b0384166000908152601c6020908152604080832063ffffffff600019860181168552925290912054168310611338576001600160a01b0384166000908152601c602090815260408083206000199490940163ffffffff16835292905220600101549050610b75565b6001600160a01b0384166000908152601c6020908152604080832083805290915290205463ffffffff16831015611373576000915050610b75565b600060001982015b8163ffffffff168163ffffffff16111561142c57600282820363ffffffff160481036113a5612e2f565b506001600160a01b0387166000908152601c6020908152604080832063ffffffff80861685529083529281902081518083019092528054909316808252600190930154918101919091529087141561140757602001519450610b759350505050565b805163ffffffff1687111561141e57819350611425565b6001820392505b505061137b565b506001600160a01b0385166000908152601c6020908152604080832063ffffffff9094168352929052206001015491505092915050565b600061149a82604051806060016040528060248152602001612fd2602491396114938661148e611d90565b611c2d565b91906122ef565b90506114ae836114a8611d90565b83611d94565b6114b883836124bf565b505050565b601e6020526000908152604090205481565b6114d7611d90565b6000546001600160a01b03908116911614611527576040805162461bcd60e51b81526020600482018190526024820152600080516020612fb2833981519152604482015290519081900360640190fd5b61271086106115675760405162461bcd60e51b81526004018080602001828103825260218152602001806130fe6021913960400191505060405180910390fd5b61271085106115a75760405162461bcd60e51b81526004018080602001828103825260218152602001806130fe6021913960400191505060405180910390fd5b6115bd816115b784818888611d36565b90611d36565b612710146115fc5760405162461bcd60e51b81526004018080602001828103825260408152602001806131416040913960400191505060405180910390fd5b600c869055600d859055600e849055600f839055601082905560118190556040805185815260208101859052808201849052606081018390529051869188917f2e494fbb5d1bda2269c90d7124ba22ca99044b61d2a920ece35a1a1726ff0c379181900360800190a3505050505050565b60185481565b600061167d611697565b905090565b60076020526000908152604090205460ff1681565b6000546001600160a01b031690565b6116ae611d90565b6000546001600160a01b039081169116146116fe576040805162461bcd60e51b81526020600482018190526024820152600080516020612fb2833981519152604482015290519081900360640190fd5b601555565b60058054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610b535780601f10610b2857610100808354040283529160200191610b53565b6000610b71611771611d90565b84610f1885604051806060016040528060258152602001613060602591396002600061179b611d90565b6001600160a01b03908116825260208083019390935260409182016000908120918d168152925290205491906122ef565b60136020526000908152604090205460ff1681565b6000610b716117ee611d90565b8484612084565b6001600160a01b0381166000908152601d602052604081205463ffffffff1680611820576000611852565b6001600160a01b0383166000908152601c6020908152604080832063ffffffff60001986011684529091529020600101545b9392505050565b8061186330611e80565b6001600160a01b03821660009081526008602052604081209190915561188882611e9b565b9050611895308383611f28565b61189d611d90565b6000546001600160a01b039081169116146118ed576040805162461bcd60e51b81526020600482018190526024820152600080516020612fb2833981519152604482015290519081900360640190fd5b50506001600160a01b03166000908152600760205260409020805460ff19169055565b611918611d90565b6000546001600160a01b03908116911614611968576040805162461bcd60e51b81526020600482018190526024820152600080516020612fb2833981519152604482015290519081900360640190fd5b6014805460ff1916911515919091179055565b600b818154811061198857fe5b6000918252602090912001546001600160a01b0316905081565b600f5481565b60007f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a8666119d3612644565b805190602001206119e261264e565b60408051602080820195909552808201939093526060830191909152306080808401919091528151808403909101815260a0830182528051908401207fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf60c08401526001600160a01b038b1660e084015261010083018a90526101208084018a9052825180850390910181526101408401835280519085012061190160f01b6101608501526101628401829052610182808501829052835180860390910181526101a285018085528151918701919091206000918290526101c2860180865281905260ff8b166101e287015261020286018a90526102228601899052935192965090949293909260019261024280840193601f198301929081900390910190855afa158015611b15573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116611b675760405162461bcd60e51b81526004018080602001828103825260258152602001806130a66025913960400191505060405180910390fd5b6001600160a01b0381166000908152601e602052604090208054600181019091558914611bc55760405162461bcd60e51b815260040180806020018281038252602181526020018061303f6021913960400191505060405180910390fd5b87421115611c045760405162461bcd60e51b8152600401808060200182810382526025815260200180612f1e6025913960400191505060405180910390fd5b611c0e818b6125af565b505050505b505050505050565b60105481565b60195481565b60115481565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b600e5481565b60145460ff1681565b600080611c7383610aa6565b6001600160a01b0316141592915050565b7fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf81565b601c6020908152600092835260408084209091529082529020805460019091015463ffffffff9091169082565b611cdd611d90565b6000546001600160a01b03908116911614611d2d576040805162461bcd60e51b81526020600482018190526024820152600080516020612fb2833981519152604482015290519081900360640190fd5b610de181612652565b600082820183811015611852576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b3390565b6001600160a01b038316611dd95760405162461bcd60e51b8152600401808060200182810382526024815260200180612ed46024913960400191505060405180910390fd5b6001600160a01b038216611e1e5760405162461bcd60e51b81526004018080602001828103825260228152602001806131816022913960400191505060405180910390fd5b6001600160a01b03808416600081815260026020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b031660009081526001602052604090205490565b60006001600160a01b038216301480611ecc57506001600160a01b03821660009081526007602052604090205460ff165b15611ed957506000610ac2565b6000611ee483611e80565b90506000611ef130611e80565b9050611efb610e56565b6001600160a01b0385166000908152600860205260409020548203830281611f1f57fe5b04949350505050565b80611f32576114b8565b6001600160a01b038316611f775760405162461bcd60e51b8152600401808060200182810382526025815260200180612eaf6025913960400191505060405180910390fd5b6001600160a01b038216611fbc5760405162461bcd60e51b815260040180806020018281038252602381526020018061301c6023913960400191505060405180910390fd5b611ff981604051806060016040528060268152602001612ff6602691396001600160a01b03861660009081526001602052604090205491906122ef565b6001600160a01b0380851660009081526001602052604080822093909355908416815220546120289082611d36565b6001600160a01b0380841660008181526001602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b8261208e30611e80565b6001600160a01b0382166000908152600860205260408120919091556120b382611e9b565b90506120c0308383611f28565b6120ca85856126f2565b6120d385611c67565b1580156120e657506120e484611c67565b155b806120f4575060145460ff16155b8061211757506001600160a01b03851660009081526013602052604090205460ff165b8061213a57506001600160a01b03841660009081526013602052604090205460ff165b8061215457503360009081526013602052604090205460ff165b8061216e57503260009081526013602052604090205460ff165b156121835761217e858585611f28565b6122e8565b600080808080806001600160a01b038b16331480156121a657506121a68b611c67565b156121e9576121d46121cf6127106121c9600c548d61286290919063ffffffff16565b906128bb565b6128fd565b929850909650945092508a9150899050612226565b6121f28a611c67565b15612226576122156121cf6127106121c9600d548d61286290919063ffffffff16565b929850909650945092508991508a90505b6001600160a01b03821615612290576015546122418361119e565b10156122505760009450612290565b6040805186815290516001600160a01b038416917f885ccf168dd11707c7be052089ab9a16c35e68f2a896a6d4a134d9742c5e6b73919081900360200190a25b60195461229d9087611d36565b6019556016546122ad9085611d36565b6016556017546122bd9086611d36565b6017556018546122cd9084611d36565b6018556122e18b8b8b89898989898961297e565b5050505050505b5050505050565b6000818484111561237e5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561234357818101518382015260200161232b565b50505050905090810190601f1680156123705780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b61238f81611c67565b156123d4576040805162461bcd60e51b815260206004820152601060248201526f416c726561647920747261636b696e6760801b604482015290519081900360640190fd5b600b5460191161242b576040805162461bcd60e51b815260206004820152601b60248201527f4d6178696d756d203235204c5020506169727320726561636865640000000000604482015290519081900360640190fd5b60405161243790612e46565b604051809103906000f080158015612453573d6000803e3d6000fd5b506001600160a01b039182166000818152600a602052604081208054939094166001600160a01b031993841617909355600b805460018101825593527f0175b7a638427703f0dbe7bb9bbf987a2551717b34e79f33b5b1008d1fa01db990920180549091169091179055565b6001600160a01b0382166125045760405162461bcd60e51b81526004018080602001828103825260218152602001806130856021913960400191505060405180910390fd5b6125418160405180606001604052806022815260200161311f602291396001600160a01b03851660009081526001602052604090205491906122ef565b6001600160a01b0383166000908152600160205260409020556003546125679082612a6e565b6003556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b6001600160a01b038083166000908152601b6020526040812054909116906125d684612ab0565b6001600160a01b038581166000818152601b602052604080822080546001600160a01b031916898616908117909155905194955093928616927f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f9190a461263e828483612abb565b50505050565b606061167d610ac7565b4690565b6001600160a01b0381166126975760405162461bcd60e51b8152600401808060200182810382526026815260200180612ef86026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b601a5460ff1615612733576040805162461bcd60e51b8152602060048201526006602482015265131bd8dad95960d21b604482015290519081900360640190fd5b601a805460ff19166001179055600061274a610f3c565b905060005b81811015612852576000600b828154811061276657fe5b60009182526020822001546001600160a01b0316915061278582610aa6565b9050600061279282611e80565b9050670de0b6b3a7640000811080159081906127c05750836001600160a01b0316886001600160a01b031614155b80156127de5750836001600160a01b0316876001600160a01b031614155b15612842576127ee838584611f28565b836001600160a01b031663fff6cae96040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561282957600080fd5b505af115801561283d573d6000803e3d6000fd5b505050505b50506001909201915061274f9050565b5050601a805460ff191690555050565b60008261287157506000610b75565b8282028284828161287e57fe5b04146118525760405162461bcd60e51b8152600401808060200182810382526021815260200180612f916021913960400191505060405180910390fd5b600061185283836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250612bf8565b60008060008061291e6127106121c9600e548861286290919063ffffffff16565b935061293b6127106121c9600f548861286290919063ffffffff16565b92506129586127106121c96010548861286290919063ffffffff16565b91506129756127106121c96011548861286290919063ffffffff16565b90509193509193565b876001600160a01b0316816001600160a01b031614156129a3576129a3898989611f28565b601454610100900460ff1615612a0b576129bd8187612c5d565b6001600160a01b038083166000908152600a60205260409020546129e49183911687611f28565b6129ee81856124bf565b601254612a069082906001600160a01b031685611f28565b612a24565b612a2481612a1f856115b788818c8c611d36565b6124bf565b886001600160a01b0316816001600160a01b03161415612a6357612a5683612a50878188818d8d612a6e565b90612a6e565b9650612a63898989611f28565b505050505050505050565b600061185283836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506122ef565b6000610b758261119e565b816001600160a01b0316836001600160a01b031614158015612add5750600081115b156114b8576001600160a01b03831615612b6f576001600160a01b0383166000908152601d602052604081205463ffffffff169081612b1d576000612b4f565b6001600160a01b0385166000908152601c6020908152604080832063ffffffff60001987011684529091529020600101545b90506000612b5d8285612a6e565b9050612b6b86848484612c6c565b5050505b6001600160a01b038216156114b8576001600160a01b0382166000908152601d602052604081205463ffffffff169081612baa576000612bdc565b6001600160a01b0384166000908152601c6020908152604080832063ffffffff60001987011684529091529020600101545b90506000612bea8285611d36565b9050611c1385848484612c6c565b60008183612c475760405162461bcd60e51b815260206004820181815283516024840152835190928392604490910191908501908083836000831561234357818101518382015260200161232b565b506000838581612c5357fe5b0495945050505050565b612c68823083611f28565b5050565b6000612c90436040518060600160405280603381526020016130cb60339139612dd1565b905060008463ffffffff16118015612cd957506001600160a01b0385166000908152601c6020908152604080832063ffffffff6000198901811685529252909120548282169116145b15612d16576001600160a01b0385166000908152601c6020908152604080832063ffffffff60001989011684529091529020600101829055612d87565b60408051808201825263ffffffff808416825260208083018681526001600160a01b038a166000818152601c84528681208b8616825284528681209551865490861663ffffffff199182161787559251600196870155908152601d9092529390208054928801909116919092161790555b604080518481526020810184905281516001600160a01b038816927fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724928290030190a25050505050565b6000816401000000008410612e275760405162461bcd60e51b815260206004820181815283516024840152835190928392604490910191908501908083836000831561234357818101518382015260200161232b565b509192915050565b604080518082019091526000808252602082015290565b605c80612e538339019056fe6080604052348015600f57600080fd5b50603f80601d6000396000f3fe6080604052600080fdfea2646970667358221220733a4b4f843536e0c73d5e8856031ba10bff90f45916adbda172e5253b2bf75664736f6c634300060c003342455032303a207472616e736665722066726f6d20746865207a65726f206164647265737342455032303a20617070726f76652066726f6d20746865207a65726f20616464726573734f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573734547473a3a64656c656761746542795369673a207369676e6174757265206578706972656442455032303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63654547473a3a6765745072696f72566f7465733a206e6f74207965742064657465726d696e6564536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657245524332303a206275726e20616d6f756e74206578636565647320616c6c6f77616e636542455032303a207472616e7366657220616d6f756e7420657863656564732062616c616e636542455032303a207472616e7366657220746f20746865207a65726f20616464726573734547473a3a64656c656761746542795369673a20696e76616c6964206e6f6e636542455032303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726f42455032303a206275726e2066726f6d20746865207a65726f20616464726573734547473a3a64656c656761746542795369673a20696e76616c6964207369676e61747572654547473a3a5f7772697465436865636b706f696e743a20626c6f636b206e756d6265722065786365656473203332206269747373656c6c206665652073686f756c64206265206c657373207468616e203130302542455032303a206275726e20616d6f756e7420657863656564732062616c616e636573756d206f6620746f6b656e486f6c646572732f6c702f6275726e2f70726f6a6563742070617274732073686f756c642062652031303030302028313030252942455032303a20617070726f766520746f20746865207a65726f2061646472657373a2646970667358221220cbff7dda938b334d708c972aaddef0ac075c155fc8194f36170241a6d645653564736f6c634300060c0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000005ff2b0db69458a0750badebc4f9e13add608c7f000000000000000000000000e9e7cea3dedca5984780bafc599bd69add087d56
-----Decoded View---------------
Arg [0] : router (address): 0x05fF2B0DB69458A0750badebc4f9e13aDd608C7F
Arg [1] : BUSD (address): 0xe9e7CEA3DedcA5984780Bafc599bD69ADd087D56
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 00000000000000000000000005ff2b0db69458a0750badebc4f9e13add608c7f
Arg [1] : 000000000000000000000000e9e7cea3dedca5984780bafc599bd69add087d56
Loading...
Loading
Loading...
Loading
OVERVIEW
Moonlift Protocol is a community driven passive income generator protocol running on BinanceSmartChain.Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.