Contract 0x14d61175Df4d435a08f60470A1c9bCA18bE8D03f

Txn Hash Method
Block
From
To
Value [Txn Fee]
0xf4c33bfd480d40ecbc0c375fffdad0e25c9c2130cedc6d87a73e6c48c2a8630fWithdraw All84799822023-05-24 22:14:2813 days 9 hrs ago0x93eef15e5d6f1a0c238f93a274e1b9514f260c4c IN  0x14d61175df4d435a08f60470a1c9bca18be8d03f0 CRO0.144360922112 4,743.097716946
0x8cca99611810586fe262832a4374598c8d7241f26f2b0ec945ee075c413a6f04Initialize Royal...84798082023-05-24 21:58:0313 days 9 hrs ago0x93eef15e5d6f1a0c238f93a274e1b9514f260c4c IN  0x14d61175df4d435a08f60470a1c9bca18be8d03f3,500 CRO21.9688814708710
0xcfb379625f76243b9dc2a2e572beaf32e627b4a8250b6d0328e6b0dd4cf7429b0x6080604084798072023-05-24 21:57:5713 days 9 hrs ago0x93eef15e5d6f1a0c238f93a274e1b9514f260c4c IN  Create: SkronosRoyalties0 CRO5.4511454836670
[ Download CSV Export 
Latest 1 internal transaction
Parent Txn Hash Block From To Value
0xf4c33bfd480d40ecbc0c375fffdad0e25c9c2130cedc6d87a73e6c48c2a8630f84799822023-05-24 22:14:2813 days 9 hrs ago 0x14d61175df4d435a08f60470a1c9bca18be8d03f0x93eef15e5d6f1a0c238f93a274e1b9514f260c4c3,500 CRO
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
SkronosRoyalties

Compiler Version
v0.8.15+commit.e14f2714

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 6 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (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 Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        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 2 of 6 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Enumerable is IERC721 {
    /**
     * @dev Returns the total amount of tokens stored by the contract.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns a token ID owned by `owner` at a given `index` of its token list.
     * Use along with {balanceOf} to enumerate all of ``owner``'s tokens.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256);

    /**
     * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.
     * Use along with {totalSupply} to enumerate all tokens.
     */
    function tokenByIndex(uint256 index) external view returns (uint256);
}

File 3 of 6 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

import "../../utils/introspection/IERC165.sol";

/**
 * @dev Required interface of an ERC721 compliant contract.
 */
interface IERC721 is IERC165 {
    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
     */
    event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.
     */
    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);

    /**
     * @dev Returns the number of tokens in ``owner``'s account.
     */
    function balanceOf(address owner) external view returns (uint256 balance);

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) external view returns (address owner);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes calldata data
    ) external;

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must have been allowed to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Transfers `tokenId` token from `from` to `to`.
     *
     * WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721
     * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must
     * understand this adds an external call which potentially creates a reentrancy vulnerability.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Gives permission to `to` to transfer `tokenId` token to another account.
     * The approval is cleared when the token is transferred.
     *
     * Only a single account can be approved at a time, so approving the zero address clears previous approvals.
     *
     * Requirements:
     *
     * - The caller must own the token or be an approved operator.
     * - `tokenId` must exist.
     *
     * Emits an {Approval} event.
     */
    function approve(address to, uint256 tokenId) external;

    /**
     * @dev Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool _approved) external;

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

    /**
     * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
     *
     * See {setApprovalForAll}
     */
    function isApprovedForAll(address owner, address operator) external view returns (bool);
}

File 4 of 6 : 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;
    }
}

File 5 of 6 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[EIP].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}

File 6 of 6 : SkronosRoyalties.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.15;

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol";

contract SkronosRoyalties is Ownable {
    IERC721Enumerable public skronosAddress;
    uint256 public currentSupply = 200;

    mapping(uint256 => uint256) private currentRoyalties;
    uint256 public currentRound = 0;
    uint256 public totalRoyalties;

    bool private initialized;
    mapping(uint256 => bool) private burntTokens;

    mapping(uint256 => mapping(uint256 => uint256)) public claimedRoyalties;

    struct TokenInfo {
        uint256 id;
        uint256 royalties;
    }

    // Events
    event RoyaltiesAdded(uint256 amount);
    event RoyaltiesClaimed(address indexed sender, uint256 amount);

    // Errors
    error AddingNoRewards();

    // Init
    constructor(address _skronosAddress, uint256 _totalRoyalties) {
        skronosAddress = IERC721Enumerable(_skronosAddress);
        totalRoyalties = _totalRoyalties;
    }

    // Royalties
    function addRoyalties() external payable {
        if (msg.value == 0) revert AddingNoRewards();

        totalRoyalties = totalRoyalties + msg.value;
        currentRoyalties[currentRound] += msg.value / currentSupply;

        emit RoyaltiesAdded(msg.value);
    }

    function nextSeason() external onlyOwner {
        currentRoyalties[currentRound] = 0;
        currentRound++;
        currentRoyalties[currentRound] +=
            (address(this).balance) /
            currentSupply;
    }

    function burnTokens(uint256[] calldata tokens) external onlyOwner {
        uint256 rewards = 0;

        for (uint256 i = 0; i < tokens.length; ) {
            uint256 tokenId = tokens[i];
            require(!burntTokens[tokenId], "Token already burnt");

            burntTokens[tokenId] = true;

            unchecked {
                rewards += (getRewardsToken(tokenId));
                claimedRoyalties[currentRound][tokenId] = currentRoyalties[
                    currentRound
                ];
                ++i;
            }
        }
        currentSupply -= tokens.length;
        payable(_msgSender()).transfer(rewards);
    }

    function setSupply(uint256 supply) external onlyOwner {
        currentSupply = supply;
    }

    function initializeRoyalties(
        uint256 perToken,
        uint256[] calldata amount
    ) external payable onlyOwner {
        require(!initialized, "Already initialized");
        require(amount.length == 200, "Wrong data");
        initialized = true;

        currentRoyalties[currentRound] = perToken;

        for (uint256 i = 0; i < 200; i++) {
            uint256 tokenId = i + 1;
            claimedRoyalties[currentRound][tokenId] = amount[i];
        }
    }

    // Getters
    function tokensOfWallet(
        address _address
    ) public view returns (uint256[] memory) {
        uint256 ownerTokenCount = skronosAddress.balanceOf(_address);
        uint256[] memory tokenIds = new uint256[](ownerTokenCount);
        for (uint256 i; i < ownerTokenCount; i++) {
            tokenIds[i] = skronosAddress.tokenOfOwnerByIndex(_address, i);
        }
        return tokenIds;
    }

    function getRewardsToken(uint256 id) public view returns (uint256 rewards) {
        return
            burntTokens[id]
                ? 0
                : currentRoyalties[currentRound] -
                    claimedRoyalties[currentRound][id];
    }

    function getRoyalties(address sender) external view returns (uint256) {
        uint256 balance = 0;

        uint count = skronosAddress.balanceOf(sender);
        for (uint i = 0; i < count; i++) {
            uint256 tokenId = skronosAddress.tokenOfOwnerByIndex(sender, i);
            balance += getRewardsToken(tokenId);
        }
        return balance;
    }

    function getRoyaltiesDetails(
        address sender
    ) external view returns (TokenInfo[] memory) {
        uint256[] memory ids = tokensOfWallet(sender);
        TokenInfo[] memory tokens = new TokenInfo[](ids.length);

        for (uint i = 0; i < ids.length; i++) {
            uint256 tokenId = ids[i];
            uint256 royalties = getRewardsToken(tokenId);
            tokens[i].id = tokenId;
            tokens[i].royalties = royalties;
        }

        return tokens;
    }

    function getRoundCurrentRoyalties(
        uint256 round
    ) external view returns (uint256) {
        return currentRoyalties[round];
    }

    // Claim
    function claimAllRoyalties() external {
        uint256 rewards = 0;

        uint256[] memory ids = tokensOfWallet(_msgSender());
        for (uint i = 0; i < ids.length; ) {
            uint256 tokenId = ids[i];
            unchecked {
                rewards += getRewardsToken(tokenId);
                claimedRoyalties[currentRound][tokenId] = currentRoyalties[
                    currentRound
                ];
                ++i;
            }
        }

        payable(_msgSender()).transfer(rewards);
        emit RoyaltiesClaimed(_msgSender(), rewards);
    }

    function claimRoyalties(uint256[] calldata tokensToClaim) external {
        uint256 rewards = 0;

        for (uint256 i = 0; i < tokensToClaim.length; ) {
            unchecked {
                uint256 tokenId = tokensToClaim[i];
                if (skronosAddress.ownerOf(tokenId) == _msgSender()) {
                    rewards += (getRewardsToken(tokenId));
                    claimedRoyalties[currentRound][tokenId] = currentRoyalties[
                        currentRound
                    ];
                }
                ++i;
            }
        }

        payable(_msgSender()).transfer(rewards);
        emit RoyaltiesClaimed(_msgSender(), rewards);
    }

    function withdrawAll() external onlyOwner {
        (bool success, ) = owner().call{value: address(this).balance}("");
        require(success, "Transfer failed.");
    }
}

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

Contract ABI

[{"inputs":[{"internalType":"address","name":"_skronosAddress","type":"address"},{"internalType":"uint256","name":"_totalRoyalties","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"AddingNoRewards","type":"error"},{"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"}],"name":"RoyaltiesAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"RoyaltiesClaimed","type":"event"},{"inputs":[],"name":"addRoyalties","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokens","type":"uint256[]"}],"name":"burnTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimAllRoyalties","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokensToClaim","type":"uint256[]"}],"name":"claimRoyalties","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"claimedRoyalties","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"currentRound","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"currentSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"getRewardsToken","outputs":[{"internalType":"uint256","name":"rewards","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"round","type":"uint256"}],"name":"getRoundCurrentRoyalties","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"getRoyalties","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"getRoyaltiesDetails","outputs":[{"components":[{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"royalties","type":"uint256"}],"internalType":"struct SkronosRoyalties.TokenInfo[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"perToken","type":"uint256"},{"internalType":"uint256[]","name":"amount","type":"uint256[]"}],"name":"initializeRoyalties","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"nextSeason","outputs":[],"stateMutability":"nonpayable","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":"uint256","name":"supply","type":"uint256"}],"name":"setSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"skronosAddress","outputs":[{"internalType":"contract IERC721Enumerable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"tokensOfWallet","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalRoyalties","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":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405260c8600255600060045534801561001a57600080fd5b5060405161131a38038061131a833981016040819052610039916100bb565b6100423361006b565b600180546001600160a01b0319166001600160a01b0393909316929092179091556005556100f5565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600080604083850312156100ce57600080fd5b82516001600160a01b03811681146100e557600080fd5b6020939093015192949293505050565b611216806101046000396000f3fe60806040526004361061012a5760003560e01c8063853828b6116100ab578063bc734f0f1161006f578063bc734f0f1461031e578063c91892e814610333578063d41d385a14610353578063db4f6d3114610366578063e96b30551461036e578063f2fde38b146103a657600080fd5b8063853828b61461027e57806386d026081461029357806386fd9694146102a95780638a19c8bc146102d65780638da5cb5b146102ec57600080fd5b8063655e7c36116100f2578063655e7c36146101d957806367a5317314610206578063715018a61461022657806375935d111461023b578063771282f61461026857600080fd5b806313ece8161461012f57806314556a56146101515780633b4c4b25146101845780633cd972ac146101a4578063547eafd0146101c4575b600080fd5b34801561013b57600080fd5b5061014f61014a366004610f69565b6103c6565b005b34801561015d57600080fd5b5061017161016c366004610fc0565b61051b565b6040519081526020015b60405180910390f35b34801561019057600080fd5b5061014f61019f366004610fe4565b610647565b3480156101b057600080fd5b506101716101bf366004610fe4565b610654565b3480156101d057600080fd5b5061014f6106aa565b3480156101e557600080fd5b506101716101f4366004610fe4565b60009081526003602052604090205490565b34801561021257600080fd5b5061014f610221366004610f69565b610788565b34801561023257600080fd5b5061014f6108be565b34801561024757600080fd5b5061025b610256366004610fc0565b6108d2565b60405161017b9190610ffd565b34801561027457600080fd5b5061017160025481565b34801561028a57600080fd5b5061014f610a45565b34801561029f57600080fd5b5061017160055481565b3480156102b557600080fd5b506102c96102c4366004610fc0565b610ae6565b60405161017b9190611041565b3480156102e257600080fd5b5061017160045481565b3480156102f857600080fd5b506000546001600160a01b03165b6040516001600160a01b03909116815260200161017b565b34801561032a57600080fd5b5061014f610beb565b34801561033f57600080fd5b50600154610306906001600160a01b031681565b61014f610361366004611090565b610c4f565b61014f610d63565b34801561037a57600080fd5b506101716103893660046110dc565b600860209081526000928352604080842090915290825290205481565b3480156103b257600080fd5b5061014f6103c1366004610fc0565b610dfd565b6000805b828110156104b25760008484838181106103e6576103e66110fe565b9050602002013590506103f63390565b6001546040516331a9108f60e11b8152600481018490526001600160a01b039283169290911690636352211e90602401602060405180830381865afa158015610443573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104679190611114565b6001600160a01b0316036104a95761047e81610654565b6004546000908152600360209081526040808320546008835281842086855290925290912055909201915b506001016103ca565b50604051339082156108fc029083906000818181858888f193505050501580156104e0573d6000803e3d6000fd5b5060405181815233907f8fbbda19f4a70036f6f585dc4160142a8fa2a20ffb9393d23274f78de4e398889060200160405180910390a2505050565b6001546040516370a0823160e01b81526001600160a01b03838116600483015260009283928392909116906370a0823190602401602060405180830381865afa15801561056c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105909190611131565b905060005b8181101561063e57600154604051632f745c5960e01b81526001600160a01b038781166004830152602482018490526000921690632f745c5990604401602060405180830381865afa1580156105ef573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106139190611131565b905061061e81610654565b6106289085611160565b935050808061063690611178565b915050610595565b50909392505050565b61064f610e73565b600255565b60008181526007602052604081205460ff166106a1576004546000818152600860209081526040808320868452825280832054938352600390915290205461069c9190611191565b6106a4565b60005b92915050565b6000806106b6336108d2565b905060005b81518110156107205760008282815181106106d8576106d86110fe565b602002602001015190506106eb81610654565b6004546000908152600360209081526040808320546008835281842095845294909152902091909155909201916001016106bb565b50604051339083156108fc029084906000818181858888f1935050505015801561074e573d6000803e3d6000fd5b5060405182815233907f8fbbda19f4a70036f6f585dc4160142a8fa2a20ffb9393d23274f78de4e398889060200160405180910390a25050565b610790610e73565b6000805b828110156108705760008484838181106107b0576107b06110fe565b60209081029290920135600081815260079093526040909220549192505060ff16156108195760405162461bcd60e51b8152602060048201526013602482015272151bdad95b88185b1c9958591e48189d5c9b9d606a1b60448201526064015b60405180910390fd5b6000818152600760205260409020805460ff1916600117905561083b81610654565b600454600090815260036020908152604080832054600883528184209584529490915290209190915590910190600101610794565b5082829050600260008282546108869190611191565b9091555050604051339082156108fc029083906000818181858888f193505050501580156108b8573d6000803e3d6000fd5b50505050565b6108c6610e73565b6108d06000610ecd565b565b6001546040516370a0823160e01b81526001600160a01b0383811660048301526060926000929116906370a0823190602401602060405180830381865afa158015610921573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109459190611131565b905060008167ffffffffffffffff811115610962576109626111a8565b60405190808252806020026020018201604052801561098b578160200160208202803683370190505b50905060005b82811015610a3d57600154604051632f745c5960e01b81526001600160a01b0387811660048301526024820184905290911690632f745c5990604401602060405180830381865afa1580156109ea573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a0e9190611131565b828281518110610a2057610a206110fe565b602090810291909101015280610a3581611178565b915050610991565b509392505050565b610a4d610e73565b600080546040516001600160a01b039091169047908381818185875af1925050503d8060008114610a9a576040519150601f19603f3d011682016040523d82523d6000602084013e610a9f565b606091505b5050905080610ae35760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b6044820152606401610810565b50565b60606000610af3836108d2565b90506000815167ffffffffffffffff811115610b1157610b116111a8565b604051908082528060200260200182016040528015610b5657816020015b6040805180820190915260008082526020820152815260200190600190039081610b2f5790505b50905060005b8251811015610a3d576000838281518110610b7957610b796110fe565b602002602001015190506000610b8e82610654565b905081848481518110610ba357610ba36110fe565b6020026020010151600001818152505080848481518110610bc657610bc66110fe565b6020026020010151602001818152505050508080610be390611178565b915050610b5c565b610bf3610e73565b60048054600090815260036020526040812081905581549190610c1583611178565b9091555050600254610c2790476111be565b60045460009081526003602052604081208054909190610c48908490611160565b9091555050565b610c57610e73565b60065460ff1615610ca05760405162461bcd60e51b8152602060048201526013602482015272105b1c9958591e481a5b9a5d1a585b1a5e9959606a1b6044820152606401610810565b60c88114610cdd5760405162461bcd60e51b815260206004820152600a60248201526957726f6e67206461746160b01b6044820152606401610810565b6006805460ff1916600117905560045460009081526003602052604081208490555b60c88110156108b8576000610d15826001611160565b9050838383818110610d2957610d296110fe565b6004546000908152600860209081526040808320968352958152949020930291909101359091555080610d5b81611178565b915050610cff565b34600003610d845760405163e3a12f6760e01b815260040160405180910390fd5b34600554610d929190611160565b600555600254610da290346111be565b60045460009081526003602052604081208054909190610dc3908490611160565b90915550506040513481527f5a02b40077e797196e633f9dd9c358d21e6c6fce881c924fac5d583fc4359f979060200160405180910390a1565b610e05610e73565b6001600160a01b038116610e6a5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610810565b610ae381610ecd565b6000546001600160a01b031633146108d05760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610810565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60008083601f840112610f2f57600080fd5b50813567ffffffffffffffff811115610f4757600080fd5b6020830191508360208260051b8501011115610f6257600080fd5b9250929050565b60008060208385031215610f7c57600080fd5b823567ffffffffffffffff811115610f9357600080fd5b610f9f85828601610f1d565b90969095509350505050565b6001600160a01b0381168114610ae357600080fd5b600060208284031215610fd257600080fd5b8135610fdd81610fab565b9392505050565b600060208284031215610ff657600080fd5b5035919050565b6020808252825182820181905260009190848201906040850190845b8181101561103557835183529284019291840191600101611019565b50909695505050505050565b602080825282518282018190526000919060409081850190868401855b828110156110835781518051855286015186850152928401929085019060010161105e565b5091979650505050505050565b6000806000604084860312156110a557600080fd5b83359250602084013567ffffffffffffffff8111156110c357600080fd5b6110cf86828701610f1d565b9497909650939450505050565b600080604083850312156110ef57600080fd5b50508035926020909101359150565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561112657600080fd5b8151610fdd81610fab565b60006020828403121561114357600080fd5b5051919050565b634e487b7160e01b600052601160045260246000fd5b600082198211156111735761117361114a565b500190565b60006001820161118a5761118a61114a565b5060010190565b6000828210156111a3576111a361114a565b500390565b634e487b7160e01b600052604160045260246000fd5b6000826111db57634e487b7160e01b600052601260045260246000fd5b50049056fea2646970667358221220f5bd1bda6a80de12be0e09ff51e8edc5b681b8777d287739d77a88e188f4dfcc64736f6c634300080f003300000000000000000000000069b0f59900e123ad5d3aa37bb022fde32a4d24b000000000000000000000000000000000000000000000082716d4a241fb100000

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

00000000000000000000000069b0f59900e123ad5d3aa37bb022fde32a4d24b000000000000000000000000000000000000000000000082716d4a241fb100000

-----Decoded View---------------
Arg [0] : _skronosAddress (address): 0x69b0f59900e123ad5d3aa37bb022fde32a4d24b0
Arg [1] : _totalRoyalties (uint256): 38500000000000000000000

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 00000000000000000000000069b0f59900e123ad5d3aa37bb022fde32a4d24b0
Arg [1] : 00000000000000000000000000000000000000000000082716d4a241fb100000


Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.