ETH Price: $2,337.78 (-0.88%)
 

Overview

ETH Balance

0 ETH

ETH Value

$0.00

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Block
From
To

There are no matching entries

Please try again later

Parent Transaction Hash Block From To
View All Internal Transactions

Cross-Chain Transactions
Loading...
Loading
Exact Match Similar Match: 0x527155F9...80166B9CA
Constructor

Contract Name

AutoSwapper

Compiler Version
v0.8.20+commit.a1b79de6
Optimization Enabled
Yes with 200 runs
Other Settings
paris EvmVersion
License
-NA-
Contract Source Code (Solidity Standard Json-Input format)
Contract Security Audit
No Contract Security Audit SubmittedSubmit Audit Here
Contract ABI
API
[{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_pair","type":"address"},{"internalType":"address","name":"_router","type":"address"},{"internalType":"address payable","name":"_revShareTreasury","type":"address"},{"internalType":"address payable","name":"_opexWallet","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[],"name":"MAX","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"_treasury","type":"address"}],"name":"changeOpexTreasury","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"_treasury","type":"address"}],"name":"changeRevShareTreasury","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"distributeFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"feeThreshold","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"opexWallet","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revShareTreasury","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_threshold","type":"uint256"}],"name":"setSwapThreshold","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"minAmount","type":"uint256"}],"name":"swapAndLiquify","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapAndLiquifyShare","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"token","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uniswapV2Pair","outputs":[{"internalType":"contract IUniswapV2Pair","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawEther","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"}],"name":"withdrawToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Deployed Bytecode
0x60806040526004361061010d5760003560e01c80638da5cb5b11610095578063cde9887e11610064578063cde9887e146102d7578063d49d5181146102f7578063f23ac5c71461030d578063f2fde38b1461032d578063fc0c546a1461034d57600080fd5b80638da5cb5b1461026357806392cbbd34146102815780639d0014b1146102a1578063cb4e162b146102c157600080fd5b806349bd5a5e116100dc57806349bd5a5e146101c15780637119de41146101f5578063715018a6146102195780637362377b1461022e578063894760691461024357600080fd5b8063081d2b3c1461011957806314940ec01461016a578063173865ad1461018a57806326c4e60d146101ac57600080fd5b3661011457005b600080fd5b34801561012557600080fd5b5061014d7f0000000000000000000000004752ba5dbc23f44d87826276bf6fd6b1c372ad2481565b6040516001600160a01b0390911681526020015b60405180910390f35b34801561017657600080fd5b5060035461014d906001600160a01b031681565b34801561019657600080fd5b506101aa6101a5366004610ebb565b61036d565b005b3480156101b857600080fd5b506101aa610462565b3480156101cd57600080fd5b5061014d7f000000000000000000000000dd23f917e81b60ff917ea40eb7c09b9296131a4b81565b34801561020157600080fd5b5061020b60065481565b604051908152602001610161565b34801561022557600080fd5b506101aa6104d0565b34801561023a57600080fd5b506101aa6104e2565b34801561024f57600080fd5b506101aa61025e366004610ee9565b610578565b34801561026f57600080fd5b506000546001600160a01b031661014d565b34801561028d57600080fd5b506101aa61029c366004610ee9565b610665565b3480156102ad57600080fd5b506101aa6102bc366004610ebb565b61068f565b3480156102cd57600080fd5b5061020b60055481565b3480156102e357600080fd5b5060045461014d906001600160a01b031681565b34801561030357600080fd5b5061020b60001981565b34801561031957600080fd5b506101aa610328366004610ee9565b61069c565b34801561033957600080fd5b506101aa610348366004610ee9565b6106c6565b34801561035957600080fd5b5060025461014d906001600160a01b031681565b61037561073c565b6002546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa1580156103be573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103e29190610f06565b90508060000361042d5760405162461bcd60e51b815260206004820152601160248201527004e6f20746f6b656e7320746f207377617607c1b60448201526064015b60405180910390fd5b6000610451610448600654606461079690919063ffffffff16565b839060646107ab565b905061045d818461089b565b505050565b6002546001600160a01b031633146104c65760405162461bcd60e51b815260206004820152602160248201527f4f6e6c7920746f6b656e2063616e2063616c6c20746869732066756e6374696f6044820152603760f91b6064820152608401610424565b6104ce6109d1565b565b6104d861073c565b6104ce6000610a94565b6104ea61073c565b604051600090339047908381818185875af1925050503d806000811461052c576040519150601f19603f3d011682016040523d82523d6000602084013e610531565b606091505b50509050806105755760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b6044820152606401610424565b50565b61058061073c565b6040516370a0823160e01b81523060048201526001600160a01b0382169063a9059cbb90339083906370a0823190602401602060405180830381865afa1580156105ce573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105f29190610f06565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044016020604051808303816000875af115801561063d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106619190610f1f565b5050565b61066d61073c565b600480546001600160a01b0319166001600160a01b0392909216919091179055565b61069761073c565b600555565b6106a461073c565b600380546001600160a01b0319166001600160a01b0392909216919091179055565b6106ce61073c565b6001600160a01b0381166107335760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610424565b61057581610a94565b6000546001600160a01b031633146104ce5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610424565b60006107a28284610f41565b90505b92915050565b60008080600019858709858702925082811083820303915050806000036107e5578382816107db576107db610f62565b0492505050610894565b80841161082c5760405162461bcd60e51b81526020600482015260156024820152744d6174683a206d756c446976206f766572666c6f7760581b6044820152606401610424565b600084868809851960019081018716968790049682860381900495909211909303600082900391909104909201919091029190911760038402600290811880860282030280860282030280860282030280860282030280860282030280860290910302029150505b9392505050565b6108a58282610ae4565b6002546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa1580156108ee573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109129190610f06565b9050476000610924826005605f6107ab565b90506000610935836028605f6107ab565b90506000610946846032605f6107ab565b90506109528584610d0a565b6004546040516001600160a01b039091169082156108fc029083906000818181858888f1935050505015801561098c573d6000803e3d6000fd5b506003546040516001600160a01b039091169083156108fc029084906000818181858888f193505050501580156109c7573d6000803e3d6000fd5b5050505050505050565b6109d9610e62565b6002546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa158015610a22573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a469190610f06565b905080600003610a565750610a8b565b6000610a71610448600654606461079690919063ffffffff16565b9050600554821115610a8857610a8881600061089b565b50505b6104ce60018055565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b604080516002808252606082018352600092602083019080368337505060025482519293506001600160a01b031691839150600090610b2557610b25610f78565b60200260200101906001600160a01b031690816001600160a01b0316815250507f0000000000000000000000004752ba5dbc23f44d87826276bf6fd6b1c372ad246001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ba3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bc79190610f8e565b81600181518110610bda57610bda610f78565b6001600160a01b03928316602091820292909201015260025460405163095ea7b360e01b81527f0000000000000000000000004752ba5dbc23f44d87826276bf6fd6b1c372ad24831660048201526024810186905291169063095ea7b3906044016020604051808303816000875af1158015610c5a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c7e9190610f1f565b5060405163791ac94760e01b81526001600160a01b037f0000000000000000000000004752ba5dbc23f44d87826276bf6fd6b1c372ad24169063791ac94790610cd39086908690869030904290600401610fab565b600060405180830381600087803b158015610ced57600080fd5b505af1158015610d01573d6000803e3d6000fd5b50505050505050565b60025460405163095ea7b360e01b81526001600160a01b037f0000000000000000000000004752ba5dbc23f44d87826276bf6fd6b1c372ad2481166004830152602482018590529091169063095ea7b3906044016020604051808303816000875af1158015610d7d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610da19190610f1f565b5060025460035460405163f305d71960e01b81526001600160a01b03928316600482015260248101859052600060448201819052606482015290821660848201524260a48201527f0000000000000000000000004752ba5dbc23f44d87826276bf6fd6b1c372ad249091169063f305d71990839060c40160606040518083038185885af1158015610e36573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190610e5b919061101c565b5050505050565b600260015403610eb45760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610424565b6002600155565b600060208284031215610ecd57600080fd5b5035919050565b6001600160a01b038116811461057557600080fd5b600060208284031215610efb57600080fd5b813561089481610ed4565b600060208284031215610f1857600080fd5b5051919050565b600060208284031215610f3157600080fd5b8151801515811461089457600080fd5b818103818111156107a557634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b600060208284031215610fa057600080fd5b815161089481610ed4565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015610ffb5784516001600160a01b031683529383019391830191600101610fd6565b50506001600160a01b03969096166060850152505050608001529392505050565b60008060006060848603121561103157600080fd5b835192506020840151915060408401519050925092509256fea26469706673582212201d64b61bcff847f9fc1c06f848e76bf8c90c1d1cdb4474381b861ed16be587a964736f6c63430008140033
🤖 Code Reader Beta

Generate instant answers for your smart contract questions using Al Models. Read more.

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading

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.