ERC-20
Overview
Max Total Supply
1,000,000,000 MB
Holders
168
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 9 Decimals)
Balance
1,740,841.378235887 MBValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Similar Match Source Code This contract matches the deployed Bytecode of the Source Code for Contract 0xc19D417a...Ff83Fe676 The constructor portion of the code might be different and could alter the actual behaviour of the contract
Contract Name:
OperaToken
Compiler Version
v0.8.21+commit.d9974bed
Contract Source Code (Solidity Standard Json-Input format)
pragma solidity ^0.8.17; //SPDX-License-Identifier: MIT import "OperaStakingV2.sol"; import "IERC20.sol"; import "Auth.sol"; import "SafeMath.sol"; import "IDEXRouter.sol"; import "IDEXFactory.sol"; import "OperaRevenue.sol"; contract OperaToken is IERC20, Auth { using SafeMath for uint256; string _name; string _symbol; string _telegram; string _website; uint8 constant _decimals = 9; uint256 public _totalSupply; uint256 public _maxWalletToken; uint256 public _swapThreshold; uint256 public _operaTax; uint256 public _marketingBuyTax; uint256 public _marketingSellTax; uint256 public _devBuyTax; uint256 public _devSellTax; uint256 public _liquidityBuyTax; uint256 public _liquiditySellTax; mapping(address => uint256) _balances; mapping(address => mapping(address => uint256)) _allowances; mapping(address => bool) isFeeExempt; address public pair; address public routerAddress = 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D; // address public routerAddress = 0x10ED43C718714eb63d5aA57B78B54704E256024E; address public _devAddress; address public _marketingAddress; address public _operaRewardAddress; address public _operaAddress; address public WETHAddress = 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2; // address public WETHAddress = 0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c; address public DEAD = 0x000000000000000000000000000000000000dEaD; IDEXRouter public router; bool inSwap; modifier swapping() { inSwap = true; _; inSwap = false; } event AutoLiquify(uint256 amountETH, uint256 amountCoin); constructor( string[] memory _stringData, address[] memory _addressData, uint256[] memory _intData, address rewardsAddress ) Auth(msg.sender) { require(_stringData.length == 4, "String List needs 4 string inputs"); require( _addressData.length == 2, "Address List needs 2 address inputs" ); require(_intData.length == 9, "Int List needs 9 int inputs"); _operaRewardAddress = rewardsAddress; _operaAddress = msg.sender; router = IDEXRouter(routerAddress); pair = IDEXFactory(router.factory()).createPair( router.WETH(), address(this) ); authorizations[routerAddress] = true; _name = _stringData[0]; _symbol = _stringData[1]; _telegram = _stringData[2]; _website = _stringData[3]; _devAddress = _addressData[0]; _marketingAddress = _addressData[1]; require(_intData[0] > 0 && _intData[0] < 999999999999999999); _totalSupply = _intData[0] * 10 ** _decimals; _balances[msg.sender] = _totalSupply; emit Transfer(address(0), msg.sender, _totalSupply); _maxWalletToken = (_totalSupply * _intData[1]) / 1000; _swapThreshold = (_totalSupply * _intData[2]) / 1000; _marketingBuyTax = _intData[3]; _marketingSellTax = _intData[4]; _devBuyTax = _intData[5]; _devSellTax = _intData[6]; _liquidityBuyTax = _intData[7]; _liquiditySellTax = _intData[8]; _allowances[address(this)][address(router)] = _totalSupply; require( _swapThreshold <= (_totalSupply / 20) && _swapThreshold >= (_totalSupply / 500), "Swap Threshold must be less than 5% of total supply, or greater than 0.2%." ); require( _maxWalletToken >= (_totalSupply / 500), "Max Wallet must be greater than 0.2%." ); require(getSellTax() <= 480, "Sell tax can't be greater than 48%."); require(getBuyTax() <= 480, "Buy tax can't be greater than 48%."); if (getTotalTax() > 192) { _operaTax = 20; } else { _operaTax = 4; } require( _devAddress != address(0) && _marketingAddress != address(0), "Reciever wallets can't be Zero address." ); } receive() external payable {} function totalSupply() external view override returns (uint256) { return _totalSupply; } function decimals() external pure override returns (uint8) { return _decimals; } function symbol() external view override returns (string memory) { return _symbol; } function name() external view override returns (string memory) { return _name; } function getOwner() external view override returns (address) { return owner; } function balanceOf(address account) public view override returns (uint256) { return _balances[account]; } function allowance( address holder, address spender ) external view override returns (uint256) { return _allowances[holder][spender]; } function approve( address spender, uint256 amount ) public override returns (bool) { _allowances[msg.sender][spender] = amount; emit Approval(msg.sender, spender, amount); return true; } function approveMax(address spender) external returns (bool) { return approve(spender, _totalSupply); } function transfer( address recipient, uint256 amount ) external override returns (bool) { if (owner == msg.sender) { return _basicTransfer(msg.sender, recipient, amount); } else { return _transferFrom(msg.sender, recipient, amount); } } function _basicTransfer( address sender, address recipient, uint256 amount ) internal returns (bool) { _balances[sender] = _balances[sender].sub( amount, "Insufficient Balance" ); _balances[recipient] = _balances[recipient].add(amount); emit Transfer(sender, recipient, amount); return true; } function transferFrom( address sender, address recipient, uint256 amount ) external override returns (bool) { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); if (_allowances[sender][msg.sender] != _totalSupply) { _allowances[sender][msg.sender] = _allowances[sender][msg.sender] .sub(amount, "Insufficient Allowance"); } return _transferFrom(sender, recipient, amount); } function _transferFrom( address sender, address recipient, uint256 amount ) internal returns (bool) { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); if ( authorizations[sender] || authorizations[recipient] || recipient == _operaAddress ) { return _basicTransfer(sender, recipient, amount); } if (inSwap) { return _basicTransfer(sender, recipient, amount); } checkLimits(sender, recipient, amount); if (shouldTokenSwap(recipient)) { tokenSwap(); } _balances[sender] = _balances[sender].sub( amount, "Insufficient Balance" ); uint256 amountReceived = (recipient == pair || sender == pair) ? takeFee(sender, recipient, amount) : amount; _balances[recipient] = _balances[recipient].add(amountReceived); emit Transfer(sender, recipient, amountReceived); return true; } function takeFee( address sender, address recipient, uint256 amount ) internal returns (uint256) { if (isFeeExempt[sender] || isFeeExempt[recipient]) { return amount; } uint256 _totalFee; _totalFee = (recipient == pair) ? getSellTax() : getBuyTax(); uint256 feeAmount = amount.mul(_totalFee).div(1000); _balances[address(this)] = _balances[address(this)].add(feeAmount); emit Transfer(sender, address(this), feeAmount); return amount.sub(feeAmount); } function getBuyTax() public view returns (uint) { return _liquidityBuyTax + _devBuyTax + _marketingBuyTax + _operaTax; } function getSellTax() public view returns (uint) { return _liquiditySellTax + _devSellTax + _marketingSellTax + _operaTax; } function getTotalTax() public view returns (uint) { return getSellTax() + getBuyTax(); } function setTaxes( uint256 _marketingBuyPercent, uint256 _marketingSellPercent, uint256 _devBuyPercent, uint256 _devSellPercent, uint256 _liquidityBuyPercent, uint256 _liquiditySellPercent ) external authorized { uint256 amount = _balances[address(this)]; if (_operaTax == 20) { if (amount > 0) { tokenSwap(); } _operaTax = 4; } _marketingBuyTax = _marketingBuyPercent; _liquidityBuyTax = _liquidityBuyPercent; _devBuyTax = _devBuyPercent; _marketingSellTax = _marketingSellPercent; _liquiditySellTax = _liquiditySellPercent; _devSellTax = _devSellPercent; requireLimits(); } function tokenSwap() internal swapping { uint256 amount = _balances[address(this)]; uint256 amountToLiquify = (_liquidityBuyTax + _liquiditySellTax > 0) ? amount .mul(_liquidityBuyTax + _liquiditySellTax) .div(getTotalTax()) .div(2) : 0; uint256 amountToSwap = amount.sub(amountToLiquify); address[] memory path = new address[](2); path[0] = address(this); path[1] = WETHAddress; uint256 balanceBefore = address(this).balance; router.swapExactTokensForETHSupportingFeeOnTransferTokens( amountToSwap, 0, path, address(this), block.timestamp ); bool tmpSuccess; uint256 amountETH = address(this).balance.sub(balanceBefore); uint256 totalETHFee = (_liquidityBuyTax + _liquiditySellTax > 0) ? getTotalTax().sub((_liquidityBuyTax + _liquiditySellTax).div(2)) : getTotalTax(); uint256 amountETHLiquidity = amountETH .mul(_liquidityBuyTax + _liquiditySellTax) .div(totalETHFee) .div(2); if (_devBuyTax + _devSellTax > 0) { uint256 amountETHDev = amountETH.mul(_devBuyTax + _devSellTax).div( totalETHFee ); (tmpSuccess, ) = payable(_devAddress).call{ value: amountETHDev, gas: 100000 }(""); tmpSuccess = false; } if (_marketingBuyTax + _marketingSellTax > 0) { uint256 amountETHMarketing = amountETH .mul(_marketingBuyTax + _marketingSellTax) .div(totalETHFee); (tmpSuccess, ) = payable(_marketingAddress).call{ value: amountETHMarketing, gas: 100000 }(""); tmpSuccess = false; } if (amountToLiquify > 0) { router.addLiquidityETH{value: amountETHLiquidity}( address(this), amountToLiquify, 0, 0, _operaAddress, block.timestamp ); emit AutoLiquify(amountETHLiquidity, amountToLiquify); } uint256 operaFee = amountETH.mul(_operaTax.mul(2)).div(totalETHFee); OperaRevenue rewardContract = OperaRevenue( payable(_operaRewardAddress) ); rewardContract.recieveRewards{value: operaFee}(); } function shouldTokenSwap(address recipient) internal view returns (bool) { return ((recipient == pair) && !inSwap && _balances[address(this)] >= _swapThreshold); } function checkLimits( address sender, address recipient, uint256 amount ) internal view { if ( !authorizations[sender] && recipient != address(this) && sender != address(this) && recipient != address(DEAD) && recipient != pair && recipient != _marketingAddress && recipient != _devAddress && recipient != _operaAddress ) { uint256 heldTokens = balanceOf(recipient); require( (heldTokens + amount) <= _maxWalletToken, "Total Holding is currently limited, you can not buy that much." ); } } function setMaxWallet(uint256 percent) external authorized { _maxWalletToken = (_totalSupply * percent) / 1000; requireLimits(); } function setTokenSwapSettings(uint256 percent) external authorized { _swapThreshold = (_totalSupply * percent) / 1000; requireLimits(); } function requireLimits() internal view { require( _swapThreshold <= (_totalSupply / 20) && _swapThreshold >= (_totalSupply / 500), "Swap Threshold must be less than 5% of total supply, or greater than 0.2%." ); require( _maxWalletToken >= (_totalSupply / 500), "Max Wallet must be greater than 0.2%." ); require(getSellTax() <= 100, "Sell tax can't be greater than 10%."); require(getBuyTax() <= 100, "Buy tax can't be greater than 10%."); require( _devAddress != address(0) && _marketingAddress != address(0), "Reciever wallets can't be Zero address." ); } function getAddress() external view returns (address) { return address(this); } function aboutMe() external view returns (string memory, string memory) { return (_telegram, _website); } function updateAboutMe( string memory telegram, string memory website ) external authorized { _telegram = telegram; _website = website; } function factoryAuthorizeOverride(address addy) external { require(msg.sender == _operaAddress, "Only the factory can call this."); authorizations[addy] = true; } function setAddresses( address marketingAddress, address devAddress ) external authorized { _marketingAddress = marketingAddress; _devAddress = devAddress; requireLimits(); } function setFeeExemption(address user, bool status) external authorized { isFeeExempt[user] = status; } function clearStuckBalance() external { if (!inSwap) { require( msg.sender == _operaAddress, "Only Factory Contract can clear balance." ); payable(_operaAddress).transfer(address(this).balance); } } }
//SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.18; import "OperaToken.sol"; import "SafeMath.sol"; import "IERC20.sol"; library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; // solhint-disable-next-line no-inline-assembly assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require( address(this).balance >= amount, "Address: insufficient balance" ); // solhint-disable-next-line avoid-low-level-calls, avoid-call-value (bool success, ) = recipient.call{value: amount}(""); require( success, "Address: unable to send value, recipient may have reverted" ); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain`call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data ) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue( target, data, value, "Address: low-level call with value failed" ); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require( address(this).balance >= value, "Address: insufficient balance for call" ); require(isContract(target), "Address: call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.call{value: value}( data ); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data ) internal view returns (bytes memory) { return functionStaticCall( target, data, "Address: low-level static call failed" ); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.staticcall(data); return _verifyCallResult(success, returndata, errorMessage); } 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); } } } } abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } abstract contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor() { _paused = false; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view returns (bool) { return _paused; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { require(!_paused, "Pausable: paused"); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { require(_paused, "Pausable: not paused"); _; } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } } library SafeERC20 { using SafeMath for uint256; using Address for address; function safeTransfer(IERC20 token, address to, uint256 value) internal { _callOptionalReturn( token, abi.encodeWithSelector(token.transfer.selector, to, value) ); } function safeTransferFrom( IERC20 token, address from, address to, uint256 value ) internal { _callOptionalReturn( token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value) ); } function safeApprove( IERC20 token, address spender, uint256 value ) internal { require( (value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); _callOptionalReturn( token, abi.encodeWithSelector(token.approve.selector, spender, value) ); } function safeIncreaseAllowance( IERC20 token, address spender, uint256 value ) internal { uint256 newAllowance = token.allowance(address(this), spender).add( value ); _callOptionalReturn( token, abi.encodeWithSelector( token.approve.selector, spender, newAllowance ) ); } function safeDecreaseAllowance( IERC20 token, address spender, uint256 value ) internal { uint256 newAllowance = token.allowance(address(this), spender).sub( value, "SafeERC20: decreased allowance below zero" ); _callOptionalReturn( token, abi.encodeWithSelector( token.approve.selector, spender, newAllowance ) ); } function _callOptionalReturn(IERC20 token, bytes memory data) private { bytes memory returndata = address(token).functionCall( data, "SafeERC20: low-level call failed" ); if (returndata.length > 0) { // Return data is optional // solhint-disable-next-line max-line-length require( abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed" ); } } } abstract contract Ownable is Context { address private _owner; event OwnershipTransferred( address indexed previousOwner, address indexed newOwner ); constructor() { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } function owner() public view returns (address) { return _owner; } modifier onlyOwner() { require(_owner == _msgSender(), "Ownable: caller is not the owner"); _; } function renounceOwnership() public virtual onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); } function transferOwnership(address newOwner) public virtual onlyOwner { require( newOwner != address(0), "Ownable: new owner is the zero address" ); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } } contract OperaStakingV2 is Pausable, Ownable { using SafeMath for uint256; using SafeERC20 for IERC20; IERC20 public rewardsToken; IERC20 public stakingToken; uint256 public periodFinish = 0; uint256 public rewardRate = 0; uint256 public rewardsDuration; uint256 public lastUpdateTime; uint256 public rewardPerTokenStored; uint256 public stakingTokensDecimalRate; address public stakeAdmin; uint256 public lockDuration; bool private initialised; bool public locked; uint256 public constant MAX_UNSTAKE_FEE = 2000; uint256 public earlyUnstakeFee = 1500; mapping(address => uint256) public userRewardPerTokenPaid; mapping(address => uint256) public rewards; uint256 private _totalSupply; mapping(address => uint256) private _balances; modifier notContract() { require(!_isContract(msg.sender), "contract not allowed"); require(msg.sender == tx.origin, "proxy contract not allowed"); _; } function _isContract(address addr) internal view returns (bool) { uint256 size; assembly { size := extcodesize(addr) } return size > 0; } /* ========== CONSTRUCTOR ========== */ constructor() { stakingTokensDecimalRate = 10 ** 9; rewardsToken = IERC20(0x3bd8268791DE798d4ED5d424d49412cF42B8eC3a); stakingToken = IERC20(0x3bd8268791DE798d4ED5d424d49412cF42B8eC3a); rewardsDuration = 2630000; locked = true; if (locked) { lockDuration = 2630000; } stakeAdmin = msg.sender; } /* ========== VIEWS ========== */ function totalSupply() external view returns (uint256) { return _totalSupply; } function balanceOf(address account) external view returns (uint256) { return _balances[account]; } function lastTimeRewardApplicable() public view returns (uint256) { return min(block.timestamp, periodFinish); } function rewardPerToken() public view returns (uint256) { if (_totalSupply == 0) { return rewardPerTokenStored; } return rewardPerTokenStored.add( lastTimeRewardApplicable() .sub(lastUpdateTime) .mul(rewardRate) .mul(stakingTokensDecimalRate) .div(_totalSupply) ); } function earned(address account) public view returns (uint256) { return _balances[account] .mul(rewardPerToken().sub(userRewardPerTokenPaid[account])) .div(stakingTokensDecimalRate) .add(rewards[account]); } function getRewardForDuration() external view returns (uint256) { return rewardRate.mul(rewardsDuration); } function min(uint256 a, uint256 b) public pure returns (uint256) { return a < b ? a : b; } function PoolInfo() public view returns ( uint256 _periodFinish, uint256 _rewardRate, uint256 _rewardsDuration, uint256 _lastUpdateTime, uint256 _rewardPerToken, uint256 _getRewardForDuration, uint256 _lockDuration, uint256 _earlyUnstakeFee, uint256 _totSupply ) { _periodFinish = periodFinish; _rewardRate = rewardRate; _rewardsDuration = rewardsDuration; _lastUpdateTime = lastUpdateTime; _rewardPerToken = rewardPerToken(); _getRewardForDuration = rewardRate.mul(rewardsDuration); _lockDuration = lockDuration; _earlyUnstakeFee = earlyUnstakeFee; _totSupply = _totalSupply; } function UserInfo( address account ) public view returns (uint256 _balanceOf, uint256 _earned, uint256 _rewards) { _balanceOf = _balances[account]; _earned = earned(account); _rewards = rewards[account]; } /* ========== MUTATIVE FUNCTIONS ========== */ function stake( uint256 amount ) external notContract whenNotPaused updateReward(msg.sender) { require(amount > 0, "Cannot stake 0"); _totalSupply = _totalSupply.add(amount); _balances[msg.sender] = _balances[msg.sender].add(amount); stakingToken.safeTransferFrom(msg.sender, address(this), amount); emit Staked(msg.sender, amount); } function withdraw( uint256 amount ) public notContract updateReward(msg.sender) { require(amount > 0, "Cannot withdraw 0"); if (locked) { require(block.timestamp >= periodFinish, "Lock Time is not over"); } _totalSupply = _totalSupply.sub(amount); _balances[msg.sender] = _balances[msg.sender].sub(amount); stakingToken.safeTransfer(msg.sender, amount); emit Withdrawn(msg.sender, amount); } function getReward() public notContract updateReward(msg.sender) { uint256 reward = rewards[msg.sender]; if (reward > 0) { rewards[msg.sender] = 0; rewardsToken.safeTransfer(msg.sender, reward); emit RewardPaid(msg.sender, reward); } } function emergencyWithdraw( uint256 amount //allows you to exit the contract before unlock time, at a penalty to your balance ) public notContract updateReward(msg.sender) { require(amount > 0, "Cannot withdraw 0"); getReward(); _totalSupply = _totalSupply.sub(amount); _balances[msg.sender] = _balances[msg.sender].sub(amount); if (earlyUnstakeFee > 0) { uint256 adminFee = amount.mul(earlyUnstakeFee).div(10000); amount -= adminFee; stakingToken.safeTransfer(stakeAdmin, adminFee); } stakingToken.safeTransfer(msg.sender, amount); emit Withdrawn(msg.sender, amount); } function exit() external { withdraw(_balances[msg.sender]); getReward(); } /* ========== RESTRICTED FUNCTIONS ========== */ function notifyRewardAmount( uint256 reward ) external onlyOwner updateReward(address(0)) { if (block.timestamp >= periodFinish) { rewardRate = reward.div(rewardsDuration); } else { uint256 remaining = periodFinish.sub(block.timestamp); uint256 leftover = remaining.mul(rewardRate); rewardRate = reward.add(leftover).div(rewardsDuration); } // Ensure the provided reward amount is not more than the balance in the contract. // This keeps the reward rate in the right range, preventing overflows due to // very high values of rewardRate in the earned and rewardsPerToken functions; // Reward + leftover must be less than 2^256 / 10^18 to avoid overflow. uint256 balance = rewardsToken.balanceOf(address(this)); require( rewardRate <= balance.div(rewardsDuration), "Provided reward too high" ); lastUpdateTime = block.timestamp; periodFinish = block.timestamp.add(rewardsDuration); emit RewardAdded(reward); } function setEarlyUnstakeFee(uint256 _earlyUnstakeFee) external onlyOwner { require( _earlyUnstakeFee <= MAX_UNSTAKE_FEE, "earlyUnstakeFee cannot be more than MAX_UNSTAKE_FEE" ); earlyUnstakeFee = _earlyUnstakeFee; } // function setTokenInternalFee(uint256 _tokenInternalFess) external onlyOwner { // tokenInternalFess = _tokenInternalFess; // } function manualUnlock() external onlyOwner { locked = false; } function recoverERC20( address tokenAddress, uint256 tokenAmount ) external onlyOwner { require( block.timestamp >= periodFinish + 2 hours, "Lock Time is not over" ); IERC20(tokenAddress).safeTransfer(msg.sender, tokenAmount); emit Recovered(tokenAddress, tokenAmount); } function setRewardsDuration(uint256 _rewardsDuration) external onlyOwner { require( block.timestamp > periodFinish, "Previous rewards period must be complete before changing the duration for the new period" ); rewardsDuration = _rewardsDuration; emit RewardsDurationUpdated(rewardsDuration); } /* ========== MODIFIERS ========== */ modifier updateReward(address account) { rewardPerTokenStored = rewardPerToken(); lastUpdateTime = lastTimeRewardApplicable(); if (account != address(0)) { rewards[account] = earned(account); userRewardPerTokenPaid[account] = rewardPerTokenStored; } _; } /* ========== EVENTS ========== */ event RewardAdded(uint256 reward); event Staked(address indexed user, uint256 amount); event Withdrawn(address indexed user, uint256 amount); event RewardPaid(address indexed user, uint256 reward); event RewardsDurationUpdated(uint256 newDuration); event Recovered(address token, uint256 amount); event Compounded(address indexed user, uint256 amount); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.17; library SafeMath { function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } function sub(uint256 a, uint256 b) internal pure returns (uint256) { return sub(a, b, "SafeMath: subtraction overflow"); } function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } function mul(uint256 a, uint256 b) internal pure returns (uint256) { if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } function div(uint256 a, uint256 b) internal pure returns (uint256) { return div(a, b, "SafeMath: division by 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; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.17; interface IERC20 { function totalSupply() external view returns (uint256); function decimals() external view returns (uint8); function symbol() external view returns (string memory); function name() external view returns (string memory); function getOwner() external view returns (address); function balanceOf(address account) external view returns (uint256); function transfer( address recipient, uint256 amount ) external returns (bool); function allowance( address _owner, address spender ) external view returns (uint256); function approve(address spender, uint256 amount) external returns (bool); function transferFrom( address sender, address recipient, uint256 amount ) external returns (bool); event Transfer(address indexed from, address indexed to, uint256 value); event Approval( address indexed owner, address indexed spender, uint256 value ); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.17; abstract contract Auth { address internal owner; mapping(address => bool) internal authorizations; constructor(address _owner) { owner = _owner; authorizations[_owner] = true; } modifier onlyOwner() { require(isOwner(msg.sender), "!OWNER"); _; } modifier authorized() { require(isAuthorized(msg.sender), "!AUTHORIZED"); _; } function authorize(address adr) public onlyOwner { authorizations[adr] = true; } function unauthorize(address adr) public onlyOwner { authorizations[adr] = false; } function isOwner(address account) public view returns (bool) { return account == owner; } function isAuthorized(address adr) public view returns (bool) { return authorizations[adr]; } function transferOwnership(address payable adr) public onlyOwner { owner = adr; authorizations[adr] = true; emit OwnershipTransferred(adr); } event OwnershipTransferred(address owner); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.17; interface IDEXRouter { function factory() external pure returns (address); function WETH() external pure returns (address); function removeLiquidity( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB); function addLiquidity( address tokenA, address tokenB, uint amountADesired, uint amountBDesired, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB, uint liquidity); function addLiquidityETH( address token, uint amountTokenDesired, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external payable returns (uint amountToken, uint amountETH, uint liquidity); function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; function swapExactETHForTokensSupportingFeeOnTransferTokens( uint amountOutMin, address[] calldata path, address to, uint deadline ) external payable; function swapExactTokensForETHSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.17; interface IDEXFactory { function createPair( address tokenA, address tokenB ) external returns (address pair); }
pragma solidity ^0.8.17; //SPDX-License-Identifier: MIT import "OperaToken.sol"; import "OperaLendingPool.sol"; import "IERC20.sol"; import "Math.sol"; contract OperaRevenue { address public owner; address public teamAlpha; address public teamBeta = 0xB0241BD37223F8c55096A2e15A13534A57938716; mapping(address => uint256) public claimableRewardsForAddress; address public lendingPoolAddress; event rewardsMoved( address account, uint256 amount, uint256 blocktime, bool incoming ); event rewardsAwarded(address user, uint256 amount, uint256 blocktime); constructor() { owner = msg.sender; teamAlpha = msg.sender; } modifier onlyOwner() { require(owner == msg.sender, "only owner"); _; } function withdraw() external onlyOwner { payable(owner).transfer(address(this).balance); } function requestReward() external { uint256 usersRewardAmount = claimableRewardsForAddress[msg.sender]; require(usersRewardAmount > 0, "You have no rewards."); claimableRewardsForAddress[msg.sender] = 0; payable(msg.sender).transfer(usersRewardAmount); emit rewardsMoved( msg.sender, usersRewardAmount, block.timestamp, false ); } function setLendingPoolAddress(address addy) external onlyOwner { lendingPoolAddress = addy; } function setBetaAddress(address addy) external onlyOwner { teamBeta = addy; } function setAlphaAddress(address addy) external onlyOwner { teamAlpha = addy; } function getAddressBalance(address _address) public view returns (uint256) { return _address.balance; } receive() external payable {} function recieveRewards() external payable { OperaPool lender = OperaPool(payable(lendingPoolAddress)); uint256 totalEthLent = lender.totalEthLent(); if (totalEthLent == 0) { uint256 getTeamFee = (msg.value * 50) / 100; claimableRewardsForAddress[teamAlpha] += getTeamFee; claimableRewardsForAddress[teamBeta] += getTeamFee; } else { uint256 numberOfLenders = lender.numberOfLenders(); uint256 getLenderFee = (msg.value * 70) / 100; uint256 getTeamFee = (msg.value * 15) / 100; uint256 rewardsPerShare = getLenderFee / totalEthLent; address tempAddress; uint256 tempLentAmount; claimableRewardsForAddress[teamAlpha] += getTeamFee; claimableRewardsForAddress[teamBeta] += getTeamFee; for (uint256 i = 0; i < numberOfLenders; i++) { tempAddress = lender.lenderIdToAddress(i + 1); tempLentAmount = lender.usersCurrentLentAmount(tempAddress); claimableRewardsForAddress[tempAddress] += tempLentAmount * rewardsPerShare; emit rewardsAwarded( tempAddress, tempLentAmount * rewardsPerShare, block.timestamp ); } } emit rewardsMoved(msg.sender, msg.value, block.timestamp, true); } }
pragma solidity ^0.8.17; //SPDX-License-Identifier: MIT import "Auth.sol"; import "OperaStakingV2.sol"; contract OperaPool is Auth { uint256 public totalEthLent; uint256 public totalAvailableEth; uint256 public numberOfLenders; uint256 public lendingStakingRequirement; uint256 public borrowLimit = 3; uint256 public _tokenDecimals = 1 * 10 ** 18; bool public borrowingEnable = true; OperaStakingV2 public operaStakingAddress; mapping(address => uint256) public usersCurrentLentAmount; mapping(uint256 => address) public lenderIdToAddress; mapping(address => uint256) public lenderAddressToId; mapping(address => bool) public authorizedFactoryAddresses; event ethMoved( address account, uint256 amount, uint256 code, uint256 blocktime ); // 1 lent 2 borrowed 3 returned 4 withdrawn event factoryStatusChange(address factoryAddress, bool status); constructor() Auth(msg.sender) {} modifier onlyFactoryAuthorized() { require( authorizedFactoryAddresses[msg.sender], "only factory contracts can borrow eth" ); _; } function updateFactoryAuthorization( address addy, bool status ) external onlyOwner { authorizedFactoryAddresses[addy] = status; emit factoryStatusChange(addy, status); } function updateBorrowLimit(uint256 limit) external onlyOwner { borrowLimit = limit; } function updateLendingStakeRequirement(uint256 limit) external onlyOwner { lendingStakingRequirement = limit; } function setStakingAddress(address addy) external onlyOwner { operaStakingAddress = OperaStakingV2(addy); } function updateBorrowingEnabled(bool status) external onlyOwner { borrowingEnable = status; } receive() external payable {} function lendEth() external payable returns (bool) { require( msg.value > 0 && msg.value % _tokenDecimals == 0, "Only send full ether." ); if (lendingStakingRequirement > 0) { require( operaStakingAddress.balanceOf(msg.sender) >= lendingStakingRequirement, "You are not staking enough to lend." ); } if (lenderAddressToId[msg.sender] == 0) { lenderAddressToId[msg.sender] = numberOfLenders + 1; lenderIdToAddress[numberOfLenders + 1] = msg.sender; numberOfLenders += 1; } uint256 amountReceived = msg.value / _tokenDecimals; emit ethMoved(msg.sender, amountReceived, 1, block.timestamp); totalEthLent += amountReceived; usersCurrentLentAmount[msg.sender] += amountReceived; totalAvailableEth += amountReceived; return true; } function borrowEth(uint256 _amount) external onlyFactoryAuthorized { require(_amount <= totalAvailableEth, "Not Enough eth to borrow"); require(_amount > 0, "Cannot borrow 0"); require(borrowingEnable, "Borrowing is not enabled."); require(_amount <= borrowLimit, "Can't borrow that much."); totalAvailableEth -= _amount; payable(msg.sender).transfer(_amount * _tokenDecimals); emit ethMoved(msg.sender, _amount, 2, block.timestamp); } function returnLentEth(uint256 amountEth) external payable returns (bool) { require( (amountEth * _tokenDecimals) - msg.value == 0, "Did not send enough eth." ); emit ethMoved(msg.sender, amountEth, 3, block.timestamp); totalAvailableEth += amountEth; return true; } function withdrawLentEth(uint256 _amountEther) external payable { require( usersCurrentLentAmount[msg.sender] >= _amountEther, "You Did not lend that much." ); require(_amountEther > 0, "Cant withdraw 0."); require(_amountEther <= totalAvailableEth, "Not enough eth available."); if (usersCurrentLentAmount[msg.sender] == _amountEther) { uint256 tempIdOfUser = lenderAddressToId[msg.sender]; address addressOfLastUser = lenderIdToAddress[numberOfLenders]; if (addressOfLastUser != msg.sender) { delete lenderAddressToId[msg.sender]; lenderAddressToId[addressOfLastUser] = tempIdOfUser; lenderIdToAddress[tempIdOfUser] = addressOfLastUser; delete lenderIdToAddress[numberOfLenders]; numberOfLenders -= 1; } else { delete lenderAddressToId[msg.sender]; delete lenderIdToAddress[tempIdOfUser]; numberOfLenders -= 1; } } usersCurrentLentAmount[msg.sender] -= _amountEther; totalAvailableEth -= _amountEther; totalEthLent -= _amountEther; payable(msg.sender).transfer(_amountEther * _tokenDecimals); emit ethMoved(msg.sender, _amountEther, 4, block.timestamp); } //safe gaurd so no funds get locked function withdraw() external onlyOwner { payable(owner).transfer(address(this).balance); } function rescueToken(address token) external onlyOwner { IERC20 tokenToRescue = IERC20(token); tokenToRescue.transfer(owner, tokenToRescue.balanceOf(address(this))); } function removeExcess() external payable onlyOwner { require( address(this).balance > totalAvailableEth * _tokenDecimals, "There is no excess eth" ); uint256 excessAmount = address(this).balance - (totalAvailableEth * _tokenDecimals); payable(owner).transfer(excessAmount); } }
/// math.sol -- mixin for inline numerical wizardry // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // You should have received a copy of the GNU General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. pragma solidity >0.4.13; contract DSMath { function add(uint x, uint y) internal pure returns (uint z) { require((z = x + y) >= x, "ds-math-add-overflow"); } function sub(uint x, uint y) internal pure returns (uint z) { require((z = x - y) <= x, "ds-math-sub-underflow"); } function mul(uint x, uint y) internal pure returns (uint z) { require(y == 0 || (z = x * y) / y == x, "ds-math-mul-overflow"); } function min(uint x, uint y) internal pure returns (uint z) { return x <= y ? x : y; } function max(uint x, uint y) internal pure returns (uint z) { return x >= y ? x : y; } function imin(int x, int y) internal pure returns (int z) { return x <= y ? x : y; } function imax(int x, int y) internal pure returns (int z) { return x >= y ? x : y; } uint constant WAD = 10 ** 18; uint constant RAY = 10 ** 27; //rounds to zero if x*y < WAD / 2 function wmul(uint x, uint y) internal pure returns (uint z) { z = add(mul(x, y), WAD / 2) / WAD; } //rounds to zero if x*y < WAD / 2 function rmul(uint x, uint y) internal pure returns (uint z) { z = add(mul(x, y), RAY / 2) / RAY; } //rounds to zero if x*y < WAD / 2 function wdiv(uint x, uint y) internal pure returns (uint z) { z = add(mul(x, WAD), y / 2) / y; } //rounds to zero if x*y < RAY / 2 function rdiv(uint x, uint y) internal pure returns (uint z) { z = add(mul(x, RAY), y / 2) / y; } // This famous algorithm is called "exponentiation by squaring" // and calculates x^n with x as fixed-point and n as regular unsigned. // // It's O(log n), instead of O(n) for naive repeated multiplication. // // These facts are why it works: // // If n is even, then x^n = (x^2)^(n/2). // If n is odd, then x^n = x * x^(n-1), // and applying the equation for even x gives // x^n = x * (x^2)^((n-1) / 2). // // Also, EVM division is flooring and // floor[(n-1) / 2] = floor[n / 2]. // function rpow(uint x, uint n) internal pure returns (uint z) { z = n % 2 != 0 ? x : RAY; for (n /= 2; n != 0; n /= 2) { x = rmul(x, x); if (n % 2 != 0) { z = rmul(z, x); } } } }
{ "evmVersion": "istanbul", "optimizer": { "enabled": true, "runs": 200 }, "libraries": { "OperaToken.sol": {} }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string[]","name":"_stringData","type":"string[]"},{"internalType":"address[]","name":"_addressData","type":"address[]"},{"internalType":"uint256[]","name":"_intData","type":"uint256[]"},{"internalType":"address","name":"rewardsAddress","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":false,"internalType":"uint256","name":"amountETH","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amountCoin","type":"uint256"}],"name":"AutoLiquify","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"owner","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":"DEAD","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WETHAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_devAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_devBuyTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_devSellTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_liquidityBuyTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_liquiditySellTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_marketingAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_marketingBuyTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_marketingSellTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_maxWalletToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_operaAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_operaRewardAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_operaTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_swapThreshold","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"aboutMe","outputs":[{"internalType":"string","name":"","type":"string"},{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"holder","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":"spender","type":"address"}],"name":"approveMax","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"adr","type":"address"}],"name":"authorize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"clearStuckBalance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"addy","type":"address"}],"name":"factoryAuthorizeOverride","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getBuyTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getSellTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTotalTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"adr","type":"address"}],"name":"isAuthorized","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isOwner","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"router","outputs":[{"internalType":"contract IDEXRouter","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"routerAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"marketingAddress","type":"address"},{"internalType":"address","name":"devAddress","type":"address"}],"name":"setAddresses","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"},{"internalType":"bool","name":"status","type":"bool"}],"name":"setFeeExemption","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"percent","type":"uint256"}],"name":"setMaxWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_marketingBuyPercent","type":"uint256"},{"internalType":"uint256","name":"_marketingSellPercent","type":"uint256"},{"internalType":"uint256","name":"_devBuyPercent","type":"uint256"},{"internalType":"uint256","name":"_devSellPercent","type":"uint256"},{"internalType":"uint256","name":"_liquidityBuyPercent","type":"uint256"},{"internalType":"uint256","name":"_liquiditySellPercent","type":"uint256"}],"name":"setTaxes","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"percent","type":"uint256"}],"name":"setTokenSwapSettings","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"adr","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"adr","type":"address"}],"name":"unauthorize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"telegram","type":"string"},{"internalType":"string","name":"website","type":"string"}],"name":"updateAboutMe","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
6080604052601480546001600160a01b0319908116737a250d5630b4cf539739df2c5dacb4c659f2488d1790915560198054821673c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2179055601a805490911661dead1790553480156200006557600080fd5b506040516200365738038062003657833981016040819052620000889162000bc3565b600080546001600160a01b0319163390811782558152600160208190526040909120805460ff191690911790558351600414620001165760405162461bcd60e51b815260206004820152602160248201527f537472696e67204c697374206e65656473203420737472696e6720696e7075746044820152607360f81b60648201526084015b60405180910390fd5b8251600214620001755760405162461bcd60e51b815260206004820152602360248201527f41646472657373204c697374206e656564732032206164647265737320696e7060448201526275747360e81b60648201526084016200010d565b8151600914620001c85760405162461bcd60e51b815260206004820152601b60248201527f496e74204c697374206e65656473203920696e7420696e70757473000000000060448201526064016200010d565b601780546001600160a01b038084166001600160a01b03199283161790925560188054821633179055601454601b8054909216921691821790556040805163c45a015560e01b8152905163c45a0155916004808201926020929091908290030181865afa1580156200023e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000264919062000d52565b6001600160a01b031663c9c65396601b60009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015620002c6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002ec919062000d52565b6040516001600160e01b031960e084901b1681526001600160a01b0390911660048201523060248201526044016020604051808303816000875af115801562000339573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200035f919062000d52565b601380546001600160a01b0319166001600160a01b039283161790556014541660009081526001602081905260408220805460ff191690911790558451859190620003ae57620003ae62000d77565b602002602001015160029081620003c6919062000e1c565b5083600181518110620003dd57620003dd62000d77565b602002602001015160039081620003f5919062000e1c565b50836002815181106200040c576200040c62000d77565b60200260200101516004908162000424919062000e1c565b50836003815181106200043b576200043b62000d77565b60200260200101516005908162000453919062000e1c565b50826000815181106200046a576200046a62000d77565b6020026020010151601560006101000a8154816001600160a01b0302191690836001600160a01b0316021790555082600181518110620004ae57620004ae62000d77565b6020026020010151601660006101000a8154816001600160a01b0302191690836001600160a01b03160217905550600082600081518110620004f457620004f462000d77565b60200260200101511180156200052e5750670de0b6b3a763ffff8260008151811062000524576200052462000d77565b6020026020010151105b6200053857600080fd5b620005466009600a62000ffd565b826000815181106200055c576200055c62000d77565b60200260200101516200057091906200100e565b600681905533600081815260106020908152604080832085905551938452919290917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a36103e882600181518110620005d657620005d662000d77565b6020026020010151600654620005ed91906200100e565b620005f9919062001028565b6007819055506103e88260028151811062000618576200061862000d77565b60200260200101516006546200062f91906200100e565b6200063b919062001028565b60085581518290600390811062000656576200065662000d77565b6020026020010151600a81905550816004815181106200067a576200067a62000d77565b6020026020010151600b81905550816005815181106200069e576200069e62000d77565b6020026020010151600c8190555081600681518110620006c257620006c262000d77565b6020026020010151600d8190555081600781518110620006e657620006e662000d77565b6020026020010151600e81905550816008815181106200070a576200070a62000d77565b602090810291909101810151600f55600654306000908152601183526040808220601b546001600160a01b0316835290935291909120819055620007519060149062001028565b600854111580156200077657506101f460065462000770919062001028565b60085410155b620007fd5760405162461bcd60e51b815260206004820152604a60248201527f53776170205468726573686f6c64206d757374206265206c657373207468616e60448201527f203525206f6620746f74616c20737570706c792c206f722067726561746572206064820152693a3430b710181719129760b11b608482015260a4016200010d565b6101f46006546200080f919062001028565b6007541015620008705760405162461bcd60e51b815260206004820152602560248201527f4d61782057616c6c6574206d7573742062652067726561746572207468616e20604482015264181719129760d91b60648201526084016200010d565b6101e06200087d620009f2565b1115620008d95760405162461bcd60e51b815260206004820152602360248201527f53656c6c207461782063616e27742062652067726561746572207468616e20346044820152621c129760e91b60648201526084016200010d565b6101e0620008e662000a29565b1115620009415760405162461bcd60e51b815260206004820152602260248201527f427579207461782063616e27742062652067726561746572207468616e203438604482015261129760f11b60648201526084016200010d565b60c06200094d62000a43565b11156200095f57601460095562000965565b60046009555b6015546001600160a01b0316158015906200098a57506016546001600160a01b031615155b620009e85760405162461bcd60e51b815260206004820152602760248201527f52656369657665722077616c6c6574732063616e2774206265205a65726f206160448201526632323932b9b99760c91b60648201526084016200010d565b5050505062001061565b6000600954600b54600d54600f5462000a0c91906200104b565b62000a1891906200104b565b62000a2491906200104b565b905090565b6000600954600a54600c54600e5462000a0c91906200104b565b600062000a4f62000a29565b62000a18620009f2565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b038111828210171562000a9a5762000a9a62000a59565b604052919050565b60006001600160401b0382111562000abe5762000abe62000a59565b5060051b60200190565b80516001600160a01b038116811462000ae057600080fd5b919050565b600082601f83011262000af757600080fd5b8151602062000b1062000b0a8362000aa2565b62000a6f565b82815260059290921b8401810191818101908684111562000b3057600080fd5b8286015b8481101562000b565762000b488162000ac8565b835291830191830162000b34565b509695505050505050565b600082601f83011262000b7357600080fd5b8151602062000b8662000b0a8362000aa2565b82815260059290921b8401810191818101908684111562000ba657600080fd5b8286015b8481101562000b56578051835291830191830162000baa565b6000806000806080858703121562000bda57600080fd5b84516001600160401b038082111562000bf257600080fd5b818701915087601f83011262000c0757600080fd5b8151602062000c1a62000b0a8362000aa2565b82815260059290921b8401810191818101908b84111562000c3a57600080fd5b8286015b8481101562000ce75780518681111562000c5757600080fd5b8701603f81018e1362000c6957600080fd5b848101518781111562000c805762000c8062000a59565b62000c94601f8201601f1916870162000a6f565b8181528f604083850101111562000cab5760008081fd5b60005b8281101562000ccc5783810160400151828201890152870162000cae565b50600091810187019190915284525091830191830162000c3e565b50918a015191985090935050508082111562000d0257600080fd5b62000d108883890162000ae5565b9450604087015191508082111562000d2757600080fd5b5062000d368782880162000b61565b92505062000d476060860162000ac8565b905092959194509250565b60006020828403121562000d6557600080fd5b62000d708262000ac8565b9392505050565b634e487b7160e01b600052603260045260246000fd5b600181811c9082168062000da257607f821691505b60208210810362000dc357634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111562000e1757600081815260208120601f850160051c8101602086101562000df25750805b601f850160051c820191505b8181101562000e135782815560010162000dfe565b5050505b505050565b81516001600160401b0381111562000e385762000e3862000a59565b62000e508162000e49845462000d8d565b8462000dc9565b602080601f83116001811462000e88576000841562000e6f5750858301515b600019600386901b1c1916600185901b17855562000e13565b600085815260208120601f198616915b8281101562000eb95788860151825594840194600190910190840162000e98565b508582101562000ed85787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b600181815b8085111562000f3f57816000190482111562000f235762000f2362000ee8565b8085161562000f3157918102915b93841c939080029062000f03565b509250929050565b60008262000f585750600162000ff7565b8162000f675750600062000ff7565b816001811462000f80576002811462000f8b5762000fab565b600191505062000ff7565b60ff84111562000f9f5762000f9f62000ee8565b50506001821b62000ff7565b5060208310610133831016604e8410600b841016171562000fd0575081810a62000ff7565b62000fdc838362000efe565b806000190482111562000ff35762000ff362000ee8565b0290505b92915050565b600062000d7060ff84168362000f47565b808202811582820484141762000ff75762000ff762000ee8565b6000826200104657634e487b7160e01b600052601260045260246000fd5b500490565b8082018082111562000ff75762000ff762000ee8565b6125e680620010716000396000f3fe6080604052600436106102975760003560e01c806360959b561161015a578063bc7a2898116100c1578063e5f2758f1161007a578063e5f2758f146107c1578063f0b37c04146107e1578063f2fde38b14610801578063f887ea4014610821578063fb4aa58514610841578063fe9fbb801461085757600080fd5b8063bc7a2898146106ec578063caac79341461070f578063dd03bf861461072f578063dd62ed3e14610745578063e42029541461078b578063e5d520e2146107a157600080fd5b806390107afe1161011357806390107afe1461064257806395d89b4114610662578063a8aa1b3114610677578063a9059cbb14610697578063b0bc85de146106b7578063b6a5d7de146106cc57600080fd5b806360959b56146105785780636af659291461059857806370a08231146105b8578063751fd179146105ee57806378109e541461060e578063893d20e81461062457600080fd5b80632d2fe717116101fe57806338cc4831116101b757806338cc4831146104d95780633eaaf86b146104ec57806343e6727014610502578063571ac8b01461051857806357c0192b146105385780635d0044ca1461055857600080fd5b80632d2fe717146104235780632f54bf6e14610439578063313ce567146104685780633268cc561461048457806335c1ac31146104a4578063364333f4146104c457600080fd5b80630e5a9231116102505780630e5a92311461039857806318160ddd146103ae5780631f1b845b146103c357806323b872dd146103d9578063252d723a146103f9578063276ef2d51461040e57600080fd5b8063010cf559146102a357806303fd2a45146102cc57806304d4c9901461030457806306fdde0314610326578063095ea7b3146103485780630af88b241461037857600080fd5b3661029e57005b600080fd5b3480156102af57600080fd5b506102b9600d5481565b6040519081526020015b60405180910390f35b3480156102d857600080fd5b50601a546102ec906001600160a01b031681565b6040516001600160a01b0390911681526020016102c3565b34801561031057600080fd5b5061032461031f366004611f85565b610877565b005b34801561033257600080fd5b5061033b610902565b6040516102c3919061200e565b34801561035457600080fd5b50610368610363366004612036565b610994565b60405190151581526020016102c3565b34801561038457600080fd5b506019546102ec906001600160a01b031681565b3480156103a457600080fd5b506102b960085481565b3480156103ba57600080fd5b506006546102b9565b3480156103cf57600080fd5b506102b9600b5481565b3480156103e557600080fd5b506103686103f4366004612062565b610a01565b34801561040557600080fd5b506102b9610b11565b34801561041a57600080fd5b506102b9610b42565b34801561042f57600080fd5b506102b960095481565b34801561044557600080fd5b506103686104543660046120a3565b6000546001600160a01b0391821691161490565b34801561047457600080fd5b50604051600981526020016102c3565b34801561049057600080fd5b506014546102ec906001600160a01b031681565b3480156104b057600080fd5b506017546102ec906001600160a01b031681565b3480156104d057600080fd5b50610324610b54565b3480156104e557600080fd5b50306102ec565b3480156104f857600080fd5b506102b960065481565b34801561050e57600080fd5b506102b9600f5481565b34801561052457600080fd5b506103686105333660046120a3565b610c0d565b34801561054457600080fd5b506018546102ec906001600160a01b031681565b34801561056457600080fd5b506103246105733660046120c0565b610c1b565b34801561058457600080fd5b5061032461059336600461217c565b610c66565b3480156105a457600080fd5b506015546102ec906001600160a01b031681565b3480156105c457600080fd5b506102b96105d33660046120a3565b6001600160a01b031660009081526010602052604090205490565b3480156105fa57600080fd5b506103246106093660046121e0565b610ca9565b34801561061a57600080fd5b506102b960075481565b34801561063057600080fd5b506000546001600160a01b03166102ec565b34801561064e57600080fd5b5061032461065d36600461221e565b610cf9565b34801561066e57600080fd5b5061033b610d5a565b34801561068357600080fd5b506013546102ec906001600160a01b031681565b3480156106a357600080fd5b506103686106b2366004612036565b610d69565b3480156106c357600080fd5b506102b9610d9b565b3480156106d857600080fd5b506103246106e73660046120a3565b610db3565b3480156106f857600080fd5b50610701610e04565b6040516102c392919061224c565b34801561071b57600080fd5b506016546102ec906001600160a01b031681565b34801561073b57600080fd5b506102b9600c5481565b34801561075157600080fd5b506102b961076036600461221e565b6001600160a01b03918216600090815260116020908152604080832093909416825291909152205490565b34801561079757600080fd5b506102b9600e5481565b3480156107ad57600080fd5b506103246107bc3660046120a3565b610f2b565b3480156107cd57600080fd5b506103246107dc3660046120c0565b610f85565b3480156107ed57600080fd5b506103246107fc3660046120a3565b610fd0565b34801561080d57600080fd5b5061032461081c3660046120a3565b61101b565b34801561082d57600080fd5b50601b546102ec906001600160a01b031681565b34801561084d57600080fd5b506102b9600a5481565b34801561086357600080fd5b506103686108723660046120a3565b6110b1565b610880336110b1565b6108a55760405162461bcd60e51b815260040161089c90612271565b60405180910390fd5b306000908152601060205260409020546009546014036108d35780156108cd576108cd6110cf565b60046009555b600a879055600e839055600c859055600b869055600f829055600d8490556108f961156a565b50505050505050565b60606002805461091190612296565b80601f016020809104026020016040519081016040528092919081815260200182805461093d90612296565b801561098a5780601f1061095f5761010080835404028352916020019161098a565b820191906000526020600020905b81548152906001019060200180831161096d57829003601f168201915b5050505050905090565b3360008181526011602090815260408083206001600160a01b038716808552925280832085905551919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906109ef9086815260200190565b60405180910390a35060015b92915050565b60006001600160a01b038416610a295760405162461bcd60e51b815260040161089c906122d0565b6001600160a01b038316610a4f5760405162461bcd60e51b815260040161089c90612315565b6006546001600160a01b038516600090815260116020908152604080832033845290915290205414610afc576040805180820182526016815275496e73756666696369656e7420416c6c6f77616e636560501b6020808301919091526001600160a01b0387166000908152601182528381203382529091529190912054610ad79184906117d6565b6001600160a01b03851660009081526011602090815260408083203384529091529020555b610b07848484611810565b90505b9392505050565b6000600954600a54600c54600e54610b29919061236e565b610b33919061236e565b610b3d919061236e565b905090565b6000610b4c610b11565b610b33610d9b565b601b54600160a01b900460ff16610c0b576018546001600160a01b03163314610bd05760405162461bcd60e51b815260206004820152602860248201527f4f6e6c7920466163746f727920436f6e74726163742063616e20636c656172206044820152673130b630b731b29760c11b606482015260840161089c565b6018546040516001600160a01b03909116904780156108fc02916000818181858888f19350505050158015610c09573d6000803e3d6000fd5b505b565b60006109fb82600654610994565b610c24336110b1565b610c405760405162461bcd60e51b815260040161089c90612271565b6103e881600654610c519190612381565b610c5b9190612398565b600755610c0961156a565b610c6f336110b1565b610c8b5760405162461bcd60e51b815260040161089c90612271565b6004610c978382612408565b506005610ca48282612408565b505050565b610cb2336110b1565b610cce5760405162461bcd60e51b815260040161089c90612271565b6001600160a01b03919091166000908152601260205260409020805460ff1916911515919091179055565b610d02336110b1565b610d1e5760405162461bcd60e51b815260040161089c90612271565b601680546001600160a01b038085166001600160a01b0319928316179092556015805492841692909116919091179055610d5661156a565b5050565b60606003805461091190612296565b60008054336001600160a01b0390911603610d9057610d89338484611a3c565b90506109fb565b610d89338484611810565b6000600954600b54600d54600f54610b29919061236e565b6000546001600160a01b03163314610ddd5760405162461bcd60e51b815260040161089c906124c8565b6001600160a01b03166000908152600160208190526040909120805460ff19169091179055565b60608060046005818054610e1790612296565b80601f0160208091040260200160405190810160405280929190818152602001828054610e4390612296565b8015610e905780601f10610e6557610100808354040283529160200191610e90565b820191906000526020600020905b815481529060010190602001808311610e7357829003601f168201915b50505050509150808054610ea390612296565b80601f0160208091040260200160405190810160405280929190818152602001828054610ecf90612296565b8015610f1c5780601f10610ef157610100808354040283529160200191610f1c565b820191906000526020600020905b815481529060010190602001808311610eff57829003601f168201915b50505050509050915091509091565b6018546001600160a01b03163314610ddd5760405162461bcd60e51b815260206004820152601f60248201527f4f6e6c792074686520666163746f72792063616e2063616c6c20746869732e00604482015260640161089c565b610f8e336110b1565b610faa5760405162461bcd60e51b815260040161089c90612271565b6103e881600654610fbb9190612381565b610fc59190612398565b600855610c0961156a565b6000546001600160a01b03163314610ffa5760405162461bcd60e51b815260040161089c906124c8565b6001600160a01b03166000908152600160205260409020805460ff19169055565b6000546001600160a01b031633146110455760405162461bcd60e51b815260040161089c906124c8565b600080546001600160a01b0319166001600160a01b038316908117825580825260016020818152604093849020805460ff191690921790915591519081527f04dba622d284ed0014ee4b9a6a68386be1a4c08a4913ae272de89199cc686163910160405180910390a150565b6001600160a01b031660009081526001602052604090205460ff1690565b601b805460ff60a01b1916600160a01b17905530600090815260106020526040812054600f54600e5491929182916111069161236e565b11611112576000611142565b611142600261113c611122610b42565b61113c600f54600e54611135919061236e565b8790611b22565b90611ba4565b905060006111508383611be6565b6040805160028082526060820183529293506000929091602083019080368337019050509050308160008151811061118a5761118a6124e8565b6001600160a01b0392831660209182029290920101526019548251911690829060019081106111bb576111bb6124e8565b6001600160a01b039283166020918202929092010152601b5460405163791ac94760e01b81524792919091169063791ac947906112059086906000908790309042906004016124fe565b600060405180830381600087803b15801561121f57600080fd5b505af1158015611233573d6000803e3d6000fd5b5050505060008061124d8347611be690919063ffffffff16565b9050600080600f54600e54611262919061236e565b116112745761126f610b42565b61129a565b61129a61128c6002600f54600e5461113c919061236e565b611294610b42565b90611be6565b905060006112c1600261113c8461113c600f54600e546112ba919061236e565b8890611b22565b90506000600d54600c546112d5919061236e565b11156113565760006112f48361113c600d54600c54611135919061236e565b6015546040519192506001600160a01b031690620186a09083906000818181858888f193505050503d8060008114611348576040519150601f19603f3d011682016040523d82523d6000602084013e61134d565b606091505b50600096505050505b6000600b54600a54611368919061236e565b11156113e95760006113878361113c600b54600a54611135919061236e565b6016546040519192506001600160a01b031690620186a09083906000818181858888f193505050503d80600081146113db576040519150601f19603f3d011682016040523d82523d6000602084013e6113e0565b606091505b50600096505050505b87156114c157601b5460185460405163f305d71960e01b8152306004820152602481018b905260006044820181905260648201526001600160a01b0391821660848201524260a482015291169063f305d71990839060c40160606040518083038185885af115801561145f573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190611484919061256f565b505060408051838152602081018b90527f424db2872186fa7e7afa7a5e902ed3b49a2ef19c2f5431e672462495dd6b450692500160405180910390a15b60006114e08361113c6111356002600954611b2290919063ffffffff16565b90506000601760009054906101000a90046001600160a01b03169050806001600160a01b031663289fe2d5836040518263ffffffff1660e01b81526004016000604051808303818588803b15801561153757600080fd5b505af115801561154b573d6000803e3d6000fd5b5050601b805460ff60a01b191690555050505050505050505050505050565b60146006546115799190612398565b6008541115801561159b57506101f46006546115959190612398565b60085410155b6116205760405162461bcd60e51b815260206004820152604a60248201527f53776170205468726573686f6c64206d757374206265206c657373207468616e60448201527f203525206f6620746f74616c20737570706c792c206f722067726561746572206064820152693a3430b710181719129760b11b608482015260a40161089c565b6101f46006546116309190612398565b600754101561168f5760405162461bcd60e51b815260206004820152602560248201527f4d61782057616c6c6574206d7573742062652067726561746572207468616e20604482015264181719129760d91b606482015260840161089c565b6064611699610d9b565b11156116f35760405162461bcd60e51b815260206004820152602360248201527f53656c6c207461782063616e27742062652067726561746572207468616e203160448201526218129760e91b606482015260840161089c565b60646116fd610b11565b11156117565760405162461bcd60e51b815260206004820152602260248201527f427579207461782063616e27742062652067726561746572207468616e203130604482015261129760f11b606482015260840161089c565b6015546001600160a01b03161580159061177a57506016546001600160a01b031615155b610c0b5760405162461bcd60e51b815260206004820152602760248201527f52656369657665722077616c6c6574732063616e2774206265205a65726f206160448201526632323932b9b99760c91b606482015260840161089c565b600081848411156117fa5760405162461bcd60e51b815260040161089c919061200e565b506000611807848661259d565b95945050505050565b60006001600160a01b0384166118385760405162461bcd60e51b815260040161089c906122d0565b6001600160a01b03831661185e5760405162461bcd60e51b815260040161089c90612315565b6001600160a01b03841660009081526001602052604090205460ff168061189d57506001600160a01b03831660009081526001602052604090205460ff165b806118b557506018546001600160a01b038481169116145b156118cc576118c5848484611a3c565b9050610b0a565b601b54600160a01b900460ff16156118e9576118c5848484611a3c565b6118f4848484611c28565b6118fd83611d96565b1561190a5761190a6110cf565b6040805180820182526014815273496e73756666696369656e742042616c616e636560601b6020808301919091526001600160a01b03871660009081526010909152919091205461195c9184906117d6565b6001600160a01b038086166000908152601060205260408120929092556013548582169116148061199a57506013546001600160a01b038681169116145b6119a457826119af565b6119af858585611de2565b6001600160a01b0385166000908152601060205260409020549091506119d59082611ef8565b6001600160a01b0380861660008181526010602052604090819020939093559151908716907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90611a299085815260200190565b60405180910390a3506001949350505050565b6040805180820182526014815273496e73756666696369656e742042616c616e636560601b6020808301919091526001600160a01b0386166000908152601090915291822054611a8d9184906117d6565b6001600160a01b038086166000908152601060205260408082209390935590851681522054611abc9083611ef8565b6001600160a01b0380851660008181526010602052604090819020939093559151908616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90611b109086815260200190565b60405180910390a35060019392505050565b600082600003611b34575060006109fb565b6000611b408385612381565b905082611b4d8583612398565b14610b0a5760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b606482015260840161089c565b6000610b0a83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611f57565b6000610b0a83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506117d6565b6001600160a01b03831660009081526001602052604090205460ff16158015611c5a57506001600160a01b0382163014155b8015611c6f57506001600160a01b0383163014155b8015611c895750601a546001600160a01b03838116911614155b8015611ca357506013546001600160a01b03838116911614155b8015611cbd57506016546001600160a01b03838116911614155b8015611cd757506015546001600160a01b03838116911614155b8015611cf157506018546001600160a01b03838116911614155b15610ca4576001600160a01b038216600090815260106020526040902054600754611d1c838361236e565b1115611d905760405162461bcd60e51b815260206004820152603e60248201527f546f74616c20486f6c64696e672069732063757272656e746c79206c696d697460448201527f65642c20796f752063616e206e6f74206275792074686174206d7563682e0000606482015260840161089c565b50505050565b6013546000906001600160a01b038381169116148015611dc05750601b54600160a01b900460ff16155b80156109fb575060085430600090815260106020526040902054101592915050565b6001600160a01b03831660009081526012602052604081205460ff1680611e2157506001600160a01b03831660009081526012602052604090205460ff165b15611e2d575080610b0a565b6013546000906001600160a01b03858116911614611e5257611e4d610b11565b611e5a565b611e5a610d9b565b90506000611e6e6103e861113c8685611b22565b30600090815260106020526040902054909150611e8b9082611ef8565b30600081815260106020526040908190209290925590516001600160a01b038816907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90611edc9085815260200190565b60405180910390a3611eee8482611be6565b9695505050505050565b600080611f05838561236e565b905083811015610b0a5760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015260640161089c565b60008183611f785760405162461bcd60e51b815260040161089c919061200e565b5060006118078486612398565b60008060008060008060c08789031215611f9e57600080fd5b505084359660208601359650604086013595606081013595506080810135945060a0013592509050565b6000815180845260005b81811015611fee57602081850181015186830182015201611fd2565b506000602082860101526020601f19601f83011685010191505092915050565b602081526000610b0a6020830184611fc8565b6001600160a01b0381168114610c0957600080fd5b6000806040838503121561204957600080fd5b823561205481612021565b946020939093013593505050565b60008060006060848603121561207757600080fd5b833561208281612021565b9250602084013561209281612021565b929592945050506040919091013590565b6000602082840312156120b557600080fd5b8135610b0a81612021565b6000602082840312156120d257600080fd5b5035919050565b634e487b7160e01b600052604160045260246000fd5b600082601f83011261210057600080fd5b813567ffffffffffffffff8082111561211b5761211b6120d9565b604051601f8301601f19908116603f01168101908282118183101715612143576121436120d9565b8160405283815286602085880101111561215c57600080fd5b836020870160208301376000602085830101528094505050505092915050565b6000806040838503121561218f57600080fd5b823567ffffffffffffffff808211156121a757600080fd5b6121b3868387016120ef565b935060208501359150808211156121c957600080fd5b506121d6858286016120ef565b9150509250929050565b600080604083850312156121f357600080fd5b82356121fe81612021565b91506020830135801515811461221357600080fd5b809150509250929050565b6000806040838503121561223157600080fd5b823561223c81612021565b9150602083013561221381612021565b60408152600061225f6040830185611fc8565b82810360208401526118078185611fc8565b6020808252600b908201526a085055551213d49256915160aa1b604082015260600190565b600181811c908216806122aa57607f821691505b6020821081036122ca57634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b808201808211156109fb576109fb612358565b80820281158282048414176109fb576109fb612358565b6000826123b557634e487b7160e01b600052601260045260246000fd5b500490565b601f821115610ca457600081815260208120601f850160051c810160208610156123e15750805b601f850160051c820191505b81811015612400578281556001016123ed565b505050505050565b815167ffffffffffffffff811115612422576124226120d9565b612436816124308454612296565b846123ba565b602080601f83116001811461246b57600084156124535750858301515b600019600386901b1c1916600185901b178555612400565b600085815260208120601f198616915b8281101561249a5788860151825594840194600190910190840161247b565b50858210156124b85787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60208082526006908201526510a7aba722a960d11b604082015260600190565b634e487b7160e01b600052603260045260246000fd5b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b8181101561254e5784516001600160a01b031683529383019391830191600101612529565b50506001600160a01b03969096166060850152505050608001529392505050565b60008060006060848603121561258457600080fd5b8351925060208401519150604084015190509250925092565b818103818111156109fb576109fb61235856fea2646970667358221220e116c8528804801499431785fc1053e3e5cc527c2022379510bb6042c96b9fa164736f6c6343000815003300000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000220000000000000000000000000000000000000000000000000000000000000028000000000000000000000000011c68f5c28684fd553160ac89b32c1f6390e7f330000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000000036162630000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000364656600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003676869000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000036a6b6c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000d6265ed5fd18904e7d8043d987dfd64f4a7d3851000000000000000000000000d6265ed5fd18904e7d8043d987dfd64f4a7d3851000000000000000000000000000000000000000000000000000000000000000900000000000000000000000000000000000000000000000000000000000f424000000000000000000000000000000000000000000000000000000000000000050000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106102975760003560e01c806360959b561161015a578063bc7a2898116100c1578063e5f2758f1161007a578063e5f2758f146107c1578063f0b37c04146107e1578063f2fde38b14610801578063f887ea4014610821578063fb4aa58514610841578063fe9fbb801461085757600080fd5b8063bc7a2898146106ec578063caac79341461070f578063dd03bf861461072f578063dd62ed3e14610745578063e42029541461078b578063e5d520e2146107a157600080fd5b806390107afe1161011357806390107afe1461064257806395d89b4114610662578063a8aa1b3114610677578063a9059cbb14610697578063b0bc85de146106b7578063b6a5d7de146106cc57600080fd5b806360959b56146105785780636af659291461059857806370a08231146105b8578063751fd179146105ee57806378109e541461060e578063893d20e81461062457600080fd5b80632d2fe717116101fe57806338cc4831116101b757806338cc4831146104d95780633eaaf86b146104ec57806343e6727014610502578063571ac8b01461051857806357c0192b146105385780635d0044ca1461055857600080fd5b80632d2fe717146104235780632f54bf6e14610439578063313ce567146104685780633268cc561461048457806335c1ac31146104a4578063364333f4146104c457600080fd5b80630e5a9231116102505780630e5a92311461039857806318160ddd146103ae5780631f1b845b146103c357806323b872dd146103d9578063252d723a146103f9578063276ef2d51461040e57600080fd5b8063010cf559146102a357806303fd2a45146102cc57806304d4c9901461030457806306fdde0314610326578063095ea7b3146103485780630af88b241461037857600080fd5b3661029e57005b600080fd5b3480156102af57600080fd5b506102b9600d5481565b6040519081526020015b60405180910390f35b3480156102d857600080fd5b50601a546102ec906001600160a01b031681565b6040516001600160a01b0390911681526020016102c3565b34801561031057600080fd5b5061032461031f366004611f85565b610877565b005b34801561033257600080fd5b5061033b610902565b6040516102c3919061200e565b34801561035457600080fd5b50610368610363366004612036565b610994565b60405190151581526020016102c3565b34801561038457600080fd5b506019546102ec906001600160a01b031681565b3480156103a457600080fd5b506102b960085481565b3480156103ba57600080fd5b506006546102b9565b3480156103cf57600080fd5b506102b9600b5481565b3480156103e557600080fd5b506103686103f4366004612062565b610a01565b34801561040557600080fd5b506102b9610b11565b34801561041a57600080fd5b506102b9610b42565b34801561042f57600080fd5b506102b960095481565b34801561044557600080fd5b506103686104543660046120a3565b6000546001600160a01b0391821691161490565b34801561047457600080fd5b50604051600981526020016102c3565b34801561049057600080fd5b506014546102ec906001600160a01b031681565b3480156104b057600080fd5b506017546102ec906001600160a01b031681565b3480156104d057600080fd5b50610324610b54565b3480156104e557600080fd5b50306102ec565b3480156104f857600080fd5b506102b960065481565b34801561050e57600080fd5b506102b9600f5481565b34801561052457600080fd5b506103686105333660046120a3565b610c0d565b34801561054457600080fd5b506018546102ec906001600160a01b031681565b34801561056457600080fd5b506103246105733660046120c0565b610c1b565b34801561058457600080fd5b5061032461059336600461217c565b610c66565b3480156105a457600080fd5b506015546102ec906001600160a01b031681565b3480156105c457600080fd5b506102b96105d33660046120a3565b6001600160a01b031660009081526010602052604090205490565b3480156105fa57600080fd5b506103246106093660046121e0565b610ca9565b34801561061a57600080fd5b506102b960075481565b34801561063057600080fd5b506000546001600160a01b03166102ec565b34801561064e57600080fd5b5061032461065d36600461221e565b610cf9565b34801561066e57600080fd5b5061033b610d5a565b34801561068357600080fd5b506013546102ec906001600160a01b031681565b3480156106a357600080fd5b506103686106b2366004612036565b610d69565b3480156106c357600080fd5b506102b9610d9b565b3480156106d857600080fd5b506103246106e73660046120a3565b610db3565b3480156106f857600080fd5b50610701610e04565b6040516102c392919061224c565b34801561071b57600080fd5b506016546102ec906001600160a01b031681565b34801561073b57600080fd5b506102b9600c5481565b34801561075157600080fd5b506102b961076036600461221e565b6001600160a01b03918216600090815260116020908152604080832093909416825291909152205490565b34801561079757600080fd5b506102b9600e5481565b3480156107ad57600080fd5b506103246107bc3660046120a3565b610f2b565b3480156107cd57600080fd5b506103246107dc3660046120c0565b610f85565b3480156107ed57600080fd5b506103246107fc3660046120a3565b610fd0565b34801561080d57600080fd5b5061032461081c3660046120a3565b61101b565b34801561082d57600080fd5b50601b546102ec906001600160a01b031681565b34801561084d57600080fd5b506102b9600a5481565b34801561086357600080fd5b506103686108723660046120a3565b6110b1565b610880336110b1565b6108a55760405162461bcd60e51b815260040161089c90612271565b60405180910390fd5b306000908152601060205260409020546009546014036108d35780156108cd576108cd6110cf565b60046009555b600a879055600e839055600c859055600b869055600f829055600d8490556108f961156a565b50505050505050565b60606002805461091190612296565b80601f016020809104026020016040519081016040528092919081815260200182805461093d90612296565b801561098a5780601f1061095f5761010080835404028352916020019161098a565b820191906000526020600020905b81548152906001019060200180831161096d57829003601f168201915b5050505050905090565b3360008181526011602090815260408083206001600160a01b038716808552925280832085905551919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906109ef9086815260200190565b60405180910390a35060015b92915050565b60006001600160a01b038416610a295760405162461bcd60e51b815260040161089c906122d0565b6001600160a01b038316610a4f5760405162461bcd60e51b815260040161089c90612315565b6006546001600160a01b038516600090815260116020908152604080832033845290915290205414610afc576040805180820182526016815275496e73756666696369656e7420416c6c6f77616e636560501b6020808301919091526001600160a01b0387166000908152601182528381203382529091529190912054610ad79184906117d6565b6001600160a01b03851660009081526011602090815260408083203384529091529020555b610b07848484611810565b90505b9392505050565b6000600954600a54600c54600e54610b29919061236e565b610b33919061236e565b610b3d919061236e565b905090565b6000610b4c610b11565b610b33610d9b565b601b54600160a01b900460ff16610c0b576018546001600160a01b03163314610bd05760405162461bcd60e51b815260206004820152602860248201527f4f6e6c7920466163746f727920436f6e74726163742063616e20636c656172206044820152673130b630b731b29760c11b606482015260840161089c565b6018546040516001600160a01b03909116904780156108fc02916000818181858888f19350505050158015610c09573d6000803e3d6000fd5b505b565b60006109fb82600654610994565b610c24336110b1565b610c405760405162461bcd60e51b815260040161089c90612271565b6103e881600654610c519190612381565b610c5b9190612398565b600755610c0961156a565b610c6f336110b1565b610c8b5760405162461bcd60e51b815260040161089c90612271565b6004610c978382612408565b506005610ca48282612408565b505050565b610cb2336110b1565b610cce5760405162461bcd60e51b815260040161089c90612271565b6001600160a01b03919091166000908152601260205260409020805460ff1916911515919091179055565b610d02336110b1565b610d1e5760405162461bcd60e51b815260040161089c90612271565b601680546001600160a01b038085166001600160a01b0319928316179092556015805492841692909116919091179055610d5661156a565b5050565b60606003805461091190612296565b60008054336001600160a01b0390911603610d9057610d89338484611a3c565b90506109fb565b610d89338484611810565b6000600954600b54600d54600f54610b29919061236e565b6000546001600160a01b03163314610ddd5760405162461bcd60e51b815260040161089c906124c8565b6001600160a01b03166000908152600160208190526040909120805460ff19169091179055565b60608060046005818054610e1790612296565b80601f0160208091040260200160405190810160405280929190818152602001828054610e4390612296565b8015610e905780601f10610e6557610100808354040283529160200191610e90565b820191906000526020600020905b815481529060010190602001808311610e7357829003601f168201915b50505050509150808054610ea390612296565b80601f0160208091040260200160405190810160405280929190818152602001828054610ecf90612296565b8015610f1c5780601f10610ef157610100808354040283529160200191610f1c565b820191906000526020600020905b815481529060010190602001808311610eff57829003601f168201915b50505050509050915091509091565b6018546001600160a01b03163314610ddd5760405162461bcd60e51b815260206004820152601f60248201527f4f6e6c792074686520666163746f72792063616e2063616c6c20746869732e00604482015260640161089c565b610f8e336110b1565b610faa5760405162461bcd60e51b815260040161089c90612271565b6103e881600654610fbb9190612381565b610fc59190612398565b600855610c0961156a565b6000546001600160a01b03163314610ffa5760405162461bcd60e51b815260040161089c906124c8565b6001600160a01b03166000908152600160205260409020805460ff19169055565b6000546001600160a01b031633146110455760405162461bcd60e51b815260040161089c906124c8565b600080546001600160a01b0319166001600160a01b038316908117825580825260016020818152604093849020805460ff191690921790915591519081527f04dba622d284ed0014ee4b9a6a68386be1a4c08a4913ae272de89199cc686163910160405180910390a150565b6001600160a01b031660009081526001602052604090205460ff1690565b601b805460ff60a01b1916600160a01b17905530600090815260106020526040812054600f54600e5491929182916111069161236e565b11611112576000611142565b611142600261113c611122610b42565b61113c600f54600e54611135919061236e565b8790611b22565b90611ba4565b905060006111508383611be6565b6040805160028082526060820183529293506000929091602083019080368337019050509050308160008151811061118a5761118a6124e8565b6001600160a01b0392831660209182029290920101526019548251911690829060019081106111bb576111bb6124e8565b6001600160a01b039283166020918202929092010152601b5460405163791ac94760e01b81524792919091169063791ac947906112059086906000908790309042906004016124fe565b600060405180830381600087803b15801561121f57600080fd5b505af1158015611233573d6000803e3d6000fd5b5050505060008061124d8347611be690919063ffffffff16565b9050600080600f54600e54611262919061236e565b116112745761126f610b42565b61129a565b61129a61128c6002600f54600e5461113c919061236e565b611294610b42565b90611be6565b905060006112c1600261113c8461113c600f54600e546112ba919061236e565b8890611b22565b90506000600d54600c546112d5919061236e565b11156113565760006112f48361113c600d54600c54611135919061236e565b6015546040519192506001600160a01b031690620186a09083906000818181858888f193505050503d8060008114611348576040519150601f19603f3d011682016040523d82523d6000602084013e61134d565b606091505b50600096505050505b6000600b54600a54611368919061236e565b11156113e95760006113878361113c600b54600a54611135919061236e565b6016546040519192506001600160a01b031690620186a09083906000818181858888f193505050503d80600081146113db576040519150601f19603f3d011682016040523d82523d6000602084013e6113e0565b606091505b50600096505050505b87156114c157601b5460185460405163f305d71960e01b8152306004820152602481018b905260006044820181905260648201526001600160a01b0391821660848201524260a482015291169063f305d71990839060c40160606040518083038185885af115801561145f573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190611484919061256f565b505060408051838152602081018b90527f424db2872186fa7e7afa7a5e902ed3b49a2ef19c2f5431e672462495dd6b450692500160405180910390a15b60006114e08361113c6111356002600954611b2290919063ffffffff16565b90506000601760009054906101000a90046001600160a01b03169050806001600160a01b031663289fe2d5836040518263ffffffff1660e01b81526004016000604051808303818588803b15801561153757600080fd5b505af115801561154b573d6000803e3d6000fd5b5050601b805460ff60a01b191690555050505050505050505050505050565b60146006546115799190612398565b6008541115801561159b57506101f46006546115959190612398565b60085410155b6116205760405162461bcd60e51b815260206004820152604a60248201527f53776170205468726573686f6c64206d757374206265206c657373207468616e60448201527f203525206f6620746f74616c20737570706c792c206f722067726561746572206064820152693a3430b710181719129760b11b608482015260a40161089c565b6101f46006546116309190612398565b600754101561168f5760405162461bcd60e51b815260206004820152602560248201527f4d61782057616c6c6574206d7573742062652067726561746572207468616e20604482015264181719129760d91b606482015260840161089c565b6064611699610d9b565b11156116f35760405162461bcd60e51b815260206004820152602360248201527f53656c6c207461782063616e27742062652067726561746572207468616e203160448201526218129760e91b606482015260840161089c565b60646116fd610b11565b11156117565760405162461bcd60e51b815260206004820152602260248201527f427579207461782063616e27742062652067726561746572207468616e203130604482015261129760f11b606482015260840161089c565b6015546001600160a01b03161580159061177a57506016546001600160a01b031615155b610c0b5760405162461bcd60e51b815260206004820152602760248201527f52656369657665722077616c6c6574732063616e2774206265205a65726f206160448201526632323932b9b99760c91b606482015260840161089c565b600081848411156117fa5760405162461bcd60e51b815260040161089c919061200e565b506000611807848661259d565b95945050505050565b60006001600160a01b0384166118385760405162461bcd60e51b815260040161089c906122d0565b6001600160a01b03831661185e5760405162461bcd60e51b815260040161089c90612315565b6001600160a01b03841660009081526001602052604090205460ff168061189d57506001600160a01b03831660009081526001602052604090205460ff165b806118b557506018546001600160a01b038481169116145b156118cc576118c5848484611a3c565b9050610b0a565b601b54600160a01b900460ff16156118e9576118c5848484611a3c565b6118f4848484611c28565b6118fd83611d96565b1561190a5761190a6110cf565b6040805180820182526014815273496e73756666696369656e742042616c616e636560601b6020808301919091526001600160a01b03871660009081526010909152919091205461195c9184906117d6565b6001600160a01b038086166000908152601060205260408120929092556013548582169116148061199a57506013546001600160a01b038681169116145b6119a457826119af565b6119af858585611de2565b6001600160a01b0385166000908152601060205260409020549091506119d59082611ef8565b6001600160a01b0380861660008181526010602052604090819020939093559151908716907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90611a299085815260200190565b60405180910390a3506001949350505050565b6040805180820182526014815273496e73756666696369656e742042616c616e636560601b6020808301919091526001600160a01b0386166000908152601090915291822054611a8d9184906117d6565b6001600160a01b038086166000908152601060205260408082209390935590851681522054611abc9083611ef8565b6001600160a01b0380851660008181526010602052604090819020939093559151908616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90611b109086815260200190565b60405180910390a35060019392505050565b600082600003611b34575060006109fb565b6000611b408385612381565b905082611b4d8583612398565b14610b0a5760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b606482015260840161089c565b6000610b0a83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611f57565b6000610b0a83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506117d6565b6001600160a01b03831660009081526001602052604090205460ff16158015611c5a57506001600160a01b0382163014155b8015611c6f57506001600160a01b0383163014155b8015611c895750601a546001600160a01b03838116911614155b8015611ca357506013546001600160a01b03838116911614155b8015611cbd57506016546001600160a01b03838116911614155b8015611cd757506015546001600160a01b03838116911614155b8015611cf157506018546001600160a01b03838116911614155b15610ca4576001600160a01b038216600090815260106020526040902054600754611d1c838361236e565b1115611d905760405162461bcd60e51b815260206004820152603e60248201527f546f74616c20486f6c64696e672069732063757272656e746c79206c696d697460448201527f65642c20796f752063616e206e6f74206275792074686174206d7563682e0000606482015260840161089c565b50505050565b6013546000906001600160a01b038381169116148015611dc05750601b54600160a01b900460ff16155b80156109fb575060085430600090815260106020526040902054101592915050565b6001600160a01b03831660009081526012602052604081205460ff1680611e2157506001600160a01b03831660009081526012602052604090205460ff165b15611e2d575080610b0a565b6013546000906001600160a01b03858116911614611e5257611e4d610b11565b611e5a565b611e5a610d9b565b90506000611e6e6103e861113c8685611b22565b30600090815260106020526040902054909150611e8b9082611ef8565b30600081815260106020526040908190209290925590516001600160a01b038816907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90611edc9085815260200190565b60405180910390a3611eee8482611be6565b9695505050505050565b600080611f05838561236e565b905083811015610b0a5760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015260640161089c565b60008183611f785760405162461bcd60e51b815260040161089c919061200e565b5060006118078486612398565b60008060008060008060c08789031215611f9e57600080fd5b505084359660208601359650604086013595606081013595506080810135945060a0013592509050565b6000815180845260005b81811015611fee57602081850181015186830182015201611fd2565b506000602082860101526020601f19601f83011685010191505092915050565b602081526000610b0a6020830184611fc8565b6001600160a01b0381168114610c0957600080fd5b6000806040838503121561204957600080fd5b823561205481612021565b946020939093013593505050565b60008060006060848603121561207757600080fd5b833561208281612021565b9250602084013561209281612021565b929592945050506040919091013590565b6000602082840312156120b557600080fd5b8135610b0a81612021565b6000602082840312156120d257600080fd5b5035919050565b634e487b7160e01b600052604160045260246000fd5b600082601f83011261210057600080fd5b813567ffffffffffffffff8082111561211b5761211b6120d9565b604051601f8301601f19908116603f01168101908282118183101715612143576121436120d9565b8160405283815286602085880101111561215c57600080fd5b836020870160208301376000602085830101528094505050505092915050565b6000806040838503121561218f57600080fd5b823567ffffffffffffffff808211156121a757600080fd5b6121b3868387016120ef565b935060208501359150808211156121c957600080fd5b506121d6858286016120ef565b9150509250929050565b600080604083850312156121f357600080fd5b82356121fe81612021565b91506020830135801515811461221357600080fd5b809150509250929050565b6000806040838503121561223157600080fd5b823561223c81612021565b9150602083013561221381612021565b60408152600061225f6040830185611fc8565b82810360208401526118078185611fc8565b6020808252600b908201526a085055551213d49256915160aa1b604082015260600190565b600181811c908216806122aa57607f821691505b6020821081036122ca57634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b808201808211156109fb576109fb612358565b80820281158282048414176109fb576109fb612358565b6000826123b557634e487b7160e01b600052601260045260246000fd5b500490565b601f821115610ca457600081815260208120601f850160051c810160208610156123e15750805b601f850160051c820191505b81811015612400578281556001016123ed565b505050505050565b815167ffffffffffffffff811115612422576124226120d9565b612436816124308454612296565b846123ba565b602080601f83116001811461246b57600084156124535750858301515b600019600386901b1c1916600185901b178555612400565b600085815260208120601f198616915b8281101561249a5788860151825594840194600190910190840161247b565b50858210156124b85787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60208082526006908201526510a7aba722a960d11b604082015260600190565b634e487b7160e01b600052603260045260246000fd5b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b8181101561254e5784516001600160a01b031683529383019391830191600101612529565b50506001600160a01b03969096166060850152505050608001529392505050565b60008060006060848603121561258457600080fd5b8351925060208401519150604084015190509250925092565b818103818111156109fb576109fb61235856fea2646970667358221220e116c8528804801499431785fc1053e3e5cc527c2022379510bb6042c96b9fa164736f6c63430008150033
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.