More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 1,367 transactions
| Transaction Hash |
|
Block
|
From
|
To
|
|||||
|---|---|---|---|---|---|---|---|---|---|
| Transfer | 140724652 | 161 days ago | IN | 0 ETH | 0.00000004957 | ||||
| Transfer | 138574910 | 211 days ago | IN | 0 ETH | 0.000000046372 | ||||
| Transfer | 130008685 | 409 days ago | IN | 0 ETH | 0.000001713106 | ||||
| Transfer | 129771225 | 414 days ago | IN | 0 ETH | 0.000000572938 | ||||
| Transfer | 129771208 | 414 days ago | IN | 0 ETH | 0.000000436235 | ||||
| Transfer | 129771148 | 414 days ago | IN | 0 ETH | 0.00000068073 | ||||
| Approve | 126647458 | 487 days ago | IN | 0 ETH | 0.00000021572 | ||||
| Transfer | 126103316 | 499 days ago | IN | 0 ETH | 0.000001784807 | ||||
| Transfer | 126034322 | 501 days ago | IN | 0 ETH | 0.000000100743 | ||||
| Approve | 121709236 | 601 days ago | IN | 0 ETH | 0.000001520389 | ||||
| Approve | 121061640 | 616 days ago | IN | 0 ETH | 0.000002946532 | ||||
| Approve | 120981690 | 618 days ago | IN | 0 ETH | 0.000002880484 | ||||
| Approve | 119779086 | 646 days ago | IN | 0 ETH | 0.0000015365 | ||||
| Transfer | 119169863 | 660 days ago | IN | 0 ETH | 0.000003466197 | ||||
| Approve | 119161343 | 660 days ago | IN | 0 ETH | 0.000003001066 | ||||
| Transfer | 119150180 | 660 days ago | IN | 0 ETH | 0.000002903017 | ||||
| Transfer | 119147701 | 660 days ago | IN | 0 ETH | 0.000001905957 | ||||
| Transfer | 119147185 | 660 days ago | IN | 0 ETH | 0.000001900477 | ||||
| Transfer | 119147115 | 660 days ago | IN | 0 ETH | 0.000001889437 | ||||
| Approve | 119147100 | 660 days ago | IN | 0 ETH | 0.000002936826 | ||||
| Transfer | 119147047 | 660 days ago | IN | 0 ETH | 0.00000193081 | ||||
| Transfer | 119146948 | 660 days ago | IN | 0 ETH | 0.000001923132 | ||||
| Transfer | 119146913 | 660 days ago | IN | 0 ETH | 0.000001899708 | ||||
| Transfer | 119146885 | 660 days ago | IN | 0 ETH | 0.00000191489 | ||||
| Approve | 119146871 | 660 days ago | IN | 0 ETH | 0.000002945412 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Cross-Chain Transactions
Loading...
Loading
Contract Name:
MDSC
Compiler Version
v0.8.20+commit.a1b79de6
Contract Source Code (Solidity)
/**
*Submitted for verification at optimistic.etherscan.io on 2024-03-12
*/
// File: @openzeppelin/contracts/security/ReentrancyGuard.sol
// OpenZeppelin Contracts (last updated v4.9.0) (security/ReentrancyGuard.sol)
pragma solidity ^0.8.0;
/**
* @dev Contract module that helps prevent reentrant calls to a function.
*
* Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
* available, which can be applied to functions to make sure there are no nested
* (reentrant) calls to them.
*
* Note that because there is a single `nonReentrant` guard, functions marked as
* `nonReentrant` may not call one another. This can be worked around by making
* those functions `private`, and then adding `external` `nonReentrant` entry
* points to them.
*
* TIP: If you would like to learn more about reentrancy and alternative ways
* to protect against it, check out our blog post
* https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
*/
abstract contract ReentrancyGuard {
// Booleans are more expensive than uint256 or any type that takes up a full
// word because each write operation emits an extra SLOAD to first read the
// slot's contents, replace the bits taken up by the boolean, and then write
// back. This is the compiler's defense against contract upgrades and
// pointer aliasing, and it cannot be disabled.
// The values being non-zero value makes deployment a bit more expensive,
// but in exchange the refund on every call to nonReentrant will be lower in
// amount. Since refunds are capped to a percentage of the total
// transaction's gas, it is best to keep them low in cases like this one, to
// increase the likelihood of the full refund coming into effect.
uint256 private constant _NOT_ENTERED = 1;
uint256 private constant _ENTERED = 2;
uint256 private _status;
constructor() {
_status = _NOT_ENTERED;
}
/**
* @dev Prevents a contract from calling itself, directly or indirectly.
* Calling a `nonReentrant` function from another `nonReentrant`
* function is not supported. It is possible to prevent this from happening
* by making the `nonReentrant` function external, and making it call a
* `private` function that does the actual work.
*/
modifier nonReentrant() {
_nonReentrantBefore();
_;
_nonReentrantAfter();
}
function _nonReentrantBefore() private {
// On the first call to nonReentrant, _status will be _NOT_ENTERED
require(_status != _ENTERED, "ReentrancyGuard: reentrant call");
// Any calls to nonReentrant after this point will fail
_status = _ENTERED;
}
function _nonReentrantAfter() private {
// By storing the original value once again, a refund is triggered (see
// https://eips.ethereum.org/EIPS/eip-2200)
_status = _NOT_ENTERED;
}
/**
* @dev Returns true if the reentrancy guard is currently set to "entered", which indicates there is a
* `nonReentrant` function in the call stack.
*/
function _reentrancyGuardEntered() internal view returns (bool) {
return _status == _ENTERED;
}
}
// File: @openzeppelin/contracts/utils/Address.sol
// OpenZeppelin Contracts (last updated v5.0.0) (utils/Address.sol)
pragma solidity ^0.8.20;
/**
* @dev Collection of functions related to the address type
*/
library Address {
/**
* @dev The ETH balance of the account is not enough to perform the operation.
*/
error AddressInsufficientBalance(address account);
/**
* @dev There's no code at `target` (it is not a contract).
*/
error AddressEmptyCode(address target);
/**
* @dev A call to an address target failed. The target may have reverted.
*/
error FailedInnerCall();
/**
* @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://consensys.net/diligence/blog/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.8.20/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
*/
function sendValue(address payable recipient, uint256 amount) internal {
if (address(this).balance < amount) {
revert AddressInsufficientBalance(address(this));
}
(bool success, ) = recipient.call{value: amount}("");
if (!success) {
revert FailedInnerCall();
}
}
/**
* @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 or custom error, it is bubbled
* up by this function (like regular Solidity function calls). However, if
* the call reverted with no returned reason, this function reverts with a
* {FailedInnerCall} error.
*
* 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.
*/
function functionCall(address target, bytes memory data) internal returns (bytes memory) {
return functionCallWithValue(target, data, 0);
}
/**
* @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`.
*/
function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {
if (address(this).balance < value) {
revert AddressInsufficientBalance(address(this));
}
(bool success, bytes memory returndata) = target.call{value: value}(data);
return verifyCallResultFromTarget(target, success, returndata);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a static call.
*/
function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
(bool success, bytes memory returndata) = target.staticcall(data);
return verifyCallResultFromTarget(target, success, returndata);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a delegate call.
*/
function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
(bool success, bytes memory returndata) = target.delegatecall(data);
return verifyCallResultFromTarget(target, success, returndata);
}
/**
* @dev Tool to verify that a low level call to smart-contract was successful, and reverts if the target
* was not a contract or bubbling up the revert reason (falling back to {FailedInnerCall}) in case of an
* unsuccessful call.
*/
function verifyCallResultFromTarget(
address target,
bool success,
bytes memory returndata
) internal view returns (bytes memory) {
if (!success) {
_revert(returndata);
} else {
// only check if target is a contract if the call was successful and the return data is empty
// otherwise we already know that it was a contract
if (returndata.length == 0 && target.code.length == 0) {
revert AddressEmptyCode(target);
}
return returndata;
}
}
/**
* @dev Tool to verify that a low level call was successful, and reverts if it wasn't, either by bubbling the
* revert reason or with a default {FailedInnerCall} error.
*/
function verifyCallResult(bool success, bytes memory returndata) internal pure returns (bytes memory) {
if (!success) {
_revert(returndata);
} else {
return returndata;
}
}
/**
* @dev Reverts with returndata if present. Otherwise reverts with {FailedInnerCall}.
*/
function _revert(bytes memory returndata) private pure {
// 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
/// @solidity memory-safe-assembly
assembly {
let returndata_size := mload(returndata)
revert(add(32, returndata), returndata_size)
}
} else {
revert FailedInnerCall();
}
}
}
// File: @openzeppelin/contracts/token/ERC20/extensions/IERC20Permit.sol
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/IERC20Permit.sol)
pragma solidity ^0.8.20;
/**
* @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in
* https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].
*
* Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by
* presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't
* need to send a transaction, and thus is not required to hold Ether at all.
*
* ==== Security Considerations
*
* There are two important considerations concerning the use of `permit`. The first is that a valid permit signature
* expresses an allowance, and it should not be assumed to convey additional meaning. In particular, it should not be
* considered as an intention to spend the allowance in any specific way. The second is that because permits have
* built-in replay protection and can be submitted by anyone, they can be frontrun. A protocol that uses permits should
* take this into consideration and allow a `permit` call to fail. Combining these two aspects, a pattern that may be
* generally recommended is:
*
* ```solidity
* function doThingWithPermit(..., uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) public {
* try token.permit(msg.sender, address(this), value, deadline, v, r, s) {} catch {}
* doThing(..., value);
* }
*
* function doThing(..., uint256 value) public {
* token.safeTransferFrom(msg.sender, address(this), value);
* ...
* }
* ```
*
* Observe that: 1) `msg.sender` is used as the owner, leaving no ambiguity as to the signer intent, and 2) the use of
* `try/catch` allows the permit to fail and makes the code tolerant to frontrunning. (See also
* {SafeERC20-safeTransferFrom}).
*
* Additionally, note that smart contract wallets (such as Argent or Safe) are not able to produce permit signatures, so
* contracts should have entry points that don't rely on permit.
*/
interface IERC20Permit {
/**
* @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens,
* given ``owner``'s signed approval.
*
* IMPORTANT: The same issues {IERC20-approve} has related to transaction
* ordering also apply here.
*
* Emits an {Approval} event.
*
* Requirements:
*
* - `spender` cannot be the zero address.
* - `deadline` must be a timestamp in the future.
* - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`
* over the EIP712-formatted function arguments.
* - the signature must use ``owner``'s current nonce (see {nonces}).
*
* For more information on the signature format, see the
* https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP
* section].
*
* CAUTION: See Security Considerations above.
*/
function permit(
address owner,
address spender,
uint256 value,
uint256 deadline,
uint8 v,
bytes32 r,
bytes32 s
) external;
/**
* @dev Returns the current nonce for `owner`. This value must be
* included whenever a signature is generated for {permit}.
*
* Every successful call to {permit} increases ``owner``'s nonce by one. This
* prevents a signature from being used multiple times.
*/
function nonces(address owner) external view returns (uint256);
/**
* @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}.
*/
// solhint-disable-next-line func-name-mixedcase
function DOMAIN_SEPARATOR() external view returns (bytes32);
}
// File: @openzeppelin/contracts/interfaces/draft-IERC6093.sol
// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/draft-IERC6093.sol)
pragma solidity ^0.8.20;
/**
* @dev Standard ERC20 Errors
* Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC20 tokens.
*/
interface IERC20Errors {
/**
* @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.
* @param sender Address whose tokens are being transferred.
* @param balance Current balance for the interacting account.
* @param needed Minimum amount required to perform a transfer.
*/
error ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed);
/**
* @dev Indicates a failure with the token `sender`. Used in transfers.
* @param sender Address whose tokens are being transferred.
*/
error ERC20InvalidSender(address sender);
/**
* @dev Indicates a failure with the token `receiver`. Used in transfers.
* @param receiver Address to which tokens are being transferred.
*/
error ERC20InvalidReceiver(address receiver);
/**
* @dev Indicates a failure with the `spender`’s `allowance`. Used in transfers.
* @param spender Address that may be allowed to operate on tokens without being their owner.
* @param allowance Amount of tokens a `spender` is allowed to operate with.
* @param needed Minimum amount required to perform a transfer.
*/
error ERC20InsufficientAllowance(address spender, uint256 allowance, uint256 needed);
/**
* @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
* @param approver Address initiating an approval operation.
*/
error ERC20InvalidApprover(address approver);
/**
* @dev Indicates a failure with the `spender` to be approved. Used in approvals.
* @param spender Address that may be allowed to operate on tokens without being their owner.
*/
error ERC20InvalidSpender(address spender);
}
/**
* @dev Standard ERC721 Errors
* Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC721 tokens.
*/
interface IERC721Errors {
/**
* @dev Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in EIP-20.
* Used in balance queries.
* @param owner Address of the current owner of a token.
*/
error ERC721InvalidOwner(address owner);
/**
* @dev Indicates a `tokenId` whose `owner` is the zero address.
* @param tokenId Identifier number of a token.
*/
error ERC721NonexistentToken(uint256 tokenId);
/**
* @dev Indicates an error related to the ownership over a particular token. Used in transfers.
* @param sender Address whose tokens are being transferred.
* @param tokenId Identifier number of a token.
* @param owner Address of the current owner of a token.
*/
error ERC721IncorrectOwner(address sender, uint256 tokenId, address owner);
/**
* @dev Indicates a failure with the token `sender`. Used in transfers.
* @param sender Address whose tokens are being transferred.
*/
error ERC721InvalidSender(address sender);
/**
* @dev Indicates a failure with the token `receiver`. Used in transfers.
* @param receiver Address to which tokens are being transferred.
*/
error ERC721InvalidReceiver(address receiver);
/**
* @dev Indicates a failure with the `operator`’s approval. Used in transfers.
* @param operator Address that may be allowed to operate on tokens without being their owner.
* @param tokenId Identifier number of a token.
*/
error ERC721InsufficientApproval(address operator, uint256 tokenId);
/**
* @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
* @param approver Address initiating an approval operation.
*/
error ERC721InvalidApprover(address approver);
/**
* @dev Indicates a failure with the `operator` to be approved. Used in approvals.
* @param operator Address that may be allowed to operate on tokens without being their owner.
*/
error ERC721InvalidOperator(address operator);
}
/**
* @dev Standard ERC1155 Errors
* Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC1155 tokens.
*/
interface IERC1155Errors {
/**
* @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.
* @param sender Address whose tokens are being transferred.
* @param balance Current balance for the interacting account.
* @param needed Minimum amount required to perform a transfer.
* @param tokenId Identifier number of a token.
*/
error ERC1155InsufficientBalance(address sender, uint256 balance, uint256 needed, uint256 tokenId);
/**
* @dev Indicates a failure with the token `sender`. Used in transfers.
* @param sender Address whose tokens are being transferred.
*/
error ERC1155InvalidSender(address sender);
/**
* @dev Indicates a failure with the token `receiver`. Used in transfers.
* @param receiver Address to which tokens are being transferred.
*/
error ERC1155InvalidReceiver(address receiver);
/**
* @dev Indicates a failure with the `operator`’s approval. Used in transfers.
* @param operator Address that may be allowed to operate on tokens without being their owner.
* @param owner Address of the current owner of a token.
*/
error ERC1155MissingApprovalForAll(address operator, address owner);
/**
* @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
* @param approver Address initiating an approval operation.
*/
error ERC1155InvalidApprover(address approver);
/**
* @dev Indicates a failure with the `operator` to be approved. Used in approvals.
* @param operator Address that may be allowed to operate on tokens without being their owner.
*/
error ERC1155InvalidOperator(address operator);
/**
* @dev Indicates an array length mismatch between ids and values in a safeBatchTransferFrom operation.
* Used in batch transfers.
* @param idsLength Length of the array of token identifiers
* @param valuesLength Length of the array of token amounts
*/
error ERC1155InvalidArrayLength(uint256 idsLength, uint256 valuesLength);
}
// File: @openzeppelin/contracts/utils/Context.sol
// OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol)
pragma solidity ^0.8.20;
/**
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
* via msg.sender and msg.data, they should not be accessed in such a direct
* manner, since when dealing with meta-transactions the account sending and
* paying for execution may not be the actual sender (as far as an application
* is concerned).
*
* This contract is only required for intermediate, library-like contracts.
*/
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes calldata) {
return msg.data;
}
function _contextSuffixLength() internal view virtual returns (uint256) {
return 0;
}
}
// File: @openzeppelin/contracts/access/Ownable.sol
// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)
pragma solidity ^0.8.20;
/**
* @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.
*
* The initial owner is set to the address provided by the deployer. 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 Ownable is Context {
address private _owner;
/**
* @dev The caller account is not authorized to perform an operation.
*/
error OwnableUnauthorizedAccount(address account);
/**
* @dev The owner is not a valid owner account. (eg. `address(0)`)
*/
error OwnableInvalidOwner(address owner);
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
/**
* @dev Initializes the contract setting the address provided by the deployer as the initial owner.
*/
constructor(address initialOwner) {
if (initialOwner == address(0)) {
revert OwnableInvalidOwner(address(0));
}
_transferOwnership(initialOwner);
}
/**
* @dev Throws if called by any account other than the owner.
*/
modifier onlyOwner() {
_checkOwner();
_;
}
/**
* @dev Returns the address of the current owner.
*/
function owner() public view virtual returns (address) {
return _owner;
}
/**
* @dev Throws if the sender is not the owner.
*/
function _checkOwner() internal view virtual {
if (owner() != _msgSender()) {
revert OwnableUnauthorizedAccount(_msgSender());
}
}
/**
* @dev Leaves the contract without owner. It will not be possible to call
* `onlyOwner` functions. Can only be called by the current owner.
*
* NOTE: Renouncing ownership will leave the contract without an owner,
* thereby disabling any functionality that is only available to the owner.
*/
function renounceOwnership() public virtual onlyOwner {
_transferOwnership(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 {
if (newOwner == address(0)) {
revert OwnableInvalidOwner(address(0));
}
_transferOwnership(newOwner);
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Internal function without access restriction.
*/
function _transferOwnership(address newOwner) internal virtual {
address oldOwner = _owner;
_owner = newOwner;
emit OwnershipTransferred(oldOwner, newOwner);
}
}
// File: @openzeppelin/contracts/token/ERC20/IERC20.sol
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/IERC20.sol)
pragma solidity ^0.8.20;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
interface IERC20 {
/**
* @dev Emitted when `value` tokens are moved from one account (`from`) to
* another (`to`).
*
* Note that `value` may be zero.
*/
event Transfer(address indexed from, address indexed to, uint256 value);
/**
* @dev Emitted when the allowance of a `spender` for an `owner` is set by
* a call to {approve}. `value` is the new allowance.
*/
event Approval(address indexed owner, address indexed spender, uint256 value);
/**
* @dev Returns the value of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the value of tokens owned by `account`.
*/
function balanceOf(address account) external view returns (uint256);
/**
* @dev Moves a `value` amount of tokens from the caller's account to `to`.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transfer(address to, uint256 value) 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 a `value` amount of tokens 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 value) external returns (bool);
/**
* @dev Moves a `value` amount of tokens from `from` to `to` using the
* allowance mechanism. `value` is then deducted from the caller's
* allowance.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transferFrom(address from, address to, uint256 value) external returns (bool);
}
// File: @openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/utils/SafeERC20.sol)
pragma solidity ^0.8.20;
/**
* @title SafeERC20
* @dev Wrappers around ERC20 operations that throw on failure (when the token
* contract returns false). Tokens that return no value (and instead revert or
* throw on failure) are also supported, non-reverting calls are assumed to be
* successful.
* To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
* which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
*/
library SafeERC20 {
using Address for address;
/**
* @dev An operation with an ERC20 token failed.
*/
error SafeERC20FailedOperation(address token);
/**
* @dev Indicates a failed `decreaseAllowance` request.
*/
error SafeERC20FailedDecreaseAllowance(address spender, uint256 currentAllowance, uint256 requestedDecrease);
/**
* @dev Transfer `value` amount of `token` from the calling contract to `to`. If `token` returns no value,
* non-reverting calls are assumed to be successful.
*/
function safeTransfer(IERC20 token, address to, uint256 value) internal {
_callOptionalReturn(token, abi.encodeCall(token.transfer, (to, value)));
}
/**
* @dev Transfer `value` amount of `token` from `from` to `to`, spending the approval given by `from` to the
* calling contract. If `token` returns no value, non-reverting calls are assumed to be successful.
*/
function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {
_callOptionalReturn(token, abi.encodeCall(token.transferFrom, (from, to, value)));
}
/**
* @dev Increase the calling contract's allowance toward `spender` by `value`. If `token` returns no value,
* non-reverting calls are assumed to be successful.
*/
function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {
uint256 oldAllowance = token.allowance(address(this), spender);
forceApprove(token, spender, oldAllowance + value);
}
/**
* @dev Decrease the calling contract's allowance toward `spender` by `requestedDecrease`. If `token` returns no
* value, non-reverting calls are assumed to be successful.
*/
function safeDecreaseAllowance(IERC20 token, address spender, uint256 requestedDecrease) internal {
unchecked {
uint256 currentAllowance = token.allowance(address(this), spender);
if (currentAllowance < requestedDecrease) {
revert SafeERC20FailedDecreaseAllowance(spender, currentAllowance, requestedDecrease);
}
forceApprove(token, spender, currentAllowance - requestedDecrease);
}
}
/**
* @dev Set the calling contract's allowance toward `spender` to `value`. If `token` returns no value,
* non-reverting calls are assumed to be successful. Meant to be used with tokens that require the approval
* to be set to zero before setting it to a non-zero value, such as USDT.
*/
function forceApprove(IERC20 token, address spender, uint256 value) internal {
bytes memory approvalCall = abi.encodeCall(token.approve, (spender, value));
if (!_callOptionalReturnBool(token, approvalCall)) {
_callOptionalReturn(token, abi.encodeCall(token.approve, (spender, 0)));
_callOptionalReturn(token, approvalCall);
}
}
/**
* @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
* on the return value: the return value is optional (but if data is returned, it must not be false).
* @param token The token targeted by the call.
* @param data The call data (encoded using abi.encode or one of its variants).
*/
function _callOptionalReturn(IERC20 token, bytes memory data) private {
// We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
// we're implementing it ourselves. We use {Address-functionCall} to perform this call, which verifies that
// the target address contains contract code and also asserts for success in the low-level call.
bytes memory returndata = address(token).functionCall(data);
if (returndata.length != 0 && !abi.decode(returndata, (bool))) {
revert SafeERC20FailedOperation(address(token));
}
}
/**
* @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
* on the return value: the return value is optional (but if data is returned, it must not be false).
* @param token The token targeted by the call.
* @param data The call data (encoded using abi.encode or one of its variants).
*
* This is a variant of {_callOptionalReturn} that silents catches all reverts and returns a bool instead.
*/
function _callOptionalReturnBool(IERC20 token, bytes memory data) private returns (bool) {
// We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
// we're implementing it ourselves. We cannot use {Address-functionCall} here since this should return false
// and not revert is the subcall reverts.
(bool success, bytes memory returndata) = address(token).call(data);
return success && (returndata.length == 0 || abi.decode(returndata, (bool))) && address(token).code.length > 0;
}
}
// File: @openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/IERC20Metadata.sol)
pragma solidity ^0.8.20;
/**
* @dev Interface for the optional metadata functions from the ERC20 standard.
*/
interface IERC20Metadata is IERC20 {
/**
* @dev Returns the name of the token.
*/
function name() external view returns (string memory);
/**
* @dev Returns the symbol of the token.
*/
function symbol() external view returns (string memory);
/**
* @dev Returns the decimals places of the token.
*/
function decimals() external view returns (uint8);
}
// File: @openzeppelin/contracts/token/ERC20/ERC20.sol
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/ERC20.sol)
pragma solidity ^0.8.20;
/**
* @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}.
*
* TIP: For a detailed writeup see our guide
* https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How
* to implement supply mechanisms].
*
* The default value of {decimals} is 18. To change this, you should override
* this function so it returns a different value.
*
* 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.
*/
abstract contract ERC20 is Context, IERC20, IERC20Metadata, IERC20Errors {
mapping(address account => uint256) private _balances;
mapping(address account => mapping(address spender => uint256)) private _allowances;
uint256 private _totalSupply;
string private _name;
string private _symbol;
/**
* @dev Sets the values for {name} and {symbol}.
*
* All two of these values are immutable: they can only be set once during
* construction.
*/
constructor(string memory name_, string memory symbol_) {
_name = name_;
_symbol = symbol_;
}
/**
* @dev Returns the name of the token.
*/
function name() public view virtual returns (string memory) {
return _name;
}
/**
* @dev Returns the symbol of the token, usually a shorter version of the
* name.
*/
function symbol() public view virtual returns (string memory) {
return _symbol;
}
/**
* @dev Returns the number of decimals used to get its user representation.
* For example, if `decimals` equals `2`, a balance of `505` tokens should
* be displayed to a user as `5.05` (`505 / 10 ** 2`).
*
* Tokens usually opt for a value of 18, imitating the relationship between
* Ether and Wei. This is the default value returned by this function, unless
* it's 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 returns (uint8) {
return 18;
}
/**
* @dev See {IERC20-totalSupply}.
*/
function totalSupply() public view virtual returns (uint256) {
return _totalSupply;
}
/**
* @dev See {IERC20-balanceOf}.
*/
function balanceOf(address account) public view virtual returns (uint256) {
return _balances[account];
}
/**
* @dev See {IERC20-transfer}.
*
* Requirements:
*
* - `to` cannot be the zero address.
* - the caller must have a balance of at least `value`.
*/
function transfer(address to, uint256 value) public virtual returns (bool) {
address owner = _msgSender();
_transfer(owner, to, value);
return true;
}
/**
* @dev See {IERC20-allowance}.
*/
function allowance(address owner, address spender) public view virtual returns (uint256) {
return _allowances[owner][spender];
}
/**
* @dev See {IERC20-approve}.
*
* NOTE: If `value` is the maximum `uint256`, the allowance is not updated on
* `transferFrom`. This is semantically equivalent to an infinite approval.
*
* Requirements:
*
* - `spender` cannot be the zero address.
*/
function approve(address spender, uint256 value) public virtual returns (bool) {
address owner = _msgSender();
_approve(owner, spender, value);
return true;
}
/**
* @dev See {IERC20-transferFrom}.
*
* Emits an {Approval} event indicating the updated allowance. This is not
* required by the EIP. See the note at the beginning of {ERC20}.
*
* NOTE: Does not update the allowance if the current allowance
* is the maximum `uint256`.
*
* Requirements:
*
* - `from` and `to` cannot be the zero address.
* - `from` must have a balance of at least `value`.
* - the caller must have allowance for ``from``'s tokens of at least
* `value`.
*/
function transferFrom(address from, address to, uint256 value) public virtual returns (bool) {
address spender = _msgSender();
_spendAllowance(from, spender, value);
_transfer(from, to, value);
return true;
}
/**
* @dev Moves a `value` amount of tokens from `from` to `to`.
*
* This internal function is equivalent to {transfer}, and can be used to
* e.g. implement automatic token fees, slashing mechanisms, etc.
*
* Emits a {Transfer} event.
*
* NOTE: This function is not virtual, {_update} should be overridden instead.
*/
function _transfer(address from, address to, uint256 value) internal {
if (from == address(0)) {
revert ERC20InvalidSender(address(0));
}
if (to == address(0)) {
revert ERC20InvalidReceiver(address(0));
}
_update(from, to, value);
}
/**
* @dev Transfers a `value` amount of tokens from `from` to `to`, or alternatively mints (or burns) if `from`
* (or `to`) is the zero address. All customizations to transfers, mints, and burns should be done by overriding
* this function.
*
* Emits a {Transfer} event.
*/
function _update(address from, address to, uint256 value) internal virtual {
if (from == address(0)) {
// Overflow check required: The rest of the code assumes that totalSupply never overflows
_totalSupply += value;
} else {
uint256 fromBalance = _balances[from];
if (fromBalance < value) {
revert ERC20InsufficientBalance(from, fromBalance, value);
}
unchecked {
// Overflow not possible: value <= fromBalance <= totalSupply.
_balances[from] = fromBalance - value;
}
}
if (to == address(0)) {
unchecked {
// Overflow not possible: value <= totalSupply or value <= fromBalance <= totalSupply.
_totalSupply -= value;
}
} else {
unchecked {
// Overflow not possible: balance + value is at most totalSupply, which we know fits into a uint256.
_balances[to] += value;
}
}
emit Transfer(from, to, value);
}
/**
* @dev Creates a `value` amount of tokens and assigns them to `account`, by transferring it from address(0).
* Relies on the `_update` mechanism
*
* Emits a {Transfer} event with `from` set to the zero address.
*
* NOTE: This function is not virtual, {_update} should be overridden instead.
*/
function _mint(address account, uint256 value) internal {
if (account == address(0)) {
revert ERC20InvalidReceiver(address(0));
}
_update(address(0), account, value);
}
/**
* @dev Destroys a `value` amount of tokens from `account`, lowering the total supply.
* Relies on the `_update` mechanism.
*
* Emits a {Transfer} event with `to` set to the zero address.
*
* NOTE: This function is not virtual, {_update} should be overridden instead
*/
function _burn(address account, uint256 value) internal {
if (account == address(0)) {
revert ERC20InvalidSender(address(0));
}
_update(account, address(0), value);
}
/**
* @dev Sets `value` 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.
*
* Overrides to this logic should be done to the variant with an additional `bool emitEvent` argument.
*/
function _approve(address owner, address spender, uint256 value) internal {
_approve(owner, spender, value, true);
}
/**
* @dev Variant of {_approve} with an optional flag to enable or disable the {Approval} event.
*
* By default (when calling {_approve}) the flag is set to true. On the other hand, approval changes made by
* `_spendAllowance` during the `transferFrom` operation set the flag to false. This saves gas by not emitting any
* `Approval` event during `transferFrom` operations.
*
* Anyone who wishes to continue emitting `Approval` events on the`transferFrom` operation can force the flag to
* true using the following override:
* ```
* function _approve(address owner, address spender, uint256 value, bool) internal virtual override {
* super._approve(owner, spender, value, true);
* }
* ```
*
* Requirements are the same as {_approve}.
*/
function _approve(address owner, address spender, uint256 value, bool emitEvent) internal virtual {
if (owner == address(0)) {
revert ERC20InvalidApprover(address(0));
}
if (spender == address(0)) {
revert ERC20InvalidSpender(address(0));
}
_allowances[owner][spender] = value;
if (emitEvent) {
emit Approval(owner, spender, value);
}
}
/**
* @dev Updates `owner` s allowance for `spender` based on spent `value`.
*
* Does not update the allowance value in case of infinite allowance.
* Revert if not enough allowance is available.
*
* Does not emit an {Approval} event.
*/
function _spendAllowance(address owner, address spender, uint256 value) internal virtual {
uint256 currentAllowance = allowance(owner, spender);
if (currentAllowance != type(uint256).max) {
if (currentAllowance < value) {
revert ERC20InsufficientAllowance(spender, currentAllowance, value);
}
unchecked {
_approve(owner, spender, currentAllowance - value, false);
}
}
}
}
// File: MDSC.sol
pragma solidity 0.8.20;
contract MDSC is ERC20, Ownable, ReentrancyGuard {
using SafeERC20 for IERC20;
uint256 public constant INITIAL_UNLOCK = 31500000 * 1e18;
uint256 public constant TOTAL_SUPPLY = 300000000 * 1e18;
struct Lock {
uint256 amount;
uint256 releaseTime;
}
Lock[] public lockSchedule;
constructor() Ownable(msg.sender) ERC20("Medisync", "MDSC") {
_mint(msg.sender, INITIAL_UNLOCK); // Mint initial unlocked tokens to msg.sender
_mint(address(this), TOTAL_SUPPLY - INITIAL_UNLOCK);
// Initialize lock schedule
lockSchedule.push(Lock(50000000 * 1e18, block.timestamp + 30 days));
lockSchedule.push(Lock(50000000 * 1e18, block.timestamp + 90 days));
lockSchedule.push(Lock(168500000 * 1e18, block.timestamp + 550 days));
}
function releaseTokens() external onlyOwner nonReentrant {
uint256 releasedAmount = 0;
for (uint256 i = 0; i < lockSchedule.length; i++) {
if (block.timestamp >= lockSchedule[i].releaseTime && lockSchedule[i].amount > 0) {
releasedAmount += lockSchedule[i].amount;
lockSchedule[i].amount = 0;
}
}
if (releasedAmount > 0) {
_transfer(address(this), owner(), releasedAmount);
}
}
// Add function to retrieve the locked schedule information
function getLockInfo(uint256 index) public view returns (uint256 amount, uint256 releaseTime) {
require(index < lockSchedule.length, "Index out of bounds");
Lock memory lock = lockSchedule[index];
return (lock.amount, lock.releaseTime);
}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"allowance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientAllowance","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"balance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientBalance","type":"error"},{"inputs":[{"internalType":"address","name":"approver","type":"address"}],"name":"ERC20InvalidApprover","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC20InvalidReceiver","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"ERC20InvalidSender","type":"error"},{"inputs":[{"internalType":"address","name":"spender","type":"address"}],"name":"ERC20InvalidSpender","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":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"},{"inputs":[],"name":"INITIAL_UNLOCK","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TOTAL_SUPPLY","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":"value","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getLockInfo","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"releaseTime","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"lockSchedule","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"releaseTime","type":"uint256"}],"stateMutability":"view","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":"releaseTokens","outputs":[],"stateMutability":"nonpayable","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":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","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"}]Contract Creation Code
608060405234801562000010575f80fd5b50336040518060400160405280600881526020017f4d65646973796e630000000000000000000000000000000000000000000000008152506040518060400160405280600481526020017f4d4453430000000000000000000000000000000000000000000000000000000081525081600390816200008f9190620008a3565b508060049081620000a19190620008a3565b5050505f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160362000117575f6040517f1e4fbdf70000000000000000000000000000000000000000000000000000000081526004016200010e9190620009ca565b60405180910390fd5b6200012881620002ce60201b60201c565b5060016006819055506200014e336a1a0e626bf2373d4f8000006200039160201b60201c565b62000183306a1a0e626bf2373d4f8000006af8277896582678ac00000062000177919062000a12565b6200039160201b60201c565b600760405180604001604052806a295be96e64066972000000815260200162278d0042620001b2919062000a4c565b815250908060018154018082558091505060019003905f5260205f2090600202015f909190919091505f820151815f0155602082015181600101555050600760405180604001604052806a295be96e6406697200000081526020016276a700426200021e919062000a4c565b815250908060018154018082558091505060019003905f5260205f2090600202015f909190919091505f820151815f0155602082015181600101555050600760405180604001604052806a8b61434d9de2687880000081526020016302d51900426200028b919062000a4c565b815250908060018154018082558091505060019003905f5260205f2090600202015f909190919091505f820151815f015560208201518160010155505062000aed565b5f60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160055f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160362000404575f6040517fec442f05000000000000000000000000000000000000000000000000000000008152600401620003fb9190620009ca565b60405180910390fd5b620004175f83836200041b60201b60201c565b5050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036200046f578060025f82825462000462919062000a4c565b9250508190555062000540565b5f805f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905081811015620004fb578381836040517fe450d38c000000000000000000000000000000000000000000000000000000008152600401620004f29392919062000a97565b60405180910390fd5b8181035f808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081905550505b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160362000589578060025f8282540392505081905550620005d3565b805f808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055505b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405162000632919062000ad2565b60405180910390a3505050565b5f81519050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f6002820490506001821680620006bb57607f821691505b602082108103620006d157620006d062000676565b5b50919050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f60088302620007357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82620006f8565b620007418683620006f8565b95508019841693508086168417925050509392505050565b5f819050919050565b5f819050919050565b5f6200078b620007856200077f8462000759565b62000762565b62000759565b9050919050565b5f819050919050565b620007a6836200076b565b620007be620007b58262000792565b84845462000704565b825550505050565b5f90565b620007d4620007c6565b620007e18184846200079b565b505050565b5b818110156200080857620007fc5f82620007ca565b600181019050620007e7565b5050565b601f82111562000857576200082181620006d7565b6200082c84620006e9565b810160208510156200083c578190505b620008546200084b85620006e9565b830182620007e6565b50505b505050565b5f82821c905092915050565b5f620008795f19846008026200085c565b1980831691505092915050565b5f62000893838362000868565b9150826002028217905092915050565b620008ae826200063f565b67ffffffffffffffff811115620008ca57620008c962000649565b5b620008d68254620006a3565b620008e38282856200080c565b5f60209050601f83116001811462000919575f841562000904578287015190505b62000910858262000886565b8655506200097f565b601f1984166200092986620006d7565b5f5b8281101562000952578489015182556001820191506020850194506020810190506200092b565b868310156200097257848901516200096e601f89168262000868565b8355505b6001600288020188555050505b505050505050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f620009b28262000987565b9050919050565b620009c481620009a6565b82525050565b5f602082019050620009df5f830184620009b9565b92915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f62000a1e8262000759565b915062000a2b8362000759565b925082820390508181111562000a465762000a45620009e5565b5b92915050565b5f62000a588262000759565b915062000a658362000759565b925082820190508082111562000a805762000a7f620009e5565b5b92915050565b62000a918162000759565b82525050565b5f60608201905062000aac5f830186620009b9565b62000abb602083018562000a86565b62000aca604083018462000a86565b949350505050565b5f60208201905062000ae75f83018462000a86565b92915050565b61154c8062000afb5f395ff3fe608060405234801561000f575f80fd5b5060043610610109575f3560e01c80638da5cb5b116100a0578063a96f86681161006f578063a96f8668146102a9578063c9102afd146102b3578063dd62ed3e146102e4578063dffe44f514610314578063f2fde38b1461034557610109565b80638da5cb5b1461021f578063902d55a51461023d57806395d89b411461025b578063a9059cbb1461027957610109565b8063313ce567116100dc578063313ce567146101a95780634b3a5fa8146101c757806370a08231146101e5578063715018a61461021557610109565b806306fdde031461010d578063095ea7b31461012b57806318160ddd1461015b57806323b872dd14610179575b5f80fd5b610115610361565b604051610122919061102f565b60405180910390f35b610145600480360381019061014091906110e0565b6103f1565b6040516101529190611138565b60405180910390f35b610163610413565b6040516101709190611160565b60405180910390f35b610193600480360381019061018e9190611179565b61041c565b6040516101a09190611138565b60405180910390f35b6101b161044a565b6040516101be91906111e4565b60405180910390f35b6101cf610452565b6040516101dc9190611160565b60405180910390f35b6101ff60048036038101906101fa91906111fd565b610461565b60405161020c9190611160565b60405180910390f35b61021d6104a6565b005b6102276104b9565b6040516102349190611237565b60405180910390f35b6102456104e1565b6040516102529190611160565b60405180910390f35b6102636104f0565b604051610270919061102f565b60405180910390f35b610293600480360381019061028e91906110e0565b610580565b6040516102a09190611138565b60405180910390f35b6102b16105a2565b005b6102cd60048036038101906102c89190611250565b6106ad565b6040516102db92919061127b565b60405180910390f35b6102fe60048036038101906102f991906112a2565b61074a565b60405161030b9190611160565b60405180910390f35b61032e60048036038101906103299190611250565b6107cc565b60405161033c92919061127b565b60405180910390f35b61035f600480360381019061035a91906111fd565b6107fb565b005b6060600380546103709061130d565b80601f016020809104026020016040519081016040528092919081815260200182805461039c9061130d565b80156103e75780601f106103be576101008083540402835291602001916103e7565b820191905f5260205f20905b8154815290600101906020018083116103ca57829003601f168201915b5050505050905090565b5f806103fb61087f565b9050610408818585610886565b600191505092915050565b5f600254905090565b5f8061042661087f565b9050610433858285610898565b61043e85858561092a565b60019150509392505050565b5f6012905090565b6a1a0e626bf2373d4f80000081565b5f805f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b6104ae610a1a565b6104b75f610aa1565b565b5f60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6af8277896582678ac00000081565b6060600480546104ff9061130d565b80601f016020809104026020016040519081016040528092919081815260200182805461052b9061130d565b80156105765780601f1061054d57610100808354040283529160200191610576565b820191905f5260205f20905b81548152906001019060200180831161055957829003601f168201915b5050505050905090565b5f8061058a61087f565b905061059781858561092a565b600191505092915050565b6105aa610a1a565b6105b2610b64565b5f805b60078054905081101561068657600781815481106105d6576105d561133d565b5b905f5260205f20906002020160010154421015801561061657505f600782815481106106055761060461133d565b5b905f5260205f2090600202015f0154115b15610673576007818154811061062f5761062e61133d565b5b905f5260205f2090600202015f0154826106499190611397565b91505f600782815481106106605761065f61133d565b5b905f5260205f2090600202015f01819055505b808061067e906113ca565b9150506105b5565b505f8111156106a2576106a13061069b6104b9565b8361092a565b5b506106ab610bb3565b565b5f8060078054905083106106f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106ed9061145b565b60405180910390fd5b5f6007848154811061070b5761070a61133d565b5b905f5260205f2090600202016040518060400160405290815f82015481526020016001820154815250509050805f015181602001519250925050915091565b5f60015f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905092915050565b600781815481106107db575f80fd5b905f5260205f2090600202015f91509050805f0154908060010154905082565b610803610a1a565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610873575f6040517f1e4fbdf700000000000000000000000000000000000000000000000000000000815260040161086a9190611237565b60405180910390fd5b61087c81610aa1565b50565b5f33905090565b6108938383836001610bbd565b505050565b5f6108a3848461074a565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146109245781811015610915578281836040517ffb8f41b200000000000000000000000000000000000000000000000000000000815260040161090c93929190611479565b60405180910390fd5b61092384848484035f610bbd565b5b50505050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361099a575f6040517f96c6fd1e0000000000000000000000000000000000000000000000000000000081526004016109919190611237565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610a0a575f6040517fec442f05000000000000000000000000000000000000000000000000000000008152600401610a019190611237565b60405180910390fd5b610a15838383610d8c565b505050565b610a2261087f565b73ffffffffffffffffffffffffffffffffffffffff16610a406104b9565b73ffffffffffffffffffffffffffffffffffffffff1614610a9f57610a6361087f565b6040517f118cdaa7000000000000000000000000000000000000000000000000000000008152600401610a969190611237565b60405180910390fd5b565b5f60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160055f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600260065403610ba9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ba0906114f8565b60405180910390fd5b6002600681905550565b6001600681905550565b5f73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603610c2d575f6040517fe602df05000000000000000000000000000000000000000000000000000000008152600401610c249190611237565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610c9d575f6040517f94280d62000000000000000000000000000000000000000000000000000000008152600401610c949190611237565b60405180910390fd5b8160015f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508015610d86578273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92584604051610d7d9190611160565b60405180910390a35b50505050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610ddc578060025f828254610dd09190611397565b92505081905550610eaa565b5f805f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905081811015610e65578381836040517fe450d38c000000000000000000000000000000000000000000000000000000008152600401610e5c93929190611479565b60405180910390fd5b8181035f808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081905550505b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610ef1578060025f8282540392505081905550610f3b565b805f808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055505b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051610f989190611160565b60405180910390a3505050565b5f81519050919050565b5f82825260208201905092915050565b5f5b83811015610fdc578082015181840152602081019050610fc1565b5f8484015250505050565b5f601f19601f8301169050919050565b5f61100182610fa5565b61100b8185610faf565b935061101b818560208601610fbf565b61102481610fe7565b840191505092915050565b5f6020820190508181035f8301526110478184610ff7565b905092915050565b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f61107c82611053565b9050919050565b61108c81611072565b8114611096575f80fd5b50565b5f813590506110a781611083565b92915050565b5f819050919050565b6110bf816110ad565b81146110c9575f80fd5b50565b5f813590506110da816110b6565b92915050565b5f80604083850312156110f6576110f561104f565b5b5f61110385828601611099565b9250506020611114858286016110cc565b9150509250929050565b5f8115159050919050565b6111328161111e565b82525050565b5f60208201905061114b5f830184611129565b92915050565b61115a816110ad565b82525050565b5f6020820190506111735f830184611151565b92915050565b5f805f606084860312156111905761118f61104f565b5b5f61119d86828701611099565b93505060206111ae86828701611099565b92505060406111bf868287016110cc565b9150509250925092565b5f60ff82169050919050565b6111de816111c9565b82525050565b5f6020820190506111f75f8301846111d5565b92915050565b5f602082840312156112125761121161104f565b5b5f61121f84828501611099565b91505092915050565b61123181611072565b82525050565b5f60208201905061124a5f830184611228565b92915050565b5f602082840312156112655761126461104f565b5b5f611272848285016110cc565b91505092915050565b5f60408201905061128e5f830185611151565b61129b6020830184611151565b9392505050565b5f80604083850312156112b8576112b761104f565b5b5f6112c585828601611099565b92505060206112d685828601611099565b9150509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f600282049050600182168061132457607f821691505b602082108103611337576113366112e0565b5b50919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f6113a1826110ad565b91506113ac836110ad565b92508282019050808211156113c4576113c361136a565b5b92915050565b5f6113d4826110ad565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036114065761140561136a565b5b600182019050919050565b7f496e646578206f7574206f6620626f756e6473000000000000000000000000005f82015250565b5f611445601383610faf565b915061145082611411565b602082019050919050565b5f6020820190508181035f83015261147281611439565b9050919050565b5f60608201905061148c5f830186611228565b6114996020830185611151565b6114a66040830184611151565b949350505050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c005f82015250565b5f6114e2601f83610faf565b91506114ed826114ae565b602082019050919050565b5f6020820190508181035f83015261150f816114d6565b905091905056fea264697066735822122002e7c92003854503634c4b52c126e1ed723d5458277c9fd6bdacf8b872be086864736f6c63430008140033
Deployed Bytecode
0x608060405234801561000f575f80fd5b5060043610610109575f3560e01c80638da5cb5b116100a0578063a96f86681161006f578063a96f8668146102a9578063c9102afd146102b3578063dd62ed3e146102e4578063dffe44f514610314578063f2fde38b1461034557610109565b80638da5cb5b1461021f578063902d55a51461023d57806395d89b411461025b578063a9059cbb1461027957610109565b8063313ce567116100dc578063313ce567146101a95780634b3a5fa8146101c757806370a08231146101e5578063715018a61461021557610109565b806306fdde031461010d578063095ea7b31461012b57806318160ddd1461015b57806323b872dd14610179575b5f80fd5b610115610361565b604051610122919061102f565b60405180910390f35b610145600480360381019061014091906110e0565b6103f1565b6040516101529190611138565b60405180910390f35b610163610413565b6040516101709190611160565b60405180910390f35b610193600480360381019061018e9190611179565b61041c565b6040516101a09190611138565b60405180910390f35b6101b161044a565b6040516101be91906111e4565b60405180910390f35b6101cf610452565b6040516101dc9190611160565b60405180910390f35b6101ff60048036038101906101fa91906111fd565b610461565b60405161020c9190611160565b60405180910390f35b61021d6104a6565b005b6102276104b9565b6040516102349190611237565b60405180910390f35b6102456104e1565b6040516102529190611160565b60405180910390f35b6102636104f0565b604051610270919061102f565b60405180910390f35b610293600480360381019061028e91906110e0565b610580565b6040516102a09190611138565b60405180910390f35b6102b16105a2565b005b6102cd60048036038101906102c89190611250565b6106ad565b6040516102db92919061127b565b60405180910390f35b6102fe60048036038101906102f991906112a2565b61074a565b60405161030b9190611160565b60405180910390f35b61032e60048036038101906103299190611250565b6107cc565b60405161033c92919061127b565b60405180910390f35b61035f600480360381019061035a91906111fd565b6107fb565b005b6060600380546103709061130d565b80601f016020809104026020016040519081016040528092919081815260200182805461039c9061130d565b80156103e75780601f106103be576101008083540402835291602001916103e7565b820191905f5260205f20905b8154815290600101906020018083116103ca57829003601f168201915b5050505050905090565b5f806103fb61087f565b9050610408818585610886565b600191505092915050565b5f600254905090565b5f8061042661087f565b9050610433858285610898565b61043e85858561092a565b60019150509392505050565b5f6012905090565b6a1a0e626bf2373d4f80000081565b5f805f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b6104ae610a1a565b6104b75f610aa1565b565b5f60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6af8277896582678ac00000081565b6060600480546104ff9061130d565b80601f016020809104026020016040519081016040528092919081815260200182805461052b9061130d565b80156105765780601f1061054d57610100808354040283529160200191610576565b820191905f5260205f20905b81548152906001019060200180831161055957829003601f168201915b5050505050905090565b5f8061058a61087f565b905061059781858561092a565b600191505092915050565b6105aa610a1a565b6105b2610b64565b5f805b60078054905081101561068657600781815481106105d6576105d561133d565b5b905f5260205f20906002020160010154421015801561061657505f600782815481106106055761060461133d565b5b905f5260205f2090600202015f0154115b15610673576007818154811061062f5761062e61133d565b5b905f5260205f2090600202015f0154826106499190611397565b91505f600782815481106106605761065f61133d565b5b905f5260205f2090600202015f01819055505b808061067e906113ca565b9150506105b5565b505f8111156106a2576106a13061069b6104b9565b8361092a565b5b506106ab610bb3565b565b5f8060078054905083106106f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106ed9061145b565b60405180910390fd5b5f6007848154811061070b5761070a61133d565b5b905f5260205f2090600202016040518060400160405290815f82015481526020016001820154815250509050805f015181602001519250925050915091565b5f60015f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905092915050565b600781815481106107db575f80fd5b905f5260205f2090600202015f91509050805f0154908060010154905082565b610803610a1a565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610873575f6040517f1e4fbdf700000000000000000000000000000000000000000000000000000000815260040161086a9190611237565b60405180910390fd5b61087c81610aa1565b50565b5f33905090565b6108938383836001610bbd565b505050565b5f6108a3848461074a565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146109245781811015610915578281836040517ffb8f41b200000000000000000000000000000000000000000000000000000000815260040161090c93929190611479565b60405180910390fd5b61092384848484035f610bbd565b5b50505050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361099a575f6040517f96c6fd1e0000000000000000000000000000000000000000000000000000000081526004016109919190611237565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610a0a575f6040517fec442f05000000000000000000000000000000000000000000000000000000008152600401610a019190611237565b60405180910390fd5b610a15838383610d8c565b505050565b610a2261087f565b73ffffffffffffffffffffffffffffffffffffffff16610a406104b9565b73ffffffffffffffffffffffffffffffffffffffff1614610a9f57610a6361087f565b6040517f118cdaa7000000000000000000000000000000000000000000000000000000008152600401610a969190611237565b60405180910390fd5b565b5f60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160055f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600260065403610ba9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ba0906114f8565b60405180910390fd5b6002600681905550565b6001600681905550565b5f73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603610c2d575f6040517fe602df05000000000000000000000000000000000000000000000000000000008152600401610c249190611237565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610c9d575f6040517f94280d62000000000000000000000000000000000000000000000000000000008152600401610c949190611237565b60405180910390fd5b8160015f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508015610d86578273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92584604051610d7d9190611160565b60405180910390a35b50505050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610ddc578060025f828254610dd09190611397565b92505081905550610eaa565b5f805f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905081811015610e65578381836040517fe450d38c000000000000000000000000000000000000000000000000000000008152600401610e5c93929190611479565b60405180910390fd5b8181035f808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081905550505b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610ef1578060025f8282540392505081905550610f3b565b805f808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055505b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051610f989190611160565b60405180910390a3505050565b5f81519050919050565b5f82825260208201905092915050565b5f5b83811015610fdc578082015181840152602081019050610fc1565b5f8484015250505050565b5f601f19601f8301169050919050565b5f61100182610fa5565b61100b8185610faf565b935061101b818560208601610fbf565b61102481610fe7565b840191505092915050565b5f6020820190508181035f8301526110478184610ff7565b905092915050565b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f61107c82611053565b9050919050565b61108c81611072565b8114611096575f80fd5b50565b5f813590506110a781611083565b92915050565b5f819050919050565b6110bf816110ad565b81146110c9575f80fd5b50565b5f813590506110da816110b6565b92915050565b5f80604083850312156110f6576110f561104f565b5b5f61110385828601611099565b9250506020611114858286016110cc565b9150509250929050565b5f8115159050919050565b6111328161111e565b82525050565b5f60208201905061114b5f830184611129565b92915050565b61115a816110ad565b82525050565b5f6020820190506111735f830184611151565b92915050565b5f805f606084860312156111905761118f61104f565b5b5f61119d86828701611099565b93505060206111ae86828701611099565b92505060406111bf868287016110cc565b9150509250925092565b5f60ff82169050919050565b6111de816111c9565b82525050565b5f6020820190506111f75f8301846111d5565b92915050565b5f602082840312156112125761121161104f565b5b5f61121f84828501611099565b91505092915050565b61123181611072565b82525050565b5f60208201905061124a5f830184611228565b92915050565b5f602082840312156112655761126461104f565b5b5f611272848285016110cc565b91505092915050565b5f60408201905061128e5f830185611151565b61129b6020830184611151565b9392505050565b5f80604083850312156112b8576112b761104f565b5b5f6112c585828601611099565b92505060206112d685828601611099565b9150509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f600282049050600182168061132457607f821691505b602082108103611337576113366112e0565b5b50919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f6113a1826110ad565b91506113ac836110ad565b92508282019050808211156113c4576113c361136a565b5b92915050565b5f6113d4826110ad565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036114065761140561136a565b5b600182019050919050565b7f496e646578206f7574206f6620626f756e6473000000000000000000000000005f82015250565b5f611445601383610faf565b915061145082611411565b602082019050919050565b5f6020820190508181035f83015261147281611439565b9050919050565b5f60608201905061148c5f830186611228565b6114996020830185611151565b6114a66040830184611151565b949350505050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c005f82015250565b5f6114e2601f83610faf565b91506114ed826114ae565b602082019050919050565b5f6020820190508181035f83015261150f816114d6565b905091905056fea264697066735822122002e7c92003854503634c4b52c126e1ed723d5458277c9fd6bdacf8b872be086864736f6c63430008140033
Deployed Bytecode Sourcemap
45269:1687:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35881:91;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;38174:190;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;36983:99;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;38942:249;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;36834:84;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;45360:56;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;37145:118;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;23717:103;;;:::i;:::-;;23042:87;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;45423:55;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;36091:95;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;37468:182;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;46108:502;;;:::i;:::-;;46683:270;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;37713:142;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;45570:26;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;23975:220;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;35881:91;35926:13;35959:5;35952:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35881:91;:::o;38174:190::-;38247:4;38264:13;38280:12;:10;:12::i;:::-;38264:28;;38303:31;38312:5;38319:7;38328:5;38303:8;:31::i;:::-;38352:4;38345:11;;;38174:190;;;;:::o;36983:99::-;37035:7;37062:12;;37055:19;;36983:99;:::o;38942:249::-;39029:4;39046:15;39064:12;:10;:12::i;:::-;39046:30;;39087:37;39103:4;39109:7;39118:5;39087:15;:37::i;:::-;39135:26;39145:4;39151:2;39155:5;39135:9;:26::i;:::-;39179:4;39172:11;;;38942:249;;;;;:::o;36834:84::-;36883:5;36908:2;36901:9;;36834:84;:::o;45360:56::-;45401:15;45360:56;:::o;37145:118::-;37210:7;37237:9;:18;37247:7;37237:18;;;;;;;;;;;;;;;;37230:25;;37145:118;;;:::o;23717:103::-;22928:13;:11;:13::i;:::-;23782:30:::1;23809:1;23782:18;:30::i;:::-;23717:103::o:0;23042:87::-;23088:7;23115:6;;;;;;;;;;;23108:13;;23042:87;:::o;45423:55::-;45462:16;45423:55;:::o;36091:95::-;36138:13;36171:7;36164:14;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36091:95;:::o;37468:182::-;37537:4;37554:13;37570:12;:10;:12::i;:::-;37554:28;;37593:27;37603:5;37610:2;37614:5;37593:9;:27::i;:::-;37638:4;37631:11;;;37468:182;;;;:::o;46108:502::-;22928:13;:11;:13::i;:::-;2345:21:::1;:19;:21::i;:::-;46176:22:::2;46218:9:::0;46213:278:::2;46237:12;:19;;;;46233:1;:23;46213:278;;;46301:12;46314:1;46301:15;;;;;;;;:::i;:::-;;;;;;;;;;;;:27;;;46282:15;:46;;:76;;;;;46357:1;46332:12;46345:1;46332:15;;;;;;;;:::i;:::-;;;;;;;;;;;;:22;;;:26;46282:76;46278:202;;;46397:12;46410:1;46397:15;;;;;;;;:::i;:::-;;;;;;;;;;;;:22;;;46379:40;;;;;:::i;:::-;;;46463:1;46438:12;46451:1;46438:15;;;;;;;;:::i;:::-;;;;;;;;;;;;:22;;:26;;;;46278:202;46258:3;;;;;:::i;:::-;;;;46213:278;;;;46524:1;46507:14;:18;46503:100;;;46542:49;46560:4;46567:7;:5;:7::i;:::-;46576:14;46542:9;:49::i;:::-;46503:100;46165:445;2389:20:::1;:18;:20::i;:::-;46108:502::o:0;46683:270::-;46740:14;46756:19;46804:12;:19;;;;46796:5;:27;46788:59;;;;;;;;;;;;:::i;:::-;;;;;;;;;46858:16;46877:12;46890:5;46877:19;;;;;;;;:::i;:::-;;;;;;;;;;;;46858:38;;;;;;;;;;;;;;;;;;;;;;;;;;;46915:4;:11;;;46928:4;:16;;;46907:38;;;;;46683:270;;;:::o;37713:142::-;37793:7;37820:11;:18;37832:5;37820:18;;;;;;;;;;;;;;;:27;37839:7;37820:27;;;;;;;;;;;;;;;;37813:34;;37713:142;;;;:::o;45570:26::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;23975:220::-;22928:13;:11;:13::i;:::-;24080:1:::1;24060:22;;:8;:22;;::::0;24056:93:::1;;24134:1;24106:31;;;;;;;;;;;:::i;:::-;;;;;;;;24056:93;24159:28;24178:8;24159:18;:28::i;:::-;23975:220:::0;:::o;21051:98::-;21104:7;21131:10;21124:17;;21051:98;:::o;43001:130::-;43086:37;43095:5;43102:7;43111:5;43118:4;43086:8;:37::i;:::-;43001:130;;;:::o;44717:487::-;44817:24;44844:25;44854:5;44861:7;44844:9;:25::i;:::-;44817:52;;44904:17;44884:16;:37;44880:317;;44961:5;44942:16;:24;44938:132;;;45021:7;45030:16;45048:5;44994:60;;;;;;;;;;;;;:::i;:::-;;;;;;;;44938:132;45113:57;45122:5;45129:7;45157:5;45138:16;:24;45164:5;45113:8;:57::i;:::-;44880:317;44806:398;44717:487;;;:::o;39576:308::-;39676:1;39660:18;;:4;:18;;;39656:88;;39729:1;39702:30;;;;;;;;;;;:::i;:::-;;;;;;;;39656:88;39772:1;39758:16;;:2;:16;;;39754:88;;39827:1;39798:32;;;;;;;;;;;:::i;:::-;;;;;;;;39754:88;39852:24;39860:4;39866:2;39870:5;39852:7;:24::i;:::-;39576:308;;;:::o;23207:166::-;23278:12;:10;:12::i;:::-;23267:23;;:7;:5;:7::i;:::-;:23;;;23263:103;;23341:12;:10;:12::i;:::-;23314:40;;;;;;;;;;;:::i;:::-;;;;;;;;23263:103;23207:166::o;24355:191::-;24429:16;24448:6;;;;;;;;;;;24429:25;;24474:8;24465:6;;:17;;;;;;;;;;;;;;;;;;24529:8;24498:40;;24519:8;24498:40;;;;;;;;;;;;24418:128;24355:191;:::o;2425:293::-;1827:1;2559:7;;:19;2551:63;;;;;;;;;;;;:::i;:::-;;;;;;;;;1827:1;2692:7;:18;;;;2425:293::o;2726:213::-;1783:1;2909:7;:22;;;;2726:213::o;43982:443::-;44112:1;44095:19;;:5;:19;;;44091:91;;44167:1;44138:32;;;;;;;;;;;:::i;:::-;;;;;;;;44091:91;44215:1;44196:21;;:7;:21;;;44192:92;;44269:1;44241:31;;;;;;;;;;;:::i;:::-;;;;;;;;44192:92;44324:5;44294:11;:18;44306:5;44294:18;;;;;;;;;;;;;;;:27;44313:7;44294:27;;;;;;;;;;;;;;;:35;;;;44344:9;44340:78;;;44391:7;44375:31;;44384:5;44375:31;;;44400:5;44375:31;;;;;;:::i;:::-;;;;;;;;44340:78;43982:443;;;;:::o;40208:1135::-;40314:1;40298:18;;:4;:18;;;40294:552;;40452:5;40436:12;;:21;;;;;;;:::i;:::-;;;;;;;;40294:552;;;40490:19;40512:9;:15;40522:4;40512:15;;;;;;;;;;;;;;;;40490:37;;40560:5;40546:11;:19;40542:117;;;40618:4;40624:11;40637:5;40593:50;;;;;;;;;;;;;:::i;:::-;;;;;;;;40542:117;40814:5;40800:11;:19;40782:9;:15;40792:4;40782:15;;;;;;;;;;;;;;;:37;;;;40475:371;40294:552;40876:1;40862:16;;:2;:16;;;40858:435;;41044:5;41028:12;;:21;;;;;;;;;;;40858:435;;;41261:5;41244:9;:13;41254:2;41244:13;;;;;;;;;;;;;;;;:22;;;;;;;;;;;40858:435;41325:2;41310:25;;41319:4;41310:25;;;41329:5;41310:25;;;;;;:::i;:::-;;;;;;;;40208:1135;;;:::o;7:99:1:-;59:6;93:5;87:12;77:22;;7:99;;;:::o;112:169::-;196:11;230:6;225:3;218:19;270:4;265:3;261:14;246:29;;112:169;;;;:::o;287:246::-;368:1;378:113;392:6;389:1;386:13;378:113;;;477:1;472:3;468:11;462:18;458:1;453:3;449:11;442:39;414:2;411:1;407:10;402:15;;378:113;;;525:1;516:6;511:3;507:16;500:27;349:184;287:246;;;:::o;539:102::-;580:6;631:2;627:7;622:2;615:5;611:14;607:28;597:38;;539:102;;;:::o;647:377::-;735:3;763:39;796:5;763:39;:::i;:::-;818:71;882:6;877:3;818:71;:::i;:::-;811:78;;898:65;956:6;951:3;944:4;937:5;933:16;898:65;:::i;:::-;988:29;1010:6;988:29;:::i;:::-;983:3;979:39;972:46;;739:285;647:377;;;;:::o;1030:313::-;1143:4;1181:2;1170:9;1166:18;1158:26;;1230:9;1224:4;1220:20;1216:1;1205:9;1201:17;1194:47;1258:78;1331:4;1322:6;1258:78;:::i;:::-;1250:86;;1030:313;;;;:::o;1430:117::-;1539:1;1536;1529:12;1676:126;1713:7;1753:42;1746:5;1742:54;1731:65;;1676:126;;;:::o;1808:96::-;1845:7;1874:24;1892:5;1874:24;:::i;:::-;1863:35;;1808:96;;;:::o;1910:122::-;1983:24;2001:5;1983:24;:::i;:::-;1976:5;1973:35;1963:63;;2022:1;2019;2012:12;1963:63;1910:122;:::o;2038:139::-;2084:5;2122:6;2109:20;2100:29;;2138:33;2165:5;2138:33;:::i;:::-;2038:139;;;;:::o;2183:77::-;2220:7;2249:5;2238:16;;2183:77;;;:::o;2266:122::-;2339:24;2357:5;2339:24;:::i;:::-;2332:5;2329:35;2319:63;;2378:1;2375;2368:12;2319:63;2266:122;:::o;2394:139::-;2440:5;2478:6;2465:20;2456:29;;2494:33;2521:5;2494:33;:::i;:::-;2394:139;;;;:::o;2539:474::-;2607:6;2615;2664:2;2652:9;2643:7;2639:23;2635:32;2632:119;;;2670:79;;:::i;:::-;2632:119;2790:1;2815:53;2860:7;2851:6;2840:9;2836:22;2815:53;:::i;:::-;2805:63;;2761:117;2917:2;2943:53;2988:7;2979:6;2968:9;2964:22;2943:53;:::i;:::-;2933:63;;2888:118;2539:474;;;;;:::o;3019:90::-;3053:7;3096:5;3089:13;3082:21;3071:32;;3019:90;;;:::o;3115:109::-;3196:21;3211:5;3196:21;:::i;:::-;3191:3;3184:34;3115:109;;:::o;3230:210::-;3317:4;3355:2;3344:9;3340:18;3332:26;;3368:65;3430:1;3419:9;3415:17;3406:6;3368:65;:::i;:::-;3230:210;;;;:::o;3446:118::-;3533:24;3551:5;3533:24;:::i;:::-;3528:3;3521:37;3446:118;;:::o;3570:222::-;3663:4;3701:2;3690:9;3686:18;3678:26;;3714:71;3782:1;3771:9;3767:17;3758:6;3714:71;:::i;:::-;3570:222;;;;:::o;3798:619::-;3875:6;3883;3891;3940:2;3928:9;3919:7;3915:23;3911:32;3908:119;;;3946:79;;:::i;:::-;3908:119;4066:1;4091:53;4136:7;4127:6;4116:9;4112:22;4091:53;:::i;:::-;4081:63;;4037:117;4193:2;4219:53;4264:7;4255:6;4244:9;4240:22;4219:53;:::i;:::-;4209:63;;4164:118;4321:2;4347:53;4392:7;4383:6;4372:9;4368:22;4347:53;:::i;:::-;4337:63;;4292:118;3798:619;;;;;:::o;4423:86::-;4458:7;4498:4;4491:5;4487:16;4476:27;;4423:86;;;:::o;4515:112::-;4598:22;4614:5;4598:22;:::i;:::-;4593:3;4586:35;4515:112;;:::o;4633:214::-;4722:4;4760:2;4749:9;4745:18;4737:26;;4773:67;4837:1;4826:9;4822:17;4813:6;4773:67;:::i;:::-;4633:214;;;;:::o;4853:329::-;4912:6;4961:2;4949:9;4940:7;4936:23;4932:32;4929:119;;;4967:79;;:::i;:::-;4929:119;5087:1;5112:53;5157:7;5148:6;5137:9;5133:22;5112:53;:::i;:::-;5102:63;;5058:117;4853:329;;;;:::o;5188:118::-;5275:24;5293:5;5275:24;:::i;:::-;5270:3;5263:37;5188:118;;:::o;5312:222::-;5405:4;5443:2;5432:9;5428:18;5420:26;;5456:71;5524:1;5513:9;5509:17;5500:6;5456:71;:::i;:::-;5312:222;;;;:::o;5540:329::-;5599:6;5648:2;5636:9;5627:7;5623:23;5619:32;5616:119;;;5654:79;;:::i;:::-;5616:119;5774:1;5799:53;5844:7;5835:6;5824:9;5820:22;5799:53;:::i;:::-;5789:63;;5745:117;5540:329;;;;:::o;5875:332::-;5996:4;6034:2;6023:9;6019:18;6011:26;;6047:71;6115:1;6104:9;6100:17;6091:6;6047:71;:::i;:::-;6128:72;6196:2;6185:9;6181:18;6172:6;6128:72;:::i;:::-;5875:332;;;;;:::o;6213:474::-;6281:6;6289;6338:2;6326:9;6317:7;6313:23;6309:32;6306:119;;;6344:79;;:::i;:::-;6306:119;6464:1;6489:53;6534:7;6525:6;6514:9;6510:22;6489:53;:::i;:::-;6479:63;;6435:117;6591:2;6617:53;6662:7;6653:6;6642:9;6638:22;6617:53;:::i;:::-;6607:63;;6562:118;6213:474;;;;;:::o;6693:180::-;6741:77;6738:1;6731:88;6838:4;6835:1;6828:15;6862:4;6859:1;6852:15;6879:320;6923:6;6960:1;6954:4;6950:12;6940:22;;7007:1;7001:4;6997:12;7028:18;7018:81;;7084:4;7076:6;7072:17;7062:27;;7018:81;7146:2;7138:6;7135:14;7115:18;7112:38;7109:84;;7165:18;;:::i;:::-;7109:84;6930:269;6879:320;;;:::o;7205:180::-;7253:77;7250:1;7243:88;7350:4;7347:1;7340:15;7374:4;7371:1;7364:15;7391:180;7439:77;7436:1;7429:88;7536:4;7533:1;7526:15;7560:4;7557:1;7550:15;7577:191;7617:3;7636:20;7654:1;7636:20;:::i;:::-;7631:25;;7670:20;7688:1;7670:20;:::i;:::-;7665:25;;7713:1;7710;7706:9;7699:16;;7734:3;7731:1;7728:10;7725:36;;;7741:18;;:::i;:::-;7725:36;7577:191;;;;:::o;7774:233::-;7813:3;7836:24;7854:5;7836:24;:::i;:::-;7827:33;;7882:66;7875:5;7872:77;7869:103;;7952:18;;:::i;:::-;7869:103;7999:1;7992:5;7988:13;7981:20;;7774:233;;;:::o;8013:169::-;8153:21;8149:1;8141:6;8137:14;8130:45;8013:169;:::o;8188:366::-;8330:3;8351:67;8415:2;8410:3;8351:67;:::i;:::-;8344:74;;8427:93;8516:3;8427:93;:::i;:::-;8545:2;8540:3;8536:12;8529:19;;8188:366;;;:::o;8560:419::-;8726:4;8764:2;8753:9;8749:18;8741:26;;8813:9;8807:4;8803:20;8799:1;8788:9;8784:17;8777:47;8841:131;8967:4;8841:131;:::i;:::-;8833:139;;8560:419;;;:::o;8985:442::-;9134:4;9172:2;9161:9;9157:18;9149:26;;9185:71;9253:1;9242:9;9238:17;9229:6;9185:71;:::i;:::-;9266:72;9334:2;9323:9;9319:18;9310:6;9266:72;:::i;:::-;9348;9416:2;9405:9;9401:18;9392:6;9348:72;:::i;:::-;8985:442;;;;;;:::o;9433:181::-;9573:33;9569:1;9561:6;9557:14;9550:57;9433:181;:::o;9620:366::-;9762:3;9783:67;9847:2;9842:3;9783:67;:::i;:::-;9776:74;;9859:93;9948:3;9859:93;:::i;:::-;9977:2;9972:3;9968:12;9961:19;;9620:366;;;:::o;9992:419::-;10158:4;10196:2;10185:9;10181:18;10173:26;;10245:9;10239:4;10235:20;10231:1;10220:9;10216:17;10209:47;10273:131;10399:4;10273:131;:::i;:::-;10265:139;;9992:419;;;:::o
Swarm Source
ipfs://02e7c92003854503634c4b52c126e1ed723d5458277c9fd6bdacf8b872be0868
Loading...
Loading
Loading...
Loading
OVERVIEW
Medisync integrates healthcare with blockchain technology to enhance transparency, security, and accessibility.Loading...
Loading
Net Worth in USD
$0.00
Net Worth in ETH
0
Multichain Portfolio | 34 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.