Overview
ETH Balance
0.01509569734187267 ETH
Eth Value
$47.89 (@ $3,172.42/ETH)More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 398 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Pay | 21192629 | 3 days ago | IN | 0 ETH | 0.00050192 | ||||
Set Payment To | 21192612 | 3 days ago | IN | 0 ETH | 0.0014031 | ||||
Pay | 21115400 | 14 days ago | IN | 0 ETH | 0.00079759 | ||||
Pay | 21115399 | 14 days ago | IN | 0 ETH | 0.00078696 | ||||
Pay | 21115398 | 14 days ago | IN | 0 ETH | 0.0007888 | ||||
Pay | 21099643 | 16 days ago | IN | 0 ETH | 0.00048377 | ||||
Pay | 21099642 | 16 days ago | IN | 0 ETH | 0.00046992 | ||||
Pay | 21099641 | 16 days ago | IN | 0 ETH | 0.00050478 | ||||
Pay | 21077841 | 19 days ago | IN | 0 ETH | 0.00094796 | ||||
Pay | 21077839 | 19 days ago | IN | 0 ETH | 0.00097618 | ||||
Pay | 21077836 | 19 days ago | IN | 0 ETH | 0.00077248 | ||||
Pay | 21033660 | 25 days ago | IN | 0 ETH | 0.00056894 | ||||
Pay | 21033659 | 25 days ago | IN | 0 ETH | 0.00052636 | ||||
Pay | 21005557 | 29 days ago | IN | 0 ETH | 0.00084044 | ||||
Pay | 21005555 | 29 days ago | IN | 0 ETH | 0.0008614 | ||||
Pay | 21005553 | 29 days ago | IN | 0 ETH | 0.00077712 | ||||
Pay | 20997431 | 30 days ago | IN | 0 ETH | 0.00078033 | ||||
Pay | 20997430 | 30 days ago | IN | 0 ETH | 0.00074645 | ||||
Pay | 20997428 | 30 days ago | IN | 0 ETH | 0.00078147 | ||||
Pay | 20984932 | 32 days ago | IN | 0 ETH | 0.0010596 | ||||
Pay | 20984931 | 32 days ago | IN | 0 ETH | 0.00108728 | ||||
Pay | 20984929 | 32 days ago | IN | 0 ETH | 0.0011767 | ||||
Pay | 20937515 | 38 days ago | IN | 0 ETH | 0.00086514 | ||||
Pay | 20937515 | 38 days ago | IN | 0 ETH | 0.00086514 | ||||
Pay | 20937511 | 38 days ago | IN | 0 ETH | 0.00089648 |
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
21214662 | 6 hrs ago | 0.00695597 ETH | ||||
21213058 | 11 hrs ago | 0.00269784 ETH | ||||
21201052 | 2 days ago | 0.00544187 ETH | ||||
21192629 | 3 days ago | 0.01123192 ETH | ||||
21192612 | 3 days ago | 0.01684788 ETH | ||||
21192612 | 3 days ago | 0.01123192 ETH | ||||
21190806 | 3 days ago | 0.02306186 ETH | ||||
21152056 | 8 days ago | 0.00396789 ETH | ||||
21115400 | 14 days ago | 0.00157507 ETH | ||||
21115400 | 14 days ago | 0.00105004 ETH | ||||
21115399 | 14 days ago | 0.00393767 ETH | ||||
21115399 | 14 days ago | 0.00262511 ETH | ||||
21115398 | 14 days ago | 0.00984419 ETH | ||||
21115398 | 14 days ago | 0.00656279 ETH | ||||
21114527 | 14 days ago | 0.00677177 ETH | ||||
21109717 | 14 days ago | 0.00251605 ETH | ||||
21105517 | 15 days ago | 0.00507225 ETH | ||||
21099643 | 16 days ago | 0.00307034 ETH | ||||
21099643 | 16 days ago | 0.00204689 ETH | ||||
21099642 | 16 days ago | 0.00767585 ETH | ||||
21099642 | 16 days ago | 0.00511723 ETH | ||||
21099641 | 16 days ago | 0.01918963 ETH | ||||
21099641 | 16 days ago | 0.01279308 ETH | ||||
21099258 | 16 days ago | 0.00386397 ETH | ||||
21095222 | 16 days ago | 0.01256459 ETH |
Loading...
Loading
Contract Name:
NooneRnD
Compiler Version
v0.8.9+commit.e5eed63a
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: Unlicensed pragma solidity ^0.8.9; interface NooneInterface { struct PaymentTo { address addr; uint256 percentage; } event PaymentToChanged(PaymentTo[] payTo); function paymentTo(uint256 index) external view returns (PaymentTo memory); function paymentToCount() external view returns (uint256); event Paid(uint256 amount, address sender); function pay() external; } pragma solidity ^0.8.9; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } pragma solidity ^0.8.9; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred( address indexed previousOwner, address indexed newOwner ); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _setOwner(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _setOwner(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require( newOwner != address(0), "Ownable: new owner is the zero address" ); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // File: NooneTeam.sol pragma solidity ^0.8.9; contract NooneRnD is NooneInterface, Ownable { mapping(address => bool) public isCallData; mapping(uint256 => PaymentTo) private paymentTo_; function paymentTo(uint256 index) external view override returns (PaymentTo memory) { return paymentTo_[index]; } uint256 public override paymentToCount; function addArrayToMapping(PaymentTo[] memory array) private { paymentToCount = array.length; for (uint256 i; i < array.length; i++) { paymentTo_[i] = array[i]; } } function SetPaymentTo(PaymentTo[] calldata toPayTo) external onlyOwner { if (paymentToCount != 0) pay(); uint256 totalPercentage = 0; for (uint256 i; i < toPayTo.length; i++) { totalPercentage += toPayTo[i].percentage; } require(totalPercentage == 100, "Percentage must be 100"); addArrayToMapping(toPayTo); emit PaymentToChanged(toPayTo); } function setisCallData(address _address, bool onoff) external onlyOwner { isCallData[_address] = onoff; } function pay() public override { require(paymentToCount != 0, "No addresses to distribute set"); if (address(this).balance == 0) return; uint256 totalBalance = address(this).balance; for (uint256 i; i < paymentToCount; i++) { address to = paymentTo_[i].addr; uint256 amount = totalBalance * paymentTo_[i].percentage / 100; if (isCallData[to]) { // Calls with non empty calldata to trigger fallback() payable(to).call{value: amount}("a"); } else { payable(to).call{value: amount}(""); } } emit Paid(totalBalance, _msgSender()); } // solhint-disable-next-line receive() external payable {} }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"address","name":"sender","type":"address"}],"name":"Paid","type":"event"},{"anonymous":false,"inputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint256","name":"percentage","type":"uint256"}],"indexed":false,"internalType":"struct NooneInterface.PaymentTo[]","name":"payTo","type":"tuple[]"}],"name":"PaymentToChanged","type":"event"},{"inputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint256","name":"percentage","type":"uint256"}],"internalType":"struct NooneInterface.PaymentTo[]","name":"toPayTo","type":"tuple[]"}],"name":"SetPaymentTo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isCallData","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pay","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"paymentTo","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint256","name":"percentage","type":"uint256"}],"internalType":"struct NooneInterface.PaymentTo","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paymentToCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"bool","name":"onoff","type":"bool"}],"name":"setisCallData","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
608060405234801561001057600080fd5b5061001a3361001f565b61006f565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b610a2e8061007e6000396000f3fe60806040526004361061008a5760003560e01c8063ad51aefa11610059578063ad51aefa1461010f578063b571503114610195578063b6a9abf8146101b5578063d93be8f3146101d9578063f2fde38b1461021957600080fd5b80631b9265b81461009657806339586eb3146100ad578063715018a6146100cd5780638da5cb5b146100e257600080fd5b3661009157005b600080fd5b3480156100a257600080fd5b506100ab610239565b005b3480156100b957600080fd5b506100ab6100c836600461075f565b61040e565b3480156100d957600080fd5b506100ab610572565b3480156100ee57600080fd5b506000546040516001600160a01b0390911681526020015b60405180910390f35b34801561011b57600080fd5b5061017161012a3660046107d4565b604080518082019091526000808252602082015250600090815260026020908152604091829020825180840190935280546001600160a01b03168352600101549082015290565b6040805182516001600160a01b031681526020928301519281019290925201610106565b3480156101a157600080fd5b506100ab6101b0366004610809565b6105a8565b3480156101c157600080fd5b506101cb60035481565b604051908152602001610106565b3480156101e557600080fd5b506102096101f4366004610845565b60016020526000908152604090205460ff1681565b6040519015158152602001610106565b34801561022557600080fd5b506100ab610234366004610845565b6105fd565b60035461028d5760405162461bcd60e51b815260206004820152601e60248201527f4e6f2061646472657373657320746f206469737472696275746520736574000060448201526064015b60405180910390fd5b4761029457565b4760005b6003548110156103d057600081815260026020526040812080546001909101546001600160a01b0390911691906064906102d2908661087d565b6102dc919061089c565b6001600160a01b03831660009081526001602052604090205490915060ff161561036957816001600160a01b03168160405161031f90606160f81b815260010190565b60006040518083038185875af1925050503d806000811461035c576040519150601f19603f3d011682016040523d82523d6000602084013e610361565b606091505b5050506103bb565b6040516001600160a01b038316908290600081818185875af1925050503d80600081146103b2576040519150601f19603f3d011682016040523d82523d6000602084013e6103b7565b606091505b5050505b505080806103c8906108be565b915050610298565b506040805182815233602082015281517ffe87ea15c8bc24dba7527bdf56cbe51bd91e401a821f00854fc668bed87513f5929181900390910190a150565b6000546001600160a01b031633146104385760405162461bcd60e51b8152600401610284906108d9565b6003541561044857610448610239565b6000805b8281101561048f578383828181106104665761046661090e565b905060400201602001358261047b9190610924565b915080610487816108be565b91505061044c565b50806064146104d95760405162461bcd60e51b8152602060048201526016602482015275050657263656e74616765206d757374206265203130360541b6044820152606401610284565b6105348383808060200260200160405190810160405280939291908181526020016000905b8282101561052a5761051b6040830286013681900381019061093c565b815260200190600101906104fe565b5050505050610698565b7fc6970c111eb427cbfc946b07d68ea06663f4db6fa267d85d023a8e45b25b2a8e83836040516105659291906109a1565b60405180910390a1505050565b6000546001600160a01b0316331461059c5760405162461bcd60e51b8152600401610284906108d9565b6105a6600061070f565b565b6000546001600160a01b031633146105d25760405162461bcd60e51b8152600401610284906108d9565b6001600160a01b03919091166000908152600160205260409020805460ff1916911515919091179055565b6000546001600160a01b031633146106275760405162461bcd60e51b8152600401610284906108d9565b6001600160a01b03811661068c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610284565b6106958161070f565b50565b805160035560005b815181101561070b578181815181106106bb576106bb61090e565b60209081029190910181015160008381526002835260409020815181546001600160a01b0319166001600160a01b0390911617815591015160019091015580610703816108be565b9150506106a0565b5050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000806020838503121561077257600080fd5b823567ffffffffffffffff8082111561078a57600080fd5b818501915085601f83011261079e57600080fd5b8135818111156107ad57600080fd5b8660208260061b85010111156107c257600080fd5b60209290920196919550909350505050565b6000602082840312156107e657600080fd5b5035919050565b80356001600160a01b038116811461080457600080fd5b919050565b6000806040838503121561081c57600080fd5b610825836107ed565b91506020830135801515811461083a57600080fd5b809150509250929050565b60006020828403121561085757600080fd5b610860826107ed565b9392505050565b634e487b7160e01b600052601160045260246000fd5b600081600019048311821515161561089757610897610867565b500290565b6000826108b957634e487b7160e01b600052601260045260246000fd5b500490565b60006000198214156108d2576108d2610867565b5060010190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052603260045260246000fd5b6000821982111561093757610937610867565b500190565b60006040828403121561094e57600080fd5b6040516040810181811067ffffffffffffffff8211171561097f57634e487b7160e01b600052604160045260246000fd5b60405261098b836107ed565b8152602083013560208201528091505092915050565b6020808252818101839052600090604080840186845b878110156109eb576001600160a01b036109d0836107ed565b168352818501358584015291830191908301906001016109b7565b509097965050505050505056fea2646970667358221220634b14a088e24c62c85b0dadb7039ebbf4a9fcce3879e6ccfd694888d0d10a8464736f6c63430008090033
Deployed Bytecode
0x60806040526004361061008a5760003560e01c8063ad51aefa11610059578063ad51aefa1461010f578063b571503114610195578063b6a9abf8146101b5578063d93be8f3146101d9578063f2fde38b1461021957600080fd5b80631b9265b81461009657806339586eb3146100ad578063715018a6146100cd5780638da5cb5b146100e257600080fd5b3661009157005b600080fd5b3480156100a257600080fd5b506100ab610239565b005b3480156100b957600080fd5b506100ab6100c836600461075f565b61040e565b3480156100d957600080fd5b506100ab610572565b3480156100ee57600080fd5b506000546040516001600160a01b0390911681526020015b60405180910390f35b34801561011b57600080fd5b5061017161012a3660046107d4565b604080518082019091526000808252602082015250600090815260026020908152604091829020825180840190935280546001600160a01b03168352600101549082015290565b6040805182516001600160a01b031681526020928301519281019290925201610106565b3480156101a157600080fd5b506100ab6101b0366004610809565b6105a8565b3480156101c157600080fd5b506101cb60035481565b604051908152602001610106565b3480156101e557600080fd5b506102096101f4366004610845565b60016020526000908152604090205460ff1681565b6040519015158152602001610106565b34801561022557600080fd5b506100ab610234366004610845565b6105fd565b60035461028d5760405162461bcd60e51b815260206004820152601e60248201527f4e6f2061646472657373657320746f206469737472696275746520736574000060448201526064015b60405180910390fd5b4761029457565b4760005b6003548110156103d057600081815260026020526040812080546001909101546001600160a01b0390911691906064906102d2908661087d565b6102dc919061089c565b6001600160a01b03831660009081526001602052604090205490915060ff161561036957816001600160a01b03168160405161031f90606160f81b815260010190565b60006040518083038185875af1925050503d806000811461035c576040519150601f19603f3d011682016040523d82523d6000602084013e610361565b606091505b5050506103bb565b6040516001600160a01b038316908290600081818185875af1925050503d80600081146103b2576040519150601f19603f3d011682016040523d82523d6000602084013e6103b7565b606091505b5050505b505080806103c8906108be565b915050610298565b506040805182815233602082015281517ffe87ea15c8bc24dba7527bdf56cbe51bd91e401a821f00854fc668bed87513f5929181900390910190a150565b6000546001600160a01b031633146104385760405162461bcd60e51b8152600401610284906108d9565b6003541561044857610448610239565b6000805b8281101561048f578383828181106104665761046661090e565b905060400201602001358261047b9190610924565b915080610487816108be565b91505061044c565b50806064146104d95760405162461bcd60e51b8152602060048201526016602482015275050657263656e74616765206d757374206265203130360541b6044820152606401610284565b6105348383808060200260200160405190810160405280939291908181526020016000905b8282101561052a5761051b6040830286013681900381019061093c565b815260200190600101906104fe565b5050505050610698565b7fc6970c111eb427cbfc946b07d68ea06663f4db6fa267d85d023a8e45b25b2a8e83836040516105659291906109a1565b60405180910390a1505050565b6000546001600160a01b0316331461059c5760405162461bcd60e51b8152600401610284906108d9565b6105a6600061070f565b565b6000546001600160a01b031633146105d25760405162461bcd60e51b8152600401610284906108d9565b6001600160a01b03919091166000908152600160205260409020805460ff1916911515919091179055565b6000546001600160a01b031633146106275760405162461bcd60e51b8152600401610284906108d9565b6001600160a01b03811661068c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610284565b6106958161070f565b50565b805160035560005b815181101561070b578181815181106106bb576106bb61090e565b60209081029190910181015160008381526002835260409020815181546001600160a01b0319166001600160a01b0390911617815591015160019091015580610703816108be565b9150506106a0565b5050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000806020838503121561077257600080fd5b823567ffffffffffffffff8082111561078a57600080fd5b818501915085601f83011261079e57600080fd5b8135818111156107ad57600080fd5b8660208260061b85010111156107c257600080fd5b60209290920196919550909350505050565b6000602082840312156107e657600080fd5b5035919050565b80356001600160a01b038116811461080457600080fd5b919050565b6000806040838503121561081c57600080fd5b610825836107ed565b91506020830135801515811461083a57600080fd5b809150509250929050565b60006020828403121561085757600080fd5b610860826107ed565b9392505050565b634e487b7160e01b600052601160045260246000fd5b600081600019048311821515161561089757610897610867565b500290565b6000826108b957634e487b7160e01b600052601260045260246000fd5b500490565b60006000198214156108d2576108d2610867565b5060010190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052603260045260246000fd5b6000821982111561093757610937610867565b500190565b60006040828403121561094e57600080fd5b6040516040810181811067ffffffffffffffff8211171561097f57634e487b7160e01b600052604160045260246000fd5b60405261098b836107ed565b8152602083013560208201528091505092915050565b6020808252818101839052600090604080840186845b878110156109eb576001600160a01b036109d0836107ed565b168352818501358584015291830191908301906001016109b7565b509097965050505050505056fea2646970667358221220634b14a088e24c62c85b0dadb7039ebbf4a9fcce3879e6ccfd694888d0d10a8464736f6c63430008090033
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|---|---|---|---|---|
ETH | Ether (ETH) | 100.00% | $3,174.54 | 0.0151 | $47.92 |
Loading...
Loading
[ Download: CSV Export ]
[ 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.