Contract Overview
[ Download CSV Export ]
Similar Match Source Code
Note: This contract matches the deployed ByteCode of the Source Code for Contract 0xCEDfa5B3f22F899EcaD117AdB0e4F9dcD2cD4DfC
Contract Name:
MainToken
Compiler Version
v0.8.1+commit.df193b15
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity >=0.6.12; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "../Operator.sol"; import "../interfaces/IOracle.sol"; import "../interfaces/IUniswapV2Router01.sol"; import "../interfaces/IUniswapV2Factory.sol"; contract MainToken is ERC20, Operator { using SafeMath for uint256; // Initial distribution for the first 24h genesis pools uint256 public constant INITIAL_GENESIS_POOL_DISTRIBUTION = 10000 ether; // Have the rewards been distributed to the pools bool public rewardPoolDistributed; uint256 private constant INITIAL_FRAGMENTS_SUPPLY = 200 ether; // Rebase uint256 private constant MAX_SUPPLY = ~uint128(0); uint256 public TOTAL_GONS; uint256 private _gonsPerFragment; mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; mapping(address => bool) private _isExcluded; address[] public excluded; address private daoFund; address private devFund; uint256 private _totalSupply; uint256 private constant maxExclusion = 20; address public oracle; // Tax address public taxOffice; uint256 private lastTimeRebase; uint256 public timeTaxAfterRebase; uint256 public taxRateAfterRebase; // Sender addresses excluded from Tax mapping(address => bool) public excludedTaxAddresses; mapping(address => bool) public marketLpPairs; // LP Pairs // Tax tiers uint256[] public taxTiersTwaps; uint256[] public taxTiersRates; // Taxes to be calculated using the tax tiers bool public enabledTax; bool public isSetOracle = false; address public dexRouter = address(0x7E5E5957De93D00c352dF75159FbC37d5935f8bF); address public usdcAddress = address(0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174); /* =================== Events =================== */ event LogRebase(uint256 indexed epoch, uint256 totalSupply, uint256 prevTotalSupply, uint256 prevRebaseSupply); event GrantExclusion(address indexed account); event RevokeExclusion(address indexed account); event DisableRebase(address indexed account); event EnableRebase(address indexed account); event SetTaxTiersTwap(uint8 _index, uint256 _value); event SetTaxTiersRate(uint8 _index, uint256 _value); event SetTokenOracle(address oldOracle, address newOracle); event SetTaxRateAfterRebase(uint256 oldValue, uint256 newValue); event SetTimeTaxAfterRebase(uint256 oldValue, uint256 newValue); event EnableCalculateTax(); event DisableCalculateTax(); constructor(address _daoFund, address _devFund) ERC20("XUSD", "XUSD") { require(_daoFund != address(0), "!_daoFund"); require(_devFund != address(0), "!_devFund"); rewardPoolDistributed = false; _gonsPerFragment = 10 ** 18; _totalSupply = 0; lastTimeRebase = 0; daoFund = _daoFund; devFund = _devFund; taxTiersTwaps = [0, 8e5, 9e5, 1e6]; taxTiersRates = [1500, 1000, 500, 0]; taxRateAfterRebase = 2000; // 20% timeTaxAfterRebase = 24 hours; taxOffice = msg.sender; IUniswapV2Router01 _dexRouter = IUniswapV2Router01(dexRouter); address dexPair = IUniswapV2Factory(_dexRouter.factory()).createPair(address(this), usdcAddress); setMarketLpPairs(dexPair, true); // setMarketLpPairs(dexPair, true); // Mints 1 token to contract creator for initial pool setup _mint(msg.sender, INITIAL_FRAGMENTS_SUPPLY); } modifier onlyTaxOffice() { require(taxOffice == msg.sender, "taxOffice: caller is not the taxOffice"); _; } function getDaoFund() external view returns (address){ return daoFund; } function getDevFund() external view returns (address){ return devFund; } function getExcluded() external view returns (address[] memory){ return excluded; } function rebase(uint256 epoch, uint256 supplyDelta, bool negative) external onlyOperator returns (uint256){ uint256 prevRebaseSupply = rebaseSupply(); uint256 prevTotalSupply = _totalSupply; uint256 total = _rebase(supplyDelta, negative); emit LogRebase(epoch, total, prevTotalSupply, prevRebaseSupply); return total; } /** * @dev Notifies Fragments contract about a new rebase cycle. * @param supplyDelta The number of new fragment tokens to add into circulation via expansion. * @param negative check increase or decrease token * Return The total number of fragments after the supply adjustment. */ function _rebase(uint256 supplyDelta, bool negative) internal virtual returns (uint256) { // if supply delta is 0 nothing to rebase // if rebaseSupply is 0 nothing can be rebased if (supplyDelta == 0 || rebaseSupply() == 0) { return _totalSupply; } require(_totalSupply > supplyDelta, 'SupplyDelta must be lower than totalSupply'); uint256[] memory excludedBalances = _burnExcludedAccountTokens(); if (negative) { _totalSupply = _totalSupply.sub(uint256(supplyDelta)); } else { _totalSupply = _totalSupply.add(uint256(supplyDelta)); } if (_totalSupply > MAX_SUPPLY) { _totalSupply = MAX_SUPPLY; } _gonsPerFragment = TOTAL_GONS.div(_totalSupply); lastTimeRebase = block.timestamp; _mintExcludedAccountTokens(excludedBalances); return _totalSupply; } /** * @dev Exposes the supply available for rebasing. Essentially this is total supply minus excluded accounts * @return rebaseSupply The supply available for rebase */ function rebaseSupply() public view returns (uint256) { uint256 excludedSupply = 0; uint256 excludedLength = excluded.length; for (uint256 i = 0; i < excludedLength; i++) { excludedSupply = excludedSupply.add(balanceOf(excluded[i])); } return _totalSupply.sub(excludedSupply); } /** * @dev Burns all tokens from excluded accounts * @return excludedBalances The excluded account balances before burn */ function _burnExcludedAccountTokens() private returns (uint256[] memory excludedBalances){ uint256 excludedLength = excluded.length; excludedBalances = new uint256[](excludedLength); for (uint256 i = 0; i < excludedLength; i++) { address account = excluded[i]; uint256 balance = balanceOf(account); excludedBalances[i] = balance; if (balance > 0) _burn(account, balance); } return excludedBalances; } /** * @dev Mints tokens to excluded accounts * @param excludedBalances The amount of tokens to mint per address */ function _mintExcludedAccountTokens(uint256[] memory excludedBalances) private { uint256 excludedLength = excluded.length; for (uint256 i = 0; i < excludedLength; i++) { if (excludedBalances[i] > 0) _mint(excluded[i], excludedBalances[i]); } } /** * @dev Grant an exclusion from rebases * @param account The account to grant exclusion */ function grantRebaseExclusion(address account) external onlyOperator { if (_isExcluded[account]) return; require(excluded.length <= maxExclusion, 'Too many excluded accounts'); _isExcluded[account] = true; excluded.push(account); emit GrantExclusion(account); } /** * @dev Revokes an exclusion from rebases * @param account The account to revoke */ function revokeRebaseExclusion(address account) external onlyOperator { require(_isExcluded[account], 'Account is not already excluded'); uint256 excludedLength = excluded.length; for (uint256 i = 0; i < excludedLength; i++) { if (excluded[i] == account) { excluded[i] = excluded[excludedLength - 1]; _isExcluded[account] = false; excluded.pop(); emit RevokeExclusion(account); return; } } } //---OVERRIDE FUNCTION--- function totalSupply() public view override returns (uint256) { return _totalSupply; } function balanceOf(address who) public view override returns (uint256) { if (_gonsPerFragment == 0) return 0; return _balances[who].div(_gonsPerFragment); } function _mint(address account, uint256 amount) internal virtual override { require(account != address(0), 'ERC20: transfer to the zero address'); require(amount > 0, "ERC20: Can't mint 0 tokens"); TOTAL_GONS = TOTAL_GONS.add(_gonsPerFragment.mul(amount)); _totalSupply = _totalSupply.add(amount); _balances[account] = _balances[account].add( amount.mul(_gonsPerFragment) ); emit Transfer(address(0), account, amount); } function _burn(address account, uint256 amount) internal virtual override { require(account != address(0), 'ERC20: burn from the zero address'); uint256 accountBalance = _balances[account]; require( accountBalance >= amount.mul(_gonsPerFragment), 'ERC20: burn amount exceeds balance' ); unchecked { _balances[account] = _balances[account].sub( amount.mul(_gonsPerFragment) ); } TOTAL_GONS = TOTAL_GONS.sub(_gonsPerFragment.mul(amount)); _totalSupply = _totalSupply.sub(amount); emit Transfer(account, address(0), amount); } function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } function increaseAllowance(address spender, uint256 addedValue) public virtual override returns (bool) { address owner = _msgSender(); _approve(owner, spender, _allowances[owner][spender] + addedValue); return true; } function decreaseAllowance(address spender, uint256 subtractedValue) public virtual override returns (bool) { address owner = _msgSender(); uint256 currentAllowance = _allowances[owner][spender]; require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(owner, spender, currentAllowance - subtractedValue); } return true; } function _approve( address owner, address spender, uint256 amount ) internal virtual override { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } function _transferBase( address from, address to, uint256 amount ) internal { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(from, to, amount); uint256 gonValue = amount.mul(_gonsPerFragment); uint256 fromBalance = _balances[from]; require(fromBalance >= gonValue, "ERC20: transfer amount exceeds balance"); _balances[from] = _balances[from].sub(gonValue); _balances[to] = _balances[to].add(gonValue); emit Transfer(from, to, amount); _afterTokenTransfer(from, to, amount); } function _transfer( address from, address to, uint256 amount ) internal virtual override { require(from != address(0), "zero address"); require(to != address(0), "zero address"); require(daoFund != address(0), "require to set daoFund address"); if (enabledTax) { uint256 taxAmount = 0; if (marketLpPairs[to] && !excludedTaxAddresses[from]) { // _updatePrice(); uint256 currentTokenPrice = _getTokenPrice(); uint256 currentTaxRate = calculateTaxRate(currentTokenPrice); if (currentTaxRate > 0) { taxAmount = amount.mul(currentTaxRate).div(10000); } } if (taxAmount > 0) { amount = amount.sub(taxAmount); _transferBase(from, daoFund, taxAmount); } } _transferBase(from, to, amount); } /** * @notice Operator mints Token to a recipient * @param recipient_ The address of recipient * @param amount_ The amount of Token to mint to * @return whether the process has been done */ function mint(address recipient_, uint256 amount_) external onlyOperator returns (bool) { uint256 balanceBefore = balanceOf(recipient_); _mint(recipient_, amount_); uint256 balanceAfter = balanceOf(recipient_); return balanceAfter > balanceBefore; } function burn(uint256 amount) external { if (amount > 0) _burn(_msgSender(), amount); } //---END OVERRIDE FUNCTION--- function transferFrom( address sender, address recipient, uint256 amount ) public override returns (bool) { _transfer(sender, recipient, amount); _approve(sender, _msgSender(), allowance(sender, _msgSender()).sub(amount, "ERC20: transfer amount exceeds allowance")); return true; } /** * @notice distribute to reward pool (only once) */ function distributeReward( address _genesisPool ) external onlyOwner { require(!rewardPoolDistributed, "only can distribute once"); require(_genesisPool != address(0), "!_genesisPool"); rewardPoolDistributed = true; _mint(_genesisPool, INITIAL_GENESIS_POOL_DISTRIBUTION); } function setDaoFund(address _daoFund) external onlyOperator { require(_daoFund != address(0), "Invalid address"); daoFund = _daoFund; } function setDevFund(address _devFund) external onlyOperator { require(_devFund != address(0), "Invalid address"); devFund = _devFund; } function isDaoFund(address _address) external view returns (bool) { return _address == daoFund; } function _getTokenPrice() internal view returns (uint256) { try IOracle(oracle).consult(address(this), 1e18) returns (uint144 _price) { return uint256(_price); } catch { revert("Error: Failed to fetch token price from Oracle"); } } function _updatePrice() internal { try IOracle(oracle).update() {} catch { revert("Error: failed to update price from the oracle"); } } function setTokenOracle(address _oracle) external onlyTaxOffice { require(!isSetOracle, "Only can setTokenOracle once"); require(_oracle != address(0), "Oracle address cannot be 0 address"); emit SetTokenOracle(oracle, _oracle); oracle = _oracle; isSetOracle = true; } function calculateTaxRate(uint256 _tokenPrice) public view returns (uint256) { uint256 taxTiersTwapsCount = taxTiersTwaps.length; uint256 taxRate = 0; if (block.timestamp >= lastTimeRebase && block.timestamp < lastTimeRebase.add(timeTaxAfterRebase)) { return taxRateAfterRebase; } for (uint8 tierId = uint8(taxTiersTwapsCount.sub(1)); tierId >= 0; --tierId) { if (_tokenPrice >= taxTiersTwaps[tierId]) { taxRate = taxTiersRates[tierId]; break; } } return taxRate; } function setTaxTiersTwap(uint8 _index, uint256 _value) external onlyTaxOffice returns (bool) { uint256 taxTiersTwapsCount = taxTiersTwaps.length; require(_index < uint8(taxTiersTwapsCount), "Index has to lower than count of tax tiers"); if (_index > 0) { require(_value > taxTiersTwaps[_index - 1]); } if (_index < uint8(taxTiersTwapsCount.sub(1))) { require(_value < taxTiersTwaps[_index + 1]); } taxTiersTwaps[_index] = _value; emit SetTaxTiersTwap(_index, _value); return true; } function setTaxTiersRate(uint8 _index, uint256 _value) external onlyTaxOffice returns (bool) { uint8 taxTiersRatesCount = uint8(taxTiersRates.length); require(_index < taxTiersRatesCount, "Index has to lower than count of tax tiers"); require(_value <= 3000, "Tax equal or bigger to 30%"); taxTiersRates[_index] = _value; emit SetTaxTiersRate(_index, _value); return true; } function setTaxRateAfterRebase(uint256 _value) external onlyTaxOffice returns (bool) { require(_value <= 3000, "Tax equal or bigger to 30%"); emit SetTaxRateAfterRebase(taxRateAfterRebase, _value); taxRateAfterRebase = _value; return true; } function setTimeTaxAfterRebase(uint256 _value) external onlyTaxOffice returns (bool) { require(_value <= 24 hours, "Time equal or bigger to 24h"); emit SetTimeTaxAfterRebase(timeTaxAfterRebase, _value); timeTaxAfterRebase = _value; return true; } function excludeTaxAddress(address _address) external onlyTaxOffice returns (bool) { require(!excludedTaxAddresses[_address], "Address can't be excluded"); excludedTaxAddresses[_address] = true; return true; } function includeTaxAddress(address _address) external onlyTaxOffice returns (bool) { require(excludedTaxAddresses[_address], "Address can't be included"); excludedTaxAddresses[_address] = false; return true; } function isAddressExcluded(address _address) external view returns (bool) { return _isExcluded[_address]; } function enableCalculateTax() external onlyTaxOffice { enabledTax = true; emit EnableCalculateTax(); } function disableCalculateTax() external onlyTaxOffice { enabledTax = false; emit DisableCalculateTax(); } //Add new LP's for selling / buying fees function setMarketLpPairs(address _pair, bool _value) public onlyTaxOffice { marketLpPairs[_pair] = _value; } }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.12; interface IOracle { function update() external; function consult(address _token, uint256 _amountIn) external view returns (uint144 amountOut); function twap(address _token, uint256 _amountIn) external view returns (uint144 _amountOut); function sync() external; }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.12; import "@openzeppelin/contracts/utils/Context.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; contract Operator is Context, Ownable { address private _operator; event OperatorTransferred(address indexed previousOperator, address indexed newOperator); constructor() { _operator = _msgSender(); emit OperatorTransferred(address(0), _operator); } function operator() public view returns (address) { return _operator; } modifier onlyOperator() { require(_operator == msg.sender, "operator: caller is not the operator"); _; } function isOperator() public view returns (bool) { return _msgSender() == _operator; } function transferOperator(address newOperator_) public onlyOwner { _transferOperator(newOperator_); } function _transferOperator(address newOperator_) internal { require(newOperator_ != address(0) && newOperator_ != _operator, "operator: zero address given for new operator"); emit OperatorTransferred(address(0), newOperator_); _operator = newOperator_; } }
pragma solidity >=0.6.12; interface IUniswapV2Router01 { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidity( address tokenA, address tokenB, uint amountADesired, uint amountBDesired, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB, uint liquidity); function addLiquidityETH( address token, uint amountTokenDesired, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external payable returns (uint amountToken, uint amountETH, uint liquidity); function removeLiquidity( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB); function removeLiquidityETH( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountToken, uint amountETH); function removeLiquidityWithPermit( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountA, uint amountB); function removeLiquidityETHWithPermit( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountToken, uint amountETH); function swapExactTokensForTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapTokensForExactTokens( uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB); function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut); function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn); function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts); function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts); }
pragma solidity ^0.8.0; interface IUniswapV2Factory { event PairCreated(address indexed token0, address indexed token1, address pair, uint256); function getPair(address tokenA, address tokenB) external view returns (address pair); function allPairs(uint256) external view returns (address pair); function allPairsLength() external view returns (uint256); function feeTo() external view returns (address); function feeToSetter() external view returns (address); function createPair(address tokenA, address tokenB) external returns (address pair); function pairCodeHash() external pure returns (bytes32); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.0; import "./IERC20.sol"; import "./extensions/IERC20Metadata.sol"; import "../../utils/Context.sol"; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * The default value of {decimals} is 18. To select a different value for * {decimals} you should overload it. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless this function is * overridden; * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `to` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address to, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _transfer(owner, to, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on * `transferFrom`. This is semantically equivalent to an infinite approval. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _approve(owner, spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * NOTE: Does not update the allowance if the current allowance * is the maximum `uint256`. * * Requirements: * * - `from` and `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. * - the caller must have allowance for ``from``'s tokens of at least * `amount`. */ function transferFrom( address from, address to, uint256 amount ) public virtual override returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, amount); _transfer(from, to, amount); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { address owner = _msgSender(); _approve(owner, spender, allowance(owner, spender) + addedValue); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { address owner = _msgSender(); uint256 currentAllowance = allowance(owner, spender); require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(owner, spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `from` to `to`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. */ function _transfer( address from, address to, uint256 amount ) internal virtual { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(from, to, amount); uint256 fromBalance = _balances[from]; require(fromBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[from] = fromBalance - amount; } _balances[to] += amount; emit Transfer(from, to, amount); _afterTokenTransfer(from, to, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; _balances[account] += amount; emit Transfer(address(0), account, amount); _afterTokenTransfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; } _totalSupply -= amount; emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve( address owner, address spender, uint256 amount ) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Updates `owner` s allowance for `spender` based on spent `amount`. * * Does not update the allowance amount in case of infinite allowance. * Revert if not enough allowance is available. * * Might emit an {Approval} event. */ function _spendAllowance( address owner, address spender, uint256 amount ) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { require(currentAllowance >= amount, "ERC20: insufficient allowance"); unchecked { _approve(owner, spender, currentAllowance - amount); } } } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 amount ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 amount ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (utils/math/SafeMath.sol) pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the subtraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 amount ) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_daoFund","type":"address"},{"internalType":"address","name":"_devFund","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":[],"name":"DisableCalculateTax","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"DisableRebase","type":"event"},{"anonymous":false,"inputs":[],"name":"EnableCalculateTax","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"EnableRebase","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"GrantExclusion","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"epoch","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"totalSupply","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"prevTotalSupply","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"prevRebaseSupply","type":"uint256"}],"name":"LogRebase","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOperator","type":"address"},{"indexed":true,"internalType":"address","name":"newOperator","type":"address"}],"name":"OperatorTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"RevokeExclusion","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"oldValue","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newValue","type":"uint256"}],"name":"SetTaxRateAfterRebase","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint8","name":"_index","type":"uint8"},{"indexed":false,"internalType":"uint256","name":"_value","type":"uint256"}],"name":"SetTaxTiersRate","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint8","name":"_index","type":"uint8"},{"indexed":false,"internalType":"uint256","name":"_value","type":"uint256"}],"name":"SetTaxTiersTwap","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"oldValue","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newValue","type":"uint256"}],"name":"SetTimeTaxAfterRebase","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"oldOracle","type":"address"},{"indexed":false,"internalType":"address","name":"newOracle","type":"address"}],"name":"SetTokenOracle","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":"INITIAL_GENESIS_POOL_DISTRIBUTION","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TOTAL_GONS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"who","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenPrice","type":"uint256"}],"name":"calculateTaxRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"dexRouter","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"disableCalculateTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_genesisPool","type":"address"}],"name":"distributeReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"enableCalculateTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"enabledTax","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"excludeTaxAddress","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"excluded","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"excludedTaxAddresses","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getDaoFund","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getDevFund","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getExcluded","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"grantRebaseExclusion","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"includeTaxAddress","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"isAddressExcluded","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"isDaoFund","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isOperator","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isSetOracle","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"marketLpPairs","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient_","type":"address"},{"internalType":"uint256","name":"amount_","type":"uint256"}],"name":"mint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"operator","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"oracle","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"epoch","type":"uint256"},{"internalType":"uint256","name":"supplyDelta","type":"uint256"},{"internalType":"bool","name":"negative","type":"bool"}],"name":"rebase","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rebaseSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"revokeRebaseExclusion","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rewardPoolDistributed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_daoFund","type":"address"}],"name":"setDaoFund","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_devFund","type":"address"}],"name":"setDevFund","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_pair","type":"address"},{"internalType":"bool","name":"_value","type":"bool"}],"name":"setMarketLpPairs","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_value","type":"uint256"}],"name":"setTaxRateAfterRebase","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"_index","type":"uint8"},{"internalType":"uint256","name":"_value","type":"uint256"}],"name":"setTaxTiersRate","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"_index","type":"uint8"},{"internalType":"uint256","name":"_value","type":"uint256"}],"name":"setTaxTiersTwap","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_value","type":"uint256"}],"name":"setTimeTaxAfterRebase","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_oracle","type":"address"}],"name":"setTokenOracle","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"taxOffice","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"taxRateAfterRebase","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"taxTiersRates","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"taxTiersTwaps","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"timeTaxAfterRebase","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOperator_","type":"address"}],"name":"transferOperator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"usdcAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
608060405260198054757e5e5957de93d00c352df75159fbc37d5935f8bf0000610100600160b01b0319909116179055601a80546001600160a01b031916732791bca1f2de4661ed88a30c99a7a9449aa841741790553480156200006257600080fd5b506040516200385f3803806200385f833981016040819052620000859162000761565b604080518082018252600480825263161554d160e21b602080840182815285518087019096529285528401528151919291620000c491600391620005f8565b508051620000da906004906020840190620005f8565b505050620000f7620000f1620003d260201b60201c565b620003d6565b62000101620003d2565b600680546001600160a01b0319166001600160a01b0392831617908190556040519116906000907f74da04524d50c64947f5dd5381ef1a4dca5cba8ed1d816243f9e48aa0b5617ed908290a36001600160a01b0382166200017f5760405162461bcd60e51b8152600401620001769062000895565b60405180910390fd5b6001600160a01b038116620001a85760405162461bcd60e51b81526004016200017690620007f5565b6006805460ff60a01b19169055670de0b6b3a76400006008556000600f8190556012819055600d80546001600160a01b038086166001600160a01b031992831617909255600e80549285169290911691909117905560408051608081018252918252620c35006020830152620dbba090820152620f424060608201526200023490601790600462000687565b50604080516080810182526105dc81526103e860208201526101f491810191909152600060608201526200026d906018906004620006cc565b506107d060145562015180601355601180546001600160a01b031916331790556019546040805163c45a015560e01b81529051620100009092046001600160a01b031691600091839163c45a015591600480820192602092909190829003018186803b158015620002dd57600080fd5b505afa158015620002f2573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000318919062000744565b601a546040516364e329cb60e11b81526001600160a01b039283169263c9c65396926200034e9230929091169060040162000798565b602060405180830381600087803b1580156200036957600080fd5b505af11580156200037e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620003a4919062000744565b9050620003b381600162000428565b620003c833680ad78ebc5ac620000062000480565b5050505062000951565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6011546001600160a01b03163314620004555760405162461bcd60e51b8152600401620001769062000818565b6001600160a01b03919091166000908152601660205260409020805460ff1916911515919091179055565b6001600160a01b038216620004a95760405162461bcd60e51b81526004016200017690620007b2565b60008111620004cc5760405162461bcd60e51b815260040162000176906200085e565b62000503620004ec82600854620005d560201b620019241790919060201c565b600754620005ea60201b620019371790919060201c565b6007819055506200052581600f54620005ea60201b620019371790919060201c565b600f81905550620005786200054b60085483620005d560201b620019241790919060201c565b6001600160a01b038416600090815260096020908152604090912054919062001937620005ea821b17901c565b6001600160a01b0383166000818152600960205260408082209390935591519091907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90620005c9908590620008b8565b60405180910390a35050565b6000620005e38284620008dc565b9392505050565b6000620005e38284620008c1565b8280546200060690620008fe565b90600052602060002090601f0160209004810192826200062a576000855562000675565b82601f106200064557805160ff191683800117855562000675565b8280016001018555821562000675579182015b828111156200067557825182559160200191906001019062000658565b506200068392915062000710565b5090565b82805482825590600052602060002090810192821562000675579160200282015b8281111562000675578251829062ffffff16905591602001919060010190620006a8565b82805482825590600052602060002090810192821562000675579160200282015b8281111562000675578251829061ffff16905591602001919060010190620006ed565b5b8082111562000683576000815560010162000711565b80516001600160a01b03811681146200073f57600080fd5b919050565b60006020828403121562000756578081fd5b620005e38262000727565b6000806040838503121562000774578081fd5b6200077f8362000727565b91506200078f6020840162000727565b90509250929050565b6001600160a01b0392831681529116602082015260400190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b6020808252600990820152680857d9195d919d5b9960ba1b604082015260600190565b60208082526026908201527f7461784f66666963653a2063616c6c6572206973206e6f7420746865207461786040820152654f666669636560d01b606082015260800190565b6020808252601a908201527f45524332303a2043616e2774206d696e74203020746f6b656e73000000000000604082015260600190565b6020808252600990820152680857d9185bd19d5b9960ba1b604082015260600190565b90815260200190565b60008219821115620008d757620008d76200093b565b500190565b6000816000190483118215151615620008f957620008f96200093b565b500290565b6002810460018216806200091357607f821691505b602082108114156200093557634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b612efe80620009616000396000f3fe608060405234801561001057600080fd5b506004361061038e5760003560e01c80635d5d67d6116101de5780639badc3651161010f578063dd62ed3e116100ad578063ebca1bd91161007c578063ebca1bd9146106e6578063ee0ccea3146106f9578063f2fde38b14610701578063f6050e50146107145761038e565b8063dd62ed3e146106b0578063de933017146106c3578063e00713e9146106d6578063e5defb57146106de5761038e565b8063ab77f47c116100e9578063ab77f47c14610664578063ae4db91914610677578063b87c5a4a1461068a578063bee2ddc21461069d5761038e565b80639badc36514610629578063a457c2d71461063e578063a9059cbb146106515761038e565b80637dc0d1d01161017c57806390bc2ded1161015657806390bc2ded146105f357806395d89b41146106065780639662676c1461060e57806396a6ba20146106165761038e565b80637dc0d1d0146105d057806382fab8fc146105d85780638da5cb5b146105eb5761038e565b80636756c7b1116101b85780636756c7b11461059a57806370a08231146105a2578063715018a6146105b55780637af548c1146105bd5761038e565b80635d5d67d6146105615780635ed4f7cb1461057457806366206ce9146105875761038e565b8063313ce567116102c35780634456eda21161026157806354dc8c441161023057806354dc8c4414610536578063556f98fc1461053e578063570ca735146105465780635c29908d1461054e5761038e565b80634456eda21461050b5780634965b279146105135780634be9d62d146105265780634e20a02c1461052e5761038e565b80633fc818031161029d5780633fc81803146104ca57806340c10f19146104d257806342966c68146104e557806342c6b4f1146104f85761038e565b8063313ce5671461049a57806339509351146104af5780633e5f13d4146104c25761038e565b806318160ddd116103305780632418c4e11161030a5780632418c4e11461045957806329605e771461046c5780632af0547d1461047f5780632c559d27146104875761038e565b806318160ddd1461042957806319157deb1461043e57806323b872dd146104465761038e565b80630758d9241161036c5780630758d924146103e6578063092193ab146103ee578063095ea7b31461040357806317805571146104165761038e565b806302d454571461039357806305fa791f146103b157806306fdde03146103d1575b600080fd5b61039b610727565b6040516103a891906124f3565b60405180910390f35b6103c46103bf366004612385565b610736565b6040516103a89190612587565b6103d961074d565b6040516103a89190612592565b61039b6107e0565b6104016103fc366004612385565b6107f5565b005b6103c4610411366004612435565b610880565b6103c4610424366004612385565b6108a4565b6104316108b9565b6040516103a89190612d13565b6103c46108bf565b6103c46104543660046123d1565b6108cd565b610401610467366004612385565b610925565b61040161047a366004612385565b610b11565b61039b610b22565b610401610495366004612385565b610b31565b6104a2610ba3565b6040516103a89190612d40565b6103c46104bd366004612435565b610ba8565b61039b610bef565b61039b610bfe565b6103c46104e0366004612435565b610c0d565b6104016104f3366004612485565b610c68565b610431610506366004612485565b610c7f565b6103c4610ca0565b6103c4610521366004612385565b610cc6565b6103c4610d50565b610431610d59565b610431610d67565b610431610d6d565b61039b610df0565b61043161055c366004612485565b610dff565b61043161056f366004612485565b610e0f565b61040161058236600461240c565b610edb565b6103c46105953660046124d1565b610f30565b6104016110a4565b6104316105b0366004612385565b611103565b61040161113d565b6104316105cb36600461249d565b611151565b61039b6111e2565b6103c46105e6366004612385565b6111f1565b61039b611280565b6103c4610601366004612485565b61128f565b6103d9611323565b6103c4611332565b610401610624366004612385565b611342565b610631611433565b6040516103a8919061253a565b6103c461064c366004612435565b611494565b6103c461065f366004612435565b611500565b6103c4610672366004612485565b611518565b610401610685366004612385565b6115ab565b6103c46106983660046124d1565b61161d565b61039b6106ab366004612485565b6116f8565b6104316106be36600461239f565b611722565b6103c46106d1366004612385565b61174d565b610431611762565b610401611768565b6103c46106f4366004612385565b6117ca565b6104316117e8565b61040161070f366004612385565b6117ee565b610401610722366004612385565b611825565b601a546001600160a01b031681565b600d546001600160a01b038281169116145b919050565b60606003805461075c90612e34565b80601f016020809104026020016040519081016040528092919081815260200182805461078890612e34565b80156107d55780601f106107aa576101008083540402835291602001916107d5565b820191906000526020600020905b8154815290600101906020018083116107b857829003601f168201915b505050505090505b90565b6019546201000090046001600160a01b031681565b6107fd611943565b600654600160a01b900460ff16156108305760405162461bcd60e51b815260040161082790612628565b60405180910390fd5b6001600160a01b0381166108565760405162461bcd60e51b815260040161082790612ca7565b6006805460ff60a01b1916600160a01b17905561087d8169021e19e0c9bab2400000611982565b50565b60008061088b611a81565b9050610898818585611a85565b60019150505b92915050565b60156020526000908152604090205460ff1681565b600f5490565b601954610100900460ff1681565b60006108da848484611b39565b61091b846108e6611a81565b61091685604051806060016040528060288152602001612ea16028913961090f8a6106be611a81565b9190611c71565b611a85565b5060019392505050565b6006546001600160a01b0316331461094f5760405162461bcd60e51b815260040161082790612a8c565b6001600160a01b0381166000908152600b602052604090205460ff166109875760405162461bcd60e51b81526004016108279061293f565b600c5460005b81811015610b0c57826001600160a01b0316600c82815481106109c057634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b03161415610afa57600c6109e8600184612ddd565b81548110610a0657634e487b7160e01b600052603260045260246000fd5b600091825260209091200154600c80546001600160a01b039092169183908110610a4057634e487b7160e01b600052603260045260246000fd5b600091825260208083209190910180546001600160a01b0319166001600160a01b039485161790559185168152600b90915260409020805460ff19169055600c805480610a9d57634e487b7160e01b600052603160045260246000fd5b600082815260208120820160001990810180546001600160a01b03191690559091019091556040516001600160a01b038516917fd16467d2057124ad076db0cac7022ebd0361128424aeb658f33adaa5c57b716891a2505061087d565b80610b0481612e6f565b91505061098d565b505050565b610b19611943565b61087d81611c9d565b600d546001600160a01b031690565b6006546001600160a01b03163314610b5b5760405162461bcd60e51b815260040161082790612a8c565b6001600160a01b038116610b815760405162461bcd60e51b8152600401610827906126a5565b600d80546001600160a01b0319166001600160a01b0392909216919091179055565b601290565b600080610bb3611a81565b6001600160a01b038082166000908152600a60209081526040808320938916835292905220549091506108989082908690610916908790612d61565b6011546001600160a01b031681565b600e546001600160a01b031690565b6006546000906001600160a01b03163314610c3a5760405162461bcd60e51b815260040161082790612a8c565b6000610c4584611103565b9050610c518484611982565b6000610c5c85611103565b91909111949350505050565b801561087d5761087d610c79611a81565b82611d37565b60178181548110610c8f57600080fd5b600091825260209091200154905081565b6006546000906001600160a01b0316610cb7611a81565b6001600160a01b031614905090565b6011546000906001600160a01b03163314610cf35760405162461bcd60e51b81526004016108279061265f565b6001600160a01b03821660009081526015602052604090205460ff16610d2b5760405162461bcd60e51b815260040161082790612908565b506001600160a01b03166000908152601560205260409020805460ff19169055600190565b60195460ff1681565b69021e19e0c9bab240000081565b60145481565b600c546000908190815b81811015610ddb57610dc7610dc0600c8381548110610da657634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b0316611103565b8490611937565b925080610dd381612e6f565b915050610d77565b50600f54610de99083611e5e565b9250505090565b6006546001600160a01b031690565b60188181548110610c8f57600080fd5b6017546012546000919082904210801590610e375750601354601254610e3491611937565b42105b15610e485760145492505050610748565b6000610e55836001611e5e565b90505b60178160ff1681548110610e7c57634e487b7160e01b600052603260045260246000fd5b90600052602060002001548510610ec35760188160ff1681548110610eb157634e487b7160e01b600052603260045260246000fd5b90600052602060002001549150610ed3565b610ecc81612e17565b9050610e58565b509392505050565b6011546001600160a01b03163314610f055760405162461bcd60e51b81526004016108279061265f565b6001600160a01b03919091166000908152601660205260409020805460ff1916911515919091179055565b6011546000906001600160a01b03163314610f5d5760405162461bcd60e51b81526004016108279061265f565b60175460ff80821690851610610f855760405162461bcd60e51b815260040161082790612b1a565b60ff841615610fd2576017610f9b600186612df4565b60ff1681548110610fbc57634e487b7160e01b600052603260045260246000fd5b90600052602060002001548311610fd257600080fd5b610fdd816001611e5e565b60ff168460ff16101561102e576017610ff7856001612d79565b60ff168154811061101857634e487b7160e01b600052603260045260246000fd5b9060005260206000200154831061102e57600080fd5b8260178560ff168154811061105357634e487b7160e01b600052603260045260246000fd5b90600052602060002001819055507f11e258830da0354d8151119ccda6016bdaf9683e8bd24ff5a64b00700f92eef48484604051611092929190612d4e565b60405180910390a15060019392505050565b6011546001600160a01b031633146110ce5760405162461bcd60e51b81526004016108279061265f565b6019805460ff191690556040517f98e3faa1ead102f33ef2051acf38a89c11f481da1a7f749ed33a7d05adbdd52790600090a1565b60006008546000141561111857506000610748565b6008546001600160a01b03831660009081526009602052604090205461089e91611e6a565b611145611943565b61114f6000611e76565b565b6006546000906001600160a01b0316331461117e5760405162461bcd60e51b815260040161082790612a8c565b6000611188610d6d565b600f54909150600061119a8686611ec8565b9050867fa9219328b62d2057317e0a7d7634032c7caca3f5b8230d51b25e957efc67dbf48284866040516111d093929190612d2a565b60405180910390a29695505050505050565b6010546001600160a01b031681565b6011546000906001600160a01b0316331461121e5760405162461bcd60e51b81526004016108279061265f565b6001600160a01b03821660009081526015602052604090205460ff16156112575760405162461bcd60e51b815260040161082790612883565b506001600160a01b03166000908152601560205260409020805460ff1916600190811790915590565b6005546001600160a01b031690565b6011546000906001600160a01b031633146112bc5760405162461bcd60e51b81526004016108279061265f565b620151808211156112df5760405162461bcd60e51b8152600401610827906129c3565b7ffde063ffda8384bf087375de3cae7ff5d6533d140c08e310dc5b7d2cbb0cd7b060135483604051611312929190612d1c565b60405180910390a150601355600190565b60606004805461075c90612e34565b600654600160a01b900460ff1681565b6011546001600160a01b0316331461136c5760405162461bcd60e51b81526004016108279061265f565b601954610100900460ff16156113945760405162461bcd60e51b815260040161082790612a2f565b6001600160a01b0381166113ba5760405162461bcd60e51b815260040161082790612bea565b6010546040517f6bc4fdedd1957cfe13a110158929940440c759893f647a147e8a3dfd3c531dd0916113f9916001600160a01b03909116908490612507565b60405180910390a1601080546001600160a01b039092166001600160a01b03199092169190911790556019805461ff001916610100179055565b6060600c8054806020026020016040519081016040528092919081815260200182805480156107d557602002820191906000526020600020905b81546001600160a01b0316815260019091019060200180831161146d575050505050905090565b60008061149f611a81565b6001600160a01b038082166000908152600a6020908152604080832093891683529290522054909150838110156114e85760405162461bcd60e51b815260040161082790612cce565b6114f58286868403611a85565b506001949350505050565b60008061150b611a81565b9050610898818585611b39565b6011546000906001600160a01b031633146115455760405162461bcd60e51b81526004016108279061265f565b610bb88211156115675760405162461bcd60e51b815260040161082790612806565b7f33111a6fc2c14cc35d93644865b3ded9566a9c0e6ec6cd7d4e07b4d17ba04ad06014548360405161159a929190612d1c565b60405180910390a150601455600190565b6006546001600160a01b031633146115d55760405162461bcd60e51b815260040161082790612a8c565b6001600160a01b0381166115fb5760405162461bcd60e51b8152600401610827906126a5565b600e80546001600160a01b0319166001600160a01b0392909216919091179055565b6011546000906001600160a01b0316331461164a5760405162461bcd60e51b81526004016108279061265f565b60185460ff808216908516106116725760405162461bcd60e51b815260040161082790612b1a565b610bb88311156116945760405162461bcd60e51b815260040161082790612806565b8260188560ff16815481106116b957634e487b7160e01b600052603260045260246000fd5b90600052602060002001819055507f29c340d68011babd0e45b8048773a42de62c7d73e7628251d056421439bd1d768484604051611092929190612d4e565b600c818154811061170857600080fd5b6000918252602090912001546001600160a01b0316905081565b6001600160a01b039182166000908152600a6020908152604080832093909416825291909152205490565b60166020526000908152604090205460ff1681565b60075481565b6011546001600160a01b031633146117925760405162461bcd60e51b81526004016108279061265f565b6019805460ff191660011790556040517f3407c535a6480fb414a58a6e68477ae52993ed4255ac2f970e91fd0d36c79ec390600090a1565b6001600160a01b03166000908152600b602052604090205460ff1690565b60135481565b6117f6611943565b6001600160a01b03811661181c5760405162461bcd60e51b815260040161082790612747565b61087d81611e76565b6006546001600160a01b0316331461184f5760405162461bcd60e51b815260040161082790612a8c565b6001600160a01b0381166000908152600b602052604090205460ff16156118755761087d565b600c54601410156118985760405162461bcd60e51b815260040161082790612c70565b6001600160a01b0381166000818152600b6020526040808220805460ff19166001908117909155600c8054918201815583527fdf6966c971051c3d54ec59162606531493a51404a002842f56009d7e5cf4a8c70180546001600160a01b03191684179055517fa97aa82b14e9f5eee05f81ff79815563498d3b5d92f4d4b3e3d380f0c0d9eebe9190a250565b60006119308284612dbe565b9392505050565b60006119308284612d61565b61194b611a81565b6001600160a01b031661195c611280565b6001600160a01b03161461114f5760405162461bcd60e51b8152600401610827906129fa565b6001600160a01b0382166119a85760405162461bcd60e51b8152600401610827906125e5565b600081116119c85760405162461bcd60e51b815260040161082790612710565b6008546119e2906119d99083611924565b60075490611937565b600755600f546119f29082611937565b600f55600854611a2690611a07908390611924565b6001600160a01b03841660009081526009602052604090205490611937565b6001600160a01b0383166000818152600960205260408082209390935591519091907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90611a75908590612d13565b60405180910390a35050565b3390565b6001600160a01b038316611aab5760405162461bcd60e51b815260040161082790612c2c565b6001600160a01b038216611ad15760405162461bcd60e51b81526004016108279061278d565b6001600160a01b038084166000818152600a602090815260408083209487168084529490915290819020849055517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92590611b2c908590612d13565b60405180910390a3505050565b6001600160a01b038316611b5f5760405162461bcd60e51b815260040161082790612a66565b6001600160a01b038216611b855760405162461bcd60e51b815260040161082790612a66565b600d546001600160a01b0316611bad5760405162461bcd60e51b8152600401610827906127cf565b60195460ff1615611c66576001600160a01b03821660009081526016602052604081205460ff168015611bf957506001600160a01b03841660009081526015602052604090205460ff16155b15611c39576000611c08611f8a565b90506000611c1582610e0f565b90508015611c3657611c33612710611c2d8684611924565b90611e6a565b92505b50505b8015611c6457611c498282611e5e565b600d54909250611c649085906001600160a01b031683612039565b505b610b0c838383612039565b60008184841115611c955760405162461bcd60e51b81526004016108279190612592565b505050900390565b6001600160a01b03811615801590611cc357506006546001600160a01b03828116911614155b611cdf5760405162461bcd60e51b815260040161082790612976565b6040516001600160a01b038216906000907f74da04524d50c64947f5dd5381ef1a4dca5cba8ed1d816243f9e48aa0b5617ed908290a3600680546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b038216611d5d5760405162461bcd60e51b815260040161082790612b64565b6001600160a01b038216600090815260096020526040902054600854611d84908390611924565b811015611da35760405162461bcd60e51b8152600401610827906126ce565b611dda611dbb6008548461192490919063ffffffff16565b6001600160a01b03851660009081526009602052604090205490611e5e565b6001600160a01b038416600090815260096020526040902055600854611e0d90611e049084611924565b60075490611e5e565b600755600f54611e1d9083611e5e565b600f556040516000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90611b2c908690612d13565b60006119308284612ddd565b60006119308284612d9e565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6000821580611edc5750611eda610d6d565b155b15611eea5750600f5461089e565b82600f5411611f0b5760405162461bcd60e51b815260040161082790612ad0565b6000611f156121a1565b90508215611f3257600f54611f2a9085611e5e565b600f55611f43565b600f54611f3f9085611937565b600f555b600f546001600160801b031015611f60576001600160801b03600f555b600f54600754611f6f91611e6a565b60085542601255611f7f8161229f565b5050600f5492915050565b601054604051633ddac95360e01b81526000916001600160a01b031690633ddac95390611fc5903090670de0b6b3a764000090600401612521565b60206040518083038186803b158015611fdd57600080fd5b505afa92505050801561200d575060408051601f3d908101601f1916820190925261200a9181019061245e565b60015b6120295760405162461bcd60e51b8152600401610827906128ba565b6001600160901b031690506107dd565b6001600160a01b03831661205f5760405162461bcd60e51b815260040161082790612ba5565b6001600160a01b0382166120855760405162461bcd60e51b8152600401610827906125e5565b612090838383610b0c565b60006120a76008548361192490919063ffffffff16565b6001600160a01b038516600090815260096020526040902054909150818110156120e35760405162461bcd60e51b81526004016108279061283d565b6001600160a01b0385166000908152600960205260409020546121069083611e5e565b6001600160a01b0380871660009081526009602052604080822093909355908616815220546121359083611937565b6001600160a01b0380861660008181526009602052604090819020939093559151908716907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90612187908790612d13565b60405180910390a361219a858585610b0c565b5050505050565b600c546060908067ffffffffffffffff8111156121ce57634e487b7160e01b600052604160045260246000fd5b6040519080825280602002602001820160405280156121f7578160200160208202803683370190505b50915060005b8181101561229a576000600c828154811061222857634e487b7160e01b600052603260045260246000fd5b60009182526020822001546001600160a01b0316915061224782611103565b90508085848151811061226a57634e487b7160e01b600052603260045260246000fd5b60209081029190910101528015612285576122858282611d37565b5050808061229290612e6f565b9150506121fd565b505090565b600c5460005b81811015610b0c5760008382815181106122cf57634e487b7160e01b600052603260045260246000fd5b6020026020010151111561234c5761234c600c828154811061230157634e487b7160e01b600052603260045260246000fd5b9060005260206000200160009054906101000a90046001600160a01b031684838151811061233f57634e487b7160e01b600052603260045260246000fd5b6020026020010151611982565b8061235681612e6f565b9150506122a5565b80356001600160a01b038116811461074857600080fd5b8035801515811461074857600080fd5b600060208284031215612396578081fd5b6119308261235e565b600080604083850312156123b1578081fd5b6123ba8361235e565b91506123c86020840161235e565b90509250929050565b6000806000606084860312156123e5578081fd5b6123ee8461235e565b92506123fc6020850161235e565b9150604084013590509250925092565b6000806040838503121561241e578182fd5b6124278361235e565b91506123c860208401612375565b60008060408385031215612447578182fd5b6124508361235e565b946020939093013593505050565b60006020828403121561246f578081fd5b81516001600160901b0381168114611930578182fd5b600060208284031215612496578081fd5b5035919050565b6000806000606084860312156124b1578283fd5b83359250602084013591506124c860408501612375565b90509250925092565b600080604083850312156124e3578182fd5b823560ff81168114612450578283fd5b6001600160a01b0391909116815260200190565b6001600160a01b0392831681529116602082015260400190565b6001600160a01b03929092168252602082015260400190565b6020808252825182820181905260009190848201906040850190845b8181101561257b5783516001600160a01b031683529284019291840191600101612556565b50909695505050505050565b901515815260200190565b6000602080835283518082850152825b818110156125be578581018301518582016040015282016125a2565b818111156125cf5783604083870101525b50601f01601f1916929092016040019392505050565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60208082526018908201527f6f6e6c792063616e2064697374726962757465206f6e63650000000000000000604082015260600190565b60208082526026908201527f7461784f66666963653a2063616c6c6572206973206e6f7420746865207461786040820152654f666669636560d01b606082015260800190565b6020808252600f908201526e496e76616c6964206164647265737360881b604082015260600190565b60208082526022908201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604082015261636560f01b606082015260800190565b6020808252601a908201527f45524332303a2043616e2774206d696e74203020746f6b656e73000000000000604082015260600190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b60208082526022908201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604082015261737360f01b606082015260800190565b6020808252601e908201527f7265717569726520746f207365742064616f46756e6420616464726573730000604082015260600190565b6020808252601a908201527f54617820657175616c206f722062696767657220746f20333025000000000000604082015260600190565b60208082526026908201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604082015265616c616e636560d01b606082015260800190565b60208082526019908201527f416464726573732063616e2774206265206578636c7564656400000000000000604082015260600190565b6020808252602e908201527f4572726f723a204661696c656420746f20666574636820746f6b656e2070726960408201526d63652066726f6d204f7261636c6560901b606082015260800190565b60208082526019908201527f416464726573732063616e277420626520696e636c7564656400000000000000604082015260600190565b6020808252601f908201527f4163636f756e74206973206e6f7420616c7265616479206578636c7564656400604082015260600190565b6020808252602d908201527f6f70657261746f723a207a65726f206164647265737320676976656e20666f7260408201526c103732bb9037b832b930ba37b960991b606082015260800190565b6020808252601b908201527f54696d6520657175616c206f722062696767657220746f203234680000000000604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252601c908201527f4f6e6c792063616e20736574546f6b656e4f7261636c65206f6e636500000000604082015260600190565b6020808252600c908201526b7a65726f206164647265737360a01b604082015260600190565b60208082526024908201527f6f70657261746f723a2063616c6c6572206973206e6f7420746865206f70657260408201526330ba37b960e11b606082015260800190565b6020808252602a908201527f537570706c7944656c7461206d757374206265206c6f776572207468616e20746040820152696f74616c537570706c7960b01b606082015260800190565b6020808252602a908201527f496e6465782068617320746f206c6f776572207468616e20636f756e74206f666040820152692074617820746965727360b01b606082015260800190565b60208082526021908201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736040820152607360f81b606082015260800190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526022908201527f4f7261636c6520616464726573732063616e6e6f742062652030206164647265604082015261737360f01b606082015260800190565b60208082526024908201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646040820152637265737360e01b606082015260800190565b6020808252601a908201527f546f6f206d616e79206578636c75646564206163636f756e7473000000000000604082015260600190565b6020808252600d908201526c0857d9d95b995cda5cd41bdbdb609a1b604082015260600190565b60208082526025908201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604082015264207a65726f60d81b606082015260800190565b90815260200190565b918252602082015260400190565b9283526020830191909152604082015260600190565b60ff91909116815260200190565b60ff929092168252602082015260400190565b60008219821115612d7457612d74612e8a565b500190565b600060ff821660ff84168060ff03821115612d9657612d96612e8a565b019392505050565b600082612db957634e487b7160e01b81526012600452602481fd5b500490565b6000816000190483118215151615612dd857612dd8612e8a565b500290565b600082821015612def57612def612e8a565b500390565b600060ff821660ff841680821015612e0e57612e0e612e8a565b90039392505050565b600060ff821680612e2a57612e2a612e8a565b6000190192915050565b600281046001821680612e4857607f821691505b60208210811415612e6957634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415612e8357612e83612e8a565b5060010190565b634e487b7160e01b600052601160045260246000fdfe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a2646970667358221220799b6ca0327c61535f873af8673cf719a03f51007963d01c9b7da610bf96d12c64736f6c6343000801003300000000000000000000000001f80523429e64c1ff320f38a8e5f4a7c717ccd800000000000000000000000001f80523429e64c1ff320f38a8e5f4a7c717ccd8
Age | Block | Fee Address | BC Fee Address | Voting Power | Jailed | Incoming |
---|
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.