Feature Tip: Add private address tag to any address under My Name Tag !
Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 1 from a total of 1 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
0x60806040 | 19277836 | 152 days ago | IN | Contract Creation | 0 ETH | 0.01257914 |
Advanced mode: Intended for advanced users or developers and will display all Internal Transactions including zero value transfers. Name tag integration is not available in advanced view.
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block | From | To | ||||
---|---|---|---|---|---|---|---|
20129191 | 33 days ago | 0 ETH | |||||
20129191 | 33 days ago | 0 ETH | |||||
20129191 | 33 days ago | 0 ETH | |||||
20129191 | 33 days ago | 0 ETH | |||||
20107278 | 36 days ago | 0 ETH | |||||
20107278 | 36 days ago | 0 ETH | |||||
20107278 | 36 days ago | 0 ETH | |||||
20107278 | 36 days ago | 0 ETH | |||||
19776367 | 82 days ago | 0 ETH | |||||
19776367 | 82 days ago | 0 ETH | |||||
19776367 | 82 days ago | 0 ETH | |||||
19776367 | 82 days ago | 0 ETH | |||||
19706243 | 92 days ago | 0 ETH | |||||
19706243 | 92 days ago | 0 ETH | |||||
19706243 | 92 days ago | 0 ETH | |||||
19706243 | 92 days ago | 0 ETH | |||||
19640955 | 101 days ago | 0 ETH | |||||
19640955 | 101 days ago | 0 ETH | |||||
19640955 | 101 days ago | 0 ETH | |||||
19640955 | 101 days ago | 0 ETH | |||||
19551190 | 114 days ago | 0 ETH | |||||
19551190 | 114 days ago | 0 ETH | |||||
19551190 | 114 days ago | 0 ETH | |||||
19551190 | 114 days ago | 0 ETH | |||||
19537967 | 116 days ago | 0 ETH |
Loading...
Loading
Similar Match Source Code This contract matches the deployed Bytecode of the Source Code for Contract 0x25D43717...1bD2863C5 The constructor portion of the code might be different and could alter the actual behaviour of the contract
Contract Name:
OptionFeeDistributor
Compiler Version
v0.8.13+commit.abaa5c0e
Optimization Enabled:
Yes with 100 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
pragma solidity 0.8.13; import {IERC20} from "@openzeppelin/contracts/token/ERC20/IERC20.sol"; contract OptionFeeDistributor { address public constant address1 = 0xC9a165842ef6184d6936AF7b8dA75A3C563bc788; address public constant address2 = 0x3E205e633561bCA9BA210f6192e21467EEd5ecAD; function distribute(IERC20 token, uint256 amount) external { require(token.transferFrom(msg.sender, address(this), amount)); uint256 half = amount / 4; uint256 otherHalf = amount - half; require(token.transfer(address1, half)); require(token.transfer(address2, otherHalf)); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 amount ) external returns (bool); }
{ "optimizer": { "enabled": true, "runs": 100 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"name":"address1","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"address2","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"distribute","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100415760003560e01c80633a36399e146100465780639eea4a3a1461007d578063fb93210814610098575b600080fd5b61006173c9a165842ef6184d6936af7b8da75a3c563bc78881565b6040516001600160a01b03909116815260200160405180910390f35b610061733e205e633561bca9ba210f6192e21467eed5ecad81565b6100ab6100a636600461026d565b6100ad565b005b6040516323b872dd60e01b8152336004820152306024820152604481018290526001600160a01b038316906323b872dd906064016020604051808303816000875af1158015610100573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061012491906102a5565b61012d57600080fd5b600061013a6004836102ce565b9050600061014882846102f0565b60405163a9059cbb60e01b815273c9a165842ef6184d6936af7b8da75a3c563bc7886004820152602481018490529091506001600160a01b0385169063a9059cbb906044016020604051808303816000875af11580156101ac573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101d091906102a5565b6101d957600080fd5b60405163a9059cbb60e01b8152733e205e633561bca9ba210f6192e21467eed5ecad6004820152602481018290526001600160a01b0385169063a9059cbb906044016020604051808303816000875af115801561023a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061025e91906102a5565b61026757600080fd5b50505050565b6000806040838503121561028057600080fd5b82356001600160a01b038116811461029757600080fd5b946020939093013593505050565b6000602082840312156102b757600080fd5b815180151581146102c757600080fd5b9392505050565b6000826102eb57634e487b7160e01b600052601260045260246000fd5b500490565b60008282101561031057634e487b7160e01b600052601160045260246000fd5b50039056fea2646970667358221220dcc3b61d5a7800094edb1572aec4d7e7b4594895c9c2f37e8a187804f219089864736f6c634300080d0033
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.