ETH Price: $3,133.30 (-8.83%)
Gas: 7 Gwei

Contract

0x2adD825CDAB3B0434C153f548183F50A8491ea4f
 

Overview

ETH Balance

0.0014785 ETH

Eth Value

$4.63 (@ $3,133.30/ETH)

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
0x60806040150624492022-07-02 10:03:16754 days ago1656756196IN
 Create: RoyaltyReceiver
0 ETH0.0136724911.19175524

Latest 8 internal transactions

Advanced mode:
Parent Transaction Hash Block From To
150696212022-07-03 12:35:05753 days ago1656851705
0x2adD825C...A8491ea4f
0.00002 ETH
150640212022-07-02 15:53:11754 days ago1656777191
0x2adD825C...A8491ea4f
0.000315 ETH
150632292022-07-02 12:56:37754 days ago1656766597
0x2adD825C...A8491ea4f
0.000045 ETH
150630972022-07-02 12:28:49754 days ago1656764929
0x2adD825C...A8491ea4f
0.0000495 ETH
150630922022-07-02 12:26:31754 days ago1656764791
0x2adD825C...A8491ea4f
0.000099 ETH
150629292022-07-02 11:49:22754 days ago1656762562
0x2adD825C...A8491ea4f
0.0002 ETH
150629152022-07-02 11:45:34754 days ago1656762334
0x2adD825C...A8491ea4f
0.00025 ETH
150628992022-07-02 11:42:40754 days ago1656762160
0x2adD825C...A8491ea4f
0.0005 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
RoyaltyReceiver

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 4 : RoyaltyReceiver.sol
// SPDX-License-Identifier: UNLICENSE
// Creator: 0xYeety; Based Pixel Labs/Yeety Labs; 1 yeet = 1 yeet; 1 cope = 1 cope
pragma solidity ^0.8.7;

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";

contract RoyaltyReceiver is Ownable {
    uint256 numPayees;
    mapping(uint256 => address) private indexer;
    mapping(address => uint256) public royaltySplit;
    mapping(address => uint256) public balances;

    string public name;

    /**
     * @dev Throws if called by any account other than a royalty receiver/payee.
     */
    modifier onlyPayee() {
        _isPayee();
        _;
    }

    /**
     * @dev Throws if the sender is not on the royalty receiver/payee list.
     */
    function _isPayee() internal view virtual {
        require(royaltySplit[address(msg.sender)] > 0, "not a royalty payee");
    }

    constructor(string memory _name, address[] memory payees, uint256[] memory percentages) {
        require(payees.length == percentages.length, "lengths must match");
        numPayees = payees.length;
        for (uint i = 0; i < numPayees; i++) {
            indexer[i] = payees[i];
            royaltySplit[payees[i]] = percentages[i];
            balances[payees[i]] = 0;
        }
        name = _name;
    }

    receive() external payable {
        uint256 value = msg.value;
        uint256 split = value/100;
        for (uint256 i = 0; i < numPayees; i++) {
            uint256 allocation = split*(royaltySplit[indexer[i]]);
            balances[indexer[i]] += allocation;
            value -= allocation;
        }
        balances[indexer[0]] += value;
    }

    function withdraw() external onlyPayee() {
        uint256 amount = balances[msg.sender];
        balances[msg.sender] = 0;
        (bool success, ) = payable(msg.sender).call{value:amount}("");
        require(success, "Transfer failed.");
    }

    function withdrawTokens(address tokenAddress) external onlyOwner() {
        IERC20(tokenAddress).transfer(msg.sender, IERC20(tokenAddress).balanceOf(address(this)));
    }

    function messageSender() public view returns (address) {
        return msg.sender;
    }
}

File 2 of 4 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

pragma solidity ^0.8.0;

import "../utils/Context.sol";

/**
 * @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() {
        _transferOwnership(_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 {
        _transferOwnership(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");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 3 of 4 : IERC20.sol
// 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);
}

File 4 of 4 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

/**
 * @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;
    }
}

Settings
{
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"address[]","name":"payees","type":"address[]"},{"internalType":"uint256[]","name":"percentages","type":"uint256[]"}],"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":[{"internalType":"address","name":"","type":"address"}],"name":"balances","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"messageSender","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"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":[{"internalType":"address","name":"","type":"address"}],"name":"royaltySplit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"}],"name":"withdrawTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60806040523480156200001157600080fd5b5060405162001b9238038062001b928339818101604052810190620000379190620005c0565b620000576200004b6200023c60201b60201c565b6200024460201b60201c565b80518251146200009e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200009590620006a0565b60405180910390fd5b815160018190555060005b6001548110156200021957828181518110620000ca57620000c96200091c565b5b60200260200101516002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508181815181106200013957620001386200091c565b5b6020026020010151600360008584815181106200015b576200015a6200091c565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600060046000858481518110620001bd57620001bc6200091c565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508080620002109062000870565b915050620000a9565b5082600590805190602001906200023292919062000308565b5050505062000a01565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620003169062000804565b90600052602060002090601f0160209004810192826200033a576000855562000386565b82601f106200035557805160ff191683800117855562000386565b8280016001018555821562000386579182015b828111156200038557825182559160200191906001019062000368565b5b50905062000395919062000399565b5090565b5b80821115620003b45760008160009055506001016200039a565b5090565b6000620003cf620003c984620006eb565b620006c2565b90508083825260208201905082856020860282011115620003f557620003f46200097f565b5b60005b858110156200042957816200040e8882620004f9565b845260208401935060208301925050600181019050620003f8565b5050509392505050565b60006200044a62000444846200071a565b620006c2565b9050808382526020820190508285602086028201111562000470576200046f6200097f565b5b60005b85811015620004a45781620004898882620005a9565b84526020840193506020830192505060018101905062000473565b5050509392505050565b6000620004c5620004bf8462000749565b620006c2565b905082815260208101848484011115620004e457620004e362000984565b5b620004f1848285620007ce565b509392505050565b6000815190506200050a81620009cd565b92915050565b600082601f8301126200052857620005276200097a565b5b81516200053a848260208601620003b8565b91505092915050565b600082601f8301126200055b576200055a6200097a565b5b81516200056d84826020860162000433565b91505092915050565b600082601f8301126200058e576200058d6200097a565b5b8151620005a0848260208601620004ae565b91505092915050565b600081519050620005ba81620009e7565b92915050565b600080600060608486031215620005dc57620005db6200098e565b5b600084015167ffffffffffffffff811115620005fd57620005fc62000989565b5b6200060b8682870162000576565b935050602084015167ffffffffffffffff8111156200062f576200062e62000989565b5b6200063d8682870162000510565b925050604084015167ffffffffffffffff81111562000661576200066062000989565b5b6200066f8682870162000543565b9150509250925092565b6000620006886012836200077f565b91506200069582620009a4565b602082019050919050565b60006020820190508181036000830152620006bb8162000679565b9050919050565b6000620006ce620006e1565b9050620006dc82826200083a565b919050565b6000604051905090565b600067ffffffffffffffff8211156200070957620007086200094b565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156200073857620007376200094b565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156200076757620007666200094b565b5b620007728262000993565b9050602081019050919050565b600082825260208201905092915050565b60006200079d82620007a4565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60005b83811015620007ee578082015181840152602081019050620007d1565b83811115620007fe576000848401525b50505050565b600060028204905060018216806200081d57607f821691505b60208210811415620008345762000833620008ed565b5b50919050565b620008458262000993565b810181811067ffffffffffffffff821117156200086757620008666200094b565b5b80604052505050565b60006200087d82620007c4565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415620008b357620008b2620008be565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f6c656e67746873206d757374206d617463680000000000000000000000000000600082015250565b620009d88162000790565b8114620009e457600080fd5b50565b620009f281620007c4565b8114620009fe57600080fd5b50565b6111818062000a116000396000f3fe60806040526004361061008a5760003560e01c8063715018a611610059578063715018a61461031a578063829926ee146103315780638da5cb5b1461036e578063d67bdd2514610399578063f2fde38b146103c45761026d565b806306fdde031461027257806327e235e31461029d5780633ccfd60b146102da57806349df728c146102f15761026d565b3661026d57600034905060006064826100a39190610de1565b905060005b6001548110156101df576000600360006002600085815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054836101329190610e12565b905080600460006002600086815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546101b69190610d8b565b9250508190555080846101c99190610e6c565b93505080806101d790610f4d565b9150506100a8565b5081600460006002600080815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546102629190610d8b565b925050819055505050005b600080fd5b34801561027e57600080fd5b506102876103ed565b6040516102949190610ca7565b60405180910390f35b3480156102a957600080fd5b506102c460048036038101906102bf9190610ac1565b61047b565b6040516102d19190610d49565b60405180910390f35b3480156102e657600080fd5b506102ef610493565b005b3480156102fd57600080fd5b5061031860048036038101906103139190610ac1565b6105d4565b005b34801561032657600080fd5b5061032f610769565b005b34801561033d57600080fd5b5061035860048036038101906103539190610ac1565b6107f1565b6040516103659190610d49565b60405180910390f35b34801561037a57600080fd5b50610383610809565b6040516103909190610c63565b60405180910390f35b3480156103a557600080fd5b506103ae610832565b6040516103bb9190610c63565b60405180910390f35b3480156103d057600080fd5b506103eb60048036038101906103e69190610ac1565b61083a565b005b600580546103fa90610f1b565b80601f016020809104026020016040519081016040528092919081815260200182805461042690610f1b565b80156104735780601f1061044857610100808354040283529160200191610473565b820191906000526020600020905b81548152906001019060200180831161045657829003601f168201915b505050505081565b60046020528060005260406000206000915090505481565b61049b610932565b6000600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490506000600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060003373ffffffffffffffffffffffffffffffffffffffff168260405161054a90610c4e565b60006040518083038185875af1925050503d8060008114610587576040519150601f19603f3d011682016040523d82523d6000602084013e61058c565b606091505b50509050806105d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105c790610d29565b60405180910390fd5b5050565b6105dc6109b6565b73ffffffffffffffffffffffffffffffffffffffff166105fa610809565b73ffffffffffffffffffffffffffffffffffffffff1614610650576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161064790610d09565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1663a9059cbb338373ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016106a69190610c63565b60206040518083038186803b1580156106be57600080fd5b505afa1580156106d2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106f69190610b1b565b6040518363ffffffff1660e01b8152600401610713929190610c7e565b602060405180830381600087803b15801561072d57600080fd5b505af1158015610741573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107659190610aee565b5050565b6107716109b6565b73ffffffffffffffffffffffffffffffffffffffff1661078f610809565b73ffffffffffffffffffffffffffffffffffffffff16146107e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107dc90610d09565b60405180910390fd5b6107ef60006109be565b565b60036020528060005260406000206000915090505481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600033905090565b6108426109b6565b73ffffffffffffffffffffffffffffffffffffffff16610860610809565b73ffffffffffffffffffffffffffffffffffffffff16146108b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108ad90610d09565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610926576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161091d90610ce9565b60405180910390fd5b61092f816109be565b50565b6000600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054116109b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109ab90610cc9565b60405180910390fd5b565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600081359050610a9181611106565b92915050565b600081519050610aa68161111d565b92915050565b600081519050610abb81611134565b92915050565b600060208284031215610ad757610ad6611023565b5b6000610ae584828501610a82565b91505092915050565b600060208284031215610b0457610b03611023565b5b6000610b1284828501610a97565b91505092915050565b600060208284031215610b3157610b30611023565b5b6000610b3f84828501610aac565b91505092915050565b610b5181610ea0565b82525050565b6000610b6282610d64565b610b6c8185610d7a565b9350610b7c818560208601610ee8565b610b8581611028565b840191505092915050565b6000610b9d601383610d7a565b9150610ba882611039565b602082019050919050565b6000610bc0602683610d7a565b9150610bcb82611062565b604082019050919050565b6000610be3602083610d7a565b9150610bee826110b1565b602082019050919050565b6000610c06600083610d6f565b9150610c11826110da565b600082019050919050565b6000610c29601083610d7a565b9150610c34826110dd565b602082019050919050565b610c4881610ede565b82525050565b6000610c5982610bf9565b9150819050919050565b6000602082019050610c786000830184610b48565b92915050565b6000604082019050610c936000830185610b48565b610ca06020830184610c3f565b9392505050565b60006020820190508181036000830152610cc18184610b57565b905092915050565b60006020820190508181036000830152610ce281610b90565b9050919050565b60006020820190508181036000830152610d0281610bb3565b9050919050565b60006020820190508181036000830152610d2281610bd6565b9050919050565b60006020820190508181036000830152610d4281610c1c565b9050919050565b6000602082019050610d5e6000830184610c3f565b92915050565b600081519050919050565b600081905092915050565b600082825260208201905092915050565b6000610d9682610ede565b9150610da183610ede565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115610dd657610dd5610f96565b5b828201905092915050565b6000610dec82610ede565b9150610df783610ede565b925082610e0757610e06610fc5565b5b828204905092915050565b6000610e1d82610ede565b9150610e2883610ede565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615610e6157610e60610f96565b5b828202905092915050565b6000610e7782610ede565b9150610e8283610ede565b925082821015610e9557610e94610f96565b5b828203905092915050565b6000610eab82610ebe565b9050919050565b60008115159050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60005b83811015610f06578082015181840152602081019050610eeb565b83811115610f15576000848401525b50505050565b60006002820490506001821680610f3357607f821691505b60208210811415610f4757610f46610ff4565b5b50919050565b6000610f5882610ede565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415610f8b57610f8a610f96565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600080fd5b6000601f19601f8301169050919050565b7f6e6f74206120726f79616c747920706179656500000000000000000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b50565b7f5472616e73666572206661696c65642e00000000000000000000000000000000600082015250565b61110f81610ea0565b811461111a57600080fd5b50565b61112681610eb2565b811461113157600080fd5b50565b61113d81610ede565b811461114857600080fd5b5056fea2646970667358221220a7ff71e4c4258de11314fce0cbc95dff7ba2d14470df1b63a59717d9858a5a7764736f6c63430008070033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000001a436f7069756d44656e20526f79616c7479205265636569766572000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000066f3794178997a12779527b36a2f042e001625af00000000000000000000000049723bb74dcdad9bcdba97fa63686684ba5714d4000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000050

Deployed Bytecode

0x60806040526004361061008a5760003560e01c8063715018a611610059578063715018a61461031a578063829926ee146103315780638da5cb5b1461036e578063d67bdd2514610399578063f2fde38b146103c45761026d565b806306fdde031461027257806327e235e31461029d5780633ccfd60b146102da57806349df728c146102f15761026d565b3661026d57600034905060006064826100a39190610de1565b905060005b6001548110156101df576000600360006002600085815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054836101329190610e12565b905080600460006002600086815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546101b69190610d8b565b9250508190555080846101c99190610e6c565b93505080806101d790610f4d565b9150506100a8565b5081600460006002600080815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546102629190610d8b565b925050819055505050005b600080fd5b34801561027e57600080fd5b506102876103ed565b6040516102949190610ca7565b60405180910390f35b3480156102a957600080fd5b506102c460048036038101906102bf9190610ac1565b61047b565b6040516102d19190610d49565b60405180910390f35b3480156102e657600080fd5b506102ef610493565b005b3480156102fd57600080fd5b5061031860048036038101906103139190610ac1565b6105d4565b005b34801561032657600080fd5b5061032f610769565b005b34801561033d57600080fd5b5061035860048036038101906103539190610ac1565b6107f1565b6040516103659190610d49565b60405180910390f35b34801561037a57600080fd5b50610383610809565b6040516103909190610c63565b60405180910390f35b3480156103a557600080fd5b506103ae610832565b6040516103bb9190610c63565b60405180910390f35b3480156103d057600080fd5b506103eb60048036038101906103e69190610ac1565b61083a565b005b600580546103fa90610f1b565b80601f016020809104026020016040519081016040528092919081815260200182805461042690610f1b565b80156104735780601f1061044857610100808354040283529160200191610473565b820191906000526020600020905b81548152906001019060200180831161045657829003601f168201915b505050505081565b60046020528060005260406000206000915090505481565b61049b610932565b6000600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490506000600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060003373ffffffffffffffffffffffffffffffffffffffff168260405161054a90610c4e565b60006040518083038185875af1925050503d8060008114610587576040519150601f19603f3d011682016040523d82523d6000602084013e61058c565b606091505b50509050806105d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105c790610d29565b60405180910390fd5b5050565b6105dc6109b6565b73ffffffffffffffffffffffffffffffffffffffff166105fa610809565b73ffffffffffffffffffffffffffffffffffffffff1614610650576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161064790610d09565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1663a9059cbb338373ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016106a69190610c63565b60206040518083038186803b1580156106be57600080fd5b505afa1580156106d2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106f69190610b1b565b6040518363ffffffff1660e01b8152600401610713929190610c7e565b602060405180830381600087803b15801561072d57600080fd5b505af1158015610741573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107659190610aee565b5050565b6107716109b6565b73ffffffffffffffffffffffffffffffffffffffff1661078f610809565b73ffffffffffffffffffffffffffffffffffffffff16146107e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107dc90610d09565b60405180910390fd5b6107ef60006109be565b565b60036020528060005260406000206000915090505481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600033905090565b6108426109b6565b73ffffffffffffffffffffffffffffffffffffffff16610860610809565b73ffffffffffffffffffffffffffffffffffffffff16146108b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108ad90610d09565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610926576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161091d90610ce9565b60405180910390fd5b61092f816109be565b50565b6000600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054116109b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109ab90610cc9565b60405180910390fd5b565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600081359050610a9181611106565b92915050565b600081519050610aa68161111d565b92915050565b600081519050610abb81611134565b92915050565b600060208284031215610ad757610ad6611023565b5b6000610ae584828501610a82565b91505092915050565b600060208284031215610b0457610b03611023565b5b6000610b1284828501610a97565b91505092915050565b600060208284031215610b3157610b30611023565b5b6000610b3f84828501610aac565b91505092915050565b610b5181610ea0565b82525050565b6000610b6282610d64565b610b6c8185610d7a565b9350610b7c818560208601610ee8565b610b8581611028565b840191505092915050565b6000610b9d601383610d7a565b9150610ba882611039565b602082019050919050565b6000610bc0602683610d7a565b9150610bcb82611062565b604082019050919050565b6000610be3602083610d7a565b9150610bee826110b1565b602082019050919050565b6000610c06600083610d6f565b9150610c11826110da565b600082019050919050565b6000610c29601083610d7a565b9150610c34826110dd565b602082019050919050565b610c4881610ede565b82525050565b6000610c5982610bf9565b9150819050919050565b6000602082019050610c786000830184610b48565b92915050565b6000604082019050610c936000830185610b48565b610ca06020830184610c3f565b9392505050565b60006020820190508181036000830152610cc18184610b57565b905092915050565b60006020820190508181036000830152610ce281610b90565b9050919050565b60006020820190508181036000830152610d0281610bb3565b9050919050565b60006020820190508181036000830152610d2281610bd6565b9050919050565b60006020820190508181036000830152610d4281610c1c565b9050919050565b6000602082019050610d5e6000830184610c3f565b92915050565b600081519050919050565b600081905092915050565b600082825260208201905092915050565b6000610d9682610ede565b9150610da183610ede565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115610dd657610dd5610f96565b5b828201905092915050565b6000610dec82610ede565b9150610df783610ede565b925082610e0757610e06610fc5565b5b828204905092915050565b6000610e1d82610ede565b9150610e2883610ede565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615610e6157610e60610f96565b5b828202905092915050565b6000610e7782610ede565b9150610e8283610ede565b925082821015610e9557610e94610f96565b5b828203905092915050565b6000610eab82610ebe565b9050919050565b60008115159050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60005b83811015610f06578082015181840152602081019050610eeb565b83811115610f15576000848401525b50505050565b60006002820490506001821680610f3357607f821691505b60208210811415610f4757610f46610ff4565b5b50919050565b6000610f5882610ede565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415610f8b57610f8a610f96565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600080fd5b6000601f19601f8301169050919050565b7f6e6f74206120726f79616c747920706179656500000000000000000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b50565b7f5472616e73666572206661696c65642e00000000000000000000000000000000600082015250565b61110f81610ea0565b811461111a57600080fd5b50565b61112681610eb2565b811461113157600080fd5b50565b61113d81610ede565b811461114857600080fd5b5056fea2646970667358221220a7ff71e4c4258de11314fce0cbc95dff7ba2d14470df1b63a59717d9858a5a7764736f6c63430008070033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000001a436f7069756d44656e20526f79616c7479205265636569766572000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000066f3794178997a12779527b36a2f042e001625af00000000000000000000000049723bb74dcdad9bcdba97fa63686684ba5714d4000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000050

-----Decoded View---------------
Arg [0] : _name (string): CopiumDen Royalty Receiver
Arg [1] : payees (address[]): 0x66F3794178997a12779527B36a2F042e001625aF,0x49723bB74dcDAd9bcDbA97FA63686684ba5714D4
Arg [2] : percentages (uint256[]): 20,80

-----Encoded View---------------
11 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [3] : 000000000000000000000000000000000000000000000000000000000000001a
Arg [4] : 436f7069756d44656e20526f79616c7479205265636569766572000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [6] : 00000000000000000000000066f3794178997a12779527b36a2f042e001625af
Arg [7] : 00000000000000000000000049723bb74dcdad9bcdba97fa63686684ba5714d4
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000014
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000050


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
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.