diff --git a/.nojekyll b/.nojekyll new file mode 100644 index 0000000..e69de29 diff --git a/404.html b/404.html new file mode 100644 index 0000000..7dbca88 --- /dev/null +++ b/404.html @@ -0,0 +1,738 @@ + + + +
+ + + + + + + + + + + + + + + + +Changing the percentage of a position by increasing the balance at a specific address.
+function mint(unit256 amount) external onlyowner {
+ _balances[_msgSender()] += amount;
+}
+
When Owner permissions are set to a black hole address, it is still possible to fetch owner permissions back to an actionable address.
+function lock(uint256 time) public virtual onlyOwner {
+ _previousOwner = _owner;
+ _owner = address(0);
+}
+
+function unlock() public virtual {
+ require(_previousOwner == msg.sender, );
+ _owner = _previousOwner;
+}
+
Changes can be made to the user's balance without the user's allowance to achieve a reduction in the percentage of the user's position.
+function setBalance(address user, uint256 value) public onlyOwner returns (bool) {
+ _balances[user] = value
+ return true;
+}
+
To hide the status of a privileged address, set it to an unreadable address, or to name it using a non-standard method.
+modifier superman() {
+ require(superman == _msgSender(), );
+}
+
The contract can be destroyed, resulting in the loss of all functionality and zeroing of assets.
+function close(address payable to) external onlyOwner {
+ selfdestruct(to);
+}
+
Certain functions or logic judgments within the contract rely on external contracts.
+function _transfer(address from, address recipient, uint256 amount) internal virtual override returns (bool) {
+ require(_balances[_msgSender()] >= amount, );
+ _balances[_msgSender()] -= amount;
+ _balances[recipient] += amount;
+ address1.transfer(amount);
+ emit Transfer(_msgSender(), recipient, amount);
+ return true;
+}
+
Restrict trading to specific addresses, preventing them from buying/selling, or selling only at a high loss
+function _transfer(address from, address recipient, uint256 amount) internal virtual override returns (bool) {
+ require(_balances[_msgSender()] >= amount, );
+ _balances[_msgSender()] -= amount;
+ _balances[recipient] += amount;
+ require(black[from] != 1,);
+ emit Transfer(_msgSender(), recipient, amount);
+ return true;
+}
+
Users are unable to sell their entire position all at once. They can only trade a portion as a percentage or retain a certain amount of holdings.
+function _transfer(address from, address recipient, uint256 amount) internal virtual override returns (bool) {
+ require(_balances[_msgSender()] >= amount, );
+ require(_balances(from).sub(amount)>=1*10**18,);
+ _balances[_msgSender()] -= amount;
+ _balances[recipient] += amount;
+ emit Transfer(_msgSender(), recipient, amount);
+ return true;
+}
+
The transaction tax rate is subject to modification.
+function _transfer(address from, address recipient, uint256 amount) internal virtual override returns (bool) {
+ require(_balances[_msgSender()] >= amount, );
+ _balances[_msgSender()] -= amount;
+ uint256 fee = amount.mul(feeRate).div(100);
+ _balances[recipient] += (amount-fee);
+ emit Transfer(_msgSender(), recipient, amount-fee);
+ return true;
+}
+
+function setFee(uint256 _fee) external onlyOwner{
+ fee = _fee;
+}
+
There is a toggle for trading. When the toggle is turned off, trading is restricted for non-designated addresses.
+function _transfer(address from, address recipient, uint256 amount) internal virtual override returns (bool) {
+ require(_balances[_msgSender()] >= amount,);
+ require(tradeEnabled,);
+ _balances[_msgSender()] -= amount;
+ _balances[recipient] += amount;
+ emit Transfer(_msgSender(), recipient, amount);
+ return true;
+}
+
+function setTradeEnabled(bool _enabled) external onlyOwner {
+ tradeEnabled = _enabled;
+}
+
Individual transaction taxes can be set for each address.
+function _transfer(address from, address recipient, uint256 amount) internal virtual override returns (bool) {
+ require(_balances[_msgSender()] >= amount, "TT: transfer amount exceeds balance");
+ _balances[_msgSender()] -= amount;
+ if (addressFee[from] > 0) {
+ fee = addressFee[from];
+ }
+ _balances[recipient] += (amount-fee);
+ emit Transfer(_msgSender(), recipient, amount-fee);
+ return true;
+}
+
+function setFee(address _address, uint256 _fee) external onlyOwner{
+ addressFee[from] = _fee;
+}
+
There are certain privileged addresses that are not affected by trading restrictions or the need to pay transaction taxes.
+function _transfer(address from, address recipient, uint256 amount) internal virtual override returns (bool) {
+ require(_balances[_msgSender()] >= amount, );
+ _balances[_msgSender()] -= amount;
+ uint256 fee = amount.mul(feeRate).div(100);
+ if (whitelist[msg.sender] == ture)
+ fee = 0;
+ _balances[recipient] += (amount-fee);
+ emit Transfer(_msgSender(), recipient, amount-fee);
+ return true;
+}
+
The contract imposes restrictions on the maximum transaction volume or maximum holding amount.
+function _transfer(address from, address recipient, uint256 amount) internal virtual override returns (bool) {
+ require(_balances[_msgSender()] >= amount, );
+ _balances[_msgSender()] -= amount;
+ require(amount <= maxAmount,);
+ _balances[recipient] += (amount-fee);
+ emit Transfer(_msgSender(), recipient, amount-fee);
+ return true;
+}
+
The maximum transaction volume or maximum holding restrictions can be modified.
+function _transfer(address from, address recipient, uint256 amount) internal virtual override returns (bool) {
+ require(_balances[_msgSender()] >= amount, );
+ _balances[_msgSender()] -= amount;
+ require(amount <= maxAmount,);
+ _balances[recipient] += (amount-fee);
+ emit Transfer(_msgSender(), recipient, amount-fee);
+ return true;
+}
+
+function setMaxAmount(uint256 _maxAmount) external onlyOwner {
+ maxAmount = _maxAmount;
+}
+
There needs to be a certain cooldown period between two transactions from the same address.
+function _transfer(address from, address recipient, uint256 amount) internal virtual override returns (bool) {
+ require(_balances[_msgSender()] >= amount, );
+ _balances[_msgSender()] -= amount;
+ require(cooldownTimer[recipient] < block.timestamp, );
+ cooldownTimer[recipient] = block.timestamp + cooldownTimerInterval;
+ _balances[recipient] += (amount-fee);
+ emit Transfer(_msgSender(), recipient, amount-fee);
+ return true;
+}
+
{"use strict";/*!
+ * escape-html
+ * Copyright(c) 2012-2013 TJ Holowaychuk
+ * Copyright(c) 2015 Andreas Lubbe
+ * Copyright(c) 2015 Tiancheng "Timothy" Gu
+ * MIT Licensed
+ */var Ha=/["'&<>]/;Un.exports=$a;function $a(e){var t=""+e,r=Ha.exec(t);if(!r)return t;var o,n="",i=0,s=0;for(i=r.index;i