ERC-20
Overview
Max Total Supply
1,000,000,000,000 DOCTRAP
Holders
78
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
0.000000001 DOCTRAPValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
DefiV4Token
Compiler Version
v0.8.17+commit.8df45f5f
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: GPL-3.0 pragma solidity 0.8.17; import { Ownable } from "@openzeppelin/contracts/access/Ownable.sol"; import { LibCommon } from "./lib/LibCommon.sol"; import { ReflectiveERC20 } from "./ReflectiveERC20.sol"; /// @title A Defi Token implementation with extended functionalities /// @notice Implements ERC20 standards with additional features like tax and deflation contract DefiV4Token is ReflectiveERC20, Ownable { // Constants uint256 private constant MAX_BPS_AMOUNT = 10_000; uint256 private constant MAX_ALLOWED_BPS = 2_000; string public constant VERSION = "defi_v_4"; string public constant CONTRACT_NAME = "DefiV4Token"; bytes32 public constant CONTRACT_HASH = 0x7fab265f26833c37303cc008f5ab62b27e7bd4ce5b86cdb4ef885b53c63437e7; // State Variables string public initialDocumentUri; string public documentUri; uint256 public immutable initialSupply; uint256 public immutable initialMaxTokenAmountPerAddress; uint256 public maxTokenAmountPerAddress; uint256 public maxTotalSupply; /// @notice Configuration properties for the ERC20 token struct ERC20ConfigProps { bool _isMintable; bool _isBurnable; bool _isDocumentAllowed; bool _isMaxAmountOfTokensSet; bool _isMaxSupplySet; bool _isTaxable; bool _isDeflationary; bool _isReflective; } ERC20ConfigProps private configProps; address public immutable initialTokenOwner; uint8 private immutable _decimals; address public taxAddress; uint256 public taxBPS; uint256 public deflationBPS; // Events event DocumentUriSet(string newDocUri); event MaxTokenAmountPerSet(uint256 newMaxTokenAmount); event TaxConfigSet(address indexed _taxAddress, uint256 indexed _taxBPS); event DeflationConfigSet(uint256 indexed _deflationBPS); event ReflectionConfigSet(uint256 indexed _feeBPS); // Custom Errors error InvalidMaxTokenAmount(uint256 maxTokenAmount); error InvalidDecimals(uint8 decimals); error MaxTokenAmountPerAddrLtPrevious(); error DestBalanceExceedsMaxAllowed(address addr); error DocumentUriNotAllowed(); error MaxTokenAmountNotAllowed(); error TokenIsNotTaxable(); error TokenIsNotDeflationary(); error InvalidTotalBPS(uint256 bps); error InvalidReflectiveConfig(); error InvalidMaxSupplyConfig(); error TotalSupplyExceedsMaxAllowedAmount(); /// @notice Constructor to initialize the DeFi token /// @param name_ Name of the token /// @param symbol_ Symbol of the token /// @param initialSupplyToSet Initial supply of tokens /// @param decimalsToSet Number of decimals for the token /// @param tokenOwner Address of the initial token owner /// @param customConfigProps Configuration properties for the token /// @param newDocumentUri URI for the document associated with the token /// @param _taxAddress Address where tax will be sent /// @param bpsParams array of BPS values in this order: /// taxBPS = bpsParams[0], /// deflationBPS = bpsParams[1], /// rewardFeeBPS = bpsParams[2], /// @param amountParams array of amounts for amount specific config: /// maxTokenAmount = amountParams[0], Maximum token amount per address /// maxSupplyAmount = amountParams[1], Maximum token token supply amount constructor( string memory name_, string memory symbol_, uint256 initialSupplyToSet, uint8 decimalsToSet, address tokenOwner, ERC20ConfigProps memory customConfigProps, string memory newDocumentUri, address _taxAddress, uint256[3] memory bpsParams, uint256[2] memory amountParams ) ReflectiveERC20( name_, symbol_, tokenOwner, initialSupplyToSet, decimalsToSet, initialSupplyToSet != 0 ? bpsParams[2] : 0, customConfigProps._isReflective ) { // reflection feature can't be used in combination with burning/minting/deflation // or reflection config is invalid if no reflection BPS amount is provided if ( (customConfigProps._isReflective && (customConfigProps._isBurnable || customConfigProps._isMintable || customConfigProps._isDeflationary)) || (!customConfigProps._isReflective && bpsParams[2] != 0) ) { revert InvalidReflectiveConfig(); } if (customConfigProps._isMaxAmountOfTokensSet) { if (amountParams[0] == 0) { revert InvalidMaxTokenAmount(amountParams[0]); } } if (decimalsToSet > 18) { revert InvalidDecimals(decimalsToSet); } if ( customConfigProps._isMaxSupplySet && (!customConfigProps._isMintable || (totalSupply() > amountParams[1])) ) { revert InvalidMaxSupplyConfig(); } bpsInitChecks(customConfigProps, bpsParams, _taxAddress); LibCommon.validateAddress(tokenOwner); taxAddress = _taxAddress; taxBPS = bpsParams[0]; deflationBPS = bpsParams[1]; initialSupply = initialSupplyToSet; initialMaxTokenAmountPerAddress = amountParams[0]; initialDocumentUri = newDocumentUri; initialTokenOwner = tokenOwner; _decimals = decimalsToSet; configProps = customConfigProps; documentUri = newDocumentUri; maxTokenAmountPerAddress = amountParams[0]; maxTotalSupply = amountParams[1]; if (tokenOwner != msg.sender) { transferOwnership(tokenOwner); } } function bpsInitChecks( ERC20ConfigProps memory customConfigProps, uint256[3] memory bpsParams, address _taxAddress ) private pure { uint256 totalBPS = 0; if (customConfigProps._isTaxable) { LibCommon.validateAddress(_taxAddress); totalBPS += bpsParams[0]; } if (customConfigProps._isDeflationary) { totalBPS += bpsParams[1]; } if (customConfigProps._isReflective) { totalBPS += bpsParams[2]; } if (totalBPS > MAX_ALLOWED_BPS) { revert InvalidTotalBPS(totalBPS); } } // Public and External Functions /// @notice Checks if the token is mintable /// @return True if the token can be minted function isMintable() public view returns (bool) { return configProps._isMintable; } /// @notice Checks if the token is burnable /// @return True if the token can be burned function isBurnable() public view returns (bool) { return configProps._isBurnable; } /// @notice Checks if the maximum amount of tokens per address is set /// @return True if there is a maximum limit for token amount per address function isMaxAmountOfTokensSet() public view returns (bool) { return configProps._isMaxAmountOfTokensSet; } /// @notice Checks if the maximum amount of token supply is set /// @return True if there is a maximum limit for token supply function isMaxSupplySet() public view returns (bool) { return configProps._isMaxSupplySet; } /// @notice Checks if setting a document URI is allowed /// @return True if setting a document URI is allowed function isDocumentUriAllowed() public view returns (bool) { return configProps._isDocumentAllowed; } /// @notice Returns the number of decimals used for the token /// @return The number of decimals function decimals() public view virtual override returns (uint8) { return _decimals; } /// @notice Checks if the token is taxable /// @return True if the token has tax applied on transfers function isTaxable() public view returns (bool) { return configProps._isTaxable; } /// @notice Checks if the token is deflationary /// @return True if the token has deflation applied on transfers function isDeflationary() public view returns (bool) { return configProps._isDeflationary; } /// @notice Checks if the token is reflective /// @return True if the token has reflection (ie. holder rewards) applied on transfers function isReflective() public view returns (bool) { return configProps._isReflective; } /// @notice Sets a new document URI /// @dev Can only be called by the contract owner /// @param newDocumentUri The new URI to be set function setDocumentUri(string memory newDocumentUri) external onlyOwner { if (!isDocumentUriAllowed()) { revert DocumentUriNotAllowed(); } documentUri = newDocumentUri; emit DocumentUriSet(newDocumentUri); } /// @notice Sets a new maximum token amount per address /// @dev Can only be called by the contract owner /// @param newMaxTokenAmount The new maximum token amount per address function setMaxTokenAmountPerAddress( uint256 newMaxTokenAmount ) external onlyOwner { if (!isMaxAmountOfTokensSet()) { revert MaxTokenAmountNotAllowed(); } if (newMaxTokenAmount <= maxTokenAmountPerAddress) { revert MaxTokenAmountPerAddrLtPrevious(); } maxTokenAmountPerAddress = newMaxTokenAmount; emit MaxTokenAmountPerSet(newMaxTokenAmount); } /// @notice Sets a new reflection fee /// @dev Can only be called by the contract owner /// @param _feeBPS The reflection fee in basis points function setReflectionConfig(uint256 _feeBPS) external onlyOwner { if (!isReflective()) { revert TokenIsNotReflective(); } super._setReflectionFee(_feeBPS); emit ReflectionConfigSet(_feeBPS); } /// @notice Sets a new tax configuration /// @dev Can only be called by the contract owner /// @param _taxAddress The address where tax will be sent /// @param _taxBPS The tax rate in basis points function setTaxConfig( address _taxAddress, uint256 _taxBPS ) external onlyOwner { if (!isTaxable()) { revert TokenIsNotTaxable(); } uint256 totalBPS = deflationBPS + tFeeBPS + _taxBPS; if (totalBPS > MAX_ALLOWED_BPS) { revert InvalidTotalBPS(totalBPS); } LibCommon.validateAddress(_taxAddress); taxAddress = _taxAddress; taxBPS = _taxBPS; emit TaxConfigSet(_taxAddress, _taxBPS); } /// @notice Sets a new deflation configuration /// @dev Can only be called by the contract owner /// @param _deflationBPS The deflation rate in basis points function setDeflationConfig(uint256 _deflationBPS) external onlyOwner { if (!isDeflationary()) { revert TokenIsNotDeflationary(); } uint256 totalBPS = deflationBPS + tFeeBPS + _deflationBPS; if (totalBPS > MAX_ALLOWED_BPS) { revert InvalidTotalBPS(totalBPS); } deflationBPS = _deflationBPS; emit DeflationConfigSet(_deflationBPS); } /// @notice Transfers tokens to a specified address /// @dev Overrides the ERC20 transfer function with added tax and deflation logic /// @param to The address to transfer tokens to /// @param amount The amount of tokens to be transferred /// @return True if the transfer was successful function transfer( address to, uint256 amount ) public virtual override returns (bool) { uint256 taxAmount = _taxAmount(msg.sender, amount); uint256 deflationAmount = _deflationAmount(amount); uint256 amountToTransfer = amount - taxAmount - deflationAmount; if (isMaxAmountOfTokensSet()) { if (balanceOf(to) + amountToTransfer > maxTokenAmountPerAddress) { revert DestBalanceExceedsMaxAllowed(to); } } if (taxAmount != 0) { _transferNonReflectedTax(msg.sender, taxAddress, taxAmount); } if (deflationAmount != 0) { _burn(msg.sender, deflationAmount); } return super.transfer(to, amountToTransfer); } /// @notice Transfers tokens from one address to another /// @dev Overrides the ERC20 transferFrom function with added tax and deflation logic /// @param from The address which you want to send tokens from /// @param to The address which you want to transfer to /// @param amount The amount of tokens to be transferred /// @return True if the transfer was successful function transferFrom( address from, address to, uint256 amount ) public virtual override returns (bool) { uint256 taxAmount = _taxAmount(from, amount); uint256 deflationAmount = _deflationAmount(amount); uint256 amountToTransfer = amount - taxAmount - deflationAmount; if (isMaxAmountOfTokensSet()) { if (balanceOf(to) + amountToTransfer > maxTokenAmountPerAddress) { revert DestBalanceExceedsMaxAllowed(to); } } if (taxAmount != 0) { _transferNonReflectedTax(from, taxAddress, taxAmount); } if (deflationAmount != 0) { _burn(from, deflationAmount); } return super.transferFrom(from, to, amountToTransfer); } /// @notice Mints new tokens to a specified address /// @dev Can only be called by the contract owner and if minting is enabled /// @param to The address to mint tokens to /// @param amount The amount of tokens to mint function mint(address to, uint256 amount) external onlyOwner { if (!isMintable()) { revert MintingNotEnabled(); } if (isMaxAmountOfTokensSet()) { if (balanceOf(to) + amount > maxTokenAmountPerAddress) { revert DestBalanceExceedsMaxAllowed(to); } } if (isMaxSupplySet()) { if (totalSupply() + amount > maxTotalSupply) { revert TotalSupplyExceedsMaxAllowedAmount(); } } super._mint(to, amount); } /// @notice Burns a specific amount of tokens /// @dev Can only be called by the contract owner and if burning is enabled /// @param amount The amount of tokens to be burned function burn(uint256 amount) external onlyOwner { if (!isBurnable()) { revert BurningNotEnabled(); } _burn(msg.sender, amount); } /// @notice Renounces ownership of the contract /// @dev Leaves the contract without an owner, disabling any functions that require the owner's authorization function renounceOwnership() public override onlyOwner { super.renounceOwnership(); } /// @notice Transfers ownership of the contract to a new account /// @dev Can only be called by the current owner /// @param newOwner The address of the new owner function transferOwnership(address newOwner) public override onlyOwner { super.transferOwnership(newOwner); } // Internal Functions /// @notice Calculates the tax amount for a transfer /// @param sender The address initiating the transfer /// @param amount The amount of tokens being transferred /// @return taxAmount The calculated tax amount function _taxAmount( address sender, uint256 amount ) internal view returns (uint256 taxAmount) { taxAmount = 0; if (taxBPS != 0 && sender != taxAddress) { taxAmount = (amount * taxBPS) / MAX_BPS_AMOUNT; } } /// @notice Calculates the deflation amount for a transfer /// @param amount The amount of tokens being transferred /// @return deflationAmount The calculated deflation amount function _deflationAmount( uint256 amount ) internal view returns (uint256 deflationAmount) { deflationAmount = 0; if (deflationBPS != 0) { deflationAmount = (amount * deflationBPS) / MAX_BPS_AMOUNT; } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.4) (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } function _contextSuffixLength() internal view virtual returns (uint256) { return 0; } }
// SPDX-License-Identifier: MIT pragma solidity 0.8.17; library LibCommon { /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/ /* CUSTOM ERRORS */ /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/ /// @dev The ETH transfer has failed. error ETHTransferFailed(); /// @dev The address is the zero address. error ZeroAddress(); /// @notice raised when an ERC20 transfer fails error TransferFailed(); /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/ /* ETH OPERATIONS */ /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/ /// @notice Taken from Solady (https://github.com/vectorized/solady/blob/main/src/utils/SafeTransferLib.sol) /// @dev Sends `amount` (in wei) ETH to `to`. /// Reverts upon failure. function safeTransferETH(address to, uint256 amount) internal { // solhint-disable-next-line no-inline-assembly assembly { // Transfer the ETH and check if it succeeded or not. if iszero(call(gas(), to, amount, 0, 0, 0, 0)) { // Store the function selector of `ETHTransferFailed()`. // bytes4(keccak256(bytes("ETHTransferFailed()"))) = 0xb12d13eb mstore(0x00, 0xb12d13eb) // Revert with (offset, size). revert(0x1c, 0x04) } } } /// @notice Validates that the address is not the zero address using assembly. /// @dev Reverts if the address is the zero address. function validateAddress(address addr) internal pure { // solhint-disable-next-line no-inline-assembly assembly { if iszero(shl(96, addr)) { // Store the function selector of `ZeroAddress()`. // bytes4(keccak256(bytes("ZeroAddress()"))) = 0xd92e233d mstore(0x00, 0xd92e233d) // Revert with (offset, size). revert(0x1c, 0x04) } } } /// @notice Helper function to transfer ERC20 tokens without the need for SafeERC20. /// @dev Reverts if the ERC20 transfer fails. /// @param tokenAddress The address of the ERC20 token. /// @param from The address to transfer the tokens from. /// @param to The address to transfer the tokens to. /// @param amount The amount of tokens to transfer. function safeTransferFrom( address tokenAddress, address from, address to, uint256 amount ) internal returns (bool) { // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory data) = tokenAddress.call( abi.encodeWithSignature( "transferFrom(address,address,uint256)", from, to, amount ) ); if (!success) { if (data.length != 0) { // bubble up error // solhint-disable-next-line no-inline-assembly assembly { let returndata_size := mload(data) revert(add(32, data), returndata_size) } } else { revert TransferFailed(); } } return true; } /// @notice Helper function to transfer ERC20 tokens without the need for SafeERC20. /// @dev Reverts if the ERC20 transfer fails. /// @param tokenAddress The address of the ERC20 token. /// @param to The address to transfer the tokens to. /// @param amount The amount of tokens to transfer. function safeTransfer( address tokenAddress, address to, uint256 amount ) internal returns (bool) { // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory data) = tokenAddress.call( abi.encodeWithSignature("transfer(address,uint256)", to, amount) ); if (!success) { if (data.length != 0) { // bubble up error // solhint-disable-next-line no-inline-assembly assembly { let returndata_size := mload(data) revert(add(32, data), returndata_size) } } else { revert TransferFailed(); } } return true; } }
// SPDX-License-Identifier: GPL-3.0 pragma solidity 0.8.17; import { ERC20 } from "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import { LibCommon } from "./lib/LibCommon.sol"; /// @title A ERC20 implementation with extended reflection token functionalities /// @notice Implements ERC20 standards with additional token holder reward feature abstract contract ReflectiveERC20 is ERC20 { // Constants uint256 private constant BPS_DIVISOR = 10_000; mapping(address => uint256) private _rOwned; mapping(address => uint256) private _tOwned; uint256 private constant UINT_256_MAX = type(uint256).max; uint256 private _rTotal; uint256 private _tFeeTotal; uint256 public tFeeBPS; bool private immutable isReflective; // custom errors error TokenIsNotReflective(); error TotalReflectionTooSmall(); error ZeroTransferError(); error MintingNotEnabled(); error BurningNotEnabled(); error ERC20InsufficientBalance( address recipient, uint256 fromBalance, uint256 balance ); /// @notice Gets total supply of the erc20 token /// @return Token total supply function _tTotal() public view virtual returns (uint256) { return totalSupply(); } /// @notice Constructor to initialize the ReflectionErc20 token /// @param name_ Name of the token /// @param symbol_ Symbol of the token /// @param tokenOwner Address of the token owner /// @param totalSupply_ Initial total supply /// @param decimalsToSet Token decimal number /// @param decimalsToSet Token reward (reflection fee BPS value constructor( string memory name_, string memory symbol_, address tokenOwner, uint256 totalSupply_, uint8 decimalsToSet, uint256 tFeeBPS_, bool isReflective_ ) ERC20(name_, symbol_) { if (totalSupply_ != 0) { super._mint(tokenOwner, totalSupply_ * 10 ** decimalsToSet); _rTotal = (UINT_256_MAX - (UINT_256_MAX % totalSupply_)); } _rOwned[tokenOwner] = _rTotal; tFeeBPS = tFeeBPS_; isReflective = isReflective_; } // public standard ERC20 functions /// @notice Gets balance the erc20 token for specific address /// @param account Account address /// @return Token balance function balanceOf(address account) public view override returns (uint256) { if (isReflective) { return tokenFromReflection(_rOwned[account]); } else { return super.balanceOf(account); } } /// @notice Transfers allowed tokens between accounts /// @param from From account /// @param to To account /// @param value Transferred value /// @return Success function transferFrom( address from, address to, uint256 value ) public virtual override returns (bool) { address spender = super._msgSender(); _spendAllowance(from, spender, value); _transfer(from, to, value); return true; } /// @notice Transfers tokens from owner to an account /// @param to To account /// @param value Transferred value /// @return Success function transfer( address to, uint256 value ) public virtual override returns (bool) { address owner = super._msgSender(); _transfer(owner, to, value); return true; } // override internal OZ standard ERC20 functions related to transfer /// @notice Transfers tokens from owner to an account /// @param to To account /// @param amount Transferred amount function _transfer( address from, address to, uint256 amount ) internal override { if (isReflective) { LibCommon.validateAddress(from); LibCommon.validateAddress(to); if (amount == 0) { revert ZeroTransferError(); } _transferReflected(from, to, amount); } else { super._transfer(from, to, amount); } } // override incompatible internal OZ standard ERC20 functions to disable them in case // reflection mechanism is used, ie. tFeeBPS is non zero /// @notice Creates specified amount of tokens, it either uses standard OZ ERC function /// or in case of reflection logic, it is prohibited /// @param account Account new tokens will be transferred to /// @param value Created tokens value function _mint(address account, uint256 value) internal override { if (isReflective) { revert MintingNotEnabled(); } else { super._mint(account, value); } } /// @notice Destroys specified amount of tokens, it either uses standard OZ ERC function /// or in case of reflection logic, it is prohibited /// @param account Account in which tokens will be destroyed /// @param value Destroyed tokens value function _burn(address account, uint256 value) internal override { if (isReflective) { revert BurningNotEnabled(); } else { super._burn(account, value); } } // public reflection custom functions /// @notice Sets a new reflection fee /// @dev Should only be called by the contract owner /// @param _tFeeBPS The reflection fee in basis points function _setReflectionFee(uint256 _tFeeBPS) internal { if (!isReflective) { revert TokenIsNotReflective(); } tFeeBPS = _tFeeBPS; } /// @notice Calculates number of tokens from reflection amount /// @param rAmount Reflection token amount function tokenFromReflection(uint256 rAmount) public view returns (uint256) { if (rAmount > _rTotal) { revert TotalReflectionTooSmall(); } uint256 currentRate = _getRate(); return rAmount / currentRate; } // private reflection custom functions /// @notice Transfers reflected amount of tokens /// @param sender Account to transfer tokens from /// @param recipient Account to transfer tokens to /// @param tAmount Total token amount function _transferReflected( address sender, address recipient, uint256 tAmount ) private { uint256 tFee = calculateFee(tAmount); uint256 tTransferAmount = tAmount - tFee; (uint256 rAmount, uint256 rFee, uint256 rTransferAmount) = _getRValues( tAmount, tFee, tTransferAmount ); if (tAmount != 0) { _rUpdate(sender, recipient, rAmount, rTransferAmount); _reflectFee(rFee, tFee); emit Transfer(sender, recipient, tAmount); } } /// @notice Deducts reflection fee from reflection supply to 'distribute' token holder rewards /// @param rFee Reflection fee /// @param tFee Token fee function _reflectFee(uint256 rFee, uint256 tFee) private { _rTotal = _rTotal - rFee; _tFeeTotal = _tFeeTotal + tFee; } /// @notice Calculates the reflection fee from token amount /// @param _amount Amount of tokens to calculate fee from function calculateFee(uint256 _amount) private view returns (uint256) { return (_amount * tFeeBPS) / BPS_DIVISOR; } /// @notice Transfers Tax related tokens and do not apply reflection fees /// @param from Account to transfer tokens from /// @param to Account to transfer tokens to /// @param tAmount Total token amount function _transferNonReflectedTax( address from, address to, uint256 tAmount ) internal { if (isReflective) { if (tAmount != 0) { uint256 currentRate = _getRate(); uint256 rAmount = tAmount * currentRate; _rUpdate(from, to, rAmount, rAmount); emit Transfer(from, to, tAmount); } } else { super._transfer(from, to, tAmount); } } /// @notice Get reflective values from token values /// @param tAmount Token amount /// @param tFee Token fee /// @param tTransferAmount Transfer amount function _getRValues( uint256 tAmount, uint256 tFee, uint256 tTransferAmount ) private view returns (uint256, uint256, uint256) { uint256 currentRate = _getRate(); uint256 rAmount = tAmount * currentRate; uint256 rFee = tFee * currentRate; uint256 rTransferAmount = tTransferAmount * currentRate; return (rAmount, rFee, rTransferAmount); } /// @notice Get ratio rate between reflective and token supply /// @return Reflective rate function _getRate() private view returns (uint256) { (uint256 rSupply, uint256 tSupply) = _getCurrentSupply(); return rSupply / tSupply; } /// @notice Get reflective and token supplies /// @return Reflective and token supplies function _getCurrentSupply() private view returns (uint256, uint256) { return (_rTotal, _tTotal()); } /// @notice Update reflective balances to reflect amount transfer, /// with or without a fee applied. If a fee is applied, /// the amount deducted from the sender will differ /// from amount added to the recipient /// @param sender Sender address /// @param recipient Recipient address /// @param rSubAmount Amount to be deducted from sender /// @param rTransferAmount Amount to be added to recipient function _rUpdate( address sender, address recipient, uint256 rSubAmount, uint256 rTransferAmount ) private { uint256 fromBalance = _rOwned[sender]; if (fromBalance < rSubAmount) { revert ERC20InsufficientBalance(recipient, fromBalance, rSubAmount); } _rOwned[sender] = _rOwned[sender] - rSubAmount; _rOwned[recipient] = _rOwned[recipient] + rTransferAmount; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.0; import "./IERC20.sol"; import "./extensions/IERC20Metadata.sol"; import "../../utils/Context.sol"; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * The default value of {decimals} is 18. To change this, you should override * this function so it returns a different value. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the default value returned by this function, unless * it's overridden. * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `to` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address to, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _transfer(owner, to, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on * `transferFrom`. This is semantically equivalent to an infinite approval. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _approve(owner, spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * NOTE: Does not update the allowance if the current allowance * is the maximum `uint256`. * * Requirements: * * - `from` and `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. * - the caller must have allowance for ``from``'s tokens of at least * `amount`. */ function transferFrom(address from, address to, uint256 amount) public virtual override returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, amount); _transfer(from, to, amount); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { address owner = _msgSender(); _approve(owner, spender, allowance(owner, spender) + addedValue); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { address owner = _msgSender(); uint256 currentAllowance = allowance(owner, spender); require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(owner, spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `from` to `to`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. */ function _transfer(address from, address to, uint256 amount) internal virtual { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(from, to, amount); uint256 fromBalance = _balances[from]; require(fromBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[from] = fromBalance - amount; // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by // decrementing then incrementing. _balances[to] += amount; } emit Transfer(from, to, amount); _afterTokenTransfer(from, to, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; unchecked { // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above. _balances[account] += amount; } emit Transfer(address(0), account, amount); _afterTokenTransfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; // Overflow not possible: amount <= accountBalance <= totalSupply. _totalSupply -= amount; } emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve(address owner, address spender, uint256 amount) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Updates `owner` s allowance for `spender` based on spent `amount`. * * Does not update the allowance amount in case of infinite allowance. * Revert if not enough allowance is available. * * Might emit an {Approval} event. */ function _spendAllowance(address owner, address spender, uint256 amount) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { require(currentAllowance >= amount, "ERC20: insufficient allowance"); unchecked { _approve(owner, spender, currentAllowance - amount); } } } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer(address from, address to, uint256 amount) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address from, address to, uint256 amount) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); }
{ "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"},{"internalType":"uint256","name":"initialSupplyToSet","type":"uint256"},{"internalType":"uint8","name":"decimalsToSet","type":"uint8"},{"internalType":"address","name":"tokenOwner","type":"address"},{"components":[{"internalType":"bool","name":"_isMintable","type":"bool"},{"internalType":"bool","name":"_isBurnable","type":"bool"},{"internalType":"bool","name":"_isDocumentAllowed","type":"bool"},{"internalType":"bool","name":"_isMaxAmountOfTokensSet","type":"bool"},{"internalType":"bool","name":"_isMaxSupplySet","type":"bool"},{"internalType":"bool","name":"_isTaxable","type":"bool"},{"internalType":"bool","name":"_isDeflationary","type":"bool"},{"internalType":"bool","name":"_isReflective","type":"bool"}],"internalType":"struct DefiV4Token.ERC20ConfigProps","name":"customConfigProps","type":"tuple"},{"internalType":"string","name":"newDocumentUri","type":"string"},{"internalType":"address","name":"_taxAddress","type":"address"},{"internalType":"uint256[3]","name":"bpsParams","type":"uint256[3]"},{"internalType":"uint256[2]","name":"amountParams","type":"uint256[2]"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"BurningNotEnabled","type":"error"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"DestBalanceExceedsMaxAllowed","type":"error"},{"inputs":[],"name":"DocumentUriNotAllowed","type":"error"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"fromBalance","type":"uint256"},{"internalType":"uint256","name":"balance","type":"uint256"}],"name":"ERC20InsufficientBalance","type":"error"},{"inputs":[{"internalType":"uint8","name":"decimals","type":"uint8"}],"name":"InvalidDecimals","type":"error"},{"inputs":[],"name":"InvalidMaxSupplyConfig","type":"error"},{"inputs":[{"internalType":"uint256","name":"maxTokenAmount","type":"uint256"}],"name":"InvalidMaxTokenAmount","type":"error"},{"inputs":[],"name":"InvalidReflectiveConfig","type":"error"},{"inputs":[{"internalType":"uint256","name":"bps","type":"uint256"}],"name":"InvalidTotalBPS","type":"error"},{"inputs":[],"name":"MaxTokenAmountNotAllowed","type":"error"},{"inputs":[],"name":"MaxTokenAmountPerAddrLtPrevious","type":"error"},{"inputs":[],"name":"MintingNotEnabled","type":"error"},{"inputs":[],"name":"TokenIsNotDeflationary","type":"error"},{"inputs":[],"name":"TokenIsNotReflective","type":"error"},{"inputs":[],"name":"TokenIsNotTaxable","type":"error"},{"inputs":[],"name":"TotalReflectionTooSmall","type":"error"},{"inputs":[],"name":"TotalSupplyExceedsMaxAllowedAmount","type":"error"},{"inputs":[],"name":"ZeroTransferError","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":"uint256","name":"_deflationBPS","type":"uint256"}],"name":"DeflationConfigSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"newDocUri","type":"string"}],"name":"DocumentUriSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newMaxTokenAmount","type":"uint256"}],"name":"MaxTokenAmountPerSet","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":"uint256","name":"_feeBPS","type":"uint256"}],"name":"ReflectionConfigSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_taxAddress","type":"address"},{"indexed":true,"internalType":"uint256","name":"_taxBPS","type":"uint256"}],"name":"TaxConfigSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"CONTRACT_HASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"CONTRACT_NAME","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"VERSION","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_tTotal","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":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"deflationBPS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"documentUri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","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":[],"name":"initialDocumentUri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"initialMaxTokenAmountPerAddress","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"initialSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"initialTokenOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isBurnable","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isDeflationary","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isDocumentUriAllowed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isMaxAmountOfTokensSet","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isMaxSupplySet","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isMintable","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isReflective","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isTaxable","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTokenAmountPerAddress","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTotalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","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":[{"internalType":"uint256","name":"_deflationBPS","type":"uint256"}],"name":"setDeflationConfig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newDocumentUri","type":"string"}],"name":"setDocumentUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMaxTokenAmount","type":"uint256"}],"name":"setMaxTokenAmountPerAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_feeBPS","type":"uint256"}],"name":"setReflectionConfig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_taxAddress","type":"address"},{"internalType":"uint256","name":"_taxBPS","type":"uint256"}],"name":"setTaxConfig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tFeeBPS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"taxAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"taxBPS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"rAmount","type":"uint256"}],"name":"tokenFromReflection","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","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"}]
Contract Creation Code
6101206040523480156200001257600080fd5b506040516200526038038062005260833981810160405281019062000038919062001097565b8989878a8a60008d036200004e5760006200006b565b86600260038110620000655762000064620011ec565b5b60200201515b8a60e00151868681600390816200008391906200145c565b5080600490816200009591906200145c565b505050600084146200013557620000d38584600a620000b59190620016c6565b86620000c2919062001717565b6200068860201b620016c01760201c565b837fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff62000101919062001791565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6200012e9190620017c9565b6007819055505b600754600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160098190555080151560808115158152505050505050505050620001b5620001a9620007f560201b60201c565b620007fd60201b60201c565b8460e001518015620001e25750846020015180620001d4575084600001515b80620001e157508460c001515b5b806200021957508460e0015115801562000218575060008260026003811062000210576200020f620011ec565b5b602002015114155b5b1562000251576040517f30a870cc00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b846060015115620002db57600081600060028110620002755762000274620011ec565b5b602002015103620002da5780600060028110620002975762000296620011ec565b5b60200201516040517f64824b8d000000000000000000000000000000000000000000000000000000008152600401620002d1919062001815565b60405180910390fd5b5b60128760ff1611156200032757866040517fca9503910000000000000000000000000000000000000000000000000000000081526004016200031e919062001843565b60405180910390fd5b84608001518015620003705750846000015115806200036f575080600160028110620003585762000357620011ec565b5b60200201516200036d620008c360201b60201c565b115b5b15620003a8576040517fb51a848200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b620003bb858385620008cd60201b60201c565b620003d186620009da60201b620018161760201c565b82601060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081600060038110620004295762000428620011ec565b5b6020020151601181905550816001600381106200044b576200044a620011ec565b5b60200201516012819055508760a0818152505080600060028110620004755762000474620011ec565b5b602002015160c0818152505083600b90816200049291906200145c565b508573ffffffffffffffffffffffffffffffffffffffff1660e08173ffffffffffffffffffffffffffffffffffffffff16815250508660ff166101008160ff168152505084600f60008201518160000160006101000a81548160ff02191690831515021790555060208201518160000160016101000a81548160ff02191690831515021790555060408201518160000160026101000a81548160ff02191690831515021790555060608201518160000160036101000a81548160ff02191690831515021790555060808201518160000160046101000a81548160ff02191690831515021790555060a08201518160000160056101000a81548160ff02191690831515021790555060c08201518160000160066101000a81548160ff02191690831515021790555060e08201518160000160076101000a81548160ff02191690831515021790555090505083600c9081620005ed91906200145c565b5080600060028110620006055762000604620011ec565b5b6020020151600d8190555080600160028110620006275762000626620011ec565b5b6020020151600e819055503373ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff161462000678576200067786620009f460201b60201c565b5b5050505050505050505062001a28565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603620006fa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620006f190620018c1565b60405180910390fd5b6200070e6000838362000a1d60201b60201c565b8060026000828254620007229190620018e3565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051620007d5919062001815565b60405180910390a3620007f16000838362000a2260201b60201c565b5050565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000600254905090565b60008360a00151156200091c57620008f082620009da60201b620018161760201c565b82600060038110620009075762000906620011ec565b5b602002015181620009199190620018e3565b90505b8360c00151156200095357826001600381106200093e576200093d620011ec565b5b602002015181620009509190620018e3565b90505b8360e00151156200098a5782600260038110620009755762000974620011ec565b5b602002015181620009879190620018e3565b90505b6107d0811115620009d457806040517f3e474e0d000000000000000000000000000000000000000000000000000000008152600401620009cb919062001815565b60405180910390fd5b50505050565b8060601b620009f15763d92e233d6000526004601cfd5b50565b62000a0462000a2760201b60201c565b62000a1a8162000ab860201b6200182f1760201c565b50565b505050565b505050565b62000a37620007f560201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1662000a5d62000b4e60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff161462000ab6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000aad906200196e565b60405180910390fd5b565b62000ac862000a2760201b60201c565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160362000b3a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000b319062001a06565b60405180910390fd5b62000b4b81620007fd60201b60201c565b50565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b62000be18262000b96565b810181811067ffffffffffffffff8211171562000c035762000c0262000ba7565b5b80604052505050565b600062000c1862000b78565b905062000c26828262000bd6565b919050565b600067ffffffffffffffff82111562000c495762000c4862000ba7565b5b62000c548262000b96565b9050602081019050919050565b60005b8381101562000c8157808201518184015260208101905062000c64565b60008484015250505050565b600062000ca462000c9e8462000c2b565b62000c0c565b90508281526020810184848401111562000cc35762000cc262000b91565b5b62000cd084828562000c61565b509392505050565b600082601f83011262000cf05762000cef62000b8c565b5b815162000d0284826020860162000c8d565b91505092915050565b6000819050919050565b62000d208162000d0b565b811462000d2c57600080fd5b50565b60008151905062000d408162000d15565b92915050565b600060ff82169050919050565b62000d5e8162000d46565b811462000d6a57600080fd5b50565b60008151905062000d7e8162000d53565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600062000db18262000d84565b9050919050565b62000dc38162000da4565b811462000dcf57600080fd5b50565b60008151905062000de38162000db8565b92915050565b600080fd5b60008115159050919050565b62000e058162000dee565b811462000e1157600080fd5b50565b60008151905062000e258162000dfa565b92915050565b6000610100828403121562000e455762000e4462000de9565b5b62000e5261010062000c0c565b9050600062000e648482850162000e14565b600083015250602062000e7a8482850162000e14565b602083015250604062000e908482850162000e14565b604083015250606062000ea68482850162000e14565b606083015250608062000ebc8482850162000e14565b60808301525060a062000ed28482850162000e14565b60a08301525060c062000ee88482850162000e14565b60c08301525060e062000efe8482850162000e14565b60e08301525092915050565b600067ffffffffffffffff82111562000f285762000f2762000ba7565b5b602082029050919050565b600080fd5b600062000f4f62000f498462000f0a565b62000c0c565b9050806020840283018581111562000f6c5762000f6b62000f33565b5b835b8181101562000f99578062000f84888262000d2f565b84526020840193505060208101905062000f6e565b5050509392505050565b600082601f83011262000fbb5762000fba62000b8c565b5b600362000fca84828562000f38565b91505092915050565b600067ffffffffffffffff82111562000ff15762000ff062000ba7565b5b602082029050919050565b6000620010136200100d8462000fd3565b62000c0c565b9050806020840283018581111562001030576200102f62000f33565b5b835b818110156200105d578062001048888262000d2f565b84526020840193505060208101905062001032565b5050509392505050565b600082601f8301126200107f576200107e62000b8c565b5b60026200108e84828562000ffc565b91505092915050565b6000806000806000806000806000806102808b8d031215620010be57620010bd62000b82565b5b60008b015167ffffffffffffffff811115620010df57620010de62000b87565b5b620010ed8d828e0162000cd8565b9a505060208b015167ffffffffffffffff81111562001111576200111062000b87565b5b6200111f8d828e0162000cd8565b9950506040620011328d828e0162000d2f565b9850506060620011458d828e0162000d6d565b9750506080620011588d828e0162000dd2565b96505060a06200116b8d828e0162000e2b565b9550506101a08b015167ffffffffffffffff81111562001190576200118f62000b87565b5b6200119e8d828e0162000cd8565b9450506101c0620011b28d828e0162000dd2565b9350506101e0620011c68d828e0162000fa3565b925050610240620011da8d828e0162001067565b9150509295989b9194979a5092959850565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200126e57607f821691505b60208210810362001284576200128362001226565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620012ee7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82620012af565b620012fa8683620012af565b95508019841693508086168417925050509392505050565b6000819050919050565b60006200133d62001337620013318462000d0b565b62001312565b62000d0b565b9050919050565b6000819050919050565b62001359836200131c565b62001371620013688262001344565b848454620012bc565b825550505050565b600090565b6200138862001379565b620013958184846200134e565b505050565b5b81811015620013bd57620013b16000826200137e565b6001810190506200139b565b5050565b601f8211156200140c57620013d6816200128a565b620013e1846200129f565b81016020851015620013f1578190505b6200140962001400856200129f565b8301826200139a565b50505b505050565b600082821c905092915050565b6000620014316000198460080262001411565b1980831691505092915050565b60006200144c83836200141e565b9150826002028217905092915050565b62001467826200121b565b67ffffffffffffffff81111562001483576200148262000ba7565b5b6200148f825462001255565b6200149c828285620013c1565b600060209050601f831160018114620014d45760008415620014bf578287015190505b620014cb85826200143e565b8655506200153b565b601f198416620014e4866200128a565b60005b828110156200150e57848901518255600182019150602085019450602081019050620014e7565b868310156200152e57848901516200152a601f8916826200141e565b8355505b6001600288020188555050505b505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008160011c9050919050565b6000808291508390505b6001851115620015d157808604811115620015a957620015a862001543565b5b6001851615620015b95780820291505b8081029050620015c98562001572565b945062001589565b94509492505050565b600082620015ec5760019050620016bf565b81620015fc5760009050620016bf565b8160018114620016155760028114620016205762001656565b6001915050620016bf565b60ff84111562001635576200163462001543565b5b8360020a9150848211156200164f576200164e62001543565b5b50620016bf565b5060208310610133831016604e8410600b8410161715620016905782820a9050838111156200168a576200168962001543565b5b620016bf565b6200169f84848460016200157f565b92509050818404811115620016b957620016b862001543565b5b81810290505b9392505050565b6000620016d38262000d0b565b9150620016e08362000d46565b92506200170f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8484620015da565b905092915050565b6000620017248262000d0b565b9150620017318362000d0b565b9250828202620017418162000d0b565b915082820484148315176200175b576200175a62001543565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006200179e8262000d0b565b9150620017ab8362000d0b565b925082620017be57620017bd62001762565b5b828206905092915050565b6000620017d68262000d0b565b9150620017e38362000d0b565b9250828203905081811115620017fe57620017fd62001543565b5b92915050565b6200180f8162000d0b565b82525050565b60006020820190506200182c600083018462001804565b92915050565b6200183d8162000d46565b82525050565b60006020820190506200185a600083018462001832565b92915050565b600082825260208201905092915050565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b6000620018a9601f8362001860565b9150620018b68262001871565b602082019050919050565b60006020820190508181036000830152620018dc816200189a565b9050919050565b6000620018f08262000d0b565b9150620018fd8362000d0b565b925082820190508082111562001918576200191762001543565b5b92915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006200195660208362001860565b915062001963826200191e565b602082019050919050565b60006020820190508181036000830152620019898162001947565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000620019ee60268362001860565b9150620019fb8262001990565b604082019050919050565b6000602082019050818103600083015262001a2181620019df565b9050919050565b60805160a05160c05160e051610100516137d062001a906000396000610bcc01526000610f2301526000610ff901526000610bf2015260008181610e4701528181611bbc01528181611c9001528181611d4901528181611e2e01526125de01526137d06000f3fe608060405234801561001057600080fd5b506004361061027f5760003560e01c8063883356d91161015c578063af465a27116100ce578063de0060ca11610087578063de0060ca14610788578063f19c4e3b146107a6578063f2fde38b146107c2578063f820f567146107de578063f91f825d146107fc578063ffa1ad74146108185761027f565b8063af465a27146106c4578063b7bda68f146106e2578063bfcf735514610700578063d48e41271461071e578063d8f678511461073c578063dd62ed3e146107585761027f565b80639703a19d116101205780639703a19d146105ee578063a32f69761461060c578063a457c2d71461062a578063a476df611461065a578063a9059cbb14610676578063a9d86685146106a65761027f565b8063883356d9146105585780638da5cb5b146105765780638dac7191146105945780638e8c10a2146105b257806395d89b41146105d05761027f565b8063378dc3dc116101f55780634ac0bc32116101b95780634ac0bc32146104a6578063542e9667146104c45780635a3990ce146104e2578063614d08f81461050057806370a082311461051e578063715018a61461054e5761027f565b8063378dc3dc14610402578063395093511461042057806340c10f191461045057806342966c681461046c57806346b45af7146104885761027f565b806323b872dd1161024757806323b872dd1461032a5780632ab4d0521461035a5780632d838119146103785780632e0ee48e146103a85780632fa782eb146103c6578063313ce567146103e45761027f565b806302252c4d14610284578063044ab74e146102a057806306fdde03146102be578063095ea7b3146102dc57806318160ddd1461030c575b600080fd5b61029e60048036038101906102999190612836565b610836565b005b6102a86108f8565b6040516102b591906128f3565b60405180910390f35b6102c6610986565b6040516102d391906128f3565b60405180910390f35b6102f660048036038101906102f19190612973565b610a18565b60405161030391906129ce565b60405180910390f35b610314610a3b565b60405161032191906129f8565b60405180910390f35b610344600480360381019061033f9190612a13565b610a45565b60405161035191906129ce565b60405180910390f35b610362610b44565b60405161036f91906129f8565b60405180910390f35b610392600480360381019061038d9190612836565b610b4a565b60405161039f91906129f8565b60405180910390f35b6103b0610ba8565b6040516103bd91906129ce565b60405180910390f35b6103ce610bc2565b6040516103db91906129f8565b60405180910390f35b6103ec610bc8565b6040516103f99190612a82565b60405180910390f35b61040a610bf0565b60405161041791906129f8565b60405180910390f35b61043a60048036038101906104359190612973565b610c14565b60405161044791906129ce565b60405180910390f35b61046a60048036038101906104659190612973565b610c4b565b005b61048660048036038101906104819190612836565b610d63565b005b610490610db6565b60405161049d91906129ce565b60405180910390f35b6104ae610dd0565b6040516104bb91906129ce565b60405180910390f35b6104cc610dea565b6040516104d991906129f8565b60405180910390f35b6104ea610df0565b6040516104f791906129ce565b60405180910390f35b610508610e0a565b60405161051591906128f3565b60405180910390f35b61053860048036038101906105339190612a9d565b610e43565b60405161054591906129f8565b60405180910390f35b610556610ecb565b005b610560610edd565b60405161056d91906129ce565b60405180910390f35b61057e610ef7565b60405161058b9190612ad9565b60405180910390f35b61059c610f21565b6040516105a99190612ad9565b60405180910390f35b6105ba610f45565b6040516105c791906129ce565b60405180910390f35b6105d8610f5f565b6040516105e591906128f3565b60405180910390f35b6105f6610ff1565b60405161060391906129f8565b60405180910390f35b610614610ff7565b60405161062191906129f8565b60405180910390f35b610644600480360381019061063f9190612973565b61101b565b60405161065191906129ce565b60405180910390f35b610674600480360381019061066f9190612c29565b611092565b005b610690600480360381019061068b9190612973565b611122565b60405161069d91906129ce565b60405180910390f35b6106ae61121f565b6040516106bb91906128f3565b60405180910390f35b6106cc6112ad565b6040516106d991906129f8565b60405180910390f35b6106ea6112bc565b6040516106f79190612ad9565b60405180910390f35b6107086112e2565b6040516107159190612c8b565b60405180910390f35b610726611309565b60405161073391906129f8565b60405180910390f35b61075660048036038101906107519190612836565b61130f565b005b610772600480360381019061076d9190612ca6565b6113f3565b60405161077f91906129f8565b60405180910390f35b61079061147a565b60405161079d91906129ce565b60405180910390f35b6107c060048036038101906107bb9190612973565b611494565b005b6107dc60048036038101906107d79190612a9d565b6115da565b005b6107e66115ee565b6040516107f391906129ce565b60405180910390f35b61081660048036038101906108119190612836565b611608565b005b610820611687565b60405161082d91906128f3565b60405180910390f35b61083e6118b2565b610846610df0565b61087c576040517f6273340f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600d5481116108b7576040517fa43d2d7600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600d819055507f2905481c6fd1a037492016c4760435a52203d82a6f34dc3de40f464c1bf42d59816040516108ed91906129f8565b60405180910390a150565b600c805461090590612d15565b80601f016020809104026020016040519081016040528092919081815260200182805461093190612d15565b801561097e5780601f106109535761010080835404028352916020019161097e565b820191906000526020600020905b81548152906001019060200180831161096157829003601f168201915b505050505081565b60606003805461099590612d15565b80601f01602080910402602001604051908101604052809291908181526020018280546109c190612d15565b8015610a0e5780601f106109e357610100808354040283529160200191610a0e565b820191906000526020600020905b8154815290600101906020018083116109f157829003601f168201915b5050505050905090565b600080610a23611930565b9050610a30818585611938565b600191505092915050565b6000600254905090565b600080610a528584611b01565b90506000610a5f84611b8c565b90506000818386610a709190612d75565b610a7a9190612d75565b9050610a84610df0565b15610ae457600d5481610a9688610e43565b610aa09190612da9565b1115610ae357856040517ff6202a8f000000000000000000000000000000000000000000000000000000008152600401610ada9190612ad9565b60405180910390fd5b5b60008314610b1a57610b1987601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1685611bba565b5b60008214610b2d57610b2c8783611c8e565b5b610b38878783611cf4565b93505050509392505050565b600e5481565b6000600754821115610b88576040517fc91fa8bc00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000610b92611d23565b90508083610ba09190612e0c565b915050919050565b6000600f60000160079054906101000a900460ff16905090565b60115481565b60007f0000000000000000000000000000000000000000000000000000000000000000905090565b7f000000000000000000000000000000000000000000000000000000000000000081565b600080610c1f611930565b9050610c40818585610c3185896113f3565b610c3b9190612da9565b611938565b600191505092915050565b610c536118b2565b610c5b610db6565b610c91576040517f3990ac6800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610c99610df0565b15610cf957600d5481610cab84610e43565b610cb59190612da9565b1115610cf857816040517ff6202a8f000000000000000000000000000000000000000000000000000000008152600401610cef9190612ad9565b60405180910390fd5b5b610d0161147a565b15610d5557600e5481610d12610a3b565b610d1c9190612da9565b1115610d54576040517f44ea8ea500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b610d5f8282611d47565b5050565b610d6b6118b2565b610d73610edd565b610da9576040517f6cb5913900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610db33382611c8e565b50565b6000600f60000160009054906101000a900460ff16905090565b6000600f60000160059054906101000a900460ff16905090565b60125481565b6000600f60000160039054906101000a900460ff16905090565b6040518060400160405280600b81526020017f446566695634546f6b656e00000000000000000000000000000000000000000081525081565b60007f000000000000000000000000000000000000000000000000000000000000000015610eba57610eb3600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610b4a565b9050610ec6565b610ec382611dad565b90505b919050565b610ed36118b2565b610edb611df5565b565b6000600f60000160019054906101000a900460ff16905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b7f000000000000000000000000000000000000000000000000000000000000000081565b6000600f60000160069054906101000a900460ff16905090565b606060048054610f6e90612d15565b80601f0160208091040260200160405190810160405280929190818152602001828054610f9a90612d15565b8015610fe75780601f10610fbc57610100808354040283529160200191610fe7565b820191906000526020600020905b815481529060010190602001808311610fca57829003601f168201915b5050505050905090565b60095481565b7f000000000000000000000000000000000000000000000000000000000000000081565b600080611026611930565b9050600061103482866113f3565b905083811015611079576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161107090612eaf565b60405180910390fd5b6110868286868403611938565b60019250505092915050565b61109a6118b2565b6110a26115ee565b6110d8576040517f70a43fce00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600c90816110e7919061307b565b507f4456a0b562609d67398ddb488f136db285cd3c92343e0a7ba684925669237ade8160405161111791906128f3565b60405180910390a150565b60008061112f3384611b01565b9050600061113c84611b8c565b9050600081838661114d9190612d75565b6111579190612d75565b9050611161610df0565b156111c157600d548161117388610e43565b61117d9190612da9565b11156111c057856040517ff6202a8f0000000000000000000000000000000000000000000000000000000081526004016111b79190612ad9565b60405180910390fd5b5b600083146111f7576111f633601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1685611bba565b5b6000821461120a576112093383611c8e565b5b6112148682611e09565b935050505092915050565b600b805461122c90612d15565b80601f016020809104026020016040519081016040528092919081815260200182805461125890612d15565b80156112a55780601f1061127a576101008083540402835291602001916112a5565b820191906000526020600020905b81548152906001019060200180831161128857829003601f168201915b505050505081565b60006112b7610a3b565b905090565b601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b7f7fab265f26833c37303cc008f5ab62b27e7bd4ce5b86cdb4ef885b53c63437e760001b81565b600d5481565b6113176118b2565b61131f610f45565b611355576040517fcd9e529800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000816009546012546113689190612da9565b6113729190612da9565b90506107d08111156113bb57806040517f3e474e0d0000000000000000000000000000000000000000000000000000000081526004016113b291906129f8565b60405180910390fd5b81601281905550817fc1ff65ee907dc079b64ed9913d53f4bd593bd6ebd9b2a2708db2916d49e17ec360405160405180910390a25050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b6000600f60000160049054906101000a900460ff16905090565b61149c6118b2565b6114a4610dd0565b6114da576040517fc8a478a500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000816009546012546114ed9190612da9565b6114f79190612da9565b90506107d081111561154057806040517f3e474e0d00000000000000000000000000000000000000000000000000000000815260040161153791906129f8565b60405180910390fd5b61154983611816565b82601060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081601181905550818373ffffffffffffffffffffffffffffffffffffffff167facc44e32fd5ca4240f6dbe6e8cf4eb49349c17c5ce5f80f1919a9c97b50d398a60405160405180910390a3505050565b6115e26118b2565b6115eb8161182f565b50565b6000600f60000160029054906101000a900460ff16905090565b6116106118b2565b611618610ba8565b61164e576040517f800e34b000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61165781611e2c565b807f76e1296412dac7b50002658bf9aab02d0cfe366f373222d5c14d0168ee8199e360405160405180910390a250565b6040518060400160405280600881526020017f646566695f765f3400000000000000000000000000000000000000000000000081525081565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361172f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161172690613199565b60405180910390fd5b61173b60008383611e8d565b806002600082825461174d9190612da9565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516117fe91906129f8565b60405180910390a361181260008383611e92565b5050565b8060601b61182c5763d92e233d6000526004601cfd5b50565b6118376118b2565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036118a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161189d9061322b565b60405180910390fd5b6118af81611e97565b50565b6118ba611930565b73ffffffffffffffffffffffffffffffffffffffff166118d8610ef7565b73ffffffffffffffffffffffffffffffffffffffff161461192e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161192590613297565b60405180910390fd5b565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036119a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161199e90613329565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611a16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a0d906133bb565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92583604051611af491906129f8565b60405180910390a3505050565b60008060115414158015611b635750601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614155b15611b865761271060115483611b7991906133db565b611b839190612e0c565b90505b92915050565b60008060125414611bb55761271060125483611ba891906133db565b611bb29190612e0c565b90505b919050565b7f000000000000000000000000000000000000000000000000000000000000000015611c7d5760008114611c78576000611bf2611d23565b905060008183611c0291906133db565b9050611c1085858384611f5d565b8373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef85604051611c6d91906129f8565b60405180910390a350505b611c89565b611c8883838361210d565b5b505050565b7f000000000000000000000000000000000000000000000000000000000000000015611ce6576040517f6cb5913900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611cf08282612383565b5050565b600080611cff611930565b9050611d0c858285612550565b611d178585856125dc565b60019150509392505050565b6000806000611d3061266f565b915091508082611d409190612e0c565b9250505090565b7f000000000000000000000000000000000000000000000000000000000000000015611d9f576040517f3990ac6800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611da982826116c0565b5050565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611dfd6118b2565b611e076000611e97565b565b600080611e14611930565b9050611e218185856125dc565b600191505092915050565b7f0000000000000000000000000000000000000000000000000000000000000000611e83576040517f800e34b000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060098190555050565b505050565b505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015611fea578381846040517fe450d38c000000000000000000000000000000000000000000000000000000008152600401611fe19392919061341d565b60405180910390fd5b82600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546120359190612d75565b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546120c39190612da9565b600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361217c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612173906134c6565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036121eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121e290613558565b60405180910390fd5b6121f6838383611e8d565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508181101561227c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612273906135ea565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161236a91906129f8565b60405180910390a361237d848484611e92565b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036123f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123e99061367c565b60405180910390fd5b6123fe82600083611e8d565b60008060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015612484576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161247b9061370e565b60405180910390fd5b8181036000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600260008282540392505081905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161253791906129f8565b60405180910390a361254b83600084611e92565b505050565b600061255c84846113f3565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146125d657818110156125c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125bf9061377a565b60405180910390fd5b6125d58484848403611938565b5b50505050565b7f00000000000000000000000000000000000000000000000000000000000000001561265e5761260b83611816565b61261482611816565b6000810361264e576040517f76c4f5b300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612659838383612685565b61266a565b61266983838361210d565b5b505050565b60008060075461267d6112ad565b915091509091565b600061269082612746565b9050600081836126a09190612d75565b905060008060006126b286868661276a565b9250925092506000861461273c576126cc88888584611f5d565b6126d682866127c0565b8673ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8860405161273391906129f8565b60405180910390a35b5050505050505050565b60006127106009548361275991906133db565b6127639190612e0c565b9050919050565b600080600080612778611d23565b90506000818861278891906133db565b90506000828861279891906133db565b9050600083886127a891906133db565b90508282829650965096505050505093509350939050565b816007546127ce9190612d75565b600781905550806008546127e29190612da9565b6008819055505050565b6000604051905090565b600080fd5b600080fd5b6000819050919050565b61281381612800565b811461281e57600080fd5b50565b6000813590506128308161280a565b92915050565b60006020828403121561284c5761284b6127f6565b5b600061285a84828501612821565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561289d578082015181840152602081019050612882565b60008484015250505050565b6000601f19601f8301169050919050565b60006128c582612863565b6128cf818561286e565b93506128df81856020860161287f565b6128e8816128a9565b840191505092915050565b6000602082019050818103600083015261290d81846128ba565b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061294082612915565b9050919050565b61295081612935565b811461295b57600080fd5b50565b60008135905061296d81612947565b92915050565b6000806040838503121561298a576129896127f6565b5b60006129988582860161295e565b92505060206129a985828601612821565b9150509250929050565b60008115159050919050565b6129c8816129b3565b82525050565b60006020820190506129e360008301846129bf565b92915050565b6129f281612800565b82525050565b6000602082019050612a0d60008301846129e9565b92915050565b600080600060608486031215612a2c57612a2b6127f6565b5b6000612a3a8682870161295e565b9350506020612a4b8682870161295e565b9250506040612a5c86828701612821565b9150509250925092565b600060ff82169050919050565b612a7c81612a66565b82525050565b6000602082019050612a976000830184612a73565b92915050565b600060208284031215612ab357612ab26127f6565b5b6000612ac18482850161295e565b91505092915050565b612ad381612935565b82525050565b6000602082019050612aee6000830184612aca565b92915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612b36826128a9565b810181811067ffffffffffffffff82111715612b5557612b54612afe565b5b80604052505050565b6000612b686127ec565b9050612b748282612b2d565b919050565b600067ffffffffffffffff821115612b9457612b93612afe565b5b612b9d826128a9565b9050602081019050919050565b82818337600083830152505050565b6000612bcc612bc784612b79565b612b5e565b905082815260208101848484011115612be857612be7612af9565b5b612bf3848285612baa565b509392505050565b600082601f830112612c1057612c0f612af4565b5b8135612c20848260208601612bb9565b91505092915050565b600060208284031215612c3f57612c3e6127f6565b5b600082013567ffffffffffffffff811115612c5d57612c5c6127fb565b5b612c6984828501612bfb565b91505092915050565b6000819050919050565b612c8581612c72565b82525050565b6000602082019050612ca06000830184612c7c565b92915050565b60008060408385031215612cbd57612cbc6127f6565b5b6000612ccb8582860161295e565b9250506020612cdc8582860161295e565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680612d2d57607f821691505b602082108103612d4057612d3f612ce6565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000612d8082612800565b9150612d8b83612800565b9250828203905081811115612da357612da2612d46565b5b92915050565b6000612db482612800565b9150612dbf83612800565b9250828201905080821115612dd757612dd6612d46565b5b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000612e1782612800565b9150612e2283612800565b925082612e3257612e31612ddd565b5b828204905092915050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b6000612e9960258361286e565b9150612ea482612e3d565b604082019050919050565b60006020820190508181036000830152612ec881612e8c565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302612f317fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82612ef4565b612f3b8683612ef4565b95508019841693508086168417925050509392505050565b6000819050919050565b6000612f78612f73612f6e84612800565b612f53565b612800565b9050919050565b6000819050919050565b612f9283612f5d565b612fa6612f9e82612f7f565b848454612f01565b825550505050565b600090565b612fbb612fae565b612fc6818484612f89565b505050565b5b81811015612fea57612fdf600082612fb3565b600181019050612fcc565b5050565b601f82111561302f5761300081612ecf565b61300984612ee4565b81016020851015613018578190505b61302c61302485612ee4565b830182612fcb565b50505b505050565b600082821c905092915050565b600061305260001984600802613034565b1980831691505092915050565b600061306b8383613041565b9150826002028217905092915050565b61308482612863565b67ffffffffffffffff81111561309d5761309c612afe565b5b6130a78254612d15565b6130b2828285612fee565b600060209050601f8311600181146130e557600084156130d3578287015190505b6130dd858261305f565b865550613145565b601f1984166130f386612ecf565b60005b8281101561311b578489015182556001820191506020850194506020810190506130f6565b868310156131385784890151613134601f891682613041565b8355505b6001600288020188555050505b505050505050565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b6000613183601f8361286e565b915061318e8261314d565b602082019050919050565b600060208201905081810360008301526131b281613176565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061321560268361286e565b9150613220826131b9565b604082019050919050565b6000602082019050818103600083015261324481613208565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061328160208361286e565b915061328c8261324b565b602082019050919050565b600060208201905081810360008301526132b081613274565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b600061331360248361286e565b915061331e826132b7565b604082019050919050565b6000602082019050818103600083015261334281613306565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b60006133a560228361286e565b91506133b082613349565b604082019050919050565b600060208201905081810360008301526133d481613398565b9050919050565b60006133e682612800565b91506133f183612800565b92508282026133ff81612800565b9150828204841483151761341657613415612d46565b5b5092915050565b60006060820190506134326000830186612aca565b61343f60208301856129e9565b61344c60408301846129e9565b949350505050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b60006134b060258361286e565b91506134bb82613454565b604082019050919050565b600060208201905081810360008301526134df816134a3565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b600061354260238361286e565b915061354d826134e6565b604082019050919050565b6000602082019050818103600083015261357181613535565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b60006135d460268361286e565b91506135df82613578565b604082019050919050565b60006020820190508181036000830152613603816135c7565b9050919050565b7f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b600061366660218361286e565b91506136718261360a565b604082019050919050565b6000602082019050818103600083015261369581613659565b9050919050565b7f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60008201527f6365000000000000000000000000000000000000000000000000000000000000602082015250565b60006136f860228361286e565b91506137038261369c565b604082019050919050565b60006020820190508181036000830152613727816136eb565b9050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b6000613764601d8361286e565b915061376f8261372e565b602082019050919050565b6000602082019050818103600083015261379381613757565b905091905056fea2646970667358221220af4fbab994626dc109849fdb53b12ba043ea3659237ad26c3d42d3b02e45577f64736f6c63430008110033000000000000000000000000000000000000000000000000000000000000028000000000000000000000000000000000000000000000000000000000000002c0000000000000000000000000000000000000000000000000000000e8d4a5100000000000000000000000000000000000000000000000000000000000000000120000000000000000000000007219645ded895dfb68fdf20a83fe7bee882819240000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000007219645ded895dfb68fdf20a83fe7bee88281924000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012446f67436174735472756d7041497065706500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007444f4354524150000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061027f5760003560e01c8063883356d91161015c578063af465a27116100ce578063de0060ca11610087578063de0060ca14610788578063f19c4e3b146107a6578063f2fde38b146107c2578063f820f567146107de578063f91f825d146107fc578063ffa1ad74146108185761027f565b8063af465a27146106c4578063b7bda68f146106e2578063bfcf735514610700578063d48e41271461071e578063d8f678511461073c578063dd62ed3e146107585761027f565b80639703a19d116101205780639703a19d146105ee578063a32f69761461060c578063a457c2d71461062a578063a476df611461065a578063a9059cbb14610676578063a9d86685146106a65761027f565b8063883356d9146105585780638da5cb5b146105765780638dac7191146105945780638e8c10a2146105b257806395d89b41146105d05761027f565b8063378dc3dc116101f55780634ac0bc32116101b95780634ac0bc32146104a6578063542e9667146104c45780635a3990ce146104e2578063614d08f81461050057806370a082311461051e578063715018a61461054e5761027f565b8063378dc3dc14610402578063395093511461042057806340c10f191461045057806342966c681461046c57806346b45af7146104885761027f565b806323b872dd1161024757806323b872dd1461032a5780632ab4d0521461035a5780632d838119146103785780632e0ee48e146103a85780632fa782eb146103c6578063313ce567146103e45761027f565b806302252c4d14610284578063044ab74e146102a057806306fdde03146102be578063095ea7b3146102dc57806318160ddd1461030c575b600080fd5b61029e60048036038101906102999190612836565b610836565b005b6102a86108f8565b6040516102b591906128f3565b60405180910390f35b6102c6610986565b6040516102d391906128f3565b60405180910390f35b6102f660048036038101906102f19190612973565b610a18565b60405161030391906129ce565b60405180910390f35b610314610a3b565b60405161032191906129f8565b60405180910390f35b610344600480360381019061033f9190612a13565b610a45565b60405161035191906129ce565b60405180910390f35b610362610b44565b60405161036f91906129f8565b60405180910390f35b610392600480360381019061038d9190612836565b610b4a565b60405161039f91906129f8565b60405180910390f35b6103b0610ba8565b6040516103bd91906129ce565b60405180910390f35b6103ce610bc2565b6040516103db91906129f8565b60405180910390f35b6103ec610bc8565b6040516103f99190612a82565b60405180910390f35b61040a610bf0565b60405161041791906129f8565b60405180910390f35b61043a60048036038101906104359190612973565b610c14565b60405161044791906129ce565b60405180910390f35b61046a60048036038101906104659190612973565b610c4b565b005b61048660048036038101906104819190612836565b610d63565b005b610490610db6565b60405161049d91906129ce565b60405180910390f35b6104ae610dd0565b6040516104bb91906129ce565b60405180910390f35b6104cc610dea565b6040516104d991906129f8565b60405180910390f35b6104ea610df0565b6040516104f791906129ce565b60405180910390f35b610508610e0a565b60405161051591906128f3565b60405180910390f35b61053860048036038101906105339190612a9d565b610e43565b60405161054591906129f8565b60405180910390f35b610556610ecb565b005b610560610edd565b60405161056d91906129ce565b60405180910390f35b61057e610ef7565b60405161058b9190612ad9565b60405180910390f35b61059c610f21565b6040516105a99190612ad9565b60405180910390f35b6105ba610f45565b6040516105c791906129ce565b60405180910390f35b6105d8610f5f565b6040516105e591906128f3565b60405180910390f35b6105f6610ff1565b60405161060391906129f8565b60405180910390f35b610614610ff7565b60405161062191906129f8565b60405180910390f35b610644600480360381019061063f9190612973565b61101b565b60405161065191906129ce565b60405180910390f35b610674600480360381019061066f9190612c29565b611092565b005b610690600480360381019061068b9190612973565b611122565b60405161069d91906129ce565b60405180910390f35b6106ae61121f565b6040516106bb91906128f3565b60405180910390f35b6106cc6112ad565b6040516106d991906129f8565b60405180910390f35b6106ea6112bc565b6040516106f79190612ad9565b60405180910390f35b6107086112e2565b6040516107159190612c8b565b60405180910390f35b610726611309565b60405161073391906129f8565b60405180910390f35b61075660048036038101906107519190612836565b61130f565b005b610772600480360381019061076d9190612ca6565b6113f3565b60405161077f91906129f8565b60405180910390f35b61079061147a565b60405161079d91906129ce565b60405180910390f35b6107c060048036038101906107bb9190612973565b611494565b005b6107dc60048036038101906107d79190612a9d565b6115da565b005b6107e66115ee565b6040516107f391906129ce565b60405180910390f35b61081660048036038101906108119190612836565b611608565b005b610820611687565b60405161082d91906128f3565b60405180910390f35b61083e6118b2565b610846610df0565b61087c576040517f6273340f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600d5481116108b7576040517fa43d2d7600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600d819055507f2905481c6fd1a037492016c4760435a52203d82a6f34dc3de40f464c1bf42d59816040516108ed91906129f8565b60405180910390a150565b600c805461090590612d15565b80601f016020809104026020016040519081016040528092919081815260200182805461093190612d15565b801561097e5780601f106109535761010080835404028352916020019161097e565b820191906000526020600020905b81548152906001019060200180831161096157829003601f168201915b505050505081565b60606003805461099590612d15565b80601f01602080910402602001604051908101604052809291908181526020018280546109c190612d15565b8015610a0e5780601f106109e357610100808354040283529160200191610a0e565b820191906000526020600020905b8154815290600101906020018083116109f157829003601f168201915b5050505050905090565b600080610a23611930565b9050610a30818585611938565b600191505092915050565b6000600254905090565b600080610a528584611b01565b90506000610a5f84611b8c565b90506000818386610a709190612d75565b610a7a9190612d75565b9050610a84610df0565b15610ae457600d5481610a9688610e43565b610aa09190612da9565b1115610ae357856040517ff6202a8f000000000000000000000000000000000000000000000000000000008152600401610ada9190612ad9565b60405180910390fd5b5b60008314610b1a57610b1987601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1685611bba565b5b60008214610b2d57610b2c8783611c8e565b5b610b38878783611cf4565b93505050509392505050565b600e5481565b6000600754821115610b88576040517fc91fa8bc00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000610b92611d23565b90508083610ba09190612e0c565b915050919050565b6000600f60000160079054906101000a900460ff16905090565b60115481565b60007f0000000000000000000000000000000000000000000000000000000000000012905090565b7f000000000000000000000000000000000000000000000000000000e8d4a5100081565b600080610c1f611930565b9050610c40818585610c3185896113f3565b610c3b9190612da9565b611938565b600191505092915050565b610c536118b2565b610c5b610db6565b610c91576040517f3990ac6800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610c99610df0565b15610cf957600d5481610cab84610e43565b610cb59190612da9565b1115610cf857816040517ff6202a8f000000000000000000000000000000000000000000000000000000008152600401610cef9190612ad9565b60405180910390fd5b5b610d0161147a565b15610d5557600e5481610d12610a3b565b610d1c9190612da9565b1115610d54576040517f44ea8ea500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b610d5f8282611d47565b5050565b610d6b6118b2565b610d73610edd565b610da9576040517f6cb5913900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610db33382611c8e565b50565b6000600f60000160009054906101000a900460ff16905090565b6000600f60000160059054906101000a900460ff16905090565b60125481565b6000600f60000160039054906101000a900460ff16905090565b6040518060400160405280600b81526020017f446566695634546f6b656e00000000000000000000000000000000000000000081525081565b60007f000000000000000000000000000000000000000000000000000000000000000015610eba57610eb3600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610b4a565b9050610ec6565b610ec382611dad565b90505b919050565b610ed36118b2565b610edb611df5565b565b6000600f60000160019054906101000a900460ff16905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b7f0000000000000000000000007219645ded895dfb68fdf20a83fe7bee8828192481565b6000600f60000160069054906101000a900460ff16905090565b606060048054610f6e90612d15565b80601f0160208091040260200160405190810160405280929190818152602001828054610f9a90612d15565b8015610fe75780601f10610fbc57610100808354040283529160200191610fe7565b820191906000526020600020905b815481529060010190602001808311610fca57829003601f168201915b5050505050905090565b60095481565b7f000000000000000000000000000000000000000000000000000000000000000081565b600080611026611930565b9050600061103482866113f3565b905083811015611079576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161107090612eaf565b60405180910390fd5b6110868286868403611938565b60019250505092915050565b61109a6118b2565b6110a26115ee565b6110d8576040517f70a43fce00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600c90816110e7919061307b565b507f4456a0b562609d67398ddb488f136db285cd3c92343e0a7ba684925669237ade8160405161111791906128f3565b60405180910390a150565b60008061112f3384611b01565b9050600061113c84611b8c565b9050600081838661114d9190612d75565b6111579190612d75565b9050611161610df0565b156111c157600d548161117388610e43565b61117d9190612da9565b11156111c057856040517ff6202a8f0000000000000000000000000000000000000000000000000000000081526004016111b79190612ad9565b60405180910390fd5b5b600083146111f7576111f633601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1685611bba565b5b6000821461120a576112093383611c8e565b5b6112148682611e09565b935050505092915050565b600b805461122c90612d15565b80601f016020809104026020016040519081016040528092919081815260200182805461125890612d15565b80156112a55780601f1061127a576101008083540402835291602001916112a5565b820191906000526020600020905b81548152906001019060200180831161128857829003601f168201915b505050505081565b60006112b7610a3b565b905090565b601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b7f7fab265f26833c37303cc008f5ab62b27e7bd4ce5b86cdb4ef885b53c63437e760001b81565b600d5481565b6113176118b2565b61131f610f45565b611355576040517fcd9e529800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000816009546012546113689190612da9565b6113729190612da9565b90506107d08111156113bb57806040517f3e474e0d0000000000000000000000000000000000000000000000000000000081526004016113b291906129f8565b60405180910390fd5b81601281905550817fc1ff65ee907dc079b64ed9913d53f4bd593bd6ebd9b2a2708db2916d49e17ec360405160405180910390a25050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b6000600f60000160049054906101000a900460ff16905090565b61149c6118b2565b6114a4610dd0565b6114da576040517fc8a478a500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000816009546012546114ed9190612da9565b6114f79190612da9565b90506107d081111561154057806040517f3e474e0d00000000000000000000000000000000000000000000000000000000815260040161153791906129f8565b60405180910390fd5b61154983611816565b82601060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081601181905550818373ffffffffffffffffffffffffffffffffffffffff167facc44e32fd5ca4240f6dbe6e8cf4eb49349c17c5ce5f80f1919a9c97b50d398a60405160405180910390a3505050565b6115e26118b2565b6115eb8161182f565b50565b6000600f60000160029054906101000a900460ff16905090565b6116106118b2565b611618610ba8565b61164e576040517f800e34b000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61165781611e2c565b807f76e1296412dac7b50002658bf9aab02d0cfe366f373222d5c14d0168ee8199e360405160405180910390a250565b6040518060400160405280600881526020017f646566695f765f3400000000000000000000000000000000000000000000000081525081565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361172f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161172690613199565b60405180910390fd5b61173b60008383611e8d565b806002600082825461174d9190612da9565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516117fe91906129f8565b60405180910390a361181260008383611e92565b5050565b8060601b61182c5763d92e233d6000526004601cfd5b50565b6118376118b2565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036118a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161189d9061322b565b60405180910390fd5b6118af81611e97565b50565b6118ba611930565b73ffffffffffffffffffffffffffffffffffffffff166118d8610ef7565b73ffffffffffffffffffffffffffffffffffffffff161461192e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161192590613297565b60405180910390fd5b565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036119a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161199e90613329565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611a16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a0d906133bb565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92583604051611af491906129f8565b60405180910390a3505050565b60008060115414158015611b635750601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614155b15611b865761271060115483611b7991906133db565b611b839190612e0c565b90505b92915050565b60008060125414611bb55761271060125483611ba891906133db565b611bb29190612e0c565b90505b919050565b7f000000000000000000000000000000000000000000000000000000000000000015611c7d5760008114611c78576000611bf2611d23565b905060008183611c0291906133db565b9050611c1085858384611f5d565b8373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef85604051611c6d91906129f8565b60405180910390a350505b611c89565b611c8883838361210d565b5b505050565b7f000000000000000000000000000000000000000000000000000000000000000015611ce6576040517f6cb5913900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611cf08282612383565b5050565b600080611cff611930565b9050611d0c858285612550565b611d178585856125dc565b60019150509392505050565b6000806000611d3061266f565b915091508082611d409190612e0c565b9250505090565b7f000000000000000000000000000000000000000000000000000000000000000015611d9f576040517f3990ac6800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611da982826116c0565b5050565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611dfd6118b2565b611e076000611e97565b565b600080611e14611930565b9050611e218185856125dc565b600191505092915050565b7f0000000000000000000000000000000000000000000000000000000000000000611e83576040517f800e34b000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060098190555050565b505050565b505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015611fea578381846040517fe450d38c000000000000000000000000000000000000000000000000000000008152600401611fe19392919061341d565b60405180910390fd5b82600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546120359190612d75565b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546120c39190612da9565b600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361217c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612173906134c6565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036121eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121e290613558565b60405180910390fd5b6121f6838383611e8d565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508181101561227c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612273906135ea565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161236a91906129f8565b60405180910390a361237d848484611e92565b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036123f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123e99061367c565b60405180910390fd5b6123fe82600083611e8d565b60008060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015612484576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161247b9061370e565b60405180910390fd5b8181036000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600260008282540392505081905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161253791906129f8565b60405180910390a361254b83600084611e92565b505050565b600061255c84846113f3565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146125d657818110156125c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125bf9061377a565b60405180910390fd5b6125d58484848403611938565b5b50505050565b7f00000000000000000000000000000000000000000000000000000000000000001561265e5761260b83611816565b61261482611816565b6000810361264e576040517f76c4f5b300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612659838383612685565b61266a565b61266983838361210d565b5b505050565b60008060075461267d6112ad565b915091509091565b600061269082612746565b9050600081836126a09190612d75565b905060008060006126b286868661276a565b9250925092506000861461273c576126cc88888584611f5d565b6126d682866127c0565b8673ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8860405161273391906129f8565b60405180910390a35b5050505050505050565b60006127106009548361275991906133db565b6127639190612e0c565b9050919050565b600080600080612778611d23565b90506000818861278891906133db565b90506000828861279891906133db565b9050600083886127a891906133db565b90508282829650965096505050505093509350939050565b816007546127ce9190612d75565b600781905550806008546127e29190612da9565b6008819055505050565b6000604051905090565b600080fd5b600080fd5b6000819050919050565b61281381612800565b811461281e57600080fd5b50565b6000813590506128308161280a565b92915050565b60006020828403121561284c5761284b6127f6565b5b600061285a84828501612821565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561289d578082015181840152602081019050612882565b60008484015250505050565b6000601f19601f8301169050919050565b60006128c582612863565b6128cf818561286e565b93506128df81856020860161287f565b6128e8816128a9565b840191505092915050565b6000602082019050818103600083015261290d81846128ba565b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061294082612915565b9050919050565b61295081612935565b811461295b57600080fd5b50565b60008135905061296d81612947565b92915050565b6000806040838503121561298a576129896127f6565b5b60006129988582860161295e565b92505060206129a985828601612821565b9150509250929050565b60008115159050919050565b6129c8816129b3565b82525050565b60006020820190506129e360008301846129bf565b92915050565b6129f281612800565b82525050565b6000602082019050612a0d60008301846129e9565b92915050565b600080600060608486031215612a2c57612a2b6127f6565b5b6000612a3a8682870161295e565b9350506020612a4b8682870161295e565b9250506040612a5c86828701612821565b9150509250925092565b600060ff82169050919050565b612a7c81612a66565b82525050565b6000602082019050612a976000830184612a73565b92915050565b600060208284031215612ab357612ab26127f6565b5b6000612ac18482850161295e565b91505092915050565b612ad381612935565b82525050565b6000602082019050612aee6000830184612aca565b92915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612b36826128a9565b810181811067ffffffffffffffff82111715612b5557612b54612afe565b5b80604052505050565b6000612b686127ec565b9050612b748282612b2d565b919050565b600067ffffffffffffffff821115612b9457612b93612afe565b5b612b9d826128a9565b9050602081019050919050565b82818337600083830152505050565b6000612bcc612bc784612b79565b612b5e565b905082815260208101848484011115612be857612be7612af9565b5b612bf3848285612baa565b509392505050565b600082601f830112612c1057612c0f612af4565b5b8135612c20848260208601612bb9565b91505092915050565b600060208284031215612c3f57612c3e6127f6565b5b600082013567ffffffffffffffff811115612c5d57612c5c6127fb565b5b612c6984828501612bfb565b91505092915050565b6000819050919050565b612c8581612c72565b82525050565b6000602082019050612ca06000830184612c7c565b92915050565b60008060408385031215612cbd57612cbc6127f6565b5b6000612ccb8582860161295e565b9250506020612cdc8582860161295e565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680612d2d57607f821691505b602082108103612d4057612d3f612ce6565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000612d8082612800565b9150612d8b83612800565b9250828203905081811115612da357612da2612d46565b5b92915050565b6000612db482612800565b9150612dbf83612800565b9250828201905080821115612dd757612dd6612d46565b5b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000612e1782612800565b9150612e2283612800565b925082612e3257612e31612ddd565b5b828204905092915050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b6000612e9960258361286e565b9150612ea482612e3d565b604082019050919050565b60006020820190508181036000830152612ec881612e8c565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302612f317fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82612ef4565b612f3b8683612ef4565b95508019841693508086168417925050509392505050565b6000819050919050565b6000612f78612f73612f6e84612800565b612f53565b612800565b9050919050565b6000819050919050565b612f9283612f5d565b612fa6612f9e82612f7f565b848454612f01565b825550505050565b600090565b612fbb612fae565b612fc6818484612f89565b505050565b5b81811015612fea57612fdf600082612fb3565b600181019050612fcc565b5050565b601f82111561302f5761300081612ecf565b61300984612ee4565b81016020851015613018578190505b61302c61302485612ee4565b830182612fcb565b50505b505050565b600082821c905092915050565b600061305260001984600802613034565b1980831691505092915050565b600061306b8383613041565b9150826002028217905092915050565b61308482612863565b67ffffffffffffffff81111561309d5761309c612afe565b5b6130a78254612d15565b6130b2828285612fee565b600060209050601f8311600181146130e557600084156130d3578287015190505b6130dd858261305f565b865550613145565b601f1984166130f386612ecf565b60005b8281101561311b578489015182556001820191506020850194506020810190506130f6565b868310156131385784890151613134601f891682613041565b8355505b6001600288020188555050505b505050505050565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b6000613183601f8361286e565b915061318e8261314d565b602082019050919050565b600060208201905081810360008301526131b281613176565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061321560268361286e565b9150613220826131b9565b604082019050919050565b6000602082019050818103600083015261324481613208565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061328160208361286e565b915061328c8261324b565b602082019050919050565b600060208201905081810360008301526132b081613274565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b600061331360248361286e565b915061331e826132b7565b604082019050919050565b6000602082019050818103600083015261334281613306565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b60006133a560228361286e565b91506133b082613349565b604082019050919050565b600060208201905081810360008301526133d481613398565b9050919050565b60006133e682612800565b91506133f183612800565b92508282026133ff81612800565b9150828204841483151761341657613415612d46565b5b5092915050565b60006060820190506134326000830186612aca565b61343f60208301856129e9565b61344c60408301846129e9565b949350505050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b60006134b060258361286e565b91506134bb82613454565b604082019050919050565b600060208201905081810360008301526134df816134a3565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b600061354260238361286e565b915061354d826134e6565b604082019050919050565b6000602082019050818103600083015261357181613535565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b60006135d460268361286e565b91506135df82613578565b604082019050919050565b60006020820190508181036000830152613603816135c7565b9050919050565b7f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b600061366660218361286e565b91506136718261360a565b604082019050919050565b6000602082019050818103600083015261369581613659565b9050919050565b7f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60008201527f6365000000000000000000000000000000000000000000000000000000000000602082015250565b60006136f860228361286e565b91506137038261369c565b604082019050919050565b60006020820190508181036000830152613727816136eb565b9050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b6000613764601d8361286e565b915061376f8261372e565b602082019050919050565b6000602082019050818103600083015261379381613757565b905091905056fea2646970667358221220af4fbab994626dc109849fdb53b12ba043ea3659237ad26c3d42d3b02e45577f64736f6c63430008110033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000028000000000000000000000000000000000000000000000000000000000000002c0000000000000000000000000000000000000000000000000000000e8d4a5100000000000000000000000000000000000000000000000000000000000000000120000000000000000000000007219645ded895dfb68fdf20a83fe7bee882819240000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000007219645ded895dfb68fdf20a83fe7bee88281924000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012446f67436174735472756d7041497065706500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007444f4354524150000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : name_ (string): DogCatsTrumpAIpepe
Arg [1] : symbol_ (string): DOCTRAP
Arg [2] : initialSupplyToSet (uint256): 1000000000000
Arg [3] : decimalsToSet (uint8): 18
Arg [4] : tokenOwner (address): 0x7219645DEd895dFb68FdF20A83fe7bee88281924
Arg [5] : customConfigProps (tuple): System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput]
Arg [6] : newDocumentUri (string):
Arg [7] : _taxAddress (address): 0x7219645DEd895dFb68FdF20A83fe7bee88281924
Arg [8] : bpsParams (uint256[3]): 0,0,0
Arg [9] : amountParams (uint256[2]): 0,0
-----Encoded View---------------
25 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000280
Arg [1] : 00000000000000000000000000000000000000000000000000000000000002c0
Arg [2] : 000000000000000000000000000000000000000000000000000000e8d4a51000
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000012
Arg [4] : 0000000000000000000000007219645ded895dfb68fdf20a83fe7bee88281924
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [11] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [12] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [13] : 0000000000000000000000000000000000000000000000000000000000000300
Arg [14] : 0000000000000000000000007219645ded895dfb68fdf20a83fe7bee88281924
Arg [15] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [16] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [17] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [18] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [19] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [20] : 0000000000000000000000000000000000000000000000000000000000000012
Arg [21] : 446f67436174735472756d704149706570650000000000000000000000000000
Arg [22] : 0000000000000000000000000000000000000000000000000000000000000007
Arg [23] : 444f435452415000000000000000000000000000000000000000000000000000
Arg [24] : 0000000000000000000000000000000000000000000000000000000000000000
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.