Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
This contract may be a proxy contract. Click on More Options and select Is this a proxy? to confirm and enable the "Read as Proxy" & "Write as Proxy" tabs.
Contract Source Code Verified (Exact Match)
Contract Name:
MSOT
Compiler Version
v0.8.2+commit.661d1103
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity 0.8.2; import "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol"; import "@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol"; import "@openzeppelin/contracts-upgradeable/proxy/utils/UUPSUpgradeable.sol"; import "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol"; contract MSOT is Initializable, ERC20Upgradeable, UUPSUpgradeable, OwnableUpgradeable { uint8 public constant deci = 18; uint256 public constant _totalSupply = 18 * (10 ** 8) * (10 ** uint256(deci)); function initialize() external initializer{ __ERC20_init("BTour Chain", "MSOT"); __Ownable_init(); _mint(msg.sender, _totalSupply); } event UpgradeAuthorized(address newImplementation, address authorizedBy); function _authorizeUpgrade(address newImplementation) internal override onlyOwner{ emit UpgradeAuthorized(newImplementation, msg.sender); } function burn(uint amount) external { _burn(msg.sender, amount); } }
// SPDX-License-Identifier: MIT 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. */ 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 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 pragma solidity ^0.8.0; import "../ERC1967/ERC1967UpgradeUpgradeable.sol"; import "./Initializable.sol"; /** * @dev An upgradeability mechanism designed for UUPS proxies. The functions included here can perform an upgrade of an * {ERC1967Proxy}, when this contract is set as the implementation behind such a proxy. * * A security mechanism ensures that an upgrade does not turn off upgradeability accidentally, although this risk is * reinstated if the upgrade retains upgradeability but removes the security mechanism, e.g. by replacing * `UUPSUpgradeable` with a custom implementation of upgrades. * * The {_authorizeUpgrade} function must be overridden to include access restriction to the upgrade mechanism. * * _Available since v4.1._ */ abstract contract UUPSUpgradeable is Initializable, ERC1967UpgradeUpgradeable { function __UUPSUpgradeable_init() internal initializer { __ERC1967Upgrade_init_unchained(); __UUPSUpgradeable_init_unchained(); } function __UUPSUpgradeable_init_unchained() internal initializer { } /// @custom:oz-upgrades-unsafe-allow state-variable-immutable state-variable-assignment address private immutable __self = address(this); /** * @dev Check that the execution is being performed through a delegatecall call and that the execution context is * a proxy contract with an implementation (as defined in ERC1967) pointing to self. This should only be the case * for UUPS and transparent proxies that are using the current contract as their implementation. Execution of a * function through ERC1167 minimal proxies (clones) would not normally pass this test, but is not guaranteed to * fail. */ modifier onlyProxy() { require(address(this) != __self, "Function must be called through delegatecall"); require(_getImplementation() == __self, "Function must be called through active proxy"); _; } /** * @dev Upgrade the implementation of the proxy to `newImplementation`. * * Calls {_authorizeUpgrade}. * * Emits an {Upgraded} event. */ function upgradeTo(address newImplementation) external virtual onlyProxy { _authorizeUpgrade(newImplementation); _upgradeToAndCallSecure(newImplementation, new bytes(0), false); } /** * @dev Upgrade the implementation of the proxy to `newImplementation`, and subsequently execute the function call * encoded in `data`. * * Calls {_authorizeUpgrade}. * * Emits an {Upgraded} event. */ function upgradeToAndCall(address newImplementation, bytes memory data) external payable virtual onlyProxy { _authorizeUpgrade(newImplementation); _upgradeToAndCallSecure(newImplementation, data, true); } /** * @dev Function that should revert when `msg.sender` is not authorized to upgrade the contract. Called by * {upgradeTo} and {upgradeToAndCall}. * * Normally, this function will use an xref:access.adoc[access control] modifier such as {Ownable-onlyOwner}. * * ```solidity * function _authorizeUpgrade(address) internal override onlyOwner {} * ``` */ function _authorizeUpgrade(address newImplementation) internal virtual; uint256[50] private __gap; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/ContextUpgradeable.sol"; import "../proxy/utils/Initializable.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract OwnableUpgradeable is Initializable, ContextUpgradeable { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ function __Ownable_init() internal initializer { __Context_init_unchained(); __Ownable_init_unchained(); } function __Ownable_init_unchained() internal initializer { _setOwner(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _setOwner(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } uint256[49] private __gap; }
// SPDX-License-Identifier: MIT 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.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); }
// SPDX-License-Identifier: MIT 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 pragma solidity ^0.8.2; import "../beacon/IBeaconUpgradeable.sol"; import "../../utils/AddressUpgradeable.sol"; import "../../utils/StorageSlotUpgradeable.sol"; import "../utils/Initializable.sol"; /** * @dev This abstract contract provides getters and event emitting update functions for * https://eips.ethereum.org/EIPS/eip-1967[EIP1967] slots. * * _Available since v4.1._ * * @custom:oz-upgrades-unsafe-allow delegatecall */ abstract contract ERC1967UpgradeUpgradeable is Initializable { function __ERC1967Upgrade_init() internal initializer { __ERC1967Upgrade_init_unchained(); } function __ERC1967Upgrade_init_unchained() internal initializer { } // This is the keccak-256 hash of "eip1967.proxy.rollback" subtracted by 1 bytes32 private constant _ROLLBACK_SLOT = 0x4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd9143; /** * @dev Storage slot with the address of the current implementation. * This is the keccak-256 hash of "eip1967.proxy.implementation" subtracted by 1, and is * validated in the constructor. */ bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc; /** * @dev Emitted when the implementation is upgraded. */ event Upgraded(address indexed implementation); /** * @dev Returns the current implementation address. */ function _getImplementation() internal view returns (address) { return StorageSlotUpgradeable.getAddressSlot(_IMPLEMENTATION_SLOT).value; } /** * @dev Stores a new address in the EIP1967 implementation slot. */ function _setImplementation(address newImplementation) private { require(AddressUpgradeable.isContract(newImplementation), "ERC1967: new implementation is not a contract"); StorageSlotUpgradeable.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation; } /** * @dev Perform implementation upgrade * * Emits an {Upgraded} event. */ function _upgradeTo(address newImplementation) internal { _setImplementation(newImplementation); emit Upgraded(newImplementation); } /** * @dev Perform implementation upgrade with additional setup call. * * Emits an {Upgraded} event. */ function _upgradeToAndCall( address newImplementation, bytes memory data, bool forceCall ) internal { _upgradeTo(newImplementation); if (data.length > 0 || forceCall) { _functionDelegateCall(newImplementation, data); } } /** * @dev Perform implementation upgrade with security checks for UUPS proxies, and additional setup call. * * Emits an {Upgraded} event. */ function _upgradeToAndCallSecure( address newImplementation, bytes memory data, bool forceCall ) internal { address oldImplementation = _getImplementation(); // Initial upgrade and setup call _setImplementation(newImplementation); if (data.length > 0 || forceCall) { _functionDelegateCall(newImplementation, data); } // Perform rollback test if not already in progress StorageSlotUpgradeable.BooleanSlot storage rollbackTesting = StorageSlotUpgradeable.getBooleanSlot(_ROLLBACK_SLOT); if (!rollbackTesting.value) { // Trigger rollback using upgradeTo from the new implementation rollbackTesting.value = true; _functionDelegateCall( newImplementation, abi.encodeWithSignature("upgradeTo(address)", oldImplementation) ); rollbackTesting.value = false; // Check rollback was effective require(oldImplementation == _getImplementation(), "ERC1967Upgrade: upgrade breaks further upgrades"); // Finally reset to the new implementation and log the upgrade _upgradeTo(newImplementation); } } /** * @dev Storage slot with the admin of the contract. * This is the keccak-256 hash of "eip1967.proxy.admin" subtracted by 1, and is * validated in the constructor. */ bytes32 internal constant _ADMIN_SLOT = 0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103; /** * @dev Emitted when the admin account has changed. */ event AdminChanged(address previousAdmin, address newAdmin); /** * @dev Returns the current admin. */ function _getAdmin() internal view returns (address) { return StorageSlotUpgradeable.getAddressSlot(_ADMIN_SLOT).value; } /** * @dev Stores a new address in the EIP1967 admin slot. */ function _setAdmin(address newAdmin) private { require(newAdmin != address(0), "ERC1967: new admin is the zero address"); StorageSlotUpgradeable.getAddressSlot(_ADMIN_SLOT).value = newAdmin; } /** * @dev Changes the admin of the proxy. * * Emits an {AdminChanged} event. */ function _changeAdmin(address newAdmin) internal { emit AdminChanged(_getAdmin(), newAdmin); _setAdmin(newAdmin); } /** * @dev The storage slot of the UpgradeableBeacon contract which defines the implementation for this proxy. * This is bytes32(uint256(keccak256('eip1967.proxy.beacon')) - 1)) and is validated in the constructor. */ bytes32 internal constant _BEACON_SLOT = 0xa3f0ad74e5423aebfd80d3ef4346578335a9a72aeaee59ff6cb3582b35133d50; /** * @dev Emitted when the beacon is upgraded. */ event BeaconUpgraded(address indexed beacon); /** * @dev Returns the current beacon. */ function _getBeacon() internal view returns (address) { return StorageSlotUpgradeable.getAddressSlot(_BEACON_SLOT).value; } /** * @dev Stores a new beacon in the EIP1967 beacon slot. */ function _setBeacon(address newBeacon) private { require(AddressUpgradeable.isContract(newBeacon), "ERC1967: new beacon is not a contract"); require( AddressUpgradeable.isContract(IBeaconUpgradeable(newBeacon).implementation()), "ERC1967: beacon implementation is not a contract" ); StorageSlotUpgradeable.getAddressSlot(_BEACON_SLOT).value = newBeacon; } /** * @dev Perform beacon upgrade with additional setup call. Note: This upgrades the address of the beacon, it does * not upgrade the implementation contained in the beacon (see {UpgradeableBeacon-_setImplementation} for that). * * Emits a {BeaconUpgraded} event. */ function _upgradeBeaconToAndCall( address newBeacon, bytes memory data, bool forceCall ) internal { _setBeacon(newBeacon); emit BeaconUpgraded(newBeacon); if (data.length > 0 || forceCall) { _functionDelegateCall(IBeaconUpgradeable(newBeacon).implementation(), data); } } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function _functionDelegateCall(address target, bytes memory data) private returns (bytes memory) { require(AddressUpgradeable.isContract(target), "Address: delegate call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.delegatecall(data); return AddressUpgradeable.verifyCallResult(success, returndata, "Address: low-level delegate call failed"); } uint256[50] private __gap; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev This is the interface that {BeaconProxy} expects of its beacon. */ interface IBeaconUpgradeable { /** * @dev Must return an address that can be used as a delegate call target. * * {BeaconProxy} will check that this address is a contract. */ function implementation() external view returns (address); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library AddressUpgradeable { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Library for reading and writing primitive types to specific storage slots. * * Storage slots are often used to avoid storage conflict when dealing with upgradeable contracts. * This library helps with reading and writing to such slots without the need for inline assembly. * * The functions in this library return Slot structs that contain a `value` member that can be used to read or write. * * Example usage to set ERC1967 implementation slot: * ``` * contract ERC1967 { * bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc; * * function _getImplementation() internal view returns (address) { * return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value; * } * * function _setImplementation(address newImplementation) internal { * require(Address.isContract(newImplementation), "ERC1967: new implementation is not a contract"); * StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation; * } * } * ``` * * _Available since v4.1 for `address`, `bool`, `bytes32`, and `uint256`._ */ library StorageSlotUpgradeable { struct AddressSlot { address value; } struct BooleanSlot { bool value; } struct Bytes32Slot { bytes32 value; } struct Uint256Slot { uint256 value; } /** * @dev Returns an `AddressSlot` with member `value` located at `slot`. */ function getAddressSlot(bytes32 slot) internal pure returns (AddressSlot storage r) { assembly { r.slot := slot } } /** * @dev Returns an `BooleanSlot` with member `value` located at `slot`. */ function getBooleanSlot(bytes32 slot) internal pure returns (BooleanSlot storage r) { assembly { r.slot := slot } } /** * @dev Returns an `Bytes32Slot` with member `value` located at `slot`. */ function getBytes32Slot(bytes32 slot) internal pure returns (Bytes32Slot storage r) { assembly { r.slot := slot } } /** * @dev Returns an `Uint256Slot` with member `value` located at `slot`. */ function getUint256Slot(bytes32 slot) internal pure returns (Uint256Slot storage r) { assembly { r.slot := slot } } }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"previousAdmin","type":"address"},{"indexed":false,"internalType":"address","name":"newAdmin","type":"address"}],"name":"AdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"beacon","type":"address"}],"name":"BeaconUpgraded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":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":"newImplementation","type":"address"},{"indexed":false,"internalType":"address","name":"authorizedBy","type":"address"}],"name":"UpgradeAuthorized","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"implementation","type":"address"}],"name":"Upgraded","type":"event"},{"inputs":[],"name":"_totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"deci","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"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":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newImplementation","type":"address"}],"name":"upgradeTo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newImplementation","type":"address"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"upgradeToAndCall","outputs":[],"stateMutability":"payable","type":"function"}]
Contract Creation Code
60a06040523073ffffffffffffffffffffffffffffffffffffffff1660809073ffffffffffffffffffffffffffffffffffffffff1660601b81525034801561004657600080fd5b5060805160601c61355361007a6000396000818161067e0152818161070d01528181610909015261099801526135536000f3fe60806040526004361061011f5760003560e01c806370a08231116100a0578063a18c189c11610064578063a18c189c146103b6578063a457c2d7146103e1578063a9059cbb1461041e578063dd62ed3e1461045b578063f2fde38b146104985761011f565b806370a08231146102f5578063715018a6146103325780638129fc1c146103495780638da5cb5b1461036057806395d89b411461038b5761011f565b80633659cfe6116100e75780633659cfe61461021f57806339509351146102485780633eaaf86b1461028557806342966c68146102b05780634f1ef286146102d95761011f565b806306fdde0314610124578063095ea7b31461014f57806318160ddd1461018c57806323b872dd146101b7578063313ce567146101f4575b600080fd5b34801561013057600080fd5b506101396104c1565b604051610146919061286c565b60405180910390f35b34801561015b57600080fd5b5061017660048036038101906101719190612475565b610553565b6040516101839190612851565b60405180910390f35b34801561019857600080fd5b506101a1610571565b6040516101ae9190612ace565b60405180910390f35b3480156101c357600080fd5b506101de60048036038101906101d991906123d2565b61057b565b6040516101eb9190612851565b60405180910390f35b34801561020057600080fd5b50610209610673565b6040516102169190612ae9565b60405180910390f35b34801561022b57600080fd5b506102466004803603810190610241919061236d565b61067c565b005b34801561025457600080fd5b5061026f600480360381019061026a9190612475565b61082b565b60405161027c9190612851565b60405180910390f35b34801561029157600080fd5b5061029a6108d7565b6040516102a79190612ace565b60405180910390f35b3480156102bc57600080fd5b506102d760048036038101906102d291906124b1565b6108fa565b005b6102f360048036038101906102ee9190612421565b610907565b005b34801561030157600080fd5b5061031c6004803603810190610317919061236d565b610a44565b6040516103299190612ace565b60405180910390f35b34801561033e57600080fd5b50610347610a8d565b005b34801561035557600080fd5b5061035e610b15565b005b34801561036c57600080fd5b50610375610c93565b604051610382919061280d565b60405180910390f35b34801561039757600080fd5b506103a0610cbd565b6040516103ad919061286c565b60405180910390f35b3480156103c257600080fd5b506103cb610d4f565b6040516103d89190612ae9565b60405180910390f35b3480156103ed57600080fd5b5061040860048036038101906104039190612475565b610d54565b6040516104159190612851565b60405180910390f35b34801561042a57600080fd5b5061044560048036038101906104409190612475565b610e3f565b6040516104529190612851565b60405180910390f35b34801561046757600080fd5b50610482600480360381019061047d9190612396565b610e5d565b60405161048f9190612ace565b60405180910390f35b3480156104a457600080fd5b506104bf60048036038101906104ba919061236d565b610ee4565b005b6060603680546104d090612e78565b80601f01602080910402602001604051908101604052809291908181526020018280546104fc90612e78565b80156105495780601f1061051e57610100808354040283529160200191610549565b820191906000526020600020905b81548152906001019060200180831161052c57829003601f168201915b5050505050905090565b6000610567610560610fdc565b8484610fe4565b6001905092915050565b6000603554905090565b60006105888484846111af565b6000603460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006105d3610fdc565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015610653576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161064a906129ce565b60405180910390fd5b6106678561065f610fdc565b858403610fe4565b60019150509392505050565b60006012905090565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff163073ffffffffffffffffffffffffffffffffffffffff16141561070b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107029061292e565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1661074a611433565b73ffffffffffffffffffffffffffffffffffffffff16146107a0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107979061296e565b60405180910390fd5b6107a98161148a565b61082881600067ffffffffffffffff8111156107ee577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156108205781602001600182028036833780820191505090505b506000611542565b50565b60006108cd610838610fdc565b848460346000610846610fdc565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546108c89190612b8c565b610fe4565b6001905092915050565b601260ff16600a6108e89190612c35565b636b49d2006108f79190612d53565b81565b6109043382611713565b50565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff163073ffffffffffffffffffffffffffffffffffffffff161415610996576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161098d9061292e565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166109d5611433565b73ffffffffffffffffffffffffffffffffffffffff1614610a2b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a229061296e565b60405180910390fd5b610a348261148a565b610a4082826001611542565b5050565b6000603360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610a95610fdc565b73ffffffffffffffffffffffffffffffffffffffff16610ab3610c93565b73ffffffffffffffffffffffffffffffffffffffff1614610b09576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b00906129ee565b60405180910390fd5b610b1360006118ec565b565b600060019054906101000a900460ff1680610b3b575060008054906101000a900460ff16155b610b7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b719061298e565b60405180910390fd5b60008060019054906101000a900460ff161590508015610bca576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b610c3e6040518060400160405280600b81526020017f42546f757220436861696e0000000000000000000000000000000000000000008152506040518060400160405280600481526020017f4d534f54000000000000000000000000000000000000000000000000000000008152506119b2565b610c46611a9f565b610c6f33601260ff16600a610c5b9190612c35565b636b49d200610c6a9190612d53565b611b88565b8015610c905760008060016101000a81548160ff0219169083151502179055505b50565b600060c960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060378054610ccc90612e78565b80601f0160208091040260200160405190810160405280929190818152602001828054610cf890612e78565b8015610d455780601f10610d1a57610100808354040283529160200191610d45565b820191906000526020600020905b815481529060010190602001808311610d2857829003601f168201915b5050505050905090565b601281565b60008060346000610d63610fdc565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015610e20576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e1790612a8e565b60405180910390fd5b610e34610e2b610fdc565b85858403610fe4565b600191505092915050565b6000610e53610e4c610fdc565b84846111af565b6001905092915050565b6000603460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b610eec610fdc565b73ffffffffffffffffffffffffffffffffffffffff16610f0a610c93565b73ffffffffffffffffffffffffffffffffffffffff1614610f60576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f57906129ee565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610fd0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fc7906128ee565b60405180910390fd5b610fd9816118ec565b50565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611054576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161104b90612a6e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156110c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110bb9061290e565b60405180910390fd5b80603460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040516111a29190612ace565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561121f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161121690612a4e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561128f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112869061288e565b60405180910390fd5b61129a838383611ce9565b6000603360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611321576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113189061294e565b60405180910390fd5b818103603360008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081603360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546113b69190612b8c565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161141a9190612ace565b60405180910390a361142d848484611cee565b50505050565b60006114617f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc60001b611cf3565b60000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611492610fdc565b73ffffffffffffffffffffffffffffffffffffffff166114b0610c93565b73ffffffffffffffffffffffffffffffffffffffff1614611506576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114fd906129ee565b60405180910390fd5b7fd30e1d298bf814ea43d22b4ce8298062b08609cd67496483769d836157dd52fa8133604051611537929190612828565b60405180910390a150565b600061154c611433565b905061155784611cfd565b6000835111806115645750815b15611575576115738484611db6565b505b60006115a37f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd914360001b611e9a565b90508060000160009054906101000a900460ff1661170c5760018160000160006101000a81548160ff02191690831515021790555061166f85836040516024016115ed919061280d565b6040516020818303038152906040527f3659cfe6000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050611db6565b5060008160000160006101000a81548160ff021916908315150217905550611695611433565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614611702576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116f9906128ce565b60405180910390fd5b61170b85611ea4565b5b5050505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611783576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161177a90612a0e565b60405180910390fd5b61178f82600083611ce9565b6000603360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611816576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161180d906128ae565b60405180910390fd5b818103603360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816035600082825461186e9190612dad565b92505081905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516118d39190612ace565b60405180910390a36118e783600084611cee565b505050565b600060c960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160c960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600060019054906101000a900460ff16806119d8575060008054906101000a900460ff16155b611a17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a0e9061298e565b60405180910390fd5b60008060019054906101000a900460ff161590508015611a67576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b611a6f611ef3565b611a798383611fcc565b8015611a9a5760008060016101000a81548160ff0219169083151502179055505b505050565b600060019054906101000a900460ff1680611ac5575060008054906101000a900460ff16155b611b04576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611afb9061298e565b60405180910390fd5b60008060019054906101000a900460ff161590508015611b54576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b611b5c611ef3565b611b646120d5565b8015611b855760008060016101000a81548160ff0219169083151502179055505b50565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611bf8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bef90612aae565b60405180910390fd5b611c0460008383611ce9565b8060356000828254611c169190612b8c565b9250508190555080603360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611c6c9190612b8c565b925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051611cd19190612ace565b60405180910390a3611ce560008383611cee565b5050565b505050565b505050565b6000819050919050565b611d06816121be565b611d45576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d3c906129ae565b60405180910390fd5b80611d727f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc60001b611cf3565b60000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6060611dc1836121be565b611e00576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611df790612a2e565b60405180910390fd5b6000808473ffffffffffffffffffffffffffffffffffffffff1684604051611e2891906127f6565b600060405180830381855af49150503d8060008114611e63576040519150601f19603f3d011682016040523d82523d6000602084013e611e68565b606091505b5091509150611e9082826040518060600160405280602781526020016134f7602791396121d1565b9250505092915050565b6000819050919050565b611ead81611cfd565b8073ffffffffffffffffffffffffffffffffffffffff167fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b60405160405180910390a250565b600060019054906101000a900460ff1680611f19575060008054906101000a900460ff16155b611f58576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f4f9061298e565b60405180910390fd5b60008060019054906101000a900460ff161590508015611fa8576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b8015611fc95760008060016101000a81548160ff0219169083151502179055505b50565b600060019054906101000a900460ff1680611ff2575060008054906101000a900460ff16155b612031576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120289061298e565b60405180910390fd5b60008060019054906101000a900460ff161590508015612081576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b8260369080519060200190612097929190612238565b5081603790805190602001906120ae929190612238565b5080156120d05760008060016101000a81548160ff0219169083151502179055505b505050565b600060019054906101000a900460ff16806120fb575060008054906101000a900460ff16155b61213a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121319061298e565b60405180910390fd5b60008060019054906101000a900460ff16159050801561218a576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b61219a612195610fdc565b6118ec565b80156121bb5760008060016101000a81548160ff0219169083151502179055505b50565b600080823b905060008111915050919050565b606083156121e157829050612231565b6000835111156121f45782518084602001fd5b816040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612228919061286c565b60405180910390fd5b9392505050565b82805461224490612e78565b90600052602060002090601f01602090048101928261226657600085556122ad565b82601f1061227f57805160ff19168380011785556122ad565b828001600101855582156122ad579182015b828111156122ac578251825591602001919060010190612291565b5b5090506122ba91906122be565b5090565b5b808211156122d75760008160009055506001016122bf565b5090565b60006122ee6122e984612b29565b612b04565b90508281526020810184848401111561230657600080fd5b612311848285612e36565b509392505050565b600081359050612328816134c8565b92915050565b600082601f83011261233f57600080fd5b813561234f8482602086016122db565b91505092915050565b600081359050612367816134df565b92915050565b60006020828403121561237f57600080fd5b600061238d84828501612319565b91505092915050565b600080604083850312156123a957600080fd5b60006123b785828601612319565b92505060206123c885828601612319565b9150509250929050565b6000806000606084860312156123e757600080fd5b60006123f586828701612319565b935050602061240686828701612319565b925050604061241786828701612358565b9150509250925092565b6000806040838503121561243457600080fd5b600061244285828601612319565b925050602083013567ffffffffffffffff81111561245f57600080fd5b61246b8582860161232e565b9150509250929050565b6000806040838503121561248857600080fd5b600061249685828601612319565b92505060206124a785828601612358565b9150509250929050565b6000602082840312156124c357600080fd5b60006124d184828501612358565b91505092915050565b6124e381612de1565b82525050565b6124f281612df3565b82525050565b600061250382612b5a565b61250d8185612b70565b935061251d818560208601612e45565b80840191505092915050565b600061253482612b65565b61253e8185612b7b565b935061254e818560208601612e45565b61255781612f68565b840191505092915050565b600061256f602383612b7b565b915061257a82612f86565b604082019050919050565b6000612592602283612b7b565b915061259d82612fd5565b604082019050919050565b60006125b5602f83612b7b565b91506125c082613024565b604082019050919050565b60006125d8602683612b7b565b91506125e382613073565b604082019050919050565b60006125fb602283612b7b565b9150612606826130c2565b604082019050919050565b600061261e602c83612b7b565b915061262982613111565b604082019050919050565b6000612641602683612b7b565b915061264c82613160565b604082019050919050565b6000612664602c83612b7b565b915061266f826131af565b604082019050919050565b6000612687602e83612b7b565b9150612692826131fe565b604082019050919050565b60006126aa602d83612b7b565b91506126b58261324d565b604082019050919050565b60006126cd602883612b7b565b91506126d88261329c565b604082019050919050565b60006126f0602083612b7b565b91506126fb826132eb565b602082019050919050565b6000612713602183612b7b565b915061271e82613314565b604082019050919050565b6000612736602683612b7b565b915061274182613363565b604082019050919050565b6000612759602583612b7b565b9150612764826133b2565b604082019050919050565b600061277c602483612b7b565b915061278782613401565b604082019050919050565b600061279f602583612b7b565b91506127aa82613450565b604082019050919050565b60006127c2601f83612b7b565b91506127cd8261349f565b602082019050919050565b6127e181612e1f565b82525050565b6127f081612e29565b82525050565b600061280282846124f8565b915081905092915050565b600060208201905061282260008301846124da565b92915050565b600060408201905061283d60008301856124da565b61284a60208301846124da565b9392505050565b600060208201905061286660008301846124e9565b92915050565b600060208201905081810360008301526128868184612529565b905092915050565b600060208201905081810360008301526128a781612562565b9050919050565b600060208201905081810360008301526128c781612585565b9050919050565b600060208201905081810360008301526128e7816125a8565b9050919050565b60006020820190508181036000830152612907816125cb565b9050919050565b60006020820190508181036000830152612927816125ee565b9050919050565b6000602082019050818103600083015261294781612611565b9050919050565b6000602082019050818103600083015261296781612634565b9050919050565b6000602082019050818103600083015261298781612657565b9050919050565b600060208201905081810360008301526129a78161267a565b9050919050565b600060208201905081810360008301526129c78161269d565b9050919050565b600060208201905081810360008301526129e7816126c0565b9050919050565b60006020820190508181036000830152612a07816126e3565b9050919050565b60006020820190508181036000830152612a2781612706565b9050919050565b60006020820190508181036000830152612a4781612729565b9050919050565b60006020820190508181036000830152612a678161274c565b9050919050565b60006020820190508181036000830152612a878161276f565b9050919050565b60006020820190508181036000830152612aa781612792565b9050919050565b60006020820190508181036000830152612ac7816127b5565b9050919050565b6000602082019050612ae360008301846127d8565b92915050565b6000602082019050612afe60008301846127e7565b92915050565b6000612b0e612b1f565b9050612b1a8282612eaa565b919050565b6000604051905090565b600067ffffffffffffffff821115612b4457612b43612f39565b5b612b4d82612f68565b9050602081019050919050565b600081519050919050565b600081519050919050565b600081905092915050565b600082825260208201905092915050565b6000612b9782612e1f565b9150612ba283612e1f565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115612bd757612bd6612edb565b5b828201905092915050565b6000808291508390505b6001851115612c2c57808604811115612c0857612c07612edb565b5b6001851615612c175780820291505b8081029050612c2585612f79565b9450612bec565b94509492505050565b6000612c4082612e1f565b9150612c4b83612e1f565b9250612c787fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8484612c80565b905092915050565b600082612c905760019050612d4c565b81612c9e5760009050612d4c565b8160018114612cb45760028114612cbe57612ced565b6001915050612d4c565b60ff841115612cd057612ccf612edb565b5b8360020a915084821115612ce757612ce6612edb565b5b50612d4c565b5060208310610133831016604e8410600b8410161715612d225782820a905083811115612d1d57612d1c612edb565b5b612d4c565b612d2f8484846001612be2565b92509050818404811115612d4657612d45612edb565b5b81810290505b9392505050565b6000612d5e82612e1f565b9150612d6983612e1f565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615612da257612da1612edb565b5b828202905092915050565b6000612db882612e1f565b9150612dc383612e1f565b925082821015612dd657612dd5612edb565b5b828203905092915050565b6000612dec82612dff565b9050919050565b60008115159050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b83811015612e63578082015181840152602081019050612e48565b83811115612e72576000848401525b50505050565b60006002820490506001821680612e9057607f821691505b60208210811415612ea457612ea3612f0a565b5b50919050565b612eb382612f68565b810181811067ffffffffffffffff82111715612ed257612ed1612f39565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160011c9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60008201527f6365000000000000000000000000000000000000000000000000000000000000602082015250565b7f45524331393637557067726164653a207570677261646520627265616b73206660008201527f7572746865722075706772616465730000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b7f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060008201527f64656c656761746563616c6c0000000000000000000000000000000000000000602082015250565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b7f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060008201527f6163746976652070726f78790000000000000000000000000000000000000000602082015250565b7f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160008201527f647920696e697469616c697a6564000000000000000000000000000000000000602082015250565b7f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60008201527f6f74206120636f6e747261637400000000000000000000000000000000000000602082015250565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206160008201527f6c6c6f77616e6365000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b7f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f60008201527f6e74726163740000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b6134d181612de1565b81146134dc57600080fd5b50565b6134e881612e1f565b81146134f357600080fd5b5056fe416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a2646970667358221220e0cd687bc780a8ff8889d9818635edd0a869b820c5fade007c7300f75864b92164736f6c63430008020033
Deployed Bytecode
0x60806040526004361061011f5760003560e01c806370a08231116100a0578063a18c189c11610064578063a18c189c146103b6578063a457c2d7146103e1578063a9059cbb1461041e578063dd62ed3e1461045b578063f2fde38b146104985761011f565b806370a08231146102f5578063715018a6146103325780638129fc1c146103495780638da5cb5b1461036057806395d89b411461038b5761011f565b80633659cfe6116100e75780633659cfe61461021f57806339509351146102485780633eaaf86b1461028557806342966c68146102b05780634f1ef286146102d95761011f565b806306fdde0314610124578063095ea7b31461014f57806318160ddd1461018c57806323b872dd146101b7578063313ce567146101f4575b600080fd5b34801561013057600080fd5b506101396104c1565b604051610146919061286c565b60405180910390f35b34801561015b57600080fd5b5061017660048036038101906101719190612475565b610553565b6040516101839190612851565b60405180910390f35b34801561019857600080fd5b506101a1610571565b6040516101ae9190612ace565b60405180910390f35b3480156101c357600080fd5b506101de60048036038101906101d991906123d2565b61057b565b6040516101eb9190612851565b60405180910390f35b34801561020057600080fd5b50610209610673565b6040516102169190612ae9565b60405180910390f35b34801561022b57600080fd5b506102466004803603810190610241919061236d565b61067c565b005b34801561025457600080fd5b5061026f600480360381019061026a9190612475565b61082b565b60405161027c9190612851565b60405180910390f35b34801561029157600080fd5b5061029a6108d7565b6040516102a79190612ace565b60405180910390f35b3480156102bc57600080fd5b506102d760048036038101906102d291906124b1565b6108fa565b005b6102f360048036038101906102ee9190612421565b610907565b005b34801561030157600080fd5b5061031c6004803603810190610317919061236d565b610a44565b6040516103299190612ace565b60405180910390f35b34801561033e57600080fd5b50610347610a8d565b005b34801561035557600080fd5b5061035e610b15565b005b34801561036c57600080fd5b50610375610c93565b604051610382919061280d565b60405180910390f35b34801561039757600080fd5b506103a0610cbd565b6040516103ad919061286c565b60405180910390f35b3480156103c257600080fd5b506103cb610d4f565b6040516103d89190612ae9565b60405180910390f35b3480156103ed57600080fd5b5061040860048036038101906104039190612475565b610d54565b6040516104159190612851565b60405180910390f35b34801561042a57600080fd5b5061044560048036038101906104409190612475565b610e3f565b6040516104529190612851565b60405180910390f35b34801561046757600080fd5b50610482600480360381019061047d9190612396565b610e5d565b60405161048f9190612ace565b60405180910390f35b3480156104a457600080fd5b506104bf60048036038101906104ba919061236d565b610ee4565b005b6060603680546104d090612e78565b80601f01602080910402602001604051908101604052809291908181526020018280546104fc90612e78565b80156105495780601f1061051e57610100808354040283529160200191610549565b820191906000526020600020905b81548152906001019060200180831161052c57829003601f168201915b5050505050905090565b6000610567610560610fdc565b8484610fe4565b6001905092915050565b6000603554905090565b60006105888484846111af565b6000603460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006105d3610fdc565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015610653576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161064a906129ce565b60405180910390fd5b6106678561065f610fdc565b858403610fe4565b60019150509392505050565b60006012905090565b7f000000000000000000000000310a0329af688be8151f8392ddc80eccf2fdbd2e73ffffffffffffffffffffffffffffffffffffffff163073ffffffffffffffffffffffffffffffffffffffff16141561070b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107029061292e565b60405180910390fd5b7f000000000000000000000000310a0329af688be8151f8392ddc80eccf2fdbd2e73ffffffffffffffffffffffffffffffffffffffff1661074a611433565b73ffffffffffffffffffffffffffffffffffffffff16146107a0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107979061296e565b60405180910390fd5b6107a98161148a565b61082881600067ffffffffffffffff8111156107ee577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156108205781602001600182028036833780820191505090505b506000611542565b50565b60006108cd610838610fdc565b848460346000610846610fdc565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546108c89190612b8c565b610fe4565b6001905092915050565b601260ff16600a6108e89190612c35565b636b49d2006108f79190612d53565b81565b6109043382611713565b50565b7f000000000000000000000000310a0329af688be8151f8392ddc80eccf2fdbd2e73ffffffffffffffffffffffffffffffffffffffff163073ffffffffffffffffffffffffffffffffffffffff161415610996576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161098d9061292e565b60405180910390fd5b7f000000000000000000000000310a0329af688be8151f8392ddc80eccf2fdbd2e73ffffffffffffffffffffffffffffffffffffffff166109d5611433565b73ffffffffffffffffffffffffffffffffffffffff1614610a2b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a229061296e565b60405180910390fd5b610a348261148a565b610a4082826001611542565b5050565b6000603360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610a95610fdc565b73ffffffffffffffffffffffffffffffffffffffff16610ab3610c93565b73ffffffffffffffffffffffffffffffffffffffff1614610b09576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b00906129ee565b60405180910390fd5b610b1360006118ec565b565b600060019054906101000a900460ff1680610b3b575060008054906101000a900460ff16155b610b7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b719061298e565b60405180910390fd5b60008060019054906101000a900460ff161590508015610bca576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b610c3e6040518060400160405280600b81526020017f42546f757220436861696e0000000000000000000000000000000000000000008152506040518060400160405280600481526020017f4d534f54000000000000000000000000000000000000000000000000000000008152506119b2565b610c46611a9f565b610c6f33601260ff16600a610c5b9190612c35565b636b49d200610c6a9190612d53565b611b88565b8015610c905760008060016101000a81548160ff0219169083151502179055505b50565b600060c960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060378054610ccc90612e78565b80601f0160208091040260200160405190810160405280929190818152602001828054610cf890612e78565b8015610d455780601f10610d1a57610100808354040283529160200191610d45565b820191906000526020600020905b815481529060010190602001808311610d2857829003601f168201915b5050505050905090565b601281565b60008060346000610d63610fdc565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015610e20576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e1790612a8e565b60405180910390fd5b610e34610e2b610fdc565b85858403610fe4565b600191505092915050565b6000610e53610e4c610fdc565b84846111af565b6001905092915050565b6000603460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b610eec610fdc565b73ffffffffffffffffffffffffffffffffffffffff16610f0a610c93565b73ffffffffffffffffffffffffffffffffffffffff1614610f60576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f57906129ee565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610fd0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fc7906128ee565b60405180910390fd5b610fd9816118ec565b50565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611054576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161104b90612a6e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156110c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110bb9061290e565b60405180910390fd5b80603460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040516111a29190612ace565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561121f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161121690612a4e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561128f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112869061288e565b60405180910390fd5b61129a838383611ce9565b6000603360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611321576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113189061294e565b60405180910390fd5b818103603360008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081603360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546113b69190612b8c565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161141a9190612ace565b60405180910390a361142d848484611cee565b50505050565b60006114617f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc60001b611cf3565b60000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611492610fdc565b73ffffffffffffffffffffffffffffffffffffffff166114b0610c93565b73ffffffffffffffffffffffffffffffffffffffff1614611506576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114fd906129ee565b60405180910390fd5b7fd30e1d298bf814ea43d22b4ce8298062b08609cd67496483769d836157dd52fa8133604051611537929190612828565b60405180910390a150565b600061154c611433565b905061155784611cfd565b6000835111806115645750815b15611575576115738484611db6565b505b60006115a37f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd914360001b611e9a565b90508060000160009054906101000a900460ff1661170c5760018160000160006101000a81548160ff02191690831515021790555061166f85836040516024016115ed919061280d565b6040516020818303038152906040527f3659cfe6000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050611db6565b5060008160000160006101000a81548160ff021916908315150217905550611695611433565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614611702576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116f9906128ce565b60405180910390fd5b61170b85611ea4565b5b5050505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611783576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161177a90612a0e565b60405180910390fd5b61178f82600083611ce9565b6000603360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611816576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161180d906128ae565b60405180910390fd5b818103603360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816035600082825461186e9190612dad565b92505081905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516118d39190612ace565b60405180910390a36118e783600084611cee565b505050565b600060c960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160c960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600060019054906101000a900460ff16806119d8575060008054906101000a900460ff16155b611a17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a0e9061298e565b60405180910390fd5b60008060019054906101000a900460ff161590508015611a67576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b611a6f611ef3565b611a798383611fcc565b8015611a9a5760008060016101000a81548160ff0219169083151502179055505b505050565b600060019054906101000a900460ff1680611ac5575060008054906101000a900460ff16155b611b04576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611afb9061298e565b60405180910390fd5b60008060019054906101000a900460ff161590508015611b54576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b611b5c611ef3565b611b646120d5565b8015611b855760008060016101000a81548160ff0219169083151502179055505b50565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611bf8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bef90612aae565b60405180910390fd5b611c0460008383611ce9565b8060356000828254611c169190612b8c565b9250508190555080603360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611c6c9190612b8c565b925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051611cd19190612ace565b60405180910390a3611ce560008383611cee565b5050565b505050565b505050565b6000819050919050565b611d06816121be565b611d45576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d3c906129ae565b60405180910390fd5b80611d727f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc60001b611cf3565b60000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6060611dc1836121be565b611e00576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611df790612a2e565b60405180910390fd5b6000808473ffffffffffffffffffffffffffffffffffffffff1684604051611e2891906127f6565b600060405180830381855af49150503d8060008114611e63576040519150601f19603f3d011682016040523d82523d6000602084013e611e68565b606091505b5091509150611e9082826040518060600160405280602781526020016134f7602791396121d1565b9250505092915050565b6000819050919050565b611ead81611cfd565b8073ffffffffffffffffffffffffffffffffffffffff167fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b60405160405180910390a250565b600060019054906101000a900460ff1680611f19575060008054906101000a900460ff16155b611f58576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f4f9061298e565b60405180910390fd5b60008060019054906101000a900460ff161590508015611fa8576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b8015611fc95760008060016101000a81548160ff0219169083151502179055505b50565b600060019054906101000a900460ff1680611ff2575060008054906101000a900460ff16155b612031576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120289061298e565b60405180910390fd5b60008060019054906101000a900460ff161590508015612081576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b8260369080519060200190612097929190612238565b5081603790805190602001906120ae929190612238565b5080156120d05760008060016101000a81548160ff0219169083151502179055505b505050565b600060019054906101000a900460ff16806120fb575060008054906101000a900460ff16155b61213a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121319061298e565b60405180910390fd5b60008060019054906101000a900460ff16159050801561218a576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b61219a612195610fdc565b6118ec565b80156121bb5760008060016101000a81548160ff0219169083151502179055505b50565b600080823b905060008111915050919050565b606083156121e157829050612231565b6000835111156121f45782518084602001fd5b816040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612228919061286c565b60405180910390fd5b9392505050565b82805461224490612e78565b90600052602060002090601f01602090048101928261226657600085556122ad565b82601f1061227f57805160ff19168380011785556122ad565b828001600101855582156122ad579182015b828111156122ac578251825591602001919060010190612291565b5b5090506122ba91906122be565b5090565b5b808211156122d75760008160009055506001016122bf565b5090565b60006122ee6122e984612b29565b612b04565b90508281526020810184848401111561230657600080fd5b612311848285612e36565b509392505050565b600081359050612328816134c8565b92915050565b600082601f83011261233f57600080fd5b813561234f8482602086016122db565b91505092915050565b600081359050612367816134df565b92915050565b60006020828403121561237f57600080fd5b600061238d84828501612319565b91505092915050565b600080604083850312156123a957600080fd5b60006123b785828601612319565b92505060206123c885828601612319565b9150509250929050565b6000806000606084860312156123e757600080fd5b60006123f586828701612319565b935050602061240686828701612319565b925050604061241786828701612358565b9150509250925092565b6000806040838503121561243457600080fd5b600061244285828601612319565b925050602083013567ffffffffffffffff81111561245f57600080fd5b61246b8582860161232e565b9150509250929050565b6000806040838503121561248857600080fd5b600061249685828601612319565b92505060206124a785828601612358565b9150509250929050565b6000602082840312156124c357600080fd5b60006124d184828501612358565b91505092915050565b6124e381612de1565b82525050565b6124f281612df3565b82525050565b600061250382612b5a565b61250d8185612b70565b935061251d818560208601612e45565b80840191505092915050565b600061253482612b65565b61253e8185612b7b565b935061254e818560208601612e45565b61255781612f68565b840191505092915050565b600061256f602383612b7b565b915061257a82612f86565b604082019050919050565b6000612592602283612b7b565b915061259d82612fd5565b604082019050919050565b60006125b5602f83612b7b565b91506125c082613024565b604082019050919050565b60006125d8602683612b7b565b91506125e382613073565b604082019050919050565b60006125fb602283612b7b565b9150612606826130c2565b604082019050919050565b600061261e602c83612b7b565b915061262982613111565b604082019050919050565b6000612641602683612b7b565b915061264c82613160565b604082019050919050565b6000612664602c83612b7b565b915061266f826131af565b604082019050919050565b6000612687602e83612b7b565b9150612692826131fe565b604082019050919050565b60006126aa602d83612b7b565b91506126b58261324d565b604082019050919050565b60006126cd602883612b7b565b91506126d88261329c565b604082019050919050565b60006126f0602083612b7b565b91506126fb826132eb565b602082019050919050565b6000612713602183612b7b565b915061271e82613314565b604082019050919050565b6000612736602683612b7b565b915061274182613363565b604082019050919050565b6000612759602583612b7b565b9150612764826133b2565b604082019050919050565b600061277c602483612b7b565b915061278782613401565b604082019050919050565b600061279f602583612b7b565b91506127aa82613450565b604082019050919050565b60006127c2601f83612b7b565b91506127cd8261349f565b602082019050919050565b6127e181612e1f565b82525050565b6127f081612e29565b82525050565b600061280282846124f8565b915081905092915050565b600060208201905061282260008301846124da565b92915050565b600060408201905061283d60008301856124da565b61284a60208301846124da565b9392505050565b600060208201905061286660008301846124e9565b92915050565b600060208201905081810360008301526128868184612529565b905092915050565b600060208201905081810360008301526128a781612562565b9050919050565b600060208201905081810360008301526128c781612585565b9050919050565b600060208201905081810360008301526128e7816125a8565b9050919050565b60006020820190508181036000830152612907816125cb565b9050919050565b60006020820190508181036000830152612927816125ee565b9050919050565b6000602082019050818103600083015261294781612611565b9050919050565b6000602082019050818103600083015261296781612634565b9050919050565b6000602082019050818103600083015261298781612657565b9050919050565b600060208201905081810360008301526129a78161267a565b9050919050565b600060208201905081810360008301526129c78161269d565b9050919050565b600060208201905081810360008301526129e7816126c0565b9050919050565b60006020820190508181036000830152612a07816126e3565b9050919050565b60006020820190508181036000830152612a2781612706565b9050919050565b60006020820190508181036000830152612a4781612729565b9050919050565b60006020820190508181036000830152612a678161274c565b9050919050565b60006020820190508181036000830152612a878161276f565b9050919050565b60006020820190508181036000830152612aa781612792565b9050919050565b60006020820190508181036000830152612ac7816127b5565b9050919050565b6000602082019050612ae360008301846127d8565b92915050565b6000602082019050612afe60008301846127e7565b92915050565b6000612b0e612b1f565b9050612b1a8282612eaa565b919050565b6000604051905090565b600067ffffffffffffffff821115612b4457612b43612f39565b5b612b4d82612f68565b9050602081019050919050565b600081519050919050565b600081519050919050565b600081905092915050565b600082825260208201905092915050565b6000612b9782612e1f565b9150612ba283612e1f565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115612bd757612bd6612edb565b5b828201905092915050565b6000808291508390505b6001851115612c2c57808604811115612c0857612c07612edb565b5b6001851615612c175780820291505b8081029050612c2585612f79565b9450612bec565b94509492505050565b6000612c4082612e1f565b9150612c4b83612e1f565b9250612c787fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8484612c80565b905092915050565b600082612c905760019050612d4c565b81612c9e5760009050612d4c565b8160018114612cb45760028114612cbe57612ced565b6001915050612d4c565b60ff841115612cd057612ccf612edb565b5b8360020a915084821115612ce757612ce6612edb565b5b50612d4c565b5060208310610133831016604e8410600b8410161715612d225782820a905083811115612d1d57612d1c612edb565b5b612d4c565b612d2f8484846001612be2565b92509050818404811115612d4657612d45612edb565b5b81810290505b9392505050565b6000612d5e82612e1f565b9150612d6983612e1f565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615612da257612da1612edb565b5b828202905092915050565b6000612db882612e1f565b9150612dc383612e1f565b925082821015612dd657612dd5612edb565b5b828203905092915050565b6000612dec82612dff565b9050919050565b60008115159050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b83811015612e63578082015181840152602081019050612e48565b83811115612e72576000848401525b50505050565b60006002820490506001821680612e9057607f821691505b60208210811415612ea457612ea3612f0a565b5b50919050565b612eb382612f68565b810181811067ffffffffffffffff82111715612ed257612ed1612f39565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160011c9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60008201527f6365000000000000000000000000000000000000000000000000000000000000602082015250565b7f45524331393637557067726164653a207570677261646520627265616b73206660008201527f7572746865722075706772616465730000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b7f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060008201527f64656c656761746563616c6c0000000000000000000000000000000000000000602082015250565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b7f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060008201527f6163746976652070726f78790000000000000000000000000000000000000000602082015250565b7f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160008201527f647920696e697469616c697a6564000000000000000000000000000000000000602082015250565b7f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60008201527f6f74206120636f6e747261637400000000000000000000000000000000000000602082015250565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206160008201527f6c6c6f77616e6365000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b7f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f60008201527f6e74726163740000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b6134d181612de1565b81146134dc57600080fd5b50565b6134e881612e1f565b81146134f357600080fd5b5056fe416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a2646970667358221220e0cd687bc780a8ff8889d9818635edd0a869b820c5fade007c7300f75864b92164736f6c63430008020033
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
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.