Warning! Contract bytecode has been changed and doesn't match the verified one. Therefore, interaction with this smart contract may be risky.
- Contract name:
- PulseFinityToken
- Optimization enabled
- true
- Compiler version
- v0.8.17+commit.8df45f5f
- Optimization runs
- 1000
- EVM Version
- default
- Verified at
- 2023-06-14T19:31:00.431094Z
Constructor Arguments
0x0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000014000000000000000000000000054904773d0fbad2b32e083547c2e236376f8cd4800000000000000000000000038dc1711dd57fb853b1c9b26b35d7cce1cc7583d000000000000000000000000ea7b19c6c34c7e67cdc5a436b182f76d5a1442ee000000000000000000000000dd97806811d2fc12ac2cc4ec4bb4ab9c76e44324000000000000000000000000ff0538782d122d3112f75dc7121f61562261c0f7000000000000000000000000dae9dd3d1a52cfce9d5f2fac7fde164d500e50f7000000000000000000000000000000000000000000000000000000000000001150756c736546696e69747920546f6b656e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003504c460000000000000000000000000000000000000000000000000000000000
Arg [0] (string) : PulseFinity Token
Arg [1] (string) : PLF
Arg [2] (address) : 0x54904773d0fbad2b32e083547c2e236376f8cd48
Arg [3] (address) : 0x38dc1711dd57fb853b1c9b26b35d7cce1cc7583d
Arg [4] (address) : 0xea7b19c6c34c7e67cdc5a436b182f76d5a1442ee
Arg [5] (address) : 0xdd97806811d2fc12ac2cc4ec4bb4ab9c76e44324
Arg [6] (address) : 0xff0538782d122d3112f75dc7121f61562261c0f7
Arg [7] (address) : 0xdae9dd3d1a52cfce9d5f2fac7fde164d500e50f7
contracts/src/PulseFinityToken.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.17;
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@uniswap/v2-core/contracts/interfaces/IUniswapV2Factory.sol";
import "../interfaces/IPLXRouter.sol";
contract PulseFinityToken is ERC20 {
uint256 public immutable maxSupply = 50 ether * 10**9;
uint256 public immutable txFeePercentage = 8;
uint256 public immutable txBurnPercentage = 2;
uint256 public immutable txFeePercentageDenominator = 100;
bool public tradingEnabled = false;
address public immutable sacrificeContract;
address public immutable stakingContract;
address public immutable priceDiscoveryContract;
address public immutable taxReceiverAddress;
address public immutable dexPair;
/*
* @dev Contract addresses are passed in as deterministic addresses
* @dev whose deployments may occur in the future.
*/
constructor(
string memory name,
string memory symbol,
address sacrificeContract_,
address stakingContractAddress_,
address priceDiscoveryContract_,
address taxReceiverAddress_,
address factory_,
address router_
) ERC20(name, symbol) {
require(bytes(name).length > 0, "name cannot be empty");
require(bytes(symbol).length > 0, "symbol cannot be empty");
require(sacrificeContract_ != address(0), "Sacrifice contract cannot be zero address");
require(stakingContractAddress_ != address(0), "Staking contract cannot be zero address");
require(priceDiscoveryContract_ != address(0), "Price discovery contract cannot be zero address");
require(taxReceiverAddress_ != address(0), "Tax recipient cannot be zero address");
require(factory_ != address(0), "Factory cannot be zero address");
require(router_ != address(0), "Router cannot be zero address");
sacrificeContract = sacrificeContract_;
stakingContract = stakingContractAddress_;
priceDiscoveryContract = priceDiscoveryContract_;
taxReceiverAddress = taxReceiverAddress_;
/// @dev dexPair initialized and set in the constructor to
/// @dev avoid ownable functions.
dexPair = IUniswapV2Factory(factory_).createPair(
address(this),
IPLXRouter(router_).WPLS()
);
_mint(sacrificeContract_, maxSupply);
}
/*
* @dev Sacrifice contract will burn tokens as part of the launch tokenomics.
* @dev Staking contract may burn tokens as part of the early unstake fee.
*/
function burn(uint256 amount) external {
require(
msg.sender == sacrificeContract ||
msg.sender == stakingContract
, "Only sacrifice or staking contract can burn");
_burn(msg.sender, amount);
}
/*
* @dev Price Discovery contract will enable trading at the end of the
* @dev price discovery phase.
*/
function enableTrading() external {
require(msg.sender == priceDiscoveryContract, "Only price discovery contract can enable trading");
tradingEnabled = true;
}
/*
* @dev Transfer function overriden to enforce the trading tax
* @dev and to prevent transfers before trading is enabled.
* @dev Only price discovery contract can send tokens to the dex pair
* @dev before trading is enabled as it will add liquidity as part of the
* @dev price discovery phase.
*/
function _transfer(
address from,
address to,
uint256 amount
) internal override {
if (!tradingEnabled) {
require(
from == priceDiscoveryContract ||
to == priceDiscoveryContract ||
from == sacrificeContract ||
to == sacrificeContract,
"Trading disabled."
);
}
if ((to == dexPair || from == dexPair) &&
from != priceDiscoveryContract
) {
uint256 taxAmount = (amount * txFeePercentage) /
txFeePercentageDenominator;
uint256 burnAmount = (amount * txBurnPercentage) /
txFeePercentageDenominator;
uint256 transferAmount = amount - taxAmount - burnAmount;
super._transfer(from, taxReceiverAddress, taxAmount);
super._transfer(from, to, transferAmount);
_burn(from, burnAmount);
} else
super._transfer(from, to, amount);
}
receive() external payable {}
}
@openzeppelin/contracts/token/ERC20/ERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC20/ERC20.sol)
pragma solidity ^0.8.0;
import "./IERC20.sol";
import "./extensions/IERC20Metadata.sol";
import "../../utils/Context.sol";
/**
* @dev Implementation of the {IERC20} interface.
*
* This implementation is agnostic to the way tokens are created. This means
* that a supply mechanism has to be added in a derived contract using {_mint}.
* For a generic mechanism see {ERC20PresetMinterPauser}.
*
* TIP: For a detailed writeup see our guide
* https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
* to implement supply mechanisms].
*
* We have followed general OpenZeppelin Contracts guidelines: functions revert
* instead returning `false` on failure. This behavior is nonetheless
* conventional and does not conflict with the expectations of ERC20
* applications.
*
* Additionally, an {Approval} event is emitted on calls to {transferFrom}.
* This allows applications to reconstruct the allowance for all accounts just
* by listening to said events. Other implementations of the EIP may not emit
* these events, as it isn't required by the specification.
*
* Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
* functions have been added to mitigate the well-known issues around setting
* allowances. See {IERC20-approve}.
*/
contract ERC20 is Context, IERC20, IERC20Metadata {
mapping(address => uint256) private _balances;
mapping(address => mapping(address => uint256)) private _allowances;
uint256 private _totalSupply;
string private _name;
string private _symbol;
/**
* @dev Sets the values for {name} and {symbol}.
*
* The default value of {decimals} is 18. To select a different value for
* {decimals} you should overload it.
*
* All two of these values are immutable: they can only be set once during
* construction.
*/
constructor(string memory name_, string memory symbol_) {
_name = name_;
_symbol = symbol_;
}
/**
* @dev Returns the name of the token.
*/
function name() public view virtual override returns (string memory) {
return _name;
}
/**
* @dev Returns the symbol of the token, usually a shorter version of the
* name.
*/
function symbol() public view virtual override returns (string memory) {
return _symbol;
}
/**
* @dev Returns the number of decimals used to get its user representation.
* For example, if `decimals` equals `2`, a balance of `505` tokens should
* be displayed to a user as `5.05` (`505 / 10 ** 2`).
*
* Tokens usually opt for a value of 18, imitating the relationship between
* Ether and Wei. This is the value {ERC20} uses, unless this function is
* overridden;
*
* NOTE: This information is only used for _display_ purposes: it in
* no way affects any of the arithmetic of the contract, including
* {IERC20-balanceOf} and {IERC20-transfer}.
*/
function decimals() public view virtual override returns (uint8) {
return 18;
}
/**
* @dev See {IERC20-totalSupply}.
*/
function totalSupply() public view virtual override returns (uint256) {
return _totalSupply;
}
/**
* @dev See {IERC20-balanceOf}.
*/
function balanceOf(address account) public view virtual override returns (uint256) {
return _balances[account];
}
/**
* @dev See {IERC20-transfer}.
*
* Requirements:
*
* - `to` cannot be the zero address.
* - the caller must have a balance of at least `amount`.
*/
function transfer(address to, uint256 amount) public virtual override returns (bool) {
address owner = _msgSender();
_transfer(owner, to, amount);
return true;
}
/**
* @dev See {IERC20-allowance}.
*/
function allowance(address owner, address spender) public view virtual override returns (uint256) {
return _allowances[owner][spender];
}
/**
* @dev See {IERC20-approve}.
*
* NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on
* `transferFrom`. This is semantically equivalent to an infinite approval.
*
* Requirements:
*
* - `spender` cannot be the zero address.
*/
function approve(address spender, uint256 amount) public virtual override returns (bool) {
address owner = _msgSender();
_approve(owner, spender, amount);
return true;
}
/**
* @dev See {IERC20-transferFrom}.
*
* Emits an {Approval} event indicating the updated allowance. This is not
* required by the EIP. See the note at the beginning of {ERC20}.
*
* NOTE: Does not update the allowance if the current allowance
* is the maximum `uint256`.
*
* Requirements:
*
* - `from` and `to` cannot be the zero address.
* - `from` must have a balance of at least `amount`.
* - the caller must have allowance for ``from``'s tokens of at least
* `amount`.
*/
function transferFrom(
address from,
address to,
uint256 amount
) public virtual override returns (bool) {
address spender = _msgSender();
_spendAllowance(from, spender, amount);
_transfer(from, to, amount);
return true;
}
/**
* @dev Atomically increases the allowance granted to `spender` by the caller.
*
* This is an alternative to {approve} that can be used as a mitigation for
* problems described in {IERC20-approve}.
*
* Emits an {Approval} event indicating the updated allowance.
*
* Requirements:
*
* - `spender` cannot be the zero address.
*/
function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
address owner = _msgSender();
_approve(owner, spender, allowance(owner, spender) + addedValue);
return true;
}
/**
* @dev Atomically decreases the allowance granted to `spender` by the caller.
*
* This is an alternative to {approve} that can be used as a mitigation for
* problems described in {IERC20-approve}.
*
* Emits an {Approval} event indicating the updated allowance.
*
* Requirements:
*
* - `spender` cannot be the zero address.
* - `spender` must have allowance for the caller of at least
* `subtractedValue`.
*/
function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
address owner = _msgSender();
uint256 currentAllowance = allowance(owner, spender);
require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
unchecked {
_approve(owner, spender, currentAllowance - subtractedValue);
}
return true;
}
/**
* @dev Moves `amount` of tokens from `from` to `to`.
*
* This internal function is equivalent to {transfer}, and can be used to
* e.g. implement automatic token fees, slashing mechanisms, etc.
*
* Emits a {Transfer} event.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `from` must have a balance of at least `amount`.
*/
function _transfer(
address from,
address to,
uint256 amount
) internal virtual {
require(from != address(0), "ERC20: transfer from the zero address");
require(to != address(0), "ERC20: transfer to the zero address");
_beforeTokenTransfer(from, to, amount);
uint256 fromBalance = _balances[from];
require(fromBalance >= amount, "ERC20: transfer amount exceeds balance");
unchecked {
_balances[from] = fromBalance - amount;
}
_balances[to] += amount;
emit Transfer(from, to, amount);
_afterTokenTransfer(from, to, amount);
}
/** @dev Creates `amount` tokens and assigns them to `account`, increasing
* the total supply.
*
* Emits a {Transfer} event with `from` set to the zero address.
*
* Requirements:
*
* - `account` cannot be the zero address.
*/
function _mint(address account, uint256 amount) internal virtual {
require(account != address(0), "ERC20: mint to the zero address");
_beforeTokenTransfer(address(0), account, amount);
_totalSupply += amount;
_balances[account] += amount;
emit Transfer(address(0), account, amount);
_afterTokenTransfer(address(0), account, amount);
}
/**
* @dev Destroys `amount` tokens from `account`, reducing the
* total supply.
*
* Emits a {Transfer} event with `to` set to the zero address.
*
* Requirements:
*
* - `account` cannot be the zero address.
* - `account` must have at least `amount` tokens.
*/
function _burn(address account, uint256 amount) internal virtual {
require(account != address(0), "ERC20: burn from the zero address");
_beforeTokenTransfer(account, address(0), amount);
uint256 accountBalance = _balances[account];
require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
unchecked {
_balances[account] = accountBalance - amount;
}
_totalSupply -= amount;
emit Transfer(account, address(0), amount);
_afterTokenTransfer(account, address(0), amount);
}
/**
* @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
*
* This internal function is equivalent to `approve`, and can be used to
* e.g. set automatic allowances for certain subsystems, etc.
*
* Emits an {Approval} event.
*
* Requirements:
*
* - `owner` cannot be the zero address.
* - `spender` cannot be the zero address.
*/
function _approve(
address owner,
address spender,
uint256 amount
) internal virtual {
require(owner != address(0), "ERC20: approve from the zero address");
require(spender != address(0), "ERC20: approve to the zero address");
_allowances[owner][spender] = amount;
emit Approval(owner, spender, amount);
}
/**
* @dev Updates `owner` s allowance for `spender` based on spent `amount`.
*
* Does not update the allowance amount in case of infinite allowance.
* Revert if not enough allowance is available.
*
* Might emit an {Approval} event.
*/
function _spendAllowance(
address owner,
address spender,
uint256 amount
) internal virtual {
uint256 currentAllowance = allowance(owner, spender);
if (currentAllowance != type(uint256).max) {
require(currentAllowance >= amount, "ERC20: insufficient allowance");
unchecked {
_approve(owner, spender, currentAllowance - amount);
}
}
}
/**
* @dev Hook that is called before any transfer of tokens. This includes
* minting and burning.
*
* Calling conditions:
*
* - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
* will be transferred to `to`.
* - when `from` is zero, `amount` tokens will be minted for `to`.
* - when `to` is zero, `amount` of ``from``'s tokens will be burned.
* - `from` and `to` are never both zero.
*
* To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
*/
function _beforeTokenTransfer(
address from,
address to,
uint256 amount
) internal virtual {}
/**
* @dev Hook that is called after any transfer of tokens. This includes
* minting and burning.
*
* Calling conditions:
*
* - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
* has been transferred to `to`.
* - when `from` is zero, `amount` tokens have been minted for `to`.
* - when `to` is zero, `amount` of ``from``'s tokens have been burned.
* - `from` and `to` are never both zero.
*
* To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
*/
function _afterTokenTransfer(
address from,
address to,
uint256 amount
) internal virtual {}
}
@openzeppelin/contracts/token/ERC20/IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
interface IERC20 {
/**
* @dev Emitted when `value` tokens are moved from one account (`from`) to
* another (`to`).
*
* Note that `value` may be zero.
*/
event Transfer(address indexed from, address indexed to, uint256 value);
/**
* @dev Emitted when the allowance of a `spender` for an `owner` is set by
* a call to {approve}. `value` is the new allowance.
*/
event Approval(address indexed owner, address indexed spender, uint256 value);
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the amount of tokens owned by `account`.
*/
function balanceOf(address account) external view returns (uint256);
/**
* @dev Moves `amount` tokens from the caller's account to `to`.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transfer(address to, uint256 amount) external returns (bool);
/**
* @dev Returns the remaining number of tokens that `spender` will be
* allowed to spend on behalf of `owner` through {transferFrom}. This is
* zero by default.
*
* This value changes when {approve} or {transferFrom} are called.
*/
function allowance(address owner, address spender) external view returns (uint256);
/**
* @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* IMPORTANT: Beware that changing an allowance with this method brings the risk
* that someone may use both the old and the new allowance by unfortunate
* transaction ordering. One possible solution to mitigate this race
* condition is to first reduce the spender's allowance to 0 and set the
* desired value afterwards:
* https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
*
* Emits an {Approval} event.
*/
function approve(address spender, uint256 amount) external returns (bool);
/**
* @dev Moves `amount` tokens from `from` to `to` using the
* allowance mechanism. `amount` is then deducted from the caller's
* allowance.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transferFrom(
address from,
address to,
uint256 amount
) external returns (bool);
}
@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol
// 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);
}
@openzeppelin/contracts/utils/Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)
pragma solidity ^0.8.0;
/**
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
* via msg.sender and msg.data, they should not be accessed in such a direct
* manner, since when dealing with meta-transactions the account sending and
* paying for execution may not be the actual sender (as far as an application
* is concerned).
*
* This contract is only required for intermediate, library-like contracts.
*/
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes calldata) {
return msg.data;
}
}
@uniswap/v2-core/contracts/interfaces/IUniswapV2Factory.sol
pragma solidity >=0.5.0;
interface IUniswapV2Factory {
event PairCreated(address indexed token0, address indexed token1, address pair, uint);
function feeTo() external view returns (address);
function feeToSetter() external view returns (address);
function getPair(address tokenA, address tokenB) external view returns (address pair);
function allPairs(uint) external view returns (address pair);
function allPairsLength() external view returns (uint);
function createPair(address tokenA, address tokenB) external returns (address pair);
function setFeeTo(address) external;
function setFeeToSetter(address) external;
}
@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router01.sol
pragma solidity >=0.6.2;
interface IUniswapV2Router01 {
function factory() external pure returns (address);
function WETH() external pure returns (address);
function addLiquidity(
address tokenA,
address tokenB,
uint amountADesired,
uint amountBDesired,
uint amountAMin,
uint amountBMin,
address to,
uint deadline
) external returns (uint amountA, uint amountB, uint liquidity);
function addLiquidityETH(
address token,
uint amountTokenDesired,
uint amountTokenMin,
uint amountETHMin,
address to,
uint deadline
) external payable returns (uint amountToken, uint amountETH, uint liquidity);
function removeLiquidity(
address tokenA,
address tokenB,
uint liquidity,
uint amountAMin,
uint amountBMin,
address to,
uint deadline
) external returns (uint amountA, uint amountB);
function removeLiquidityETH(
address token,
uint liquidity,
uint amountTokenMin,
uint amountETHMin,
address to,
uint deadline
) external returns (uint amountToken, uint amountETH);
function removeLiquidityWithPermit(
address tokenA,
address tokenB,
uint liquidity,
uint amountAMin,
uint amountBMin,
address to,
uint deadline,
bool approveMax, uint8 v, bytes32 r, bytes32 s
) external returns (uint amountA, uint amountB);
function removeLiquidityETHWithPermit(
address token,
uint liquidity,
uint amountTokenMin,
uint amountETHMin,
address to,
uint deadline,
bool approveMax, uint8 v, bytes32 r, bytes32 s
) external returns (uint amountToken, uint amountETH);
function swapExactTokensForTokens(
uint amountIn,
uint amountOutMin,
address[] calldata path,
address to,
uint deadline
) external returns (uint[] memory amounts);
function swapTokensForExactTokens(
uint amountOut,
uint amountInMax,
address[] calldata path,
address to,
uint deadline
) external returns (uint[] memory amounts);
function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline)
external
payable
returns (uint[] memory amounts);
function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline)
external
returns (uint[] memory amounts);
function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline)
external
returns (uint[] memory amounts);
function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline)
external
payable
returns (uint[] memory amounts);
function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB);
function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut);
function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn);
function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts);
function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts);
}
@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol
pragma solidity >=0.6.2;
import './IUniswapV2Router01.sol';
interface IUniswapV2Router02 is IUniswapV2Router01 {
function removeLiquidityETHSupportingFeeOnTransferTokens(
address token,
uint liquidity,
uint amountTokenMin,
uint amountETHMin,
address to,
uint deadline
) external returns (uint amountETH);
function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens(
address token,
uint liquidity,
uint amountTokenMin,
uint amountETHMin,
address to,
uint deadline,
bool approveMax, uint8 v, bytes32 r, bytes32 s
) external returns (uint amountETH);
function swapExactTokensForTokensSupportingFeeOnTransferTokens(
uint amountIn,
uint amountOutMin,
address[] calldata path,
address to,
uint deadline
) external;
function swapExactETHForTokensSupportingFeeOnTransferTokens(
uint amountOutMin,
address[] calldata path,
address to,
uint deadline
) external payable;
function swapExactTokensForETHSupportingFeeOnTransferTokens(
uint amountIn,
uint amountOutMin,
address[] calldata path,
address to,
uint deadline
) external;
}
contracts/interfaces/IPLXRouter.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.17;
import "@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol";
/// @dev Override the default uniswap router interface with the PulseX router interface
interface IPLXRouter is IUniswapV2Router02 {
function WPLS() external view returns (address);
}
Compiler Settings
{"outputSelection":{"*":{"*":["abi","evm.bytecode","evm.deployedBytecode","evm.methodIdentifiers"]}},"optimizer":{"runs":1000,"enabled":true},"metadata":{"useLiteralContent":true},"libraries":{}}
Contract ABI
[{"type":"constructor","inputs":[{"type":"string","name":"name","internalType":"string"},{"type":"string","name":"symbol","internalType":"string"},{"type":"address","name":"sacrificeContract_","internalType":"address"},{"type":"address","name":"stakingContractAddress_","internalType":"address"},{"type":"address","name":"priceDiscoveryContract_","internalType":"address"},{"type":"address","name":"taxReceiverAddress_","internalType":"address"},{"type":"address","name":"factory_","internalType":"address"},{"type":"address","name":"router_","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"allowance","inputs":[{"type":"address","name":"owner","internalType":"address"},{"type":"address","name":"spender","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"approve","inputs":[{"type":"address","name":"spender","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"balanceOf","inputs":[{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"burn","inputs":[{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint8","name":"","internalType":"uint8"}],"name":"decimals","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"decreaseAllowance","inputs":[{"type":"address","name":"spender","internalType":"address"},{"type":"uint256","name":"subtractedValue","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"dexPair","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"enableTrading","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"increaseAllowance","inputs":[{"type":"address","name":"spender","internalType":"address"},{"type":"uint256","name":"addedValue","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"maxSupply","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"name","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"priceDiscoveryContract","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"sacrificeContract","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"stakingContract","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"symbol","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"taxReceiverAddress","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"totalSupply","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"tradingEnabled","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"transfer","inputs":[{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"transferFrom","inputs":[{"type":"address","name":"from","internalType":"address"},{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"txBurnPercentage","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"txFeePercentage","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"txFeePercentageDenominator","inputs":[]},{"type":"event","name":"Approval","inputs":[{"type":"address","name":"owner","indexed":true},{"type":"address","name":"spender","indexed":true},{"type":"uint256","name":"value","indexed":false}],"anonymous":false},{"type":"event","name":"Transfer","inputs":[{"type":"address","name":"from","indexed":true},{"type":"address","name":"to","indexed":true},{"type":"uint256","name":"value","indexed":false}],"anonymous":false},{"type":"receive"}]
Contract Creation Code
0x6101a06040526ba18f07d736b90be550000000608052600860a052600260c052606460e0526005805460ff191690553480156200003b57600080fd5b5060405162001d7538038062001d758339810160408190526200005e9162000681565b878760036200006e8382620007e9565b5060046200007d8282620007e9565b5050506000885111620000d75760405162461bcd60e51b815260206004820152601460248201527f6e616d652063616e6e6f7420626520656d70747900000000000000000000000060448201526064015b60405180910390fd5b60008751116200012a5760405162461bcd60e51b815260206004820152601660248201527f73796d626f6c2063616e6e6f7420626520656d707479000000000000000000006044820152606401620000ce565b6001600160a01b038616620001945760405162461bcd60e51b815260206004820152602960248201527f53616372696669636520636f6e74726163742063616e6e6f74206265207a65726044820152686f206164647265737360b81b6064820152608401620000ce565b6001600160a01b038516620001fc5760405162461bcd60e51b815260206004820152602760248201527f5374616b696e6720636f6e74726163742063616e6e6f74206265207a65726f206044820152666164647265737360c81b6064820152608401620000ce565b6001600160a01b0384166200026c5760405162461bcd60e51b815260206004820152602f60248201527f507269636520646973636f7665727920636f6e74726163742063616e6e6f742060448201526e6265207a65726f206164647265737360881b6064820152608401620000ce565b6001600160a01b038316620002d05760405162461bcd60e51b8152602060048201526024808201527f54617820726563697069656e742063616e6e6f74206265207a65726f206164646044820152637265737360e01b6064820152608401620000ce565b6001600160a01b038216620003285760405162461bcd60e51b815260206004820152601e60248201527f466163746f72792063616e6e6f74206265207a65726f206164647265737300006044820152606401620000ce565b6001600160a01b038116620003805760405162461bcd60e51b815260206004820152601d60248201527f526f757465722063616e6e6f74206265207a65726f20616464726573730000006044820152606401620000ce565b6001600160a01b03808716610100528581166101205284811661014052838116610160526040805163ef8ef56f60e01b815290518483169263c9c653969230929186169163ef8ef56f916004808201926020929091908290030181865afa158015620003f0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620004169190620008b5565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af115801562000464573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200048a9190620008b5565b6001600160a01b031661018052608051620004a7908790620004b5565b505050505050505062000902565b6001600160a01b0382166200050d5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401620000ce565b8060026000828254620005219190620008da565b90915550506001600160a01b0382166000908152602081905260408120805483929062000550908490620008da565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b505050565b634e487b7160e01b600052604160045260246000fd5b600082601f830112620005c757600080fd5b81516001600160401b0380821115620005e457620005e46200059f565b604051601f8301601f19908116603f011681019082821181831017156200060f576200060f6200059f565b816040528381526020925086838588010111156200062c57600080fd5b600091505b8382101562000650578582018301518183018401529082019062000631565b600093810190920192909252949350505050565b80516001600160a01b03811681146200067c57600080fd5b919050565b600080600080600080600080610100898b0312156200069f57600080fd5b88516001600160401b0380821115620006b757600080fd5b620006c58c838d01620005b5565b995060208b0151915080821115620006dc57600080fd5b50620006eb8b828c01620005b5565b975050620006fc60408a0162000664565b95506200070c60608a0162000664565b94506200071c60808a0162000664565b93506200072c60a08a0162000664565b92506200073c60c08a0162000664565b91506200074c60e08a0162000664565b90509295985092959890939650565b600181811c908216806200077057607f821691505b6020821081036200079157634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200059a57600081815260208120601f850160051c81016020861015620007c05750805b601f850160051c820191505b81811015620007e157828155600101620007cc565b505050505050565b81516001600160401b038111156200080557620008056200059f565b6200081d816200081684546200075b565b8462000797565b602080601f8311600181146200085557600084156200083c5750858301515b600019600386901b1c1916600185901b178555620007e1565b600085815260208120601f198616915b82811015620008865788860151825594840194600190910190840162000865565b5085821015620008a55787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208284031215620008c857600080fd5b620008d38262000664565b9392505050565b80820180821115620008fc57634e487b7160e01b600052601160045260246000fd5b92915050565b60805160a05160c05160e0516101005161012051610140516101605161018051611399620009dc6000396000818161055201528181610c050152610c400152600081816101fd0152610d880152600081816104080152818161077101528181610ad001528181610b0b0152610c7d0152600081816104ea01526106c00152600081816103360152818161068e01528181610b470152610b8301526000818161051e01528181610cbb0152610d140152600081816103d40152610d380152600081816104700152610cdf0152600061043c01526113996000f3fe6080604052600436106101845760003560e01c80638a8c523c116100d6578063d5abeb011161007f578063ee99205c11610059578063ee99205c146104d8578063ef0c3fca1461050c578063f242ab411461054057600080fd5b8063d5abeb011461042a578063d95565d41461045e578063dd62ed3e1461049257600080fd5b8063a9059cbb116100b0578063a9059cbb146103a2578063be87f38c146103c2578063d3265850146103f657600080fd5b80638a8c523c1461035857806395d89b411461036d578063a457c2d71461038257600080fd5b8063313ce567116101385780634ada218b116101125780634ada218b146102d457806370a08231146102ee57806381fb6abb1461032457600080fd5b8063313ce56714610276578063395093511461029257806342966c68146102b257600080fd5b8063114ca2ed11610169578063114ca2ed146101eb57806318160ddd1461023757806323b872dd1461025657600080fd5b806306fdde0314610190578063095ea7b3146101bb57600080fd5b3661018b57005b600080fd5b34801561019c57600080fd5b506101a5610574565b6040516101b29190611176565b60405180910390f35b3480156101c757600080fd5b506101db6101d63660046111e0565b610606565b60405190151581526020016101b2565b3480156101f757600080fd5b5061021f7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016101b2565b34801561024357600080fd5b506002545b6040519081526020016101b2565b34801561026257600080fd5b506101db61027136600461120a565b610620565b34801561028257600080fd5b50604051601281526020016101b2565b34801561029e57600080fd5b506101db6102ad3660046111e0565b610644565b3480156102be57600080fd5b506102d26102cd366004611246565b610683565b005b3480156102e057600080fd5b506005546101db9060ff1681565b3480156102fa57600080fd5b5061024861030936600461125f565b6001600160a01b031660009081526020819052604090205490565b34801561033057600080fd5b5061021f7f000000000000000000000000000000000000000000000000000000000000000081565b34801561036457600080fd5b506102d2610766565b34801561037957600080fd5b506101a5610813565b34801561038e57600080fd5b506101db61039d3660046111e0565b610822565b3480156103ae57600080fd5b506101db6103bd3660046111e0565b6108cc565b3480156103ce57600080fd5b506102487f000000000000000000000000000000000000000000000000000000000000000081565b34801561040257600080fd5b5061021f7f000000000000000000000000000000000000000000000000000000000000000081565b34801561043657600080fd5b506102487f000000000000000000000000000000000000000000000000000000000000000081565b34801561046a57600080fd5b506102487f000000000000000000000000000000000000000000000000000000000000000081565b34801561049e57600080fd5b506102486104ad366004611281565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3480156104e457600080fd5b5061021f7f000000000000000000000000000000000000000000000000000000000000000081565b34801561051857600080fd5b506102487f000000000000000000000000000000000000000000000000000000000000000081565b34801561054c57600080fd5b5061021f7f000000000000000000000000000000000000000000000000000000000000000081565b606060038054610583906112b4565b80601f01602080910402602001604051908101604052809291908181526020018280546105af906112b4565b80156105fc5780601f106105d1576101008083540402835291602001916105fc565b820191906000526020600020905b8154815290600101906020018083116105df57829003601f168201915b5050505050905090565b6000336106148185856108da565b60019150505b92915050565b60003361062e858285610a32565b610639858585610ac4565b506001949350505050565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909190610614908290869061067e908790611304565b6108da565b336001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614806106e25750336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016145b6107595760405162461bcd60e51b815260206004820152602b60248201527f4f6e6c7920736163726966696365206f72207374616b696e6720636f6e74726160448201527f63742063616e206275726e00000000000000000000000000000000000000000060648201526084015b60405180910390fd5b6107633382610dda565b50565b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146108045760405162461bcd60e51b815260206004820152603060248201527f4f6e6c7920707269636520646973636f7665727920636f6e747261637420636160448201527f6e20656e61626c652074726164696e67000000000000000000000000000000006064820152608401610750565b6005805460ff19166001179055565b606060048054610583906112b4565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909190838110156108bf5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f0000000000000000000000000000000000000000000000000000006064820152608401610750565b61063982868684036108da565b600033610614818585610ac4565b6001600160a01b0383166109555760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610750565b6001600160a01b0382166109d15760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f73730000000000000000000000000000000000000000000000000000000000006064820152608401610750565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038381166000908152600160209081526040808320938616835292905220546000198114610abe5781811015610ab15760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610750565b610abe84848484036108da565b50505050565b60055460ff16610c03577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316836001600160a01b03161480610b3f57507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b0316145b80610b7b57507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316836001600160a01b0316145b80610bb757507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b0316145b610c035760405162461bcd60e51b815260206004820152601160248201527f54726164696e672064697361626c65642e0000000000000000000000000000006044820152606401610750565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b03161480610c7457507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316836001600160a01b0316145b8015610cb257507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316836001600160a01b031614155b15610dca5760007f0000000000000000000000000000000000000000000000000000000000000000610d047f000000000000000000000000000000000000000000000000000000000000000084611317565b610d0e919061132e565b905060007f0000000000000000000000000000000000000000000000000000000000000000610d5d7f000000000000000000000000000000000000000000000000000000000000000085611317565b610d67919061132e565b9050600081610d768486611350565b610d809190611350565b9050610dad867f000000000000000000000000000000000000000000000000000000000000000085610f5f565b610db8868683610f5f565b610dc28683610dda565b505050505050565b610dd5838383610f5f565b505050565b6001600160a01b038216610e565760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f73000000000000000000000000000000000000000000000000000000000000006064820152608401610750565b6001600160a01b03821660009081526020819052604090205481811015610ee55760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f63650000000000000000000000000000000000000000000000000000000000006064820152608401610750565b6001600160a01b0383166000908152602081905260408120838303905560028054849290610f14908490611350565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b6001600160a01b038316610fdb5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610750565b6001600160a01b0382166110575760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610750565b6001600160a01b038316600090815260208190526040902054818110156110e65760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e636500000000000000000000000000000000000000000000000000006064820152608401610750565b6001600160a01b0380851660009081526020819052604080822085850390559185168152908120805484929061111d908490611304565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161116991815260200190565b60405180910390a3610abe565b600060208083528351808285015260005b818110156111a357858101830151858201604001528201611187565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b03811681146111db57600080fd5b919050565b600080604083850312156111f357600080fd5b6111fc836111c4565b946020939093013593505050565b60008060006060848603121561121f57600080fd5b611228846111c4565b9250611236602085016111c4565b9150604084013590509250925092565b60006020828403121561125857600080fd5b5035919050565b60006020828403121561127157600080fd5b61127a826111c4565b9392505050565b6000806040838503121561129457600080fd5b61129d836111c4565b91506112ab602084016111c4565b90509250929050565b600181811c908216806112c857607f821691505b6020821081036112e857634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561061a5761061a6112ee565b808202811582820484141761061a5761061a6112ee565b60008261134b57634e487b7160e01b600052601260045260246000fd5b500490565b8181038181111561061a5761061a6112ee56fea26469706673582212206a830174e8a3fafaf54316ade8f9113e74414d634969731b85da8781b381b19d64736f6c634300081100330000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000014000000000000000000000000054904773d0fbad2b32e083547c2e236376f8cd4800000000000000000000000038dc1711dd57fb853b1c9b26b35d7cce1cc7583d000000000000000000000000ea7b19c6c34c7e67cdc5a436b182f76d5a1442ee000000000000000000000000dd97806811d2fc12ac2cc4ec4bb4ab9c76e44324000000000000000000000000ff0538782d122d3112f75dc7121f61562261c0f7000000000000000000000000dae9dd3d1a52cfce9d5f2fac7fde164d500e50f7000000000000000000000000000000000000000000000000000000000000001150756c736546696e69747920546f6b656e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003504c460000000000000000000000000000000000000000000000000000000000
Deployed ByteCode
0x6080604052600436106101845760003560e01c80638a8c523c116100d6578063d5abeb011161007f578063ee99205c11610059578063ee99205c146104d8578063ef0c3fca1461050c578063f242ab411461054057600080fd5b8063d5abeb011461042a578063d95565d41461045e578063dd62ed3e1461049257600080fd5b8063a9059cbb116100b0578063a9059cbb146103a2578063be87f38c146103c2578063d3265850146103f657600080fd5b80638a8c523c1461035857806395d89b411461036d578063a457c2d71461038257600080fd5b8063313ce567116101385780634ada218b116101125780634ada218b146102d457806370a08231146102ee57806381fb6abb1461032457600080fd5b8063313ce56714610276578063395093511461029257806342966c68146102b257600080fd5b8063114ca2ed11610169578063114ca2ed146101eb57806318160ddd1461023757806323b872dd1461025657600080fd5b806306fdde0314610190578063095ea7b3146101bb57600080fd5b3661018b57005b600080fd5b34801561019c57600080fd5b506101a5610574565b6040516101b29190611176565b60405180910390f35b3480156101c757600080fd5b506101db6101d63660046111e0565b610606565b60405190151581526020016101b2565b3480156101f757600080fd5b5061021f7f000000000000000000000000dd97806811d2fc12ac2cc4ec4bb4ab9c76e4432481565b6040516001600160a01b0390911681526020016101b2565b34801561024357600080fd5b506002545b6040519081526020016101b2565b34801561026257600080fd5b506101db61027136600461120a565b610620565b34801561028257600080fd5b50604051601281526020016101b2565b34801561029e57600080fd5b506101db6102ad3660046111e0565b610644565b3480156102be57600080fd5b506102d26102cd366004611246565b610683565b005b3480156102e057600080fd5b506005546101db9060ff1681565b3480156102fa57600080fd5b5061024861030936600461125f565b6001600160a01b031660009081526020819052604090205490565b34801561033057600080fd5b5061021f7f00000000000000000000000054904773d0fbad2b32e083547c2e236376f8cd4881565b34801561036457600080fd5b506102d2610766565b34801561037957600080fd5b506101a5610813565b34801561038e57600080fd5b506101db61039d3660046111e0565b610822565b3480156103ae57600080fd5b506101db6103bd3660046111e0565b6108cc565b3480156103ce57600080fd5b506102487f000000000000000000000000000000000000000000000000000000000000000281565b34801561040257600080fd5b5061021f7f000000000000000000000000ea7b19c6c34c7e67cdc5a436b182f76d5a1442ee81565b34801561043657600080fd5b506102487f0000000000000000000000000000000000000000a18f07d736b90be55000000081565b34801561046a57600080fd5b506102487f000000000000000000000000000000000000000000000000000000000000000881565b34801561049e57600080fd5b506102486104ad366004611281565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3480156104e457600080fd5b5061021f7f00000000000000000000000038dc1711dd57fb853b1c9b26b35d7cce1cc7583d81565b34801561051857600080fd5b506102487f000000000000000000000000000000000000000000000000000000000000006481565b34801561054c57600080fd5b5061021f7f0000000000000000000000005a2cc0ff66b557a1a778007ee90858a0dbfeb63c81565b606060038054610583906112b4565b80601f01602080910402602001604051908101604052809291908181526020018280546105af906112b4565b80156105fc5780601f106105d1576101008083540402835291602001916105fc565b820191906000526020600020905b8154815290600101906020018083116105df57829003601f168201915b5050505050905090565b6000336106148185856108da565b60019150505b92915050565b60003361062e858285610a32565b610639858585610ac4565b506001949350505050565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909190610614908290869061067e908790611304565b6108da565b336001600160a01b037f00000000000000000000000054904773d0fbad2b32e083547c2e236376f8cd481614806106e25750336001600160a01b037f00000000000000000000000038dc1711dd57fb853b1c9b26b35d7cce1cc7583d16145b6107595760405162461bcd60e51b815260206004820152602b60248201527f4f6e6c7920736163726966696365206f72207374616b696e6720636f6e74726160448201527f63742063616e206275726e00000000000000000000000000000000000000000060648201526084015b60405180910390fd5b6107633382610dda565b50565b336001600160a01b037f000000000000000000000000ea7b19c6c34c7e67cdc5a436b182f76d5a1442ee16146108045760405162461bcd60e51b815260206004820152603060248201527f4f6e6c7920707269636520646973636f7665727920636f6e747261637420636160448201527f6e20656e61626c652074726164696e67000000000000000000000000000000006064820152608401610750565b6005805460ff19166001179055565b606060048054610583906112b4565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909190838110156108bf5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f0000000000000000000000000000000000000000000000000000006064820152608401610750565b61063982868684036108da565b600033610614818585610ac4565b6001600160a01b0383166109555760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610750565b6001600160a01b0382166109d15760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f73730000000000000000000000000000000000000000000000000000000000006064820152608401610750565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038381166000908152600160209081526040808320938616835292905220546000198114610abe5781811015610ab15760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610750565b610abe84848484036108da565b50505050565b60055460ff16610c03577f000000000000000000000000ea7b19c6c34c7e67cdc5a436b182f76d5a1442ee6001600160a01b0316836001600160a01b03161480610b3f57507f000000000000000000000000ea7b19c6c34c7e67cdc5a436b182f76d5a1442ee6001600160a01b0316826001600160a01b0316145b80610b7b57507f00000000000000000000000054904773d0fbad2b32e083547c2e236376f8cd486001600160a01b0316836001600160a01b0316145b80610bb757507f00000000000000000000000054904773d0fbad2b32e083547c2e236376f8cd486001600160a01b0316826001600160a01b0316145b610c035760405162461bcd60e51b815260206004820152601160248201527f54726164696e672064697361626c65642e0000000000000000000000000000006044820152606401610750565b7f0000000000000000000000005a2cc0ff66b557a1a778007ee90858a0dbfeb63c6001600160a01b0316826001600160a01b03161480610c7457507f0000000000000000000000005a2cc0ff66b557a1a778007ee90858a0dbfeb63c6001600160a01b0316836001600160a01b0316145b8015610cb257507f000000000000000000000000ea7b19c6c34c7e67cdc5a436b182f76d5a1442ee6001600160a01b0316836001600160a01b031614155b15610dca5760007f0000000000000000000000000000000000000000000000000000000000000064610d047f000000000000000000000000000000000000000000000000000000000000000884611317565b610d0e919061132e565b905060007f0000000000000000000000000000000000000000000000000000000000000064610d5d7f000000000000000000000000000000000000000000000000000000000000000285611317565b610d67919061132e565b9050600081610d768486611350565b610d809190611350565b9050610dad867f000000000000000000000000dd97806811d2fc12ac2cc4ec4bb4ab9c76e4432485610f5f565b610db8868683610f5f565b610dc28683610dda565b505050505050565b610dd5838383610f5f565b505050565b6001600160a01b038216610e565760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f73000000000000000000000000000000000000000000000000000000000000006064820152608401610750565b6001600160a01b03821660009081526020819052604090205481811015610ee55760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f63650000000000000000000000000000000000000000000000000000000000006064820152608401610750565b6001600160a01b0383166000908152602081905260408120838303905560028054849290610f14908490611350565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b6001600160a01b038316610fdb5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610750565b6001600160a01b0382166110575760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610750565b6001600160a01b038316600090815260208190526040902054818110156110e65760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e636500000000000000000000000000000000000000000000000000006064820152608401610750565b6001600160a01b0380851660009081526020819052604080822085850390559185168152908120805484929061111d908490611304565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161116991815260200190565b60405180910390a3610abe565b600060208083528351808285015260005b818110156111a357858101830151858201604001528201611187565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b03811681146111db57600080fd5b919050565b600080604083850312156111f357600080fd5b6111fc836111c4565b946020939093013593505050565b60008060006060848603121561121f57600080fd5b611228846111c4565b9250611236602085016111c4565b9150604084013590509250925092565b60006020828403121561125857600080fd5b5035919050565b60006020828403121561127157600080fd5b61127a826111c4565b9392505050565b6000806040838503121561129457600080fd5b61129d836111c4565b91506112ab602084016111c4565b90509250929050565b600181811c908216806112c857607f821691505b6020821081036112e857634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561061a5761061a6112ee565b808202811582820484141761061a5761061a6112ee565b60008261134b57634e487b7160e01b600052601260045260246000fd5b500490565b8181038181111561061a5761061a6112ee56fea26469706673582212206a830174e8a3fafaf54316ade8f9113e74414d634969731b85da8781b381b19d64736f6c63430008110033