Source Code
Overview
MON Balance
MON Value
$0.00| Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
|---|---|---|---|---|---|---|---|---|---|
Advanced mode: Intended for advanced users or developers and will display all Internal Transactions including zero value transfers.
Latest 25 internal transactions (View All)
Advanced mode:
| Parent Transaction Hash | Block | From | To | ||||
|---|---|---|---|---|---|---|---|
| 51490684 | 17 mins ago | 0 MON | |||||
| 51490684 | 17 mins ago | 0 MON | |||||
| 51490684 | 17 mins ago | 0 MON | |||||
| 51488729 | 30 mins ago | 0 MON | |||||
| 51488729 | 30 mins ago | 0 MON | |||||
| 51488729 | 30 mins ago | 0 MON | |||||
| 51488729 | 30 mins ago | 0 MON | |||||
| 51488700 | 30 mins ago | 0 MON | |||||
| 51488700 | 30 mins ago | 0 MON | |||||
| 51488700 | 30 mins ago | 0 MON | |||||
| 51488700 | 30 mins ago | 0 MON | |||||
| 51488640 | 31 mins ago | 0 MON | |||||
| 51488640 | 31 mins ago | 0 MON | |||||
| 51488640 | 31 mins ago | 0 MON | |||||
| 51488640 | 31 mins ago | 0 MON | |||||
| 51488605 | 31 mins ago | 0 MON | |||||
| 51488605 | 31 mins ago | 0 MON | |||||
| 51488605 | 31 mins ago | 0 MON | |||||
| 51488605 | 31 mins ago | 0 MON | |||||
| 51488605 | 31 mins ago | 0 MON | |||||
| 51488605 | 31 mins ago | 0 MON | |||||
| 51483453 | 1 hr ago | 0 MON | |||||
| 51483453 | 1 hr ago | 0 MON | |||||
| 51483453 | 1 hr ago | 0 MON | |||||
| 51483453 | 1 hr ago | 0 MON |
Loading...
Loading
Contract Name:
DeBridgeToken
Compiler Version
v0.8.28+commit.7893614a
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: BUSL-1.1
pragma solidity ^0.8.7;
import "@openzeppelin/contracts-upgradeable/access/AccessControlUpgradeable.sol";
import "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol";
import "@openzeppelin/contracts-upgradeable/token/ERC20/extensions/ERC20PausableUpgradeable.sol";
import "../interfaces/IDeBridgeToken.sol";
/// @dev ERC20 token that is used as wrapped asset to represent the native token value on the other chains.
contract DeBridgeToken is
Initializable,
AccessControlUpgradeable,
ERC20PausableUpgradeable,
IDeBridgeToken
{
/// @dev Minter role identifier
bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE");
/// @dev Pauser role identifier
bytes32 public constant PAUSER_ROLE = keccak256("PAUSER_ROLE");
/// @dev Domain separator as described in [EIP-712](https://github.com/ethereum/EIPs/blob/master/EIPS/eip-712.md#rationale)
bytes32 public DOMAIN_SEPARATOR;
/// @dev Typehash as described in [EIP-712](https://github.com/ethereum/EIPs/blob/master/EIPS/eip-712.md#rationale).
/// =keccak256("Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)");
bytes32 public constant PERMIT_TYPEHASH =
0x6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9;
/// @dev Transfers counter
mapping(address => uint256) public nonces;
/// @dev Asset's decimals
uint8 internal _decimals;
/* ========== ERRORS ========== */
error MinterBadRole();
error PauserBadRole();
/* ========== MODIFIERS ========== */
modifier onlyMinter() {
if (!hasRole(MINTER_ROLE, msg.sender)) revert MinterBadRole();
_;
}
modifier onlyPauser() {
if (!hasRole(PAUSER_ROLE, msg.sender)) revert PauserBadRole();
_;
}
/// @dev Constructor that initializes the most important configurations.
/// @param name_ Asset's name.
/// @param symbol_ Asset's symbol.
/// @param decimals_ Asset's decimals.
/// @param admin Address to set as asset's admin.
/// @param minters The accounts allowed to int new tokens.
function initialize(
string memory name_,
string memory symbol_,
uint8 decimals_,
address admin,
address[] memory minters
) public initializer {
_decimals = decimals_;
name_ = bytes(name_).length == 0 ? symbol_ : name_;
__ERC20_init_unchained(name_, symbol_);
_setupRole(DEFAULT_ADMIN_ROLE, admin);
_setupRole(PAUSER_ROLE, admin);
uint256 mintersCount = minters.length;
for (uint256 i = 0; i < mintersCount; i++) {
_setupRole(MINTER_ROLE, minters[i]);
}
uint256 chainId;
assembly {
chainId := chainid()
}
DOMAIN_SEPARATOR = keccak256(
abi.encode(
keccak256(
"EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)"
),
keccak256(bytes(name_)),
keccak256(bytes("1")),
chainId,
address(this)
)
);
}
/// @inheritdoc IDeBridgeToken
function mint(address _receiver, uint256 _amount) external override onlyMinter {
_mint(_receiver, _amount);
}
/// @inheritdoc IDeBridgeToken
function burn(uint256 _amount) external override onlyMinter {
_burn(msg.sender, _amount);
}
/// @dev Approves the spender by signature.
/// @param _owner Token's owner.
/// @param _spender Account to be approved.
/// @param _value Amount to be approved.
/// @param _deadline The permit valid until.
/// @param _v Signature part.
/// @param _r Signature part.
/// @param _s Signature part.
function permit(
address _owner,
address _spender,
uint256 _value,
uint256 _deadline,
uint8 _v,
bytes32 _r,
bytes32 _s
) external override {
require(_deadline >= block.timestamp, "permit: EXPIRED");
bytes32 digest = keccak256(
abi.encodePacked(
"\x19\x01",
DOMAIN_SEPARATOR,
keccak256(
abi.encode(
PERMIT_TYPEHASH,
_owner,
_spender,
_value,
nonces[_owner]++,
_deadline
)
)
)
);
address recoveredAddress = ecrecover(digest, _v, _r, _s);
require(
recoveredAddress != address(0) && recoveredAddress == _owner,
"permit: invalid signature"
);
_approve(_owner, _spender, _value);
}
/// @dev Asset's decimals
function decimals() public view override returns (uint8) {
return _decimals;
}
/// @dev Pauses all token transfers. The caller must have the `PAUSER_ROLE`.
function pause() public onlyPauser {
_pause();
}
/// @dev Unpauses all token transfers. The caller must have the `PAUSER_ROLE`.
function unpause() public onlyPauser {
_unpause();
}
function _beforeTokenTransfer(
address from,
address to,
uint256 amount
) internal virtual override {
super._beforeTokenTransfer(from, to, amount);
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (access/AccessControl.sol)
pragma solidity ^0.8.0;
import "./IAccessControlUpgradeable.sol";
import "../utils/ContextUpgradeable.sol";
import "../utils/StringsUpgradeable.sol";
import "../utils/introspection/ERC165Upgradeable.sol";
import "../proxy/utils/Initializable.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 AccessControlUpgradeable is Initializable, ContextUpgradeable, IAccessControlUpgradeable, ERC165Upgradeable {
function __AccessControl_init() internal initializer {
__Context_init_unchained();
__ERC165_init_unchained();
__AccessControl_init_unchained();
}
function __AccessControl_init_unchained() internal initializer {
}
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, _msgSender());
_;
}
/**
* @dev See {IERC165-supportsInterface}.
*/
function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
return interfaceId == type(IAccessControlUpgradeable).interfaceId || super.supportsInterface(interfaceId);
}
/**
* @dev Returns `true` if `account` has been granted `role`.
*/
function hasRole(bytes32 role, address account) public view override returns (bool) {
return _roles[role].members[account];
}
/**
* @dev 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 {
if (!hasRole(role, account)) {
revert(
string(
abi.encodePacked(
"AccessControl: account ",
StringsUpgradeable.toHexString(uint160(account), 20),
" is missing role ",
StringsUpgradeable.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 override returns (bytes32) {
return _roles[role].adminRole;
}
/**
* @dev Grants `role` to `account`.
*
* If `account` had not been already granted `role`, emits a {RoleGranted}
* event.
*
* Requirements:
*
* - the caller must have ``role``'s admin role.
*/
function grantRole(bytes32 role, address account) public virtual override 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.
*/
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`.
*/
function renounceRole(bytes32 role, address account) public virtual override {
require(account == _msgSender(), "AccessControl: can only renounce roles for self");
_revokeRole(role, account);
}
/**
* @dev Grants `role` to `account`.
*
* If `account` had not been already granted `role`, emits a {RoleGranted}
* event. Note that unlike {grantRole}, this function doesn't perform any
* checks on the calling account.
*
* [WARNING]
* ====
* This function should only be called from the constructor when setting
* up the initial roles for the system.
*
* Using this function in any other way is effectively circumventing the admin
* system imposed by {AccessControl}.
* ====
*
* 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.
*/
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.
*/
function _revokeRole(bytes32 role, address account) internal virtual {
if (hasRole(role, account)) {
_roles[role].members[account] = false;
emit RoleRevoked(role, account, _msgSender());
}
}
uint256[49] private __gap;
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (proxy/utils/Initializable.sol)
pragma solidity ^0.8.0;
/**
* @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed
* behind a proxy. Since a proxied contract can't have a constructor, it's common to move constructor logic to an
* external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer
* function so it can only be called once. The {initializer} modifier provided by this contract will have this effect.
*
* TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as
* possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}.
*
* CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure
* that all initializers are idempotent. This is not verified automatically as constructors are by Solidity.
*
* [CAUTION]
* ====
* Avoid leaving a contract uninitialized.
*
* An uninitialized contract can be taken over by an attacker. This applies to both a proxy and its implementation
* contract, which may impact the proxy. To initialize the implementation contract, you can either invoke the
* initializer manually, or you can include a constructor to automatically mark it as initialized when it is deployed:
*
* [.hljs-theme-light.nopadding]
* ```
* /// @custom:oz-upgrades-unsafe-allow constructor
* constructor() initializer {}
* ```
* ====
*/
abstract contract Initializable {
/**
* @dev Indicates that the contract has been initialized.
*/
bool private _initialized;
/**
* @dev Indicates that the contract is in the process of being initialized.
*/
bool private _initializing;
/**
* @dev Modifier to protect an initializer function from being invoked twice.
*/
modifier initializer() {
require(_initializing || !_initialized, "Initializable: contract is already initialized");
bool isTopLevelCall = !_initializing;
if (isTopLevelCall) {
_initializing = true;
_initialized = true;
}
_;
if (isTopLevelCall) {
_initializing = false;
}
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (token/ERC20/extensions/ERC20Pausable.sol)
pragma solidity ^0.8.0;
import "../ERC20Upgradeable.sol";
import "../../../security/PausableUpgradeable.sol";
import "../../../proxy/utils/Initializable.sol";
/**
* @dev ERC20 token with pausable token transfers, minting and burning.
*
* Useful for scenarios such as preventing trades until the end of an evaluation
* period, or having an emergency switch for freezing all token transfers in the
* event of a large bug.
*/
abstract contract ERC20PausableUpgradeable is Initializable, ERC20Upgradeable, PausableUpgradeable {
function __ERC20Pausable_init() internal initializer {
__Context_init_unchained();
__Pausable_init_unchained();
__ERC20Pausable_init_unchained();
}
function __ERC20Pausable_init_unchained() internal initializer {
}
/**
* @dev See {ERC20-_beforeTokenTransfer}.
*
* Requirements:
*
* - the contract must not be paused.
*/
function _beforeTokenTransfer(
address from,
address to,
uint256 amount
) internal virtual override {
super._beforeTokenTransfer(from, to, amount);
require(!paused(), "ERC20Pausable: token transfer while paused");
}
uint256[50] private __gap;
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.7;
import "@openzeppelin/contracts-upgradeable/token/ERC20/IERC20Upgradeable.sol";
import "../interfaces/IERC20Permit.sol";
interface IDeBridgeToken is IERC20Upgradeable, IERC20Permit {
/// @dev Issues new tokens.
/// @param _receiver Token's receiver.
/// @param _amount Amount to be minted.
function mint(address _receiver, uint256 _amount) external;
/// @dev Destroys existing tokens.
/// @param _amount Amount to be burnt.
function burn(uint256 _amount) external;
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (access/IAccessControl.sol)
pragma solidity ^0.8.0;
/**
* @dev External interface of AccessControl declared to support ERC165 detection.
*/
interface IAccessControlUpgradeable {
/**
* @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 v4.4.0 (utils/Context.sol)
pragma solidity ^0.8.0;
import "../proxy/utils/Initializable.sol";
/**
* @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 ContextUpgradeable is Initializable {
function __Context_init() internal initializer {
__Context_init_unchained();
}
function __Context_init_unchained() internal initializer {
}
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes calldata) {
return msg.data;
}
uint256[50] private __gap;
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (utils/Strings.sol)
pragma solidity ^0.8.0;
/**
* @dev String operations.
*/
library StringsUpgradeable {
bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";
/**
* @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);
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (utils/introspection/ERC165.sol)
pragma solidity ^0.8.0;
import "./IERC165Upgradeable.sol";
import "../../proxy/utils/Initializable.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 ERC165Upgradeable is Initializable, IERC165Upgradeable {
function __ERC165_init() internal initializer {
__ERC165_init_unchained();
}
function __ERC165_init_unchained() internal initializer {
}
/**
* @dev See {IERC165-supportsInterface}.
*/
function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
return interfaceId == type(IERC165Upgradeable).interfaceId;
}
uint256[50] private __gap;
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (token/ERC20/ERC20.sol)
pragma solidity ^0.8.0;
import "./IERC20Upgradeable.sol";
import "./extensions/IERC20MetadataUpgradeable.sol";
import "../../utils/ContextUpgradeable.sol";
import "../../proxy/utils/Initializable.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 ERC20Upgradeable is Initializable, ContextUpgradeable, IERC20Upgradeable, IERC20MetadataUpgradeable {
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.
*/
function __ERC20_init(string memory name_, string memory symbol_) internal initializer {
__Context_init_unchained();
__ERC20_init_unchained(name_, symbol_);
}
function __ERC20_init_unchained(string memory name_, string memory symbol_) internal initializer {
_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:
*
* - `recipient` cannot be the zero address.
* - the caller must have a balance of at least `amount`.
*/
function transfer(address recipient, uint256 amount) public virtual override returns (bool) {
_transfer(_msgSender(), recipient, amount);
return true;
}
/**
* @dev See {IERC20-allowance}.
*/
function allowance(address owner, address spender) public view virtual override returns (uint256) {
return _allowances[owner][spender];
}
/**
* @dev See {IERC20-approve}.
*
* Requirements:
*
* - `spender` cannot be the zero address.
*/
function approve(address spender, uint256 amount) public virtual override returns (bool) {
_approve(_msgSender(), spender, amount);
return true;
}
/**
* @dev See {IERC20-transferFrom}.
*
* Emits an {Approval} event indicating the updated allowance. This is not
* required by the EIP. See the note at the beginning of {ERC20}.
*
* Requirements:
*
* - `sender` and `recipient` cannot be the zero address.
* - `sender` must have a balance of at least `amount`.
* - the caller must have allowance for ``sender``'s tokens of at least
* `amount`.
*/
function transferFrom(
address sender,
address recipient,
uint256 amount
) public virtual override returns (bool) {
_transfer(sender, recipient, amount);
uint256 currentAllowance = _allowances[sender][_msgSender()];
require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance");
unchecked {
_approve(sender, _msgSender(), currentAllowance - amount);
}
return true;
}
/**
* @dev Atomically increases the allowance granted to `spender` by the caller.
*
* This is an alternative to {approve} that can be used as a mitigation for
* problems described in {IERC20-approve}.
*
* Emits an {Approval} event indicating the updated allowance.
*
* Requirements:
*
* - `spender` cannot be the zero address.
*/
function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
_approve(_msgSender(), spender, _allowances[_msgSender()][spender] + addedValue);
return true;
}
/**
* @dev Atomically decreases the allowance granted to `spender` by the caller.
*
* This is an alternative to {approve} that can be used as a mitigation for
* problems described in {IERC20-approve}.
*
* Emits an {Approval} event indicating the updated allowance.
*
* Requirements:
*
* - `spender` cannot be the zero address.
* - `spender` must have allowance for the caller of at least
* `subtractedValue`.
*/
function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
uint256 currentAllowance = _allowances[_msgSender()][spender];
require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
unchecked {
_approve(_msgSender(), spender, currentAllowance - subtractedValue);
}
return true;
}
/**
* @dev Moves `amount` of tokens from `sender` to `recipient`.
*
* 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:
*
* - `sender` cannot be the zero address.
* - `recipient` cannot be the zero address.
* - `sender` must have a balance of at least `amount`.
*/
function _transfer(
address sender,
address recipient,
uint256 amount
) internal virtual {
require(sender != address(0), "ERC20: transfer from the zero address");
require(recipient != address(0), "ERC20: transfer to the zero address");
_beforeTokenTransfer(sender, recipient, amount);
uint256 senderBalance = _balances[sender];
require(senderBalance >= amount, "ERC20: transfer amount exceeds balance");
unchecked {
_balances[sender] = senderBalance - amount;
}
_balances[recipient] += amount;
emit Transfer(sender, recipient, amount);
_afterTokenTransfer(sender, recipient, amount);
}
/** @dev Creates `amount` tokens and assigns them to `account`, increasing
* the total supply.
*
* Emits a {Transfer} event with `from` set to the zero address.
*
* Requirements:
*
* - `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 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 {}
uint256[45] private __gap;
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (security/Pausable.sol)
pragma solidity ^0.8.0;
import "../utils/ContextUpgradeable.sol";
import "../proxy/utils/Initializable.sol";
/**
* @dev Contract module which allows children to implement an emergency stop
* mechanism that can be triggered by an authorized account.
*
* This module is used through inheritance. It will make available the
* modifiers `whenNotPaused` and `whenPaused`, which can be applied to
* the functions of your contract. Note that they will not be pausable by
* simply including this module, only once the modifiers are put in place.
*/
abstract contract PausableUpgradeable is Initializable, ContextUpgradeable {
/**
* @dev Emitted when the pause is triggered by `account`.
*/
event Paused(address account);
/**
* @dev Emitted when the pause is lifted by `account`.
*/
event Unpaused(address account);
bool private _paused;
/**
* @dev Initializes the contract in unpaused state.
*/
function __Pausable_init() internal initializer {
__Context_init_unchained();
__Pausable_init_unchained();
}
function __Pausable_init_unchained() internal initializer {
_paused = false;
}
/**
* @dev Returns true if the contract is paused, and false otherwise.
*/
function paused() public view virtual returns (bool) {
return _paused;
}
/**
* @dev Modifier to make a function callable only when the contract is not paused.
*
* Requirements:
*
* - The contract must not be paused.
*/
modifier whenNotPaused() {
require(!paused(), "Pausable: paused");
_;
}
/**
* @dev Modifier to make a function callable only when the contract is paused.
*
* Requirements:
*
* - The contract must be paused.
*/
modifier whenPaused() {
require(paused(), "Pausable: not paused");
_;
}
/**
* @dev Triggers stopped state.
*
* Requirements:
*
* - The contract must not be paused.
*/
function _pause() internal virtual whenNotPaused {
_paused = true;
emit Paused(_msgSender());
}
/**
* @dev Returns to normal state.
*
* Requirements:
*
* - The contract must be paused.
*/
function _unpause() internal virtual whenPaused {
_paused = false;
emit Unpaused(_msgSender());
}
uint256[49] private __gap;
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (token/ERC20/IERC20.sol)
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
interface IERC20Upgradeable {
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the amount of tokens owned by `account`.
*/
function balanceOf(address account) external view returns (uint256);
/**
* @dev Moves `amount` tokens from the caller's account to `recipient`.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transfer(address recipient, uint256 amount) external returns (bool);
/**
* @dev Returns the remaining number of tokens that `spender` will be
* allowed to spend on behalf of `owner` through {transferFrom}. This is
* zero by default.
*
* This value changes when {approve} or {transferFrom} are called.
*/
function allowance(address owner, address spender) external view returns (uint256);
/**
* @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* IMPORTANT: Beware that changing an allowance with this method brings the risk
* that someone may use both the old and the new allowance by unfortunate
* transaction ordering. One possible solution to mitigate this race
* condition is to first reduce the spender's allowance to 0 and set the
* desired value afterwards:
* https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
*
* Emits an {Approval} event.
*/
function approve(address spender, uint256 amount) external returns (bool);
/**
* @dev Moves `amount` tokens from `sender` to `recipient` using the
* allowance mechanism. `amount` is then deducted from the caller's
* allowance.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transferFrom(
address sender,
address recipient,
uint256 amount
) external returns (bool);
/**
* @dev Emitted when `value` tokens are moved from one account (`from`) to
* another (`to`).
*
* Note that `value` may be zero.
*/
event Transfer(address indexed from, address indexed to, uint256 value);
/**
* @dev Emitted when the allowance of a `spender` for an `owner` is set by
* a call to {approve}. `value` is the new allowance.
*/
event Approval(address indexed owner, address indexed spender, uint256 value);
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.7;
/**
* @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in
* https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].
*
* Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by
* presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't
* need to send a transaction, and thus is not required to hold Ether at all.
*/
interface IERC20Permit {
/**
* @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens,
* given ``owner``'s signed approval.
*
* IMPORTANT: The same issues {IERC20-approve} has related to transaction
* ordering also apply here.
*
* Emits an {Approval} event.
*
* Requirements:
*
* - `spender` cannot be the zero address.
* - `deadline` must be a timestamp in the future.
* - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`
* over the EIP712-formatted function arguments.
* - the signature must use ``owner``'s current nonce (see {nonces}).
*
* For more information on the signature format, see the
* https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP
* section].
*/
function permit(
address owner,
address spender,
uint256 value,
uint256 deadline,
uint8 v,
bytes32 r,
bytes32 s
) external;
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (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 IERC165Upgradeable {
/**
* @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);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (token/ERC20/extensions/IERC20Metadata.sol)
pragma solidity ^0.8.0;
import "../IERC20Upgradeable.sol";
/**
* @dev Interface for the optional metadata functions from the ERC20 standard.
*
* _Available since v4.1._
*/
interface IERC20MetadataUpgradeable is IERC20Upgradeable {
/**
* @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);
}{
"optimizer": {
"enabled": true,
"runs": 200
},
"evmVersion": "paris",
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"abi"
]
}
}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[],"name":"MinterBadRole","type":"error"},{"inputs":[],"name":"PauserBadRole","type":"error"},{"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":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINTER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PAUSER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PERMIT_TYPEHASH","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":"uint256","name":"_amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"},{"internalType":"uint8","name":"decimals_","type":"uint8"},{"internalType":"address","name":"admin","type":"address"},{"internalType":"address[]","name":"minters","type":"address[]"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_receiver","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"address","name":"_spender","type":"address"},{"internalType":"uint256","name":"_value","type":"uint256"},{"internalType":"uint256","name":"_deadline","type":"uint256"},{"internalType":"uint8","name":"_v","type":"uint8"},{"internalType":"bytes32","name":"_r","type":"bytes32"},{"internalType":"bytes32","name":"_s","type":"bytes32"}],"name":"permit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"}]Contract Creation Code
6080604052348015600f57600080fd5b50611dec8061001f6000396000f3fe608060405234801561001057600080fd5b50600436106101da5760003560e01c80635471a50411610104578063a217fddf116100a2578063d539139311610071578063d5391393146103f3578063d547741f14610408578063dd62ed3e1461041b578063e63ab1e91461045457600080fd5b8063a217fddf146103b2578063a457c2d7146103ba578063a9059cbb146103cd578063d505accf146103e057600080fd5b80637ecebe00116100de5780637ecebe001461036e5780638456cb591461038f57806391d148541461039757806395d89b41146103aa57600080fd5b80635471a504146103275780635c975abb1461033a57806370a082311461034557600080fd5b806330adf81f1161017c578063395093511161014b57806339509351146102e65780633f4ba83a146102f957806340c10f191461030157806342966c681461031457600080fd5b806330adf81f1461028c578063313ce567146102b35780633644e515146102c957806336568abe146102d357600080fd5b806318160ddd116101b857806318160ddd1461022f57806323b872dd14610241578063248a9ca3146102545780632f2ff15d1461027757600080fd5b806301ffc9a7146101df57806306fdde0314610207578063095ea7b31461021c575b600080fd5b6101f26101ed3660046116e3565b610469565b60405190151581526020015b60405180910390f35b61020f6104a0565b6040516101fe9190611731565b6101f261022a366004611780565b610532565b6099545b6040519081526020016101fe565b6101f261024f3660046117aa565b610548565b6102336102623660046117e7565b60009081526065602052604090206001015490565b61028a610285366004611800565b6105f7565b005b6102337f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c981565b61012f5460405160ff90911681526020016101fe565b61023361012d5481565b61028a6102e1366004611800565b610622565b6101f26102f4366004611780565b6106a0565b61028a6106dc565b61028a61030f366004611780565b61071b565b61028a6103223660046117e7565b61075a565b61028a6103353660046118f4565b61079c565b60c95460ff166101f2565b610233610353366004611a23565b6001600160a01b031660009081526097602052604090205490565b61023361037c366004611a23565b61012e6020526000908152604090205481565b61028a610946565b6101f26103a5366004611800565b610983565b61020f6109ae565b610233600081565b6101f26103c8366004611780565b6109bd565b6101f26103db366004611780565b610a56565b61028a6103ee366004611a3e565b610a63565b610233600080516020611d9783398151915281565b61028a610416366004611800565b610c76565b610233610429366004611aa9565b6001600160a01b03918216600090815260986020908152604080832093909416825291909152205490565b610233600080516020611d7783398151915281565b60006001600160e01b03198216637965db0b60e01b148061049a57506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060609a80546104af90611ad3565b80601f01602080910402602001604051908101604052809291908181526020018280546104db90611ad3565b80156105285780601f106104fd57610100808354040283529160200191610528565b820191906000526020600020905b81548152906001019060200180831161050b57829003601f168201915b5050505050905090565b600061053f338484610c9c565b50600192915050565b6000610555848484610dc0565b6001600160a01b0384166000908152609860209081526040808320338452909152902054828110156105df5760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b6105ec8533858403610c9c565b506001949350505050565b6000828152606560205260409020600101546106138133610f9a565b61061d8383610ffe565b505050565b6001600160a01b03811633146106925760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084016105d6565b61069c8282611084565b5050565b3360008181526098602090815260408083206001600160a01b0387168452909152812054909161053f9185906106d7908690611b23565b610c9c565b6106f4600080516020611d7783398151915233610983565b61071157604051634794afc360e11b815260040160405180910390fd5b6107196110eb565b565b610733600080516020611d9783398151915233610983565b61075057604051630b21270760e21b815260040160405180910390fd5b61069c828261117e565b610772600080516020611d9783398151915233610983565b61078f57604051630b21270760e21b815260040160405180910390fd5b6107993382611269565b50565b600054610100900460ff16806107b5575060005460ff16155b6107d15760405162461bcd60e51b81526004016105d690611b36565b600054610100900460ff161580156107f3576000805461ffff19166101011790555b61012f805460ff191660ff86161790558551156108105785610812565b845b955061081e86866113c3565b61082960008461144a565b610841600080516020611d778339815191528461144a565b815160005b818110156108875761087f600080516020611d9783398151915285838151811061087257610872611b84565b602002602001015161144a565b600101610846565b50865160208089019190912060408051808201825260018152603160f81b9084015280517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f938101939093528201527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc6606082015246608082018190523060a08301529060c00160408051601f19818403018152919052805160209091012061012d555050801561093e576000805461ff00191690555b505050505050565b61095e600080516020611d7783398151915233610983565b61097b57604051634794afc360e11b815260040160405180910390fd5b610719611454565b60009182526065602090815260408084206001600160a01b0393909316845291905290205460ff1690565b6060609b80546104af90611ad3565b3360009081526098602090815260408083206001600160a01b038616845290915281205482811015610a3f5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016105d6565b610a4c3385858403610c9c565b5060019392505050565b600061053f338484610dc0565b42841015610aa55760405162461bcd60e51b815260206004820152600f60248201526e1c195c9b5a5d0e8811561412549151608a1b60448201526064016105d6565b61012d546001600160a01b038816600090815261012e6020526040812080549192917f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9918b918b918b919087610afa83611b9a565b909155506040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810187905260e00160405160208183030381529060405280519060200120604051602001610b7392919061190160f01b81526002810192909252602282015260420190565b60408051601f198184030181528282528051602091820120600080855291840180845281905260ff88169284019290925260608301869052608083018590529092509060019060a0016020604051602081039080840390855afa158015610bde573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b03811615801590610c145750886001600160a01b0316816001600160a01b0316145b610c605760405162461bcd60e51b815260206004820152601960248201527f7065726d69743a20696e76616c6964207369676e61747572650000000000000060448201526064016105d6565b610c6b898989610c9c565b505050505050505050565b600082815260656020526040902060010154610c928133610f9a565b61061d8383611084565b6001600160a01b038316610cfe5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016105d6565b6001600160a01b038216610d5f5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016105d6565b6001600160a01b0383811660008181526098602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610e245760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016105d6565b6001600160a01b038216610e865760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016105d6565b610e918383836114cf565b6001600160a01b03831660009081526097602052604090205481811015610f095760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016105d6565b6001600160a01b03808516600090815260976020526040808220858503905591851681529081208054849290610f40908490611b23565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610f8c91815260200190565b60405180910390a350505050565b610fa48282610983565b61069c57610fbc816001600160a01b031660146114da565b610fc78360206114da565b604051602001610fd8929190611bb3565b60408051601f198184030181529082905262461bcd60e51b82526105d691600401611731565b6110088282610983565b61069c5760008281526065602090815260408083206001600160a01b03851684529091529020805460ff191660011790556110403390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b61108e8282610983565b1561069c5760008281526065602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b60c95460ff166111345760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b60448201526064016105d6565b60c9805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b6001600160a01b0382166111d45760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016105d6565b6111e0600083836114cf565b80609960008282546111f29190611b23565b90915550506001600160a01b0382166000908152609760205260408120805483929061121f908490611b23565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6001600160a01b0382166112c95760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016105d6565b6112d5826000836114cf565b6001600160a01b038216600090815260976020526040902054818110156113495760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016105d6565b6001600160a01b0383166000908152609760205260408120838303905560998054849290611378908490611c28565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b600054610100900460ff16806113dc575060005460ff16155b6113f85760405162461bcd60e51b81526004016105d690611b36565b600054610100900460ff1615801561141a576000805461ffff19166101011790555b609a6114268482611c89565b50609b6114338382611c89565b50801561061d576000805461ff0019169055505050565b61069c8282610ffe565b60c95460ff161561149a5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b60448201526064016105d6565b60c9805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586111613390565b61061d83838361167d565b606060006114e9836002611d48565b6114f4906002611b23565b67ffffffffffffffff81111561150c5761150c61182c565b6040519080825280601f01601f191660200182016040528015611536576020820181803683370190505b509050600360fc1b8160008151811061155157611551611b84565b60200101906001600160f81b031916908160001a905350600f60fb1b8160018151811061158057611580611b84565b60200101906001600160f81b031916908160001a90535060006115a4846002611d48565b6115af906001611b23565b90505b6001811115611627576f181899199a1a9b1b9c1cb0b131b232b360811b85600f16601081106115e3576115e3611b84565b1a60f81b8282815181106115f9576115f9611b84565b60200101906001600160f81b031916908160001a90535060049490941c9361162081611d5f565b90506115b2565b5083156116765760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016105d6565b9392505050565b60c95460ff161561061d5760405162461bcd60e51b815260206004820152602a60248201527f45524332305061757361626c653a20746f6b656e207472616e736665722077686044820152691a5b19481c185d5cd95960b21b60648201526084016105d6565b6000602082840312156116f557600080fd5b81356001600160e01b03198116811461167657600080fd5b60005b83811015611728578181015183820152602001611710565b50506000910152565b602081526000825180602084015261175081604085016020870161170d565b601f01601f19169190910160400192915050565b80356001600160a01b038116811461177b57600080fd5b919050565b6000806040838503121561179357600080fd5b61179c83611764565b946020939093013593505050565b6000806000606084860312156117bf57600080fd5b6117c884611764565b92506117d660208501611764565b929592945050506040919091013590565b6000602082840312156117f957600080fd5b5035919050565b6000806040838503121561181357600080fd5b8235915061182360208401611764565b90509250929050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561186b5761186b61182c565b604052919050565b600082601f83011261188457600080fd5b813567ffffffffffffffff81111561189e5761189e61182c565b6118b1601f8201601f1916602001611842565b8181528460208386010111156118c657600080fd5b816020850160208301376000918101602001919091529392505050565b803560ff8116811461177b57600080fd5b600080600080600060a0868803121561190c57600080fd5b853567ffffffffffffffff81111561192357600080fd5b61192f88828901611873565b955050602086013567ffffffffffffffff81111561194c57600080fd5b61195888828901611873565b945050611967604087016118e3565b925061197560608701611764565b9150608086013567ffffffffffffffff81111561199157600080fd5b8601601f810188136119a257600080fd5b803567ffffffffffffffff8111156119bc576119bc61182c565b8060051b6119cc60208201611842565b9182526020818401810192908101908b8411156119e857600080fd5b6020850194505b83851015611a1157611a0085611764565b8252602094850194909101906119ef565b80955050505050509295509295909350565b600060208284031215611a3557600080fd5b61167682611764565b600080600080600080600060e0888a031215611a5957600080fd5b611a6288611764565b9650611a7060208901611764565b95506040880135945060608801359350611a8c608089016118e3565b9699959850939692959460a0840135945060c09093013592915050565b60008060408385031215611abc57600080fd5b611ac583611764565b915061182360208401611764565b600181811c90821680611ae757607f821691505b602082108103611b0757634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561049a5761049a611b0d565b6020808252602e908201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160408201526d191e481a5b9a5d1a585b1a5e995960921b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b600060018201611bac57611bac611b0d565b5060010190565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351611beb81601785016020880161170d565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351611c1c81602884016020880161170d565b01602801949350505050565b8181038181111561049a5761049a611b0d565b601f82111561061d57806000526020600020601f840160051c81016020851015611c625750805b601f840160051c820191505b81811015611c825760008155600101611c6e565b5050505050565b815167ffffffffffffffff811115611ca357611ca361182c565b611cb781611cb18454611ad3565b84611c3b565b6020601f821160018114611ceb5760008315611cd35750848201515b600019600385901b1c1916600184901b178455611c82565b600084815260208120601f198516915b82811015611d1b5787850151825560209485019460019092019101611cfb565b5084821015611d395786840151600019600387901b60f8161c191681555b50505050600190811b01905550565b808202811582820484141761049a5761049a611b0d565b600081611d6e57611d6e611b0d565b50600019019056fe65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6a2646970667358221220f99b41119f82dbbd186474454d18c5f38f5067715c2901396d592b4eaff2177b64736f6c634300081c0033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101da5760003560e01c80635471a50411610104578063a217fddf116100a2578063d539139311610071578063d5391393146103f3578063d547741f14610408578063dd62ed3e1461041b578063e63ab1e91461045457600080fd5b8063a217fddf146103b2578063a457c2d7146103ba578063a9059cbb146103cd578063d505accf146103e057600080fd5b80637ecebe00116100de5780637ecebe001461036e5780638456cb591461038f57806391d148541461039757806395d89b41146103aa57600080fd5b80635471a504146103275780635c975abb1461033a57806370a082311461034557600080fd5b806330adf81f1161017c578063395093511161014b57806339509351146102e65780633f4ba83a146102f957806340c10f191461030157806342966c681461031457600080fd5b806330adf81f1461028c578063313ce567146102b35780633644e515146102c957806336568abe146102d357600080fd5b806318160ddd116101b857806318160ddd1461022f57806323b872dd14610241578063248a9ca3146102545780632f2ff15d1461027757600080fd5b806301ffc9a7146101df57806306fdde0314610207578063095ea7b31461021c575b600080fd5b6101f26101ed3660046116e3565b610469565b60405190151581526020015b60405180910390f35b61020f6104a0565b6040516101fe9190611731565b6101f261022a366004611780565b610532565b6099545b6040519081526020016101fe565b6101f261024f3660046117aa565b610548565b6102336102623660046117e7565b60009081526065602052604090206001015490565b61028a610285366004611800565b6105f7565b005b6102337f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c981565b61012f5460405160ff90911681526020016101fe565b61023361012d5481565b61028a6102e1366004611800565b610622565b6101f26102f4366004611780565b6106a0565b61028a6106dc565b61028a61030f366004611780565b61071b565b61028a6103223660046117e7565b61075a565b61028a6103353660046118f4565b61079c565b60c95460ff166101f2565b610233610353366004611a23565b6001600160a01b031660009081526097602052604090205490565b61023361037c366004611a23565b61012e6020526000908152604090205481565b61028a610946565b6101f26103a5366004611800565b610983565b61020f6109ae565b610233600081565b6101f26103c8366004611780565b6109bd565b6101f26103db366004611780565b610a56565b61028a6103ee366004611a3e565b610a63565b610233600080516020611d9783398151915281565b61028a610416366004611800565b610c76565b610233610429366004611aa9565b6001600160a01b03918216600090815260986020908152604080832093909416825291909152205490565b610233600080516020611d7783398151915281565b60006001600160e01b03198216637965db0b60e01b148061049a57506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060609a80546104af90611ad3565b80601f01602080910402602001604051908101604052809291908181526020018280546104db90611ad3565b80156105285780601f106104fd57610100808354040283529160200191610528565b820191906000526020600020905b81548152906001019060200180831161050b57829003601f168201915b5050505050905090565b600061053f338484610c9c565b50600192915050565b6000610555848484610dc0565b6001600160a01b0384166000908152609860209081526040808320338452909152902054828110156105df5760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b6105ec8533858403610c9c565b506001949350505050565b6000828152606560205260409020600101546106138133610f9a565b61061d8383610ffe565b505050565b6001600160a01b03811633146106925760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084016105d6565b61069c8282611084565b5050565b3360008181526098602090815260408083206001600160a01b0387168452909152812054909161053f9185906106d7908690611b23565b610c9c565b6106f4600080516020611d7783398151915233610983565b61071157604051634794afc360e11b815260040160405180910390fd5b6107196110eb565b565b610733600080516020611d9783398151915233610983565b61075057604051630b21270760e21b815260040160405180910390fd5b61069c828261117e565b610772600080516020611d9783398151915233610983565b61078f57604051630b21270760e21b815260040160405180910390fd5b6107993382611269565b50565b600054610100900460ff16806107b5575060005460ff16155b6107d15760405162461bcd60e51b81526004016105d690611b36565b600054610100900460ff161580156107f3576000805461ffff19166101011790555b61012f805460ff191660ff86161790558551156108105785610812565b845b955061081e86866113c3565b61082960008461144a565b610841600080516020611d778339815191528461144a565b815160005b818110156108875761087f600080516020611d9783398151915285838151811061087257610872611b84565b602002602001015161144a565b600101610846565b50865160208089019190912060408051808201825260018152603160f81b9084015280517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f938101939093528201527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc6606082015246608082018190523060a08301529060c00160408051601f19818403018152919052805160209091012061012d555050801561093e576000805461ff00191690555b505050505050565b61095e600080516020611d7783398151915233610983565b61097b57604051634794afc360e11b815260040160405180910390fd5b610719611454565b60009182526065602090815260408084206001600160a01b0393909316845291905290205460ff1690565b6060609b80546104af90611ad3565b3360009081526098602090815260408083206001600160a01b038616845290915281205482811015610a3f5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016105d6565b610a4c3385858403610c9c565b5060019392505050565b600061053f338484610dc0565b42841015610aa55760405162461bcd60e51b815260206004820152600f60248201526e1c195c9b5a5d0e8811561412549151608a1b60448201526064016105d6565b61012d546001600160a01b038816600090815261012e6020526040812080549192917f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9918b918b918b919087610afa83611b9a565b909155506040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810187905260e00160405160208183030381529060405280519060200120604051602001610b7392919061190160f01b81526002810192909252602282015260420190565b60408051601f198184030181528282528051602091820120600080855291840180845281905260ff88169284019290925260608301869052608083018590529092509060019060a0016020604051602081039080840390855afa158015610bde573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b03811615801590610c145750886001600160a01b0316816001600160a01b0316145b610c605760405162461bcd60e51b815260206004820152601960248201527f7065726d69743a20696e76616c6964207369676e61747572650000000000000060448201526064016105d6565b610c6b898989610c9c565b505050505050505050565b600082815260656020526040902060010154610c928133610f9a565b61061d8383611084565b6001600160a01b038316610cfe5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016105d6565b6001600160a01b038216610d5f5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016105d6565b6001600160a01b0383811660008181526098602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610e245760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016105d6565b6001600160a01b038216610e865760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016105d6565b610e918383836114cf565b6001600160a01b03831660009081526097602052604090205481811015610f095760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016105d6565b6001600160a01b03808516600090815260976020526040808220858503905591851681529081208054849290610f40908490611b23565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610f8c91815260200190565b60405180910390a350505050565b610fa48282610983565b61069c57610fbc816001600160a01b031660146114da565b610fc78360206114da565b604051602001610fd8929190611bb3565b60408051601f198184030181529082905262461bcd60e51b82526105d691600401611731565b6110088282610983565b61069c5760008281526065602090815260408083206001600160a01b03851684529091529020805460ff191660011790556110403390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b61108e8282610983565b1561069c5760008281526065602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b60c95460ff166111345760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b60448201526064016105d6565b60c9805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b6001600160a01b0382166111d45760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016105d6565b6111e0600083836114cf565b80609960008282546111f29190611b23565b90915550506001600160a01b0382166000908152609760205260408120805483929061121f908490611b23565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6001600160a01b0382166112c95760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016105d6565b6112d5826000836114cf565b6001600160a01b038216600090815260976020526040902054818110156113495760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016105d6565b6001600160a01b0383166000908152609760205260408120838303905560998054849290611378908490611c28565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b600054610100900460ff16806113dc575060005460ff16155b6113f85760405162461bcd60e51b81526004016105d690611b36565b600054610100900460ff1615801561141a576000805461ffff19166101011790555b609a6114268482611c89565b50609b6114338382611c89565b50801561061d576000805461ff0019169055505050565b61069c8282610ffe565b60c95460ff161561149a5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b60448201526064016105d6565b60c9805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586111613390565b61061d83838361167d565b606060006114e9836002611d48565b6114f4906002611b23565b67ffffffffffffffff81111561150c5761150c61182c565b6040519080825280601f01601f191660200182016040528015611536576020820181803683370190505b509050600360fc1b8160008151811061155157611551611b84565b60200101906001600160f81b031916908160001a905350600f60fb1b8160018151811061158057611580611b84565b60200101906001600160f81b031916908160001a90535060006115a4846002611d48565b6115af906001611b23565b90505b6001811115611627576f181899199a1a9b1b9c1cb0b131b232b360811b85600f16601081106115e3576115e3611b84565b1a60f81b8282815181106115f9576115f9611b84565b60200101906001600160f81b031916908160001a90535060049490941c9361162081611d5f565b90506115b2565b5083156116765760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016105d6565b9392505050565b60c95460ff161561061d5760405162461bcd60e51b815260206004820152602a60248201527f45524332305061757361626c653a20746f6b656e207472616e736665722077686044820152691a5b19481c185d5cd95960b21b60648201526084016105d6565b6000602082840312156116f557600080fd5b81356001600160e01b03198116811461167657600080fd5b60005b83811015611728578181015183820152602001611710565b50506000910152565b602081526000825180602084015261175081604085016020870161170d565b601f01601f19169190910160400192915050565b80356001600160a01b038116811461177b57600080fd5b919050565b6000806040838503121561179357600080fd5b61179c83611764565b946020939093013593505050565b6000806000606084860312156117bf57600080fd5b6117c884611764565b92506117d660208501611764565b929592945050506040919091013590565b6000602082840312156117f957600080fd5b5035919050565b6000806040838503121561181357600080fd5b8235915061182360208401611764565b90509250929050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561186b5761186b61182c565b604052919050565b600082601f83011261188457600080fd5b813567ffffffffffffffff81111561189e5761189e61182c565b6118b1601f8201601f1916602001611842565b8181528460208386010111156118c657600080fd5b816020850160208301376000918101602001919091529392505050565b803560ff8116811461177b57600080fd5b600080600080600060a0868803121561190c57600080fd5b853567ffffffffffffffff81111561192357600080fd5b61192f88828901611873565b955050602086013567ffffffffffffffff81111561194c57600080fd5b61195888828901611873565b945050611967604087016118e3565b925061197560608701611764565b9150608086013567ffffffffffffffff81111561199157600080fd5b8601601f810188136119a257600080fd5b803567ffffffffffffffff8111156119bc576119bc61182c565b8060051b6119cc60208201611842565b9182526020818401810192908101908b8411156119e857600080fd5b6020850194505b83851015611a1157611a0085611764565b8252602094850194909101906119ef565b80955050505050509295509295909350565b600060208284031215611a3557600080fd5b61167682611764565b600080600080600080600060e0888a031215611a5957600080fd5b611a6288611764565b9650611a7060208901611764565b95506040880135945060608801359350611a8c608089016118e3565b9699959850939692959460a0840135945060c09093013592915050565b60008060408385031215611abc57600080fd5b611ac583611764565b915061182360208401611764565b600181811c90821680611ae757607f821691505b602082108103611b0757634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561049a5761049a611b0d565b6020808252602e908201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160408201526d191e481a5b9a5d1a585b1a5e995960921b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b600060018201611bac57611bac611b0d565b5060010190565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351611beb81601785016020880161170d565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351611c1c81602884016020880161170d565b01602801949350505050565b8181038181111561049a5761049a611b0d565b601f82111561061d57806000526020600020601f840160051c81016020851015611c625750805b601f840160051c820191505b81811015611c825760008155600101611c6e565b5050505050565b815167ffffffffffffffff811115611ca357611ca361182c565b611cb781611cb18454611ad3565b84611c3b565b6020601f821160018114611ceb5760008315611cd35750848201515b600019600385901b1c1916600184901b178455611c82565b600084815260208120601f198516915b82811015611d1b5787850151825560209485019460019092019101611cfb565b5084821015611d395786840151600019600387901b60f8161c191681555b50505050600190811b01905550565b808202811582820484141761049a5761049a611b0d565b600081611d6e57611d6e611b0d565b50600019019056fe65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6a2646970667358221220f99b41119f82dbbd186474454d18c5f38f5067715c2901396d592b4eaff2177b64736f6c634300081c0033
Deployed Bytecode Sourcemap
470:4971:14:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3005:213:0;;;;;;:::i;:::-;;:::i;:::-;;;470:14:15;;463:22;445:41;;433:2;418:18;3005:213:0;;;;;;;;2504:98:4;;;:::i;:::-;;;;;;;:::i;4601:166::-;;;;;;:::i;:::-;;:::i;3592:106::-;3679:12;;3592:106;;;1782:25:15;;;1770:2;1755:18;3592:106:4;1636:177:15;5234:478:4;;;;;;:::i;:::-;;:::i;4410:121:0:-;;;;;;:::i;:::-;4476:7;4502:12;;;:6;:12;;;;;:22;;;;4410:121;4781:145;;;;;;:::i;:::-;;:::i;:::-;;1200:116:14;;1250:66;1200:116;;4853:90;4927:9;;4853:90;;4927:9;;;;3057:36:15;;3045:2;3030:18;4853:90:14;2915:184:15;936:31:14;;;;;;5798:214:0;;;;;;:::i;:::-;;:::i;6107:212:4:-;;;;;;:::i;:::-;;:::i;5180:64:14:-;;;:::i;3226:121::-;;;;;;:::i;:::-;;:::i;3388:103::-;;;;;;:::i;:::-;;:::i;2144:1041::-;;;;;;:::i;:::-;;:::i;1367:84:3:-;1437:7;;;;1367:84;;3756:125:4;;;;;;:::i;:::-;-1:-1:-1;;;;;3856:18:4;3830:7;3856:18;;;:9;:18;;;;;;;3756:125;1353:41:14;;;;;;:::i;:::-;;;;;;;;;;;;;;5030:60;;;:::i;3305:137:0:-;;;;;;:::i;:::-;;:::i;2715:102:4:-;;;:::i;2412:49:0:-;;2457:4;2412:49;;6806:405:4;;;;;;:::i;:::-;;:::i;4084:172::-;;;;;;:::i;:::-;;:::i;3826:991:14:-;;;;;;:::i;:::-;;:::i;636:62::-;;-1:-1:-1;;;;;;;;;;;636:62:14;;5160:147:0;;;;;;:::i;:::-;;:::i;4314:149:4:-;;;;;;:::i;:::-;-1:-1:-1;;;;;4429:18:4;;;4403:7;4429:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;4314:149;740:62:14;;-1:-1:-1;;;;;;;;;;;740:62:14;;3005:213:0;3090:4;-1:-1:-1;;;;;;3113:58:0;;-1:-1:-1;;;3113:58:0;;:98;;-1:-1:-1;;;;;;;;;;1193:51:10;;;3175:36:0;3106:105;3005:213;-1:-1:-1;;3005:213:0:o;2504:98:4:-;2558:13;2590:5;2583:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2504:98;:::o;4601:166::-;4684:4;4700:39;955:10:8;4723:7:4;4732:6;4700:8;:39::i;:::-;-1:-1:-1;4756:4:4;4601:166;;;;:::o;5234:478::-;5370:4;5386:36;5396:6;5404:9;5415:6;5386:9;:36::i;:::-;-1:-1:-1;;;;;5460:19:4;;5433:24;5460:19;;;:11;:19;;;;;;;;955:10:8;5460:33:4;;;;;;;;5511:26;;;;5503:79;;;;-1:-1:-1;;;5503:79:4;;7853:2:15;5503:79:4;;;7835:21:15;7892:2;7872:18;;;7865:30;7931:34;7911:18;;;7904:62;-1:-1:-1;;;7982:18:15;;;7975:38;8030:19;;5503:79:4;;;;;;;;;5616:57;5625:6;955:10:8;5666:6:4;5647:16;:25;5616:8;:57::i;:::-;-1:-1:-1;5701:4:4;;5234:478;-1:-1:-1;;;;5234:478:4:o;4781:145:0:-;4476:7;4502:12;;;:6;:12;;;;;:22;;;2890:30;2901:4;955:10:8;2890::0;:30::i;:::-;4894:25:::1;4905:4;4911:7;4894:10;:25::i;:::-;4781:145:::0;;;:::o;5798:214::-;-1:-1:-1;;;;;5893:23:0;;955:10:8;5893:23:0;5885:83;;;;-1:-1:-1;;;5885:83:0;;8262:2:15;5885:83:0;;;8244:21:15;8301:2;8281:18;;;8274:30;8340:34;8320:18;;;8313:62;-1:-1:-1;;;8391:18:15;;;8384:45;8446:19;;5885:83:0;8060:411:15;5885:83:0;5979:26;5991:4;5997:7;5979:11;:26::i;:::-;5798:214;;:::o;6107:212:4:-;955:10:8;6195:4:4;6243:25;;;:11;:25;;;;;;;;-1:-1:-1;;;;;6243:34:4;;;;;;;;;;6195:4;;6211:80;;6234:7;;6243:47;;6280:10;;6243:47;:::i;:::-;6211:8;:80::i;5180:64:14:-;1753:32;-1:-1:-1;;;;;;;;;;;1774:10:14;1753:7;:32::i;:::-;1748:61;;1794:15;;-1:-1:-1;;;1794:15:14;;;;;;;;;;;1748:61;5227:10:::1;:8;:10::i;:::-;5180:64::o:0;3226:121::-;1636:32;-1:-1:-1;;;;;;;;;;;1657:10:14;1636:7;:32::i;:::-;1631:61;;1677:15;;-1:-1:-1;;;1677:15:14;;;;;;;;;;;1631:61;3315:25:::1;3321:9;3332:7;3315:5;:25::i;3388:103::-:0;1636:32;-1:-1:-1;;;;;;;;;;;1657:10:14;1636:7;:32::i;:::-;1631:61;;1677:15;;-1:-1:-1;;;1677:15:14;;;;;;;;;;;1631:61;3458:26:::1;3464:10;3476:7;3458:5;:26::i;:::-;3388:103:::0;:::o;2144:1041::-;2030:13:2;;;;;;;;:30;;-1:-1:-1;2048:12:2;;;;2047:13;2030:30;2022:89;;;;-1:-1:-1;;;2022:89:2;;;;;;;:::i;:::-;2122:19;2145:13;;;;;;2144:14;2168:98;;;;2202:13;:20;;-1:-1:-1;;2236:19:2;;;;;2168:98;2341:9:14::1;:21:::0;;-1:-1:-1;;2341:21:14::1;;::::0;::::1;;::::0;;2380:19;;:24;:42:::1;;2417:5;2380:42;;;2407:7;2380:42;2372:50;;2432:38;2455:5;2462:7;2432:22;:38::i;:::-;2481:37;2457:4:0;2512:5:14::0;2481:10:::1;:37::i;:::-;2528:30;-1:-1:-1::0;;;;;;;;;;;2552:5:14::1;2528:10;:30::i;:::-;2591:14:::0;;2568:20:::1;2615:103;2639:12;2635:1;:16;2615:103;;;2672:35;-1:-1:-1::0;;;;;;;;;;;2696:7:14::1;2704:1;2696:10;;;;;;;;:::i;:::-;;;;;;;2672;:35::i;:::-;2653:3;;2615:103;;;-1:-1:-1::0;3036:23:14;;::::1;::::0;;::::1;::::0;;;;3087:10:::1;::::0;;;;::::1;::::0;;::::1;::::0;;-1:-1:-1;;;3087:10:14;;::::1;::::0;2857:311;;2885:133:::1;2857:311:::0;;::::1;9544:25:15::0;;;;9585:18;;9578:34;3077:21:14;9628:18:15;;;9621:34;2787:9:14::1;9671:18:15::0;;;9664:34;;;3149:4:14::1;9714:19:15::0;;;9707:61;2787:9:14;9516:19:15;;2857:311:14::1;::::0;;-1:-1:-1;;2857:311:14;;::::1;::::0;;;;;;2834:344;;2857:311:::1;2834:344:::0;;::::1;::::0;2815:16:::1;:363:::0;-1:-1:-1;;2288:66:2;;;;2338:5;2322:21;;-1:-1:-1;;2322:21:2;;;2288:66;2012:348;2144:1041:14;;;;;:::o;5030:60::-;1753:32;-1:-1:-1;;;;;;;;;;;1774:10:14;1753:7;:32::i;:::-;1748:61;;1794:15;;-1:-1:-1;;;1794:15:14;;;;;;;;;;;1748:61;5075:8:::1;:6;:8::i;3305:137:0:-:0;3383:4;3406:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;3406:29:0;;;;;;;;;;;;;;;3305:137::o;2715:102:4:-;2771:13;2803:7;2796:14;;;;;:::i;6806:405::-;955:10:8;6899:4:4;6942:25;;;:11;:25;;;;;;;;-1:-1:-1;;;;;6942:34:4;;;;;;;;;;6994:35;;;;6986:85;;;;-1:-1:-1;;;6986:85:4;;9981:2:15;6986:85:4;;;9963:21:15;10020:2;10000:18;;;9993:30;10059:34;10039:18;;;10032:62;-1:-1:-1;;;10110:18:15;;;10103:35;10155:19;;6986:85:4;9779:401:15;6986:85:4;7105:67;955:10:8;7128:7:4;7156:15;7137:16;:34;7105:8;:67::i;:::-;-1:-1:-1;7200:4:4;;6806:405;-1:-1:-1;;;6806:405:4:o;4084:172::-;4170:4;4186:42;955:10:8;4210:9:4;4221:6;4186:9;:42::i;3826:991:14:-;4056:15;4043:9;:28;;4035:56;;;;-1:-1:-1;;;4035:56:14;;10387:2:15;4035:56:14;;;10369:21:15;10426:2;10406:18;;;10399:30;-1:-1:-1;;;10445:18:15;;;10438:45;10500:18;;4035:56:14;10185:339:15;4035:56:14;4203:16;;-1:-1:-1;;;;;4443:14:14;;4101;4443;;;:6;:14;;;;;:16;;4101:14;;4203:16;1250:66;;4345:6;;4377:8;;4411:6;;4443:16;4101:14;4443:16;;;:::i;:::-;;;;-1:-1:-1;4268:248:14;;;;;;10956:25:15;;;;-1:-1:-1;;;;;11017:32:15;;;10997:18;;;10990:60;11086:32;;;;11066:18;;;11059:60;11135:18;;;11128:34;11178:19;;;11171:35;11222:19;;;11215:35;;;10928:19;;4268:248:14;;;;;;;;;;;;4237:297;;;;;;4141:407;;;;;;;;-1:-1:-1;;;11519:27:15;;11571:1;11562:11;;11555:27;;;;11607:2;11598:12;;11591:28;11644:2;11635:12;;11261:392;4141:407:14;;;;-1:-1:-1;;4141:407:14;;;;;;;;;4118:440;;4141:407;4118:440;;;;4568:24;4595:29;;;;;;;;;11885:25:15;;;11958:4;11946:17;;11926:18;;;11919:45;;;;11980:18;;;11973:34;;;12023:18;;;12016:34;;;4118:440:14;;-1:-1:-1;4568:24:14;4595:29;;11857:19:15;;4595:29:14;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;4595:29:14;;-1:-1:-1;;4595:29:14;;;-1:-1:-1;;;;;;;4655:30:14;;;;;;:60;;;4709:6;-1:-1:-1;;;;;4689:26:14;:16;-1:-1:-1;;;;;4689:26:14;;4655:60;4634:132;;;;-1:-1:-1;;;4634:132:14;;12263:2:15;4634:132:14;;;12245:21:15;12302:2;12282:18;;;12275:30;12341:27;12321:18;;;12314:55;12386:18;;4634:132:14;12061:349:15;4634:132:14;4776:34;4785:6;4793:8;4803:6;4776:8;:34::i;:::-;4025:792;;3826:991;;;;;;;:::o;5160:147:0:-;4476:7;4502:12;;;:6;:12;;;;;:22;;;2890:30;2901:4;955:10:8;2890::0;:30::i;:::-;5274:26:::1;5286:4;5292:7;5274:11;:26::i;10382:370:4:-:0;-1:-1:-1;;;;;10513:19:4;;10505:68;;;;-1:-1:-1;;;10505:68:4;;12617:2:15;10505:68:4;;;12599:21:15;12656:2;12636:18;;;12629:30;12695:34;12675:18;;;12668:62;-1:-1:-1;;;12746:18:15;;;12739:34;12790:19;;10505:68:4;12415:400:15;10505:68:4;-1:-1:-1;;;;;10591:21:4;;10583:68;;;;-1:-1:-1;;;10583:68:4;;13022:2:15;10583:68:4;;;13004:21:15;13061:2;13041:18;;;13034:30;13100:34;13080:18;;;13073:62;-1:-1:-1;;;13151:18:15;;;13144:32;13193:19;;10583:68:4;12820:398:15;10583:68:4;-1:-1:-1;;;;;10662:18:4;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;10713:32;;1782:25:15;;;10713:32:4;;1755:18:15;10713:32:4;;;;;;;10382:370;;;:::o;7685:713::-;-1:-1:-1;;;;;7820:20:4;;7812:70;;;;-1:-1:-1;;;7812:70:4;;13425:2:15;7812:70:4;;;13407:21:15;13464:2;13444:18;;;13437:30;13503:34;13483:18;;;13476:62;-1:-1:-1;;;13554:18:15;;;13547:35;13599:19;;7812:70:4;13223:401:15;7812:70:4;-1:-1:-1;;;;;7900:23:4;;7892:71;;;;-1:-1:-1;;;7892:71:4;;13831:2:15;7892:71:4;;;13813:21:15;13870:2;13850:18;;;13843:30;13909:34;13889:18;;;13882:62;-1:-1:-1;;;13960:18:15;;;13953:33;14003:19;;7892:71:4;13629:399:15;7892:71:4;7974:47;7995:6;8003:9;8014:6;7974:20;:47::i;:::-;-1:-1:-1;;;;;8056:17:4;;8032:21;8056:17;;;:9;:17;;;;;;8091:23;;;;8083:74;;;;-1:-1:-1;;;8083:74:4;;14235:2:15;8083:74:4;;;14217:21:15;14274:2;14254:18;;;14247:30;14313:34;14293:18;;;14286:62;-1:-1:-1;;;14364:18:15;;;14357:36;14410:19;;8083:74:4;14033:402:15;8083:74:4;-1:-1:-1;;;;;8191:17:4;;;;;;;:9;:17;;;;;;8211:22;;;8191:42;;8253:20;;;;;;;;:30;;8227:6;;8191:17;8253:30;;8227:6;;8253:30;:::i;:::-;;;;;;;;8316:9;-1:-1:-1;;;;;8299:35:4;8308:6;-1:-1:-1;;;;;8299:35:4;;8327:6;8299:35;;;;1782:25:15;;1770:2;1755:18;;1636:177;8299:35:4;;;;;;;;7802:596;7685:713;;;:::o;3723:506:0:-;3803:22;3811:4;3817:7;3803;:22::i;:::-;3798:425;;3986:52;4025:7;-1:-1:-1;;;;;3986:52:0;4035:2;3986:30;:52::i;:::-;4109:49;4148:4;4155:2;4109:30;:49::i;:::-;3893:287;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;3893:287:0;;;;;;;;;;-1:-1:-1;;;3841:371:0;;;;;;;:::i;7255:233::-;7338:22;7346:4;7352:7;7338;:22::i;:::-;7333:149;;7376:12;;;;:6;:12;;;;;;;;-1:-1:-1;;;;;7376:29:0;;;;;;;;;:36;;-1:-1:-1;;7376:36:0;7408:4;7376:36;;;7458:12;955:10:8;;876:96;7458:12:0;-1:-1:-1;;;;;7431:40:0;7449:7;-1:-1:-1;;;;;7431:40:0;7443:4;7431:40;;;;;;;;;;7255:233;;:::o;7613:234::-;7696:22;7704:4;7710:7;7696;:22::i;:::-;7692:149;;;7766:5;7734:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;7734:29:0;;;;;;;;;;:37;;-1:-1:-1;;7734:37:0;;;7790:40;955:10:8;;7734:12:0;;7790:40;;7766:5;7790:40;7613:234;;:::o;2379:117:3:-;1437:7;;;;1938:41;;;;-1:-1:-1;;;1938:41:3;;15468:2:15;1938:41:3;;;15450:21:15;15507:2;15487:18;;;15480:30;-1:-1:-1;;;15526:18:15;;;15519:50;15586:18;;1938:41:3;15266:344:15;1938:41:3;2437:7:::1;:15:::0;;-1:-1:-1;;2437:15:3::1;::::0;;2467:22:::1;955:10:8::0;2476:12:3::1;2467:22;::::0;-1:-1:-1;;;;;15779:32:15;;;15761:51;;15749:2;15734:18;2467:22:3::1;;;;;;;2379:117::o:0;8674:389:4:-;-1:-1:-1;;;;;8757:21:4;;8749:65;;;;-1:-1:-1;;;8749:65:4;;16025:2:15;8749:65:4;;;16007:21:15;16064:2;16044:18;;;16037:30;16103:33;16083:18;;;16076:61;16154:18;;8749:65:4;15823:355:15;8749:65:4;8825:49;8854:1;8858:7;8867:6;8825:20;:49::i;:::-;8901:6;8885:12;;:22;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;;;8917:18:4;;;;;;:9;:18;;;;;:28;;8939:6;;8917:18;:28;;8939:6;;8917:28;:::i;:::-;;;;-1:-1:-1;;8960:37:4;;1782:25:15;;;-1:-1:-1;;;;;8960:37:4;;;8977:1;;8960:37;;1770:2:15;1755:18;8960:37:4;;;;;;;5798:214:0;;:::o;9383:576:4:-;-1:-1:-1;;;;;9466:21:4;;9458:67;;;;-1:-1:-1;;;9458:67:4;;16385:2:15;9458:67:4;;;16367:21:15;16424:2;16404:18;;;16397:30;16463:34;16443:18;;;16436:62;-1:-1:-1;;;16514:18:15;;;16507:31;16555:19;;9458:67:4;16183:397:15;9458:67:4;9536:49;9557:7;9574:1;9578:6;9536:20;:49::i;:::-;-1:-1:-1;;;;;9621:18:4;;9596:22;9621:18;;;:9;:18;;;;;;9657:24;;;;9649:71;;;;-1:-1:-1;;;9649:71:4;;16787:2:15;9649:71:4;;;16769:21:15;16826:2;16806:18;;;16799:30;16865:34;16845:18;;;16838:62;-1:-1:-1;;;16916:18:15;;;16909:32;16958:19;;9649:71:4;16585:398:15;9649:71:4;-1:-1:-1;;;;;9754:18:4;;;;;;:9;:18;;;;;9775:23;;;9754:44;;9818:12;:22;;9792:6;;9754:18;9818:22;;9792:6;;9818:22;:::i;:::-;;;;-1:-1:-1;;9856:37:4;;1782:25:15;;;9882:1:4;;-1:-1:-1;;;;;9856:37:4;;;;;1770:2:15;1755:18;9856:37:4;;;;;;;4781:145:0;;;:::o;2285:154:4:-;2030:13:2;;;;;;;;:30;;-1:-1:-1;2048:12:2;;;;2047:13;2030:30;2022:89;;;;-1:-1:-1;;;2022:89:2;;;;;;;:::i;:::-;2122:19;2145:13;;;;;;2144:14;2168:98;;;;2202:13;:20;;-1:-1:-1;;2236:19:2;;;;;2168:98;2392:5:4::1;:13;2400:5:::0;2392;:13:::1;:::i;:::-;-1:-1:-1::0;2415:7:4::1;:17;2425:7:::0;2415;:17:::1;:::i;:::-;;2292:14:2::0;2288:66;;;2338:5;2322:21;;-1:-1:-1;;2322:21:2;;;2012:348;2285:154:4;;:::o;6651:110:0:-;6729:25;6740:4;6746:7;6729:10;:25::i;2132:115:3:-;1437:7;;;;1680:9;1672:38;;;;-1:-1:-1;;;1672:38:3;;19447:2:15;1672:38:3;;;19429:21:15;19486:2;19466:18;;;19459:30;-1:-1:-1;;;19505:18:15;;;19498:46;19561:18;;1672:38:3;19245:340:15;1672:38:3;2191:7:::1;:14:::0;;-1:-1:-1;;2191:14:3::1;2201:4;2191:14;::::0;;2220:20:::1;2227:12;955:10:8::0;;876:96;5250:189:14;5388:44;5415:4;5421:2;5425:6;5388:26;:44::i;1599:441:9:-;1674:13;1699:19;1731:10;1735:6;1731:1;:10;:::i;:::-;:14;;1744:1;1731:14;:::i;:::-;1721:25;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1721:25:9;;1699:47;;-1:-1:-1;;;1756:6:9;1763:1;1756:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;1756:15:9;;;;;;;;;-1:-1:-1;;;1781:6:9;1788:1;1781:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;1781:15:9;;;;;;;;-1:-1:-1;1811:9:9;1823:10;1827:6;1823:1;:10;:::i;:::-;:14;;1836:1;1823:14;:::i;:::-;1811:26;;1806:132;1843:1;1839;:5;1806:132;;;-1:-1:-1;;;1890:5:9;1898:3;1890:11;1877:25;;;;;;;:::i;:::-;;;;1865:6;1872:1;1865:9;;;;;;;;:::i;:::-;;;;:37;-1:-1:-1;;;;;1865:37:9;;;;;;;;-1:-1:-1;1926:1:9;1916:11;;;;;1846:3;;;:::i;:::-;;;1806:132;;;-1:-1:-1;1955:10:9;;1947:55;;;;-1:-1:-1;;;1947:55:9;;20106:2:15;1947:55:9;;;20088:21:15;;;20125:18;;;20118:30;20184:34;20164:18;;;20157:62;20236:18;;1947:55:9;19904:356:15;1947:55:9;2026:6;1599:441;-1:-1:-1;;;1599:441:9:o;1040:264:6:-;1437:7:3;;;;1241:9:6;1233:64;;;;-1:-1:-1;;;1233:64:6;;20467:2:15;1233:64:6;;;20449:21:15;20506:2;20486:18;;;20479:30;20545:34;20525:18;;;20518:62;-1:-1:-1;;;20596:18:15;;;20589:40;20646:19;;1233:64:6;20265:406:15;14:286;72:6;125:2;113:9;104:7;100:23;96:32;93:52;;;141:1;138;131:12;93:52;167:23;;-1:-1:-1;;;;;;219:32:15;;209:43;;199:71;;266:1;263;256:12;497:250;582:1;592:113;606:6;603:1;600:13;592:113;;;682:11;;;676:18;663:11;;;656:39;628:2;621:10;592:113;;;-1:-1:-1;;739:1:15;721:16;;714:27;497:250::o;752:396::-;901:2;890:9;883:21;864:4;933:6;927:13;976:6;971:2;960:9;956:18;949:34;992:79;1064:6;1059:2;1048:9;1044:18;1039:2;1031:6;1027:15;992:79;:::i;:::-;1132:2;1111:15;-1:-1:-1;;1107:29:15;1092:45;;;;1139:2;1088:54;;752:396;-1:-1:-1;;752:396:15:o;1153:173::-;1221:20;;-1:-1:-1;;;;;1270:31:15;;1260:42;;1250:70;;1316:1;1313;1306:12;1250:70;1153:173;;;:::o;1331:300::-;1399:6;1407;1460:2;1448:9;1439:7;1435:23;1431:32;1428:52;;;1476:1;1473;1466:12;1428:52;1499:29;1518:9;1499:29;:::i;:::-;1489:39;1597:2;1582:18;;;;1569:32;;-1:-1:-1;;;1331:300:15:o;1818:374::-;1895:6;1903;1911;1964:2;1952:9;1943:7;1939:23;1935:32;1932:52;;;1980:1;1977;1970:12;1932:52;2003:29;2022:9;2003:29;:::i;:::-;1993:39;;2051:38;2085:2;2074:9;2070:18;2051:38;:::i;:::-;1818:374;;2041:48;;-1:-1:-1;;;2158:2:15;2143:18;;;;2130:32;;1818:374::o;2197:226::-;2256:6;2309:2;2297:9;2288:7;2284:23;2280:32;2277:52;;;2325:1;2322;2315:12;2277:52;-1:-1:-1;2370:23:15;;2197:226;-1:-1:-1;2197:226:15:o;2610:300::-;2678:6;2686;2739:2;2727:9;2718:7;2714:23;2710:32;2707:52;;;2755:1;2752;2745:12;2707:52;2800:23;;;-1:-1:-1;2866:38:15;2900:2;2885:18;;2866:38;:::i;:::-;2856:48;;2610:300;;;;;:::o;3335:127::-;3396:10;3391:3;3387:20;3384:1;3377:31;3427:4;3424:1;3417:15;3451:4;3448:1;3441:15;3467:275;3538:2;3532:9;3603:2;3584:13;;-1:-1:-1;;3580:27:15;3568:40;;3638:18;3623:34;;3659:22;;;3620:62;3617:88;;;3685:18;;:::i;:::-;3721:2;3714:22;3467:275;;-1:-1:-1;3467:275:15:o;3747:559::-;3790:5;3843:3;3836:4;3828:6;3824:17;3820:27;3810:55;;3861:1;3858;3851:12;3810:55;3901:6;3888:20;3931:18;3923:6;3920:30;3917:56;;;3953:18;;:::i;:::-;3997:59;4044:2;4021:17;;-1:-1:-1;;4017:31:15;4050:4;4013:42;3997:59;:::i;:::-;4081:6;4072:7;4065:23;4135:3;4128:4;4119:6;4111;4107:19;4103:30;4100:39;4097:59;;;4152:1;4149;4142:12;4097:59;4217:6;4210:4;4202:6;4198:17;4191:4;4182:7;4178:18;4165:59;4273:1;4244:20;;;4266:4;4240:31;4233:42;;;;4248:7;3747:559;-1:-1:-1;;;3747:559:15:o;4311:156::-;4377:20;;4437:4;4426:16;;4416:27;;4406:55;;4457:1;4454;4447:12;4472:1520;4610:6;4618;4626;4634;4642;4695:3;4683:9;4674:7;4670:23;4666:33;4663:53;;;4712:1;4709;4702:12;4663:53;4752:9;4739:23;4785:18;4777:6;4774:30;4771:50;;;4817:1;4814;4807:12;4771:50;4840;4882:7;4873:6;4862:9;4858:22;4840:50;:::i;:::-;4830:60;;;4943:2;4932:9;4928:18;4915:32;4972:18;4962:8;4959:32;4956:52;;;5004:1;5001;4994:12;4956:52;5027;5071:7;5060:8;5049:9;5045:24;5027:52;:::i;:::-;5017:62;;;5098:36;5130:2;5119:9;5115:18;5098:36;:::i;:::-;5088:46;;5153:38;5187:2;5176:9;5172:18;5153:38;:::i;:::-;5143:48;;5244:3;5233:9;5229:19;5216:33;5274:18;5264:8;5261:32;5258:52;;;5306:1;5303;5296:12;5258:52;5329:24;;5384:4;5376:13;;5372:27;-1:-1:-1;5362:55:15;;5413:1;5410;5403:12;5362:55;5453:2;5440:16;5479:18;5471:6;5468:30;5465:56;;;5501:18;;:::i;:::-;5547:6;5544:1;5540:14;5574:28;5598:2;5594;5590:11;5574:28;:::i;:::-;5636:19;;;5680:2;5710:11;;;5706:20;;;5671:12;;;;5738:19;;;5735:39;;;5770:1;5767;5760:12;5735:39;5802:2;5798;5794:11;5783:22;;5814:148;5830:6;5825:3;5822:15;5814:148;;;5896:23;5915:3;5896:23;:::i;:::-;5884:36;;5949:2;5847:12;;;;5940;;;;5814:148;;;5981:5;5971:15;;;;;;;4472:1520;;;;;;;;:::o;5997:186::-;6056:6;6109:2;6097:9;6088:7;6084:23;6080:32;6077:52;;;6125:1;6122;6115:12;6077:52;6148:29;6167:9;6148:29;:::i;6188:808::-;6299:6;6307;6315;6323;6331;6339;6347;6400:3;6388:9;6379:7;6375:23;6371:33;6368:53;;;6417:1;6414;6407:12;6368:53;6440:29;6459:9;6440:29;:::i;:::-;6430:39;;6488:38;6522:2;6511:9;6507:18;6488:38;:::i;:::-;6478:48;-1:-1:-1;6595:2:15;6580:18;;6567:32;;-1:-1:-1;6696:2:15;6681:18;;6668:32;;-1:-1:-1;6745:37:15;6777:3;6762:19;;6745:37;:::i;:::-;6188:808;;;;-1:-1:-1;6188:808:15;;;;6735:47;6855:3;6840:19;;6827:33;;-1:-1:-1;6959:3:15;6944:19;;;6931:33;;6188:808;-1:-1:-1;;6188:808:15:o;7001:260::-;7069:6;7077;7130:2;7118:9;7109:7;7105:23;7101:32;7098:52;;;7146:1;7143;7136:12;7098:52;7169:29;7188:9;7169:29;:::i;:::-;7159:39;;7217:38;7251:2;7240:9;7236:18;7217:38;:::i;7266:380::-;7345:1;7341:12;;;;7388;;;7409:61;;7463:4;7455:6;7451:17;7441:27;;7409:61;7516:2;7508:6;7505:14;7485:18;7482:38;7479:161;;7562:10;7557:3;7553:20;7550:1;7543:31;7597:4;7594:1;7587:15;7625:4;7622:1;7615:15;7479:161;;7266:380;;;:::o;8476:127::-;8537:10;8532:3;8528:20;8525:1;8518:31;8568:4;8565:1;8558:15;8592:4;8589:1;8582:15;8608:125;8673:9;;;8694:10;;;8691:36;;;8707:18;;:::i;8738:410::-;8940:2;8922:21;;;8979:2;8959:18;;;8952:30;9018:34;9013:2;8998:18;;8991:62;-1:-1:-1;;;9084:2:15;9069:18;;9062:44;9138:3;9123:19;;8738:410::o;9153:127::-;9214:10;9209:3;9205:20;9202:1;9195:31;9245:4;9242:1;9235:15;9269:4;9266:1;9259:15;10529:135;10568:3;10589:17;;;10586:43;;10609:18;;:::i;:::-;-1:-1:-1;10656:1:15;10645:13;;10529:135::o;14440:821::-;14851:25;14846:3;14839:38;14821:3;14906:6;14900:13;14922:75;14990:6;14985:2;14980:3;14976:12;14969:4;14961:6;14957:17;14922:75;:::i;:::-;-1:-1:-1;;;15056:2:15;15016:16;;;15048:11;;;15041:40;15106:13;;15128:76;15106:13;15190:2;15182:11;;15175:4;15163:17;;15128:76;:::i;:::-;15228:17;15220:35;;;;-1:-1:-1;;;;14440:821:15:o;16988:128::-;17055:9;;;17076:11;;;17073:37;;;17090:18;;:::i;17247:518::-;17349:2;17344:3;17341:11;17338:421;;;17385:5;17382:1;17375:16;17429:4;17426:1;17416:18;17499:2;17487:10;17483:19;17480:1;17476:27;17470:4;17466:38;17535:4;17523:10;17520:20;17517:47;;;-1:-1:-1;17558:4:15;17517:47;17613:2;17608:3;17604:12;17601:1;17597:20;17591:4;17587:31;17577:41;;17668:81;17686:2;17679:5;17676:13;17668:81;;;17745:1;17731:16;;17712:1;17701:13;17668:81;;;17672:3;;17247:518;;;:::o;17941:1299::-;18067:3;18061:10;18094:18;18086:6;18083:30;18080:56;;;18116:18;;:::i;:::-;18145:97;18235:6;18195:38;18227:4;18221:11;18195:38;:::i;:::-;18189:4;18145:97;:::i;:::-;18291:4;18322:2;18311:14;;18339:1;18334:649;;;;19027:1;19044:6;19041:89;;;-1:-1:-1;19096:19:15;;;19090:26;19041:89;-1:-1:-1;;17898:1:15;17894:11;;;17890:24;17886:29;17876:40;17922:1;17918:11;;;17873:57;19143:81;;18304:930;;18334:649;17194:1;17187:14;;;17231:4;17218:18;;-1:-1:-1;;18370:20:15;;;18488:222;18502:7;18499:1;18496:14;18488:222;;;18584:19;;;18578:26;18563:42;;18691:4;18676:20;;;;18644:1;18632:14;;;;18518:12;18488:222;;;18492:3;18738:6;18729:7;18726:19;18723:201;;;18799:19;;;18793:26;-1:-1:-1;;18882:1:15;18878:14;;;18894:3;18874:24;18870:37;18866:42;18851:58;18836:74;;18723:201;-1:-1:-1;;;;18970:1:15;18954:14;;;18950:22;18937:36;;-1:-1:-1;17941:1299:15:o;19590:168::-;19663:9;;;19694;;19711:15;;;19705:22;;19691:37;19681:71;;19732:18;;:::i;19763:136::-;19802:3;19830:5;19820:39;;19839:18;;:::i;:::-;-1:-1:-1;;;19875:18:15;;19763:136::o
Swarm Source
ipfs://f99b41119f82dbbd186474454d18c5f38f5067715c2901396d592b4eaff2177b
Loading...
Loading
Loading...
Loading
Loading...
Loading
Net Worth in USD
$461,306.49
Net Worth in MON
Token Allocations
BRETT
77.74%
USDC
10.10%
WETH
7.48%
Others
4.67%
Multichain Portfolio | 35 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|---|---|---|---|---|
| BASE | 77.74% | $0.013276 | 27,014,018.7237 | $358,636.76 | |
| BASE | 10.10% | $0.999663 | 46,629.938 | $46,614.22 | |
| BASE | 7.48% | $2,984.89 | 11.557 | $34,496.23 | |
| BASE | 2.81% | $0.000031 | 424,870,580.923 | $12,980.65 | |
| BASE | 0.95% | $0.000266 | 16,489,436.9766 | $4,384.71 | |
| BASE | 0.44% | $0.000268 | 7,576,836.7138 | $2,033.24 | |
| BASE | 0.37% | $2,983.99 | 0.579 | $1,727.73 | |
| BASE | 0.05% | $0.097004 | 2,601.4209 | $252.35 | |
| BASE | 0.02% | $0.000068 | 1,199,339.5607 | $81.41 | |
| BASE | <0.01% | $0.002535 | 13,001.6241 | $32.95 | |
| BASE | <0.01% | $0.998484 | 24.3787 | $24.34 | |
| BASE | <0.01% | $1 | 19.8634 | $19.86 | |
| BASE | <0.01% | $0.000007 | 759,827.0858 | $5.61 | |
| BASE | <0.01% | $0.000229 | 19,649.05 | $4.51 | |
| BASE | <0.01% | $0.019895 | 160 | $3.18 | |
| BASE | <0.01% | $0.000759 | 3,489.4427 | $2.65 | |
| BASE | <0.01% | $0.000438 | 5,369.0168 | $2.35 | |
| BASE | <0.01% | $0.006522 | 340.2884 | $2.22 | |
| BASE | <0.01% | $0.000265 | 3,022.4345 | $0.802 | |
| BASE | <0.01% | $0.005903 | 120 | $0.7084 |
Loading...
Loading
Loading...
Loading
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.