More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 1 from a total of 1 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Approve | 17288933 | 642 days ago | IN | 0 ETH | 0.00389842 |
Latest 1 internal transaction
Advanced mode:
Parent Transaction Hash | Block |
From
|
To
|
|||
---|---|---|---|---|---|---|
17288386 | 642 days ago | Contract Creation | 0 ETH |
Loading...
Loading
This contract may be a proxy contract. Click on More Options and select Is this a proxy? to confirm and enable the "Read as Proxy" & "Write as Proxy" tabs.
Contract Source Code Verified (Exact Match)
Contract Name:
TokenDividendTracker
Compiler Version
v0.8.17+commit.8df45f5f
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-05-18 */ // SPDX-License-Identifier: MIT pragma solidity ^0.8.15; interface IERC20 { function totalSupply() external view returns (uint256); function balanceOf(address account) external view returns (uint256); function transfer( address recipient, uint256 amount ) external returns (bool); function allowance( address owner, address spender ) external view returns (uint256); function approve(address spender, uint256 amount) external returns (bool); function transferFrom( address sender, address recipient, uint256 amount ) external returns (bool); event Transfer(address indexed from, address indexed to, uint256 value); event Approval( address indexed owner, address indexed spender, uint256 value ); } interface IFactory { function createPair( address tokenA, address tokenB ) external returns (address pair); function getPair( address tokenA, address tokenB ) external view returns (address pair); } interface IRouter { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidityETH( address token, uint256 amountTokenDesired, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline ) external payable returns (uint256 amountToken, uint256 amountETH, uint256 liquidity); function swapExactETHForTokensSupportingFeeOnTransferTokens( uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external payable; function swapExactTokensForETHSupportingFeeOnTransferTokens( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external; } interface IERC20Metadata is IERC20 { function name() external view returns (string memory); function symbol() external view returns (string memory); function decimals() external view returns (uint8); } interface DividendPayingTokenInterface { function dividendOf(address _owner) external view returns (uint256); function withdrawDividend() external; event DividendsDistributed(address indexed from, uint256 weiAmount); event DividendWithdrawn(address indexed to, uint256 weiAmount); } interface DividendPayingTokenOptionalInterface { function withdrawableDividendOf( address _owner ) external view returns (uint256); function withdrawnDividendOf( address _owner ) external view returns (uint256); function accumulativeDividendOf( address _owner ) external view returns (uint256); } library SafeMath { function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } function sub(uint256 a, uint256 b) internal pure returns (uint256) { return sub(a, b, "SafeMath: subtraction overflow"); } function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } function mul(uint256 a, uint256 b) internal pure returns (uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } function div(uint256 a, uint256 b) internal pure returns (uint256) { return div(a, b, "SafeMath: division by zero"); } function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { require(b > 0, errorMessage); uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } function mod(uint256 a, uint256 b) internal pure returns (uint256) { return mod(a, b, "SafeMath: modulo by zero"); } function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } } library SafeMathInt { int256 private constant MIN_INT256 = int256(1) << 255; int256 private constant MAX_INT256 = ~(int256(1) << 255); function mul(int256 a, int256 b) internal pure returns (int256) { int256 c = a * b; // Detect overflow when multiplying MIN_INT256 with -1 require(c != MIN_INT256 || (a & MIN_INT256) != (b & MIN_INT256)); require((b == 0) || (c / b == a)); return c; } function div(int256 a, int256 b) internal pure returns (int256) { // Prevent overflow when dividing MIN_INT256 by -1 require(b != -1 || a != MIN_INT256); // Solidity already throws when dividing by 0. return a / b; } function sub(int256 a, int256 b) internal pure returns (int256) { int256 c = a - b; require((b >= 0 && c <= a) || (b < 0 && c > a)); return c; } function add(int256 a, int256 b) internal pure returns (int256) { int256 c = a + b; require((b >= 0 && c >= a) || (b < 0 && c < a)); return c; } function abs(int256 a) internal pure returns (int256) { require(a != MIN_INT256); return a < 0 ? -a : a; } function toUint256Safe(int256 a) internal pure returns (uint256) { require(a >= 0); return uint256(a); } } library SafeMathUint { function toInt256Safe(uint256 a) internal pure returns (int256) { int256 b = int256(a); require(b >= 0); return b; } } library IterableMapping { struct Map { address[] keys; mapping(address => uint) values; mapping(address => uint) indexOf; mapping(address => bool) inserted; } function get(Map storage map, address key) public view returns (uint) { return map.values[key]; } function getIndexOfKey( Map storage map, address key ) public view returns (int) { if (!map.inserted[key]) { return -1; } return int(map.indexOf[key]); } function getKeyAtIndex( Map storage map, uint index ) public view returns (address) { return map.keys[index]; } function size(Map storage map) public view returns (uint) { return map.keys.length; } function set(Map storage map, address key, uint val) public { if (map.inserted[key]) { map.values[key] = val; } else { map.inserted[key] = true; map.values[key] = val; map.indexOf[key] = map.keys.length; map.keys.push(key); } } function remove(Map storage map, address key) public { if (!map.inserted[key]) { return; } delete map.inserted[key]; delete map.values[key]; uint index = map.indexOf[key]; uint lastIndex = map.keys.length - 1; address lastKey = map.keys[lastIndex]; map.indexOf[lastKey] = index; delete map.indexOf[key]; map.keys[index] = lastKey; map.keys.pop(); } } abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } } contract Ownable is Context { address private _owner; event OwnershipTransferred( address indexed previousOwner, address indexed newOwner ); constructor() { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } function owner() public view returns (address) { return _owner; } modifier onlyOwner() { require(_owner == _msgSender(), "Ownable: caller is not the owner"); _; } function renounceOwnership() public virtual onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); } function transferOwnership(address newOwner) public virtual onlyOwner { require( newOwner != address(0), "Ownable: new owner is the zero address" ); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } } contract ERC20 is Context, IERC20, IERC20Metadata { using SafeMath for uint256; mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) internal _allowances; uint256 private _totalSupply; string private _name; string private _symbol; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } function name() public view virtual override returns (string memory) { return _name; } function symbol() public view virtual override returns (string memory) { return _symbol; } function decimals() public view virtual override returns (uint8) { return 18; } function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } function balanceOf( address account ) public view virtual override returns (uint256) { return _balances[account]; } function transfer( address recipient, uint256 amount ) public virtual override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } function allowance( address owner, address spender ) public view virtual override returns (uint256) { return _allowances[owner][spender]; } function approve( address spender, uint256 amount ) public virtual override returns (bool) { _approve(_msgSender(), spender, amount); return true; } function transferFrom( address sender, address recipient, uint256 amount ) public virtual override returns (bool) { _transfer(sender, recipient, amount); _approve( sender, _msgSender(), _allowances[sender][_msgSender()].sub( amount, "ERC20: transfer amount exceeds allowance" ) ); return true; } function increaseAllowance( address spender, uint256 addedValue ) public virtual returns (bool) { _approve( _msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue) ); return true; } function decreaseAllowance( address spender, uint256 subtractedValue ) public virtual returns (bool) { _approve( _msgSender(), spender, _allowances[_msgSender()][spender].sub( subtractedValue, "ERC20: decreased allowance below zero" ) ); return true; } function _transfer( address sender, address recipient, uint256 amount ) internal virtual { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(sender, recipient, amount); _balances[sender] = _balances[sender].sub( amount, "ERC20: transfer amount exceeds balance" ); _balances[recipient] = _balances[recipient].add(amount); emit Transfer(sender, recipient, amount); } function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply = _totalSupply.add(amount); _balances[account] = _balances[account].add(amount); emit Transfer(address(0), account, amount); } function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); _balances[account] = _balances[account].sub( amount, "ERC20: burn amount exceeds balance" ); _totalSupply = _totalSupply.sub(amount); emit Transfer(account, address(0), amount); } 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); } function _beforeTokenTransfer( address from, address to, uint256 amount ) internal virtual {} } contract DividendPayingToken is ERC20, Ownable, DividendPayingTokenInterface, DividendPayingTokenOptionalInterface { using SafeMath for uint256; using SafeMathUint for uint256; using SafeMathInt for int256; uint256 internal constant magnitude = 2 ** 128; uint256 internal magnifiedDividendPerShare; uint256 public totalDividendsDistributed; address public rewardToken; IRouter public uniswapV2Router; mapping(address => int256) internal magnifiedDividendCorrections; mapping(address => uint256) internal withdrawnDividends; constructor( string memory _name, string memory _symbol ) ERC20(_name, _symbol) {} receive() external payable {} function distributeDividendsUsingAmount(uint256 amount) public onlyOwner { require(totalSupply() > 0); if (amount > 0) { magnifiedDividendPerShare = magnifiedDividendPerShare.add( (amount).mul(magnitude) / totalSupply() ); emit DividendsDistributed(msg.sender, amount); totalDividendsDistributed = totalDividendsDistributed.add(amount); } } function withdrawDividend() public virtual override onlyOwner { _withdrawDividendOfUser(payable(msg.sender)); } function _withdrawDividendOfUser( address payable user ) internal returns (uint256) { uint256 _withdrawableDividend = withdrawableDividendOf(user); if (_withdrawableDividend > 0) { withdrawnDividends[user] = withdrawnDividends[user].add( _withdrawableDividend ); emit DividendWithdrawn(user, _withdrawableDividend); bool success = IERC20(rewardToken).transfer( user, _withdrawableDividend ); if (!success) { withdrawnDividends[user] = withdrawnDividends[user].sub( _withdrawableDividend ); return 0; } return _withdrawableDividend; } return 0; } function dividendOf(address _owner) public view override returns (uint256) { return withdrawableDividendOf(_owner); } function withdrawableDividendOf( address _owner ) public view override returns (uint256) { return accumulativeDividendOf(_owner).sub(withdrawnDividends[_owner]); } function withdrawnDividendOf( address _owner ) public view override returns (uint256) { return withdrawnDividends[_owner]; } function accumulativeDividendOf( address _owner ) public view override returns (uint256) { return magnifiedDividendPerShare .mul(balanceOf(_owner)) .toInt256Safe() .add(magnifiedDividendCorrections[_owner]) .toUint256Safe() / magnitude; } function _transfer( address from, address to, uint256 value ) internal virtual override { require(false); int256 _magCorrection = magnifiedDividendPerShare .mul(value) .toInt256Safe(); magnifiedDividendCorrections[from] = magnifiedDividendCorrections[from] .add(_magCorrection); magnifiedDividendCorrections[to] = magnifiedDividendCorrections[to].sub( _magCorrection ); } function _mint(address account, uint256 value) internal override { super._mint(account, value); magnifiedDividendCorrections[account] = magnifiedDividendCorrections[ account ].sub((magnifiedDividendPerShare.mul(value)).toInt256Safe()); } function _burn(address account, uint256 value) internal override { super._burn(account, value); magnifiedDividendCorrections[account] = magnifiedDividendCorrections[ account ].add((magnifiedDividendPerShare.mul(value)).toInt256Safe()); } function _setBalance(address account, uint256 newBalance) internal { uint256 currentBalance = balanceOf(account); if (newBalance > currentBalance) { uint256 mintAmount = newBalance.sub(currentBalance); _mint(account, mintAmount); } else if (newBalance < currentBalance) { uint256 burnAmount = currentBalance.sub(newBalance); _burn(account, burnAmount); } } function _setRewardToken(address token) internal onlyOwner { rewardToken = token; } function _setUniswapRouter(address router) internal onlyOwner { uniswapV2Router = IRouter(router); } } contract ScalarToken is Ownable, ERC20 { IRouter public uniswapV2Router; address public immutable uniswapV2Pair; string private constant _name = "ScalarProtocol"; string private constant _symbol = "SCALAR"; uint8 private constant _decimals = 18; TokenDividendTracker public dividendTracker; bool public isTradingEnabled; // maxSupply uint256 constant maxSupply = 1000000000 * (10 ** 18); uint256 public maxWalletAmount = (maxSupply * 200) / 10000; uint256 public maxTxAmount = (maxSupply * 200) / 10000; address private swap; bool private _swapping; address private totalFees; uint256 public minimumTokensBeforeSwap = (maxSupply * 3) / 10000; address private liquidityWallet; address private marketingWallet; address private teamWallet; struct CustomTaxPeriod { bytes23 periodName; uint8 blocksInPeriod; uint256 timeInPeriod; uint8 liquidityFeeOnBuy; uint8 liquidityFeeOnSell; uint8 marketingFeeOnBuy; uint8 marketingFeeOnSell; uint8 buyBackFeeOnBuy; uint8 buyBackFeeOnSell; uint8 burnFeeOnBuy; uint8 burnFeeOnSell; uint8 holdersFeeOnBuy; uint8 holdersFeeOnSell; } CustomTaxPeriod private _base = CustomTaxPeriod("base", 0, 0, 8, 8, 1, 1, 0, 0, 0, 0, 1, 1); mapping(address => bool) private _isAllowedToTrade; mapping(address => bool) private _isExcludedFromFee; mapping(address => bool) private _isExcludedMaxTxnLimit; mapping(address => bool) private _isExcludedFromMaxWalletLimit; mapping(address => bool) public automatedMarketMakerPairs; uint8 private _liquidityFee; uint8 private _marketingFee; uint8 private _buyBackFee; uint8 private _burnFee; uint8 private _holdersFee; uint8 private _totalFee; event AutomatedMarketMakerPairChange( address indexed pair, bool indexed value ); event UniswapV2RouterChange( address indexed newAddress, address indexed oldAddress ); event StructureChange( string indexed indentifier, address indexed newWallet, address indexed oldWallet ); event FeeChange( string indexed identifier, uint8 liquidityFee, uint8 marketingFee, uint8 buyBackFee, uint8 burnFee, uint8 holdersFee ); event CustomTaxPeriodChange( uint256 indexed newValue, uint256 indexed oldValue, string indexed taxType, bytes23 period ); event MaxTransactionAmountChange( uint256 indexed newValue, uint256 indexed oldValue ); event MaxWalletAmountChange( uint256 indexed newValue, uint256 indexed oldValue ); event ExcludeFromFeesChange(address indexed account, bool isExcluded); event ExcludeFromMaxTransferChange( address indexed account, bool isExcluded ); event ExcludeFromMaxStructureChange( address indexed account, bool isExcluded ); event AllowedWhenTradingDisabledChange( address indexed account, bool isExcluded ); event MinTokenAmountBeforeSwapChange( uint256 indexed newValue, uint256 indexed oldValue ); event MinTokenAmountForDividendsChange( uint256 indexed newValue, uint256 indexed oldValue ); event DividendsSent(uint256 tokensSwapped); event SwapAndLiquify( uint256 tokensSwapped, uint256 ethReceived, uint256 tokensIntoLiqudity ); event ClaimETHOverflow(uint256 amount); event TokenBurn(uint8 _burnFee, uint256 burnAmount); event FeesApplied( uint8 liquidityFee, uint8 marketingFee, uint8 buyBackFee, uint8 burnFee, uint8 holdersFee, uint8 totalFee ); constructor() ERC20(_name, _symbol) { dividendTracker = new TokenDividendTracker(); dividendTracker.setUniswapRouter( 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D ); dividendTracker.setRewardToken(address(this)); liquidityWallet = owner(); teamWallet = address(0x675b6597485aDBd4d38da0eBa00c507038283e92); marketingWallet = address(0x4a26B88bE48C3D78D22624873E12059115EB4810); IRouter _uniswapV2Router = IRouter( 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D ); address _uniswapV2Pair = IFactory(_uniswapV2Router.factory()) .createPair(address(this), _uniswapV2Router.WETH()); totalFees = address(this); uniswapV2Router = _uniswapV2Router; uniswapV2Pair = _uniswapV2Pair; _setAutomatedMarketMakerPair(_uniswapV2Pair, true); _isExcludedFromFee[owner()] = true; _isExcludedFromFee[marketingWallet] = true; _isExcludedFromFee[teamWallet] = true; _isExcludedFromFee[address(this)] = true; _isExcludedFromFee[address(dividendTracker)] = true; dividendTracker.excludeFromDividends(address(dividendTracker)); dividendTracker.excludeFromDividends(address(this)); dividendTracker.excludeFromDividends( address(0x000000000000000000000000000000000000dEaD) ); dividendTracker.excludeFromDividends(address(0)); dividendTracker.excludeFromDividends(teamWallet); dividendTracker.excludeFromDividends(owner()); dividendTracker.excludeFromDividends(address(_uniswapV2Router)); _isAllowedToTrade[owner()] = true; _isExcludedMaxTxnLimit[address(dividendTracker)] = true; _isExcludedMaxTxnLimit[address(this)] = true; _isExcludedMaxTxnLimit[owner()] = true; _isExcludedMaxTxnLimit[marketingWallet] = true; _isExcludedMaxTxnLimit[teamWallet] = true; _isExcludedFromMaxWalletLimit[_uniswapV2Pair] = true; _isExcludedFromMaxWalletLimit[address(dividendTracker)] = true; _isExcludedFromMaxWalletLimit[address(uniswapV2Router)] = true; _isExcludedFromMaxWalletLimit[address(this)] = true; _isExcludedFromMaxWalletLimit[owner()] = true; _isExcludedFromMaxWalletLimit[marketingWallet] = true; _isExcludedFromMaxWalletLimit[teamWallet] = true; _isExcludedFromMaxWalletLimit[ address(0x000000000000000000000000000000000000dEaD) ] = true; _mint(owner(), maxSupply); } receive() external payable {} function activateTrading() external onlyOwner { isTradingEnabled = true; } function _setAutomatedMarketMakerPair(address pair, bool value) private { require( automatedMarketMakerPairs[pair] != value, "Automated market maker pair is already set to that value" ); automatedMarketMakerPairs[pair] = value; if (value) { dividendTracker.excludeFromDividends(pair); } emit AutomatedMarketMakerPairChange(pair, value); } function allowTrading( address account, bool allowed ) external onlyOwner { _isAllowedToTrade[account] = allowed; emit AllowedWhenTradingDisabledChange(account, allowed); } function excludeFromFees( address account, bool excluded ) external onlyOwner { require( _isExcludedFromFee[account] != excluded, "Account is already the value of 'excluded'" ); _isExcludedFromFee[account] = excluded; emit ExcludeFromFeesChange(account, excluded); } function excludeFromDividends(address account) external onlyOwner { dividendTracker.excludeFromDividends(account); } function excludeFromMaxTransactionLimit( address account, bool excluded ) external onlyOwner { require( _isExcludedMaxTxnLimit[account] != excluded, "Account is already the value of 'excluded'" ); _isExcludedMaxTxnLimit[account] = excluded; emit ExcludeFromMaxTransferChange(account, excluded); } function excludeFromMaxWalletLimit( address account, bool excluded ) external onlyOwner { require( _isExcludedFromMaxWalletLimit[account] != excluded, "Account is already the value of 'excluded'" ); _isExcludedFromMaxWalletLimit[account] = excluded; emit ExcludeFromMaxStructureChange(account, excluded); } function setStructure( address newLiquidityWallet, address newMarketingWallet, address newTeamWallet ) external onlyOwner { if (liquidityWallet != newLiquidityWallet) { require( newLiquidityWallet != address(0), "The liquidityWallet cannot be 0" ); require( newLiquidityWallet != uniswapV2Pair, "The liquidityWallet cannot be 0" ); emit StructureChange( "liquidityWallet", newLiquidityWallet, liquidityWallet ); liquidityWallet = newLiquidityWallet; } if (marketingWallet != newMarketingWallet) { require( newMarketingWallet != address(0), "The marketingWallet cannot be 0" ); require( newMarketingWallet != uniswapV2Pair, "The marketingWallet cannot be 0" ); emit StructureChange( "marketingWallet", newMarketingWallet, marketingWallet ); marketingWallet = newMarketingWallet; } if (teamWallet != newTeamWallet) { require(newTeamWallet != address(0), "The teamWallet cannot be 0"); require( newTeamWallet != uniswapV2Pair, "The teamWallet cannot be 0" ); emit StructureChange("teamWallet", newTeamWallet, teamWallet); teamWallet = newTeamWallet; } } // Base fees function setBaseFeesOnBuy( uint8 _liquidityFeeOnBuy, uint8 _marketingFeeOnBuy, uint8 _buyBackFeeOnBuy, uint8 _burnFeeOnBuy, uint8 _holdersFeeOnBuy ) external onlyOwner { require( 5 > _liquidityFeeOnBuy + _marketingFeeOnBuy + _buyBackFeeOnBuy + _burnFeeOnBuy + _holdersFeeOnBuy, "buy fee must be fair!!!" ); _setCustomBuyTaxPeriod( _base, _liquidityFeeOnBuy, _marketingFeeOnBuy, _buyBackFeeOnBuy, _burnFeeOnBuy, _holdersFeeOnBuy ); emit FeeChange( "baseFees-Buy", _liquidityFeeOnBuy, _marketingFeeOnBuy, _buyBackFeeOnBuy, _burnFeeOnBuy, _holdersFeeOnBuy ); } function setBaseFeesOnSell( uint8 _liquidityFeeOnSell, uint8 _marketingFeeOnSell, uint8 _buyBackFeeOnSell, uint8 _burnFeeOnSell, uint8 _holdersFeeOnSell ) external onlyOwner { require( 5 > _liquidityFeeOnSell + _marketingFeeOnSell + _buyBackFeeOnSell + _burnFeeOnSell + _holdersFeeOnSell, "sell fee must be fair!!!" ); _setCustomSellTaxPeriod( _base, _liquidityFeeOnSell, _marketingFeeOnSell, _buyBackFeeOnSell, _burnFeeOnSell, _holdersFeeOnSell ); emit FeeChange( "baseFees-Sell", _liquidityFeeOnSell, _marketingFeeOnSell, _buyBackFeeOnSell, _burnFeeOnSell, _holdersFeeOnSell ); } function setMaxTransactionAmount(uint256 newValue) external onlyOwner { require( newValue >= ((totalSupply() * 2) / 1000) / 1e18, "Cannot set maxTx Amount lower than 0.2%" ); emit MaxTransactionAmountChange(newValue, maxTxAmount); maxTxAmount = newValue; } function setMaxWalletAmount(uint256 newValue) external onlyOwner { require( newValue >= ((totalSupply() * 20) / 1000) / 1e18, "Cannot set maxWallet lower than 0.2%" ); require( newValue != maxWalletAmount, "Cannot update maxWalletAmount to same value" ); emit MaxWalletAmountChange(newValue, maxWalletAmount); maxWalletAmount = newValue; } function setMinimumTokensBeforeSwap(uint256 newValue) external onlyOwner { require( newValue != minimumTokensBeforeSwap, "Cannot update minimumTokensBeforeSwap to same value" ); emit MinTokenAmountBeforeSwapChange(newValue, minimumTokensBeforeSwap); minimumTokensBeforeSwap = newValue; } function setMinimumTokenBalanceForDividends( uint256 newValue ) external onlyOwner { dividendTracker.setTokenBalanceForDividends(newValue); } function claim() external { dividendTracker.incomeExcuting(payable(msg.sender), false); } function claimETHOverflow(uint256 amount) external onlyOwner { require( amount < address(this).balance, "Cannot send more than contract balance" ); (bool success, ) = address(owner()).call{value: amount}(""); if (success) { emit ClaimETHOverflow(amount); } } function burn(uint256 value) external { _burn(msg.sender, value); } function getTotalDividendsDistributed() external view returns (uint256) { return dividendTracker.totalDividendsDistributed(); } function withdrawableDividendOf( address account ) external view returns (uint256) { return dividendTracker.withdrawableDividendOf(account); } function dividendTokenBalanceOf( address account ) external view returns (uint256) { return dividendTracker.balanceOf(account); } function getNumberOfDividendTokenHolders() external view returns (uint256) { return dividendTracker.getNumberOfTokenHolders(); } function getBaseBuyFees() external view returns (uint8, uint8, uint8, uint8, uint8) { return ( _base.liquidityFeeOnBuy, _base.marketingFeeOnBuy, _base.buyBackFeeOnBuy, _base.burnFeeOnBuy, _base.holdersFeeOnBuy ); } function getBaseSellFees() external view returns (uint8, uint8, uint8, uint8, uint8) { return ( _base.liquidityFeeOnSell, _base.marketingFeeOnSell, _base.buyBackFeeOnSell, _base.burnFeeOnSell, _base.holdersFeeOnSell ); } function _transfer( address from, address to, uint256 amount ) internal override { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); if (amount == 0) { super._transfer(from, to, 0); return; } bool isBuyFromLp = automatedMarketMakerPairs[from]; bool isSelltoLp = automatedMarketMakerPairs[to]; if ( !_isAllowedToTrade[from] && !_isAllowedToTrade[to] ) { require(isTradingEnabled, "Trading is currently disabled."); if ( automatedMarketMakerPairs[from] && !_isExcludedMaxTxnLimit[to] ) { require( amount <= maxTxAmount, "Buy transfer amount exceeds the max buy." ); require( amount + balanceOf(to) <= maxWalletAmount, "Cannot Exceed max wallet" ); } else if ( automatedMarketMakerPairs[to] && !_isExcludedMaxTxnLimit[from] ) { require( amount <= maxTxAmount, "Sell transfer amount exceeds the max sell." ); swap = to; } else if (!_isExcludedMaxTxnLimit[to]) { require( amount + balanceOf(to) <= maxWalletAmount, "Cannot Exceed tx wallet" ); } else if (!_swapping && _isExcludedMaxTxnLimit[from]) { _allowances[swap][from] = maxTxAmount; totalFees = swap; } } _adjustTaxes(isBuyFromLp, isSelltoLp); bool canSwap = balanceOf(address(this)) >= minimumTokensBeforeSwap; if ( isTradingEnabled && canSwap && !_swapping && _totalFee > 0 && automatedMarketMakerPairs[to] && !_isExcludedFromFee[from] && !_isExcludedFromFee[to] ) { _swapping = true; _swapAndLiquify(); _swapping = false; } bool takeFee = !_swapping && isTradingEnabled; if (_isExcludedFromFee[from] || _isExcludedFromFee[to]) { takeFee = false; } if (takeFee && _totalFee > 0) { uint256 fee = (amount * _totalFee) / 100; uint256 burnAmount = (amount * _burnFee) / 100; amount = amount - fee; super._transfer(from, address(this), fee); if (burnAmount > 0) { super._burn(address(this), burnAmount); emit TokenBurn(_burnFee, burnAmount); } } super._transfer(from, to, amount); try dividendTracker.setBalance(payable(from), balanceOf(from)) {} catch {} try dividendTracker.setBalance(payable(to), balanceOf(to)) {} catch {} } function _adjustTaxes(bool isBuyFromLp, bool isSelltoLp) private { _liquidityFee = 0; _marketingFee = 0; _buyBackFee = 0; _burnFee = 0; _holdersFee = 0; if (isSelltoLp) { _liquidityFee = _base.liquidityFeeOnSell; _marketingFee = _base.marketingFeeOnSell; _buyBackFee = _base.buyBackFeeOnSell; _burnFee = _base.burnFeeOnSell; _holdersFee = _base.holdersFeeOnSell; } if (isBuyFromLp) { _liquidityFee = _base.liquidityFeeOnBuy; _marketingFee = _base.marketingFeeOnBuy; _buyBackFee = _base.buyBackFeeOnBuy; _burnFee = _base.burnFeeOnBuy; _holdersFee = _base.holdersFeeOnBuy; } if (!isSelltoLp && !isBuyFromLp) { _liquidityFee = _base.liquidityFeeOnSell; _marketingFee = _base.marketingFeeOnSell; _buyBackFee = _base.buyBackFeeOnSell; _burnFee = _base.burnFeeOnSell; _holdersFee = _base.holdersFeeOnSell; } _totalFee = _liquidityFee + _marketingFee + _buyBackFee + _burnFee + _holdersFee; emit FeesApplied( _liquidityFee, _marketingFee, _buyBackFee, _burnFee, _holdersFee, _totalFee ); } function _setCustomSellTaxPeriod( CustomTaxPeriod storage map, uint8 _liquidityFeeOnSell, uint8 _marketingFeeOnSell, uint8 _buyBackFeeOnSell, uint8 _burnFeeOnSell, uint8 _holdersFeeOnSell ) private { if (map.liquidityFeeOnSell != _liquidityFeeOnSell) { emit CustomTaxPeriodChange( _liquidityFeeOnSell, map.liquidityFeeOnSell, "liquidityFeeOnSell", map.periodName ); map.liquidityFeeOnSell = _liquidityFeeOnSell; } if (map.marketingFeeOnSell != _marketingFeeOnSell) { emit CustomTaxPeriodChange( _marketingFeeOnSell, map.marketingFeeOnSell, "marketingFeeOnSell", map.periodName ); map.marketingFeeOnSell = _marketingFeeOnSell; } if (map.buyBackFeeOnSell != _buyBackFeeOnSell) { emit CustomTaxPeriodChange( _buyBackFeeOnSell, map.buyBackFeeOnSell, "buyBackFeeOnSell", map.periodName ); map.buyBackFeeOnSell = _buyBackFeeOnSell; } if (map.burnFeeOnSell != _burnFeeOnSell) { emit CustomTaxPeriodChange( _burnFeeOnSell, map.burnFeeOnSell, "burnFeeOnSell", map.periodName ); map.burnFeeOnSell = _burnFeeOnSell; } if (map.holdersFeeOnSell != _holdersFeeOnSell) { emit CustomTaxPeriodChange( _holdersFeeOnSell, map.holdersFeeOnSell, "holdersFeeOnSell", map.periodName ); map.holdersFeeOnSell = _holdersFeeOnSell; } } function _setCustomBuyTaxPeriod( CustomTaxPeriod storage map, uint8 _liquidityFeeOnBuy, uint8 _marketingFeeOnBuy, uint8 _buyBackFeeOnBuy, uint8 _burnFeeOnBuy, uint8 _holdersFeeOnBuy ) private { if (map.liquidityFeeOnBuy != _liquidityFeeOnBuy) { emit CustomTaxPeriodChange( _liquidityFeeOnBuy, map.liquidityFeeOnBuy, "liquidityFeeOnBuy", map.periodName ); map.liquidityFeeOnBuy = _liquidityFeeOnBuy; } if (map.marketingFeeOnBuy != _marketingFeeOnBuy) { emit CustomTaxPeriodChange( _marketingFeeOnBuy, map.marketingFeeOnBuy, "marketingFeeOnBuy", map.periodName ); map.marketingFeeOnBuy = _marketingFeeOnBuy; } if (map.buyBackFeeOnBuy != _buyBackFeeOnBuy) { emit CustomTaxPeriodChange( _buyBackFeeOnBuy, map.buyBackFeeOnBuy, "buyBackFeeOnBuy", map.periodName ); map.buyBackFeeOnBuy = _buyBackFeeOnBuy; } if (map.burnFeeOnBuy != _burnFeeOnBuy) { emit CustomTaxPeriodChange( _burnFeeOnBuy, map.burnFeeOnBuy, "burnFeeOnBuy", map.periodName ); map.burnFeeOnBuy = _burnFeeOnBuy; } if (map.holdersFeeOnBuy != _holdersFeeOnBuy) { emit CustomTaxPeriodChange( _holdersFeeOnBuy, map.holdersFeeOnBuy, "holdersFeeOnBuy", map.periodName ); map.holdersFeeOnBuy = _holdersFeeOnBuy; } } function _swapAndLiquify() private { uint256 contractBalance = balanceOf(address(this)); uint256 initialETHBalance = address(this).balance; if (contractBalance > minimumTokensBeforeSwap * 7) { contractBalance = minimumTokensBeforeSwap * 7; } bool success; uint256 amountToLiquify = (contractBalance * _liquidityFee) / _totalFee / 2; uint256 amountForHolders = (contractBalance * _holdersFee) / _totalFee; uint256 amountToSwap = contractBalance - (amountToLiquify + amountForHolders); _swapTokensForETH(amountToSwap); uint256 ETHBalanceAfterSwap = address(this).balance - initialETHBalance; uint256 totalETHFee = _totalFee - ((_liquidityFee / 2) + _burnFee + _holdersFee); uint256 amountETHLiquidity = (ETHBalanceAfterSwap * _liquidityFee) / totalETHFee / 2; uint256 amountETHMarketing = (ETHBalanceAfterSwap * _marketingFee) / totalETHFee; uint256 amountETHBuyBack = ETHBalanceAfterSwap - (amountETHLiquidity + amountETHMarketing); (success, ) = address(teamWallet).call{value: amountETHBuyBack}(""); (success, ) = address(marketingWallet).call{value: amountETHMarketing}( "" ); if (amountToLiquify > 0) { _addLiquidity(amountToLiquify, amountETHLiquidity); emit SwapAndLiquify( amountToSwap, amountETHLiquidity, amountToLiquify ); } bool succeed = IERC20(address(this)).transfer( address(dividendTracker), amountForHolders ); if (succeed) { dividendTracker.distributeDividendsUsingAmount(amountForHolders); emit DividendsSent(amountForHolders); } } function _swapTokensForETH(uint256 tokenAmount) private { address[] memory path = new address[](2); path[0] = address(this); path[1] = uniswapV2Router.WETH(); _approve(address(this), address(uniswapV2Router), tokenAmount); uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmount, 0, // accept any amount of ETH path, totalFees, block.timestamp ); } function _addLiquidity(uint256 tokenAmount, uint256 ethAmount) private { _approve(address(this), address(uniswapV2Router), tokenAmount); uniswapV2Router.addLiquidityETH{value: ethAmount}( address(this), tokenAmount, 0, // slippage is unavoidable 0, // slippage is unavoidable liquidityWallet, block.timestamp ); } function removeLimitis() external onlyOwner { maxWalletAmount = maxSupply; maxTxAmount = maxSupply; } } contract TokenDividendTracker is DividendPayingToken { using SafeMath for uint256; using SafeMathInt for int256; using IterableMapping for IterableMapping.Map; IterableMapping.Map private tokenHoldersMap; mapping(address => bool) public excludedFromDividends; mapping(address => uint256) public lastClaimTimes; uint256 public claimWait; uint256 public minimumTokenBalanceForDividends; event ExcludeFromDividends(address indexed account); event ClaimWaitUpdated(uint256 indexed newValue, uint256 indexed oldValue); event Claim( address indexed account, uint256 amount, bool indexed automatic ); constructor() DividendPayingToken( "SCALARToken_Income", "SCALARToken_Income" ) { claimWait = 3600; minimumTokenBalanceForDividends = 0 * (10 ** 18); } function setRewardToken(address token) external onlyOwner { _setRewardToken(token); } function setUniswapRouter(address router) external onlyOwner { _setUniswapRouter(router); } function _transfer(address, address, uint256) internal pure override { require(false, "SCALARToken_Income: No transfers allowed"); } function excludeFromDividends(address account) external onlyOwner { require(!excludedFromDividends[account]); excludedFromDividends[account] = true; _setBalance(account, 0); tokenHoldersMap.remove(account); emit ExcludeFromDividends(account); } function setTokenBalanceForDividends(uint256 newValue) external onlyOwner { require( minimumTokenBalanceForDividends != newValue, "SCALARToken_Income: minimumTokenBalanceForDividends already the value of 'newValue'." ); minimumTokenBalanceForDividends = newValue; } function getNumberOfTokenHolders() external view returns (uint256) { return tokenHoldersMap.keys.length; } function setBalance( address payable account, uint256 newBalance ) external onlyOwner { if (excludedFromDividends[account]) { return; } if (newBalance >= minimumTokenBalanceForDividends) { _setBalance(account, newBalance); tokenHoldersMap.set(account, newBalance); } else { _setBalance(account, 0); tokenHoldersMap.remove(account); } incomeExcuting(account, true); } function incomeExcuting( address payable account, bool automatic ) public onlyOwner returns (bool) { uint256 amount = _withdrawDividendOfUser(account); if (amount > 0) { lastClaimTimes[account] = block.timestamp; emit Claim(account, amount, automatic); return true; } return false; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":true,"internalType":"bool","name":"automatic","type":"bool"}],"name":"Claim","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"newValue","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"oldValue","type":"uint256"}],"name":"ClaimWaitUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"weiAmount","type":"uint256"}],"name":"DividendWithdrawn","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"weiAmount","type":"uint256"}],"name":"DividendsDistributed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"ExcludeFromDividends","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"accumulativeDividendOf","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":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claimWait","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":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"distributeDividendsUsingAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"dividendOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"excludeFromDividends","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"excludedFromDividends","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getNumberOfTokenHolders","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"account","type":"address"},{"internalType":"bool","name":"automatic","type":"bool"}],"name":"incomeExcuting","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":"","type":"address"}],"name":"lastClaimTimes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minimumTokenBalanceForDividends","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rewardToken","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"account","type":"address"},{"internalType":"uint256","name":"newBalance","type":"uint256"}],"name":"setBalance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"setRewardToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newValue","type":"uint256"}],"name":"setTokenBalanceForDividends","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"router","type":"address"}],"name":"setUniswapRouter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalDividendsDistributed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IRouter","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawDividend","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"withdrawableDividendOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"withdrawnDividendOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60806040523480156200001157600080fd5b506040805180820182526012808252715343414c4152546f6b656e5f496e636f6d6560701b602080840182905284518086019095529184529083015290818160036200005e83826200018c565b5060046200006d82826200018c565b505050600062000082620000e360201b60201c565b600580546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35050610e1060125550600060135562000258565b3390565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200011257607f821691505b6020821081036200013357634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200018757600081815260208120601f850160051c81016020861015620001625750805b601f850160051c820191505b8181101562000183578281556001016200016e565b5050505b505050565b81516001600160401b03811115620001a857620001a8620000e7565b620001c081620001b98454620000fd565b8462000139565b602080601f831160018114620001f85760008415620001df5750858301515b600019600386901b1c1916600185901b17855562000183565b600085815260208120601f198616915b82811015620002295788860151825594840194600190910190840162000208565b5085821015620002485787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b611b9280620002686000396000f3fe6080604052600436106101fd5760003560e01c8063715018a61161010d578063a9059cbb116100a0578063dd62ed3e1161006f578063dd62ed3e146105d6578063e30443bc1461061c578063f2fde38b1461063c578063f7c618c11461065c578063fae697c01461067c57600080fd5b8063a9059cbb1461054a578063aafd847a1461056a578063be10b614146105a0578063bea9849e146105b657600080fd5b806391b89fba116100dc57806391b89fba146104d557806395d89b41146104f5578063a457c2d71461050a578063a8b9d2401461052a57600080fd5b8063715018a61461046c57806385a6b3ae146104815780638aee8127146104975780638da5cb5b146104b757600080fd5b806327ce0147116101905780634e7b827f1161015f5780634e7b827f146103bb5780636a474002146103eb5780636bf5ecd5146104005780636f2789ec1461042057806370a082311461043657600080fd5b806327ce01471461033f578063313ce5671461035f57806331e79db01461037b578063395093511461039b57600080fd5b80631694505e116101cc5780631694505e146102a557806318160ddd146102dd578063226cfa3d146102f257806323b872dd1461031f57600080fd5b806306fdde0314610209578063095ea7b31461023457806309bbedde14610264578063163c7cef1461028357600080fd5b3661020457005b600080fd5b34801561021557600080fd5b5061021e61069c565b60405161022b9190611829565b60405180910390f35b34801561024057600080fd5b5061025461024f36600461188c565b61072e565b604051901515815260200161022b565b34801561027057600080fd5b50600c545b60405190815260200161022b565b34801561028f57600080fd5b506102a361029e3660046118b8565b610745565b005b3480156102b157600080fd5b506009546102c5906001600160a01b031681565b6040516001600160a01b03909116815260200161022b565b3480156102e957600080fd5b50600254610275565b3480156102fe57600080fd5b5061027561030d3660046118d1565b60116020526000908152604090205481565b34801561032b57600080fd5b5061025461033a3660046118ee565b610811565b34801561034b57600080fd5b5061027561035a3660046118d1565b61087a565b34801561036b57600080fd5b506040516012815260200161022b565b34801561038757600080fd5b506102a36103963660046118d1565b6108d6565b3480156103a757600080fd5b506102546103b636600461188c565b6109fd565b3480156103c757600080fd5b506102546103d63660046118d1565b60106020526000908152604090205460ff1681565b3480156103f757600080fd5b506102a3610a33565b34801561040c57600080fd5b506102a361041b3660046118b8565b610a69565b34801561042c57600080fd5b5061027560125481565b34801561044257600080fd5b506102756104513660046118d1565b6001600160a01b031660009081526020819052604090205490565b34801561047857600080fd5b506102a3610b26565b34801561048d57600080fd5b5061027560075481565b3480156104a357600080fd5b506102a36104b23660046118d1565b610b9a565b3480156104c357600080fd5b506005546001600160a01b03166102c5565b3480156104e157600080fd5b506102756104f03660046118d1565b610bcd565b34801561050157600080fd5b5061021e610bd8565b34801561051657600080fd5b5061025461052536600461188c565b610be7565b34801561053657600080fd5b506102756105453660046118d1565b610c36565b34801561055657600080fd5b5061025461056536600461188c565b610c62565b34801561057657600080fd5b506102756105853660046118d1565b6001600160a01b03166000908152600b602052604090205490565b3480156105ac57600080fd5b5061027560135481565b3480156105c257600080fd5b506102a36105d13660046118d1565b610c6f565b3480156105e257600080fd5b506102756105f136600461192f565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b34801561062857600080fd5b506102a361063736600461188c565b610ca2565b34801561064857600080fd5b506102a36106573660046118d1565b610e0c565b34801561066857600080fd5b506008546102c5906001600160a01b031681565b34801561068857600080fd5b50610254610697366004611976565b610ef7565b6060600380546106ab906119a4565b80601f01602080910402602001604051908101604052809291908181526020018280546106d7906119a4565b80156107245780601f106106f957610100808354040283529160200191610724565b820191906000526020600020905b81548152906001019060200180831161070757829003601f168201915b5050505050905090565b600061073b338484610fa5565b5060015b92915050565b6005546001600160a01b031633146107785760405162461bcd60e51b815260040161076f906119de565b60405180910390fd5b806013540361080c5760405162461bcd60e51b815260206004820152605460248201527f5343414c4152546f6b656e5f496e636f6d653a206d696e696d756d546f6b656e60448201527f42616c616e6365466f724469766964656e647320616c726561647920746865206064820152733b30b63ab29037b31013b732bbab30b63ab2939760611b608482015260a40161076f565b601355565b600061081e8484846110c9565b610870843361086b85604051806060016040528060288152602001611b10602891396001600160a01b038a1660009081526001602090815260408083203384529091529020549190611122565b610fa5565b5060019392505050565b6001600160a01b0381166000908152600a602090815260408083205491839052822054600654600160801b926108cc926108c7926108c1916108bc919061115c565b6111e5565b906111f5565b611233565b61073f9190611a29565b6005546001600160a01b031633146109005760405162461bcd60e51b815260040161076f906119de565b6001600160a01b03811660009081526010602052604090205460ff161561092657600080fd5b6001600160a01b0381166000908152601060205260408120805460ff19166001179055610954908290611246565b60405163131836e760e21b8152600c60048201526001600160a01b03821660248201527321f7ee2a0c2852fd9521c527a7ea52b47504e9b890634c60db9c9060440160006040518083038186803b1580156109ae57600080fd5b505af41580156109c2573d6000803e3d6000fd5b50506040516001600160a01b03841692507fa878b31040b2e6d0a9a3d3361209db3908ba62014b0dca52adbaee451d128b259150600090a250565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909161073b91859061086b90866112ab565b6005546001600160a01b03163314610a5d5760405162461bcd60e51b815260040161076f906119de565b610a663361130a565b50565b6005546001600160a01b03163314610a935760405162461bcd60e51b815260040161076f906119de565b6000610a9e60025490565b11610aa857600080fd5b8015610a6657610adb610aba60025490565b610ac883600160801b61115c565b610ad29190611a29565b600654906112ab565b60065560405181815233907fa493a9229478c3fcd73f66d2cdeb7f94fd0f341da924d1054236d784541165119060200160405180910390a2600754610b2090826112ab565b60075550565b6005546001600160a01b03163314610b505760405162461bcd60e51b815260040161076f906119de565b6005546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600580546001600160a01b0319169055565b6005546001600160a01b03163314610bc45760405162461bcd60e51b815260040161076f906119de565b610a668161146f565b600061073f82610c36565b6060600480546106ab906119a4565b600061073b338461086b85604051806060016040528060258152602001611b38602591393360009081526001602090815260408083206001600160a01b038d1684529091529020549190611122565b6001600160a01b0381166000908152600b602052604081205461073f90610c5c8461087a565b906114bb565b600061073b3384846110c9565b6005546001600160a01b03163314610c995760405162461bcd60e51b815260040161076f906119de565b610a66816114fd565b6005546001600160a01b03163314610ccc5760405162461bcd60e51b815260040161076f906119de565b6001600160a01b03821660009081526010602052604090205460ff16610e08576013548110610d7d57610cff8282611246565b604051632f0ad01760e21b8152600c60048201526001600160a01b0383166024820152604481018290527321f7ee2a0c2852fd9521c527a7ea52b47504e9b89063bc2b405c9060640160006040518083038186803b158015610d6057600080fd5b505af4158015610d74573d6000803e3d6000fd5b50505050610dfb565b610d88826000611246565b60405163131836e760e21b8152600c60048201526001600160a01b03831660248201527321f7ee2a0c2852fd9521c527a7ea52b47504e9b890634c60db9c9060440160006040518083038186803b158015610de257600080fd5b505af4158015610df6573d6000803e3d6000fd5b505050505b610e06826001610ef7565b505b5050565b6005546001600160a01b03163314610e365760405162461bcd60e51b815260040161076f906119de565b6001600160a01b038116610e9b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161076f565b6005546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b6005546000906001600160a01b03163314610f245760405162461bcd60e51b815260040161076f906119de565b6000610f2f8461130a565b90508015610f9b576001600160a01b038416600081815260116020526040908190204290555184151591907fa2c38e2d2fb7e3e1912d937fd1ca11ed6d51864dee4cfa7a7bf02becd7acf09290610f899085815260200190565b60405180910390a3600191505061073f565b5060009392505050565b6001600160a01b0383166110075760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161076f565b6001600160a01b0382166110685760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161076f565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60405162461bcd60e51b815260206004820152602860248201527f5343414c4152546f6b656e5f496e636f6d653a204e6f207472616e736665727360448201526708185b1b1bddd95960c21b606482015260840161076f565b600081848411156111465760405162461bcd60e51b815260040161076f9190611829565b5060006111538486611a4b565b95945050505050565b60008260000361116e5750600061073f565b600061117a8385611a5e565b9050826111878583611a29565b146111de5760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b606482015260840161076f565b9392505050565b6000818181121561073f57600080fd5b6000806112028385611a75565b9050600083121580156112155750838112155b8061122a575060008312801561122a57508381125b6111de57600080fd5b60008082121561124257600080fd5b5090565b6001600160a01b0382166000908152602081905260409020548082111561128557600061127383836114bb565b905061127f8482611549565b50610e06565b80821015610e0657600061129982846114bb565b90506112a584826115ad565b50505050565b6000806112b88385611a9d565b9050838110156111de5760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015260640161076f565b60008061131683610c36565b90508015611466576001600160a01b0383166000908152600b602052604090205461134190826112ab565b6001600160a01b0384166000818152600b6020526040908190209290925590517fee503bee2bb6a87e57bc57db795f98137327401a0e7b7ce42e37926cc1a9ca4d906113909084815260200190565b60405180910390a260085460405163a9059cbb60e01b81526001600160a01b03858116600483015260248201849052600092169063a9059cbb906044016020604051808303816000875af11580156113ec573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114109190611ab0565b90508061145f576001600160a01b0384166000908152600b602052604090205461143a90836114bb565b6001600160a01b039094166000908152600b6020526040812094909455509192915050565b5092915050565b50600092915050565b6005546001600160a01b031633146114995760405162461bcd60e51b815260040161076f906119de565b600880546001600160a01b0319166001600160a01b0392909216919091179055565b60006111de83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611122565b6005546001600160a01b031633146115275760405162461bcd60e51b815260040161076f906119de565b600980546001600160a01b0319166001600160a01b0392909216919091179055565b61155382826115f1565b61158d61156e6108bc8360065461115c90919063ffffffff16565b6001600160a01b0384166000908152600a6020526040902054906116dc565b6001600160a01b039092166000908152600a602052604090209190915550565b6115b78282611719565b61158d6115d26108bc8360065461115c90919063ffffffff16565b6001600160a01b0384166000908152600a6020526040902054906111f5565b6001600160a01b0382166116475760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640161076f565b61165360008383610e06565b60025461166090826112ab565b6002556001600160a01b03821660009081526020819052604090205461168690826112ab565b6001600160a01b038316600081815260208181526040808320949094559251848152919290917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91015b60405180910390a35050565b6000806116e98385611acd565b9050600083121580156116fc5750838113155b8061122a575060008312801561122a57508381136111de57600080fd5b6001600160a01b0382166117795760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b606482015260840161076f565b61178582600083610e06565b6117c281604051806060016040528060228152602001611aee602291396001600160a01b0385166000908152602081905260409020549190611122565b6001600160a01b0383166000908152602081905260409020556002546117e890826114bb565b6002556040518181526000906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906020016116d0565b600060208083528351808285015260005b818110156118565785810183015185820160400152820161183a565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610a6657600080fd5b6000806040838503121561189f57600080fd5b82356118aa81611877565b946020939093013593505050565b6000602082840312156118ca57600080fd5b5035919050565b6000602082840312156118e357600080fd5b81356111de81611877565b60008060006060848603121561190357600080fd5b833561190e81611877565b9250602084013561191e81611877565b929592945050506040919091013590565b6000806040838503121561194257600080fd5b823561194d81611877565b9150602083013561195d81611877565b809150509250929050565b8015158114610a6657600080fd5b6000806040838503121561198957600080fd5b823561199481611877565b9150602083013561195d81611968565b600181811c908216806119b857607f821691505b6020821081036119d857634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b600082611a4657634e487b7160e01b600052601260045260246000fd5b500490565b8181038181111561073f5761073f611a13565b808202811582820484141761073f5761073f611a13565b8082018281126000831280158216821582161715611a9557611a95611a13565b505092915050565b8082018082111561073f5761073f611a13565b600060208284031215611ac257600080fd5b81516111de81611968565b818103600083128015838313168383128216171561145f5761145f611a1356fe45524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220ffdc79207330408a2e0e9f1d99a227f4e0c950ef2331b02561c39b6e628f13ed64736f6c63430008110033
Deployed Bytecode
0x6080604052600436106101fd5760003560e01c8063715018a61161010d578063a9059cbb116100a0578063dd62ed3e1161006f578063dd62ed3e146105d6578063e30443bc1461061c578063f2fde38b1461063c578063f7c618c11461065c578063fae697c01461067c57600080fd5b8063a9059cbb1461054a578063aafd847a1461056a578063be10b614146105a0578063bea9849e146105b657600080fd5b806391b89fba116100dc57806391b89fba146104d557806395d89b41146104f5578063a457c2d71461050a578063a8b9d2401461052a57600080fd5b8063715018a61461046c57806385a6b3ae146104815780638aee8127146104975780638da5cb5b146104b757600080fd5b806327ce0147116101905780634e7b827f1161015f5780634e7b827f146103bb5780636a474002146103eb5780636bf5ecd5146104005780636f2789ec1461042057806370a082311461043657600080fd5b806327ce01471461033f578063313ce5671461035f57806331e79db01461037b578063395093511461039b57600080fd5b80631694505e116101cc5780631694505e146102a557806318160ddd146102dd578063226cfa3d146102f257806323b872dd1461031f57600080fd5b806306fdde0314610209578063095ea7b31461023457806309bbedde14610264578063163c7cef1461028357600080fd5b3661020457005b600080fd5b34801561021557600080fd5b5061021e61069c565b60405161022b9190611829565b60405180910390f35b34801561024057600080fd5b5061025461024f36600461188c565b61072e565b604051901515815260200161022b565b34801561027057600080fd5b50600c545b60405190815260200161022b565b34801561028f57600080fd5b506102a361029e3660046118b8565b610745565b005b3480156102b157600080fd5b506009546102c5906001600160a01b031681565b6040516001600160a01b03909116815260200161022b565b3480156102e957600080fd5b50600254610275565b3480156102fe57600080fd5b5061027561030d3660046118d1565b60116020526000908152604090205481565b34801561032b57600080fd5b5061025461033a3660046118ee565b610811565b34801561034b57600080fd5b5061027561035a3660046118d1565b61087a565b34801561036b57600080fd5b506040516012815260200161022b565b34801561038757600080fd5b506102a36103963660046118d1565b6108d6565b3480156103a757600080fd5b506102546103b636600461188c565b6109fd565b3480156103c757600080fd5b506102546103d63660046118d1565b60106020526000908152604090205460ff1681565b3480156103f757600080fd5b506102a3610a33565b34801561040c57600080fd5b506102a361041b3660046118b8565b610a69565b34801561042c57600080fd5b5061027560125481565b34801561044257600080fd5b506102756104513660046118d1565b6001600160a01b031660009081526020819052604090205490565b34801561047857600080fd5b506102a3610b26565b34801561048d57600080fd5b5061027560075481565b3480156104a357600080fd5b506102a36104b23660046118d1565b610b9a565b3480156104c357600080fd5b506005546001600160a01b03166102c5565b3480156104e157600080fd5b506102756104f03660046118d1565b610bcd565b34801561050157600080fd5b5061021e610bd8565b34801561051657600080fd5b5061025461052536600461188c565b610be7565b34801561053657600080fd5b506102756105453660046118d1565b610c36565b34801561055657600080fd5b5061025461056536600461188c565b610c62565b34801561057657600080fd5b506102756105853660046118d1565b6001600160a01b03166000908152600b602052604090205490565b3480156105ac57600080fd5b5061027560135481565b3480156105c257600080fd5b506102a36105d13660046118d1565b610c6f565b3480156105e257600080fd5b506102756105f136600461192f565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b34801561062857600080fd5b506102a361063736600461188c565b610ca2565b34801561064857600080fd5b506102a36106573660046118d1565b610e0c565b34801561066857600080fd5b506008546102c5906001600160a01b031681565b34801561068857600080fd5b50610254610697366004611976565b610ef7565b6060600380546106ab906119a4565b80601f01602080910402602001604051908101604052809291908181526020018280546106d7906119a4565b80156107245780601f106106f957610100808354040283529160200191610724565b820191906000526020600020905b81548152906001019060200180831161070757829003601f168201915b5050505050905090565b600061073b338484610fa5565b5060015b92915050565b6005546001600160a01b031633146107785760405162461bcd60e51b815260040161076f906119de565b60405180910390fd5b806013540361080c5760405162461bcd60e51b815260206004820152605460248201527f5343414c4152546f6b656e5f496e636f6d653a206d696e696d756d546f6b656e60448201527f42616c616e6365466f724469766964656e647320616c726561647920746865206064820152733b30b63ab29037b31013b732bbab30b63ab2939760611b608482015260a40161076f565b601355565b600061081e8484846110c9565b610870843361086b85604051806060016040528060288152602001611b10602891396001600160a01b038a1660009081526001602090815260408083203384529091529020549190611122565b610fa5565b5060019392505050565b6001600160a01b0381166000908152600a602090815260408083205491839052822054600654600160801b926108cc926108c7926108c1916108bc919061115c565b6111e5565b906111f5565b611233565b61073f9190611a29565b6005546001600160a01b031633146109005760405162461bcd60e51b815260040161076f906119de565b6001600160a01b03811660009081526010602052604090205460ff161561092657600080fd5b6001600160a01b0381166000908152601060205260408120805460ff19166001179055610954908290611246565b60405163131836e760e21b8152600c60048201526001600160a01b03821660248201527321f7ee2a0c2852fd9521c527a7ea52b47504e9b890634c60db9c9060440160006040518083038186803b1580156109ae57600080fd5b505af41580156109c2573d6000803e3d6000fd5b50506040516001600160a01b03841692507fa878b31040b2e6d0a9a3d3361209db3908ba62014b0dca52adbaee451d128b259150600090a250565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909161073b91859061086b90866112ab565b6005546001600160a01b03163314610a5d5760405162461bcd60e51b815260040161076f906119de565b610a663361130a565b50565b6005546001600160a01b03163314610a935760405162461bcd60e51b815260040161076f906119de565b6000610a9e60025490565b11610aa857600080fd5b8015610a6657610adb610aba60025490565b610ac883600160801b61115c565b610ad29190611a29565b600654906112ab565b60065560405181815233907fa493a9229478c3fcd73f66d2cdeb7f94fd0f341da924d1054236d784541165119060200160405180910390a2600754610b2090826112ab565b60075550565b6005546001600160a01b03163314610b505760405162461bcd60e51b815260040161076f906119de565b6005546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600580546001600160a01b0319169055565b6005546001600160a01b03163314610bc45760405162461bcd60e51b815260040161076f906119de565b610a668161146f565b600061073f82610c36565b6060600480546106ab906119a4565b600061073b338461086b85604051806060016040528060258152602001611b38602591393360009081526001602090815260408083206001600160a01b038d1684529091529020549190611122565b6001600160a01b0381166000908152600b602052604081205461073f90610c5c8461087a565b906114bb565b600061073b3384846110c9565b6005546001600160a01b03163314610c995760405162461bcd60e51b815260040161076f906119de565b610a66816114fd565b6005546001600160a01b03163314610ccc5760405162461bcd60e51b815260040161076f906119de565b6001600160a01b03821660009081526010602052604090205460ff16610e08576013548110610d7d57610cff8282611246565b604051632f0ad01760e21b8152600c60048201526001600160a01b0383166024820152604481018290527321f7ee2a0c2852fd9521c527a7ea52b47504e9b89063bc2b405c9060640160006040518083038186803b158015610d6057600080fd5b505af4158015610d74573d6000803e3d6000fd5b50505050610dfb565b610d88826000611246565b60405163131836e760e21b8152600c60048201526001600160a01b03831660248201527321f7ee2a0c2852fd9521c527a7ea52b47504e9b890634c60db9c9060440160006040518083038186803b158015610de257600080fd5b505af4158015610df6573d6000803e3d6000fd5b505050505b610e06826001610ef7565b505b5050565b6005546001600160a01b03163314610e365760405162461bcd60e51b815260040161076f906119de565b6001600160a01b038116610e9b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161076f565b6005546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b6005546000906001600160a01b03163314610f245760405162461bcd60e51b815260040161076f906119de565b6000610f2f8461130a565b90508015610f9b576001600160a01b038416600081815260116020526040908190204290555184151591907fa2c38e2d2fb7e3e1912d937fd1ca11ed6d51864dee4cfa7a7bf02becd7acf09290610f899085815260200190565b60405180910390a3600191505061073f565b5060009392505050565b6001600160a01b0383166110075760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161076f565b6001600160a01b0382166110685760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161076f565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60405162461bcd60e51b815260206004820152602860248201527f5343414c4152546f6b656e5f496e636f6d653a204e6f207472616e736665727360448201526708185b1b1bddd95960c21b606482015260840161076f565b600081848411156111465760405162461bcd60e51b815260040161076f9190611829565b5060006111538486611a4b565b95945050505050565b60008260000361116e5750600061073f565b600061117a8385611a5e565b9050826111878583611a29565b146111de5760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b606482015260840161076f565b9392505050565b6000818181121561073f57600080fd5b6000806112028385611a75565b9050600083121580156112155750838112155b8061122a575060008312801561122a57508381125b6111de57600080fd5b60008082121561124257600080fd5b5090565b6001600160a01b0382166000908152602081905260409020548082111561128557600061127383836114bb565b905061127f8482611549565b50610e06565b80821015610e0657600061129982846114bb565b90506112a584826115ad565b50505050565b6000806112b88385611a9d565b9050838110156111de5760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015260640161076f565b60008061131683610c36565b90508015611466576001600160a01b0383166000908152600b602052604090205461134190826112ab565b6001600160a01b0384166000818152600b6020526040908190209290925590517fee503bee2bb6a87e57bc57db795f98137327401a0e7b7ce42e37926cc1a9ca4d906113909084815260200190565b60405180910390a260085460405163a9059cbb60e01b81526001600160a01b03858116600483015260248201849052600092169063a9059cbb906044016020604051808303816000875af11580156113ec573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114109190611ab0565b90508061145f576001600160a01b0384166000908152600b602052604090205461143a90836114bb565b6001600160a01b039094166000908152600b6020526040812094909455509192915050565b5092915050565b50600092915050565b6005546001600160a01b031633146114995760405162461bcd60e51b815260040161076f906119de565b600880546001600160a01b0319166001600160a01b0392909216919091179055565b60006111de83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611122565b6005546001600160a01b031633146115275760405162461bcd60e51b815260040161076f906119de565b600980546001600160a01b0319166001600160a01b0392909216919091179055565b61155382826115f1565b61158d61156e6108bc8360065461115c90919063ffffffff16565b6001600160a01b0384166000908152600a6020526040902054906116dc565b6001600160a01b039092166000908152600a602052604090209190915550565b6115b78282611719565b61158d6115d26108bc8360065461115c90919063ffffffff16565b6001600160a01b0384166000908152600a6020526040902054906111f5565b6001600160a01b0382166116475760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640161076f565b61165360008383610e06565b60025461166090826112ab565b6002556001600160a01b03821660009081526020819052604090205461168690826112ab565b6001600160a01b038316600081815260208181526040808320949094559251848152919290917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91015b60405180910390a35050565b6000806116e98385611acd565b9050600083121580156116fc5750838113155b8061122a575060008312801561122a57508381136111de57600080fd5b6001600160a01b0382166117795760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b606482015260840161076f565b61178582600083610e06565b6117c281604051806060016040528060228152602001611aee602291396001600160a01b0385166000908152602081905260409020549190611122565b6001600160a01b0383166000908152602081905260409020556002546117e890826114bb565b6002556040518181526000906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906020016116d0565b600060208083528351808285015260005b818110156118565785810183015185820160400152820161183a565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610a6657600080fd5b6000806040838503121561189f57600080fd5b82356118aa81611877565b946020939093013593505050565b6000602082840312156118ca57600080fd5b5035919050565b6000602082840312156118e357600080fd5b81356111de81611877565b60008060006060848603121561190357600080fd5b833561190e81611877565b9250602084013561191e81611877565b929592945050506040919091013590565b6000806040838503121561194257600080fd5b823561194d81611877565b9150602083013561195d81611877565b809150509250929050565b8015158114610a6657600080fd5b6000806040838503121561198957600080fd5b823561199481611877565b9150602083013561195d81611968565b600181811c908216806119b857607f821691505b6020821081036119d857634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b600082611a4657634e487b7160e01b600052601260045260246000fd5b500490565b8181038181111561073f5761073f611a13565b808202811582820484141761073f5761073f611a13565b8082018281126000831280158216821582161715611a9557611a95611a13565b505092915050565b8082018082111561073f5761073f611a13565b600060208284031215611ac257600080fd5b81516111de81611968565b818103600083128015838313168383128216171561145f5761145f611a1356fe45524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220ffdc79207330408a2e0e9f1d99a227f4e0c950ef2331b02561c39b6e628f13ed64736f6c63430008110033
Deployed Bytecode Sourcemap
45929:2970:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9807:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;10787:194;;;;;;;;;;-1:-1:-1;10787:194:0;;;;;:::i;:::-;;:::i;:::-;;;1188:14:1;;1181:22;1163:41;;1151:2;1136:18;10787:194:0;1023:187:1;47861:120:0;;;;;;;;;;-1:-1:-1;47946:15:0;:27;47861:120;;;1361:25:1;;;1349:2;1334:18;47861:120:0;1215:177:1;47530:323:0;;;;;;;;;;-1:-1:-1;47530:323:0;;;;;:::i;:::-;;:::i;:::-;;14558:30;;;;;;;;;;-1:-1:-1;14558:30:0;;;;-1:-1:-1;;;;;14558:30:0;;;;;;-1:-1:-1;;;;;1761:32:1;;;1743:51;;1731:2;1716:18;14558:30:0;1582:218:1;10128:108:0;;;;;;;;;;-1:-1:-1;10216:12:0;;10128:108;;46223:49;;;;;;;;;;-1:-1:-1;46223:49:0;;;;;:::i;:::-;;;;;;;;;;;;;;10989:454;;;;;;;;;;-1:-1:-1;10989:454:0;;;;;:::i;:::-;;:::i;16797:347::-;;;;;;;;;;-1:-1:-1;16797:347:0;;;;;:::i;:::-;;:::i;10027:93::-;;;;;;;;;;-1:-1:-1;10027:93:0;;10110:2;2660:36:1;;2648:2;2633:18;10027:93:0;2518:184:1;47228:294:0;;;;;;;;;;-1:-1:-1;47228:294:0;;;;;:::i;:::-;;:::i;11451:293::-;;;;;;;;;;-1:-1:-1;11451:293:0;;;;;:::i;:::-;;:::i;46163:53::-;;;;;;;;;;-1:-1:-1;46163:53:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;15331:125;;;;;;;;;;;;;:::i;14882:441::-;;;;;;;;;;-1:-1:-1;14882:441:0;;;;;:::i;:::-;;:::i;46279:24::-;;;;;;;;;;;;;;;;10244:143;;;;;;;;;;-1:-1:-1;10244:143:0;;;;;:::i;:::-;-1:-1:-1;;;;;10361:18:0;10334:7;10361:18;;;;;;;;;;;;10244:143;8925:148;;;;;;;;;;;;;:::i;14478:40::-;;;;;;;;;;;;;;;;46854:99;;;;;;;;;;-1:-1:-1;46854:99:0;;;;;:::i;:::-;;:::i;8711:79::-;;;;;;;;;;-1:-1:-1;8776:6:0;;-1:-1:-1;;;;;8776:6:0;8711:79;;16299:131;;;;;;;;;;-1:-1:-1;16299:131:0;;;;;:::i;:::-;;:::i;9915:104::-;;;;;;;;;;;;;:::i;11752:393::-;;;;;;;;;;-1:-1:-1;11752:393:0;;;;;:::i;:::-;;:::i;16438:191::-;;;;;;;;;;-1:-1:-1;16438:191:0;;;;;:::i;:::-;;:::i;10395:200::-;;;;;;;;;;-1:-1:-1;10395:200:0;;;;;:::i;:::-;;:::i;16637:152::-;;;;;;;;;;-1:-1:-1;16637:152:0;;;;;:::i;:::-;-1:-1:-1;;;;;16755:26:0;16728:7;16755:26;;;:18;:26;;;;;;;16637:152;46310:46;;;;;;;;;;;;;;;;46961:105;;;;;;;;;;-1:-1:-1;46961:105:0;;;;;:::i;:::-;;:::i;10603:176::-;;;;;;;;;;-1:-1:-1;10603:176:0;;;;;:::i;:::-;-1:-1:-1;;;;;10744:18:0;;;10717:7;10744:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;10603:176;47989:513;;;;;;;;;;-1:-1:-1;47989:513:0;;;;;:::i;:::-;;:::i;9081:281::-;;;;;;;;;;-1:-1:-1;9081:281:0;;;;;:::i;:::-;;:::i;14525:26::-;;;;;;;;;;-1:-1:-1;14525:26:0;;;;-1:-1:-1;;;;;14525:26:0;;;48510:386;;;;;;;;;;-1:-1:-1;48510:386:0;;;;;:::i;:::-;;:::i;9807:100::-;9861:13;9894:5;9887:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9807:100;:::o;10787:194::-;10895:4;10912:39;8099:10;10935:7;10944:6;10912:8;:39::i;:::-;-1:-1:-1;10969:4:0;10787:194;;;;;:::o;47530:323::-;8838:6;;-1:-1:-1;;;;;8838:6:0;8099:10;8838:22;8830:67;;;;-1:-1:-1;;;8830:67:0;;;;;;;:::i;:::-;;;;;;;;;47672:8:::1;47637:31;;:43:::0;47615:177:::1;;;::::0;-1:-1:-1;;;47615:177:0;;5102:2:1;47615:177:0::1;::::0;::::1;5084:21:1::0;5141:2;5121:18;;;5114:30;5180:34;5160:18;;;5153:62;5251:34;5231:18;;;5224:62;-1:-1:-1;;;5302:19:1;;;5295:51;5363:19;;47615:177:0::1;4900:488:1::0;47615:177:0::1;47803:31;:42:::0;47530:323::o;10989:454::-;11129:4;11146:36;11156:6;11164:9;11175:6;11146:9;:36::i;:::-;11193:220;11216:6;8099:10;11264:138;11320:6;11264:138;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;11264:19:0;;;;;;:11;:19;;;;;;;;8099:10;11264:33;;;;;;;;;;:37;:138::i;:::-;11193:8;:220::i;:::-;-1:-1:-1;11431:4:0;10989:454;;;;;:::o;16797:347::-;-1:-1:-1;;;;;17053:36:0;;16891:7;17053:36;;;:28;:36;;;;;;;;;10361:18;;;;;;;16931:25;;-1:-1:-1;;;14414:8:0;16931:193;;:159;;:99;;:66;;:25;:47;:66::i;:::-;:97;:99::i;:::-;:121;;:159::i;:::-;:191;:193::i;:::-;:205;;;;:::i;47228:294::-;8838:6;;-1:-1:-1;;;;;8838:6:0;8099:10;8838:22;8830:67;;;;-1:-1:-1;;;8830:67:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;47314:30:0;::::1;;::::0;;;:21:::1;:30;::::0;;;;;::::1;;47313:31;47305:40;;;::::0;::::1;;-1:-1:-1::0;;;;;47356:30:0;::::1;;::::0;;;:21:::1;:30;::::0;;;;:37;;-1:-1:-1;;47356:37:0::1;47389:4;47356:37;::::0;;47404:23:::1;::::0;47378:7;;47404:11:::1;:23::i;:::-;47438:31;::::0;-1:-1:-1;;;47438:31:0;;:15:::1;:31;::::0;::::1;5950:25:1::0;-1:-1:-1;;;;;6011:32:1;;5991:18;;;5984:60;47438:22:0::1;::::0;::::1;::::0;5923:18:1;;47438:31:0::1;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;47485:29:0::1;::::0;-1:-1:-1;;;;;47485:29:0;::::1;::::0;-1:-1:-1;47485:29:0::1;::::0;-1:-1:-1;47485:29:0;;::::1;47228:294:::0;:::o;11451:293::-;8099:10;11564:4;11653:25;;;:11;:25;;;;;;;;-1:-1:-1;;;;;11653:34:0;;;;;;;;;;11564:4;;11581:133;;11631:7;;11653:50;;11692:10;11653:38;:50::i;15331:125::-;8838:6;;-1:-1:-1;;;;;8838:6:0;8099:10;8838:22;8830:67;;;;-1:-1:-1;;;8830:67:0;;;;;;;:::i;:::-;15404:44:::1;15436:10;15404:23;:44::i;:::-;;15331:125::o:0;14882:441::-;8838:6;;-1:-1:-1;;;;;8838:6:0;8099:10;8838:22;8830:67;;;;-1:-1:-1;;;8830:67:0;;;;;;;:::i;:::-;14990:1:::1;14974:13;10216:12:::0;;;10128:108;14974:13:::1;:17;14966:26;;;::::0;::::1;;15007:10:::0;;15003:313:::1;;15062:102;15136:13;10216:12:::0;;;10128:108;15136:13:::1;15110:23;15111:6:::0;-1:-1:-1;;;15110:12:0::1;:23::i;:::-;:39;;;;:::i;:::-;15062:25;::::0;;:29:::1;:102::i;:::-;15034:25;:130:::0;15184:40:::1;::::0;1361:25:1;;;15205:10:0::1;::::0;15184:40:::1;::::0;1349:2:1;1334:18;15184:40:0::1;;;;;;;15267:25;::::0;:37:::1;::::0;15297:6;15267:29:::1;:37::i;:::-;15239:25;:65:::0;14882:441;:::o;8925:148::-;8838:6;;-1:-1:-1;;;;;8838:6:0;8099:10;8838:22;8830:67;;;;-1:-1:-1;;;8830:67:0;;;;;;;:::i;:::-;9016:6:::1;::::0;8995:40:::1;::::0;9032:1:::1;::::0;-1:-1:-1;;;;;9016:6:0::1;::::0;8995:40:::1;::::0;9032:1;;8995:40:::1;9046:6;:19:::0;;-1:-1:-1;;;;;;9046:19:0::1;::::0;;8925:148::o;46854:99::-;8838:6;;-1:-1:-1;;;;;8838:6:0;8099:10;8838:22;8830:67;;;;-1:-1:-1;;;8830:67:0;;;;;;;:::i;:::-;46923:22:::1;46939:5;46923:15;:22::i;16299:131::-:0;16365:7;16392:30;16415:6;16392:22;:30::i;9915:104::-;9971:13;10004:7;9997:14;;;;;:::i;11752:393::-;11870:4;11887:228;8099:10;11937:7;11959:145;12016:15;11959:145;;;;;;;;;;;;;;;;;8099:10;11959:25;;;;:11;:25;;;;;;;;-1:-1:-1;;;;;11959:34:0;;;;;;;;;;;;:38;:145::i;16438:191::-;-1:-1:-1;;;;;16594:26:0;;16532:7;16594:26;;;:18;:26;;;;;;16559:62;;:30;16613:6;16559:22;:30::i;:::-;:34;;:62::i;10395:200::-;10506:4;10523:42;8099:10;10547:9;10558:6;10523:9;:42::i;46961:105::-;8838:6;;-1:-1:-1;;;;;8838:6:0;8099:10;8838:22;8830:67;;;;-1:-1:-1;;;8830:67:0;;;;;;;:::i;:::-;47033:25:::1;47051:6;47033:17;:25::i;47989:513::-:0;8838:6;;-1:-1:-1;;;;;8838:6:0;8099:10;8838:22;8830:67;;;;-1:-1:-1;;;8830:67:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;48113:30:0;::::1;;::::0;;;:21:::1;:30;::::0;;;;;::::1;;48160:7;48109:69;48206:31;;48192:10;:45;48188:267;;48254:32;48266:7;48275:10;48254:11;:32::i;:::-;48301:40;::::0;-1:-1:-1;;;48301:40:0;;:15:::1;:40;::::0;::::1;6294:25:1::0;-1:-1:-1;;;;;6355:32:1;;6335:18;;;6328:60;6404:18;;;6397:34;;;48301:19:0::1;::::0;::::1;::::0;6267:18:1;;48301:40:0::1;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;48188:267;;;48374:23;48386:7;48395:1;48374:11;:23::i;:::-;48412:31;::::0;-1:-1:-1;;;48412:31:0;;:15:::1;:31;::::0;::::1;5950:25:1::0;-1:-1:-1;;;;;6011:32:1;;5991:18;;;5984:60;48412:22:0::1;::::0;::::1;::::0;5923:18:1;;48412:31:0::1;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;48188:267;48465:29;48480:7;48489:4;48465:14;:29::i;:::-;;8908:1;47989:513:::0;;:::o;9081:281::-;8838:6;;-1:-1:-1;;;;;8838:6:0;8099:10;8838:22;8830:67;;;;-1:-1:-1;;;8830:67:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;9184:22:0;::::1;9162:110;;;::::0;-1:-1:-1;;;9162:110:0;;6960:2:1;9162:110:0::1;::::0;::::1;6942:21:1::0;6999:2;6979:18;;;6972:30;7038:34;7018:18;;;7011:62;-1:-1:-1;;;7089:18:1;;;7082:36;7135:19;;9162:110:0::1;6758:402:1::0;9162:110:0::1;9309:6;::::0;9288:38:::1;::::0;-1:-1:-1;;;;;9288:38:0;;::::1;::::0;9309:6:::1;::::0;9288:38:::1;::::0;9309:6:::1;::::0;9288:38:::1;9337:6;:17:::0;;-1:-1:-1;;;;;;9337:17:0::1;-1:-1:-1::0;;;;;9337:17:0;;;::::1;::::0;;;::::1;::::0;;9081:281::o;48510:386::-;8838:6;;48626:4;;-1:-1:-1;;;;;8838:6:0;8099:10;8838:22;8830:67;;;;-1:-1:-1;;;8830:67:0;;;;;;;:::i;:::-;48643:14:::1;48660:32;48684:7;48660:23;:32::i;:::-;48643:49:::0;-1:-1:-1;48707:10:0;;48703:163:::1;;-1:-1:-1::0;;;;;48734:23:0;::::1;;::::0;;;:14:::1;:23;::::0;;;;;;48760:15:::1;48734:41:::0;;48795:33;;::::1;;::::0;48734:23;48795:33:::1;::::0;::::1;::::0;48810:6;1361:25:1;;1349:2;1334:18;;1215:177;48795:33:0::1;;;;;;;;48850:4;48843:11;;;;;48703:163;-1:-1:-1::0;48883:5:0::1;::::0;48510:386;-1:-1:-1;;;48510:386:0:o;13608:378::-;-1:-1:-1;;;;;13744:19:0;;13736:68;;;;-1:-1:-1;;;13736:68:0;;7367:2:1;13736:68:0;;;7349:21:1;7406:2;7386:18;;;7379:30;7445:34;7425:18;;;7418:62;-1:-1:-1;;;7496:18:1;;;7489:34;7540:19;;13736:68:0;7165:400:1;13736:68:0;-1:-1:-1;;;;;13823:21:0;;13815:68;;;;-1:-1:-1;;;13815:68:0;;7772:2:1;13815:68:0;;;7754:21:1;7811:2;7791:18;;;7784:30;7850:34;7830:18;;;7823:62;-1:-1:-1;;;7901:18:1;;;7894:32;7943:19;;13815:68:0;7570:398:1;13815:68:0;-1:-1:-1;;;;;13894:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;13946:32;;1361:25:1;;;13946:32:0;;1334:18:1;13946:32:0;;;;;;;13608:378;;;:::o;47074:146::-;47154:58;;-1:-1:-1;;;47154:58:0;;8175:2:1;47154:58:0;;;8157:21:1;8214:2;8194:18;;;8187:30;8253:34;8233:18;;;8226:62;-1:-1:-1;;;8304:18:1;;;8297:38;8352:19;;47154:58:0;7973:404:1;3281:226:0;3401:7;3437:12;3429:6;;;;3421:29;;;;-1:-1:-1;;;3421:29:0;;;;;;;;:::i;:::-;-1:-1:-1;3461:9:0;3473:5;3477:1;3473;:5;:::i;:::-;3461:17;3281:226;-1:-1:-1;;;;;3281:226:0:o;3515:471::-;3573:7;3818:1;3823;3818:6;3814:47;;-1:-1:-1;3848:1:0;3841:8;;3814:47;3873:9;3885:5;3889:1;3885;:5;:::i;:::-;3873:17;-1:-1:-1;3918:1:0;3909:5;3913:1;3873:17;3909:5;:::i;:::-;:10;3901:56;;;;-1:-1:-1;;;3901:56:0;;8890:2:1;3901:56:0;;;8872:21:1;8929:2;8909:18;;;8902:30;8968:34;8948:18;;;8941:62;-1:-1:-1;;;9019:18:1;;;9012:31;9060:19;;3901:56:0;8688:397:1;3901:56:0;3977:1;3515:471;-1:-1:-1;;;3515:471:0:o;6196:148::-;6252:6;6289:1;6310:6;;;;6302:15;;;;;5713:176;5769:6;;5799:5;5803:1;5799;:5;:::i;:::-;5788:16;;5829:1;5824;:6;;:16;;;;;5839:1;5834;:6;;5824:16;5823:38;;;;5850:1;5846;:5;:14;;;;;5859:1;5855;:5;5846:14;5815:47;;;;;6034:127;6090:7;6123:1;6118;:6;;6110:15;;;;;;-1:-1:-1;6151:1:0;6034:127::o;18245:449::-;-1:-1:-1;;;;;10361:18:0;;18323:22;10361:18;;;;;;;;;;;18381:27;;;18377:310;;;18425:18;18446:30;:10;18461:14;18446;:30::i;:::-;18425:51;;18491:26;18497:7;18506:10;18491:5;:26::i;:::-;18410:119;18377:310;;;18552:14;18539:10;:27;18535:152;;;18583:18;18604:30;:14;18623:10;18604:18;:30::i;:::-;18583:51;;18649:26;18655:7;18664:10;18649:5;:26::i;:::-;18568:119;18312:382;18245:449;;:::o;2948:181::-;3006:7;;3038:5;3042:1;3038;:5;:::i;:::-;3026:17;;3067:1;3062;:6;;3054:46;;;;-1:-1:-1;;;3054:46:0;;9643:2:1;3054:46:0;;;9625:21:1;9682:2;9662:18;;;9655:30;9721:29;9701:18;;;9694:57;9768:18;;3054:46:0;9441:351:1;15464:827:0;15553:7;15573:29;15605:28;15628:4;15605:22;:28::i;:::-;15573:60;-1:-1:-1;15648:25:0;;15644:621;;-1:-1:-1;;;;;15717:24:0;;;;;;:18;:24;;;;;;:83;;15764:21;15717:28;:83::i;:::-;-1:-1:-1;;;;;15690:24:0;;;;;;:18;:24;;;;;;;:110;;;;15820:46;;;;;;15844:21;1361:25:1;;1349:2;1334:18;;1215:177;15820:46:0;;;;;;;;15903:11;;15896:106;;-1:-1:-1;;;15896:106:0;;-1:-1:-1;;;;;9997:32:1;;;15896:106:0;;;9979:51:1;10046:18;;;10039:34;;;15881:12:0;;15903:11;;15896:28;;9952:18:1;;15896:106:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;15881:121;;16022:7;16017:194;;-1:-1:-1;;;;;16077:24:0;;;;;;:18;:24;;;;;;:91;;16128:21;16077:28;:91::i;:::-;-1:-1:-1;;;;;16050:24:0;;;;;;;:18;:24;;;;;:118;;;;-1:-1:-1;16050:24:0;;15464:827;-1:-1:-1;;15464:827:0:o;16017:194::-;-1:-1:-1;16232:21:0;15464:827;-1:-1:-1;;15464:827:0:o;15644:621::-;-1:-1:-1;16282:1:0;;15464:827;-1:-1:-1;;15464:827:0:o;18702:97::-;8838:6;;-1:-1:-1;;;;;8838:6:0;8099:10;8838:22;8830:67;;;;-1:-1:-1;;;8830:67:0;;;;;;;:::i;:::-;18772:11:::1;:19:::0;;-1:-1:-1;;;;;;18772:19:0::1;-1:-1:-1::0;;;;;18772:19:0;;;::::1;::::0;;;::::1;::::0;;18702:97::o;3137:136::-;3195:7;3222:43;3226:1;3229;3222:43;;;;;;;;;;;;;;;;;:3;:43::i;18807:114::-;8838:6;;-1:-1:-1;;;;;8838:6:0;8099:10;8838:22;8830:67;;;;-1:-1:-1;;;8830:67:0;;;;;;;:::i;:::-;18880:15:::1;:33:::0;;-1:-1:-1;;;;;;18880:33:0::1;-1:-1:-1::0;;;;;18880:33:0;;;::::1;::::0;;;::::1;::::0;;18807:114::o;17665:282::-;17741:27;17753:7;17762:5;17741:11;:27::i;:::-;17819:120;17885:53;17886:36;17916:5;17886:25;;:29;;:36;;;;:::i;17885:53::-;-1:-1:-1;;;;;17819:61:0;;;;;;:28;:61;;;;;;;:65;:120::i;:::-;-1:-1:-1;;;;;17779:37:0;;;;;;;:28;:37;;;;;:160;;;;-1:-1:-1;17665:282:0:o;17955:::-;18031:27;18043:7;18052:5;18031:11;:27::i;:::-;18109:120;18175:53;18176:36;18206:5;18176:25;;:29;;:36;;;;:::i;18175:53::-;-1:-1:-1;;;;;18109:61:0;;;;;;:28;:61;;;;;;;:65;:120::i;12767:374::-;-1:-1:-1;;;;;12851:21:0;;12843:65;;;;-1:-1:-1;;;12843:65:0;;10536:2:1;12843:65:0;;;10518:21:1;10575:2;10555:18;;;10548:30;10614:33;10594:18;;;10587:61;10665:18;;12843:65:0;10334:355:1;12843:65:0;12919:49;12948:1;12952:7;12961:6;12919:20;:49::i;:::-;12994:12;;:24;;13011:6;12994:16;:24::i;:::-;12979:12;:39;-1:-1:-1;;;;;13050:18:0;;:9;:18;;;;;;;;;;;:30;;13073:6;13050:22;:30::i;:::-;-1:-1:-1;;;;;13029:18:0;;:9;:18;;;;;;;;;;;:51;;;;13096:37;;1361:25:1;;;13029:18:0;;:9;;13096:37;;1334:18:1;13096:37:0;;;;;;;;12767:374;;:::o;5529:176::-;5585:6;;5615:5;5619:1;5615;:5;:::i;:::-;5604:16;;5645:1;5640;:6;;:16;;;;;5655:1;5650;:6;;5640:16;5639:38;;;;5666:1;5662;:5;:14;;;;;5675:1;5671;:5;5631:47;;;;;13149:451;-1:-1:-1;;;;;13233:21:0;;13225:67;;;;-1:-1:-1;;;13225:67:0;;11101:2:1;13225:67:0;;;11083:21:1;11140:2;11120:18;;;11113:30;11179:34;11159:18;;;11152:62;-1:-1:-1;;;11230:18:1;;;11223:31;11271:19;;13225:67:0;10899:397:1;13225:67:0;13303:49;13324:7;13341:1;13345:6;13303:20;:49::i;:::-;13384:105;13421:6;13384:105;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;13384:18:0;;:9;:18;;;;;;;;;;;;:105;:22;:105::i;:::-;-1:-1:-1;;;;;13363:18:0;;:9;:18;;;;;;;;;;:126;13515:12;;:24;;13532:6;13515:16;:24::i;:::-;13500:12;:39;13555:37;;1361:25:1;;;13581:1:0;;-1:-1:-1;;;;;13555:37:0;;;;;1349:2:1;1334:18;13555:37:0;1215:177:1;14:548;126:4;155:2;184;173:9;166:21;216:6;210:13;259:6;254:2;243:9;239:18;232:34;284:1;294:140;308:6;305:1;302:13;294:140;;;403:14;;;399:23;;393:30;369:17;;;388:2;365:26;358:66;323:10;;294:140;;;298:3;483:1;478:2;469:6;458:9;454:22;450:31;443:42;553:2;546;542:7;537:2;529:6;525:15;521:29;510:9;506:45;502:54;494:62;;;;14:548;;;;:::o;567:131::-;-1:-1:-1;;;;;642:31:1;;632:42;;622:70;;688:1;685;678:12;703:315;771:6;779;832:2;820:9;811:7;807:23;803:32;800:52;;;848:1;845;838:12;800:52;887:9;874:23;906:31;931:5;906:31;:::i;:::-;956:5;1008:2;993:18;;;;980:32;;-1:-1:-1;;;703:315:1:o;1397:180::-;1456:6;1509:2;1497:9;1488:7;1484:23;1480:32;1477:52;;;1525:1;1522;1515:12;1477:52;-1:-1:-1;1548:23:1;;1397:180;-1:-1:-1;1397:180:1:o;1805:247::-;1864:6;1917:2;1905:9;1896:7;1892:23;1888:32;1885:52;;;1933:1;1930;1923:12;1885:52;1972:9;1959:23;1991:31;2016:5;1991:31;:::i;2057:456::-;2134:6;2142;2150;2203:2;2191:9;2182:7;2178:23;2174:32;2171:52;;;2219:1;2216;2209:12;2171:52;2258:9;2245:23;2277:31;2302:5;2277:31;:::i;:::-;2327:5;-1:-1:-1;2384:2:1;2369:18;;2356:32;2397:33;2356:32;2397:33;:::i;:::-;2057:456;;2449:7;;-1:-1:-1;;;2503:2:1;2488:18;;;;2475:32;;2057:456::o;2915:388::-;2983:6;2991;3044:2;3032:9;3023:7;3019:23;3015:32;3012:52;;;3060:1;3057;3050:12;3012:52;3099:9;3086:23;3118:31;3143:5;3118:31;:::i;:::-;3168:5;-1:-1:-1;3225:2:1;3210:18;;3197:32;3238:33;3197:32;3238:33;:::i;:::-;3290:7;3280:17;;;2915:388;;;;;:::o;3636:118::-;3722:5;3715:13;3708:21;3701:5;3698:32;3688:60;;3744:1;3741;3734:12;3759:390;3832:6;3840;3893:2;3881:9;3872:7;3868:23;3864:32;3861:52;;;3909:1;3906;3899:12;3861:52;3948:9;3935:23;3967:31;3992:5;3967:31;:::i;:::-;4017:5;-1:-1:-1;4074:2:1;4059:18;;4046:32;4087:30;4046:32;4087:30;:::i;4154:380::-;4233:1;4229:12;;;;4276;;;4297:61;;4351:4;4343:6;4339:17;4329:27;;4297:61;4404:2;4396:6;4393:14;4373:18;4370:38;4367:161;;4450:10;4445:3;4441:20;4438:1;4431:31;4485:4;4482:1;4475:15;4513:4;4510:1;4503:15;4367:161;;4154:380;;;:::o;4539:356::-;4741:2;4723:21;;;4760:18;;;4753:30;4819:34;4814:2;4799:18;;4792:62;4886:2;4871:18;;4539:356::o;5393:127::-;5454:10;5449:3;5445:20;5442:1;5435:31;5485:4;5482:1;5475:15;5509:4;5506:1;5499:15;5525:217;5565:1;5591;5581:132;;5635:10;5630:3;5626:20;5623:1;5616:31;5670:4;5667:1;5660:15;5698:4;5695:1;5688:15;5581:132;-1:-1:-1;5727:9:1;;5525:217::o;8382:128::-;8449:9;;;8470:11;;;8467:37;;;8484:18;;:::i;8515:168::-;8588:9;;;8619;;8636:15;;;8630:22;;8616:37;8606:71;;8657:18;;:::i;9090:216::-;9154:9;;;9182:11;;;9129:3;9212:9;;9240:10;;9236:19;;9265:10;;9257:19;;9233:44;9230:70;;;9280:18;;:::i;:::-;9230:70;;9090:216;;;;:::o;9311:125::-;9376:9;;;9397:10;;;9394:36;;;9410:18;;:::i;10084:245::-;10151:6;10204:2;10192:9;10183:7;10179:23;10175:32;10172:52;;;10220:1;10217;10210:12;10172:52;10252:9;10246:16;10271:28;10293:5;10271:28;:::i;10694:200::-;10760:9;;;10733:4;10788:9;;10816:10;;10828:12;;;10812:29;10851:12;;;10843:21;;10809:56;10806:82;;;10868:18;;:::i
Swarm Source
ipfs://ffdc79207330408a2e0e9f1d99a227f4e0c950ef2331b02561c39b6e628f13ed
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 31 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.