Latest 25 from a total of 5,704 transactions
| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
| Approve | 24398520 | 3 hrs ago | IN | 0 ETH | 0.00004524 | ||||
| Approve | 24391907 | 25 hrs ago | IN | 0 ETH | 0.00025452 | ||||
| Approve | 24369533 | 4 days ago | IN | 0 ETH | 0.00006854 | ||||
| Approve | 24367853 | 4 days ago | IN | 0 ETH | 0.00001076 | ||||
| Approve | 24359702 | 5 days ago | IN | 0 ETH | 0.00009546 | ||||
| Approve | 24353801 | 6 days ago | IN | 0 ETH | 0.00009994 | ||||
| Approve | 24330406 | 9 days ago | IN | 0 ETH | 0.00004604 | ||||
| Approve | 24327760 | 10 days ago | IN | 0 ETH | 0.00001431 | ||||
| Approve | 24326863 | 10 days ago | IN | 0 ETH | 0.00003059 | ||||
| Approve | 24326850 | 10 days ago | IN | 0 ETH | 0.00001156 | ||||
| Approve | 24326127 | 10 days ago | IN | 0 ETH | 0.00010038 | ||||
| Approve | 24322247 | 10 days ago | IN | 0 ETH | 0.00000119 | ||||
| Approve | 24314492 | 11 days ago | IN | 0 ETH | 0.00000449 | ||||
| Approve | 24314489 | 11 days ago | IN | 0 ETH | 0.00000461 | ||||
| Approve | 24314488 | 11 days ago | IN | 0 ETH | 0.00000459 | ||||
| Approve | 24313727 | 11 days ago | IN | 0 ETH | 0.00004868 | ||||
| Approve | 24311665 | 12 days ago | IN | 0 ETH | 0.00000407 | ||||
| Transfer | 24311639 | 12 days ago | IN | 0 ETH | 0.00000173 | ||||
| Transfer | 24311633 | 12 days ago | IN | 0 ETH | 0.00000249 | ||||
| Approve | 24307266 | 12 days ago | IN | 0 ETH | 0.00009437 | ||||
| Approve | 24307260 | 12 days ago | IN | 0 ETH | 0.00002465 | ||||
| Approve | 24299362 | 13 days ago | IN | 0 ETH | 0.00002864 | ||||
| Transfer | 24299098 | 14 days ago | IN | 0 ETH | 0.00016815 | ||||
| Approve | 24298153 | 14 days ago | IN | 0 ETH | 0.00001579 | ||||
| Approve | 24292072 | 14 days ago | IN | 0 ETH | 0.00002682 |
Latest 25 internal transactions (View All)
Advanced mode:
| Parent Transaction Hash | Method | Block |
From
|
|
To
|
||
|---|---|---|---|---|---|---|---|
| Transfer | 24384093 | 2 days ago | 0.11612475 ETH | ||||
| Transfer | 24384093 | 2 days ago | 0.03870825 ETH | ||||
| Transfer | 24384093 | 2 days ago | 0.03870825 ETH | ||||
| Transfer | 24384093 | 2 days ago | 0.19354126 ETH | ||||
| Transfer | 24327760 | 10 days ago | 0.13797893 ETH | ||||
| Transfer | 24327760 | 10 days ago | 0.04599297 ETH | ||||
| Transfer | 24327760 | 10 days ago | 0.04599297 ETH | ||||
| Transfer | 24327760 | 10 days ago | 0.22996489 ETH | ||||
| Transfer | 24318983 | 11 days ago | 0.19000755 ETH | ||||
| Transfer | 24318983 | 11 days ago | 0.06333585 ETH | ||||
| Transfer | 24318983 | 11 days ago | 0.06333585 ETH | ||||
| Transfer | 24318983 | 11 days ago | 0.31667925 ETH | ||||
| Transfer | 24283692 | 16 days ago | 0.1415384 ETH | ||||
| Transfer | 24283692 | 16 days ago | 0.04717946 ETH | ||||
| Transfer | 24283692 | 16 days ago | 0.04717946 ETH | ||||
| Transfer | 24283692 | 16 days ago | 0.23589734 ETH | ||||
| Transfer | 24279104 | 16 days ago | 0.09999571 ETH | ||||
| Transfer | 24279104 | 16 days ago | 0.0333319 ETH | ||||
| Transfer | 24279104 | 16 days ago | 0.0333319 ETH | ||||
| Transfer | 24279104 | 16 days ago | 0.16665952 ETH | ||||
| Transfer | 24228975 | 23 days ago | 0.10015959 ETH | ||||
| Transfer | 24228975 | 23 days ago | 0.03338653 ETH | ||||
| Transfer | 24228975 | 23 days ago | 0.03338653 ETH | ||||
| Transfer | 24228975 | 23 days ago | 0.16693265 ETH | ||||
| Transfer | 24203930 | 27 days ago | 0.1856339 ETH |
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
ProofToken
Compiler Version
v0.8.19+commit.7dd6d404
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: None
pragma solidity ^0.8.19;
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/utils/structs/EnumerableSet.sol";
import "./interfaces/IProofToken.sol";
import "./interfaces/IUniswapV2Router02.sol";
import "./interfaces/IUniswapV2Factory.sol";
contract ProofToken is Ownable, Pausable, IERC20, IProofToken {
using EnumerableSet for EnumerableSet.AddressSet;
mapping(address => uint256) private _balances;
mapping(address => mapping(address => uint256)) private _allowances;
mapping(address => bool) public excludedFromTxLimit;
mapping(address => bool) public excludedFromMaxWallet;
mapping(address => bool) public excludedFromFees;
// mapping(address => bool) public airdropped;
uint256 private constant _totalSupply = 100_000_000 * 10 ** _decimals;
uint256 public maxTransfer;
uint256 public maxWallet;
// uint256 public airdroppedAmount;
uint256 public immutable launchTime;
uint256 public swapThreshold;
uint256 public accAmountForStaking;
uint256 public accAmountForRevenue;
uint256 public accAmountForVentureFund;
// uint256 public airdropReleaseTime;
// uint256 public minHLDAmountForAirdrop;
address public revenue;
address public stakingContract;
address public ventureFund;
address public pair;
// address public constant DEAD = 0x000000000000000000000000000000000000dEaD;
Tax public taxForBuy;
Tax public taxForSell;
address public immutable router;
bool public tradingEnable;
bool private inSwapLiquidity;
bool public swapEnable;
string private constant _name = "PROOF";
string private constant _symbol = "PROOF";
uint8 private constant _decimals = 9;
uint16 public constant FIXED_POINT = 1000;
/// @dev Status flag to show airdrop is already processed or not.
// bool public airdropProcessed;
constructor(
address _router,
address _revenue,
address _ventureFund,
address _stakingContract,
Tax memory _taxForBuy,
Tax memory _taxForSell
) {
require(_router != address(0), "zero router address");
require(_revenue != address(0), "zero revenue address");
require(_ventureFund != address(0), "zero ventureFund address");
revenue = _revenue;
ventureFund = _ventureFund;
stakingContract = _stakingContract;
_balances[address(this)] = _totalSupply;
emit Transfer(address(0), address(this), _totalSupply);
maxWallet = _totalSupply / 100; // 1%
maxTransfer = (_totalSupply * 5) / 1000; // 0.5%
router = _router;
_createPair();
swapThreshold = _totalSupply / 10000; // 0.01%
excludedFromTxLimit[msg.sender] = true;
excludedFromTxLimit[pair] = true;
excludedFromTxLimit[address(this)] = true;
excludedFromMaxWallet[msg.sender] = true;
excludedFromMaxWallet[pair] = true;
excludedFromMaxWallet[address(this)] = true;
excludedFromMaxWallet[revenue] = true;
excludedFromMaxWallet[stakingContract] = true;
excludedFromMaxWallet[ventureFund] = true;
excludedFromFees[msg.sender] = true;
excludedFromFees[_revenue] = true;
excludedFromFees[_ventureFund] = true;
excludedFromFees[stakingContract] = true;
taxForBuy = _taxForBuy;
taxForSell = _taxForSell;
swapEnable = true;
launchTime = block.timestamp;
}
// !---------------- functions for ERC20 token ----------------!
function name() external view returns (string memory) {
return _name;
}
function symbol() external view returns (string memory) {
return _symbol;
}
function decimals() external pure returns (uint8) {
return _decimals;
}
function totalSupply() external view returns (uint256) {
return _totalSupply;
}
function balanceOf(address account) public view returns (uint256) {
return _balances[account];
}
function airdrop(address[] memory users, uint256[] memory amounts) external onlyOwner {
uint256 len = users.length;
require(len == amounts.length, "lists must be equal");
for (uint256 i = 0; i < len; i++) {
_basicTransfer(amounts[i], address(this), users[i]);
emit Transfer(address(this), users[i], amounts[i]);
}
}
function transfer(
address _recipient,
uint256 _amount
) external override returns (bool) {
_transfer(msg.sender, _recipient, _amount);
return true;
}
function allowance(
address _owner,
address _spender
) external view override returns (uint256) {
return _allowances[_owner][_spender];
}
function approve(
address _spender,
uint256 _amount
) external override returns (bool) {
_approve(msg.sender, _spender, _amount);
return true;
}
function transferFrom(
address _sender,
address _recipient,
uint256 _amount
) external override returns (bool) {
uint256 currentAllowance = _allowances[_sender][msg.sender];
require(currentAllowance >= _amount, "Transfer > allowance");
_approve(_sender, msg.sender, currentAllowance - _amount);
_transfer(_sender, _recipient, _amount);
return true;
}
// !---------------- functions for ERC20 token ----------------!
/// @inheritdoc IProofToken
function excludeWalletsFromTxLimit(
address[] memory _wallets,
bool _exclude
) external override onlyOwner {
uint256 length = _wallets.length;
require(length > 0, "invalid array");
for (uint256 i = 0; i < length; i++) {
excludedFromTxLimit[_wallets[i]] = _exclude;
}
}
/// @inheritdoc IProofToken
function excludeWalletsFromMaxWallet(
address[] memory _wallets,
bool _exclude
) external override onlyOwner {
uint256 length = _wallets.length;
require(length > 0, "invalid array");
for (uint256 i = 0; i < length; i++) {
excludedFromMaxWallet[_wallets[i]] = _exclude;
}
}
/// @inheritdoc IProofToken
function excludeWalletsFromFees(
address[] memory _wallets,
bool _exclude
) external override onlyOwner {
uint256 length = _wallets.length;
require(length > 0, "invalid array");
for (uint256 i = 0; i < length; i++) {
excludedFromFees[_wallets[i]] = _exclude;
}
}
/// @inheritdoc IProofToken
function enableTrading(bool _enable) external override onlyOwner {
tradingEnable = _enable;
}
/// @inheritdoc IProofToken
function setMaxWallet(uint256 _maxWallet) external override onlyOwner {
require(_maxWallet > 0, "invalid maxWallet");
maxWallet = _maxWallet;
}
/// @inheritdoc IProofToken
function setMaxTransfer(uint256 _maxTransfer) external override onlyOwner {
require(_maxTransfer > 0, "invalid maxTransfer");
maxTransfer = _maxTransfer;
}
/// @inheritdoc IProofToken
function setSwapBackSettings(
uint256 _swapThreshold,
bool _swapEnable
) external override onlyOwner {
swapEnable = _swapEnable;
swapThreshold = _swapThreshold;
}
/// @inheritdoc IProofToken
function setRevenue(address _revenue) external override onlyOwner {
require(_revenue != address(0), "zero revenue address");
excludedFromFees[revenue] = false;
excludedFromFees[_revenue] = true;
revenue = _revenue;
}
/// @inheritdoc IProofToken
function setStakingContract(address _staking) external override onlyOwner {
require(_staking != address(0), "zero staking contract address");
if (stakingContract != address(0)) {
excludedFromFees[stakingContract] = false;
}
excludedFromMaxWallet[_staking] = true;
excludedFromFees[_staking] = true;
stakingContract = _staking;
}
/// @inheritdoc IProofToken
function setVentureFund(address _ventureFund) external override onlyOwner {
require(_ventureFund != address(0), "zero revenue address");
excludedFromFees[ventureFund] = false;
excludedFromFees[_ventureFund] = true;
ventureFund = _ventureFund;
}
/// @inheritdoc IProofToken
function setTaxForBuy(Tax memory _tax) external override onlyOwner {
require((_tax.revenueRate + _tax.stakingRate + _tax.ventureFundRate) <= 120, "12% max");
taxForBuy = _tax;
}
/// @inheritdoc IProofToken
function setTaxForSell(Tax memory _tax) external override onlyOwner {
require((_tax.revenueRate + _tax.stakingRate + _tax.ventureFundRate) <= 170, "17% max");
taxForSell = _tax;
}
/// @inheritdoc IProofToken
function withdrawRestAmount(uint256 _amount) external override onlyOwner {
uint256 availableAmount = _balances[address(this)];
uint256 feeAmount = accAmountForRevenue +
accAmountForStaking +
accAmountForVentureFund;
availableAmount -= feeAmount;
require(availableAmount >= _amount, "not enough balance to withdraw");
_transfer(address(this), owner(), _amount);
}
receive() external payable {}
function _transfer(
address _sender,
address _recipient,
uint256 _amount
) internal {
require(_sender != address(0), "transfer from zero address");
require(_recipient != address(0), "transfer to zero address");
require(_amount > 0, "zero amount");
require(_balances[_sender] >= _amount, "not enough amount to transfer");
require(
tradingEnable || (_recipient == stakingContract || _sender == stakingContract || _sender == owner() || _sender == address(this)),
"trading is not enabled"
);
if (inSwapLiquidity || !tradingEnable) {
_basicTransfer(_amount, _sender, _recipient);
emit Transfer(_sender, _recipient, _amount);
return;
}
require(
excludedFromTxLimit[_sender] || _amount <= maxTransfer,
"over max transfer amount"
);
require(
excludedFromMaxWallet[_recipient] ||
_balances[_recipient] + _amount <= maxWallet,
"exceeds to max wallet"
);
bool feelessTransfer = (excludedFromFees[_sender] ||
excludedFromFees[_recipient]);
if (_sender == pair) {
// buy
if (feelessTransfer) {
_basicTransfer(_amount, _sender, _recipient);
} else {
_takeFee(taxForBuy, _amount, _sender, _recipient);
}
} else {
_distributeFees();
// sell or wallet transfer
if (_recipient == pair) {
// sell
if (feelessTransfer) {
_basicTransfer(_amount, _sender, _recipient);
} else {
_takeFee(taxForSell, _amount, _sender, _recipient);
}
} else {
_basicTransfer(_amount, _sender, _recipient);
}
}
emit Transfer(_sender, _recipient, _amount);
}
function _basicTransfer(
uint256 _amount,
address _sender,
address _recipient
) internal {
_balances[_sender] -= _amount;
_balances[_recipient] += _amount;
}
function _takeFee(
Tax memory _tax,
uint256 _amount,
address _sender,
address _recipient
) internal {
uint16 totalFee = _tax.revenueRate + _tax.stakingRate + _tax.ventureFundRate;
uint256 feeAmount = (_amount * totalFee) / FIXED_POINT;
uint256 revenueFee = (_amount * _tax.revenueRate) / FIXED_POINT;
uint256 stakingFee = (_amount * _tax.stakingRate) / FIXED_POINT;
uint256 ventureFee = feeAmount - revenueFee - stakingFee;
accAmountForRevenue += revenueFee;
accAmountForStaking += stakingFee;
accAmountForVentureFund += ventureFee;
uint256 transferAmount = _amount - feeAmount;
_balances[address(this)] += feeAmount;
_balances[_sender] -= _amount;
_balances[_recipient] += transferAmount;
}
function _distributeFees() internal {
uint256 feeAmount = accAmountForRevenue +
accAmountForStaking +
accAmountForVentureFund;
if (feeAmount < swapThreshold || !swapEnable) {
return;
}
if (feeAmount > 0) {
inSwapLiquidity = true;
_swapTokensToETH(feeAmount);
uint256 swappedETHAmount = address(this).balance;
inSwapLiquidity = false;
uint256 revenueFee = (swappedETHAmount * accAmountForRevenue) /
feeAmount;
uint256 ventureFee = (swappedETHAmount * accAmountForVentureFund) /
feeAmount;
uint256 stakingFee = swappedETHAmount - revenueFee - ventureFee;
_transferETH(revenue, revenueFee);
_transferETH(stakingContract, stakingFee);
_transferETH(ventureFund, ventureFee);
}
accAmountForRevenue = 0;
accAmountForStaking = 0;
accAmountForVentureFund = 0;
}
function _swapTokensToETH(uint256 _amount) internal {
address[] memory path = new address[](2);
path[0] = address(this);
path[1] = _getWrappedToken();
_approve(address(this), router, _amount);
IUniswapV2Router02(router)
.swapExactTokensForETHSupportingFeeOnTransferTokens(
_amount,
0,
path,
address(this),
block.timestamp
);
}
function _transferETH(address _to, uint256 _amount) internal {
if (_amount == 0) return;
(bool sent, ) = _to.call{value: _amount}("");
require(sent, "sending ETH failed");
}
function _approve(
address _owner,
address _spender,
uint256 _amount
) private {
require(_owner != address(0), "Approve from zero");
require(_spender != address(0), "Approve to zero");
_allowances[_owner][_spender] = _amount;
emit Approval(_owner, _spender, _amount);
}
function _createPair() internal {
address WToken = _getWrappedToken();
pair = IUniswapV2Factory(IUniswapV2Router02(router).factory())
.createPair(WToken, address(this));
}
function _getWrappedToken() internal view returns (address) {
return
IUniswapV2Router02(router).WETH();
}
}// 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.7.0) (security/Pausable.sol)
pragma solidity ^0.8.0;
import "../utils/Context.sol";
/**
* @dev Contract module which allows children to implement an emergency stop
* mechanism that can be triggered by an authorized account.
*
* This module is used through inheritance. It will make available the
* modifiers `whenNotPaused` and `whenPaused`, which can be applied to
* the functions of your contract. Note that they will not be pausable by
* simply including this module, only once the modifiers are put in place.
*/
abstract contract Pausable is Context {
/**
* @dev Emitted when the pause is triggered by `account`.
*/
event Paused(address account);
/**
* @dev Emitted when the pause is lifted by `account`.
*/
event Unpaused(address account);
bool private _paused;
/**
* @dev Initializes the contract in unpaused state.
*/
constructor() {
_paused = false;
}
/**
* @dev Modifier to make a function callable only when the contract is not paused.
*
* Requirements:
*
* - The contract must not be paused.
*/
modifier whenNotPaused() {
_requireNotPaused();
_;
}
/**
* @dev Modifier to make a function callable only when the contract is paused.
*
* Requirements:
*
* - The contract must be paused.
*/
modifier whenPaused() {
_requirePaused();
_;
}
/**
* @dev Returns true if the contract is paused, and false otherwise.
*/
function paused() public view virtual returns (bool) {
return _paused;
}
/**
* @dev Throws if the contract is paused.
*/
function _requireNotPaused() internal view virtual {
require(!paused(), "Pausable: paused");
}
/**
* @dev Throws if the contract is not paused.
*/
function _requirePaused() internal view virtual {
require(paused(), "Pausable: not paused");
}
/**
* @dev Triggers stopped state.
*
* Requirements:
*
* - The contract must not be paused.
*/
function _pause() internal virtual whenNotPaused {
_paused = true;
emit Paused(_msgSender());
}
/**
* @dev Returns to normal state.
*
* Requirements:
*
* - The contract must be paused.
*/
function _unpause() internal virtual whenPaused {
_paused = false;
emit Unpaused(_msgSender());
}
}// 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 (utils/Context.sol)
pragma solidity ^0.8.0;
/**
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
* via msg.sender and msg.data, they should not be accessed in such a direct
* manner, since when dealing with meta-transactions the account sending and
* paying for execution may not be the actual sender (as far as an application
* is concerned).
*
* This contract is only required for intermediate, library-like contracts.
*/
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes calldata) {
return msg.data;
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/structs/EnumerableSet.sol)
// This file was procedurally generated from scripts/generate/templates/EnumerableSet.js.
pragma solidity ^0.8.0;
/**
* @dev Library for managing
* https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive
* types.
*
* Sets have the following properties:
*
* - Elements are added, removed, and checked for existence in constant time
* (O(1)).
* - Elements are enumerated in O(n). No guarantees are made on the ordering.
*
* ```solidity
* contract Example {
* // Add the library methods
* using EnumerableSet for EnumerableSet.AddressSet;
*
* // Declare a set state variable
* EnumerableSet.AddressSet private mySet;
* }
* ```
*
* As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)
* and `uint256` (`UintSet`) are supported.
*
* [WARNING]
* ====
* Trying to delete such a structure from storage will likely result in data corruption, rendering the structure
* unusable.
* See https://github.com/ethereum/solidity/pull/11843[ethereum/solidity#11843] for more info.
*
* In order to clean an EnumerableSet, you can either remove all elements one by one or create a fresh instance using an
* array of EnumerableSet.
* ====
*/
library EnumerableSet {
// To implement this library for multiple types with as little code
// repetition as possible, we write it in terms of a generic Set type with
// bytes32 values.
// The Set implementation uses private functions, and user-facing
// implementations (such as AddressSet) are just wrappers around the
// underlying Set.
// This means that we can only create new EnumerableSets for types that fit
// in bytes32.
struct Set {
// Storage of set values
bytes32[] _values;
// Position of the value in the `values` array, plus 1 because index 0
// means a value is not in the set.
mapping(bytes32 => uint256) _indexes;
}
/**
* @dev Add a value to a set. O(1).
*
* Returns true if the value was added to the set, that is if it was not
* already present.
*/
function _add(Set storage set, bytes32 value) private returns (bool) {
if (!_contains(set, value)) {
set._values.push(value);
// The value is stored at length-1, but we add 1 to all indexes
// and use 0 as a sentinel value
set._indexes[value] = set._values.length;
return true;
} else {
return false;
}
}
/**
* @dev Removes a value from a set. O(1).
*
* Returns true if the value was removed from the set, that is if it was
* present.
*/
function _remove(Set storage set, bytes32 value) private returns (bool) {
// We read and store the value's index to prevent multiple reads from the same storage slot
uint256 valueIndex = set._indexes[value];
if (valueIndex != 0) {
// Equivalent to contains(set, value)
// To delete an element from the _values array in O(1), we swap the element to delete with the last one in
// the array, and then remove the last element (sometimes called as 'swap and pop').
// This modifies the order of the array, as noted in {at}.
uint256 toDeleteIndex = valueIndex - 1;
uint256 lastIndex = set._values.length - 1;
if (lastIndex != toDeleteIndex) {
bytes32 lastValue = set._values[lastIndex];
// Move the last value to the index where the value to delete is
set._values[toDeleteIndex] = lastValue;
// Update the index for the moved value
set._indexes[lastValue] = valueIndex; // Replace lastValue's index to valueIndex
}
// Delete the slot where the moved value was stored
set._values.pop();
// Delete the index for the deleted slot
delete set._indexes[value];
return true;
} else {
return false;
}
}
/**
* @dev Returns true if the value is in the set. O(1).
*/
function _contains(Set storage set, bytes32 value) private view returns (bool) {
return set._indexes[value] != 0;
}
/**
* @dev Returns the number of values on the set. O(1).
*/
function _length(Set storage set) private view returns (uint256) {
return set._values.length;
}
/**
* @dev Returns the value stored at position `index` in the set. O(1).
*
* Note that there are no guarantees on the ordering of values inside the
* array, and it may change when more values are added or removed.
*
* Requirements:
*
* - `index` must be strictly less than {length}.
*/
function _at(Set storage set, uint256 index) private view returns (bytes32) {
return set._values[index];
}
/**
* @dev Return the entire set in an array
*
* WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
* to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
* this function has an unbounded cost, and using it as part of a state-changing function may render the function
* uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
*/
function _values(Set storage set) private view returns (bytes32[] memory) {
return set._values;
}
// Bytes32Set
struct Bytes32Set {
Set _inner;
}
/**
* @dev Add a value to a set. O(1).
*
* Returns true if the value was added to the set, that is if it was not
* already present.
*/
function add(Bytes32Set storage set, bytes32 value) internal returns (bool) {
return _add(set._inner, value);
}
/**
* @dev Removes a value from a set. O(1).
*
* Returns true if the value was removed from the set, that is if it was
* present.
*/
function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) {
return _remove(set._inner, value);
}
/**
* @dev Returns true if the value is in the set. O(1).
*/
function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) {
return _contains(set._inner, value);
}
/**
* @dev Returns the number of values in the set. O(1).
*/
function length(Bytes32Set storage set) internal view returns (uint256) {
return _length(set._inner);
}
/**
* @dev Returns the value stored at position `index` in the set. O(1).
*
* Note that there are no guarantees on the ordering of values inside the
* array, and it may change when more values are added or removed.
*
* Requirements:
*
* - `index` must be strictly less than {length}.
*/
function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) {
return _at(set._inner, index);
}
/**
* @dev Return the entire set in an array
*
* WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
* to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
* this function has an unbounded cost, and using it as part of a state-changing function may render the function
* uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
*/
function values(Bytes32Set storage set) internal view returns (bytes32[] memory) {
bytes32[] memory store = _values(set._inner);
bytes32[] memory result;
/// @solidity memory-safe-assembly
assembly {
result := store
}
return result;
}
// AddressSet
struct AddressSet {
Set _inner;
}
/**
* @dev Add a value to a set. O(1).
*
* Returns true if the value was added to the set, that is if it was not
* already present.
*/
function add(AddressSet storage set, address value) internal returns (bool) {
return _add(set._inner, bytes32(uint256(uint160(value))));
}
/**
* @dev Removes a value from a set. O(1).
*
* Returns true if the value was removed from the set, that is if it was
* present.
*/
function remove(AddressSet storage set, address value) internal returns (bool) {
return _remove(set._inner, bytes32(uint256(uint160(value))));
}
/**
* @dev Returns true if the value is in the set. O(1).
*/
function contains(AddressSet storage set, address value) internal view returns (bool) {
return _contains(set._inner, bytes32(uint256(uint160(value))));
}
/**
* @dev Returns the number of values in the set. O(1).
*/
function length(AddressSet storage set) internal view returns (uint256) {
return _length(set._inner);
}
/**
* @dev Returns the value stored at position `index` in the set. O(1).
*
* Note that there are no guarantees on the ordering of values inside the
* array, and it may change when more values are added or removed.
*
* Requirements:
*
* - `index` must be strictly less than {length}.
*/
function at(AddressSet storage set, uint256 index) internal view returns (address) {
return address(uint160(uint256(_at(set._inner, index))));
}
/**
* @dev Return the entire set in an array
*
* WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
* to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
* this function has an unbounded cost, and using it as part of a state-changing function may render the function
* uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
*/
function values(AddressSet storage set) internal view returns (address[] memory) {
bytes32[] memory store = _values(set._inner);
address[] memory result;
/// @solidity memory-safe-assembly
assembly {
result := store
}
return result;
}
// UintSet
struct UintSet {
Set _inner;
}
/**
* @dev Add a value to a set. O(1).
*
* Returns true if the value was added to the set, that is if it was not
* already present.
*/
function add(UintSet storage set, uint256 value) internal returns (bool) {
return _add(set._inner, bytes32(value));
}
/**
* @dev Removes a value from a set. O(1).
*
* Returns true if the value was removed from the set, that is if it was
* present.
*/
function remove(UintSet storage set, uint256 value) internal returns (bool) {
return _remove(set._inner, bytes32(value));
}
/**
* @dev Returns true if the value is in the set. O(1).
*/
function contains(UintSet storage set, uint256 value) internal view returns (bool) {
return _contains(set._inner, bytes32(value));
}
/**
* @dev Returns the number of values in the set. O(1).
*/
function length(UintSet storage set) internal view returns (uint256) {
return _length(set._inner);
}
/**
* @dev Returns the value stored at position `index` in the set. O(1).
*
* Note that there are no guarantees on the ordering of values inside the
* array, and it may change when more values are added or removed.
*
* Requirements:
*
* - `index` must be strictly less than {length}.
*/
function at(UintSet storage set, uint256 index) internal view returns (uint256) {
return uint256(_at(set._inner, index));
}
/**
* @dev Return the entire set in an array
*
* WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
* to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
* this function has an unbounded cost, and using it as part of a state-changing function may render the function
* uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
*/
function values(UintSet storage set) internal view returns (uint256[] memory) {
bytes32[] memory store = _values(set._inner);
uint256[] memory result;
/// @solidity memory-safe-assembly
assembly {
result := store
}
return result;
}
}// SPDX-License-Identifier: None
pragma solidity ^0.8.19;
interface IProofToken {
struct Tax {
uint16 revenueRate;
uint16 stakingRate;
uint16 ventureFundRate;
}
/// @notice Enable/Disable trading.
/// @dev Only owner can call this function.
function enableTrading(bool _enable) external;
/// @notice Set maxWallet amount.
/// @dev ONly owner can call this function.
function setMaxWallet(uint256 _maxWallet) external;
/// @notice Set maxTransfer amount.
/// @dev Only owner can call this function.
function setMaxTransfer(uint256 _maxTransfer) external;
/// @notice Set revenue address.
/// @dev Only owner can call this function.
function setRevenue(address _revenue) external;
/// @notice Set Staking contract address.
/// @dev Only owner can call this function.
function setStakingContract(address _staking) external;
/// @notice Set venture fund address.
/// @dev Only owner can call this function.
function setVentureFund(address _ventureFund) external;
/// @notice Set tax for buy.
/// @dev Only owner can call this function.
function setTaxForBuy(Tax memory _tax) external;
/// @notice Set tax for sell.
/// @dev Only owner can call this function.
function setTaxForSell(Tax memory _tax) external;
/// @notice Withdraw rest Proof token after airdrop.
/// @dev This can be called by only owner.
function withdrawRestAmount(uint256 _amount) external;
/// @notice Set new SwapThreshold amount and enable swap flag.
/// @dev Only owner can call this function.
function setSwapBackSettings(
uint256 _swapThreshold,
bool _swapEnable
) external;
/// @notice Exclude wallets from TxLimit.
/// @dev Only owner can call this function.
function excludeWalletsFromTxLimit(
address[] memory _wallets,
bool _exclude
) external;
/// @notice Exclude wallets from MaxWallet.
/// @dev Only owner can call this function.
function excludeWalletsFromMaxWallet(
address[] memory _wallets,
bool _exclude
) external;
/// @notice Exclude wallets from Tax Fees.
/// @dev Only owner can call this function.
function excludeWalletsFromFees(
address[] memory _wallets,
bool _exclude
) external;
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.19;
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;
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.19;
interface IUniswapV2Router01 {
function factory() external pure returns (address);
function WETH() external pure returns (address);
function addLiquidity(
address tokenA,
address tokenB,
uint amountADesired,
uint amountBDesired,
uint amountAMin,
uint amountBMin,
address to,
uint deadline
) external returns (uint amountA, uint amountB, uint liquidity);
function addLiquidityETH(
address token,
uint amountTokenDesired,
uint amountTokenMin,
uint amountETHMin,
address to,
uint deadline
)
external
payable
returns (uint amountToken, uint amountETH, uint liquidity);
function removeLiquidity(
address tokenA,
address tokenB,
uint liquidity,
uint amountAMin,
uint amountBMin,
address to,
uint deadline
) external returns (uint amountA, uint amountB);
function removeLiquidityETH(
address token,
uint liquidity,
uint amountTokenMin,
uint amountETHMin,
address to,
uint deadline
) external returns (uint amountToken, uint amountETH);
function removeLiquidityWithPermit(
address tokenA,
address tokenB,
uint liquidity,
uint amountAMin,
uint amountBMin,
address to,
uint deadline,
bool approveMax,
uint8 v,
bytes32 r,
bytes32 s
) external returns (uint amountA, uint amountB);
function removeLiquidityETHWithPermit(
address token,
uint liquidity,
uint amountTokenMin,
uint amountETHMin,
address to,
uint deadline,
bool approveMax,
uint8 v,
bytes32 r,
bytes32 s
) external returns (uint amountToken, uint amountETH);
function swapExactTokensForTokens(
uint amountIn,
uint amountOutMin,
address[] calldata path,
address to,
uint deadline
) external returns (uint[] memory amounts);
function swapTokensForExactTokens(
uint amountOut,
uint amountInMax,
address[] calldata path,
address to,
uint deadline
) external returns (uint[] memory amounts);
function swapExactETHForTokens(
uint amountOutMin,
address[] calldata path,
address to,
uint deadline
) external payable returns (uint[] memory amounts);
function swapTokensForExactETH(
uint amountOut,
uint amountInMax,
address[] calldata path,
address to,
uint deadline
) external returns (uint[] memory amounts);
function swapExactTokensForETH(
uint amountIn,
uint amountOutMin,
address[] calldata path,
address to,
uint deadline
) external returns (uint[] memory amounts);
function swapETHForExactTokens(
uint amountOut,
address[] calldata path,
address to,
uint deadline
) external payable returns (uint[] memory amounts);
function quote(
uint amountA,
uint reserveA,
uint reserveB
) external pure returns (uint amountB);
function getAmountOut(
uint amountIn,
uint reserveIn,
uint reserveOut
) external pure returns (uint amountOut);
function getAmountIn(
uint amountOut,
uint reserveIn,
uint reserveOut
) external pure returns (uint amountIn);
function getAmountsOut(
uint amountIn,
address[] calldata path
) external view returns (uint[] memory amounts);
function getAmountsIn(
uint amountOut,
address[] calldata path
) external view returns (uint[] memory amounts);
}
interface IUniswapV2Router02 is IUniswapV2Router01 {
function removeLiquidityETHSupportingFeeOnTransferTokens(
address token,
uint liquidity,
uint amountTokenMin,
uint amountETHMin,
address to,
uint deadline
) external returns (uint amountETH);
function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens(
address token,
uint liquidity,
uint amountTokenMin,
uint amountETHMin,
address to,
uint deadline,
bool approveMax,
uint8 v,
bytes32 r,
bytes32 s
) external returns (uint amountETH);
function swapExactTokensForTokensSupportingFeeOnTransferTokens(
uint amountIn,
uint amountOutMin,
address[] calldata path,
address to,
uint deadline
) external;
function swapExactETHForTokensSupportingFeeOnTransferTokens(
uint amountOutMin,
address[] calldata path,
address to,
uint deadline
) external payable;
function swapExactTokensForETHSupportingFeeOnTransferTokens(
uint amountIn,
uint amountOutMin,
address[] calldata path,
address to,
uint deadline
) external;
}{
"optimizer": {
"enabled": true,
"runs": 200,
"details": {
"yul": true
}
},
"viaIR": true,
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
},
"libraries": {}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"address","name":"_router","type":"address"},{"internalType":"address","name":"_revenue","type":"address"},{"internalType":"address","name":"_ventureFund","type":"address"},{"internalType":"address","name":"_stakingContract","type":"address"},{"components":[{"internalType":"uint16","name":"revenueRate","type":"uint16"},{"internalType":"uint16","name":"stakingRate","type":"uint16"},{"internalType":"uint16","name":"ventureFundRate","type":"uint16"}],"internalType":"struct IProofToken.Tax","name":"_taxForBuy","type":"tuple"},{"components":[{"internalType":"uint16","name":"revenueRate","type":"uint16"},{"internalType":"uint16","name":"stakingRate","type":"uint16"},{"internalType":"uint16","name":"ventureFundRate","type":"uint16"}],"internalType":"struct IProofToken.Tax","name":"_taxForSell","type":"tuple"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"FIXED_POINT","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"accAmountForRevenue","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"accAmountForStaking","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"accAmountForVentureFund","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"users","type":"address[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"airdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"address","name":"_spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_spender","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"bool","name":"_enable","type":"bool"}],"name":"enableTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_wallets","type":"address[]"},{"internalType":"bool","name":"_exclude","type":"bool"}],"name":"excludeWalletsFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_wallets","type":"address[]"},{"internalType":"bool","name":"_exclude","type":"bool"}],"name":"excludeWalletsFromMaxWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_wallets","type":"address[]"},{"internalType":"bool","name":"_exclude","type":"bool"}],"name":"excludeWalletsFromTxLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"excludedFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"excludedFromMaxWallet","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"excludedFromTxLimit","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"launchTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTransfer","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revenue","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"router","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxTransfer","type":"uint256"}],"name":"setMaxTransfer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxWallet","type":"uint256"}],"name":"setMaxWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_revenue","type":"address"}],"name":"setRevenue","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_staking","type":"address"}],"name":"setStakingContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_swapThreshold","type":"uint256"},{"internalType":"bool","name":"_swapEnable","type":"bool"}],"name":"setSwapBackSettings","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"uint16","name":"revenueRate","type":"uint16"},{"internalType":"uint16","name":"stakingRate","type":"uint16"},{"internalType":"uint16","name":"ventureFundRate","type":"uint16"}],"internalType":"struct IProofToken.Tax","name":"_tax","type":"tuple"}],"name":"setTaxForBuy","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"uint16","name":"revenueRate","type":"uint16"},{"internalType":"uint16","name":"stakingRate","type":"uint16"},{"internalType":"uint16","name":"ventureFundRate","type":"uint16"}],"internalType":"struct IProofToken.Tax","name":"_tax","type":"tuple"}],"name":"setTaxForSell","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_ventureFund","type":"address"}],"name":"setVentureFund","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stakingContract","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapEnable","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapThreshold","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"taxForBuy","outputs":[{"internalType":"uint16","name":"revenueRate","type":"uint16"},{"internalType":"uint16","name":"stakingRate","type":"uint16"},{"internalType":"uint16","name":"ventureFundRate","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"taxForSell","outputs":[{"internalType":"uint16","name":"revenueRate","type":"uint16"},{"internalType":"uint16","name":"stakingRate","type":"uint16"},{"internalType":"uint16","name":"ventureFundRate","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingEnable","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_recipient","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_sender","type":"address"},{"internalType":"address","name":"_recipient","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"ventureFund","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdrawRestAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]Contract Creation Code
60c060409080825234620005545762002437803803809162000022828562000559565b833981016101408282031262000554576200003d8262000593565b6020906200004d82850162000593565b906200005b86860162000593565b91620000886200006e6060880162000593565b9560e0620000808260808b01620005b8565b9801620005b8565b600080548951929791936001600160a01b03939291338582167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08880a36001600160a81b0319163360ff60a01b19161785558584169283156200051257508316958615620004ce5783169182156200048a57876004918560018060a01b0319948a86600c541617600c558686600e541617600e551684600d541617600d553087526001978883528d67016345785d8a00009081818b205551908152887fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef853093a366038d7ea4c680006007556601c6bf5263400060065560a0528c516315ab88c960e31b815292839182905afa8015620003e85785906200044d575b60049150888560a051168d519384809263c45a015560e01b82525afa91821562000443578991878e88938296620003f2575b509083604493925196879586946364e329cb60e11b8652166004850152306024850152165af1908115620003e8579085949392918c96916200039b575b50831690600f541617600f556509184e72a000600855338352600387528383209560ff1996868882541617905582600f541684528484208688825416179055308452848420868882541617905533845260048852848420868882541617905582600f541684528484208688825416179055308452848420868882541617905582600c54168452848420868882541617905582600d54168452848420868882541617905582600e5416845284842086888254161790553384526005885284842086888254161790558352838320858782541617905582528282208486825416179055600d54168152209182541617905561ffff8481855116916010549263ffff000096878682015160101b169065ffff000000009485910151871b169165ffffffffffff198096161717176010558451169286601154968287015160101b16950151901b1693161717176011556201000062ff00001960125416176012554260805251611e1f908162000618823960805181610879015260a05181818161026c0152611a5e0152f35b80929394959650898092503d8311620003e0575b620003bb818362000559565b81010312620003dc579083620003d58c9695949362000593565b9062000213565b8480fd5b503d620003af565b8b513d87823e3d90fd5b9493505050925081813d83116200043b575b62000410818362000559565b8101031262000437578460448d9388836200042c8e9662000593565b9691929350620001d6565b8580fd5b503d62000404565b8c513d88823e3d90fd5b508781813d831162000482575b62000466818362000559565b81010312620003dc576200047c60049162000593565b620001a4565b503d6200045a565b8a5162461bcd60e51b815260048101899052601860248201527f7a65726f2076656e7475726546756e64206164647265737300000000000000006044820152606490fd5b8a5162461bcd60e51b815260048101899052601460248201527f7a65726f20726576656e756520616464726573730000000000000000000000006044820152606490fd5b62461bcd60e51b815260048101899052601360248201527f7a65726f20726f757465722061646472657373000000000000000000000000006044820152606490fd5b600080fd5b601f909101601f19168101906001600160401b038211908210176200057d57604052565b634e487b7160e01b600052604160045260246000fd5b51906001600160a01b03821682036200055457565b519061ffff821682036200055457565b91908260609103126200055457604051606081016001600160401b038111828210176200057d57604052604062000612818395620005f681620005a8565b85526200060660208201620005a8565b602086015201620005a8565b91015256fe6080604081815260049182361015610022575b505050361561002057600080fd5b005b600092833560e01c9182630445b667146110c35750816306fdde031461077b578163095ea7b3146110995781630d057b5914611070578163151b0a76146110515781631693e8d41461102d57816318160ddd1461100a5781631fac0e5214610fcc57816320b1a1fd14610f1e57816323b872dd14610e7257816324b0e59414610e00578163256c2cd114610d8f578163313ce56714610d73578163361dbb1c14610d545781633e9491a214610d2b57816343d5802514610ced578163526dde9714610c755781635c975abb14610c505781635d0044ca14610bed5781636724348214610a7057816370a0823114610a38578163715018a6146109db578163750c06eb14610928578163769c2f571461090157816377348de91461089c578163790ca413146108615781637a458d7a146108445781637d99f9a41461080757816380f0647f146107c75781638b9952f8146107a85781638da5cb5b1461078057816395d89b411461077b5781639dd373b9146106a2578163a6537c37146105f4578163a8aa1b31146105cb578163a9059cbb1461059a578163bf2819dd14610524578163d59041f4146104df578163dbe66ca0146104a1578163dd62ed3e14610458578163ed233ee914610439578163ee99205c14610410578163f275f64b146103d9578163f2fde38b1461031257508063f492391b1461029b578063f887ea40146102585763f8b45b05146102375780610012565b346102545781600319360112610254576020906007549051908152f35b5080fd5b5034610254578160031936011261025457517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b5034610254576020366003190112610254576102b5611180565b906102be61130f565b6001600160a01b03918216916102d5831515611412565b600c54168352600560205260018184209160ff19928381541690558385528420918254161790556001600160601b0360a01b600c541617600c5580f35b9050346103d55760203660031901126103d55761032d611180565b9061033661130f565b6001600160a01b0391821692831561038357505082546001600160a01b0319811683178455167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08380a380f35b906020608492519162461bcd60e51b8352820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152fd5b8280fd5b8390346102545760203660031901126102545735801515809103610254576103ff61130f565b60ff80196012541691161760125580f35b505034610254578160031936011261025457600d5490516001600160a01b039091168152602090f35b5050346102545781600319360112610254576020906006549051908152f35b50503461025457806003193601126102545780602092610476611180565b61047e611196565b6001600160a01b0391821683526002865283832091168252845220549051908152f35b5050346102545760203660031901126102545760209160ff9082906001600160a01b036104cc611180565b1681526005855220541690519015158152f35b919050346103d557366003190112610254576024358015158091036103d55761050661130f565b62ff00006012549160101b169062ff00001916176012553560085580f35b50503461025457610534366112d4565b909161053e61130f565b82519261054c8415156113d6565b845b848110610559578580f35b610595906001600160a01b0361056f828561139f565b511687526003602052610590858589209060ff801983541691151516179055565b611390565b61054e565b5050346102545780600319360112610254576020906105c46105ba611180565b6024359033611478565b5160018152f35b505034610254578160031936011261025457600f5490516001600160a01b039091168152602090f35b919050346103d55761060536611200565b61060d61130f565b61ffff90818151169361062860208301958487511690611455565b9360aa8461063d838601978289511690611455565b1611610675575050511665ffff0000000063ffff0000601154945160101b16925160201b169265ffffffffffff191617171760115580f35b906020606492519162461bcd60e51b835282015260076024820152660626e4a40dac2f60cb1b6044820152fd5b919050346103d55760203660031901126103d5576106be611180565b916106c761130f565b6001600160a01b0392831692831561073857600d541680610720575b5082845260205260018184209160ff1992828482541617905560056020528420918254161790556001600160601b0360a01b600d541617600d5580f35b84526005602052818420805460ff19169055386106e3565b506020606492519162461bcd60e51b8352820152601d60248201527f7a65726f207374616b696e6720636f6e747261637420616464726573730000006044820152fd5b6110df565b505034610254578160031936011261025457905490516001600160a01b039091168152602090f35b505034610254578160031936011261025457602090600a549051908152f35b505034610254578160031936011261025457601154905161ffff8083168252601083901c81166020808401919091529290921c9091166040820152606090f35b9050346103d55760203660031901126103d55760209260ff918391906001600160a01b03610833611180565b168252855220541690519015158152f35b505034610254578160031936011261025457602090516103e88152f35b505034610254578160031936011261025457602090517f00000000000000000000000000000000000000000000000000000000000000008152f35b9050346103d55760203660031901126103d5578035916108ba61130f565b82156108c857505060065580f35b906020606492519162461bcd60e51b8352820152601360248201527234b73b30b634b21036b0bc2a3930b739b332b960691b6044820152fd5b50503461025457816003193601126102545760209060ff60125460101c1690519015158152f35b9050346103d55760203660031901126103d55780359161094661130f565b30845260016020528261097782862054610971610968600a546009549061146b565b600b549061146b565b906113c9565b1061099857835484906109959085906001600160a01b031630611478565b80f35b906020606492519162461bcd60e51b8352820152601e60248201527f6e6f7420656e6f7567682062616c616e636520746f20776974686472617700006044820152fd5b8334610a355780600319360112610a35576109f461130f565b80546001600160a01b03198116825581906001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a380f35b80fd5b5050346102545760203660031901126102545760209181906001600160a01b03610a60611180565b1681526001845220549051908152f35b919050346103d557806003193601126103d55767ffffffffffffffff908235828111610be957610aa39036908501611266565b602435928311610be95736602384011215610be9578284013590610ac68261124e565b93610ad3845195866111de565b82855260209260248487019160051b83010191368311610be5576024859101915b838310610bd55750505050610b0761130f565b80519484518603610b9c5750855b858110610b20578680f35b80610b2e610b97928761139f565b516001600160a01b0390610b519082610b47858861139f565b511690309061187a565b610b5b828561139f565b5116610b67828861139f565b5186519081527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef863092a3611390565b610b15565b835162461bcd60e51b815290810183905260136024820152721b1a5cdd1cc81b5d5cdd08189948195c5d585b606a1b6044820152606490fd5b8235815291810191859101610af4565b8880fd5b8480fd5b9050346103d55760203660031901126103d557803591610c0b61130f565b8215610c1957505060075580f35b906020606492519162461bcd60e51b835282015260116024820152701a5b9d985b1a59081b585e15d85b1b195d607a1b6044820152fd5b50503461025457816003193601126102545760ff6020925460a01c1690519015158152f35b50503461025457602036600319011261025457610c90611180565b90610c9961130f565b6001600160a01b0391821691610cb0831515611412565b600e54168352600560205260018184209160ff19928381541690558385528420918254161790556001600160601b0360a01b600e541617600e5580f35b50503461025457816003193601126102545760108054915161ffff80841682529183901c82166020808301919091529290921c166040820152606090f35b505034610254578160031936011261025457600c5490516001600160a01b039091168152602090f35b505034610254578160031936011261025457602090600b549051908152f35b5050346102545781600319360112610254576020905160098152f35b50503461025457610d9f366112d4565b9091610da961130f565b825192610db78415156113d6565b845b848110610dc4578580f35b610dfb906001600160a01b03610dda828561139f565b511687526005602052610590858589209060ff801983541691151516179055565b610db9565b919050346103d557610e11366112d4565b919092610e1c61130f565b835193610e2a8515156113d6565b855b858110610e37578680f35b610e6d906001600160a01b03610e4d828561139f565b511688528360205261059086868a209060ff801983541691151516179055565b610e2c565b8391503461025457606036600319011261025457610e8e611180565b610e96611196565b6001600160a01b038216845260026020908152858520338652905292849020546044359392848210610ee4576020866105c4878787610edf610ed8848a6113c9565b3383611d18565b611478565b606490602087519162461bcd60e51b835282015260146024820152735472616e73666572203e20616c6c6f77616e636560601b6044820152fd5b919050346103d557610f2f36611200565b610f3761130f565b61ffff908181511693610f5260208301958487511690611455565b93607884610f67838601978289511690611455565b1611610f9f575050511665ffff0000000063ffff0000601054945160101b16925160201b169265ffffffffffff191617171760105580f35b906020606492519162461bcd60e51b83528201526007602482015266062644a40dac2f60cb1b6044820152fd5b5050346102545760203660031901126102545760209160ff9082906001600160a01b03610ff7611180565b1681526003855220541690519015158152f35b5050346102545781600319360112610254576020905167016345785d8a00008152f35b50503461025457816003193601126102545760209060ff6012541690519015158152f35b5050346102545781600319360112610254576020906009549051908152f35b505034610254578160031936011261025457600e5490516001600160a01b039091168152602090f35b5050346102545780600319360112610254576020906105c46110b9611180565b6024359033611d18565b8490346102545781600319360112610254576020906008548152f35b3461117b57600080600319360112610a35576040805181810181811067ffffffffffffffff8211176111675782526005815260209064282927a7a360d91b8282015282519382859384528251928382860152825b84811061115157505050828201840152601f01601f19168101030190f35b8181018301518882018801528795508201611133565b634e487b7160e01b84526041600452602484fd5b600080fd5b600435906001600160a01b038216820361117b57565b602435906001600160a01b038216820361117b57565b6060810190811067ffffffffffffffff8211176111c857604052565b634e487b7160e01b600052604160045260246000fd5b90601f8019910116810190811067ffffffffffffffff8211176111c857604052565b606090600319011261117b57604051611218816111ac565b61ffff600435818116810361117b578252602435818116810361117b576020830152604435908116810361117b57604082015290565b67ffffffffffffffff81116111c85760051b60200190565b81601f8201121561117b5780359161127d8361124e565b9261128b60405194856111de565b808452602092838086019260051b82010192831161117b578301905b8282106112b5575050505090565b81356001600160a01b038116810361117b5781529083019083016112a7565b604060031982011261117b576004359067ffffffffffffffff821161117b576112ff91600401611266565b90602435801515810361117b5790565b6000546001600160a01b0316330361132357565b606460405162461bcd60e51b815260206004820152602060248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152fd5b8181029291811591840414171561137a57565b634e487b7160e01b600052601160045260246000fd5b600019811461137a5760010190565b80518210156113b35760209160051b010190565b634e487b7160e01b600052603260045260246000fd5b9190820391821161137a57565b156113dd57565b60405162461bcd60e51b815260206004820152600d60248201526c696e76616c696420617272617960981b6044820152606490fd5b1561141957565b60405162461bcd60e51b81526020600482015260146024820152737a65726f20726576656e7565206164647265737360601b6044820152606490fd5b91909161ffff8080941691160191821161137a57565b9190820180921161137a57565b6001600160a01b0393929091848316918215611835578582169384156117f05781156117bd5760009084825260209360018552604092848482205410611779576012549960ff9a8b8116908115918261173c575b156116ff5760081c8c169081156116f7575b506116c557878252600387528a858320541680156116b9575b1561167557888252600487528a85832054168015611659575b1561161d578798999a7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef988352600588528581818520541693841561160d575b50505080600f541689146000146115af57501561157857611571918461187a565b51908152a3565b6115aa91848451611588816111ac565b60105461ffff908181168352818160101c168a840152891c16868201526118dc565b611571565b6115b76119d5565b600f5416890361160257156115d0576115aa918461187a565b6115aa918484516115e0816111ac565b60115461ffff908181168352818160101c168a840152891c16868201526118dc565b506115aa918461187a565b8c81522054169150388581611550565b845162461bcd60e51b8152600481018890526015602482015274195e18d959591cc81d1bc81b585e081dd85b1b195d605a1b6044820152606490fd5b506001875261166b868684205461146b565b6007541015611510565b845162461bcd60e51b815260048101889052601860248201527f6f766572206d6178207472616e7366657220616d6f756e7400000000000000006044820152606490fd5b506006548611156114f7565b50507fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9596979850611571918461187a565b9050386114de565b865162461bcd60e51b8152600481018a905260166024820152751d1c98591a5b99c81a5cc81b9bdd08195b98589b195960521b6044820152606490fd5b5082600d5416808c1490811561176f575b508015611763575b806114cc5750308a146114cc565b50828454168a14611755565b90508a143861174d565b835162461bcd60e51b815260048101879052601d60248201527f6e6f7420656e6f75676820616d6f756e7420746f207472616e736665720000006044820152606490fd5b60405162461bcd60e51b815260206004820152600b60248201526a1e995c9bc8185b5bdd5b9d60aa1b6044820152606490fd5b60405162461bcd60e51b815260206004820152601860248201527f7472616e7366657220746f207a65726f206164647265737300000000000000006044820152606490fd5b60405162461bcd60e51b815260206004820152601a60248201527f7472616e736665722066726f6d207a65726f20616464726573730000000000006044820152606490fd5b9160018060a01b038092166000526001602052604060002061189d8482546113c9565b90551660005260016020526118b8604060002091825461146b565b9055565b81156118c6570490565b634e487b7160e01b600052601260045260246000fd5b6118b8926040929461197761ffff61196c8161194181896119378d838c61192d8261192661191582855116602086019e8f511690611455565b6103e89b8c998a9601511690611455565b1684611367565b049c511690611367565b049451168b611367565b0461196161195882611953868b6113c9565b6113c9565b93600a5461146b565b600a5560095461146b565b600955600b5461146b565b600b5561198483876113c9565b95600093308552600160205261199e86862091825461146b565b90556001600160a01b0392831684526001602052848420805490916119c2916113c9565b905516815260016020522091825461146b565b600a546119ea6109686000926009549061146b565b60085481108015611c64575b611c605780611a0e575b5080600a5580600955600b55565b61ff001990610100826012541617601255604091825192611a2e846111ac565b600284526020908185019481368737805115611c4c5730865281516315ab88c960e31b81526001600160a01b03967f000000000000000000000000000000000000000000000000000000000000000088811693919291908683600481885afa928315611c42578b93611c06575b50815192600193841015611bf257611abb918b8b92168885015230611d18565b833b15611bee579189939195855196879463791ac94760e01b865260a48601908b600488015287602488015260a060448801525180915260c486019392875b8d838210611bd4575050505050508383809230606483015242608483015203925af18015611bca57611b97575b505091611b88611b6b92611b7e611b73611b9196479060125416601255611953611b5c85611b57600a5485611367565b6118bc565b978895611b57600b5485611367565b9788926113c9565b9184600c5416611c74565b82600d5416611c74565b600e5416611c74565b38611a00565b67ffffffffffffffff8296939611611bb6575292611b88611b6b611b27565b634e487b7160e01b83526041600452602483fd5b81513d88823e3d90fd5b85511686528e98508a975094810194938101938301611afa565b8980fd5b634e487b7160e01b8c52603260045260248cfd5b9092508681813d8311611c3b575b611c1e81836111de565b81010312611c3757518981168103611c37579138611a9b565b8a80fd5b503d611c14565b86513d8d823e3d90fd5b634e487b7160e01b87526032600452602487fd5b5050565b5060ff60125460101c16156119f6565b8115611c605760008080809481945af1903d15611d12573d9067ffffffffffffffff8211611cfe5760405191611cb4601f8201601f1916602001846111de565b825260203d92013e5b15611cc457565b60405162461bcd60e51b81526020600482015260126024820152711cd95b991a5b99c81155120819985a5b195960721b6044820152606490fd5b634e487b7160e01b81526041600452602490fd5b50611cbd565b6001600160a01b03908116918215611db05716918215611d795760207f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925918360005260028252604060002085600052825280604060002055604051908152a3565b60405162461bcd60e51b815260206004820152600f60248201526e417070726f766520746f207a65726f60881b6044820152606490fd5b60405162461bcd60e51b8152602060048201526011602482015270417070726f76652066726f6d207a65726f60781b6044820152606490fdfea264697066735822122002b5d456e66a4fd13c6eefec4ba48c45cc00541ced1ccb5569adb70b9744ecae64736f6c634300081300330000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d000000000000000000000000e9b4d32f829951a3ce145d2caa84cf66af56ca5e000000000000000000000000ffa594c9af7569fe3860e88d74963c1006c02ad6000000000000000000000000000000000000000000000000000000000000dead000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000001e000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000001e
Deployed Bytecode
0x6080604081815260049182361015610022575b505050361561002057600080fd5b005b600092833560e01c9182630445b667146110c35750816306fdde031461077b578163095ea7b3146110995781630d057b5914611070578163151b0a76146110515781631693e8d41461102d57816318160ddd1461100a5781631fac0e5214610fcc57816320b1a1fd14610f1e57816323b872dd14610e7257816324b0e59414610e00578163256c2cd114610d8f578163313ce56714610d73578163361dbb1c14610d545781633e9491a214610d2b57816343d5802514610ced578163526dde9714610c755781635c975abb14610c505781635d0044ca14610bed5781636724348214610a7057816370a0823114610a38578163715018a6146109db578163750c06eb14610928578163769c2f571461090157816377348de91461089c578163790ca413146108615781637a458d7a146108445781637d99f9a41461080757816380f0647f146107c75781638b9952f8146107a85781638da5cb5b1461078057816395d89b411461077b5781639dd373b9146106a2578163a6537c37146105f4578163a8aa1b31146105cb578163a9059cbb1461059a578163bf2819dd14610524578163d59041f4146104df578163dbe66ca0146104a1578163dd62ed3e14610458578163ed233ee914610439578163ee99205c14610410578163f275f64b146103d9578163f2fde38b1461031257508063f492391b1461029b578063f887ea40146102585763f8b45b05146102375780610012565b346102545781600319360112610254576020906007549051908152f35b5080fd5b5034610254578160031936011261025457517f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b03168152602090f35b5034610254576020366003190112610254576102b5611180565b906102be61130f565b6001600160a01b03918216916102d5831515611412565b600c54168352600560205260018184209160ff19928381541690558385528420918254161790556001600160601b0360a01b600c541617600c5580f35b9050346103d55760203660031901126103d55761032d611180565b9061033661130f565b6001600160a01b0391821692831561038357505082546001600160a01b0319811683178455167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08380a380f35b906020608492519162461bcd60e51b8352820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152fd5b8280fd5b8390346102545760203660031901126102545735801515809103610254576103ff61130f565b60ff80196012541691161760125580f35b505034610254578160031936011261025457600d5490516001600160a01b039091168152602090f35b5050346102545781600319360112610254576020906006549051908152f35b50503461025457806003193601126102545780602092610476611180565b61047e611196565b6001600160a01b0391821683526002865283832091168252845220549051908152f35b5050346102545760203660031901126102545760209160ff9082906001600160a01b036104cc611180565b1681526005855220541690519015158152f35b919050346103d557366003190112610254576024358015158091036103d55761050661130f565b62ff00006012549160101b169062ff00001916176012553560085580f35b50503461025457610534366112d4565b909161053e61130f565b82519261054c8415156113d6565b845b848110610559578580f35b610595906001600160a01b0361056f828561139f565b511687526003602052610590858589209060ff801983541691151516179055565b611390565b61054e565b5050346102545780600319360112610254576020906105c46105ba611180565b6024359033611478565b5160018152f35b505034610254578160031936011261025457600f5490516001600160a01b039091168152602090f35b919050346103d55761060536611200565b61060d61130f565b61ffff90818151169361062860208301958487511690611455565b9360aa8461063d838601978289511690611455565b1611610675575050511665ffff0000000063ffff0000601154945160101b16925160201b169265ffffffffffff191617171760115580f35b906020606492519162461bcd60e51b835282015260076024820152660626e4a40dac2f60cb1b6044820152fd5b919050346103d55760203660031901126103d5576106be611180565b916106c761130f565b6001600160a01b0392831692831561073857600d541680610720575b5082845260205260018184209160ff1992828482541617905560056020528420918254161790556001600160601b0360a01b600d541617600d5580f35b84526005602052818420805460ff19169055386106e3565b506020606492519162461bcd60e51b8352820152601d60248201527f7a65726f207374616b696e6720636f6e747261637420616464726573730000006044820152fd5b6110df565b505034610254578160031936011261025457905490516001600160a01b039091168152602090f35b505034610254578160031936011261025457602090600a549051908152f35b505034610254578160031936011261025457601154905161ffff8083168252601083901c81166020808401919091529290921c9091166040820152606090f35b9050346103d55760203660031901126103d55760209260ff918391906001600160a01b03610833611180565b168252855220541690519015158152f35b505034610254578160031936011261025457602090516103e88152f35b505034610254578160031936011261025457602090517f00000000000000000000000000000000000000000000000000000000653286a78152f35b9050346103d55760203660031901126103d5578035916108ba61130f565b82156108c857505060065580f35b906020606492519162461bcd60e51b8352820152601360248201527234b73b30b634b21036b0bc2a3930b739b332b960691b6044820152fd5b50503461025457816003193601126102545760209060ff60125460101c1690519015158152f35b9050346103d55760203660031901126103d55780359161094661130f565b30845260016020528261097782862054610971610968600a546009549061146b565b600b549061146b565b906113c9565b1061099857835484906109959085906001600160a01b031630611478565b80f35b906020606492519162461bcd60e51b8352820152601e60248201527f6e6f7420656e6f7567682062616c616e636520746f20776974686472617700006044820152fd5b8334610a355780600319360112610a35576109f461130f565b80546001600160a01b03198116825581906001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a380f35b80fd5b5050346102545760203660031901126102545760209181906001600160a01b03610a60611180565b1681526001845220549051908152f35b919050346103d557806003193601126103d55767ffffffffffffffff908235828111610be957610aa39036908501611266565b602435928311610be95736602384011215610be9578284013590610ac68261124e565b93610ad3845195866111de565b82855260209260248487019160051b83010191368311610be5576024859101915b838310610bd55750505050610b0761130f565b80519484518603610b9c5750855b858110610b20578680f35b80610b2e610b97928761139f565b516001600160a01b0390610b519082610b47858861139f565b511690309061187a565b610b5b828561139f565b5116610b67828861139f565b5186519081527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef863092a3611390565b610b15565b835162461bcd60e51b815290810183905260136024820152721b1a5cdd1cc81b5d5cdd08189948195c5d585b606a1b6044820152606490fd5b8235815291810191859101610af4565b8880fd5b8480fd5b9050346103d55760203660031901126103d557803591610c0b61130f565b8215610c1957505060075580f35b906020606492519162461bcd60e51b835282015260116024820152701a5b9d985b1a59081b585e15d85b1b195d607a1b6044820152fd5b50503461025457816003193601126102545760ff6020925460a01c1690519015158152f35b50503461025457602036600319011261025457610c90611180565b90610c9961130f565b6001600160a01b0391821691610cb0831515611412565b600e54168352600560205260018184209160ff19928381541690558385528420918254161790556001600160601b0360a01b600e541617600e5580f35b50503461025457816003193601126102545760108054915161ffff80841682529183901c82166020808301919091529290921c166040820152606090f35b505034610254578160031936011261025457600c5490516001600160a01b039091168152602090f35b505034610254578160031936011261025457602090600b549051908152f35b5050346102545781600319360112610254576020905160098152f35b50503461025457610d9f366112d4565b9091610da961130f565b825192610db78415156113d6565b845b848110610dc4578580f35b610dfb906001600160a01b03610dda828561139f565b511687526005602052610590858589209060ff801983541691151516179055565b610db9565b919050346103d557610e11366112d4565b919092610e1c61130f565b835193610e2a8515156113d6565b855b858110610e37578680f35b610e6d906001600160a01b03610e4d828561139f565b511688528360205261059086868a209060ff801983541691151516179055565b610e2c565b8391503461025457606036600319011261025457610e8e611180565b610e96611196565b6001600160a01b038216845260026020908152858520338652905292849020546044359392848210610ee4576020866105c4878787610edf610ed8848a6113c9565b3383611d18565b611478565b606490602087519162461bcd60e51b835282015260146024820152735472616e73666572203e20616c6c6f77616e636560601b6044820152fd5b919050346103d557610f2f36611200565b610f3761130f565b61ffff908181511693610f5260208301958487511690611455565b93607884610f67838601978289511690611455565b1611610f9f575050511665ffff0000000063ffff0000601054945160101b16925160201b169265ffffffffffff191617171760105580f35b906020606492519162461bcd60e51b83528201526007602482015266062644a40dac2f60cb1b6044820152fd5b5050346102545760203660031901126102545760209160ff9082906001600160a01b03610ff7611180565b1681526003855220541690519015158152f35b5050346102545781600319360112610254576020905167016345785d8a00008152f35b50503461025457816003193601126102545760209060ff6012541690519015158152f35b5050346102545781600319360112610254576020906009549051908152f35b505034610254578160031936011261025457600e5490516001600160a01b039091168152602090f35b5050346102545780600319360112610254576020906105c46110b9611180565b6024359033611d18565b8490346102545781600319360112610254576020906008548152f35b3461117b57600080600319360112610a35576040805181810181811067ffffffffffffffff8211176111675782526005815260209064282927a7a360d91b8282015282519382859384528251928382860152825b84811061115157505050828201840152601f01601f19168101030190f35b8181018301518882018801528795508201611133565b634e487b7160e01b84526041600452602484fd5b600080fd5b600435906001600160a01b038216820361117b57565b602435906001600160a01b038216820361117b57565b6060810190811067ffffffffffffffff8211176111c857604052565b634e487b7160e01b600052604160045260246000fd5b90601f8019910116810190811067ffffffffffffffff8211176111c857604052565b606090600319011261117b57604051611218816111ac565b61ffff600435818116810361117b578252602435818116810361117b576020830152604435908116810361117b57604082015290565b67ffffffffffffffff81116111c85760051b60200190565b81601f8201121561117b5780359161127d8361124e565b9261128b60405194856111de565b808452602092838086019260051b82010192831161117b578301905b8282106112b5575050505090565b81356001600160a01b038116810361117b5781529083019083016112a7565b604060031982011261117b576004359067ffffffffffffffff821161117b576112ff91600401611266565b90602435801515810361117b5790565b6000546001600160a01b0316330361132357565b606460405162461bcd60e51b815260206004820152602060248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152fd5b8181029291811591840414171561137a57565b634e487b7160e01b600052601160045260246000fd5b600019811461137a5760010190565b80518210156113b35760209160051b010190565b634e487b7160e01b600052603260045260246000fd5b9190820391821161137a57565b156113dd57565b60405162461bcd60e51b815260206004820152600d60248201526c696e76616c696420617272617960981b6044820152606490fd5b1561141957565b60405162461bcd60e51b81526020600482015260146024820152737a65726f20726576656e7565206164647265737360601b6044820152606490fd5b91909161ffff8080941691160191821161137a57565b9190820180921161137a57565b6001600160a01b0393929091848316918215611835578582169384156117f05781156117bd5760009084825260209360018552604092848482205410611779576012549960ff9a8b8116908115918261173c575b156116ff5760081c8c169081156116f7575b506116c557878252600387528a858320541680156116b9575b1561167557888252600487528a85832054168015611659575b1561161d578798999a7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef988352600588528581818520541693841561160d575b50505080600f541689146000146115af57501561157857611571918461187a565b51908152a3565b6115aa91848451611588816111ac565b60105461ffff908181168352818160101c168a840152891c16868201526118dc565b611571565b6115b76119d5565b600f5416890361160257156115d0576115aa918461187a565b6115aa918484516115e0816111ac565b60115461ffff908181168352818160101c168a840152891c16868201526118dc565b506115aa918461187a565b8c81522054169150388581611550565b845162461bcd60e51b8152600481018890526015602482015274195e18d959591cc81d1bc81b585e081dd85b1b195d605a1b6044820152606490fd5b506001875261166b868684205461146b565b6007541015611510565b845162461bcd60e51b815260048101889052601860248201527f6f766572206d6178207472616e7366657220616d6f756e7400000000000000006044820152606490fd5b506006548611156114f7565b50507fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9596979850611571918461187a565b9050386114de565b865162461bcd60e51b8152600481018a905260166024820152751d1c98591a5b99c81a5cc81b9bdd08195b98589b195960521b6044820152606490fd5b5082600d5416808c1490811561176f575b508015611763575b806114cc5750308a146114cc565b50828454168a14611755565b90508a143861174d565b835162461bcd60e51b815260048101879052601d60248201527f6e6f7420656e6f75676820616d6f756e7420746f207472616e736665720000006044820152606490fd5b60405162461bcd60e51b815260206004820152600b60248201526a1e995c9bc8185b5bdd5b9d60aa1b6044820152606490fd5b60405162461bcd60e51b815260206004820152601860248201527f7472616e7366657220746f207a65726f206164647265737300000000000000006044820152606490fd5b60405162461bcd60e51b815260206004820152601a60248201527f7472616e736665722066726f6d207a65726f20616464726573730000000000006044820152606490fd5b9160018060a01b038092166000526001602052604060002061189d8482546113c9565b90551660005260016020526118b8604060002091825461146b565b9055565b81156118c6570490565b634e487b7160e01b600052601260045260246000fd5b6118b8926040929461197761ffff61196c8161194181896119378d838c61192d8261192661191582855116602086019e8f511690611455565b6103e89b8c998a9601511690611455565b1684611367565b049c511690611367565b049451168b611367565b0461196161195882611953868b6113c9565b6113c9565b93600a5461146b565b600a5560095461146b565b600955600b5461146b565b600b5561198483876113c9565b95600093308552600160205261199e86862091825461146b565b90556001600160a01b0392831684526001602052848420805490916119c2916113c9565b905516815260016020522091825461146b565b600a546119ea6109686000926009549061146b565b60085481108015611c64575b611c605780611a0e575b5080600a5580600955600b55565b61ff001990610100826012541617601255604091825192611a2e846111ac565b600284526020908185019481368737805115611c4c5730865281516315ab88c960e31b81526001600160a01b03967f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d88811693919291908683600481885afa928315611c42578b93611c06575b50815192600193841015611bf257611abb918b8b92168885015230611d18565b833b15611bee579189939195855196879463791ac94760e01b865260a48601908b600488015287602488015260a060448801525180915260c486019392875b8d838210611bd4575050505050508383809230606483015242608483015203925af18015611bca57611b97575b505091611b88611b6b92611b7e611b73611b9196479060125416601255611953611b5c85611b57600a5485611367565b6118bc565b978895611b57600b5485611367565b9788926113c9565b9184600c5416611c74565b82600d5416611c74565b600e5416611c74565b38611a00565b67ffffffffffffffff8296939611611bb6575292611b88611b6b611b27565b634e487b7160e01b83526041600452602483fd5b81513d88823e3d90fd5b85511686528e98508a975094810194938101938301611afa565b8980fd5b634e487b7160e01b8c52603260045260248cfd5b9092508681813d8311611c3b575b611c1e81836111de565b81010312611c3757518981168103611c37579138611a9b565b8a80fd5b503d611c14565b86513d8d823e3d90fd5b634e487b7160e01b87526032600452602487fd5b5050565b5060ff60125460101c16156119f6565b8115611c605760008080809481945af1903d15611d12573d9067ffffffffffffffff8211611cfe5760405191611cb4601f8201601f1916602001846111de565b825260203d92013e5b15611cc457565b60405162461bcd60e51b81526020600482015260126024820152711cd95b991a5b99c81155120819985a5b195960721b6044820152606490fd5b634e487b7160e01b81526041600452602490fd5b50611cbd565b6001600160a01b03908116918215611db05716918215611d795760207f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925918360005260028252604060002085600052825280604060002055604051908152a3565b60405162461bcd60e51b815260206004820152600f60248201526e417070726f766520746f207a65726f60881b6044820152606490fd5b60405162461bcd60e51b8152602060048201526011602482015270417070726f76652066726f6d207a65726f60781b6044820152606490fdfea264697066735822122002b5d456e66a4fd13c6eefec4ba48c45cc00541ced1ccb5569adb70b9744ecae64736f6c63430008130033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d000000000000000000000000e9b4d32f829951a3ce145d2caa84cf66af56ca5e000000000000000000000000ffa594c9af7569fe3860e88d74963c1006c02ad6000000000000000000000000000000000000000000000000000000000000dead000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000001e000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000001e
-----Decoded View---------------
Arg [0] : _router (address): 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D
Arg [1] : _revenue (address): 0xe9b4d32f829951a3Ce145D2CaA84Cf66af56CA5e
Arg [2] : _ventureFund (address): 0xffA594c9aF7569Fe3860e88d74963C1006C02aD6
Arg [3] : _stakingContract (address): 0x000000000000000000000000000000000000dEaD
Arg [4] : _taxForBuy (tuple):
Arg [1] : revenueRate (uint16): 10
Arg [2] : stakingRate (uint16): 10
Arg [3] : ventureFundRate (uint16): 30
Arg [5] : _taxForSell (tuple):
Arg [1] : revenueRate (uint16): 10
Arg [2] : stakingRate (uint16): 10
Arg [3] : ventureFundRate (uint16): 30
-----Encoded View---------------
10 Constructor Arguments found :
Arg [0] : 0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d
Arg [1] : 000000000000000000000000e9b4d32f829951a3ce145d2caa84cf66af56ca5e
Arg [2] : 000000000000000000000000ffa594c9af7569fe3860e88d74963c1006c02ad6
Arg [3] : 000000000000000000000000000000000000000000000000000000000000dead
Arg [4] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [5] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [6] : 000000000000000000000000000000000000000000000000000000000000001e
Arg [7] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [8] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [9] : 000000000000000000000000000000000000000000000000000000000000001e
Loading...
Loading
Loading...
Loading
OVERVIEW
PROOF is the most powerful way to launch a token, with battle-tested features designed to set you up for success. Our contracts are audited & unruggable.Net Worth in USD
$14.41
Net Worth in ETH
0.006965
Token Allocations
PROOF
100.00%
Multichain Portfolio | 34 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|---|---|---|---|---|
| ETH | 100.00% | $0.03789 | 380.4346 | $14.41 |
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.