Sepolia Testnet

Contract

0x02a6836d506c0DF8291e95fDE1BCc0cdB88C2514

Overview

ETH Balance

0 ETH

Multichain Info

N/A
Transaction Hash
Method
Block
From
To
Value
0x6080604041368792023-08-22 9:13:24301 days ago1692695604IN
 Create: TechTokenV1
0 ETH0.0149176511.98098127

Advanced mode:
Parent Transaction Hash Block From To Value
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
TechTokenV1

Compiler Version
v0.8.19+commit.7dd6d404

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity Standard Json-Input format)

File 1 of 9 : TechTokenV1.sol
// SPDX-License-Identifier: MIT
// NIFTSY protocol ERC20
pragma solidity 0.8.19;

import "ERC20.sol";
import "MinterRole.sol";
import "FeeRoyaltyModelV1_00.sol";

/// @title Envelop PrtocolV1  - TechToken
/// @author Envelop Team
/// @notice Used for demostrate fee & roylty features
/// @dev  In current impplementation include basic roylte fee model contract
/// @custom:please see Envelop Docs Portal
contract TechTokenV1 is ERC20, MinterRole, FeeRoyaltyModelV1_00 {
    constructor()
    ERC20("Virtual Envelop Transfer Fee Token", "vENVLP")
    MinterRole(msg.sender)
    { 
    }

    function mint(address _to, uint256 _value) external onlyMinter {
        _mint(_to, _value);
    }

    /**
     * @dev Hook that is called before any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * will be transferred to `to`.
     * - when `from` is zero, `amount` tokens will be minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal override {
        if (msg.sender == wrapper) {
            // not for mint and burn
            if (from != address(0) && to != address(0)) {
                _mint(from, amount);
                // Next string was commented due overide `transferFrom` (see below)
                //_approve(from, wrapper, amount);
            }
        }
    }


    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * !!!!!!!!!!
     * ENVELOP NOTE: Does not update the allowance if the sender is wrapper
     *
     * Requirements:
     *
     * - `from` and `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     * - the caller must have allowance for ``from``'s tokens of at least
     * `amount`.
     */
    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) public  override returns (bool) {
        address spender = _msgSender();
        if (spender != wrapper) {
            _spendAllowance(from, spender, amount);
        }
        _transfer(from, to, amount);
        return true;
    }
}

File 2 of 9 : ERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/ERC20.sol)

pragma solidity ^0.8.0;

import "IERC20.sol";
import "IERC20Metadata.sol";
import "Context.sol";

/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin Contracts guidelines: functions revert
 * instead returning `false` on failure. This behavior is nonetheless
 * conventional and does not conflict with the expectations of ERC20
 * applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, IERC20, IERC20Metadata {
    mapping(address => uint256) private _balances;

    mapping(address => mapping(address => uint256)) private _allowances;

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * The default value of {decimals} is 18. To select a different value for
     * {decimals} you should overload it.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    /**
     * @dev Returns the name of the token.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5.05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the value {ERC20} uses, unless this function is
     * overridden;
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view virtual override returns (uint8) {
        return 18;
    }

    /**
     * @dev See {IERC20-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        return _totalSupply;
    }

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view virtual override returns (uint256) {
        return _balances[account];
    }

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address to, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _transfer(owner, to, amount);
        return true;
    }

    /**
     * @dev See {IERC20-allowance}.
     */
    function allowance(address owner, address spender) public view virtual override returns (uint256) {
        return _allowances[owner][spender];
    }

    /**
     * @dev See {IERC20-approve}.
     *
     * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on
     * `transferFrom`. This is semantically equivalent to an infinite approval.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * NOTE: Does not update the allowance if the current allowance
     * is the maximum `uint256`.
     *
     * Requirements:
     *
     * - `from` and `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     * - the caller must have allowance for ``from``'s tokens of at least
     * `amount`.
     */
    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) public virtual override returns (bool) {
        address spender = _msgSender();
        _spendAllowance(from, spender, amount);
        _transfer(from, to, amount);
        return true;
    }

    /**
     * @dev Atomically increases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, allowance(owner, spender) + addedValue);
        return true;
    }

    /**
     * @dev Atomically decreases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `spender` must have allowance for the caller of at least
     * `subtractedValue`.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        address owner = _msgSender();
        uint256 currentAllowance = allowance(owner, spender);
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        unchecked {
            _approve(owner, spender, currentAllowance - subtractedValue);
        }

        return true;
    }

    /**
     * @dev Moves `amount` of tokens from `from` to `to`.
     *
     * This internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     */
    function _transfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(from, to, amount);

        uint256 fromBalance = _balances[from];
        require(fromBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[from] = fromBalance - amount;
            // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by
            // decrementing then incrementing.
            _balances[to] += amount;
        }

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, amount);
    }

    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

        _beforeTokenTransfer(address(0), account, amount);

        _totalSupply += amount;
        unchecked {
            // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above.
            _balances[account] += amount;
        }
        emit Transfer(address(0), account, amount);

        _afterTokenTransfer(address(0), account, amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, reducing the
     * total supply.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens.
     */
    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: burn from the zero address");

        _beforeTokenTransfer(account, address(0), amount);

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        unchecked {
            _balances[account] = accountBalance - amount;
            // Overflow not possible: amount <= accountBalance <= totalSupply.
            _totalSupply -= amount;
        }

        emit Transfer(account, address(0), amount);

        _afterTokenTransfer(account, address(0), amount);
    }

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
     *
     * This internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     */
    function _approve(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

    /**
     * @dev Updates `owner` s allowance for `spender` based on spent `amount`.
     *
     * Does not update the allowance amount in case of infinite allowance.
     * Revert if not enough allowance is available.
     *
     * Might emit an {Approval} event.
     */
    function _spendAllowance(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        uint256 currentAllowance = allowance(owner, spender);
        if (currentAllowance != type(uint256).max) {
            require(currentAllowance >= amount, "ERC20: insufficient allowance");
            unchecked {
                _approve(owner, spender, currentAllowance - amount);
            }
        }
    }

    /**
     * @dev Hook that is called before any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * will be transferred to `to`.
     * - when `from` is zero, `amount` tokens will be minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * has been transferred to `to`.
     * - when `from` is zero, `amount` tokens have been minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens have been burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}
}

File 3 of 9 : 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 9 : IERC20Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.0;

import "IERC20.sol";

/**
 * @dev Interface for the optional metadata functions from the ERC20 standard.
 *
 * _Available since v4.1._
 */
interface IERC20Metadata is IERC20 {
    /**
     * @dev Returns the name of the token.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the symbol of the token.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the decimals places of the token.
     */
    function decimals() external view returns (uint8);
}

File 5 of 9 : 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 6 of 9 : MinterRole.sol
// SPDX-License-Identifier: MIT
// ENVELOP(NIFTSY) protocol V1 for NFT. From old OpenZeppelin helpers
pragma solidity 0.8.19;

/**
 * @title Roles
 * @dev Library for managing addresses assigned to a Role.
 */
library Roles {
    struct Role {
        mapping (address => bool) bearer;
    }

    /**
     * @dev give an account access to this role
     */
    function add(Role storage role, address account) internal {
        require(account != address(0));
        require(!has(role, account));

        role.bearer[account] = true;
    }

    /**
     * @dev remove an account's access to this role
     */
    function remove(Role storage role, address account) internal {
        require(account != address(0));
        require(has(role, account));

        role.bearer[account] = false;
    }

    /**
     * @dev check if an account has this role
     * @return bool
     */
    function has(Role storage role, address account) internal view returns (bool) {
        require(account != address(0));
        return role.bearer[account];
    }
}

contract MinterRole  {
    using Roles for Roles.Role;

    event MinterAdded(address indexed account);
    event MinterRemoved(address indexed account);

    Roles.Role private _minters;

    constructor(address sender)   {
        if (!isMinter(sender)) {
            _addMinter(sender);
        }
    }

    modifier onlyMinter() {
        require(isMinter(msg.sender), "MinterRole: caller does not have the Minter role");
        _;
    }

    function isMinter(address account) public view returns (bool) {
        return _minters.has(account);
    }

    function addMinter(address account) public onlyMinter {
        _addMinter(account);
    }

    function renounceMinter() public {
        _removeMinter(msg.sender);
    }

    function _addMinter(address account) internal {
        _minters.add(account);
        emit MinterAdded(account);
    }

    function _removeMinter(address account) internal {
        _minters.remove(account);
        emit MinterRemoved(account);
    }

}

File 7 of 9 : FeeRoyaltyModelV1_00.sol
// SPDX-License-Identifier: MIT
// Envelop Protocol Fee Model
pragma solidity 0.8.19;

import "LibEnvelopTypes.sol";
import "IFeeRoyaltyModel.sol";

/// @title FeeRoyaltyModelV1_00  contract in Envelop PrtocolV1 
/// @author Envelop Team
/// @notice This contract used for implement fee transfers in protocol
/// @notice On dev date there is only one fee were implemnted
/// @dev Used inside `TechToken`
/// @custom:please see Envelop Docs Portal
contract FeeRoyaltyModelV1_00 is IFeeRoyaltyModel {

    uint256 constant public ROYALTY_PERCENT_BASE = 10000;
    address public wrapper;

    function registerModel() external {
        require(wrapper == address(0), 'Already registered');
        wrapper = msg.sender;
    }

    function getTransfersList(
        ETypes.Fee calldata _fee,
        ETypes.Royalty[] calldata _royalties,
        address _from, 
        address _to
    ) external view returns (
      ETypes.AssetItem[] memory, 
      address[] memory, 
      address[] memory
    )
    {
        if (_royalties.length > 0) {
            ETypes.AssetItem[] memory assetItems_ = new ETypes.AssetItem[](_royalties.length);
            address[] memory from_ = new address[](_royalties.length); 
            address[] memory   to_ = new address[](_royalties.length);
            for (uint256 i = 0; i < _royalties.length; i ++) {
                assetItems_[i] = ETypes.AssetItem({
                    asset: ETypes.Asset(
                        {assetType:        ETypes.AssetType.ERC20, 
                         contractAddress: _fee.token
                        }
                    ),
                    tokenId: 0,
                    amount: _fee.param * _royalties[i].percent / ROYALTY_PERCENT_BASE
                });
                from_[i] = _from;
                to_[i] = _royalties[i].beneficiary;
            }
            return (assetItems_, from_, to_);
        } else {
            ETypes.AssetItem[] memory assetItems_ = new ETypes.AssetItem[](1);
            address[] memory from_ = new address[](1); 
            address[] memory   to_ = new address[](1);
            assetItems_[0] = ETypes.AssetItem({
                    asset: ETypes.Asset({
                        assetType:       ETypes.AssetType.ERC20, 
                        contractAddress: _fee.token
                    }),
                    tokenId: 0,
                    amount: _fee.param
            });
            from_[0] = _from;
            to_[0] = wrapper;
            return (assetItems_, from_, to_);
        }

    }
}

File 8 of 9 : LibEnvelopTypes.sol
// SPDX-License-Identifier: MIT
// ENVELOP(NIFTSY) protocol V1 for NFT. 
pragma solidity 0.8.19;

/// @title Flibrary ETypes in Envelop PrtocolV1 
/// @author Envelop Team
/// @notice This contract implement main protocol's data types
library ETypes {

    enum AssetType {EMPTY, NATIVE, ERC20, ERC721, ERC1155, FUTURE1, FUTURE2, FUTURE3}
    
    struct Asset {
        AssetType assetType;
        address contractAddress;
    }

    struct AssetItem {
        Asset asset;
        uint256 tokenId;
        uint256 amount;
    }

    struct NFTItem {
        address contractAddress;
        uint256 tokenId;   
    }

    struct Fee {
        bytes1 feeType;
        uint256 param;
        address token; 
    }

    struct Lock {
        bytes1 lockType;
        uint256 param; 
    }

    struct Royalty {
        address beneficiary;
        uint16 percent;
    }

    struct WNFT {
        AssetItem inAsset;
        AssetItem[] collateral;
        address unWrapDestination;
        Fee[] fees;
        Lock[] locks;
        Royalty[] royalties;
        bytes2 rules;

    }

    struct INData {
        AssetItem inAsset;
        address unWrapDestination;
        Fee[] fees;
        Lock[] locks;
        Royalty[] royalties;
        AssetType outType;
        uint256 outBalance;      //0- for 721 and any amount for 1155
        bytes2 rules;

    }

    struct WhiteListItem {
        bool enabledForFee;
        bool enabledForCollateral;
        bool enabledRemoveFromCollateral;
        address transferFeeModel;
    }

    struct Rules {
        bytes2 onlythis;
        bytes2 disabled;
    }

}

File 9 of 9 : IFeeRoyaltyModel.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.19;
import "LibEnvelopTypes.sol";

interface IFeeRoyaltyModel {
    
    function registerModel() external;
    
    function getTransfersList(
        ETypes.Fee calldata _fee,
        ETypes.Royalty[] calldata _royalties,
        address _from, 
        address _to
    ) external view returns (
      ETypes.AssetItem[] memory, 
      address[] memory, 
      address[] memory
    );

    function wrapper() external returns (address);
}

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

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"MinterAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"MinterRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"ROYALTY_PERCENT_BASE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"addMinter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"bytes1","name":"feeType","type":"bytes1"},{"internalType":"uint256","name":"param","type":"uint256"},{"internalType":"address","name":"token","type":"address"}],"internalType":"struct ETypes.Fee","name":"_fee","type":"tuple"},{"components":[{"internalType":"address","name":"beneficiary","type":"address"},{"internalType":"uint16","name":"percent","type":"uint16"}],"internalType":"struct ETypes.Royalty[]","name":"_royalties","type":"tuple[]"},{"internalType":"address","name":"_from","type":"address"},{"internalType":"address","name":"_to","type":"address"}],"name":"getTransfersList","outputs":[{"components":[{"components":[{"internalType":"enum ETypes.AssetType","name":"assetType","type":"uint8"},{"internalType":"address","name":"contractAddress","type":"address"}],"internalType":"struct ETypes.Asset","name":"asset","type":"tuple"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"internalType":"struct ETypes.AssetItem[]","name":"","type":"tuple[]"},{"internalType":"address[]","name":"","type":"address[]"},{"internalType":"address[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isMinter","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_value","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"registerModel","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceMinter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"wrapper","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}]

60806040523480156200001157600080fd5b50336040518060600160405280602281526020016200163c60229139604080518082019091526006815265076454e564c560d41b6020820152600362000058838262000216565b50600462000067828262000216565b5050506200007b816200009260201b60201c565b6200008b576200008b81620000a7565b50620002e2565b6000620000a1600583620000eb565b92915050565b620000b460058262000121565b6040516001600160a01b038216907f6ae172837ea30b801fbfcdd4108aa1d5bf8ff775444fd70256b44e6bf3dfc3f690600090a250565b60006001600160a01b0382166200010157600080fd5b506001600160a01b03166000908152602091909152604090205460ff1690565b6001600160a01b0381166200013557600080fd5b620001418282620000eb565b156200014c57600080fd5b6001600160a01b0316600090815260209190915260409020805460ff19166001179055565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200019c57607f821691505b602082108103620001bd57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200021157600081815260208120601f850160051c81016020861015620001ec5750805b601f850160051c820191505b818110156200020d57828155600101620001f8565b5050505b505050565b81516001600160401b0381111562000232576200023262000171565b6200024a8162000243845462000187565b84620001c3565b602080601f831160018114620002825760008415620002695750858301515b600019600386901b1c1916600185901b1785556200020d565b600085815260208120601f198616915b82811015620002b35788860151825594840194600190910190840162000292565b5085821015620002d25787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b61134a80620002f26000396000f3fe608060405234801561001057600080fd5b50600436106101215760003560e01c806395d89b41116100ad578063aa271e1a11610071578063aa271e1a14610242578063ac210cc714610255578063b73bb2ec14610280578063ce244ce114610288578063dd62ed3e146102aa57600080fd5b806395d89b41146101f9578063983b2d56146102015780639865027514610214578063a457c2d71461021c578063a9059cbb1461022f57600080fd5b806323b872dd116100f457806323b872dd14610186578063313ce5671461019957806339509351146101a857806340c10f19146101bb57806370a08231146101d057600080fd5b806306fdde0314610126578063095ea7b3146101445780630988e0d41461016757806318160ddd1461017e575b600080fd5b61012e6102bd565b60405161013b9190610ef2565b60405180910390f35b610157610152366004610f5c565b61034f565b604051901515815260200161013b565b61017061271081565b60405190815260200161013b565b600254610170565b610157610194366004610f86565b610369565b6040516012815260200161013b565b6101576101b6366004610f5c565b6103a1565b6101ce6101c9366004610f5c565b6103c3565b005b6101706101de366004610fc2565b6001600160a01b031660009081526020819052604090205490565b61012e6103ff565b6101ce61020f366004610fc2565b61040e565b6101ce61043f565b61015761022a366004610f5c565b61044a565b61015761023d366004610f5c565b6104c5565b610157610250366004610fc2565b6104d3565b600654610268906001600160a01b031681565b6040516001600160a01b03909116815260200161013b565b6101ce6104e0565b61029b610296366004610fe4565b610542565b60405161013b939291906110d8565b6101706102b836600461118c565b61091c565b6060600380546102cc906111bf565b80601f01602080910402602001604051908101604052809291908181526020018280546102f8906111bf565b80156103455780601f1061031a57610100808354040283529160200191610345565b820191906000526020600020905b81548152906001019060200180831161032857829003601f168201915b5050505050905090565b60003361035d818585610947565b60019150505b92915050565b60065460009033906001600160a01b0316811461038b5761038b858285610a6b565b610396858585610ae5565b506001949350505050565b60003361035d8185856103b4838361091c565b6103be919061120f565b610947565b6103cc336104d3565b6103f15760405162461bcd60e51b81526004016103e890611222565b60405180910390fd5b6103fb8282610c94565b5050565b6060600480546102cc906111bf565b610417336104d3565b6104335760405162461bcd60e51b81526004016103e890611222565b61043c81610d5f565b50565b61044833610da1565b565b60003381610458828661091c565b9050838110156104b85760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016103e8565b6103968286868403610947565b60003361035d818585610ae5565b6000610363600583610de3565b6006546001600160a01b03161561052e5760405162461bcd60e51b8152602060048201526012602482015271105b1c9958591e481c9959da5cdd195c995960721b60448201526064016103e8565b600680546001600160a01b03191633179055565b6060808085156107ab5760008667ffffffffffffffff81111561056757610567611272565b6040519080825280602002602001820160405280156105bf57816020015b6040805160a08101825260006060820181815260808301829052825260208083018290529282015282526000199092019101816105855790505b50905060008767ffffffffffffffff8111156105dd576105dd611272565b604051908082528060200260200182016040528015610606578160200160208202803683370190505b50905060008867ffffffffffffffff81111561062457610624611272565b60405190808252806020026020018201604052801561064d578160200160208202803683370190505b50905060005b8981101561079e576040805160a08101909152806060810180600281526020018f60400160208101906106869190610fc2565b6001600160a01b031690528152600060208201526040016127108d8d858181106106b2576106b2611288565b90506040020160200160208101906106ca919061129e565b61ffff168f602001356106dd91906112c2565b6106e791906112d9565b8152508482815181106106fc576106fc611288565b60200260200101819052508883828151811061071a5761071a611288565b60200260200101906001600160a01b031690816001600160a01b0316815250508a8a8281811061074c5761074c611288565b6107629260206040909202019081019150610fc2565b82828151811061077457610774611288565b6001600160a01b039092166020928302919091019091015280610796816112fb565b915050610653565b5091945092509050610911565b604080516001808252818301909252600091816020015b6040805160a08101825260006060820181815260808301829052825260208083018290529282015282526000199092019101816107c257505060408051600180825281830190925291925060009190602080830190803683375050604080516001808252818301909252929350600092915060208083019080368337019050506040805160a08101909152909150806060810180600281526020018e60400160208101906108709190610fc2565b6001600160a01b03168152508152602001600081526020018c60200135815250836000815181106108a3576108a3611288565b602002602001018190525087826000815181106108c2576108c2611288565b6001600160a01b039283166020918202929092010152600654825191169082906000906108f1576108f1611288565b6001600160a01b0390921660209283029190910190910152919450925090505b955095509592505050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6001600160a01b0383166109a95760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016103e8565b6001600160a01b038216610a0a5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016103e8565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6000610a77848461091c565b90506000198114610adf5781811015610ad25760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016103e8565b610adf8484848403610947565b50505050565b6001600160a01b038316610b495760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016103e8565b6001600160a01b038216610bab5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016103e8565b610bb6838383610e18565b6001600160a01b03831660009081526020819052604090205481811015610c2e5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016103e8565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610adf565b6001600160a01b038216610cea5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016103e8565b610cf660008383610e18565b8060026000828254610d08919061120f565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b610d6a600582610e5e565b6040516001600160a01b038216907f6ae172837ea30b801fbfcdd4108aa1d5bf8ff775444fd70256b44e6bf3dfc3f690600090a250565b610dac600582610eaa565b6040516001600160a01b038216907fe94479a9f7e1952cc78f2d6baab678adc1b772d936c6583def489e524cb6669290600090a250565b60006001600160a01b038216610df857600080fd5b506001600160a01b03166000908152602091909152604090205460ff1690565b6006546001600160a01b03163303610e59576001600160a01b03831615801590610e4a57506001600160a01b03821615155b15610e5957610e598382610c94565b505050565b6001600160a01b038116610e7157600080fd5b610e7b8282610de3565b15610e8557600080fd5b6001600160a01b0316600090815260209190915260409020805460ff19166001179055565b6001600160a01b038116610ebd57600080fd5b610ec78282610de3565b610ed057600080fd5b6001600160a01b0316600090815260209190915260409020805460ff19169055565b600060208083528351808285015260005b81811015610f1f57858101830151858201604001528201610f03565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b0381168114610f5757600080fd5b919050565b60008060408385031215610f6f57600080fd5b610f7883610f40565b946020939093013593505050565b600080600060608486031215610f9b57600080fd5b610fa484610f40565b9250610fb260208501610f40565b9150604084013590509250925092565b600060208284031215610fd457600080fd5b610fdd82610f40565b9392505050565b600080600080600085870360c0811215610ffd57600080fd5b606081121561100b57600080fd5b50859450606086013567ffffffffffffffff8082111561102a57600080fd5b818801915088601f83011261103e57600080fd5b81358181111561104d57600080fd5b8960208260061b850101111561106257600080fd5b60208301965080955050505061107a60808701610f40565b915061108860a08701610f40565b90509295509295909350565b600081518084526020808501945080840160005b838110156110cd5781516001600160a01b0316875295820195908201906001016110a8565b509495945050505050565b6060808252845182820181905260009190608090818501906020808a0186805b84811015611157578251805180516008811061112257634e487b7160e01b85526021600452602485fd5b88528501516001600160a01b0316858801528085015160408089019190915201518887015294860194918301916001016110f8565b505050868303908701525061116c8188611094565b9250505082810360408401526111828185611094565b9695505050505050565b6000806040838503121561119f57600080fd5b6111a883610f40565b91506111b660208401610f40565b90509250929050565b600181811c908216806111d357607f821691505b6020821081036111f357634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b80820180821115610363576103636111f9565b60208082526030908201527f4d696e746572526f6c653a2063616c6c657220646f6573206e6f74206861766560408201526f20746865204d696e74657220726f6c6560801b606082015260800190565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b6000602082840312156112b057600080fd5b813561ffff81168114610fdd57600080fd5b8082028115828204841417610363576103636111f9565b6000826112f657634e487b7160e01b600052601260045260246000fd5b500490565b60006001820161130d5761130d6111f9565b506001019056fea2646970667358221220976e34d579341460c680ac075cd77dd5c26478deef47296688b5408f16a00f7764736f6c634300081300335669727475616c20456e76656c6f70205472616e736665722046656520546f6b656e

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101215760003560e01c806395d89b41116100ad578063aa271e1a11610071578063aa271e1a14610242578063ac210cc714610255578063b73bb2ec14610280578063ce244ce114610288578063dd62ed3e146102aa57600080fd5b806395d89b41146101f9578063983b2d56146102015780639865027514610214578063a457c2d71461021c578063a9059cbb1461022f57600080fd5b806323b872dd116100f457806323b872dd14610186578063313ce5671461019957806339509351146101a857806340c10f19146101bb57806370a08231146101d057600080fd5b806306fdde0314610126578063095ea7b3146101445780630988e0d41461016757806318160ddd1461017e575b600080fd5b61012e6102bd565b60405161013b9190610ef2565b60405180910390f35b610157610152366004610f5c565b61034f565b604051901515815260200161013b565b61017061271081565b60405190815260200161013b565b600254610170565b610157610194366004610f86565b610369565b6040516012815260200161013b565b6101576101b6366004610f5c565b6103a1565b6101ce6101c9366004610f5c565b6103c3565b005b6101706101de366004610fc2565b6001600160a01b031660009081526020819052604090205490565b61012e6103ff565b6101ce61020f366004610fc2565b61040e565b6101ce61043f565b61015761022a366004610f5c565b61044a565b61015761023d366004610f5c565b6104c5565b610157610250366004610fc2565b6104d3565b600654610268906001600160a01b031681565b6040516001600160a01b03909116815260200161013b565b6101ce6104e0565b61029b610296366004610fe4565b610542565b60405161013b939291906110d8565b6101706102b836600461118c565b61091c565b6060600380546102cc906111bf565b80601f01602080910402602001604051908101604052809291908181526020018280546102f8906111bf565b80156103455780601f1061031a57610100808354040283529160200191610345565b820191906000526020600020905b81548152906001019060200180831161032857829003601f168201915b5050505050905090565b60003361035d818585610947565b60019150505b92915050565b60065460009033906001600160a01b0316811461038b5761038b858285610a6b565b610396858585610ae5565b506001949350505050565b60003361035d8185856103b4838361091c565b6103be919061120f565b610947565b6103cc336104d3565b6103f15760405162461bcd60e51b81526004016103e890611222565b60405180910390fd5b6103fb8282610c94565b5050565b6060600480546102cc906111bf565b610417336104d3565b6104335760405162461bcd60e51b81526004016103e890611222565b61043c81610d5f565b50565b61044833610da1565b565b60003381610458828661091c565b9050838110156104b85760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016103e8565b6103968286868403610947565b60003361035d818585610ae5565b6000610363600583610de3565b6006546001600160a01b03161561052e5760405162461bcd60e51b8152602060048201526012602482015271105b1c9958591e481c9959da5cdd195c995960721b60448201526064016103e8565b600680546001600160a01b03191633179055565b6060808085156107ab5760008667ffffffffffffffff81111561056757610567611272565b6040519080825280602002602001820160405280156105bf57816020015b6040805160a08101825260006060820181815260808301829052825260208083018290529282015282526000199092019101816105855790505b50905060008767ffffffffffffffff8111156105dd576105dd611272565b604051908082528060200260200182016040528015610606578160200160208202803683370190505b50905060008867ffffffffffffffff81111561062457610624611272565b60405190808252806020026020018201604052801561064d578160200160208202803683370190505b50905060005b8981101561079e576040805160a08101909152806060810180600281526020018f60400160208101906106869190610fc2565b6001600160a01b031690528152600060208201526040016127108d8d858181106106b2576106b2611288565b90506040020160200160208101906106ca919061129e565b61ffff168f602001356106dd91906112c2565b6106e791906112d9565b8152508482815181106106fc576106fc611288565b60200260200101819052508883828151811061071a5761071a611288565b60200260200101906001600160a01b031690816001600160a01b0316815250508a8a8281811061074c5761074c611288565b6107629260206040909202019081019150610fc2565b82828151811061077457610774611288565b6001600160a01b039092166020928302919091019091015280610796816112fb565b915050610653565b5091945092509050610911565b604080516001808252818301909252600091816020015b6040805160a08101825260006060820181815260808301829052825260208083018290529282015282526000199092019101816107c257505060408051600180825281830190925291925060009190602080830190803683375050604080516001808252818301909252929350600092915060208083019080368337019050506040805160a08101909152909150806060810180600281526020018e60400160208101906108709190610fc2565b6001600160a01b03168152508152602001600081526020018c60200135815250836000815181106108a3576108a3611288565b602002602001018190525087826000815181106108c2576108c2611288565b6001600160a01b039283166020918202929092010152600654825191169082906000906108f1576108f1611288565b6001600160a01b0390921660209283029190910190910152919450925090505b955095509592505050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6001600160a01b0383166109a95760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016103e8565b6001600160a01b038216610a0a5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016103e8565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6000610a77848461091c565b90506000198114610adf5781811015610ad25760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016103e8565b610adf8484848403610947565b50505050565b6001600160a01b038316610b495760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016103e8565b6001600160a01b038216610bab5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016103e8565b610bb6838383610e18565b6001600160a01b03831660009081526020819052604090205481811015610c2e5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016103e8565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610adf565b6001600160a01b038216610cea5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016103e8565b610cf660008383610e18565b8060026000828254610d08919061120f565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b610d6a600582610e5e565b6040516001600160a01b038216907f6ae172837ea30b801fbfcdd4108aa1d5bf8ff775444fd70256b44e6bf3dfc3f690600090a250565b610dac600582610eaa565b6040516001600160a01b038216907fe94479a9f7e1952cc78f2d6baab678adc1b772d936c6583def489e524cb6669290600090a250565b60006001600160a01b038216610df857600080fd5b506001600160a01b03166000908152602091909152604090205460ff1690565b6006546001600160a01b03163303610e59576001600160a01b03831615801590610e4a57506001600160a01b03821615155b15610e5957610e598382610c94565b505050565b6001600160a01b038116610e7157600080fd5b610e7b8282610de3565b15610e8557600080fd5b6001600160a01b0316600090815260209190915260409020805460ff19166001179055565b6001600160a01b038116610ebd57600080fd5b610ec78282610de3565b610ed057600080fd5b6001600160a01b0316600090815260209190915260409020805460ff19169055565b600060208083528351808285015260005b81811015610f1f57858101830151858201604001528201610f03565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b0381168114610f5757600080fd5b919050565b60008060408385031215610f6f57600080fd5b610f7883610f40565b946020939093013593505050565b600080600060608486031215610f9b57600080fd5b610fa484610f40565b9250610fb260208501610f40565b9150604084013590509250925092565b600060208284031215610fd457600080fd5b610fdd82610f40565b9392505050565b600080600080600085870360c0811215610ffd57600080fd5b606081121561100b57600080fd5b50859450606086013567ffffffffffffffff8082111561102a57600080fd5b818801915088601f83011261103e57600080fd5b81358181111561104d57600080fd5b8960208260061b850101111561106257600080fd5b60208301965080955050505061107a60808701610f40565b915061108860a08701610f40565b90509295509295909350565b600081518084526020808501945080840160005b838110156110cd5781516001600160a01b0316875295820195908201906001016110a8565b509495945050505050565b6060808252845182820181905260009190608090818501906020808a0186805b84811015611157578251805180516008811061112257634e487b7160e01b85526021600452602485fd5b88528501516001600160a01b0316858801528085015160408089019190915201518887015294860194918301916001016110f8565b505050868303908701525061116c8188611094565b9250505082810360408401526111828185611094565b9695505050505050565b6000806040838503121561119f57600080fd5b6111a883610f40565b91506111b660208401610f40565b90509250929050565b600181811c908216806111d357607f821691505b6020821081036111f357634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b80820180821115610363576103636111f9565b60208082526030908201527f4d696e746572526f6c653a2063616c6c657220646f6573206e6f74206861766560408201526f20746865204d696e74657220726f6c6560801b606082015260800190565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b6000602082840312156112b057600080fd5b813561ffff81168114610fdd57600080fd5b8082028115828204841417610363576103636111f9565b6000826112f657634e487b7160e01b600052601260045260246000fd5b500490565b60006001820161130d5761130d6111f9565b506001019056fea2646970667358221220976e34d579341460c680ac075cd77dd5c26478deef47296688b5408f16a00f7764736f6c63430008130033

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

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