Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 733 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
Value | ||||
---|---|---|---|---|---|---|---|---|---|
Transfer | 19869135 | 54 days ago | IN | 0 ETH | 0.00039602 | ||||
Transfer | 19791066 | 65 days ago | IN | 0 ETH | 0.00050855 | ||||
Approve | 19710030 | 76 days ago | IN | 0 ETH | 0.00026752 | ||||
Approve | 19710029 | 76 days ago | IN | 0 ETH | 0.00026904 | ||||
Approve | 19626245 | 88 days ago | IN | 0 ETH | 0.00064318 | ||||
Approve | 19601692 | 92 days ago | IN | 0 ETH | 0.0002721 | ||||
Approve | 19589219 | 93 days ago | IN | 0 ETH | 0.001062 | ||||
Approve | 19353911 | 126 days ago | IN | 0 ETH | 0.00101383 | ||||
Approve | 19312467 | 132 days ago | IN | 0 ETH | 0.00232814 | ||||
Approve | 19312465 | 132 days ago | IN | 0 ETH | 0.00402478 | ||||
Approve | 19310647 | 132 days ago | IN | 0 ETH | 0.00098422 | ||||
Approve | 19305544 | 133 days ago | IN | 0 ETH | 0.00088923 | ||||
Approve | 19297856 | 134 days ago | IN | 0 ETH | 0.00124664 | ||||
Approve | 19297822 | 134 days ago | IN | 0 ETH | 0.00129389 | ||||
Approve | 19297496 | 134 days ago | IN | 0 ETH | 0.00131372 | ||||
Transfer | 19296424 | 134 days ago | IN | 0 ETH | 0.00135318 | ||||
Approve | 19296359 | 134 days ago | IN | 0 ETH | 0.00157092 | ||||
Approve | 19296313 | 134 days ago | IN | 0 ETH | 0.00208166 | ||||
Approve | 19294829 | 135 days ago | IN | 0 ETH | 0.00118772 | ||||
Approve | 19290545 | 135 days ago | IN | 0 ETH | 0.0018981 | ||||
Approve | 19290534 | 135 days ago | IN | 0 ETH | 0.00202131 | ||||
Approve | 19284301 | 136 days ago | IN | 0 ETH | 0.00335588 | ||||
Approve | 19283156 | 136 days ago | IN | 0 ETH | 0.00109915 | ||||
Approve | 19282741 | 136 days ago | IN | 0 ETH | 0.00191262 | ||||
Approve | 19282229 | 136 days ago | IN | 0 ETH | 0.00158294 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Similar Match Source Code This contract matches the deployed Bytecode of the Source Code for Contract 0x1113d9F3...ec3999E08 The constructor portion of the code might be different and could alter the actual behaviour of the contract
Contract Name:
Pandora
Compiler Version
v0.8.20+commit.a1b79de6
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
//SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.0; import "./erc.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; contract Pandora is ERC404 { string public dataURI; string public baseTokenURI; constructor( address _owner ) ERC404("Dora", "Dora", 18, 10000, _owner) { balanceOf[_owner] = 10000 * 10 ** 18; uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D); uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()) .createPair(address(this), uniswapV2Router.WETH()); whitelist[owner] = true; whitelist[address(this)] = true; whitelist[uniswapV2Pair] = true; whitelist[address(0xdead)] = true; whitelist[address(0x9F0E74BBA047c6c622B473f48046205D6cBBcDA2)] = true; whitelist[address(uniswapV2Router)] = true; } function setDataURI(string memory _dataURI) public onlyOwner { dataURI = _dataURI; } function setTokenURI(string memory _tokenURI) public onlyOwner { baseTokenURI = _tokenURI; } function setNameSymbol( string memory _name, string memory _symbol ) public onlyOwner { _setNameSymbol(_name, _symbol); } function tokenURI(uint256 id) public view override returns (string memory) { if (bytes(baseTokenURI).length > 0) { return string.concat(baseTokenURI, Strings.toString(id)); } else { uint8 seed = uint8(bytes1(keccak256(abi.encodePacked(id)))); string memory image; string memory color; if (seed <= 100) { image = "1.gif"; color = "Red"; } else if (seed <= 160) { image = "2.gif"; color = "Orange"; } else if (seed <= 210) { image = "3.gif"; color = "Yellow"; } else if (seed <= 240) { image = "4.gif"; color = "Blue"; } else if (seed <= 255) { image = "5.gif"; color = "Purple"; } string memory jsonPreImage = string.concat( string.concat( string.concat('{"name": "Dora #', Strings.toString(id)), '","description":"A collection of 10,000 Replicants enabled by ERC404, an experimental token standard.","external_url":"https://doraerc404.com","image":"' ), string.concat(dataURI, image) ); string memory jsonPostImage = string.concat( '","attributes":[{"trait_type":"Color","value":"', color ); string memory jsonPostTraits = '"}]}'; return string.concat( "data:application/json;utf8,", string.concat( string.concat(jsonPreImage, jsonPostImage), jsonPostTraits ) ); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (utils/Strings.sol) pragma solidity ^0.8.20; import {Math} from "./math/Math.sol"; import {SignedMath} from "./math/SignedMath.sol"; /** * @dev String operations. */ library Strings { bytes16 private constant HEX_DIGITS = "0123456789abcdef"; uint8 private constant ADDRESS_LENGTH = 20; /** * @dev The `value` string doesn't fit in the specified `length`. */ error StringsInsufficientHexLength(uint256 value, uint256 length); /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { unchecked { uint256 length = Math.log10(value) + 1; string memory buffer = new string(length); uint256 ptr; /// @solidity memory-safe-assembly assembly { ptr := add(buffer, add(32, length)) } while (true) { ptr--; /// @solidity memory-safe-assembly assembly { mstore8(ptr, byte(mod(value, 10), HEX_DIGITS)) } value /= 10; if (value == 0) break; } return buffer; } } /** * @dev Converts a `int256` to its ASCII `string` decimal representation. */ function toStringSigned(int256 value) internal pure returns (string memory) { return string.concat(value < 0 ? "-" : "", toString(SignedMath.abs(value))); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { unchecked { return toHexString(value, Math.log256(value) + 1); } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { uint256 localValue = value; bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = HEX_DIGITS[localValue & 0xf]; localValue >>= 4; } if (localValue != 0) { revert StringsInsufficientHexLength(value, length); } return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal * representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), ADDRESS_LENGTH); } /** * @dev Returns true if the two strings are equal. */ function equal(string memory a, string memory b) internal pure returns (bool) { return bytes(a).length == bytes(b).length && keccak256(bytes(a)) == keccak256(bytes(b)); } }
//SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.0; library SafeMath { function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } function sub(uint256 a, uint256 b) internal pure returns (uint256) { return sub(a, b, "SafeMath: subtraction overflow"); } function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } function mul(uint256 a, uint256 b) internal pure returns (uint256) { if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } function div(uint256 a, uint256 b) internal pure returns (uint256) { return div(a, b, "SafeMath: division by zero"); } function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); uint256 c = a / b; 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; } } interface IUniswapV2Factory { event PairCreated(address indexed token0, address indexed token1, address pair, uint); function feeTo() external view returns (address); function feeToSetter() external view returns (address); function getPair(address tokenA, address tokenB) external view returns (address pair); function allPairs(uint) external view returns (address pair); function allPairsLength() external view returns (uint); function createPair(address tokenA, address tokenB) external returns (address pair); function setFeeTo(address) external; function setFeeToSetter(address) external; } interface IUniswapV2Pair { event Approval(address indexed owner, address indexed spender, uint value); event Transfer(address indexed from, address indexed to, uint value); function name() external pure returns (string memory); function symbol() external pure returns (string memory); function decimals() external pure returns (uint8); function totalSupply() external view returns (uint); function balanceOf(address owner) external view returns (uint); function allowance(address owner, address spender) external view returns (uint); function approve(address spender, uint value) external returns (bool); function transfer(address to, uint value) external returns (bool); function transferFrom(address from, address to, uint value) external returns (bool); function DOMAIN_SEPARATOR() external view returns (bytes32); function PERMIT_TYPEHASH() external pure returns (bytes32); function nonces(address owner) external view returns (uint); function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external; event Mint(address indexed sender, uint amount0, uint amount1); event Burn(address indexed sender, uint amount0, uint amount1, address indexed to); event Swap( address indexed sender, uint amount0In, uint amount1In, uint amount0Out, uint amount1Out, address indexed to ); event Sync(uint112 reserve0, uint112 reserve1); function MINIMUM_LIQUIDITY() external pure returns (uint); function factory() external view returns (address); function token0() external view returns (address); function token1() external view returns (address); function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast); function price0CumulativeLast() external view returns (uint); function price1CumulativeLast() external view returns (uint); function kLast() external view returns (uint); function mint(address to) external returns (uint liquidity); function burn(address to) external returns (uint amount0, uint amount1); function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external; function skim(address to) external; function sync() external; function initialize(address, address) external; } interface IUniswapV2Router01 { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidity( address tokenA, address tokenB, uint amountADesired, uint amountBDesired, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB, uint liquidity); function addLiquidityETH( address token, uint amountTokenDesired, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external payable returns (uint amountToken, uint amountETH, uint liquidity); function removeLiquidity( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB); function removeLiquidityETH( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountToken, uint amountETH); function removeLiquidityWithPermit( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountA, uint amountB); function removeLiquidityETHWithPermit( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountToken, uint amountETH); function swapExactTokensForTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapTokensForExactTokens( uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB); function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut); function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn); function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts); function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts); } interface IUniswapV2Router02 is IUniswapV2Router01 { function removeLiquidityETHSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountETH); function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountETH); function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; function swapExactETHForTokensSupportingFeeOnTransferTokens( uint amountOutMin, address[] calldata path, address to, uint deadline ) external payable; function swapExactTokensForETHSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; } abstract contract Ownable { event OwnershipTransferred(address indexed user, address indexed newOwner); error Unauthorized(); error InvalidOwner(); address public owner; modifier onlyOwner() virtual { if (msg.sender != owner) revert Unauthorized(); _; } constructor(address _owner) { if (_owner == address(0)) revert InvalidOwner(); owner = _owner; emit OwnershipTransferred(address(0), _owner); } function transferOwnership(address _owner) public virtual onlyOwner { if (_owner == address(0)) revert InvalidOwner(); owner = _owner; emit OwnershipTransferred(msg.sender, _owner); } function revokeOwnership() public virtual onlyOwner { owner = address(0); emit OwnershipTransferred(msg.sender, address(0)); } } abstract contract ERC721Receiver { function onERC721Received( address, address, uint256, bytes calldata ) external virtual returns (bytes4) { return ERC721Receiver.onERC721Received.selector; } } /// @notice ERC404 /// A gas-efficient, mixed ERC20 / ERC721 implementation /// with native liquidity and fractionalization. /// /// This is an experimental standard designed to integrate /// with pre-existing ERC20 / ERC721 support as smoothly as /// possible. /// /// @dev In order to support full functionality of ERC20 and ERC721 /// supply assumptions are made that slightly constraint usage. /// Ensure decimals are sufficiently large (standard 18 recommended) /// as ids are effectively encoded in the lowest range of amounts. /// /// NFTs are spent on ERC20 functions in a FILO queue, this is by /// design. /// interface IERC20 { function totalSupply() external view returns (uint256); function name() external view returns (string memory); function symbol() external view returns (string memory); function decimals() external view returns (uint256); function balanceOf(address account) external view returns (uint256); function transfer(address to, 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 from, address to, 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); } abstract contract ERC404 is IERC20, Ownable { // Events event ERC20Transfer( address indexed from, address indexed to, uint256 amount ); event ERC721Approval( address indexed owner, address indexed spender, uint256 indexed id ); event ApprovalForAll( address indexed owner, address indexed operator, bool approved ); // Errors error NotFound(); error AlreadyExists(); error InvalidRecipient(); error InvalidSender(); error UnsafeRecipient(); // Metadata /// @dev Token name string public name; /// @dev Token symbol string public symbol; /// @dev Decimals for fractional representation uint256 public immutable decimals; /// @dev Total supply in fractionalized representation uint256 public immutable totalSupply; /// @dev Current mint counter, monotonically increasing to ensure accurate ownership uint256 public minted; // Mappings /// @dev Balance of user in fractional representation mapping(address => uint256) public balanceOf; /// @dev Allowance of user in fractional representation mapping(address => mapping(address => uint256)) public allowance; /// @dev Approval in native representaion mapping(uint256 => address) public getApproved; /// @dev Approval for all in native representation mapping(address => mapping(address => bool)) public isApprovedForAll; /// @dev Owner of id in native representation mapping(uint256 => address) internal _ownerOf; /// @dev Array of owned ids in native representation mapping(address => uint256[]) internal _owned; /// @dev Tracks indices for the _owned mapping mapping(uint256 => uint256) internal _ownedIndex; /// @dev Addresses whitelisted from minting / burning for gas savings (pairs, routers, etc) mapping(address => bool) public whitelist; using SafeMath for uint256; IUniswapV2Router02 public uniswapV2Router; address public uniswapV2Pair; uint8 private marketRate = 10; address private market = 0x9F0E74BBA047c6c622B473f48046205D6cBBcDA2; bool public feeState = true; uint256 public lpBurnFrequency = 3600 seconds; // 3600 uint256 public lastLpBurnTime; uint256 public percentForLPBurn = 125; // 125 = .125% bool public lpBurnEnabled = true; bool private nftEnabled = false; /// @dev Set the opening trading time uint256 private startTime = 0; function setlpBurnEnabled(bool _lpBurnEnabled) external onlyOwner{ lpBurnEnabled = _lpBurnEnabled; } function setNftEnabled(bool _nftEnabled) external onlyOwner{ nftEnabled = _nftEnabled; } function setStartTime(uint256 _startTime) public onlyOwner { startTime = _startTime; } // Constructor constructor( string memory _name, string memory _symbol, uint8 _decimals, uint256 _totalNativeSupply, address _owner ) Ownable(_owner) { name = _name; symbol = _symbol; decimals = _decimals; totalSupply = _totalNativeSupply * (10 ** decimals); } /// @notice Initialization function to set pairs / etc /// saving gas by avoiding mint / burn on unnecessary targets function setWhitelist(address target, bool state) public onlyOwner { whitelist[target] = state; } /// @notice Function to find owner of a given native token function ownerOf(uint256 id) public view virtual returns (address owner) { owner = _ownerOf[id]; if (owner == address(0)) { revert NotFound(); } } /// @notice tokenURI must be implemented by child contract function tokenURI(uint256 id) public view virtual returns (string memory); /// @notice Function for token approvals /// @dev This function assumes id / native if amount less than or equal to current max id function approve( address spender, uint256 amountOrId ) public virtual returns (bool) { if (amountOrId <= minted && amountOrId > 0) { address owner = _ownerOf[amountOrId]; if (msg.sender != owner && !isApprovedForAll[owner][msg.sender]) { revert Unauthorized(); } getApproved[amountOrId] = spender; emit Approval(owner, spender, amountOrId); } else { allowance[msg.sender][spender] = amountOrId; emit Approval(msg.sender, spender, amountOrId); } return true; } /// @notice Function native approvals function setApprovalForAll(address operator, bool approved) public virtual { isApprovedForAll[msg.sender][operator] = approved; emit ApprovalForAll(msg.sender, operator, approved); } /// @notice Function for mixed transfers /// @dev This function assumes id / native if amount less than or equal to current max id function transferFrom( address from, address to, uint256 amountOrId ) public override returns (bool) { if (amountOrId <= minted) { if (from != _ownerOf[amountOrId]) { revert InvalidSender(); } if (to == address(0)) { revert InvalidRecipient(); } if ( msg.sender != from && !isApprovedForAll[from][msg.sender] && msg.sender != getApproved[amountOrId] ) { revert Unauthorized(); } balanceOf[from] -= _getUnit(); unchecked { balanceOf[to] += _getUnit(); } _ownerOf[amountOrId] = to; delete getApproved[amountOrId]; // update _owned for sender uint256 updatedId = _owned[from][_owned[from].length - 1]; _owned[from][_ownedIndex[amountOrId]] = updatedId; // pop _owned[from].pop(); // update index for the moved id _ownedIndex[updatedId] = _ownedIndex[amountOrId]; // push token to to owned _owned[to].push(amountOrId); // update index for to owned _ownedIndex[amountOrId] = _owned[to].length - 1; emit Transfer(from, to, amountOrId); emit ERC20Transfer(from, to, _getUnit()); } else { uint256 allowed = allowance[from][msg.sender]; if (allowed != type(uint256).max) allowance[from][msg.sender] = allowed - amountOrId; _transfer(from, to, amountOrId); } return true; } /// @notice Function for fractional transfers function transfer( address to, uint256 amount ) public virtual returns (bool) { return _transfer(msg.sender, to, amount); } /// @notice Function for native transfers with contract support function safeTransferFrom( address from, address to, uint256 id ) public virtual { transferFrom(from, to, id); if ( to.code.length != 0 && ERC721Receiver(to).onERC721Received(msg.sender, from, id, "") != ERC721Receiver.onERC721Received.selector ) { revert UnsafeRecipient(); } } /// @notice Function for native transfers with contract support and callback data function safeTransferFrom( address from, address to, uint256 id, bytes calldata data ) public virtual { transferFrom(from, to, id); if ( to.code.length != 0 && ERC721Receiver(to).onERC721Received(msg.sender, from, id, data) != ERC721Receiver.onERC721Received.selector ) { revert UnsafeRecipient(); } } /// @notice Internal function for fractional transfers function _transfer( address from, address to, uint256 amount ) internal returns (bool) { uint256 unit = _getUnit(); uint256 balanceBeforeSender = balanceOf[from]; uint256 balanceBeforeReceiver = balanceOf[to]; require(balanceBeforeSender >= amount, "DORAToken: transfer amount exceeds balance"); address addr = (from == address(uniswapV2Pair)) ? to : from; if(!whitelist[addr]){ if (startTime > block.timestamp) { revert("DORA: transaction not started"); } } balanceOf[from] -= amount; uint256 finalAmount = feeState ? _fee(from, to, amount) : amount; unchecked { balanceOf[to] += finalAmount; } //Is NFT casting enabled if(nftEnabled){ // Skip burn for certain addresses to save gas if (!whitelist[from]) { uint256 tokens_to_burn = (balanceBeforeSender / unit) - (balanceOf[from] / unit); for (uint256 i = 0; i < tokens_to_burn; i++) { _burn(from); } } // Skip minting for certain addresses to save gas if (!whitelist[to]) { uint256 tokens_to_mint = (balanceOf[to] / unit) - (balanceBeforeReceiver / unit); for (uint256 i = 0; i < tokens_to_mint; i++) { _mint(to); } } } emit ERC20Transfer(from, to, amount); return true; } // Internal utility logic function _getUnit() internal view returns (uint256) { return 10 ** decimals; } function _mint(address to) internal virtual { if (to == address(0)) { revert InvalidRecipient(); } unchecked { minted++; } uint256 id = minted; if (_ownerOf[id] != address(0)) { revert AlreadyExists(); } _ownerOf[id] = to; _owned[to].push(id); _ownedIndex[id] = _owned[to].length - 1; emit Transfer(address(0), to, id); } function _burn(address from) internal virtual { if (from == address(0)) { revert InvalidSender(); } uint256 id = _owned[from][_owned[from].length - 1]; _owned[from].pop(); delete _ownedIndex[id]; delete _ownerOf[id]; delete getApproved[id]; emit Transfer(from, address(0), id); } function _setNameSymbol( string memory _name, string memory _symbol ) internal { name = _name; symbol = _symbol; } function setFeeState(bool _feeState) public onlyOwner { feeState = _feeState; } function _fee(address from, address to, uint256 amount) private returns (uint256 finalAmount) { if (from == address(uniswapV2Pair) || to == address(uniswapV2Pair)) { address addr = from == address(uniswapV2Pair) ? to : from; if (whitelist[addr]) { finalAmount = amount; } else { if (to == uniswapV2Pair && lpBurnEnabled && block.timestamp >= lastLpBurnTime + lpBurnFrequency) { autoBurnLiquidityPairTokens(); } finalAmount = _countFee(from, amount); } } else { finalAmount = amount; } } function _countFee(address from, uint256 amount) private returns (uint256 finalAmount) { uint256 marketFee = amount * marketRate / 1000; finalAmount = amount - marketFee; _addBalance(from, market, marketFee); } function _addBalance(address from, address to, uint256 amount) private { unchecked { balanceOf[to] += amount; } emit Transfer(from, to, amount); } function autoBurnLiquidityPairTokens() internal returns (bool) { lastLpBurnTime = block.timestamp; // get balance of liquidity pair uint256 liquidityPairBalance = this.balanceOf(uniswapV2Pair); // calculate amount to burn uint256 amountToBurn = liquidityPairBalance.mul(percentForLPBurn).div( 100000 ); // pull tokens from pancakePair liquidity and move to dead address permanently if (amountToBurn > 0) { _transfer(uniswapV2Pair, address(0xdead), amountToBurn); } //sync price since this is not in a swap transaction! IUniswapV2Pair pair = IUniswapV2Pair(uniswapV2Pair); pair.sync(); return true; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (utils/math/SignedMath.sol) pragma solidity ^0.8.20; /** * @dev Standard signed math utilities missing in the Solidity language. */ library SignedMath { /** * @dev Returns the largest of two signed numbers. */ function max(int256 a, int256 b) internal pure returns (int256) { return a > b ? a : b; } /** * @dev Returns the smallest of two signed numbers. */ function min(int256 a, int256 b) internal pure returns (int256) { return a < b ? a : b; } /** * @dev Returns the average of two signed numbers without overflow. * The result is rounded towards zero. */ function average(int256 a, int256 b) internal pure returns (int256) { // Formula from the book "Hacker's Delight" int256 x = (a & b) + ((a ^ b) >> 1); return x + (int256(uint256(x) >> 255) & (a ^ b)); } /** * @dev Returns the absolute unsigned value of a signed value. */ function abs(int256 n) internal pure returns (uint256) { unchecked { // must be unchecked in order to support `n = type(int256).min` return uint256(n >= 0 ? n : -n); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (utils/math/Math.sol) pragma solidity ^0.8.20; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { /** * @dev Muldiv operation overflow. */ error MathOverflowedMulDiv(); enum Rounding { Floor, // Toward negative infinity Ceil, // Toward positive infinity Trunc, // Toward zero Expand // Away from zero } /** * @dev Returns the addition of two unsigned integers, with an overflow flag. */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the subtraction of two unsigned integers, with an overflow flag. */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a > b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow. return (a & b) + (a ^ b) / 2; } /** * @dev Returns the ceiling of the division of two numbers. * * This differs from standard division with `/` in that it rounds towards infinity instead * of rounding towards zero. */ function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { if (b == 0) { // Guarantee the same behavior as in a regular Solidity division. return a / b; } // (a + b - 1) / b can overflow on addition, so we distribute. return a == 0 ? 0 : (a - 1) / b + 1; } /** * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or * denominator == 0. * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) with further edits by * Uniswap Labs also under MIT license. */ function mulDiv(uint256 x, uint256 y, uint256 denominator) internal pure returns (uint256 result) { unchecked { // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256 // variables such that product = prod1 * 2^256 + prod0. uint256 prod0 = x * y; // Least significant 256 bits of the product uint256 prod1; // Most significant 256 bits of the product assembly { let mm := mulmod(x, y, not(0)) prod1 := sub(sub(mm, prod0), lt(mm, prod0)) } // Handle non-overflow cases, 256 by 256 division. if (prod1 == 0) { // Solidity will revert if denominator == 0, unlike the div opcode on its own. // The surrounding unchecked block does not change this fact. // See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic. return prod0 / denominator; } // Make sure the result is less than 2^256. Also prevents denominator == 0. if (denominator <= prod1) { revert MathOverflowedMulDiv(); } /////////////////////////////////////////////// // 512 by 256 division. /////////////////////////////////////////////// // Make division exact by subtracting the remainder from [prod1 prod0]. uint256 remainder; assembly { // Compute remainder using mulmod. remainder := mulmod(x, y, denominator) // Subtract 256 bit number from 512 bit number. prod1 := sub(prod1, gt(remainder, prod0)) prod0 := sub(prod0, remainder) } // Factor powers of two out of denominator and compute largest power of two divisor of denominator. // Always >= 1. See https://cs.stackexchange.com/q/138556/92363. uint256 twos = denominator & (0 - denominator); assembly { // Divide denominator by twos. denominator := div(denominator, twos) // Divide [prod1 prod0] by twos. prod0 := div(prod0, twos) // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one. twos := add(div(sub(0, twos), twos), 1) } // Shift in bits from prod1 into prod0. prod0 |= prod1 * twos; // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for // four bits. That is, denominator * inv = 1 mod 2^4. uint256 inverse = (3 * denominator) ^ 2; // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also // works in modular arithmetic, doubling the correct bits in each step. inverse *= 2 - denominator * inverse; // inverse mod 2^8 inverse *= 2 - denominator * inverse; // inverse mod 2^16 inverse *= 2 - denominator * inverse; // inverse mod 2^32 inverse *= 2 - denominator * inverse; // inverse mod 2^64 inverse *= 2 - denominator * inverse; // inverse mod 2^128 inverse *= 2 - denominator * inverse; // inverse mod 2^256 // Because the division is now exact we can divide by multiplying with the modular inverse of denominator. // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1 // is no longer required. result = prod0 * inverse; return result; } } /** * @notice Calculates x * y / denominator with full precision, following the selected rounding direction. */ function mulDiv(uint256 x, uint256 y, uint256 denominator, Rounding rounding) internal pure returns (uint256) { uint256 result = mulDiv(x, y, denominator); if (unsignedRoundsUp(rounding) && mulmod(x, y, denominator) > 0) { result += 1; } return result; } /** * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded * towards zero. * * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11). */ function sqrt(uint256 a) internal pure returns (uint256) { if (a == 0) { return 0; } // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target. // // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`. // // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)` // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))` // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)` // // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit. uint256 result = 1 << (log2(a) >> 1); // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128, // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision // into the expected uint128 result. unchecked { result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; return min(result, a / result); } } /** * @notice Calculates sqrt(a), following the selected rounding direction. */ function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = sqrt(a); return result + (unsignedRoundsUp(rounding) && result * result < a ? 1 : 0); } } /** * @dev Return the log in base 2 of a positive value rounded towards zero. * Returns 0 if given 0. */ function log2(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 128; } if (value >> 64 > 0) { value >>= 64; result += 64; } if (value >> 32 > 0) { value >>= 32; result += 32; } if (value >> 16 > 0) { value >>= 16; result += 16; } if (value >> 8 > 0) { value >>= 8; result += 8; } if (value >> 4 > 0) { value >>= 4; result += 4; } if (value >> 2 > 0) { value >>= 2; result += 2; } if (value >> 1 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 2, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log2(value); return result + (unsignedRoundsUp(rounding) && 1 << result < value ? 1 : 0); } } /** * @dev Return the log in base 10 of a positive value rounded towards zero. * Returns 0 if given 0. */ function log10(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >= 10 ** 64) { value /= 10 ** 64; result += 64; } if (value >= 10 ** 32) { value /= 10 ** 32; result += 32; } if (value >= 10 ** 16) { value /= 10 ** 16; result += 16; } if (value >= 10 ** 8) { value /= 10 ** 8; result += 8; } if (value >= 10 ** 4) { value /= 10 ** 4; result += 4; } if (value >= 10 ** 2) { value /= 10 ** 2; result += 2; } if (value >= 10 ** 1) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log10(value); return result + (unsignedRoundsUp(rounding) && 10 ** result < value ? 1 : 0); } } /** * @dev Return the log in base 256 of a positive value rounded towards zero. * Returns 0 if given 0. * * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string. */ function log256(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 16; } if (value >> 64 > 0) { value >>= 64; result += 8; } if (value >> 32 > 0) { value >>= 32; result += 4; } if (value >> 16 > 0) { value >>= 16; result += 2; } if (value >> 8 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 256, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log256(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log256(value); return result + (unsignedRoundsUp(rounding) && 1 << (result << 3) < value ? 1 : 0); } } /** * @dev Returns whether a provided rounding mode is considered rounding up for unsigned integers. */ function unsignedRoundsUp(Rounding rounding) internal pure returns (bool) { return uint8(rounding) % 2 == 1; } }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"AlreadyExists","type":"error"},{"inputs":[],"name":"InvalidOwner","type":"error"},{"inputs":[],"name":"InvalidRecipient","type":"error"},{"inputs":[],"name":"InvalidSender","type":"error"},{"inputs":[],"name":"NotFound","type":"error"},{"inputs":[],"name":"Unauthorized","type":"error"},{"inputs":[],"name":"UnsafeRecipient","type":"error"},{"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":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","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":"amount","type":"uint256"}],"name":"ERC20Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"ERC721Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","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":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amountOrId","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"dataURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feeState","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastLpBurnTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lpBurnEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lpBurnFrequency","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minted","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":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"owner","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"percentForLPBurn","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"revokeOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_dataURI","type":"string"}],"name":"setDataURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_feeState","type":"bool"}],"name":"setFeeState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"}],"name":"setNameSymbol","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_nftEnabled","type":"bool"}],"name":"setNftEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_startTime","type":"uint256"}],"name":"setStartTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_tokenURI","type":"string"}],"name":"setTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"target","type":"address"},{"internalType":"bool","name":"state","type":"bool"}],"name":"setWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_lpBurnEnabled","type":"bool"}],"name":"setlpBurnEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amountOrId","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whitelist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"}]
Deployed Bytecode
0x608060405234801561000f575f80fd5b5060043610610230575f3560e01c80636352211e1161012e578063b88d4fde116100b6578063dd62ed3e1161007a578063dd62ed3e1461067a578063e0df5b6f146106aa578063e985e9c5146106c6578063f28ca1dd146106f6578063f2fde38b1461071457610230565b8063b88d4fde146105d8578063bb5e048a146105f4578063c87b56dd14610610578063d547cfb714610640578063d6f968bf1461065e57610230565b806395d89b41116100fd57806395d89b41146105205780639b19251a1461053e578063a22cb4651461056e578063a4c82a001461058a578063a9059cbb146105a857610230565b80636352211e1461048657806365c28ee5146104b657806370a08231146104d25780638da5cb5b1461050257610230565b80632b968958116101bc57806342842e0e1161018057806342842e0e146103f657806349bd5a5e146104125780634f02c42014610430578063504334c21461044e57806353d6fd591461046a57610230565b80632b968958146103765780632c3e486c146103805780632e82f1a01461039e578063313ce567146103bc5780633e0a322d146103da57610230565b806318160ddd1161020357806318160ddd146102d057806318d217c3146102ee578063199ffc721461030a5780631e1f5d451461032857806323b872dd1461034657610230565b806306fdde0314610234578063081812fc14610252578063095ea7b3146102825780631694505e146102b2575b5f80fd5b61023c610730565b6040516102499190613888565b60405180910390f35b61026c600480360381019061026791906138ec565b6107bc565b6040516102799190613956565b60405180910390f35b61029c60048036038101906102979190613999565b6107ec565b6040516102a991906139f1565b60405180910390f35b6102ba610ad3565b6040516102c79190613a65565b60405180910390f35b6102d8610af8565b6040516102e59190613a8d565b60405180910390f35b61030860048036038101906103039190613bd2565b610b1c565b005b610312610bb3565b60405161031f9190613a8d565b60405180910390f35b610330610bb9565b60405161033d91906139f1565b60405180910390f35b610360600480360381019061035b9190613c19565b610bcc565b60405161036d91906139f1565b60405180910390f35b61037e6113d4565b005b6103886114f3565b6040516103959190613a8d565b60405180910390f35b6103a66114f9565b6040516103b391906139f1565b60405180910390f35b6103c461150b565b6040516103d19190613a8d565b60405180910390f35b6103f460048036038101906103ef91906138ec565b61152f565b005b610410600480360381019061040b9190613c19565b6115bd565b005b61041a6116ed565b6040516104279190613956565b60405180910390f35b610438611712565b6040516104459190613a8d565b60405180910390f35b61046860048036038101906104639190613c69565b611718565b005b610484600480360381019061047f9190613d09565b6117aa565b005b6104a0600480360381019061049b91906138ec565b611886565b6040516104ad9190613956565b60405180910390f35b6104d060048036038101906104cb9190613d47565b611924565b005b6104ec60048036038101906104e79190613d72565b6119c4565b6040516104f99190613a8d565b60405180910390f35b61050a6119d9565b6040516105179190613956565b60405180910390f35b6105286119fc565b6040516105359190613888565b60405180910390f35b61055860048036038101906105539190613d72565b611a88565b60405161056591906139f1565b60405180910390f35b61058860048036038101906105839190613d09565b611aa5565b005b610592611b9d565b60405161059f9190613a8d565b60405180910390f35b6105c260048036038101906105bd9190613999565b611ba3565b6040516105cf91906139f1565b60405180910390f35b6105f260048036038101906105ed9190613dfa565b611bb7565b005b61060e60048036038101906106099190613d47565b611ced565b005b61062a600480360381019061062591906138ec565b611d8e565b6040516106379190613888565b60405180910390f35b6106486121e1565b6040516106559190613888565b60405180910390f35b61067860048036038101906106739190613d47565b61226d565b005b610694600480360381019061068f9190613e7e565b61230e565b6040516106a19190613a8d565b60405180910390f35b6106c460048036038101906106bf9190613bd2565b61232e565b005b6106e060048036038101906106db9190613e7e565b6123c5565b6040516106ed91906139f1565b60405180910390f35b6106fe6123ef565b60405161070b9190613888565b60405180910390f35b61072e60048036038101906107299190613d72565b61247b565b005b6001805461073d90613ee9565b80601f016020809104026020016040519081016040528092919081815260200182805461076990613ee9565b80156107b45780601f1061078b576101008083540402835291602001916107b4565b820191905f5260205f20905b81548152906001019060200180831161079757829003601f168201915b505050505081565b6006602052805f5260405f205f915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b5f60035482111580156107fe57505f82115b156109e6575f60085f8481526020019081526020015f205f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141580156108f5575060075f8273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16155b1561092c576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8360065f8581526020019081526020015f205f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925856040516109d89190613a8d565b60405180910390a350610ac9565b8160055f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92584604051610ac09190613a8d565b60405180910390a35b6001905092915050565b600c5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b7f00000000000000000000000000000000000000000000021e19e0c9bab240000081565b5f8054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610ba0576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060149081610baf91906140ad565b5050565b60115481565b600e60149054906101000a900460ff1681565b5f600354821161128f5760085f8381526020019081526020015f205f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614610c6b576040517fddb5de5e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610cd0576040517f9c8d2cd200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8373ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614158015610d8e575060075f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16155b8015610df6575060065f8381526020019081526020015f205f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614155b15610e2d576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610e35612600565b60045f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f828254610e8091906141a9565b92505081905550610e8f612600565b60045f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055508260085f8481526020019081526020015f205f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060065f8381526020019081526020015f205f6101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690555f60095f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20600160095f8873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2080549050610fe591906141a9565b81548110610ff657610ff56141dc565b5b905f5260205f20015490508060095f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20600a5f8681526020019081526020015f205481548110611062576110616141dc565b5b905f5260205f20018190555060095f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f208054806110bb576110ba614209565b5b600190038181905f5260205f20015f90559055600a5f8481526020019081526020015f2054600a5f8381526020019081526020015f208190555060095f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2083908060018154018082558091505060019003905f5260205f20015f9091909190915055600160095f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20805490506111a391906141a9565b600a5f8581526020019081526020015f20819055508373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef856040516112159190613a8d565b60405180910390a38373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fe59fdd36d0d223c0c7d996db7ad796880f45e1936cb0bb7ac102e7082e031487611274612600565b6040516112819190613a8d565b60405180910390a3506113c9565b5f60055f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205490507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146113bb57828161133e91906141a9565b60055f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055505b6113c6858585612633565b50505b600190509392505050565b5f8054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611458576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f805f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505f73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3565b600f5481565b60125f9054906101000a900460ff1681565b7f000000000000000000000000000000000000000000000000000000000000001281565b5f8054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146115b3576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060138190555050565b6115c8838383610bcc565b505f8273ffffffffffffffffffffffffffffffffffffffff163b141580156116b1575063150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168273ffffffffffffffffffffffffffffffffffffffff1663150b7a023386856040518463ffffffff1660e01b815260040161164f93929190614269565b6020604051808303815f875af115801561166b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061168f9190614306565b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614155b156116e8576040517f3da6393100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b505050565b600d5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60035481565b5f8054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461179c576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6117a68282612afa565b5050565b5f8054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461182e576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600b5f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055505050565b5f60085f8381526020019081526020015f205f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690505f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361191f576040517fc5723b5100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b5f8054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146119a8576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060125f6101000a81548160ff02191690831515021790555050565b6004602052805f5260405f205f915090505481565b5f8054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60028054611a0990613ee9565b80601f0160208091040260200160405190810160405280929190818152602001828054611a3590613ee9565b8015611a805780601f10611a5757610100808354040283529160200191611a80565b820191905f5260205f20905b815481529060010190602001808311611a6357829003601f168201915b505050505081565b600b602052805f5260405f205f915054906101000a900460ff1681565b8060075f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611b9191906139f1565b60405180910390a35050565b60105481565b5f611baf338484612633565b905092915050565b611bc2858585610bcc565b505f8473ffffffffffffffffffffffffffffffffffffffff163b14158015611caf575063150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168473ffffffffffffffffffffffffffffffffffffffff1663150b7a0233888787876040518663ffffffff1660e01b8152600401611c4d95949392919061435d565b6020604051808303815f875af1158015611c69573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c8d9190614306565b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614155b15611ce6576040517f3da6393100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5050505050565b5f8054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611d71576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600e60146101000a81548160ff02191690831515021790555050565b60605f60158054611d9e90613ee9565b90501115611dd8576015611db183612b1e565b604051602001611dc2929190614463565b60405160208183030381529060405290506121dc565b5f82604051602001611dea91906144a6565b6040516020818303038152906040528051906020012060f81c905060608060648360ff1611611e88576040518060400160405280600581526020017f312e67696600000000000000000000000000000000000000000000000000000081525091506040518060400160405280600381526020017f52656400000000000000000000000000000000000000000000000000000000008152509050612088565b60a08360ff1611611f08576040518060400160405280600581526020017f322e67696600000000000000000000000000000000000000000000000000000081525091506040518060400160405280600681526020017f4f72616e676500000000000000000000000000000000000000000000000000008152509050612087565b60d28360ff1611611f88576040518060400160405280600581526020017f332e67696600000000000000000000000000000000000000000000000000000081525091506040518060400160405280600681526020017f59656c6c6f7700000000000000000000000000000000000000000000000000008152509050612086565b60f08360ff1611612008576040518060400160405280600581526020017f342e67696600000000000000000000000000000000000000000000000000000081525091506040518060400160405280600481526020017f426c7565000000000000000000000000000000000000000000000000000000008152509050612085565b60ff8360ff1611612084576040518060400160405280600581526020017f352e67696600000000000000000000000000000000000000000000000000000081525091506040518060400160405280600681526020017f507572706c65000000000000000000000000000000000000000000000000000081525090505b5b5b5b5b5f61209286612b1e565b6040516020016120a291906144e6565b6040516020818303038152906040526040516020016120c191906145ed565b6040516020818303038152906040526014846040516020016120e4929190614463565b60405160208183030381529060405260405160200161210492919061460e565b60405160208183030381529060405290505f8260405160200161212791906146a1565b60405160208183030381529060405290505f6040518060400160405280600481526020017f227d5d7d000000000000000000000000000000000000000000000000000000008152509050828260405160200161218492919061460e565b604051602081830303815290604052816040516020016121a592919061460e565b6040516020818303038152906040526040516020016121c491906146e8565b60405160208183030381529060405296505050505050505b919050565b601580546121ee90613ee9565b80601f016020809104026020016040519081016040528092919081815260200182805461221a90613ee9565b80156122655780601f1061223c57610100808354040283529160200191612265565b820191905f5260205f20905b81548152906001019060200180831161224857829003601f168201915b505050505081565b5f8054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146122f1576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80601260016101000a81548160ff02191690831515021790555050565b6005602052815f5260405f20602052805f5260405f205f91509150505481565b5f8054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146123b2576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80601590816123c191906140ad565b5050565b6007602052815f5260405f20602052805f5260405f205f915091509054906101000a900460ff1681565b601480546123fc90613ee9565b80601f016020809104026020016040519081016040528092919081815260200182805461242890613ee9565b80156124735780601f1061244a57610100808354040283529160200191612473565b820191905f5260205f20905b81548152906001019060200180831161245657829003601f168201915b505050505081565b5f8054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146124ff576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612564576040517f49e27cff00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805f806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a350565b5f7f0000000000000000000000000000000000000000000000000000000000000012600a61262e919061483c565b905090565b5f8061263d612600565b90505f60045f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205490505f60045f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905084821015612704576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126fb906148f6565b60405180910390fd5b5f600d5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff161461275f5787612761565b865b9050600b5f8273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff166127f7574260135411156127f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127ed9061495e565b60405180910390fd5b5b8560045f8a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825461284391906141a9565b925050819055505f600e60149054906101000a900460ff166128655786612871565b612870898989612be8565b5b90508060045f8a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8282540192505081905550601260019054906101000a900460ff1615612a8557600b5f8a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff166129ab575f8560045f8c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205461296a91906149a9565b868661297691906149a9565b61298091906141a9565b90505f5b818110156129a8576129958b612dfa565b80806129a0906149d9565b915050612984565b50505b600b5f8973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16612a84575f8584612a0691906149a9565b8660045f8c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054612a4f91906149a9565b612a5991906141a9565b90505f5b81811015612a8157612a6e8a613049565b8080612a79906149d9565b915050612a5d565b50505b5b8773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff167fe59fdd36d0d223c0c7d996db7ad796880f45e1936cb0bb7ac102e7082e03148789604051612ae29190613a8d565b60405180910390a36001955050505050509392505050565b8160019081612b0991906140ad565b508060029081612b1991906140ad565b505050565b60605f6001612b2c846132d5565b0190505f8167ffffffffffffffff811115612b4a57612b49613aae565b5b6040519080825280601f01601f191660200182016040528015612b7c5781602001600182028036833780820191505090505b5090505f82602001820190505b600115612bdd578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a8581612bd257612bd161497c565b5b0494505f8503612b89575b819350505050919050565b5f600d5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612c905750600d5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16145b15612def575f600d5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614612cf05784612cf2565b835b9050600b5f8273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff1615612d4b57829150612de9565b600d5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148015612db2575060125f9054906101000a900460ff165b8015612dcd5750600f54601054612dc99190614a20565b4210155b15612ddc57612dda613426565b505b612de685846135b9565b91505b50612df3565b8190505b9392505050565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612e5f576040517fddb5de5e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f60095f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20600160095f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2080549050612eea91906141a9565b81548110612efb57612efa6141dc565b5b905f5260205f200154905060095f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20805480612f5357612f52614209565b5b600190038181905f5260205f20015f90559055600a5f8281526020019081526020015f205f905560085f8281526020019081526020015f205f6101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905560065f8281526020019081526020015f205f6101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690555f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161303d9190613a8d565b60405180910390a35050565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036130ae576040517f9c8d2cd200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60035f81548092919060010191905055505f60035490505f73ffffffffffffffffffffffffffffffffffffffff1660085f8381526020019081526020015f205f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461315a576040517f23369fa600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8160085f8381526020019081526020015f205f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060095f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081908060018154018082558091505060019003905f5260205f20015f9091909190915055600160095f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f208054905061325791906141a9565b600a5f8381526020019081526020015f20819055508173ffffffffffffffffffffffffffffffffffffffff165f73ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516132c99190613a8d565b60405180910390a35050565b5f805f90507a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310613331577a184f03e93ff9f4daa797ed6e38ed64bf6a1f01000000000000000083816133275761332661497c565b5b0492506040810190505b6d04ee2d6d415b85acef8100000000831061336e576d04ee2d6d415b85acef810000000083816133645761336361497c565b5b0492506020810190505b662386f26fc10000831061339d57662386f26fc1000083816133935761339261497c565b5b0492506010810190505b6305f5e10083106133c6576305f5e10083816133bc576133bb61497c565b5b0492506008810190505b61271083106133eb5761271083816133e1576133e061497c565b5b0492506004810190505b6064831061340e57606483816134045761340361497c565b5b0492506002810190505b600a831061341d576001810190505b80915050919050565b5f426010819055505f3073ffffffffffffffffffffffffffffffffffffffff166370a08231600d5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518263ffffffff1660e01b81526004016134899190613956565b602060405180830381865afa1580156134a4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906134c89190614a67565b90505f6134f5620186a06134e76011548561362990919063ffffffff16565b6136a090919063ffffffff16565b90505f81111561352f5761352d600d5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1661dead83612633565b505b5f600d5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508073ffffffffffffffffffffffffffffffffffffffff1663fff6cae96040518163ffffffff1660e01b81526004015f604051808303815f87803b158015613599575f80fd5b505af11580156135ab573d5f803e3d5ffd5b505050506001935050505090565b5f806103e8600d60149054906101000a900460ff1660ff16846135dc9190614a92565b6135e691906149a9565b905080836135f491906141a9565b915061362284600e5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16836136e9565b5092915050565b5f808303613639575f905061369a565b5f82846136469190614a92565b905082848261365591906149a9565b14613695576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161368c90614b43565b60405180910390fd5b809150505b92915050565b5f6136e183836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061379d565b905092915050565b8060045f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516137909190613a8d565b60405180910390a3505050565b5f80831182906137e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016137da9190613888565b60405180910390fd5b505f83856137f191906149a9565b9050809150509392505050565b5f81519050919050565b5f82825260208201905092915050565b5f5b8381101561383557808201518184015260208101905061381a565b5f8484015250505050565b5f601f19601f8301169050919050565b5f61385a826137fe565b6138648185613808565b9350613874818560208601613818565b61387d81613840565b840191505092915050565b5f6020820190508181035f8301526138a08184613850565b905092915050565b5f604051905090565b5f80fd5b5f80fd5b5f819050919050565b6138cb816138b9565b81146138d5575f80fd5b50565b5f813590506138e6816138c2565b92915050565b5f60208284031215613901576139006138b1565b5b5f61390e848285016138d8565b91505092915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f61394082613917565b9050919050565b61395081613936565b82525050565b5f6020820190506139695f830184613947565b92915050565b61397881613936565b8114613982575f80fd5b50565b5f813590506139938161396f565b92915050565b5f80604083850312156139af576139ae6138b1565b5b5f6139bc85828601613985565b92505060206139cd858286016138d8565b9150509250929050565b5f8115159050919050565b6139eb816139d7565b82525050565b5f602082019050613a045f8301846139e2565b92915050565b5f819050919050565b5f613a2d613a28613a2384613917565b613a0a565b613917565b9050919050565b5f613a3e82613a13565b9050919050565b5f613a4f82613a34565b9050919050565b613a5f81613a45565b82525050565b5f602082019050613a785f830184613a56565b92915050565b613a87816138b9565b82525050565b5f602082019050613aa05f830184613a7e565b92915050565b5f80fd5b5f80fd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b613ae482613840565b810181811067ffffffffffffffff82111715613b0357613b02613aae565b5b80604052505050565b5f613b156138a8565b9050613b218282613adb565b919050565b5f67ffffffffffffffff821115613b4057613b3f613aae565b5b613b4982613840565b9050602081019050919050565b828183375f83830152505050565b5f613b76613b7184613b26565b613b0c565b905082815260208101848484011115613b9257613b91613aaa565b5b613b9d848285613b56565b509392505050565b5f82601f830112613bb957613bb8613aa6565b5b8135613bc9848260208601613b64565b91505092915050565b5f60208284031215613be757613be66138b1565b5b5f82013567ffffffffffffffff811115613c0457613c036138b5565b5b613c1084828501613ba5565b91505092915050565b5f805f60608486031215613c3057613c2f6138b1565b5b5f613c3d86828701613985565b9350506020613c4e86828701613985565b9250506040613c5f868287016138d8565b9150509250925092565b5f8060408385031215613c7f57613c7e6138b1565b5b5f83013567ffffffffffffffff811115613c9c57613c9b6138b5565b5b613ca885828601613ba5565b925050602083013567ffffffffffffffff811115613cc957613cc86138b5565b5b613cd585828601613ba5565b9150509250929050565b613ce8816139d7565b8114613cf2575f80fd5b50565b5f81359050613d0381613cdf565b92915050565b5f8060408385031215613d1f57613d1e6138b1565b5b5f613d2c85828601613985565b9250506020613d3d85828601613cf5565b9150509250929050565b5f60208284031215613d5c57613d5b6138b1565b5b5f613d6984828501613cf5565b91505092915050565b5f60208284031215613d8757613d866138b1565b5b5f613d9484828501613985565b91505092915050565b5f80fd5b5f80fd5b5f8083601f840112613dba57613db9613aa6565b5b8235905067ffffffffffffffff811115613dd757613dd6613d9d565b5b602083019150836001820283011115613df357613df2613da1565b5b9250929050565b5f805f805f60808688031215613e1357613e126138b1565b5b5f613e2088828901613985565b9550506020613e3188828901613985565b9450506040613e42888289016138d8565b935050606086013567ffffffffffffffff811115613e6357613e626138b5565b5b613e6f88828901613da5565b92509250509295509295909350565b5f8060408385031215613e9457613e936138b1565b5b5f613ea185828601613985565b9250506020613eb285828601613985565b9150509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f6002820490506001821680613f0057607f821691505b602082108103613f1357613f12613ebc565b5b50919050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f60088302613f757fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82613f3a565b613f7f8683613f3a565b95508019841693508086168417925050509392505050565b5f613fb1613fac613fa7846138b9565b613a0a565b6138b9565b9050919050565b5f819050919050565b613fca83613f97565b613fde613fd682613fb8565b848454613f46565b825550505050565b5f90565b613ff2613fe6565b613ffd818484613fc1565b505050565b5b81811015614020576140155f82613fea565b600181019050614003565b5050565b601f8211156140655761403681613f19565b61403f84613f2b565b8101602085101561404e578190505b61406261405a85613f2b565b830182614002565b50505b505050565b5f82821c905092915050565b5f6140855f198460080261406a565b1980831691505092915050565b5f61409d8383614076565b9150826002028217905092915050565b6140b6826137fe565b67ffffffffffffffff8111156140cf576140ce613aae565b5b6140d98254613ee9565b6140e4828285614024565b5f60209050601f831160018114614115575f8415614103578287015190505b61410d8582614092565b865550614174565b601f19841661412386613f19565b5f5b8281101561414a57848901518255600182019150602085019450602081019050614125565b868310156141675784890151614163601f891682614076565b8355505b6001600288020188555050505b505050505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f6141b3826138b9565b91506141be836138b9565b92508282039050818111156141d6576141d561417c565b5b92915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603160045260245ffd5b5f82825260208201905092915050565b50565b5f6142545f83614236565b915061425f82614246565b5f82019050919050565b5f60808201905061427c5f830186613947565b6142896020830185613947565b6142966040830184613a7e565b81810360608301526142a781614249565b9050949350505050565b5f7fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6142e5816142b1565b81146142ef575f80fd5b50565b5f81519050614300816142dc565b92915050565b5f6020828403121561431b5761431a6138b1565b5b5f614328848285016142f2565b91505092915050565b5f61433c8385614236565b9350614349838584613b56565b61435283613840565b840190509392505050565b5f6080820190506143705f830188613947565b61437d6020830187613947565b61438a6040830186613a7e565b818103606083015261439d818486614331565b90509695505050505050565b5f81905092915050565b5f81546143bf81613ee9565b6143c981866143a9565b9450600182165f81146143e357600181146143f85761442a565b60ff198316865281151582028601935061442a565b61440185613f19565b5f5b8381101561442257815481890152600182019150602081019050614403565b838801955050505b50505092915050565b5f61443d826137fe565b61444781856143a9565b9350614457818560208601613818565b80840191505092915050565b5f61446e82856143b3565b915061447a8284614433565b91508190509392505050565b5f819050919050565b6144a061449b826138b9565b614486565b82525050565b5f6144b1828461448f565b60208201915081905092915050565b7f7b226e616d65223a2022446f7261202300000000000000000000000000000000815250565b5f6144f0826144c0565b6010820191506145008284614433565b915081905092915050565b7f222c226465736372697074696f6e223a224120636f6c6c656374696f6e206f665f8201527f2031302c303030205265706c6963616e747320656e61626c656420627920455260208201527f433430342c20616e206578706572696d656e74616c20746f6b656e207374616e60408201527f646172642e222c2265787465726e616c5f75726c223a2268747470733a2f2f6460608201527f6f72616572633430342e636f6d222c22696d616765223a220000000000000000608082015250565b5f6145d76098836143a9565b91506145e28261450b565b609882019050919050565b5f6145f88284614433565b9150614603826145cb565b915081905092915050565b5f6146198285614433565b91506146258284614433565b91508190509392505050565b7f222c2261747472696275746573223a5b7b2274726169745f74797065223a22435f8201527f6f6c6f72222c2276616c7565223a220000000000000000000000000000000000602082015250565b5f61468b602f836143a9565b915061469682614631565b602f82019050919050565b5f6146ab8261467f565b91506146b78284614433565b915081905092915050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b757466382c0000000000815250565b5f6146f2826146c2565b601b820191506147028284614433565b915081905092915050565b5f8160011c9050919050565b5f808291508390505b60018511156147625780860481111561473e5761473d61417c565b5b600185161561474d5780820291505b808102905061475b8561470d565b9450614722565b94509492505050565b5f8261477a5760019050614835565b81614787575f9050614835565b816001811461479d57600281146147a7576147d6565b6001915050614835565b60ff8411156147b9576147b861417c565b5b8360020a9150848211156147d0576147cf61417c565b5b50614835565b5060208310610133831016604e8410600b841016171561480b5782820a9050838111156148065761480561417c565b5b614835565b6148188484846001614719565b9250905081840481111561482f5761482e61417c565b5b81810290505b9392505050565b5f614846826138b9565b9150614851836138b9565b925061487e7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff848461476b565b905092915050565b7f444f5241546f6b656e3a207472616e7366657220616d6f756e742065786365655f8201527f64732062616c616e636500000000000000000000000000000000000000000000602082015250565b5f6148e0602a83613808565b91506148eb82614886565b604082019050919050565b5f6020820190508181035f83015261490d816148d4565b9050919050565b7f444f52413a207472616e73616374696f6e206e6f7420737461727465640000005f82015250565b5f614948601d83613808565b915061495382614914565b602082019050919050565b5f6020820190508181035f8301526149758161493c565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b5f6149b3826138b9565b91506149be836138b9565b9250826149ce576149cd61497c565b5b828204905092915050565b5f6149e3826138b9565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203614a1557614a1461417c565b5b600182019050919050565b5f614a2a826138b9565b9150614a35836138b9565b9250828201905080821115614a4d57614a4c61417c565b5b92915050565b5f81519050614a61816138c2565b92915050565b5f60208284031215614a7c57614a7b6138b1565b5b5f614a8984828501614a53565b91505092915050565b5f614a9c826138b9565b9150614aa7836138b9565b9250828202614ab5816138b9565b91508282048414831517614acc57614acb61417c565b5b5092915050565b7f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f5f8201527f7700000000000000000000000000000000000000000000000000000000000000602082015250565b5f614b2d602183613808565b9150614b3882614ad3565b604082019050919050565b5f6020820190508181035f830152614b5a81614b21565b905091905056fea2646970667358221220020183c4f7b48bc427c2413506a8ac5b90b451342420c0fc6eb67cdf5260d7a664736f6c63430008140033
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 26 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ 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.