ETH Price: $3,468.28 (-6.56%)
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Transfer175343562023-06-22 9:45:35565 days ago1687427135IN
Envoy: VOY Token
0 ETH0.0009450518
Transfer166755962023-02-21 8:10:23686 days ago1676967023IN
Envoy: VOY Token
0 ETH0.0007959926
Transfer158665632022-10-31 7:31:59799 days ago1667201519IN
Envoy: VOY Token
0 ETH0.000472529
Transfer157810042022-10-19 8:37:35811 days ago1666168655IN
Envoy: VOY Token
0 ETH0.0006424121
Approve152495532022-07-31 9:57:25891 days ago1659261445IN
Envoy: VOY Token
0 ETH0.000219184.63998599
Transfer152491612022-07-31 8:33:56891 days ago1659256436IN
Envoy: VOY Token
0 ETH0.0007078220
Transfer152431972022-07-30 10:17:13892 days ago1659176233IN
Envoy: VOY Token
0 ETH0.0010500620
Approve151540202022-07-16 13:29:15906 days ago1657978155IN
Envoy: VOY Token
0 ETH0.0009549920.21674518
Approve150871672022-07-06 5:52:55916 days ago1657086775IN
Envoy: VOY Token
0 ETH0.0008516118.028246
Approve150859962022-07-06 1:23:16916 days ago1657070596IN
Envoy: VOY Token
0 ETH0.0018419538.99302924
Approve146273282022-04-21 8:47:28992 days ago1650530848IN
Envoy: VOY Token
0 ETH0.002024742.86178089
Transfer146273232022-04-21 8:46:02992 days ago1650530762IN
Envoy: VOY Token
0 ETH0.0023626345
Transfer144479842022-03-24 8:47:371020 days ago1648111657IN
Envoy: VOY Token
0 ETH0.0014271627.18876252
Transfer143971452022-03-16 10:51:371028 days ago1647427897IN
Envoy: VOY Token
0 ETH0.0016272231
Transfer143899012022-03-15 7:47:061029 days ago1647330426IN
Envoy: VOY Token
0 ETH0.0009538220
Approve143526362022-03-09 12:42:351035 days ago1646829755IN
Envoy: VOY Token
0 ETH0.001250326.46828076
Approve142855902022-02-27 2:39:071045 days ago1645929547IN
Envoy: VOY Token
0 ETH0.0013613428.81874869
Approve142617072022-02-23 10:05:321049 days ago1645610732IN
Envoy: VOY Token
0 ETH0.0047238100
Approve142616842022-02-23 10:00:011049 days ago1645610401IN
Envoy: VOY Token
0 ETH0.0016814535.59534746
Approve142253652022-02-17 18:48:051054 days ago1645123685IN
Envoy: VOY Token
0 ETH0.0040072684.83139263
Transfer139651022022-01-08 13:47:451095 days ago1641649665IN
Envoy: VOY Token
0 ETH0.0038333280.35818424
Transfer138561422021-12-22 16:46:281112 days ago1640191588IN
Envoy: VOY Token
0 ETH0.0045804787.26211112
Transfer138558702021-12-22 15:42:511112 days ago1640187771IN
Envoy: VOY Token
0 ETH0.0023624477.1839153
Mint135488332021-11-04 7:16:401160 days ago1636010200IN
Envoy: VOY Token
0 ETH0.00736428128.89049748
Approve135486892021-11-04 6:40:201160 days ago1636008020IN
Envoy: VOY Token
0 ETH0.00326272109.30390183
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
EnvoyToken

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 7 : EnvoyToken.sol
// SPDX-License-Identifier: MIT
pragma solidity >=0.8.0;

import "@openzeppelin/contracts/access/AccessControl.sol";
import "@openzeppelin/contracts/utils/Context.sol";
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";

/**
 * EnvoyToken contract
 * This contract implements a continuous minting function. The minting function is protected with MINTER_ROLE.
 * Each minting operation requires the unique complementary Corda transaction SecureHash as a reference for provenance.
 * We leverage the use of Open Zeppelin contracts for Context, AccessControl, and ERC20.
 */
contract EnvoyToken is Context, AccessControl, ERC20 {
    bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE");

    /**
     * Event emitted with each minting, referencing back to the Corda transaction
     */
    event EnvoyProvenance(
        bytes32 indexed cordaTxHash,
        address indexed to,
        uint256 amount 
    );

    /**
     * account - the account that will control this contract
     */
    constructor(address account) ERC20("Envoy Token", "VOY") {
        _setupRole(MINTER_ROLE, account);
    }

    /**
     * to - receiver address of minted tokens
     * amount - total number of VOY tokens
     * cordaTxHash - the corda transaction securehash that this minting event has provenance to. 
     */
    function mint(address to, uint256 amount, bytes32 cordaTxHash) public virtual {
        require(hasRole(MINTER_ROLE, _msgSender()), "EnvoyToken: must have minter role to mint");
        _mint(to, amount);
        emit EnvoyProvenance(cordaTxHash, to, amount);
    }
}

File 2 of 7 : AccessControl.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

/**
 * @dev External interface of AccessControl declared to support ERC165 detection.
 */
interface IAccessControl {
    function hasRole(bytes32 role, address account) external view returns (bool);
    function getRoleAdmin(bytes32 role) external view returns (bytes32);
    function grantRole(bytes32 role, address account) external;
    function revokeRole(bytes32 role, address account) external;
    function renounceRole(bytes32 role, address account) external;
}

/**
 * @dev Contract module that allows children to implement role-based access
 * control mechanisms. This is a lightweight version that doesn't allow enumerating role
 * members except through off-chain means by accessing the contract event logs. Some
 * applications may benefit from on-chain enumerability, for those cases see
 * {AccessControlEnumerable}.
 *
 * Roles are referred to by their `bytes32` identifier. These should be exposed
 * in the external API and be unique. The best way to achieve this is by
 * using `public constant` hash digests:
 *
 * ```
 * bytes32 public constant MY_ROLE = keccak256("MY_ROLE");
 * ```
 *
 * Roles can be used to represent a set of permissions. To restrict access to a
 * function call, use {hasRole}:
 *
 * ```
 * function foo() public {
 *     require(hasRole(MY_ROLE, msg.sender));
 *     ...
 * }
 * ```
 *
 * Roles can be granted and revoked dynamically via the {grantRole} and
 * {revokeRole} functions. Each role has an associated admin role, and only
 * accounts that have a role's admin role can call {grantRole} and {revokeRole}.
 *
 * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means
 * that only accounts with this role will be able to grant or revoke other
 * roles. More complex role relationships can be created by using
 * {_setRoleAdmin}.
 *
 * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to
 * grant and revoke this role. Extra precautions should be taken to secure
 * accounts that have been granted it.
 */
abstract contract AccessControl is Context, IAccessControl, ERC165 {
    struct RoleData {
        mapping (address => bool) members;
        bytes32 adminRole;
    }

    mapping (bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

    /**
     * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`
     *
     * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite
     * {RoleAdminChanged} not being emitted signaling this.
     *
     * _Available since v3.1._
     */
    event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);

    /**
     * @dev Emitted when `account` is granted `role`.
     *
     * `sender` is the account that originated the contract call, an admin role
     * bearer except when using {_setupRole}.
     */
    event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Emitted when `account` is revoked `role`.
     *
     * `sender` is the account that originated the contract call:
     *   - if using `revokeRole`, it is the admin role bearer
     *   - if using `renounceRole`, it is the role bearer (i.e. `account`)
     */
    event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IAccessControl).interfaceId
            || super.supportsInterface(interfaceId);
    }

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) public view override returns (bool) {
        return _roles[role].members[account];
    }

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) public view override returns (bytes32) {
        return _roles[role].adminRole;
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) public virtual override {
        require(hasRole(getRoleAdmin(role), _msgSender()), "AccessControl: sender must be an admin to grant");

        _grantRole(role, account);
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) public virtual override {
        require(hasRole(getRoleAdmin(role), _msgSender()), "AccessControl: sender must be an admin to revoke");

        _revokeRole(role, account);
    }

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been granted `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) public virtual override {
        require(account == _msgSender(), "AccessControl: can only renounce roles for self");

        _revokeRole(role, account);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event. Note that unlike {grantRole}, this function doesn't perform any
     * checks on the calling account.
     *
     * [WARNING]
     * ====
     * This function should only be called from the constructor when setting
     * up the initial roles for the system.
     *
     * Using this function in any other way is effectively circumventing the admin
     * system imposed by {AccessControl}.
     * ====
     */
    function _setupRole(bytes32 role, address account) internal virtual {
        _grantRole(role, account);
    }

    /**
     * @dev Sets `adminRole` as ``role``'s admin role.
     *
     * Emits a {RoleAdminChanged} event.
     */
    function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {
        emit RoleAdminChanged(role, getRoleAdmin(role), adminRole);
        _roles[role].adminRole = adminRole;
    }

    function _grantRole(bytes32 role, address account) private {
        if (!hasRole(role, account)) {
            _roles[role].members[account] = true;
            emit RoleGranted(role, account, _msgSender());
        }
    }

    function _revokeRole(bytes32 role, address account) private {
        if (hasRole(role, account)) {
            _roles[role].members[account] = false;
            emit RoleRevoked(role, account, _msgSender());
        }
    }
}

File 3 of 7 : Context.sol
// SPDX-License-Identifier: MIT

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) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

File 4 of 7 : ERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC20.sol";
import "../../utils/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.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin guidelines: functions revert instead
 * of 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 {
    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 defaut value of {decimals} is 18. To select a different value for
     * {decimals} you should overload it.
     *
     * All three 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 returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual 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
     * overloaded;
     *
     * 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 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:
     *
     * - `recipient` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(_msgSender(), recipient, 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}.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        _approve(_msgSender(), 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}.
     *
     * Requirements:
     *
     * - `sender` and `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     * - the caller must have allowance for ``sender``'s tokens of at least
     * `amount`.
     */
    function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(sender, recipient, amount);

        uint256 currentAllowance = _allowances[sender][_msgSender()];
        require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance");
        _approve(sender, _msgSender(), currentAllowance - 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) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][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) {
        uint256 currentAllowance = _allowances[_msgSender()][spender];
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        _approve(_msgSender(), spender, currentAllowance - subtractedValue);

        return true;
    }

    /**
     * @dev Moves tokens `amount` from `sender` to `recipient`.
     *
     * This is 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:
     *
     * - `sender` cannot be the zero address.
     * - `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     */
    function _transfer(address sender, address recipient, uint256 amount) internal virtual {
        require(sender != address(0), "ERC20: transfer from the zero address");
        require(recipient != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(sender, recipient, amount);

        uint256 senderBalance = _balances[sender];
        require(senderBalance >= amount, "ERC20: transfer amount exceeds balance");
        _balances[sender] = senderBalance - amount;
        _balances[recipient] += amount;

        emit Transfer(sender, recipient, 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:
     *
     * - `to` 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;
        _balances[account] += amount;
        emit Transfer(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");
        _balances[account] = accountBalance - amount;
        _totalSupply -= amount;

        emit Transfer(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 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 to 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 { }
}

File 5 of 7 : ERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC165.sol";

/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
 * for the additional interface id that will be supported. For example:
 *
 * ```solidity
 * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
 *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
 * }
 * ```
 *
 * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}

File 6 of 7 : IERC165.sol
// SPDX-License-Identifier: MIT

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 7 of 7 : IERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @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 `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, 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 `sender` to `recipient` 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 sender, address recipient, uint256 amount) external returns (bool);

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"account","type":"address"}],"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":"bytes32","name":"cordaTxHash","type":"bytes32"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"EnvoyProvenance","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","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":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINTER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","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":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes32","name":"cordaTxHash","type":"bytes32"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b50604051620024ea380380620024ea833981810160405281019062000037919062000350565b6040518060400160405280600b81526020017f456e766f7920546f6b656e0000000000000000000000000000000000000000008152506040518060400160405280600381526020017f564f5900000000000000000000000000000000000000000000000000000000008152508160049080519060200190620000bb92919062000289565b508060059080519060200190620000d492919062000289565b505050620001097f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6826200011060201b60201c565b506200042f565b6200012282826200012660201b60201c565b5050565b6200013882826200021760201b60201c565b6200021357600160008084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550620001b86200028160201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600033905090565b8280546200029790620003b0565b90600052602060002090601f016020900481019282620002bb576000855562000307565b82601f10620002d657805160ff191683800117855562000307565b8280016001018555821562000307579182015b8281111562000306578251825591602001919060010190620002e9565b5b5090506200031691906200031a565b5090565b5b80821115620003355760008160009055506001016200031b565b5090565b6000815190506200034a8162000415565b92915050565b6000602082840312156200036357600080fd5b6000620003738482850162000339565b91505092915050565b6000620003898262000390565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006002820490506001821680620003c957607f821691505b60208210811415620003e057620003df620003e6565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b62000420816200037c565b81146200042c57600080fd5b50565b6120ab806200043f6000396000f3fe608060405234801561001057600080fd5b506004361061012c5760003560e01c806339509351116100ad578063a457c2d711610071578063a457c2d71461036b578063a9059cbb1461039b578063d5391393146103cb578063d547741f146103e9578063dd62ed3e146104055761012c565b8063395093511461029f57806370a08231146102cf57806391d14854146102ff57806395d89b411461032f578063a217fddf1461034d5761012c565b806323b872dd116100f457806323b872dd146101e9578063248a9ca3146102195780632f2ff15d14610249578063313ce5671461026557806336568abe146102835761012c565b806301ffc9a71461013157806306fdde0314610161578063095ea7b31461017f57806318160ddd146101af5780631e458bee146101cd575b600080fd5b61014b60048036038101906101469190611636565b610435565b6040516101589190611878565b60405180910390f35b6101696104af565b60405161017691906118ae565b60405180910390f35b61019960048036038101906101949190611546565b610541565b6040516101a69190611878565b60405180910390f35b6101b761055f565b6040516101c49190611a50565b60405180910390f35b6101e760048036038101906101e29190611582565b610569565b005b61020360048036038101906101fe91906114f7565b610637565b6040516102109190611878565b60405180910390f35b610233600480360381019061022e91906115d1565b610738565b6040516102409190611893565b60405180910390f35b610263600480360381019061025e91906115fa565b610757565b005b61026d6107bd565b60405161027a9190611a6b565b60405180910390f35b61029d600480360381019061029891906115fa565b6107c6565b005b6102b960048036038101906102b49190611546565b610849565b6040516102c69190611878565b60405180910390f35b6102e960048036038101906102e49190611492565b6108f5565b6040516102f69190611a50565b60405180910390f35b610319600480360381019061031491906115fa565b61093e565b6040516103269190611878565b60405180910390f35b6103376109a8565b60405161034491906118ae565b60405180910390f35b610355610a3a565b6040516103629190611893565b60405180910390f35b61038560048036038101906103809190611546565b610a41565b6040516103929190611878565b60405180910390f35b6103b560048036038101906103b09190611546565b610b35565b6040516103c29190611878565b60405180910390f35b6103d3610b53565b6040516103e09190611893565b60405180910390f35b61040360048036038101906103fe91906115fa565b610b77565b005b61041f600480360381019061041a91906114bb565b610bdd565b60405161042c9190611a50565b60405180910390f35b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806104a857506104a782610c64565b5b9050919050565b6060600480546104be90611bea565b80601f01602080910402602001604051908101604052809291908181526020018280546104ea90611bea565b80156105375780601f1061050c57610100808354040283529160200191610537565b820191906000526020600020905b81548152906001019060200180831161051a57829003601f168201915b5050505050905090565b600061055561054e610cce565b8484610cd6565b6001905092915050565b6000600354905090565b61059a7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6610595610cce565b61093e565b6105d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105d090611930565b60405180910390fd5b6105e38383610ea1565b8273ffffffffffffffffffffffffffffffffffffffff16817fb7cbd5c603dd8a6a3aebf1faa90a0547a960e99fb6d37d223782e437796f14db8460405161062a9190611a50565b60405180910390a3505050565b6000610644848484610ff6565b6000600260008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600061068f610cce565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508281101561070f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161070690611990565b60405180910390fd5b61072c8561071b610cce565b85846107279190611af8565b610cd6565b60019150509392505050565b6000806000838152602001908152602001600020600101549050919050565b61077061076383610738565b61076b610cce565b61093e565b6107af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a6906118f0565b60405180910390fd5b6107b98282611278565b5050565b60006012905090565b6107ce610cce565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461083b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161083290611a10565b60405180910390fd5b6108458282611358565b5050565b60006108eb610856610cce565b848460026000610864610cce565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546108e69190611aa2565b610cd6565b6001905092915050565b6000600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6060600580546109b790611bea565b80601f01602080910402602001604051908101604052809291908181526020018280546109e390611bea565b8015610a305780601f10610a0557610100808354040283529160200191610a30565b820191906000526020600020905b815481529060010190602001808311610a1357829003601f168201915b5050505050905090565b6000801b81565b60008060026000610a50610cce565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015610b0d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b04906119f0565b60405180910390fd5b610b2a610b18610cce565b858584610b259190611af8565b610cd6565b600191505092915050565b6000610b49610b42610cce565b8484610ff6565b6001905092915050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b610b90610b8383610738565b610b8b610cce565b61093e565b610bcf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bc690611970565b60405180910390fd5b610bd98282611358565b5050565b6000600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610d46576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3d906119d0565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610db6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dad90611910565b60405180910390fd5b80600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92583604051610e949190611a50565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610f11576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f0890611a30565b60405180910390fd5b610f1d60008383611439565b8060036000828254610f2f9190611aa2565b9250508190555080600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610f859190611aa2565b925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051610fea9190611a50565b60405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611066576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161105d906119b0565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156110d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110cd906118d0565b60405180910390fd5b6110e1838383611439565b6000600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611168576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161115f90611950565b60405180910390fd5b81816111749190611af8565b600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546112069190611aa2565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161126a9190611a50565b60405180910390a350505050565b611282828261093e565b61135457600160008084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506112f9610cce565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b611362828261093e565b1561143557600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506113da610cce565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b505050565b60008135905061144d81612019565b92915050565b60008135905061146281612030565b92915050565b60008135905061147781612047565b92915050565b60008135905061148c8161205e565b92915050565b6000602082840312156114a457600080fd5b60006114b28482850161143e565b91505092915050565b600080604083850312156114ce57600080fd5b60006114dc8582860161143e565b92505060206114ed8582860161143e565b9150509250929050565b60008060006060848603121561150c57600080fd5b600061151a8682870161143e565b935050602061152b8682870161143e565b925050604061153c8682870161147d565b9150509250925092565b6000806040838503121561155957600080fd5b60006115678582860161143e565b92505060206115788582860161147d565b9150509250929050565b60008060006060848603121561159757600080fd5b60006115a58682870161143e565b93505060206115b68682870161147d565b92505060406115c786828701611453565b9150509250925092565b6000602082840312156115e357600080fd5b60006115f184828501611453565b91505092915050565b6000806040838503121561160d57600080fd5b600061161b85828601611453565b925050602061162c8582860161143e565b9150509250929050565b60006020828403121561164857600080fd5b600061165684828501611468565b91505092915050565b61166881611b3e565b82525050565b61167781611b4a565b82525050565b600061168882611a86565b6116928185611a91565b93506116a2818560208601611bb7565b6116ab81611c7a565b840191505092915050565b60006116c3602383611a91565b91506116ce82611c8b565b604082019050919050565b60006116e6602f83611a91565b91506116f182611cda565b604082019050919050565b6000611709602283611a91565b915061171482611d29565b604082019050919050565b600061172c602983611a91565b915061173782611d78565b604082019050919050565b600061174f602683611a91565b915061175a82611dc7565b604082019050919050565b6000611772603083611a91565b915061177d82611e16565b604082019050919050565b6000611795602883611a91565b91506117a082611e65565b604082019050919050565b60006117b8602583611a91565b91506117c382611eb4565b604082019050919050565b60006117db602483611a91565b91506117e682611f03565b604082019050919050565b60006117fe602583611a91565b915061180982611f52565b604082019050919050565b6000611821602f83611a91565b915061182c82611fa1565b604082019050919050565b6000611844601f83611a91565b915061184f82611ff0565b602082019050919050565b61186381611ba0565b82525050565b61187281611baa565b82525050565b600060208201905061188d600083018461165f565b92915050565b60006020820190506118a8600083018461166e565b92915050565b600060208201905081810360008301526118c8818461167d565b905092915050565b600060208201905081810360008301526118e9816116b6565b9050919050565b60006020820190508181036000830152611909816116d9565b9050919050565b60006020820190508181036000830152611929816116fc565b9050919050565b600060208201905081810360008301526119498161171f565b9050919050565b6000602082019050818103600083015261196981611742565b9050919050565b6000602082019050818103600083015261198981611765565b9050919050565b600060208201905081810360008301526119a981611788565b9050919050565b600060208201905081810360008301526119c9816117ab565b9050919050565b600060208201905081810360008301526119e9816117ce565b9050919050565b60006020820190508181036000830152611a09816117f1565b9050919050565b60006020820190508181036000830152611a2981611814565b9050919050565b60006020820190508181036000830152611a4981611837565b9050919050565b6000602082019050611a65600083018461185a565b92915050565b6000602082019050611a806000830184611869565b92915050565b600081519050919050565b600082825260208201905092915050565b6000611aad82611ba0565b9150611ab883611ba0565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115611aed57611aec611c1c565b5b828201905092915050565b6000611b0382611ba0565b9150611b0e83611ba0565b925082821015611b2157611b20611c1c565b5b828203905092915050565b6000611b3782611b80565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b60005b83811015611bd5578082015181840152602081019050611bba565b83811115611be4576000848401525b50505050565b60006002820490506001821680611c0257607f821691505b60208210811415611c1657611c15611c4b565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000601f19601f8301169050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b7f416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e60008201527f2061646d696e20746f206772616e740000000000000000000000000000000000602082015250565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b7f456e766f79546f6b656e3a206d7573742068617665206d696e74657220726f6c60008201527f6520746f206d696e740000000000000000000000000000000000000000000000602082015250565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b7f416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e60008201527f2061646d696e20746f207265766f6b6500000000000000000000000000000000602082015250565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206160008201527f6c6c6f77616e6365000000000000000000000000000000000000000000000000602082015250565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b61202281611b2c565b811461202d57600080fd5b50565b61203981611b4a565b811461204457600080fd5b50565b61205081611b54565b811461205b57600080fd5b50565b61206781611ba0565b811461207257600080fd5b5056fea26469706673582212206683fbf1728c7f0d4e157758c63a162d5326d470d962e8a87ffef1599be89f3c64736f6c63430008040033000000000000000000000000370b36794b01553f1f0324d0b251e69efaa02804

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061012c5760003560e01c806339509351116100ad578063a457c2d711610071578063a457c2d71461036b578063a9059cbb1461039b578063d5391393146103cb578063d547741f146103e9578063dd62ed3e146104055761012c565b8063395093511461029f57806370a08231146102cf57806391d14854146102ff57806395d89b411461032f578063a217fddf1461034d5761012c565b806323b872dd116100f457806323b872dd146101e9578063248a9ca3146102195780632f2ff15d14610249578063313ce5671461026557806336568abe146102835761012c565b806301ffc9a71461013157806306fdde0314610161578063095ea7b31461017f57806318160ddd146101af5780631e458bee146101cd575b600080fd5b61014b60048036038101906101469190611636565b610435565b6040516101589190611878565b60405180910390f35b6101696104af565b60405161017691906118ae565b60405180910390f35b61019960048036038101906101949190611546565b610541565b6040516101a69190611878565b60405180910390f35b6101b761055f565b6040516101c49190611a50565b60405180910390f35b6101e760048036038101906101e29190611582565b610569565b005b61020360048036038101906101fe91906114f7565b610637565b6040516102109190611878565b60405180910390f35b610233600480360381019061022e91906115d1565b610738565b6040516102409190611893565b60405180910390f35b610263600480360381019061025e91906115fa565b610757565b005b61026d6107bd565b60405161027a9190611a6b565b60405180910390f35b61029d600480360381019061029891906115fa565b6107c6565b005b6102b960048036038101906102b49190611546565b610849565b6040516102c69190611878565b60405180910390f35b6102e960048036038101906102e49190611492565b6108f5565b6040516102f69190611a50565b60405180910390f35b610319600480360381019061031491906115fa565b61093e565b6040516103269190611878565b60405180910390f35b6103376109a8565b60405161034491906118ae565b60405180910390f35b610355610a3a565b6040516103629190611893565b60405180910390f35b61038560048036038101906103809190611546565b610a41565b6040516103929190611878565b60405180910390f35b6103b560048036038101906103b09190611546565b610b35565b6040516103c29190611878565b60405180910390f35b6103d3610b53565b6040516103e09190611893565b60405180910390f35b61040360048036038101906103fe91906115fa565b610b77565b005b61041f600480360381019061041a91906114bb565b610bdd565b60405161042c9190611a50565b60405180910390f35b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806104a857506104a782610c64565b5b9050919050565b6060600480546104be90611bea565b80601f01602080910402602001604051908101604052809291908181526020018280546104ea90611bea565b80156105375780601f1061050c57610100808354040283529160200191610537565b820191906000526020600020905b81548152906001019060200180831161051a57829003601f168201915b5050505050905090565b600061055561054e610cce565b8484610cd6565b6001905092915050565b6000600354905090565b61059a7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6610595610cce565b61093e565b6105d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105d090611930565b60405180910390fd5b6105e38383610ea1565b8273ffffffffffffffffffffffffffffffffffffffff16817fb7cbd5c603dd8a6a3aebf1faa90a0547a960e99fb6d37d223782e437796f14db8460405161062a9190611a50565b60405180910390a3505050565b6000610644848484610ff6565b6000600260008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600061068f610cce565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508281101561070f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161070690611990565b60405180910390fd5b61072c8561071b610cce565b85846107279190611af8565b610cd6565b60019150509392505050565b6000806000838152602001908152602001600020600101549050919050565b61077061076383610738565b61076b610cce565b61093e565b6107af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a6906118f0565b60405180910390fd5b6107b98282611278565b5050565b60006012905090565b6107ce610cce565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461083b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161083290611a10565b60405180910390fd5b6108458282611358565b5050565b60006108eb610856610cce565b848460026000610864610cce565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546108e69190611aa2565b610cd6565b6001905092915050565b6000600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6060600580546109b790611bea565b80601f01602080910402602001604051908101604052809291908181526020018280546109e390611bea565b8015610a305780601f10610a0557610100808354040283529160200191610a30565b820191906000526020600020905b815481529060010190602001808311610a1357829003601f168201915b5050505050905090565b6000801b81565b60008060026000610a50610cce565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015610b0d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b04906119f0565b60405180910390fd5b610b2a610b18610cce565b858584610b259190611af8565b610cd6565b600191505092915050565b6000610b49610b42610cce565b8484610ff6565b6001905092915050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b610b90610b8383610738565b610b8b610cce565b61093e565b610bcf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bc690611970565b60405180910390fd5b610bd98282611358565b5050565b6000600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610d46576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3d906119d0565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610db6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dad90611910565b60405180910390fd5b80600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92583604051610e949190611a50565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610f11576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f0890611a30565b60405180910390fd5b610f1d60008383611439565b8060036000828254610f2f9190611aa2565b9250508190555080600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610f859190611aa2565b925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051610fea9190611a50565b60405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611066576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161105d906119b0565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156110d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110cd906118d0565b60405180910390fd5b6110e1838383611439565b6000600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611168576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161115f90611950565b60405180910390fd5b81816111749190611af8565b600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546112069190611aa2565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161126a9190611a50565b60405180910390a350505050565b611282828261093e565b61135457600160008084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506112f9610cce565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b611362828261093e565b1561143557600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506113da610cce565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b505050565b60008135905061144d81612019565b92915050565b60008135905061146281612030565b92915050565b60008135905061147781612047565b92915050565b60008135905061148c8161205e565b92915050565b6000602082840312156114a457600080fd5b60006114b28482850161143e565b91505092915050565b600080604083850312156114ce57600080fd5b60006114dc8582860161143e565b92505060206114ed8582860161143e565b9150509250929050565b60008060006060848603121561150c57600080fd5b600061151a8682870161143e565b935050602061152b8682870161143e565b925050604061153c8682870161147d565b9150509250925092565b6000806040838503121561155957600080fd5b60006115678582860161143e565b92505060206115788582860161147d565b9150509250929050565b60008060006060848603121561159757600080fd5b60006115a58682870161143e565b93505060206115b68682870161147d565b92505060406115c786828701611453565b9150509250925092565b6000602082840312156115e357600080fd5b60006115f184828501611453565b91505092915050565b6000806040838503121561160d57600080fd5b600061161b85828601611453565b925050602061162c8582860161143e565b9150509250929050565b60006020828403121561164857600080fd5b600061165684828501611468565b91505092915050565b61166881611b3e565b82525050565b61167781611b4a565b82525050565b600061168882611a86565b6116928185611a91565b93506116a2818560208601611bb7565b6116ab81611c7a565b840191505092915050565b60006116c3602383611a91565b91506116ce82611c8b565b604082019050919050565b60006116e6602f83611a91565b91506116f182611cda565b604082019050919050565b6000611709602283611a91565b915061171482611d29565b604082019050919050565b600061172c602983611a91565b915061173782611d78565b604082019050919050565b600061174f602683611a91565b915061175a82611dc7565b604082019050919050565b6000611772603083611a91565b915061177d82611e16565b604082019050919050565b6000611795602883611a91565b91506117a082611e65565b604082019050919050565b60006117b8602583611a91565b91506117c382611eb4565b604082019050919050565b60006117db602483611a91565b91506117e682611f03565b604082019050919050565b60006117fe602583611a91565b915061180982611f52565b604082019050919050565b6000611821602f83611a91565b915061182c82611fa1565b604082019050919050565b6000611844601f83611a91565b915061184f82611ff0565b602082019050919050565b61186381611ba0565b82525050565b61187281611baa565b82525050565b600060208201905061188d600083018461165f565b92915050565b60006020820190506118a8600083018461166e565b92915050565b600060208201905081810360008301526118c8818461167d565b905092915050565b600060208201905081810360008301526118e9816116b6565b9050919050565b60006020820190508181036000830152611909816116d9565b9050919050565b60006020820190508181036000830152611929816116fc565b9050919050565b600060208201905081810360008301526119498161171f565b9050919050565b6000602082019050818103600083015261196981611742565b9050919050565b6000602082019050818103600083015261198981611765565b9050919050565b600060208201905081810360008301526119a981611788565b9050919050565b600060208201905081810360008301526119c9816117ab565b9050919050565b600060208201905081810360008301526119e9816117ce565b9050919050565b60006020820190508181036000830152611a09816117f1565b9050919050565b60006020820190508181036000830152611a2981611814565b9050919050565b60006020820190508181036000830152611a4981611837565b9050919050565b6000602082019050611a65600083018461185a565b92915050565b6000602082019050611a806000830184611869565b92915050565b600081519050919050565b600082825260208201905092915050565b6000611aad82611ba0565b9150611ab883611ba0565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115611aed57611aec611c1c565b5b828201905092915050565b6000611b0382611ba0565b9150611b0e83611ba0565b925082821015611b2157611b20611c1c565b5b828203905092915050565b6000611b3782611b80565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b60005b83811015611bd5578082015181840152602081019050611bba565b83811115611be4576000848401525b50505050565b60006002820490506001821680611c0257607f821691505b60208210811415611c1657611c15611c4b565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000601f19601f8301169050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b7f416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e60008201527f2061646d696e20746f206772616e740000000000000000000000000000000000602082015250565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b7f456e766f79546f6b656e3a206d7573742068617665206d696e74657220726f6c60008201527f6520746f206d696e740000000000000000000000000000000000000000000000602082015250565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b7f416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e60008201527f2061646d696e20746f207265766f6b6500000000000000000000000000000000602082015250565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206160008201527f6c6c6f77616e6365000000000000000000000000000000000000000000000000602082015250565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b61202281611b2c565b811461202d57600080fd5b50565b61203981611b4a565b811461204457600080fd5b50565b61205081611b54565b811461205b57600080fd5b50565b61206781611ba0565b811461207257600080fd5b5056fea26469706673582212206683fbf1728c7f0d4e157758c63a162d5326d470d962e8a87ffef1599be89f3c64736f6c63430008040033

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

000000000000000000000000370b36794b01553f1f0324d0b251e69efaa02804

-----Decoded View---------------
Arg [0] : account (address): 0x370b36794b01553F1f0324D0B251e69eFAa02804

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000370b36794b01553f1f0324d0b251e69efaa02804


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

OVERVIEW

Envoy is an end-to-end sustainable supply chain and financing network.

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.