From 5c4880588c2ebd6a067103076743932b883c68f1 Mon Sep 17 00:00:00 2001 From: <> Date: Mon, 11 Sep 2023 17:18:53 +0000 Subject: [PATCH] Deployed 7375ff6 with MkDocs version: 1.5.2 --- .nojekyll | 0 404.html | 732 ++ TSB-2023-001/index.html | 843 +++ TSB-2023-002/index.html | 862 +++ TSB-2023-003/index.html | 868 +++ TSB-2023-004/index.html | 863 +++ TSB-2023-005/index.html | 862 +++ TSB-2023-006/index.html | 862 +++ TSB-2023-007/index.html | 867 +++ TSB-2023-008/index.html | 867 +++ TSB-2023-009/index.html | 867 +++ TSB-2023-010/index.html | 871 +++ TSB-2023-011/index.html | 871 +++ TSB-2023-012/index.html | 873 +++ TSB-2023-013/index.html | 869 +++ TSB-2023-014/index.html | 867 +++ TSB-2023-015/index.html | 871 +++ TSB-2023-016/index.html | 868 +++ assets/images/favicon.png | Bin 0 -> 1870 bytes assets/javascripts/bundle.dff1b7c8.min.js | 29 + assets/javascripts/bundle.dff1b7c8.min.js.map | 8 + assets/javascripts/lunr/min/lunr.ar.min.js | 1 + assets/javascripts/lunr/min/lunr.da.min.js | 18 + assets/javascripts/lunr/min/lunr.de.min.js | 18 + assets/javascripts/lunr/min/lunr.du.min.js | 18 + assets/javascripts/lunr/min/lunr.es.min.js | 18 + assets/javascripts/lunr/min/lunr.fi.min.js | 18 + assets/javascripts/lunr/min/lunr.fr.min.js | 18 + assets/javascripts/lunr/min/lunr.he.min.js | 1 + assets/javascripts/lunr/min/lunr.hi.min.js | 1 + assets/javascripts/lunr/min/lunr.hu.min.js | 18 + assets/javascripts/lunr/min/lunr.hy.min.js | 1 + assets/javascripts/lunr/min/lunr.it.min.js | 18 + assets/javascripts/lunr/min/lunr.ja.min.js | 1 + assets/javascripts/lunr/min/lunr.jp.min.js | 1 + assets/javascripts/lunr/min/lunr.kn.min.js | 1 + assets/javascripts/lunr/min/lunr.ko.min.js | 1 + assets/javascripts/lunr/min/lunr.multi.min.js | 1 + assets/javascripts/lunr/min/lunr.nl.min.js | 18 + assets/javascripts/lunr/min/lunr.no.min.js | 18 + assets/javascripts/lunr/min/lunr.pt.min.js | 18 + assets/javascripts/lunr/min/lunr.ro.min.js | 18 + assets/javascripts/lunr/min/lunr.ru.min.js | 18 + assets/javascripts/lunr/min/lunr.sa.min.js | 1 + .../lunr/min/lunr.stemmer.support.min.js | 1 + assets/javascripts/lunr/min/lunr.sv.min.js | 18 + assets/javascripts/lunr/min/lunr.ta.min.js | 1 + assets/javascripts/lunr/min/lunr.te.min.js | 1 + assets/javascripts/lunr/min/lunr.th.min.js | 1 + assets/javascripts/lunr/min/lunr.tr.min.js | 18 + assets/javascripts/lunr/min/lunr.vi.min.js | 1 + assets/javascripts/lunr/min/lunr.zh.min.js | 1 + assets/javascripts/lunr/tinyseg.js | 206 + assets/javascripts/lunr/wordcut.js | 6708 +++++++++++++++++ .../workers/search.dfff1995.min.js | 42 + .../workers/search.dfff1995.min.js.map | 8 + assets/stylesheets/main.046329b4.min.css | 1 + assets/stylesheets/main.046329b4.min.css.map | 1 + assets/stylesheets/palette.85d0ee34.min.css | 1 + .../stylesheets/palette.85d0ee34.min.css.map | 1 + contributing/index.html | 990 +++ index.html | 764 ++ search/search_index.json | 1 + sitemap.xml | 3 + sitemap.xml.gz | Bin 0 -> 127 bytes 65 files changed, 23632 insertions(+) create mode 100644 .nojekyll create mode 100644 404.html create mode 100644 TSB-2023-001/index.html create mode 100644 TSB-2023-002/index.html create mode 100644 TSB-2023-003/index.html create mode 100644 TSB-2023-004/index.html create mode 100644 TSB-2023-005/index.html create mode 100644 TSB-2023-006/index.html create mode 100644 TSB-2023-007/index.html create mode 100644 TSB-2023-008/index.html create mode 100644 TSB-2023-009/index.html create mode 100644 TSB-2023-010/index.html create mode 100644 TSB-2023-011/index.html create mode 100644 TSB-2023-012/index.html create mode 100644 TSB-2023-013/index.html create mode 100644 TSB-2023-014/index.html create mode 100644 TSB-2023-015/index.html create mode 100644 TSB-2023-016/index.html create mode 100644 assets/images/favicon.png create mode 100644 assets/javascripts/bundle.dff1b7c8.min.js create mode 100644 assets/javascripts/bundle.dff1b7c8.min.js.map create mode 100644 assets/javascripts/lunr/min/lunr.ar.min.js create mode 100644 assets/javascripts/lunr/min/lunr.da.min.js create mode 100644 assets/javascripts/lunr/min/lunr.de.min.js create mode 100644 assets/javascripts/lunr/min/lunr.du.min.js create mode 100644 assets/javascripts/lunr/min/lunr.es.min.js create mode 100644 assets/javascripts/lunr/min/lunr.fi.min.js create mode 100644 assets/javascripts/lunr/min/lunr.fr.min.js create mode 100644 assets/javascripts/lunr/min/lunr.he.min.js create mode 100644 assets/javascripts/lunr/min/lunr.hi.min.js create mode 100644 assets/javascripts/lunr/min/lunr.hu.min.js create mode 100644 assets/javascripts/lunr/min/lunr.hy.min.js create mode 100644 assets/javascripts/lunr/min/lunr.it.min.js create mode 100644 assets/javascripts/lunr/min/lunr.ja.min.js create mode 100644 assets/javascripts/lunr/min/lunr.jp.min.js create mode 100644 assets/javascripts/lunr/min/lunr.kn.min.js create mode 100644 assets/javascripts/lunr/min/lunr.ko.min.js create mode 100644 assets/javascripts/lunr/min/lunr.multi.min.js create mode 100644 assets/javascripts/lunr/min/lunr.nl.min.js create mode 100644 assets/javascripts/lunr/min/lunr.no.min.js create mode 100644 assets/javascripts/lunr/min/lunr.pt.min.js create mode 100644 assets/javascripts/lunr/min/lunr.ro.min.js create mode 100644 assets/javascripts/lunr/min/lunr.ru.min.js create mode 100644 assets/javascripts/lunr/min/lunr.sa.min.js create mode 100644 assets/javascripts/lunr/min/lunr.stemmer.support.min.js create mode 100644 assets/javascripts/lunr/min/lunr.sv.min.js create mode 100644 assets/javascripts/lunr/min/lunr.ta.min.js create mode 100644 assets/javascripts/lunr/min/lunr.te.min.js create mode 100644 assets/javascripts/lunr/min/lunr.th.min.js create mode 100644 assets/javascripts/lunr/min/lunr.tr.min.js create mode 100644 assets/javascripts/lunr/min/lunr.vi.min.js create mode 100644 assets/javascripts/lunr/min/lunr.zh.min.js create mode 100644 assets/javascripts/lunr/tinyseg.js create mode 100644 assets/javascripts/lunr/wordcut.js create mode 100644 assets/javascripts/workers/search.dfff1995.min.js create mode 100644 assets/javascripts/workers/search.dfff1995.min.js.map create mode 100644 assets/stylesheets/main.046329b4.min.css create mode 100644 assets/stylesheets/main.046329b4.min.css.map create mode 100644 assets/stylesheets/palette.85d0ee34.min.css create mode 100644 assets/stylesheets/palette.85d0ee34.min.css.map create mode 100644 contributing/index.html create mode 100644 index.html create mode 100644 search/search_index.json create mode 100644 sitemap.xml create mode 100644 sitemap.xml.gz 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..945381b --- /dev/null +++ b/404.html @@ -0,0 +1,732 @@ + + + +
+ + + + + + + + + + + + + + + + +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 _a=/["'&<>]/;Pn.exports=Aa;function Aa(e){var t=""+e,r=_a.exec(t);if(!r)return t;var o,n="",i=0,s=0;for(i=r.index;i