Feature Tip: Add private address tag to any address under My Name Tag !
Latest 25 from a total of 55,685 transactions
| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
| Transfer | 23858830 | 3 mins ago | IN | 0 ETH | 0.00017884 | ||||
| Transfer | 23858819 | 5 mins ago | IN | 0 ETH | 0.00026578 | ||||
| Transfer | 23858807 | 8 mins ago | IN | 0 ETH | 0.00017869 | ||||
| Transfer | 23858803 | 9 mins ago | IN | 0 ETH | 0.00017905 | ||||
| Transfer | 23858787 | 12 mins ago | IN | 0 ETH | 0.0002651 | ||||
| Transfer | 23858731 | 23 mins ago | IN | 0 ETH | 0.00026558 | ||||
| Transfer | 23858722 | 25 mins ago | IN | 0 ETH | 0.00017887 | ||||
| Transfer | 23858699 | 30 mins ago | IN | 0 ETH | 0.00026517 | ||||
| Transfer | 23858697 | 30 mins ago | IN | 0 ETH | 0.00026569 | ||||
| Transfer | 23858661 | 38 mins ago | IN | 0 ETH | 0.00026549 | ||||
| Transfer | 23858650 | 40 mins ago | IN | 0 ETH | 0.00026553 | ||||
| Transfer | 23858641 | 42 mins ago | IN | 0 ETH | 0.00026527 | ||||
| Transfer | 23858611 | 48 mins ago | IN | 0 ETH | 0.00026524 | ||||
| Transfer | 23858586 | 53 mins ago | IN | 0 ETH | 0.00026539 | ||||
| Transfer | 23858561 | 58 mins ago | IN | 0 ETH | 0.00026522 | ||||
| Transfer | 23858545 | 1 hr ago | IN | 0 ETH | 0.00017889 | ||||
| Transfer | 23858529 | 1 hr ago | IN | 0 ETH | 0.00026593 | ||||
| Transfer | 23858517 | 1 hr ago | IN | 0 ETH | 0.00026573 | ||||
| Transfer | 23858516 | 1 hr ago | IN | 0 ETH | 0.00017948 | ||||
| Transfer | 23858513 | 1 hr ago | IN | 0 ETH | 0.00026601 | ||||
| Transfer | 23858512 | 1 hr ago | IN | 0 ETH | 0.00026568 | ||||
| Transfer | 23858477 | 1 hr ago | IN | 0 ETH | 0.00026627 | ||||
| Transfer | 23858474 | 1 hr ago | IN | 0 ETH | 0.00017946 | ||||
| Transfer | 23858457 | 1 hr ago | IN | 0 ETH | 0.00026656 | ||||
| Transfer | 23858444 | 1 hr ago | IN | 0 ETH | 0.00026594 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
WFCAToken
Compiler Version
v0.8.9+commit.e5eed63a
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: Not Licensed
pragma solidity 0.8.9;
import "@openzeppelin/contracts/utils/Context.sol";
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Capped.sol";
import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol";
import "@openzeppelin/contracts/access/AccessControl.sol";
import "./extensions/ERC20SupplyControlledToken.sol";
import "./extensions/ERC20BatchTransferrableToken.sol";
/**
* ERC20 token with cap, role based access control, burning, and batch transfer functionalities.
*/
contract WFCAToken is
Context,
ERC20Capped,
AccessControl,
ERC20Burnable,
ERC20SupplyControlledToken,
ERC20BatchTransferrableToken
{
bytes32 public constant BURNER_ROLE = keccak256("BURNER_ROLE");
constructor(address _initialSupplyRecipient)
ERC20SupplyControlledToken(
"World Friendship Cash",
"WFCA",
18,
1_000_000_000 * (10**18),
1_000_000_000 * (10**18),
_initialSupplyRecipient
)
{
address _initialAdmin = _msgSender();
_grantRole(DEFAULT_ADMIN_ROLE, _initialAdmin);
_grantRole(BURNER_ROLE, _initialAdmin);
}
function decimals()
public
view
virtual
override(ERC20, ERC20SupplyControlledToken)
returns (uint8)
{
return ERC20SupplyControlledToken.decimals();
}
/**
* Override to restrict access.
*/
function burn(uint256 amount) public override onlyRole(BURNER_ROLE) {
super.burn(amount);
}
/**
* Override to restrict access.
*/
function burnFrom(address account, uint256 amount)
public
override
onlyRole(BURNER_ROLE)
{
super.burnFrom(account, amount);
}
// The following functions are overrides required by Solidity.
function _mint(address account, uint256 amount)
internal
virtual
override(ERC20, ERC20Capped)
{
ERC20Capped._mint(account, amount);
}
}// 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;
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC20/ERC20.sol)
pragma solidity ^0.8.0;
import "./IERC20.sol";
import "./extensions/IERC20Metadata.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 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;
}
_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;
_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;
}
_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 {}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/ERC20Capped.sol)
pragma solidity ^0.8.0;
import "../ERC20.sol";
/**
* @dev Extension of {ERC20} that adds a cap to the supply of tokens.
*/
abstract contract ERC20Capped is ERC20 {
uint256 private immutable _cap;
/**
* @dev Sets the value of the `cap`. This value is immutable, it can only be
* set once during construction.
*/
constructor(uint256 cap_) {
require(cap_ > 0, "ERC20Capped: cap is 0");
_cap = cap_;
}
/**
* @dev Returns the cap on the token's total supply.
*/
function cap() public view virtual returns (uint256) {
return _cap;
}
/**
* @dev See {ERC20-_mint}.
*/
function _mint(address account, uint256 amount) internal virtual override {
require(ERC20.totalSupply() + amount <= cap(), "ERC20Capped: cap exceeded");
super._mint(account, amount);
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/extensions/ERC20Burnable.sol)
pragma solidity ^0.8.0;
import "../ERC20.sol";
import "../../../utils/Context.sol";
/**
* @dev Extension of {ERC20} that allows token holders to destroy both their own
* tokens and those that they have an allowance for, in a way that can be
* recognized off-chain (via event analysis).
*/
abstract contract ERC20Burnable is Context, ERC20 {
/**
* @dev Destroys `amount` tokens from the caller.
*
* See {ERC20-_burn}.
*/
function burn(uint256 amount) public virtual {
_burn(_msgSender(), amount);
}
/**
* @dev Destroys `amount` tokens from `account`, deducting from the caller's
* allowance.
*
* See {ERC20-_burn} and {ERC20-allowance}.
*
* Requirements:
*
* - the caller must have allowance for ``accounts``'s tokens of at least
* `amount`.
*/
function burnFrom(address account, uint256 amount) public virtual {
_spendAllowance(account, _msgSender(), amount);
_burn(account, amount);
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/AccessControl.sol)
pragma solidity ^0.8.0;
import "./IAccessControl.sol";
import "../utils/Context.sol";
import "../utils/Strings.sol";
import "../utils/introspection/ERC165.sol";
/**
* @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 Modifier that checks that an account has a specific role. Reverts
* with a standardized message including the required role.
*
* The format of the revert reason is given by the following regular expression:
*
* /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
*
* _Available since v4.1._
*/
modifier onlyRole(bytes32 role) {
_checkRole(role);
_;
}
/**
* @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 virtual override returns (bool) {
return _roles[role].members[account];
}
/**
* @dev Revert with a standard message if `_msgSender()` is missing `role`.
* Overriding this function changes the behavior of the {onlyRole} modifier.
*
* Format of the revert message is described in {_checkRole}.
*
* _Available since v4.6._
*/
function _checkRole(bytes32 role) internal view virtual {
_checkRole(role, _msgSender());
}
/**
* @dev Revert with a standard message if `account` is missing `role`.
*
* The format of the revert reason is given by the following regular expression:
*
* /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
*/
function _checkRole(bytes32 role, address account) internal view virtual {
if (!hasRole(role, account)) {
revert(
string(
abi.encodePacked(
"AccessControl: account ",
Strings.toHexString(uint160(account), 20),
" is missing role ",
Strings.toHexString(uint256(role), 32)
)
)
);
}
}
/**
* @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 virtual 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.
*
* May emit a {RoleGranted} event.
*/
function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
_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.
*
* May emit a {RoleRevoked} event.
*/
function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
_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 revoked `role`, emits a {RoleRevoked}
* event.
*
* Requirements:
*
* - the caller must be `account`.
*
* May emit a {RoleRevoked} event.
*/
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.
*
* May emit a {RoleGranted} event.
*
* [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}.
* ====
*
* NOTE: This function is deprecated in favor of {_grantRole}.
*/
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 {
bytes32 previousAdminRole = getRoleAdmin(role);
_roles[role].adminRole = adminRole;
emit RoleAdminChanged(role, previousAdminRole, adminRole);
}
/**
* @dev Grants `role` to `account`.
*
* Internal function without access restriction.
*
* May emit a {RoleGranted} event.
*/
function _grantRole(bytes32 role, address account) internal virtual {
if (!hasRole(role, account)) {
_roles[role].members[account] = true;
emit RoleGranted(role, account, _msgSender());
}
}
/**
* @dev Revokes `role` from `account`.
*
* Internal function without access restriction.
*
* May emit a {RoleRevoked} event.
*/
function _revokeRole(bytes32 role, address account) internal virtual {
if (hasRole(role, account)) {
_roles[role].members[account] = false;
emit RoleRevoked(role, account, _msgSender());
}
}
}// SPDX-License-Identifier: Not Licensed
pragma solidity ^0.8.9;
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Capped.sol";
/**
* An abstract contract that provides subclasses
* with decimals, cap and initial supply functionalities.
*/
abstract contract ERC20SupplyControlledToken is ERC20Capped {
uint8 private immutable _decimals;
constructor(
string memory tokenName_,
string memory tokenSymbol_,
uint8 decimals_,
uint256 supplyCap_,
uint256 initialSupply_,
address initialSupplyRecipient
) ERC20(tokenName_, tokenSymbol_) ERC20Capped(supplyCap_) {
_decimals = decimals_;
require(initialSupply_ <= supplyCap_, "ERC20Capped: cap exceeded");
if ((0 < initialSupply_) && (initialSupplyRecipient != address(0))) {
ERC20._mint(initialSupplyRecipient, initialSupply_);
} else if (0 < initialSupply_) {
ERC20._mint(msg.sender, initialSupply_);
}
}
function decimals() public view virtual override returns (uint8) {
return _decimals;
}
}// SPDX-License-Identifier: Not Licensed
pragma solidity ^0.8.9;
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
/**
* An abstract contract that provides subclasses
* with a classical implementation of "batch transfer" functionality.
* Although pulling (= withdrawal) is always preferrable to pushing (= transfer),
* there are cases that latter is more convenient.
*/
abstract contract ERC20BatchTransferrableToken is ERC20 {
function batchTransfer(
address[] calldata recipients,
uint256[] calldata amounts
) external returns (bool) {
require(
recipients.length == amounts.length,
"BatchTransfer: number mismatch between recipients and amounts"
);
require(0 < recipients.length, "BatchTransfer: lists are empty");
for (uint256 i = 0; i < recipients.length; i++) {
require(
transfer(recipients[i], amounts[i]),
"BatchTransfer: transfer failed"
);
}
return true;
}
function batchTransferFrom(
address from,
address[] calldata recipients,
uint256[] calldata amounts
) external returns (bool) {
require(
recipients.length == amounts.length,
"BatchTransfer: number mismatch between recipients and amounts"
);
require(0 < recipients.length, "BatchTransfer: lists are empty");
for (uint256 i = 0; i < recipients.length; i++) {
require(
transferFrom(from, recipients[i], amounts[i]),
"BatchTransfer: transfer failed"
);
}
return true;
}
}// 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);
}// 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);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol)
pragma solidity ^0.8.0;
/**
* @dev External interface of AccessControl declared to support ERC165 detection.
*/
interface IAccessControl {
/**
* @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 {AccessControl-_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 Returns `true` if `account` has been granted `role`.
*/
function hasRole(bytes32 role, address account) external view returns (bool);
/**
* @dev Returns the admin role that controls `role`. See {grantRole} and
* {revokeRole}.
*
* To change a role's admin, use {AccessControl-_setRoleAdmin}.
*/
function getRoleAdmin(bytes32 role) external view returns (bytes32);
/**
* @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) external;
/**
* @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) external;
/**
* @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) external;
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol)
pragma solidity ^0.8.0;
/**
* @dev String operations.
*/
library Strings {
bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";
uint8 private constant _ADDRESS_LENGTH = 20;
/**
* @dev Converts a `uint256` to its ASCII `string` decimal representation.
*/
function toString(uint256 value) internal pure returns (string memory) {
// Inspired by OraclizeAPI's implementation - MIT licence
// https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol
if (value == 0) {
return "0";
}
uint256 temp = value;
uint256 digits;
while (temp != 0) {
digits++;
temp /= 10;
}
bytes memory buffer = new bytes(digits);
while (value != 0) {
digits -= 1;
buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
value /= 10;
}
return string(buffer);
}
/**
* @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
*/
function toHexString(uint256 value) internal pure returns (string memory) {
if (value == 0) {
return "0x00";
}
uint256 temp = value;
uint256 length = 0;
while (temp != 0) {
length++;
temp >>= 8;
}
return toHexString(value, length);
}
/**
* @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
*/
function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
bytes memory buffer = new bytes(2 * length + 2);
buffer[0] = "0";
buffer[1] = "x";
for (uint256 i = 2 * length + 1; i > 1; --i) {
buffer[i] = _HEX_SYMBOLS[value & 0xf];
value >>= 4;
}
require(value == 0, "Strings: hex length insufficient");
return string(buffer);
}
/**
* @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.
*/
function toHexString(address addr) internal pure returns (string memory) {
return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)
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;
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC165 standard, as defined in the
* https://eips.ethereum.org/EIPS/eip-165[EIP].
*
* Implementers can declare support of contract interfaces, which can then be
* queried by others ({ERC165Checker}).
*
* For an implementation, see {ERC165}.
*/
interface IERC165 {
/**
* @dev Returns true if this contract implements the interface defined by
* `interfaceId`. See the corresponding
* https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
* to learn more about how these ids are created.
*
* This function call must use less than 30 000 gas.
*/
function supportsInterface(bytes4 interfaceId) external view returns (bool);
}{
"optimizer": {
"enabled": false,
"runs": 200
},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
},
"libraries": {}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"address","name":"_initialSupplyRecipient","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":"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":"BURNER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DEFAULT_ADMIN_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":[{"internalType":"address[]","name":"recipients","type":"address[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"batchTransfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address[]","name":"recipients","type":"address[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"batchTransferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"cap","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":[],"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":"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"}]Contract Creation Code
60c06040523480156200001157600080fd5b50604051620035dc380380620035dc83398181016040528101906200003791906200067d565b6040518060400160405280601581526020017f576f726c6420467269656e6473686970204361736800000000000000000000008152506040518060400160405280600481526020017f574643410000000000000000000000000000000000000000000000000000000081525060126b033b2e3c9fd0803ce800000080858286868160039080519060200190620000cf92919062000563565b508060049080519060200190620000e892919062000563565b5050506000811162000131576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620001289062000710565b60405180910390fd5b8060808181525050508360ff1660a08160ff1681525050828211156200018e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620001859062000782565b60405180910390fd5b816000108015620001cc5750600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614155b15620001ef57620001e981836200027b60201b62000d471760201c565b62000212565b816000101562000211576200021033836200027b60201b62000d471760201c565b5b5b50505050505060006200022a620003f460201b60201c565b9050620002416000801b82620003fc60201b60201c565b620002737f3c11d16cbaffd01df69ce1c404f6340ee057498f5f00246190ea54220576a84882620003fc60201b60201c565b50506200093f565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415620002ee576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002e590620007f4565b60405180910390fd5b6200030260008383620004ee60201b60201c565b80600260008282546200031691906200084f565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546200036d91906200084f565b925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051620003d49190620008bd565b60405180910390a3620003f060008383620004f360201b60201c565b5050565b600033905090565b6200040e8282620004f860201b60201c565b620004ea5760016005600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506200048f620003f460201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b505050565b505050565b60006005600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b828054620005719062000909565b90600052602060002090601f016020900481019282620005955760008555620005e1565b82601f10620005b057805160ff1916838001178555620005e1565b82800160010185558215620005e1579182015b82811115620005e0578251825591602001919060010190620005c3565b5b509050620005f09190620005f4565b5090565b5b808211156200060f576000816000905550600101620005f5565b5090565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620006458262000618565b9050919050565b620006578162000638565b81146200066357600080fd5b50565b60008151905062000677816200064c565b92915050565b60006020828403121562000696576200069562000613565b5b6000620006a68482850162000666565b91505092915050565b600082825260208201905092915050565b7f45524332304361707065643a2063617020697320300000000000000000000000600082015250565b6000620006f8601583620006af565b91506200070582620006c0565b602082019050919050565b600060208201905081810360008301526200072b81620006e9565b9050919050565b7f45524332304361707065643a2063617020657863656564656400000000000000600082015250565b60006200076a601983620006af565b9150620007778262000732565b602082019050919050565b600060208201905081810360008301526200079d816200075b565b9050919050565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b6000620007dc601f83620006af565b9150620007e982620007a4565b602082019050919050565b600060208201905081810360008301526200080f81620007cd565b9050919050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006200085c8262000816565b9150620008698362000816565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115620008a157620008a062000820565b5b828201905092915050565b620008b78162000816565b82525050565b6000602082019050620008d46000830184620008ac565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200092257607f821691505b60208210811415620009395762000938620008da565b5b50919050565b60805160a051612c776200096560003960006114ea015260006106db0152612c776000f3fe608060405234801561001057600080fd5b50600436106101585760003560e01c806342966c68116100c357806395d89b411161007c57806395d89b4114610413578063a217fddf14610431578063a457c2d71461044f578063a9059cbb1461047f578063d547741f146104af578063dd62ed3e146104cb57610158565b806342966c681461031b5780634885b2541461033757806370a082311461036757806379cc67901461039757806388d695b2146103b357806391d14854146103e357610158565b8063282c51f311610115578063282c51f3146102595780632f2ff15d14610277578063313ce56714610293578063355274ea146102b157806336568abe146102cf57806339509351146102eb57610158565b806301ffc9a71461015d57806306fdde031461018d578063095ea7b3146101ab57806318160ddd146101db57806323b872dd146101f9578063248a9ca314610229575b600080fd5b61017760048036038101906101729190611b40565b6104fb565b6040516101849190611b88565b60405180910390f35b610195610575565b6040516101a29190611c3c565b60405180910390f35b6101c560048036038101906101c09190611cf2565b610607565b6040516101d29190611b88565b60405180910390f35b6101e361062a565b6040516101f09190611d41565b60405180910390f35b610213600480360381019061020e9190611d5c565b610634565b6040516102209190611b88565b60405180910390f35b610243600480360381019061023e9190611de5565b610663565b6040516102509190611e21565b60405180910390f35b610261610683565b60405161026e9190611e21565b60405180910390f35b610291600480360381019061028c9190611e3c565b6106a7565b005b61029b6106c8565b6040516102a89190611e98565b60405180910390f35b6102b96106d7565b6040516102c69190611d41565b60405180910390f35b6102e960048036038101906102e49190611e3c565b6106ff565b005b61030560048036038101906103009190611cf2565b610782565b6040516103129190611b88565b60405180910390f35b61033560048036038101906103309190611eb3565b6107b9565b005b610351600480360381019061034c9190611f9b565b6107f0565b60405161035e9190611b88565b60405180910390f35b610381600480360381019061037c9190612030565b610939565b60405161038e9190611d41565b60405180910390f35b6103b160048036038101906103ac9190611cf2565b610981565b005b6103cd60048036038101906103c8919061205d565b6109ba565b6040516103da9190611b88565b60405180910390f35b6103fd60048036038101906103f89190611e3c565b610b01565b60405161040a9190611b88565b60405180910390f35b61041b610b6c565b6040516104289190611c3c565b60405180910390f35b610439610bfe565b6040516104469190611e21565b60405180910390f35b61046960048036038101906104649190611cf2565b610c05565b6040516104769190611b88565b60405180910390f35b61049960048036038101906104949190611cf2565b610c7c565b6040516104a69190611b88565b60405180910390f35b6104c960048036038101906104c49190611e3c565b610c9f565b005b6104e560048036038101906104e091906120de565b610cc0565b6040516104f29190611d41565b60405180910390f35b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061056e575061056d82610ea7565b5b9050919050565b6060600380546105849061214d565b80601f01602080910402602001604051908101604052809291908181526020018280546105b09061214d565b80156105fd5780601f106105d2576101008083540402835291602001916105fd565b820191906000526020600020905b8154815290600101906020018083116105e057829003601f168201915b5050505050905090565b600080610612610f11565b905061061f818585610f19565b600191505092915050565b6000600254905090565b60008061063f610f11565b905061064c8582856110e4565b610657858585611170565b60019150509392505050565b600060056000838152602001908152602001600020600101549050919050565b7f3c11d16cbaffd01df69ce1c404f6340ee057498f5f00246190ea54220576a84881565b6106b082610663565b6106b9816113f1565b6106c38383611405565b505050565b60006106d26114e6565b905090565b60007f0000000000000000000000000000000000000000000000000000000000000000905090565b610707610f11565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610774576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161076b906121f1565b60405180910390fd5b61077e828261150e565b5050565b60008061078d610f11565b90506107ae81858561079f8589610cc0565b6107a99190612240565b610f19565b600191505092915050565b7f3c11d16cbaffd01df69ce1c404f6340ee057498f5f00246190ea54220576a8486107e3816113f1565b6107ec826115f0565b5050565b600082829050858590501461083a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161083190612308565b60405180910390fd5b84849050600010610880576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161087790612374565b60405180910390fd5b60005b8585905081101561092b576108d9878787848181106108a5576108a4612394565b5b90506020020160208101906108ba9190612030565b8686858181106108cd576108cc612394565b5b90506020020135610634565b610918576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161090f9061240f565b60405180910390fd5b80806109239061242f565b915050610883565b506001905095945050505050565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b7f3c11d16cbaffd01df69ce1c404f6340ee057498f5f00246190ea54220576a8486109ab816113f1565b6109b58383611604565b505050565b6000828290508585905014610a04576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109fb90612308565b60405180910390fd5b84849050600010610a4a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a4190612374565b60405180910390fd5b60005b85859050811015610af457610aa2868683818110610a6e57610a6d612394565b5b9050602002016020810190610a839190612030565b858584818110610a9657610a95612394565b5b90506020020135610c7c565b610ae1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ad89061240f565b60405180910390fd5b8080610aec9061242f565b915050610a4d565b5060019050949350505050565b60006005600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b606060048054610b7b9061214d565b80601f0160208091040260200160405190810160405280929190818152602001828054610ba79061214d565b8015610bf45780601f10610bc957610100808354040283529160200191610bf4565b820191906000526020600020905b815481529060010190602001808311610bd757829003601f168201915b5050505050905090565b6000801b81565b600080610c10610f11565b90506000610c1e8286610cc0565b905083811015610c63576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c5a906124ea565b60405180910390fd5b610c708286868403610f19565b60019250505092915050565b600080610c87610f11565b9050610c94818585611170565b600191505092915050565b610ca882610663565b610cb1816113f1565b610cbb838361150e565b505050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610db7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dae90612556565b60405180910390fd5b610dc360008383611624565b8060026000828254610dd59190612240565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610e2a9190612240565b925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051610e8f9190611d41565b60405180910390a3610ea360008383611629565b5050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610f89576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f80906125e8565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610ff9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ff09061267a565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040516110d79190611d41565b60405180910390a3505050565b60006110f08484610cc0565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811461116a578181101561115c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611153906126e6565b60405180910390fd5b6111698484848403610f19565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156111e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111d790612778565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611250576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112479061280a565b60405180910390fd5b61125b838383611624565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156112e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112d89061289c565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546113749190612240565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516113d89190611d41565b60405180910390a36113eb848484611629565b50505050565b611402816113fd610f11565b61162e565b50565b61140f8282610b01565b6114e25760016005600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611487610f11565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b60007f0000000000000000000000000000000000000000000000000000000000000000905090565b6115188282610b01565b156115ec5760006005600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611591610f11565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b6116016115fb610f11565b826116cb565b50565b61161682611610610f11565b836110e4565b61162082826116cb565b5050565b505050565b505050565b6116388282610b01565b6116c75761165d8173ffffffffffffffffffffffffffffffffffffffff1660146118a2565b61166b8360001c60206118a2565b60405160200161167c929190612990565b6040516020818303038152906040526040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116be9190611c3c565b60405180910390fd5b5050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561173b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161173290612a3c565b60405180910390fd5b61174782600083611624565b60008060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156117cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117c490612ace565b60405180910390fd5b8181036000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600260008282546118249190612aee565b92505081905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516118899190611d41565b60405180910390a361189d83600084611629565b505050565b6060600060028360026118b59190612b22565b6118bf9190612240565b67ffffffffffffffff8111156118d8576118d7612b7c565b5b6040519080825280601f01601f19166020018201604052801561190a5781602001600182028036833780820191505090505b5090507f30000000000000000000000000000000000000000000000000000000000000008160008151811061194257611941612394565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f7800000000000000000000000000000000000000000000000000000000000000816001815181106119a6576119a5612394565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600060018460026119e69190612b22565b6119f09190612240565b90505b6001811115611a90577f3031323334353637383961626364656600000000000000000000000000000000600f861660108110611a3257611a31612394565b5b1a60f81b828281518110611a4957611a48612394565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c945080611a8990612bab565b90506119f3565b5060008414611ad4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611acb90612c21565b60405180910390fd5b8091505092915050565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b611b1d81611ae8565b8114611b2857600080fd5b50565b600081359050611b3a81611b14565b92915050565b600060208284031215611b5657611b55611ade565b5b6000611b6484828501611b2b565b91505092915050565b60008115159050919050565b611b8281611b6d565b82525050565b6000602082019050611b9d6000830184611b79565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015611bdd578082015181840152602081019050611bc2565b83811115611bec576000848401525b50505050565b6000601f19601f8301169050919050565b6000611c0e82611ba3565b611c188185611bae565b9350611c28818560208601611bbf565b611c3181611bf2565b840191505092915050565b60006020820190508181036000830152611c568184611c03565b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000611c8982611c5e565b9050919050565b611c9981611c7e565b8114611ca457600080fd5b50565b600081359050611cb681611c90565b92915050565b6000819050919050565b611ccf81611cbc565b8114611cda57600080fd5b50565b600081359050611cec81611cc6565b92915050565b60008060408385031215611d0957611d08611ade565b5b6000611d1785828601611ca7565b9250506020611d2885828601611cdd565b9150509250929050565b611d3b81611cbc565b82525050565b6000602082019050611d566000830184611d32565b92915050565b600080600060608486031215611d7557611d74611ade565b5b6000611d8386828701611ca7565b9350506020611d9486828701611ca7565b9250506040611da586828701611cdd565b9150509250925092565b6000819050919050565b611dc281611daf565b8114611dcd57600080fd5b50565b600081359050611ddf81611db9565b92915050565b600060208284031215611dfb57611dfa611ade565b5b6000611e0984828501611dd0565b91505092915050565b611e1b81611daf565b82525050565b6000602082019050611e366000830184611e12565b92915050565b60008060408385031215611e5357611e52611ade565b5b6000611e6185828601611dd0565b9250506020611e7285828601611ca7565b9150509250929050565b600060ff82169050919050565b611e9281611e7c565b82525050565b6000602082019050611ead6000830184611e89565b92915050565b600060208284031215611ec957611ec8611ade565b5b6000611ed784828501611cdd565b91505092915050565b600080fd5b600080fd5b600080fd5b60008083601f840112611f0557611f04611ee0565b5b8235905067ffffffffffffffff811115611f2257611f21611ee5565b5b602083019150836020820283011115611f3e57611f3d611eea565b5b9250929050565b60008083601f840112611f5b57611f5a611ee0565b5b8235905067ffffffffffffffff811115611f7857611f77611ee5565b5b602083019150836020820283011115611f9457611f93611eea565b5b9250929050565b600080600080600060608688031215611fb757611fb6611ade565b5b6000611fc588828901611ca7565b955050602086013567ffffffffffffffff811115611fe657611fe5611ae3565b5b611ff288828901611eef565b9450945050604086013567ffffffffffffffff81111561201557612014611ae3565b5b61202188828901611f45565b92509250509295509295909350565b60006020828403121561204657612045611ade565b5b600061205484828501611ca7565b91505092915050565b6000806000806040858703121561207757612076611ade565b5b600085013567ffffffffffffffff81111561209557612094611ae3565b5b6120a187828801611eef565b9450945050602085013567ffffffffffffffff8111156120c4576120c3611ae3565b5b6120d087828801611f45565b925092505092959194509250565b600080604083850312156120f5576120f4611ade565b5b600061210385828601611ca7565b925050602061211485828601611ca7565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061216557607f821691505b602082108114156121795761217861211e565b5b50919050565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b60006121db602f83611bae565b91506121e68261217f565b604082019050919050565b6000602082019050818103600083015261220a816121ce565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061224b82611cbc565b915061225683611cbc565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561228b5761228a612211565b5b828201905092915050565b7f42617463685472616e736665723a206e756d626572206d69736d61746368206260008201527f65747765656e20726563697069656e747320616e6420616d6f756e7473000000602082015250565b60006122f2603d83611bae565b91506122fd82612296565b604082019050919050565b60006020820190508181036000830152612321816122e5565b9050919050565b7f42617463685472616e736665723a206c697374732061726520656d7074790000600082015250565b600061235e601e83611bae565b915061236982612328565b602082019050919050565b6000602082019050818103600083015261238d81612351565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f42617463685472616e736665723a207472616e73666572206661696c65640000600082015250565b60006123f9601e83611bae565b9150612404826123c3565b602082019050919050565b60006020820190508181036000830152612428816123ec565b9050919050565b600061243a82611cbc565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561246d5761246c612211565b5b600182019050919050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b60006124d4602583611bae565b91506124df82612478565b604082019050919050565b60006020820190508181036000830152612503816124c7565b9050919050565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b6000612540601f83611bae565b915061254b8261250a565b602082019050919050565b6000602082019050818103600083015261256f81612533565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006125d2602483611bae565b91506125dd82612576565b604082019050919050565b60006020820190508181036000830152612601816125c5565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b6000612664602283611bae565b915061266f82612608565b604082019050919050565b6000602082019050818103600083015261269381612657565b9050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b60006126d0601d83611bae565b91506126db8261269a565b602082019050919050565b600060208201905081810360008301526126ff816126c3565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000612762602583611bae565b915061276d82612706565b604082019050919050565b6000602082019050818103600083015261279181612755565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b60006127f4602383611bae565b91506127ff82612798565b604082019050919050565b60006020820190508181036000830152612823816127e7565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b6000612886602683611bae565b91506128918261282a565b604082019050919050565b600060208201905081810360008301526128b581612879565b9050919050565b600081905092915050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b60006128fd6017836128bc565b9150612908826128c7565b601782019050919050565b600061291e82611ba3565b61292881856128bc565b9350612938818560208601611bbf565b80840191505092915050565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b600061297a6011836128bc565b915061298582612944565b601182019050919050565b600061299b826128f0565b91506129a78285612913565b91506129b28261296d565b91506129be8284612913565b91508190509392505050565b7f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b6000612a26602183611bae565b9150612a31826129ca565b604082019050919050565b60006020820190508181036000830152612a5581612a19565b9050919050565b7f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60008201527f6365000000000000000000000000000000000000000000000000000000000000602082015250565b6000612ab8602283611bae565b9150612ac382612a5c565b604082019050919050565b60006020820190508181036000830152612ae781612aab565b9050919050565b6000612af982611cbc565b9150612b0483611cbc565b925082821015612b1757612b16612211565b5b828203905092915050565b6000612b2d82611cbc565b9150612b3883611cbc565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615612b7157612b70612211565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000612bb682611cbc565b91506000821415612bca57612bc9612211565b5b600182039050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b6000612c0b602083611bae565b9150612c1682612bd5565b602082019050919050565b60006020820190508181036000830152612c3a81612bfe565b905091905056fea264697066735822122016a0c79f8d7205de8292e541a02ed660dac0c576f6aa3b1fbd3de2b04c47f10564736f6c634300080900330000000000000000000000002af2666bea6ef3f6113b8b853cfc01cba1a94e87
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101585760003560e01c806342966c68116100c357806395d89b411161007c57806395d89b4114610413578063a217fddf14610431578063a457c2d71461044f578063a9059cbb1461047f578063d547741f146104af578063dd62ed3e146104cb57610158565b806342966c681461031b5780634885b2541461033757806370a082311461036757806379cc67901461039757806388d695b2146103b357806391d14854146103e357610158565b8063282c51f311610115578063282c51f3146102595780632f2ff15d14610277578063313ce56714610293578063355274ea146102b157806336568abe146102cf57806339509351146102eb57610158565b806301ffc9a71461015d57806306fdde031461018d578063095ea7b3146101ab57806318160ddd146101db57806323b872dd146101f9578063248a9ca314610229575b600080fd5b61017760048036038101906101729190611b40565b6104fb565b6040516101849190611b88565b60405180910390f35b610195610575565b6040516101a29190611c3c565b60405180910390f35b6101c560048036038101906101c09190611cf2565b610607565b6040516101d29190611b88565b60405180910390f35b6101e361062a565b6040516101f09190611d41565b60405180910390f35b610213600480360381019061020e9190611d5c565b610634565b6040516102209190611b88565b60405180910390f35b610243600480360381019061023e9190611de5565b610663565b6040516102509190611e21565b60405180910390f35b610261610683565b60405161026e9190611e21565b60405180910390f35b610291600480360381019061028c9190611e3c565b6106a7565b005b61029b6106c8565b6040516102a89190611e98565b60405180910390f35b6102b96106d7565b6040516102c69190611d41565b60405180910390f35b6102e960048036038101906102e49190611e3c565b6106ff565b005b61030560048036038101906103009190611cf2565b610782565b6040516103129190611b88565b60405180910390f35b61033560048036038101906103309190611eb3565b6107b9565b005b610351600480360381019061034c9190611f9b565b6107f0565b60405161035e9190611b88565b60405180910390f35b610381600480360381019061037c9190612030565b610939565b60405161038e9190611d41565b60405180910390f35b6103b160048036038101906103ac9190611cf2565b610981565b005b6103cd60048036038101906103c8919061205d565b6109ba565b6040516103da9190611b88565b60405180910390f35b6103fd60048036038101906103f89190611e3c565b610b01565b60405161040a9190611b88565b60405180910390f35b61041b610b6c565b6040516104289190611c3c565b60405180910390f35b610439610bfe565b6040516104469190611e21565b60405180910390f35b61046960048036038101906104649190611cf2565b610c05565b6040516104769190611b88565b60405180910390f35b61049960048036038101906104949190611cf2565b610c7c565b6040516104a69190611b88565b60405180910390f35b6104c960048036038101906104c49190611e3c565b610c9f565b005b6104e560048036038101906104e091906120de565b610cc0565b6040516104f29190611d41565b60405180910390f35b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061056e575061056d82610ea7565b5b9050919050565b6060600380546105849061214d565b80601f01602080910402602001604051908101604052809291908181526020018280546105b09061214d565b80156105fd5780601f106105d2576101008083540402835291602001916105fd565b820191906000526020600020905b8154815290600101906020018083116105e057829003601f168201915b5050505050905090565b600080610612610f11565b905061061f818585610f19565b600191505092915050565b6000600254905090565b60008061063f610f11565b905061064c8582856110e4565b610657858585611170565b60019150509392505050565b600060056000838152602001908152602001600020600101549050919050565b7f3c11d16cbaffd01df69ce1c404f6340ee057498f5f00246190ea54220576a84881565b6106b082610663565b6106b9816113f1565b6106c38383611405565b505050565b60006106d26114e6565b905090565b60007f0000000000000000000000000000000000000000033b2e3c9fd0803ce8000000905090565b610707610f11565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610774576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161076b906121f1565b60405180910390fd5b61077e828261150e565b5050565b60008061078d610f11565b90506107ae81858561079f8589610cc0565b6107a99190612240565b610f19565b600191505092915050565b7f3c11d16cbaffd01df69ce1c404f6340ee057498f5f00246190ea54220576a8486107e3816113f1565b6107ec826115f0565b5050565b600082829050858590501461083a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161083190612308565b60405180910390fd5b84849050600010610880576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161087790612374565b60405180910390fd5b60005b8585905081101561092b576108d9878787848181106108a5576108a4612394565b5b90506020020160208101906108ba9190612030565b8686858181106108cd576108cc612394565b5b90506020020135610634565b610918576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161090f9061240f565b60405180910390fd5b80806109239061242f565b915050610883565b506001905095945050505050565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b7f3c11d16cbaffd01df69ce1c404f6340ee057498f5f00246190ea54220576a8486109ab816113f1565b6109b58383611604565b505050565b6000828290508585905014610a04576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109fb90612308565b60405180910390fd5b84849050600010610a4a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a4190612374565b60405180910390fd5b60005b85859050811015610af457610aa2868683818110610a6e57610a6d612394565b5b9050602002016020810190610a839190612030565b858584818110610a9657610a95612394565b5b90506020020135610c7c565b610ae1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ad89061240f565b60405180910390fd5b8080610aec9061242f565b915050610a4d565b5060019050949350505050565b60006005600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b606060048054610b7b9061214d565b80601f0160208091040260200160405190810160405280929190818152602001828054610ba79061214d565b8015610bf45780601f10610bc957610100808354040283529160200191610bf4565b820191906000526020600020905b815481529060010190602001808311610bd757829003601f168201915b5050505050905090565b6000801b81565b600080610c10610f11565b90506000610c1e8286610cc0565b905083811015610c63576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c5a906124ea565b60405180910390fd5b610c708286868403610f19565b60019250505092915050565b600080610c87610f11565b9050610c94818585611170565b600191505092915050565b610ca882610663565b610cb1816113f1565b610cbb838361150e565b505050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610db7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dae90612556565b60405180910390fd5b610dc360008383611624565b8060026000828254610dd59190612240565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610e2a9190612240565b925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051610e8f9190611d41565b60405180910390a3610ea360008383611629565b5050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610f89576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f80906125e8565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610ff9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ff09061267a565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040516110d79190611d41565b60405180910390a3505050565b60006110f08484610cc0565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811461116a578181101561115c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611153906126e6565b60405180910390fd5b6111698484848403610f19565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156111e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111d790612778565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611250576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112479061280a565b60405180910390fd5b61125b838383611624565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156112e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112d89061289c565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546113749190612240565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516113d89190611d41565b60405180910390a36113eb848484611629565b50505050565b611402816113fd610f11565b61162e565b50565b61140f8282610b01565b6114e25760016005600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611487610f11565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b60007f0000000000000000000000000000000000000000000000000000000000000012905090565b6115188282610b01565b156115ec5760006005600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611591610f11565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b6116016115fb610f11565b826116cb565b50565b61161682611610610f11565b836110e4565b61162082826116cb565b5050565b505050565b505050565b6116388282610b01565b6116c75761165d8173ffffffffffffffffffffffffffffffffffffffff1660146118a2565b61166b8360001c60206118a2565b60405160200161167c929190612990565b6040516020818303038152906040526040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116be9190611c3c565b60405180910390fd5b5050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561173b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161173290612a3c565b60405180910390fd5b61174782600083611624565b60008060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156117cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117c490612ace565b60405180910390fd5b8181036000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600260008282546118249190612aee565b92505081905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516118899190611d41565b60405180910390a361189d83600084611629565b505050565b6060600060028360026118b59190612b22565b6118bf9190612240565b67ffffffffffffffff8111156118d8576118d7612b7c565b5b6040519080825280601f01601f19166020018201604052801561190a5781602001600182028036833780820191505090505b5090507f30000000000000000000000000000000000000000000000000000000000000008160008151811061194257611941612394565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f7800000000000000000000000000000000000000000000000000000000000000816001815181106119a6576119a5612394565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600060018460026119e69190612b22565b6119f09190612240565b90505b6001811115611a90577f3031323334353637383961626364656600000000000000000000000000000000600f861660108110611a3257611a31612394565b5b1a60f81b828281518110611a4957611a48612394565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c945080611a8990612bab565b90506119f3565b5060008414611ad4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611acb90612c21565b60405180910390fd5b8091505092915050565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b611b1d81611ae8565b8114611b2857600080fd5b50565b600081359050611b3a81611b14565b92915050565b600060208284031215611b5657611b55611ade565b5b6000611b6484828501611b2b565b91505092915050565b60008115159050919050565b611b8281611b6d565b82525050565b6000602082019050611b9d6000830184611b79565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015611bdd578082015181840152602081019050611bc2565b83811115611bec576000848401525b50505050565b6000601f19601f8301169050919050565b6000611c0e82611ba3565b611c188185611bae565b9350611c28818560208601611bbf565b611c3181611bf2565b840191505092915050565b60006020820190508181036000830152611c568184611c03565b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000611c8982611c5e565b9050919050565b611c9981611c7e565b8114611ca457600080fd5b50565b600081359050611cb681611c90565b92915050565b6000819050919050565b611ccf81611cbc565b8114611cda57600080fd5b50565b600081359050611cec81611cc6565b92915050565b60008060408385031215611d0957611d08611ade565b5b6000611d1785828601611ca7565b9250506020611d2885828601611cdd565b9150509250929050565b611d3b81611cbc565b82525050565b6000602082019050611d566000830184611d32565b92915050565b600080600060608486031215611d7557611d74611ade565b5b6000611d8386828701611ca7565b9350506020611d9486828701611ca7565b9250506040611da586828701611cdd565b9150509250925092565b6000819050919050565b611dc281611daf565b8114611dcd57600080fd5b50565b600081359050611ddf81611db9565b92915050565b600060208284031215611dfb57611dfa611ade565b5b6000611e0984828501611dd0565b91505092915050565b611e1b81611daf565b82525050565b6000602082019050611e366000830184611e12565b92915050565b60008060408385031215611e5357611e52611ade565b5b6000611e6185828601611dd0565b9250506020611e7285828601611ca7565b9150509250929050565b600060ff82169050919050565b611e9281611e7c565b82525050565b6000602082019050611ead6000830184611e89565b92915050565b600060208284031215611ec957611ec8611ade565b5b6000611ed784828501611cdd565b91505092915050565b600080fd5b600080fd5b600080fd5b60008083601f840112611f0557611f04611ee0565b5b8235905067ffffffffffffffff811115611f2257611f21611ee5565b5b602083019150836020820283011115611f3e57611f3d611eea565b5b9250929050565b60008083601f840112611f5b57611f5a611ee0565b5b8235905067ffffffffffffffff811115611f7857611f77611ee5565b5b602083019150836020820283011115611f9457611f93611eea565b5b9250929050565b600080600080600060608688031215611fb757611fb6611ade565b5b6000611fc588828901611ca7565b955050602086013567ffffffffffffffff811115611fe657611fe5611ae3565b5b611ff288828901611eef565b9450945050604086013567ffffffffffffffff81111561201557612014611ae3565b5b61202188828901611f45565b92509250509295509295909350565b60006020828403121561204657612045611ade565b5b600061205484828501611ca7565b91505092915050565b6000806000806040858703121561207757612076611ade565b5b600085013567ffffffffffffffff81111561209557612094611ae3565b5b6120a187828801611eef565b9450945050602085013567ffffffffffffffff8111156120c4576120c3611ae3565b5b6120d087828801611f45565b925092505092959194509250565b600080604083850312156120f5576120f4611ade565b5b600061210385828601611ca7565b925050602061211485828601611ca7565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061216557607f821691505b602082108114156121795761217861211e565b5b50919050565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b60006121db602f83611bae565b91506121e68261217f565b604082019050919050565b6000602082019050818103600083015261220a816121ce565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061224b82611cbc565b915061225683611cbc565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561228b5761228a612211565b5b828201905092915050565b7f42617463685472616e736665723a206e756d626572206d69736d61746368206260008201527f65747765656e20726563697069656e747320616e6420616d6f756e7473000000602082015250565b60006122f2603d83611bae565b91506122fd82612296565b604082019050919050565b60006020820190508181036000830152612321816122e5565b9050919050565b7f42617463685472616e736665723a206c697374732061726520656d7074790000600082015250565b600061235e601e83611bae565b915061236982612328565b602082019050919050565b6000602082019050818103600083015261238d81612351565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f42617463685472616e736665723a207472616e73666572206661696c65640000600082015250565b60006123f9601e83611bae565b9150612404826123c3565b602082019050919050565b60006020820190508181036000830152612428816123ec565b9050919050565b600061243a82611cbc565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561246d5761246c612211565b5b600182019050919050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b60006124d4602583611bae565b91506124df82612478565b604082019050919050565b60006020820190508181036000830152612503816124c7565b9050919050565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b6000612540601f83611bae565b915061254b8261250a565b602082019050919050565b6000602082019050818103600083015261256f81612533565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006125d2602483611bae565b91506125dd82612576565b604082019050919050565b60006020820190508181036000830152612601816125c5565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b6000612664602283611bae565b915061266f82612608565b604082019050919050565b6000602082019050818103600083015261269381612657565b9050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b60006126d0601d83611bae565b91506126db8261269a565b602082019050919050565b600060208201905081810360008301526126ff816126c3565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000612762602583611bae565b915061276d82612706565b604082019050919050565b6000602082019050818103600083015261279181612755565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b60006127f4602383611bae565b91506127ff82612798565b604082019050919050565b60006020820190508181036000830152612823816127e7565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b6000612886602683611bae565b91506128918261282a565b604082019050919050565b600060208201905081810360008301526128b581612879565b9050919050565b600081905092915050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b60006128fd6017836128bc565b9150612908826128c7565b601782019050919050565b600061291e82611ba3565b61292881856128bc565b9350612938818560208601611bbf565b80840191505092915050565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b600061297a6011836128bc565b915061298582612944565b601182019050919050565b600061299b826128f0565b91506129a78285612913565b91506129b28261296d565b91506129be8284612913565b91508190509392505050565b7f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b6000612a26602183611bae565b9150612a31826129ca565b604082019050919050565b60006020820190508181036000830152612a5581612a19565b9050919050565b7f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60008201527f6365000000000000000000000000000000000000000000000000000000000000602082015250565b6000612ab8602283611bae565b9150612ac382612a5c565b604082019050919050565b60006020820190508181036000830152612ae781612aab565b9050919050565b6000612af982611cbc565b9150612b0483611cbc565b925082821015612b1757612b16612211565b5b828203905092915050565b6000612b2d82611cbc565b9150612b3883611cbc565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615612b7157612b70612211565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000612bb682611cbc565b91506000821415612bca57612bc9612211565b5b600182039050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b6000612c0b602083611bae565b9150612c1682612bd5565b602082019050919050565b60006020820190508181036000830152612c3a81612bfe565b905091905056fea264697066735822122016a0c79f8d7205de8292e541a02ed660dac0c576f6aa3b1fbd3de2b04c47f10564736f6c63430008090033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000002af2666bea6ef3f6113b8b853cfc01cba1a94e87
-----Decoded View---------------
Arg [0] : _initialSupplyRecipient (address): 0x2af2666beA6Ef3F6113B8b853CfC01CBa1A94e87
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000002af2666bea6ef3f6113b8b853cfc01cba1a94e87
Loading...
Loading
Loading...
Loading
OVERVIEW
The vision of WFCA is to create a blockchain-driven digital economic circle, realize the deep integration of the digital world and the physical world.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.