Overview
POL Balance
POL Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 383 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Approve | 56170613 | 290 days ago | IN | 0 POL | 0.00309219 | ||||
Approve | 56170613 | 290 days ago | IN | 0 POL | 0.00309219 | ||||
Approve | 56170612 | 290 days ago | IN | 0 POL | 0.00330362 | ||||
Approve | 56170612 | 290 days ago | IN | 0 POL | 0.00351777 | ||||
Approve | 52453970 | 386 days ago | IN | 0 POL | 0.00088207 | ||||
Approve | 45118271 | 573 days ago | IN | 0 POL | 0.00267908 | ||||
Approve | 45118266 | 573 days ago | IN | 0 POL | 0.00247862 | ||||
Approve | 44795924 | 581 days ago | IN | 0 POL | 0.00296606 | ||||
Approve | 44776793 | 581 days ago | IN | 0 POL | 0.00300476 | ||||
Approve | 43381813 | 618 days ago | IN | 0 POL | 0.00358688 | ||||
Approve | 39479429 | 719 days ago | IN | 0 POL | 0.00385171 | ||||
Approve | 37655332 | 765 days ago | IN | 0 POL | 0.00154201 | ||||
Approve | 37268001 | 775 days ago | IN | 0 POL | 0.00093585 | ||||
Approve | 37198580 | 777 days ago | IN | 0 POL | 0.00138602 | ||||
Approve | 37075689 | 780 days ago | IN | 0 POL | 0.00202193 | ||||
Approve | 36275909 | 800 days ago | IN | 0 POL | 0.00075729 | ||||
Approve | 36193874 | 802 days ago | IN | 0 POL | 0.00350347 | ||||
Approve | 36188787 | 802 days ago | IN | 0 POL | 0.00700695 | ||||
Approve | 36051993 | 805 days ago | IN | 0 POL | 0.00183028 | ||||
Approve | 35978187 | 807 days ago | IN | 0 POL | 0.00161231 | ||||
Approve | 35978113 | 807 days ago | IN | 0 POL | 0.0018566 | ||||
Approve | 35797017 | 811 days ago | IN | 0 POL | 0.0007389 | ||||
Approve | 35797017 | 811 days ago | IN | 0 POL | 0.00073956 | ||||
Approve | 35751772 | 812 days ago | IN | 0 POL | 0.00147145 | ||||
Approve | 35648152 | 815 days ago | IN | 0 POL | 0.00659153 |
Loading...
Loading
Similar Match Source Code This contract matches the deployed Bytecode of the Source Code for Contract 0x37da542b...ED92C7320 The constructor portion of the code might be different and could alter the actual behaviour of the contract
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"; contract MainToken is ERC20, Operator { using SafeMath for uint256; // Initial distribution for the first 48h genesis pools uint256 public constant INITIAL_GENESIS_POOL_DISTRIBUTION = 500000 ether; // Have the rewards been distributed to the pools bool public rewardPoolDistributed; uint256 private constant INITIAL_FRAGMENTS_SUPPLY = 1500000 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; /* =================== 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("XSHIP", "XSHIP") { require(_daoFund != address(0), "!_wethAddress"); require(_devFund != address(0), "!_wethAddress"); rewardPoolDistributed = false; _gonsPerFragment = 10 ** 18; _totalSupply = 0; lastTimeRebase = 0; daoFund = _daoFund; devFund = _devFund; taxTiersTwaps = [0, 8e17, 9e17, 1e18]; taxTiersRates = [1500, 1000, 500, 0]; taxRateAfterRebase = 2000; // 20% timeTaxAfterRebase = 24 hours; taxOffice = msg.sender; // 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[from] && !excludedTaxAddresses[to]) || (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 _tokenPrice) { 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; 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_; } }
// 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 // 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":"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"}]
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106103785760003560e01c80635ed4f7cb116101d3578063a457c2d711610104578063de933017116100a2578063ebca1bd91161007c578063ebca1bd9146106c0578063ee0ccea3146106d3578063f2fde38b146106db578063f6050e50146106ee57610378565b8063de9330171461069d578063e00713e9146106b0578063e5defb57146106b857610378565b8063ae4db919116100de578063ae4db91914610651578063b87c5a4a14610664578063bee2ddc214610677578063dd62ed3e1461068a57610378565b8063a457c2d714610618578063a9059cbb1461062b578063ab77f47c1461063e57610378565b806382fab8fc1161017157806395d89b411161014b57806395d89b41146105e05780639662676c146105e857806396a6ba20146105f05780639badc3651461060357610378565b806382fab8fc146105b25780638da5cb5b146105c557806390bc2ded146105cd57610378565b806370a08231116101ad57806370a082311461057c578063715018a61461058f5780637af548c1146105975780637dc0d1d0146105aa57610378565b80635ed4f7cb1461054e57806366206ce9146105615780636756c7b11461057457610378565b80633e5f13d4116102ad5780634be9d62d1161024b578063556f98fc11610225578063556f98fc14610518578063570ca735146105205780635c29908d146105285780635d5d67d61461053b57610378565b80634be9d62d146105005780634e20a02c1461050857806354dc8c441461051057610378565b806342966c681161028757806342966c68146104bf57806342c6b4f1146104d25780634456eda2146104e55780634965b279146104ed57610378565b80633e5f13d41461049c5780633fc81803146104a457806340c10f19146104ac57610378565b806323b872dd1161031a5780632af0547d116102f45780632af0547d1461044c5780632c559d2714610461578063313ce56714610474578063395093511461048957610378565b806323b872dd146104135780632418c4e11461042657806329605e771461043957610378565b8063095ea7b311610356578063095ea7b3146103d057806317805571146103e357806318160ddd146103f657806319157deb1461040b57610378565b806305fa791f1461037d57806306fdde03146103a6578063092193ab146103bb575b600080fd5b61039061038b366004612407565b610701565b60405161039d9190612609565b60405180910390f35b6103ae610718565b60405161039d9190612614565b6103ce6103c9366004612407565b6107ab565b005b6103906103de3660046124b7565b610836565b6103906103f1366004612407565b61085a565b6103fe61086f565b60405161039d9190612de2565b610390610875565b610390610421366004612453565b610883565b6103ce610434366004612407565b6108db565b6103ce610447366004612407565b610ac7565b610454610ad8565b60405161039d9190612575565b6103ce61046f366004612407565b610ae7565b61047c610b59565b60405161039d9190612e0f565b6103906104973660046124b7565b610b5e565b610454610ba5565b610454610bb4565b6103906104ba3660046124b7565b610bc3565b6103ce6104cd366004612507565b610c1e565b6103fe6104e0366004612507565b610c35565b610390610c56565b6103906104fb366004612407565b610c7c565b610390610d06565b6103fe610d0f565b6103fe610d1d565b6103fe610d23565b610454610da6565b6103fe610536366004612507565b610db5565b6103fe610549366004612507565b610dc5565b6103ce61055c36600461248e565b610e91565b61039061056f366004612553565b610ee6565b6103ce61105a565b6103fe61058a366004612407565b6110b9565b6103ce6110f3565b6103fe6105a536600461251f565b611107565b610454611198565b6103906105c0366004612407565b6111a7565b610454611236565b6103906105db366004612507565b611245565b6103ae6112d9565b6103906112e8565b6103ce6105fe366004612407565b6112f8565b61060b6113e9565b60405161039d91906125bc565b6103906106263660046124b7565b61144a565b6103906106393660046124b7565b6114b6565b61039061064c366004612507565b6114ce565b6103ce61065f366004612407565b611561565b610390610672366004612553565b6115d3565b610454610685366004612507565b6116ae565b6103fe610698366004612421565b6116d8565b6103906106ab366004612407565b611703565b6103fe611718565b6103ce61171e565b6103906106ce366004612407565b611780565b6103fe61179e565b6103ce6106e9366004612407565b6117a4565b6103ce6106fc366004612407565b6117db565b600d546001600160a01b038281169116145b919050565b60606003805461072790612f03565b80601f016020809104026020016040519081016040528092919081815260200182805461075390612f03565b80156107a05780601f10610775576101008083540402835291602001916107a0565b820191906000526020600020905b81548152906001019060200180831161078357829003601f168201915b505050505090505b90565b6107b36118f9565b600654600160a01b900460ff16156107e65760405162461bcd60e51b81526004016107dd906126aa565b60405180910390fd5b6001600160a01b03811661080c5760405162461bcd60e51b81526004016107dd90612d76565b6006805460ff60a01b1916600160a01b179055610833816969e10de76676d0800000611938565b50565b600080610841611a37565b905061084e818585611a3b565b60019150505b92915050565b60156020526000908152604090205460ff1681565b600f5490565b601954610100900460ff1681565b6000610890848484611aef565b6108d18461089c611a37565b6108cc85604051806060016040528060288152602001612f70602891396108c58a610698611a37565b9190611c76565b611a3b565b5060019392505050565b6006546001600160a01b031633146109055760405162461bcd60e51b81526004016107dd90612b5b565b6001600160a01b0381166000908152600b602052604090205460ff1661093d5760405162461bcd60e51b81526004016107dd906129c1565b600c5460005b81811015610ac257826001600160a01b0316600c828154811061097657634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b03161415610ab057600c61099e600184612eac565b815481106109bc57634e487b7160e01b600052603260045260246000fd5b600091825260209091200154600c80546001600160a01b0390921691839081106109f657634e487b7160e01b600052603260045260246000fd5b600091825260208083209190910180546001600160a01b0319166001600160a01b039485161790559185168152600b90915260409020805460ff19169055600c805480610a5357634e487b7160e01b600052603160045260246000fd5b600082815260208120820160001990810180546001600160a01b03191690559091019091556040516001600160a01b038516917fd16467d2057124ad076db0cac7022ebd0361128424aeb658f33adaa5c57b716891a25050610833565b80610aba81612f3e565b915050610943565b505050565b610acf6118f9565b61083381611ca2565b600d546001600160a01b031690565b6006546001600160a01b03163314610b115760405162461bcd60e51b81526004016107dd90612b5b565b6001600160a01b038116610b375760405162461bcd60e51b81526004016107dd90612727565b600d80546001600160a01b0319166001600160a01b0392909216919091179055565b601290565b600080610b69611a37565b6001600160a01b038082166000908152600a602090815260408083209389168352929052205490915061084e90829086906108cc908790612e30565b6011546001600160a01b031681565b600e546001600160a01b031690565b6006546000906001600160a01b03163314610bf05760405162461bcd60e51b81526004016107dd90612b5b565b6000610bfb846110b9565b9050610c078484611938565b6000610c12856110b9565b91909111949350505050565b801561083357610833610c2f611a37565b82611d3c565b60178181548110610c4557600080fd5b600091825260209091200154905081565b6006546000906001600160a01b0316610c6d611a37565b6001600160a01b031614905090565b6011546000906001600160a01b03163314610ca95760405162461bcd60e51b81526004016107dd906126e1565b6001600160a01b03821660009081526015602052604090205460ff16610ce15760405162461bcd60e51b81526004016107dd9061298a565b506001600160a01b03166000908152601560205260409020805460ff19169055600190565b60195460ff1681565b6969e10de76676d080000081565b60145481565b600c546000908190815b81811015610d9157610d7d610d76600c8381548110610d5c57634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b03166110b9565b84906118ed565b925080610d8981612f3e565b915050610d2d565b50600f54610d9f9083611e63565b9250505090565b6006546001600160a01b031690565b60188181548110610c4557600080fd5b6017546012546000919082904210801590610ded5750601354601254610dea916118ed565b42105b15610dfe5760145492505050610713565b6000610e0b836001611e63565b90505b60178160ff1681548110610e3257634e487b7160e01b600052603260045260246000fd5b90600052602060002001548510610e795760188160ff1681548110610e6757634e487b7160e01b600052603260045260246000fd5b90600052602060002001549150610e89565b610e8281612ee6565b9050610e0e565b509392505050565b6011546001600160a01b03163314610ebb5760405162461bcd60e51b81526004016107dd906126e1565b6001600160a01b03919091166000908152601660205260409020805460ff1916911515919091179055565b6011546000906001600160a01b03163314610f135760405162461bcd60e51b81526004016107dd906126e1565b60175460ff80821690851610610f3b5760405162461bcd60e51b81526004016107dd90612be9565b60ff841615610f88576017610f51600186612ec3565b60ff1681548110610f7257634e487b7160e01b600052603260045260246000fd5b90600052602060002001548311610f8857600080fd5b610f93816001611e63565b60ff168460ff161015610fe4576017610fad856001612e48565b60ff1681548110610fce57634e487b7160e01b600052603260045260246000fd5b90600052602060002001548310610fe457600080fd5b8260178560ff168154811061100957634e487b7160e01b600052603260045260246000fd5b90600052602060002001819055507f11e258830da0354d8151119ccda6016bdaf9683e8bd24ff5a64b00700f92eef48484604051611048929190612e1d565b60405180910390a15060019392505050565b6011546001600160a01b031633146110845760405162461bcd60e51b81526004016107dd906126e1565b6019805460ff191690556040517f98e3faa1ead102f33ef2051acf38a89c11f481da1a7f749ed33a7d05adbdd52790600090a1565b6000600854600014156110ce57506000610713565b6008546001600160a01b03831660009081526009602052604090205461085491611e6f565b6110fb6118f9565b6111056000611e7b565b565b6006546000906001600160a01b031633146111345760405162461bcd60e51b81526004016107dd90612b5b565b600061113e610d23565b600f5490915060006111508686611ecd565b9050867fa9219328b62d2057317e0a7d7634032c7caca3f5b8230d51b25e957efc67dbf482848660405161118693929190612df9565b60405180910390a29695505050505050565b6010546001600160a01b031681565b6011546000906001600160a01b031633146111d45760405162461bcd60e51b81526004016107dd906126e1565b6001600160a01b03821660009081526015602052604090205460ff161561120d5760405162461bcd60e51b81526004016107dd90612905565b506001600160a01b03166000908152601560205260409020805460ff1916600190811790915590565b6005546001600160a01b031690565b6011546000906001600160a01b031633146112725760405162461bcd60e51b81526004016107dd906126e1565b620151808211156112955760405162461bcd60e51b81526004016107dd90612a45565b7ffde063ffda8384bf087375de3cae7ff5d6533d140c08e310dc5b7d2cbb0cd7b0601354836040516112c8929190612deb565b60405180910390a150601355600190565b60606004805461072790612f03565b600654600160a01b900460ff1681565b6011546001600160a01b031633146113225760405162461bcd60e51b81526004016107dd906126e1565b601954610100900460ff161561134a5760405162461bcd60e51b81526004016107dd90612afe565b6001600160a01b0381166113705760405162461bcd60e51b81526004016107dd90612cb9565b6010546040517f6bc4fdedd1957cfe13a110158929940440c759893f647a147e8a3dfd3c531dd0916113af916001600160a01b03909116908490612589565b60405180910390a1601080546001600160a01b039092166001600160a01b03199092169190911790556019805461ff001916610100179055565b6060600c8054806020026020016040519081016040528092919081815260200182805480156107a057602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311611423575050505050905090565b600080611455611a37565b6001600160a01b038082166000908152600a60209081526040808320938916835292905220549091508381101561149e5760405162461bcd60e51b81526004016107dd90612d9d565b6114ab8286868403611a3b565b506001949350505050565b6000806114c1611a37565b905061084e818585611aef565b6011546000906001600160a01b031633146114fb5760405162461bcd60e51b81526004016107dd906126e1565b610bb882111561151d5760405162461bcd60e51b81526004016107dd90612888565b7f33111a6fc2c14cc35d93644865b3ded9566a9c0e6ec6cd7d4e07b4d17ba04ad060145483604051611550929190612deb565b60405180910390a150601455600190565b6006546001600160a01b0316331461158b5760405162461bcd60e51b81526004016107dd90612b5b565b6001600160a01b0381166115b15760405162461bcd60e51b81526004016107dd90612727565b600e80546001600160a01b0319166001600160a01b0392909216919091179055565b6011546000906001600160a01b031633146116005760405162461bcd60e51b81526004016107dd906126e1565b60185460ff808216908516106116285760405162461bcd60e51b81526004016107dd90612be9565b610bb883111561164a5760405162461bcd60e51b81526004016107dd90612888565b8260188560ff168154811061166f57634e487b7160e01b600052603260045260246000fd5b90600052602060002001819055507f29c340d68011babd0e45b8048773a42de62c7d73e7628251d056421439bd1d768484604051611048929190612e1d565b600c81815481106116be57600080fd5b6000918252602090912001546001600160a01b0316905081565b6001600160a01b039182166000908152600a6020908152604080832093909416825291909152205490565b60166020526000908152604090205460ff1681565b60075481565b6011546001600160a01b031633146117485760405162461bcd60e51b81526004016107dd906126e1565b6019805460ff191660011790556040517f3407c535a6480fb414a58a6e68477ae52993ed4255ac2f970e91fd0d36c79ec390600090a1565b6001600160a01b03166000908152600b602052604090205460ff1690565b60135481565b6117ac6118f9565b6001600160a01b0381166117d25760405162461bcd60e51b81526004016107dd906127c9565b61083381611e7b565b6006546001600160a01b031633146118055760405162461bcd60e51b81526004016107dd90612b5b565b6001600160a01b0381166000908152600b602052604090205460ff161561182b57610833565b600c546014101561184e5760405162461bcd60e51b81526004016107dd90612d3f565b6001600160a01b0381166000818152600b6020526040808220805460ff19166001908117909155600c8054918201815583527fdf6966c971051c3d54ec59162606531493a51404a002842f56009d7e5cf4a8c70180546001600160a01b03191684179055517fa97aa82b14e9f5eee05f81ff79815563498d3b5d92f4d4b3e3d380f0c0d9eebe9190a250565b60006118e68284612e8d565b9392505050565b60006118e68284612e30565b611901611a37565b6001600160a01b0316611912611236565b6001600160a01b0316146111055760405162461bcd60e51b81526004016107dd90612ac9565b6001600160a01b03821661195e5760405162461bcd60e51b81526004016107dd90612667565b6000811161197e5760405162461bcd60e51b81526004016107dd90612792565b6008546119989061198f90836118da565b600754906118ed565b600755600f546119a890826118ed565b600f556008546119dc906119bd9083906118da565b6001600160a01b038416600090815260096020526040902054906118ed565b6001600160a01b0383166000818152600960205260408082209390935591519091907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90611a2b908590612de2565b60405180910390a35050565b3390565b6001600160a01b038316611a615760405162461bcd60e51b81526004016107dd90612cfb565b6001600160a01b038216611a875760405162461bcd60e51b81526004016107dd9061280f565b6001600160a01b038084166000818152600a602090815260408083209487168084529490915290819020849055517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92590611ae2908590612de2565b60405180910390a3505050565b6001600160a01b038316611b155760405162461bcd60e51b81526004016107dd90612b35565b6001600160a01b038216611b3b5760405162461bcd60e51b81526004016107dd90612b35565b600d546001600160a01b0316611b635760405162461bcd60e51b81526004016107dd90612851565b60195460ff1615611c6b576001600160a01b03831660009081526016602052604081205460ff168015611baf57506001600160a01b03831660009081526015602052604090205460ff16155b80611bf657506001600160a01b03831660009081526016602052604090205460ff168015611bf657506001600160a01b03841660009081526015602052604090205460ff16155b15611c3e57611c03611f8f565b6000611c0d61200c565b90506000611c1a82610dc5565b90508015611c3b57611c38612710611c3286846118da565b90611e6f565b92505b50505b8015611c6957611c4e8282611e63565b600d54909250611c699085906001600160a01b0316836120bb565b505b610ac28383836120bb565b60008184841115611c9a5760405162461bcd60e51b81526004016107dd9190612614565b505050900390565b6001600160a01b03811615801590611cc857506006546001600160a01b03828116911614155b611ce45760405162461bcd60e51b81526004016107dd906129f8565b6040516001600160a01b038216906000907f74da04524d50c64947f5dd5381ef1a4dca5cba8ed1d816243f9e48aa0b5617ed908290a3600680546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b038216611d625760405162461bcd60e51b81526004016107dd90612c33565b6001600160a01b038216600090815260096020526040902054600854611d899083906118da565b811015611da85760405162461bcd60e51b81526004016107dd90612750565b611ddf611dc0600854846118da90919063ffffffff16565b6001600160a01b03851660009081526009602052604090205490611e63565b6001600160a01b038416600090815260096020526040902055600854611e1290611e0990846118da565b60075490611e63565b600755600f54611e229083611e63565b600f556040516000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90611ae2908690612de2565b60006118e68284612eac565b60006118e68284612e6d565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6000821580611ee15750611edf610d23565b155b15611eef5750600f54610854565b82600f5411611f105760405162461bcd60e51b81526004016107dd90612b9f565b6000611f1a612223565b90508215611f3757600f54611f2f9085611e63565b600f55611f48565b600f54611f4490856118ed565b600f555b600f546001600160801b031015611f65576001600160801b03600f555b600f54600754611f7491611e6f565b60085542601255611f8481612321565b5050600f5492915050565b601060009054906101000a90046001600160a01b03166001600160a01b031663a2e620456040518163ffffffff1660e01b8152600401600060405180830381600087803b158015611fdf57600080fd5b505af1925050508015611ff0575060015b6111055760405162461bcd60e51b81526004016107dd90612a7c565b601054604051633ddac95360e01b81526000916001600160a01b031690633ddac95390612047903090670de0b6b3a7640000906004016125a3565b60206040518083038186803b15801561205f57600080fd5b505afa92505050801561208f575060408051601f3d908101601f1916820190925261208c918101906124e0565b60015b6120ab5760405162461bcd60e51b81526004016107dd9061293c565b6001600160901b031690506107a8565b6001600160a01b0383166120e15760405162461bcd60e51b81526004016107dd90612c74565b6001600160a01b0382166121075760405162461bcd60e51b81526004016107dd90612667565b612112838383610ac2565b6000612129600854836118da90919063ffffffff16565b6001600160a01b038516600090815260096020526040902054909150818110156121655760405162461bcd60e51b81526004016107dd906128bf565b6001600160a01b0385166000908152600960205260409020546121889083611e63565b6001600160a01b0380871660009081526009602052604080822093909355908616815220546121b790836118ed565b6001600160a01b0380861660008181526009602052604090819020939093559151908716907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90612209908790612de2565b60405180910390a361221c858585610ac2565b5050505050565b600c546060908067ffffffffffffffff81111561225057634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015612279578160200160208202803683370190505b50915060005b8181101561231c576000600c82815481106122aa57634e487b7160e01b600052603260045260246000fd5b60009182526020822001546001600160a01b031691506122c9826110b9565b9050808584815181106122ec57634e487b7160e01b600052603260045260246000fd5b60209081029190910101528015612307576123078282611d3c565b5050808061231490612f3e565b91505061227f565b505090565b600c5460005b81811015610ac257600083828151811061235157634e487b7160e01b600052603260045260246000fd5b602002602001015111156123ce576123ce600c828154811061238357634e487b7160e01b600052603260045260246000fd5b9060005260206000200160009054906101000a90046001600160a01b03168483815181106123c157634e487b7160e01b600052603260045260246000fd5b6020026020010151611938565b806123d881612f3e565b915050612327565b80356001600160a01b038116811461071357600080fd5b8035801515811461071357600080fd5b600060208284031215612418578081fd5b6118e6826123e0565b60008060408385031215612433578081fd5b61243c836123e0565b915061244a602084016123e0565b90509250929050565b600080600060608486031215612467578081fd5b612470846123e0565b925061247e602085016123e0565b9150604084013590509250925092565b600080604083850312156124a0578182fd5b6124a9836123e0565b915061244a602084016123f7565b600080604083850312156124c9578182fd5b6124d2836123e0565b946020939093013593505050565b6000602082840312156124f1578081fd5b81516001600160901b03811681146118e6578182fd5b600060208284031215612518578081fd5b5035919050565b600080600060608486031215612533578283fd5b833592506020840135915061254a604085016123f7565b90509250925092565b60008060408385031215612565578182fd5b823560ff811681146124d2578283fd5b6001600160a01b0391909116815260200190565b6001600160a01b0392831681529116602082015260400190565b6001600160a01b03929092168252602082015260400190565b6020808252825182820181905260009190848201906040850190845b818110156125fd5783516001600160a01b0316835292840192918401916001016125d8565b50909695505050505050565b901515815260200190565b6000602080835283518082850152825b8181101561264057858101830151858201604001528201612624565b818111156126515783604083870101525b50601f01601f1916929092016040019392505050565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60208082526018908201527f6f6e6c792063616e2064697374726962757465206f6e63650000000000000000604082015260600190565b60208082526026908201527f7461784f66666963653a2063616c6c6572206973206e6f7420746865207461786040820152654f666669636560d01b606082015260800190565b6020808252600f908201526e496e76616c6964206164647265737360881b604082015260600190565b60208082526022908201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604082015261636560f01b606082015260800190565b6020808252601a908201527f45524332303a2043616e2774206d696e74203020746f6b656e73000000000000604082015260600190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b60208082526022908201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604082015261737360f01b606082015260800190565b6020808252601e908201527f7265717569726520746f207365742064616f46756e6420616464726573730000604082015260600190565b6020808252601a908201527f54617820657175616c206f722062696767657220746f20333025000000000000604082015260600190565b60208082526026908201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604082015265616c616e636560d01b606082015260800190565b60208082526019908201527f416464726573732063616e2774206265206578636c7564656400000000000000604082015260600190565b6020808252602e908201527f4572726f723a204661696c656420746f20666574636820746f6b656e2070726960408201526d63652066726f6d204f7261636c6560901b606082015260800190565b60208082526019908201527f416464726573732063616e277420626520696e636c7564656400000000000000604082015260600190565b6020808252601f908201527f4163636f756e74206973206e6f7420616c7265616479206578636c7564656400604082015260600190565b6020808252602d908201527f6f70657261746f723a207a65726f206164647265737320676976656e20666f7260408201526c103732bb9037b832b930ba37b960991b606082015260800190565b6020808252601b908201527f54696d6520657175616c206f722062696767657220746f203234680000000000604082015260600190565b6020808252602d908201527f4572726f723a206661696c656420746f2075706461746520707269636520667260408201526c6f6d20746865206f7261636c6560981b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252601c908201527f4f6e6c792063616e20736574546f6b656e4f7261636c65206f6e636500000000604082015260600190565b6020808252600c908201526b7a65726f206164647265737360a01b604082015260600190565b60208082526024908201527f6f70657261746f723a2063616c6c6572206973206e6f7420746865206f70657260408201526330ba37b960e11b606082015260800190565b6020808252602a908201527f537570706c7944656c7461206d757374206265206c6f776572207468616e20746040820152696f74616c537570706c7960b01b606082015260800190565b6020808252602a908201527f496e6465782068617320746f206c6f776572207468616e20636f756e74206f666040820152692074617820746965727360b01b606082015260800190565b60208082526021908201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736040820152607360f81b606082015260800190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526022908201527f4f7261636c6520616464726573732063616e6e6f742062652030206164647265604082015261737360f01b606082015260800190565b60208082526024908201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646040820152637265737360e01b606082015260800190565b6020808252601a908201527f546f6f206d616e79206578636c75646564206163636f756e7473000000000000604082015260600190565b6020808252600d908201526c0857d9d95b995cda5cd41bdbdb609a1b604082015260600190565b60208082526025908201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604082015264207a65726f60d81b606082015260800190565b90815260200190565b918252602082015260400190565b9283526020830191909152604082015260600190565b60ff91909116815260200190565b60ff929092168252602082015260400190565b60008219821115612e4357612e43612f59565b500190565b600060ff821660ff84168060ff03821115612e6557612e65612f59565b019392505050565b600082612e8857634e487b7160e01b81526012600452602481fd5b500490565b6000816000190483118215151615612ea757612ea7612f59565b500290565b600082821015612ebe57612ebe612f59565b500390565b600060ff821660ff841680821015612edd57612edd612f59565b90039392505050565b600060ff821680612ef957612ef9612f59565b6000190192915050565b600281046001821680612f1757607f821691505b60208210811415612f3857634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415612f5257612f52612f59565b5060010190565b634e487b7160e01b600052601160045260246000fdfe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a264697066735822122059fdeda6ab716f0a4ab00d7e5782a7ac5653c2f3608336320fd72b1414ce064264736f6c63430008010033
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.