ETH Price: $3,357.08 (+0.17%)

Contract

0x9Bd2177027edEE300DC9F1fb88F24DB6e5e1edC6
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Approve211379742024-11-07 19:51:3515 days ago1731009095IN
IPOR Protocol: ipUSDT Token
0 ETH0.0006077425.00182899
Approve208466642024-09-28 4:12:2356 days ago1727496743IN
IPOR Protocol: ipUSDT Token
0 ETH0.000197398.12051126
Approve208466522024-09-28 4:09:5956 days ago1727496599IN
IPOR Protocol: ipUSDT Token
0 ETH0.000197678.13223661
Approve208058752024-09-22 11:39:2362 days ago1727005163IN
IPOR Protocol: ipUSDT Token
0 ETH0.0006177113.3405309
Approve203804122024-07-25 1:55:47121 days ago1721872547IN
IPOR Protocol: ipUSDT Token
0 ETH0.000293746.34387498
Approve203741022024-07-24 4:46:23122 days ago1721796383IN
IPOR Protocol: ipUSDT Token
0 ETH0.000077563.19104855
Approve198669542024-05-14 8:07:11193 days ago1715674031IN
IPOR Protocol: ipUSDT Token
0 ETH0.000353297.62984914
Approve198542302024-05-12 13:27:11194 days ago1715520431IN
IPOR Protocol: ipUSDT Token
0 ETH0.000098324.04485245
Approve198536832024-05-12 11:36:35195 days ago1715513795IN
IPOR Protocol: ipUSDT Token
0 ETH0.000094573.89074202
Approve198343382024-05-09 18:40:35197 days ago1715280035IN
IPOR Protocol: ipUSDT Token
0 ETH0.000219864.74835425
Approve197372222024-04-26 4:42:11211 days ago1714106531IN
IPOR Protocol: ipUSDT Token
0 ETH0.000130255.35839358
Approve197336082024-04-25 16:35:23211 days ago1714062923IN
IPOR Protocol: ipUSDT Token
0 ETH0.0004627919.038731
Approve197177962024-04-23 11:28:11214 days ago1713871691IN
IPOR Protocol: ipUSDT Token
0 ETH0.0002588910.6506887
Approve196923562024-04-19 22:07:47217 days ago1713564467IN
IPOR Protocol: ipUSDT Token
0 ETH0.00042869.25382841
Approve196861962024-04-19 1:24:47218 days ago1713489887IN
IPOR Protocol: ipUSDT Token
0 ETH0.0002735611.25422701
Approve195445122024-03-30 4:50:23238 days ago1711774223IN
IPOR Protocol: ipUSDT Token
0 ETH0.0004674619.2310317
Approve193616762024-03-04 12:03:59263 days ago1709553839IN
IPOR Protocol: ipUSDT Token
0 ETH0.0029631863.99420547
Approve193284032024-02-28 20:26:59268 days ago1709152019IN
IPOR Protocol: ipUSDT Token
0 ETH0.0012401251.01700135
Approve193105972024-02-26 8:38:11271 days ago1708936691IN
IPOR Protocol: ipUSDT Token
0 ETH0.0013766329.72262631
Approve191852142024-02-08 18:25:47288 days ago1707416747IN
IPOR Protocol: ipUSDT Token
0 ETH0.0039007684.26433611
Approve191308102024-02-01 3:06:11296 days ago1706756771IN
IPOR Protocol: ipUSDT Token
0 ETH0.0005234921.53579573
Approve190559642024-01-21 14:54:23306 days ago1705848863IN
IPOR Protocol: ipUSDT Token
0 ETH0.0005524621
Approve190559542024-01-21 14:52:23306 days ago1705848743IN
IPOR Protocol: ipUSDT Token
0 ETH0.0004998519
Approve190559452024-01-21 14:50:35306 days ago1705848635IN
IPOR Protocol: ipUSDT Token
0 ETH0.0005524621
Approve190559352024-01-21 14:48:35306 days ago1705848515IN
IPOR Protocol: ipUSDT Token
0 ETH0.0005524621
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
IpTokenUsdt

Compiler Version
v0.8.15+commit.e14f2714

Optimization Enabled:
Yes with 800 runs

Other Settings:
default evmVersion, BSL 1.1 license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2022-08-17
*/

// File: contracts/libraries/errors/JosephErrors.sol


pragma solidity 0.8.15;

library JosephErrors {
    // 400-499-joseph
    //@notice IP Token Value which should be minted is too low
    string public constant IP_TOKEN_MINT_AMOUNT_TOO_LOW = "IPOR_400";

    //@notice Amount which should be burned is too low
    string public constant IP_TOKEN_BURN_AMOUNT_TOO_LOW = "IPOR_401";

    string public constant REDEEM_LP_UTILIZATION_EXCEEDED = "IPOR_402";
    //@notice User cannot redeem underlying tokens because ipToken on his balance is too low
    string public constant CANNOT_REDEEM_IP_TOKEN_TOO_LOW = "IPOR_403";

    string public constant CALLER_NOT_TREASURE_TRANSFERER = "IPOR_404";

    //@notice Incorrect Treasury Treasurer Address
    string public constant INCORRECT_TREASURE_TREASURER = "IPOR_405";

    //@notice Sender is not a publication fee transferer, not match address defined in IporConfiguration in key MILTON_PUBLICATION_FEE_TRANSFERER
    string public constant CALLER_NOT_PUBLICATION_FEE_TRANSFERER = "IPOR_406";

    //@notice Charlie Treasurer address is incorrect
    string public constant INCORRECT_CHARLIE_TREASURER = "IPOR_407";

    string public constant STANLEY_BALANCE_IS_EMPTY = "IPOR_408";

    string public constant MILTON_STANLEY_RATIO = "IPOR_409";
}

// File: contracts/libraries/errors/MiltonErrors.sol


pragma solidity 0.8.15;

/// @title Errors which occur inside Milton's method execution.
library MiltonErrors {
    // 300-399-milton
    /// @notice Liquidity Pool balance is equal 0.
    string public constant LIQUIDITY_POOL_IS_EMPTY = "IPOR_300";

    /// @notice Liquidity Pool balance is too low, should be equal or higher than 0.
    string public constant LIQUIDITY_POOL_AMOUNT_TOO_LOW = "IPOR_301";

    /// @notice Liquidity Pool Utilization exceeded. Liquidity Pool utilization is higher than configured in Milton maximum liquidity pool utilization.
    string public constant LP_UTILIZATION_EXCEEDED = "IPOR_302";

    /// @notice Liquidity Pool Utilization Per Leg exceeded. Liquidity Pool utilization per leg is higher than configured in Milton maximu liquidity pool utilization per leg.
    string public constant LP_UTILIZATION_PER_LEG_EXCEEDED = "IPOR_303";

    /// @notice Liquidity Pool Balance is too high
    string public constant LIQUIDITY_POOL_BALANCE_IS_TOO_HIGH = "IPOR_304";

    /// @notice Liquidity Pool account contribution is too high.
    string public constant LP_ACCOUNT_CONTRIBUTION_IS_TOO_HIGH = "IPOR_305";

    /// @notice Swap id used in input has incorrect value (like 0) or not exists.
    string public constant INCORRECT_SWAP_ID = "IPOR_306";

    /// @notice Swap has incorrect status.
    string public constant INCORRECT_SWAP_STATUS = "IPOR_307";

    /// @notice Leverage given as a parameter when opening swap is lower than configured in Milton minimum leverage.
    string public constant LEVERAGE_TOO_LOW = "IPOR_308";

    /// @notice Leverage given as a parameter when opening swap is higher than configured in Milton maxumum leverage.
    string public constant LEVERAGE_TOO_HIGH = "IPOR_309";

    /// @notice Total amount given as a parameter when opening swap is too low. Cannot be equal zero.
    string public constant TOTAL_AMOUNT_TOO_LOW = "IPOR_310";

    /// @notice Total amount given as a parameter when opening swap is lower than sum of liquidation deposit amount and ipor publication fee.
    string public constant TOTAL_AMOUNT_LOWER_THAN_FEE = "IPOR_311";

    /// @notice Amount of collateral used to open swap is higher than configured in Milton max swap collateral amount
    string public constant COLLATERAL_AMOUNT_TOO_HIGH = "IPOR_312";

    /// @notice Acceptable fixed interest rate defined by traded exceeded.
    string public constant ACCEPTABLE_FIXED_INTEREST_RATE_EXCEEDED = "IPOR_313";

    /// @notice Swap Notional Amount is higher than Total Notional for specific leg.
    string public constant SWAP_NOTIONAL_HIGHER_THAN_TOTAL_NOTIONAL = "IPOR_314";

    /// @notice Number of swaps per leg which are going to be liquidated is too high, is higher than configured in Milton liquidation leg limit.
    string public constant LIQUIDATION_LEG_LIMIT_EXCEEDED = "IPOR_315";

    /// @notice Sum of SOAP and Liquidity Pool Balance is lower than zero.
    /// @dev SOAP can be negative, Sum of SOAP and Liquidity Pool Balance can be negative, but this is undesirable.
    string public constant SOAP_AND_LP_BALANCE_SUM_IS_TOO_LOW = "IPOR_316";

    /// @notice Calculation timestamp is earlier than last SOAP rebalance timestamp.
    string public constant CALC_TIMESTAMP_LOWER_THAN_SOAP_REBALANCE_TIMESTAMP = "IPOR_317";

    /// @notice Calculation timestamp is lower than  Swap's open timestamp.
    string public constant CALC_TIMESTAMP_LOWER_THAN_SWAP_OPEN_TIMESTAMP = "IPOR_318";

    /// @notice Closing timestamp is lower than Swap's open timestamp.
    string public constant CLOSING_TIMESTAMP_LOWER_THAN_SWAP_OPEN_TIMESTAMP = "IPOR_319";

    /// @notice Swap cannot be closed because liquidity pool is too low for payid out cash. Situation should never happen where Liquidity Pool is insolvent.
    string public constant CANNOT_CLOSE_SWAP_LP_IS_TOO_LOW = "IPOR_320";

    /// @notice Swap cannot be closed because sender is not an owner of derivative and derivative maturity not achieved.
    string public constant CANNOT_CLOSE_SWAP_SENDER_IS_NOT_BUYER_AND_NO_MATURITY = "IPOR_321";

    /// @notice Interest from Strategy is below zero.
    string public constant INTEREST_FROM_STRATEGY_BELOW_ZERO = "IPOR_322";

    /// @notice Accrued Liquidity Pool is equal zero.
    string public constant LIQUIDITY_POOL_ACCRUED_IS_EQUAL_ZERO = "IPOR_323";

    /// @notice During spread calculation - Exponential Weighted Moving Variance cannot be higher than 1.
    string public constant SPREAD_EMVAR_CANNOT_BE_HIGHER_THAN_ONE = "IPOR_324";

    /// @notice During spread calculation - Alpha param cannot be higher than 1.
    string public constant SPREAD_ALPHA_CANNOT_BE_HIGHER_THAN_ONE = "IPOR_325";

    /// @notice IPOR publication fee balance is too low.
    string public constant PUBLICATION_FEE_BALANCE_IS_TOO_LOW = "IPOR_326";

    /// @notice The caller must be the Joseph (Smart Contract responsible for managing Milton's tokens and balances).
    string public constant CALLER_NOT_JOSEPH = "IPOR_327";

    /// @notice Deposit amount is too low.
    string public constant DEPOSIT_AMOUNT_IS_TOO_LOW = "IPOR_328";

    /// @notice Vault balance is lower than deposit value.
    string public constant VAULT_BALANCE_LOWER_THAN_DEPOSIT_VALUE = "IPOR_329";

    /// @notice Treasury balance is too low.
    string public constant TREASURY_BALANCE_IS_TOO_LOW = "IPOR_330";
}

// File: contracts/libraries/errors/IporErrors.sol


pragma solidity 0.8.15;

library IporErrors {
    // 000-199 - general codes

    /// @notice General problem, address is wrong
    string public constant WRONG_ADDRESS = "IPOR_000";

    /// @notice General problem. Wrong decimals
    string public constant WRONG_DECIMALS = "IPOR_001";

    string public constant ADDRESSES_MISMATCH = "IPOR_002";

    //@notice Trader doesnt have enought tokens to execute transaction
    string public constant ASSET_BALANCE_TOO_LOW = "IPOR_003";

    string public constant VALUE_NOT_GREATER_THAN_ZERO = "IPOR_004";

    string public constant INPUT_ARRAYS_LENGTH_MISMATCH = "IPOR_005";

    //@notice Amount is too low to transfer
    string public constant NOT_ENOUGH_AMOUNT_TO_TRANSFER = "IPOR_006";

    //@notice msg.sender is not an appointed owner, so cannot confirm his appointment to be an owner of a specific smart contract
    string public constant SENDER_NOT_APPOINTED_OWNER = "IPOR_007";

    //only milton can have access to function
    string public constant CALLER_NOT_MILTON = "IPOR_008";

    string public constant CHUNK_SIZE_EQUAL_ZERO = "IPOR_009";

    string public constant CHUNK_SIZE_TOO_BIG = "IPOR_010";
}

// File: @openzeppelin/contracts/utils/Context.sol


// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

// File: @openzeppelin/contracts/access/Ownable.sol


// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;


/**
 * @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 Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

    /**
     * @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 {
        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 {
        _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 {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _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: contracts/security/IporOwnable.sol


pragma solidity 0.8.15;



contract IporOwnable is Ownable {
    address private _appointedOwner;

    event AppointedToTransferOwnership(address indexed appointedOwner);

    function transferOwnership(address appointedOwner) public override onlyOwner {
        require(appointedOwner != address(0), IporErrors.WRONG_ADDRESS);
        _appointedOwner = appointedOwner;
        emit AppointedToTransferOwnership(appointedOwner);
    }

    function confirmTransferOwnership() external onlyAppointedOwner {
        _appointedOwner = address(0);
        _transferOwnership(_msgSender());
    }

    modifier onlyAppointedOwner() {
        require(_appointedOwner == _msgSender(), IporErrors.SENDER_NOT_APPOINTED_OWNER);
        _;
    }
}

// File: @openzeppelin/contracts/utils/Address.sol


// OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @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
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 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 Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @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,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        (bool success, bytes memory returndata) = target.delegatecall(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
                /// @solidity memory-safe-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

// File: @openzeppelin/contracts/token/ERC20/extensions/draft-IERC20Permit.sol


// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/draft-IERC20Permit.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in
 * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].
 *
 * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by
 * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't
 * need to send a transaction, and thus is not required to hold Ether at all.
 */
interface IERC20Permit {
    /**
     * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens,
     * given ``owner``'s signed approval.
     *
     * IMPORTANT: The same issues {IERC20-approve} has related to transaction
     * ordering also apply here.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `deadline` must be a timestamp in the future.
     * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`
     * over the EIP712-formatted function arguments.
     * - the signature must use ``owner``'s current nonce (see {nonces}).
     *
     * For more information on the signature format, see the
     * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP
     * section].
     */
    function permit(
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external;

    /**
     * @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/token/ERC20/IERC20.sol


// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);

    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `from` to `to` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) external returns (bool);
}

// File: contracts/interfaces/IIpToken.sol


pragma solidity 0.8.15;


/// @title Interface of ipToken - Liquidity Pool Token managed by Joseph in IPOR Protocol for a given asset.
/// For more information refer to the documentation https://ipor-labs.gitbook.io/ipor-labs/automated-market-maker/liquidity-provisioning#liquidity-tokens
interface IIpToken is IERC20 {
    /// @notice Gets the asset / stablecoin address which is assocciated with particular ipToken smart contract instance
    /// @return asset / stablecoin address
    function getAsset() external view returns (address);

    /// @notice Sets Joseph's address. Owner only
    /// @dev only Joseph can mint or burn ipTokens. Function emits `JosephChanged` event.
    /// @param newJoseph Joseph's address
    function setJoseph(address newJoseph) external;

    /// @notice Creates the ipTokens in the `amount` given and assigns them to the `account`
    /// @dev Emits {Transfer} from ERC20 asset and {Mint} event from ipToken
    /// @param account to which the created ipTokens were assigned
    /// @param amount volume of ipTokens created
    function mint(address account, uint256 amount) external;

    /// @notice Burns the `amount` of ipTokens from `account`, reducing the total supply
    /// @dev Emits {Transfer} from ERC20 asset and {Burn} event from ipToken
    /// @param account from which burned ipTokens are taken
    /// @param amount volume of ipTokens that will be burned, represented in 18 decimals
    function burn(address account, uint256 amount) external;

    /// @notice Emmited after the `amount` ipTokens were mint and transferred to `account`.
    /// @param account address where ipTokens are transferred after minting
    /// @param amount of ipTokens minted, represented in 18 decimals
    event Mint(address indexed account, uint256 amount);

    /// @notice Emmited after `amount` ipTokens were transferred from `account` and burnt.
    /// @param account address from which ipTokens are transferred to be burned
    /// @param amount volume of ipTokens burned
    event Burn(address indexed account, uint256 amount);

    /// @notice Emmited when Joseph address is changed by its owner.
    /// @param changedBy account address that changed Joseph's address
    /// @param oldJoseph old address of Joseph
    /// @param newJoseph new address of Joseph
    event JosephChanged(
        address indexed changedBy,
        address indexed oldJoseph,
        address indexed newJoseph
    );
}

// File: @openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol


// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.0;


/**
 * @dev Interface for the optional metadata functions from the ERC20 standard.
 *
 * _Available since v4.1._
 */
interface IERC20Metadata is IERC20 {
    /**
     * @dev Returns the name of the token.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the symbol of the token.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the decimals places of the token.
     */
    function decimals() external view returns (uint8);
}

// File: @openzeppelin/contracts/token/ERC20/ERC20.sol


// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC20/ERC20.sol)

pragma solidity ^0.8.0;




/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin Contracts guidelines: functions revert
 * instead returning `false` on failure. This behavior is nonetheless
 * conventional and does not conflict with the expectations of ERC20
 * applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, IERC20, IERC20Metadata {
    mapping(address => uint256) private _balances;

    mapping(address => mapping(address => uint256)) private _allowances;

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * The default value of {decimals} is 18. To select a different value for
     * {decimals} you should overload it.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    /**
     * @dev Returns the name of the token.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5.05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the value {ERC20} uses, unless this function is
     * overridden;
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view virtual override returns (uint8) {
        return 18;
    }

    /**
     * @dev See {IERC20-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        return _totalSupply;
    }

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view virtual override returns (uint256) {
        return _balances[account];
    }

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address to, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _transfer(owner, to, amount);
        return true;
    }

    /**
     * @dev See {IERC20-allowance}.
     */
    function allowance(address owner, address spender) public view virtual override returns (uint256) {
        return _allowances[owner][spender];
    }

    /**
     * @dev See {IERC20-approve}.
     *
     * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on
     * `transferFrom`. This is semantically equivalent to an infinite approval.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * NOTE: Does not update the allowance if the current allowance
     * is the maximum `uint256`.
     *
     * Requirements:
     *
     * - `from` and `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     * - the caller must have allowance for ``from``'s tokens of at least
     * `amount`.
     */
    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) public virtual override returns (bool) {
        address spender = _msgSender();
        _spendAllowance(from, spender, amount);
        _transfer(from, to, amount);
        return true;
    }

    /**
     * @dev Atomically increases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, allowance(owner, spender) + addedValue);
        return true;
    }

    /**
     * @dev Atomically decreases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `spender` must have allowance for the caller of at least
     * `subtractedValue`.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        address owner = _msgSender();
        uint256 currentAllowance = allowance(owner, spender);
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        unchecked {
            _approve(owner, spender, currentAllowance - subtractedValue);
        }

        return true;
    }

    /**
     * @dev Moves `amount` of tokens from `from` to `to`.
     *
     * This internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     */
    function _transfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(from, to, amount);

        uint256 fromBalance = _balances[from];
        require(fromBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[from] = fromBalance - amount;
        }
        _balances[to] += amount;

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, amount);
    }

    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

        _beforeTokenTransfer(address(0), account, amount);

        _totalSupply += amount;
        _balances[account] += amount;
        emit Transfer(address(0), account, amount);

        _afterTokenTransfer(address(0), account, amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, reducing the
     * total supply.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens.
     */
    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: burn from the zero address");

        _beforeTokenTransfer(account, address(0), amount);

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        unchecked {
            _balances[account] = accountBalance - amount;
        }
        _totalSupply -= amount;

        emit Transfer(account, address(0), amount);

        _afterTokenTransfer(account, address(0), amount);
    }

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
     *
     * This internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     */
    function _approve(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

    /**
     * @dev Updates `owner` s allowance for `spender` based on spent `amount`.
     *
     * Does not update the allowance amount in case of infinite allowance.
     * Revert if not enough allowance is available.
     *
     * Might emit an {Approval} event.
     */
    function _spendAllowance(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        uint256 currentAllowance = allowance(owner, spender);
        if (currentAllowance != type(uint256).max) {
            require(currentAllowance >= amount, "ERC20: insufficient allowance");
            unchecked {
                _approve(owner, spender, currentAllowance - amount);
            }
        }
    }

    /**
     * @dev Hook that is called before any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * will be transferred to `to`.
     * - when `from` is zero, `amount` tokens will be minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * has been transferred to `to`.
     * - when `from` is zero, `amount` tokens have been minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens have been burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}
}

// File: @openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol


// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC20/utils/SafeERC20.sol)

pragma solidity ^0.8.0;




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

    function safeTransfer(
        IERC20 token,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    function safeTransferFrom(
        IERC20 token,
        address from,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

    /**
     * @dev Deprecated. This function has issues similar to the ones found in
     * {IERC20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    function safeApprove(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        require(
            (value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

    function safeIncreaseAllowance(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        uint256 newAllowance = token.allowance(address(this), spender) + value;
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    function safeDecreaseAllowance(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        unchecked {
            uint256 oldAllowance = token.allowance(address(this), spender);
            require(oldAllowance >= value, "SafeERC20: decreased allowance below zero");
            uint256 newAllowance = oldAllowance - value;
            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
        }
    }

    function safePermit(
        IERC20Permit token,
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal {
        uint256 nonceBefore = token.nonces(owner);
        token.permit(owner, spender, value, deadline, v, r, s);
        uint256 nonceAfter = token.nonces(owner);
        require(nonceAfter == nonceBefore + 1, "SafeERC20: permit did not succeed");
    }

    /**
     * @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, "SafeERC20: low-level call failed");
        if (returndata.length > 0) {
            // Return data is optional
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}

// File: contracts/tokens/IpToken.sol


pragma solidity 0.8.15;








contract IpToken is IporOwnable, IIpToken, ERC20 {
    using SafeERC20 for IERC20;

    address private immutable _asset;

    uint8 private immutable _decimals;

    address private _joseph;

    modifier onlyJoseph() {
        require(_msgSender() == _joseph, MiltonErrors.CALLER_NOT_JOSEPH);
        _;
    }

    constructor(
        string memory name,
        string memory symbol,
        address asset
    ) ERC20(name, symbol) {
        require(address(0) != asset, IporErrors.WRONG_ADDRESS);
        _asset = asset;
        _decimals = 18;
    }

    function decimals() public view override returns (uint8) {
        return _decimals;
    }

    function getAsset() external view override returns (address) {
        return _asset;
    }

    function setJoseph(address newJoseph) external override onlyOwner {
        require(newJoseph != address(0), IporErrors.WRONG_ADDRESS);
        address oldJoseph = _joseph;
        _joseph = newJoseph;
        emit JosephChanged(_msgSender(), oldJoseph, newJoseph);
    }

    function mint(address account, uint256 amount) external override onlyJoseph {
        require(amount > 0, JosephErrors.IP_TOKEN_MINT_AMOUNT_TOO_LOW);
        _mint(account, amount);
        emit Mint(account, amount);
    }

    function burn(address account, uint256 amount) external override onlyJoseph {
        require(amount > 0, JosephErrors.IP_TOKEN_BURN_AMOUNT_TOO_LOW);
        _burn(account, amount);
        emit Burn(account, amount);
    }
}

contract IpTokenUsdt is IpToken {
    constructor(
        string memory name,
        string memory symbol,
        address asset
    ) IpToken(name, symbol, asset) {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"address","name":"asset","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"appointedOwner","type":"address"}],"name":"AppointedToTransferOwnership","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":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Burn","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"changedBy","type":"address"},{"indexed":true,"internalType":"address","name":"oldJoseph","type":"address"},{"indexed":true,"internalType":"address","name":"newJoseph","type":"address"}],"name":"JosephChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Mint","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":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"confirmTransferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getAsset","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newJoseph","type":"address"}],"name":"setJoseph","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":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"appointedOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60c06040523480156200001157600080fd5b506040516200157e3803806200157e8339810160408190526200003491620001ff565b82828282826200004433620000d5565b60056200005283826200031b565b5060066200006182826200031b565b5050604080518082019091526008815267049504f525f3030360c41b602082015290506001600160a01b038216620000b75760405162461bcd60e51b8152600401620000ae9190620003e7565b60405180910390fd5b506001600160a01b03166080525050601260a052506200041c915050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b634e487b7160e01b600052604160045260246000fd5b60005b83811015620001585781810151838201526020016200013e565b8381111562000168576000848401525b50505050565b600082601f8301126200018057600080fd5b81516001600160401b03808211156200019d576200019d62000125565b604051601f8301601f19908116603f01168101908282118183101715620001c857620001c862000125565b81604052838152866020858801011115620001e257600080fd5b620001f58460208301602089016200013b565b9695505050505050565b6000806000606084860312156200021557600080fd5b83516001600160401b03808211156200022d57600080fd5b6200023b878388016200016e565b945060208601519150808211156200025257600080fd5b5062000261868287016200016e565b604086015190935090506001600160a01b03811681146200028157600080fd5b809150509250925092565b600181811c90821680620002a157607f821691505b602082108103620002c257634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200031657600081815260208120601f850160051c81016020861015620002f15750805b601f850160051c820191505b818110156200031257828155600101620002fd565b5050505b505050565b81516001600160401b0381111562000337576200033762000125565b6200034f816200034884546200028c565b84620002c8565b602080601f8311600181146200038757600084156200036e5750858301515b600019600386901b1c1916600185901b17855562000312565b600085815260208120601f198616915b82811015620003b85788860151825594840194600190910190840162000397565b5085821015620003d75787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6020815260008251806020840152620004088160408501602087016200013b565b601f01601f19169190910160400192915050565b60805160a05161113c6200044260003960006101c301526000610217015261113c6000f3fe608060405234801561001057600080fd5b50600436106101515760003560e01c8063715018a6116100cd578063a9059cbb11610081578063cc29516a11610066578063cc29516a146102e5578063dd62ed3e146102ed578063f2fde38b1461032657600080fd5b8063a9059cbb146102bf578063a9ad627c146102d257600080fd5b806395d89b41116100b257806395d89b41146102915780639dc29fac14610299578063a457c2d7146102ac57600080fd5b8063715018a6146102785780638da5cb5b1461028057600080fd5b8063313ce5671161012457806340c10f191161010957806340c10f19146102005780635c222bad1461021557806370a082311461024f57600080fd5b8063313ce567146101bc57806339509351146101ed57600080fd5b806306fdde0314610156578063095ea7b31461017457806318160ddd1461019757806323b872dd146101a9575b600080fd5b61015e610339565b60405161016b9190610f5b565b60405180910390f35b610187610182366004610fcc565b6103cb565b604051901515815260200161016b565b6004545b60405190815260200161016b565b6101876101b7366004610ff6565b6103e3565b60405160ff7f000000000000000000000000000000000000000000000000000000000000000016815260200161016b565b6101876101fb366004610fcc565b610407565b61021361020e366004610fcc565b610446565b005b7f00000000000000000000000000000000000000000000000000000000000000005b6040516001600160a01b03909116815260200161016b565b61019b61025d366004611032565b6001600160a01b031660009081526002602052604090205490565b61021361054a565b6000546001600160a01b0316610237565b61015e61055e565b6102136102a7366004610fcc565b61056d565b6101876102ba366004610fcc565b61065c565b6101876102cd366004610fcc565b610706565b6102136102e0366004611032565b610714565b6102136107c5565b61019b6102fb366004611054565b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205490565b610213610334366004611032565b61083f565b60606005805461034890611087565b80601f016020809104026020016040519081016040528092919081815260200182805461037490611087565b80156103c15780601f10610396576101008083540402835291602001916103c1565b820191906000526020600020905b8154815290600101906020018083116103a457829003601f168201915b5050505050905090565b6000336103d98185856108d8565b5060019392505050565b6000336103f18582856109fd565b6103fc858585610a8f565b506001949350505050565b3360008181526003602090815260408083206001600160a01b03871684529091528120549091906103d990829086906104419087906110d7565b6108d8565b6007546001600160a01b0316336001600160a01b0316146040518060400160405280600881526020016749504f525f33323760c01b815250906104a55760405162461bcd60e51b815260040161049c9190610f5b565b60405180910390fd5b5060408051808201909152600881527f49504f525f3430300000000000000000000000000000000000000000000000006020820152816104f85760405162461bcd60e51b815260040161049c9190610f5b565b506105038282610c8c565b816001600160a01b03167f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d41213968858260405161053e91815260200190565b60405180910390a25050565b610552610d6b565b61055c6000610dc5565b565b60606006805461034890611087565b6007546001600160a01b0316336001600160a01b0316146040518060400160405280600881526020016749504f525f33323760c01b815250906105c35760405162461bcd60e51b815260040161049c9190610f5b565b5060408051808201909152600881527f49504f525f3430310000000000000000000000000000000000000000000000006020820152816106165760405162461bcd60e51b815260040161049c9190610f5b565b506106218282610e15565b816001600160a01b03167fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca58260405161053e91815260200190565b3360008181526003602090815260408083206001600160a01b0387168452909152812054909190838110156106f95760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f000000000000000000000000000000000000000000000000000000606482015260840161049c565b6103fc82868684036108d8565b6000336103d9818585610a8f565b61071c610d6b565b604080518082019091526008815267049504f525f3030360c41b60208201526001600160a01b0382166107625760405162461bcd60e51b815260040161049c9190610f5b565b50600780546001600160a01b038381166001600160a01b03198316811790935516908161078c3390565b6001600160a01b03167f06ea73dbb4731e0e49efac50d8fc99a6c33ba25502ad309407268874309fc95960405160405180910390a45050565b60015460408051808201909152600881527f49504f525f3030370000000000000000000000000000000000000000000000006020820152906001600160a01b031633146108255760405162461bcd60e51b815260040161049c9190610f5b565b50600180546001600160a01b031916905561055c33610dc5565b610847610d6b565b604080518082019091526008815267049504f525f3030360c41b60208201526001600160a01b03821661088d5760405162461bcd60e51b815260040161049c9190610f5b565b50600180546001600160a01b0319166001600160a01b0383169081179091556040517f3ec7bb1d452f3c36260fa8ef678a597fd97574d8ec42f6dc98ffce3dbc91228f90600090a250565b6001600160a01b03831661093a5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161049c565b6001600160a01b03821661099b5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161049c565b6001600160a01b0383811660008181526003602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b038381166000908152600360209081526040808320938616835292905220546000198114610a895781811015610a7c5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604482015260640161049c565b610a8984848484036108d8565b50505050565b6001600160a01b038316610b0b5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f6472657373000000000000000000000000000000000000000000000000000000606482015260840161049c565b6001600160a01b038216610b6d5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161049c565b6001600160a01b03831660009081526002602052604090205481811015610bfc5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e63650000000000000000000000000000000000000000000000000000606482015260840161049c565b6001600160a01b03808516600090815260026020526040808220858503905591851681529081208054849290610c339084906110d7565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610c7f91815260200190565b60405180910390a3610a89565b6001600160a01b038216610ce25760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640161049c565b8060046000828254610cf491906110d7565b90915550506001600160a01b03821660009081526002602052604081208054839290610d219084906110d7565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6000546001600160a01b0316331461055c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161049c565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b038216610e755760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b606482015260840161049c565b6001600160a01b03821660009081526002602052604090205481811015610ee95760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b606482015260840161049c565b6001600160a01b0383166000908152600260205260408120838303905560048054849290610f189084906110ef565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906020016109f0565b600060208083528351808285015260005b81811015610f8857858101830151858201604001528201610f6c565b81811115610f9a576000604083870101525b50601f01601f1916929092016040019392505050565b80356001600160a01b0381168114610fc757600080fd5b919050565b60008060408385031215610fdf57600080fd5b610fe883610fb0565b946020939093013593505050565b60008060006060848603121561100b57600080fd5b61101484610fb0565b925061102260208501610fb0565b9150604084013590509250925092565b60006020828403121561104457600080fd5b61104d82610fb0565b9392505050565b6000806040838503121561106757600080fd5b61107083610fb0565b915061107e60208401610fb0565b90509250929050565b600181811c9082168061109b57607f821691505b6020821081036110bb57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b600082198211156110ea576110ea6110c1565b500190565b600082821015611101576111016110c1565b50039056fea26469706673582212206d2ef35c3d3d864347911d50b8d982725b46e8a58e4a86fc1e8526428cf06dec64736f6c634300080f0033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec70000000000000000000000000000000000000000000000000000000000000007495020555344540000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000066970555344540000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101515760003560e01c8063715018a6116100cd578063a9059cbb11610081578063cc29516a11610066578063cc29516a146102e5578063dd62ed3e146102ed578063f2fde38b1461032657600080fd5b8063a9059cbb146102bf578063a9ad627c146102d257600080fd5b806395d89b41116100b257806395d89b41146102915780639dc29fac14610299578063a457c2d7146102ac57600080fd5b8063715018a6146102785780638da5cb5b1461028057600080fd5b8063313ce5671161012457806340c10f191161010957806340c10f19146102005780635c222bad1461021557806370a082311461024f57600080fd5b8063313ce567146101bc57806339509351146101ed57600080fd5b806306fdde0314610156578063095ea7b31461017457806318160ddd1461019757806323b872dd146101a9575b600080fd5b61015e610339565b60405161016b9190610f5b565b60405180910390f35b610187610182366004610fcc565b6103cb565b604051901515815260200161016b565b6004545b60405190815260200161016b565b6101876101b7366004610ff6565b6103e3565b60405160ff7f000000000000000000000000000000000000000000000000000000000000001216815260200161016b565b6101876101fb366004610fcc565b610407565b61021361020e366004610fcc565b610446565b005b7f000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec75b6040516001600160a01b03909116815260200161016b565b61019b61025d366004611032565b6001600160a01b031660009081526002602052604090205490565b61021361054a565b6000546001600160a01b0316610237565b61015e61055e565b6102136102a7366004610fcc565b61056d565b6101876102ba366004610fcc565b61065c565b6101876102cd366004610fcc565b610706565b6102136102e0366004611032565b610714565b6102136107c5565b61019b6102fb366004611054565b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205490565b610213610334366004611032565b61083f565b60606005805461034890611087565b80601f016020809104026020016040519081016040528092919081815260200182805461037490611087565b80156103c15780601f10610396576101008083540402835291602001916103c1565b820191906000526020600020905b8154815290600101906020018083116103a457829003601f168201915b5050505050905090565b6000336103d98185856108d8565b5060019392505050565b6000336103f18582856109fd565b6103fc858585610a8f565b506001949350505050565b3360008181526003602090815260408083206001600160a01b03871684529091528120549091906103d990829086906104419087906110d7565b6108d8565b6007546001600160a01b0316336001600160a01b0316146040518060400160405280600881526020016749504f525f33323760c01b815250906104a55760405162461bcd60e51b815260040161049c9190610f5b565b60405180910390fd5b5060408051808201909152600881527f49504f525f3430300000000000000000000000000000000000000000000000006020820152816104f85760405162461bcd60e51b815260040161049c9190610f5b565b506105038282610c8c565b816001600160a01b03167f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d41213968858260405161053e91815260200190565b60405180910390a25050565b610552610d6b565b61055c6000610dc5565b565b60606006805461034890611087565b6007546001600160a01b0316336001600160a01b0316146040518060400160405280600881526020016749504f525f33323760c01b815250906105c35760405162461bcd60e51b815260040161049c9190610f5b565b5060408051808201909152600881527f49504f525f3430310000000000000000000000000000000000000000000000006020820152816106165760405162461bcd60e51b815260040161049c9190610f5b565b506106218282610e15565b816001600160a01b03167fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca58260405161053e91815260200190565b3360008181526003602090815260408083206001600160a01b0387168452909152812054909190838110156106f95760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f000000000000000000000000000000000000000000000000000000606482015260840161049c565b6103fc82868684036108d8565b6000336103d9818585610a8f565b61071c610d6b565b604080518082019091526008815267049504f525f3030360c41b60208201526001600160a01b0382166107625760405162461bcd60e51b815260040161049c9190610f5b565b50600780546001600160a01b038381166001600160a01b03198316811790935516908161078c3390565b6001600160a01b03167f06ea73dbb4731e0e49efac50d8fc99a6c33ba25502ad309407268874309fc95960405160405180910390a45050565b60015460408051808201909152600881527f49504f525f3030370000000000000000000000000000000000000000000000006020820152906001600160a01b031633146108255760405162461bcd60e51b815260040161049c9190610f5b565b50600180546001600160a01b031916905561055c33610dc5565b610847610d6b565b604080518082019091526008815267049504f525f3030360c41b60208201526001600160a01b03821661088d5760405162461bcd60e51b815260040161049c9190610f5b565b50600180546001600160a01b0319166001600160a01b0383169081179091556040517f3ec7bb1d452f3c36260fa8ef678a597fd97574d8ec42f6dc98ffce3dbc91228f90600090a250565b6001600160a01b03831661093a5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161049c565b6001600160a01b03821661099b5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161049c565b6001600160a01b0383811660008181526003602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b038381166000908152600360209081526040808320938616835292905220546000198114610a895781811015610a7c5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604482015260640161049c565b610a8984848484036108d8565b50505050565b6001600160a01b038316610b0b5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f6472657373000000000000000000000000000000000000000000000000000000606482015260840161049c565b6001600160a01b038216610b6d5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161049c565b6001600160a01b03831660009081526002602052604090205481811015610bfc5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e63650000000000000000000000000000000000000000000000000000606482015260840161049c565b6001600160a01b03808516600090815260026020526040808220858503905591851681529081208054849290610c339084906110d7565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610c7f91815260200190565b60405180910390a3610a89565b6001600160a01b038216610ce25760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640161049c565b8060046000828254610cf491906110d7565b90915550506001600160a01b03821660009081526002602052604081208054839290610d219084906110d7565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6000546001600160a01b0316331461055c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161049c565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b038216610e755760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b606482015260840161049c565b6001600160a01b03821660009081526002602052604090205481811015610ee95760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b606482015260840161049c565b6001600160a01b0383166000908152600260205260408120838303905560048054849290610f189084906110ef565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906020016109f0565b600060208083528351808285015260005b81811015610f8857858101830151858201604001528201610f6c565b81811115610f9a576000604083870101525b50601f01601f1916929092016040019392505050565b80356001600160a01b0381168114610fc757600080fd5b919050565b60008060408385031215610fdf57600080fd5b610fe883610fb0565b946020939093013593505050565b60008060006060848603121561100b57600080fd5b61101484610fb0565b925061102260208501610fb0565b9150604084013590509250925092565b60006020828403121561104457600080fd5b61104d82610fb0565b9392505050565b6000806040838503121561106757600080fd5b61107083610fb0565b915061107e60208401610fb0565b90509250929050565b600181811c9082168061109b57607f821691505b6020821081036110bb57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b600082198211156110ea576110ea6110c1565b500190565b600082821015611101576111016110c1565b50039056fea26469706673582212206d2ef35c3d3d864347911d50b8d982725b46e8a58e4a86fc1e8526428cf06dec64736f6c634300080f0033

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

000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec70000000000000000000000000000000000000000000000000000000000000007495020555344540000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000066970555344540000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : name (string): IP USDT
Arg [1] : symbol (string): ipUSDT
Arg [2] : asset (address): 0xdAC17F958D2ee523a2206206994597C13D831ec7

-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec7
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000007
Arg [4] : 4950205553445400000000000000000000000000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [6] : 6970555344540000000000000000000000000000000000000000000000000000


Deployed Bytecode Sourcemap

48662:176:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31749:100;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;34100:201;;;;;;:::i;:::-;;:::i;:::-;;;1241:14:1;;1234:22;1216:41;;1204:2;1189:18;34100:201:0;1076:187:1;32869:108:0;32957:12;;32869:108;;;1414:25:1;;;1402:2;1387:18;32869:108:0;1268:177:1;34881:295:0;;;;;;:::i;:::-;;:::i;47708:92::-;;;1955:4:1;47783:9:0;1943:17:1;1925:36;;1913:2;1898:18;47708:92:0;1783:184:1;35585:238:0;;;;;;:::i;:::-;;:::i;48193:227::-;;;;;;:::i;:::-;;:::i;:::-;;47808:93;47887:6;47808:93;;;-1:-1:-1;;;;;2136:55:1;;;2118:74;;2106:2;2091:18;47808:93:0;1972:226:1;33040:127:0;;;;;;:::i;:::-;-1:-1:-1;;;;;33141:18:0;33114:7;33141:18;;;:9;:18;;;;;;;33040:127;10898:103;;;:::i;10250:87::-;10296:7;10323:6;-1:-1:-1;;;;;10323:6:0;10250:87;;31968:104;;;:::i;48428:227::-;;;;;;:::i;:::-;;:::i;36326:436::-;;;;;;:::i;:::-;;:::i;33373:193::-;;;;;;:::i;:::-;;:::i;47909:276::-;;;;;;:::i;:::-;;:::i;12219:154::-;;;:::i;33629:151::-;;;;;;:::i;:::-;-1:-1:-1;;;;;33745:18:0;;;33718:7;33745:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;33629:151;11949:262;;;;;;:::i;:::-;;:::i;31749:100::-;31803:13;31836:5;31829:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31749:100;:::o;34100:201::-;34183:4;8881:10;34239:32;8881:10;34255:7;34264:6;34239:8;:32::i;:::-;-1:-1:-1;34289:4:0;;34100:201;-1:-1:-1;;;34100:201:0:o;34881:295::-;35012:4;8881:10;35070:38;35086:4;8881:10;35101:6;35070:15;:38::i;:::-;35119:27;35129:4;35135:2;35139:6;35119:9;:27::i;:::-;-1:-1:-1;35164:4:0;;34881:295;-1:-1:-1;;;;34881:295:0:o;35585:238::-;8881:10;35673:4;33745:18;;;:11;:18;;;;;;;;-1:-1:-1;;;;;33745:27:0;;;;;;;;;;35673:4;;8881:10;35729:64;;8881:10;;33745:27;;35754:38;;35782:10;;35754:38;:::i;:::-;35729:8;:64::i;48193:227::-;47386:7;;-1:-1:-1;;;;;47386:7:0;8881:10;-1:-1:-1;;;;;47370:23:0;;47395:30;;;;;;;;;;;;;-1:-1:-1;;;47395:30:0;;;47362:64;;;;;-1:-1:-1;;;47362:64:0;;;;;;;;:::i;:::-;;;;;;;;;-1:-1:-1;48300:41:0::1;::::0;;;;::::1;::::0;;;::::1;::::0;;::::1;;::::0;::::1;::::0;48288:10;48280:62:::1;;;;-1:-1:-1::0;;;48280:62:0::1;;;;;;;;:::i;:::-;;48353:22;48359:7;48368:6;48353:5;:22::i;:::-;48396:7;-1:-1:-1::0;;;;;48391:21:0::1;;48405:6;48391:21;;;;1414:25:1::0;;1402:2;1387:18;;1268:177;48391:21:0::1;;;;;;;;48193:227:::0;;:::o;10898:103::-;10136:13;:11;:13::i;:::-;10963:30:::1;10990:1;10963:18;:30::i;:::-;10898:103::o:0;31968:104::-;32024:13;32057:7;32050:14;;;;;:::i;48428:227::-;47386:7;;-1:-1:-1;;;;;47386:7:0;8881:10;-1:-1:-1;;;;;47370:23:0;;47395:30;;;;;;;;;;;;;-1:-1:-1;;;47395:30:0;;;47362:64;;;;;-1:-1:-1;;;47362:64:0;;;;;;;;:::i;:::-;-1:-1:-1;48535:41:0::1;::::0;;;;::::1;::::0;;;::::1;::::0;;::::1;;::::0;::::1;::::0;48523:10;48515:62:::1;;;;-1:-1:-1::0;;;48515:62:0::1;;;;;;;;:::i;:::-;;48588:22;48594:7;48603:6;48588:5;:22::i;:::-;48631:7;-1:-1:-1::0;;;;;48626:21:0::1;;48640:6;48626:21;;;;1414:25:1::0;;1402:2;1387:18;;1268:177;36326:436:0;8881:10;36419:4;33745:18;;;:11;:18;;;;;;;;-1:-1:-1;;;;;33745:27:0;;;;;;;;;;36419:4;;8881:10;36566:15;36546:16;:35;;36538:85;;;;-1:-1:-1;;;36538:85:0;;3511:2:1;36538:85:0;;;3493:21:1;3550:2;3530:18;;;3523:30;3589:34;3569:18;;;3562:62;3660:7;3640:18;;;3633:35;3685:19;;36538:85:0;3309:401:1;36538:85:0;36659:60;36668:5;36675:7;36703:15;36684:16;:34;36659:8;:60::i;33373:193::-;33452:4;8881:10;33508:28;8881:10;33525:2;33529:6;33508:9;:28::i;47909:276::-;10136:13;:11;:13::i;:::-;48019:24:::1;::::0;;;;::::1;::::0;;;::::1;::::0;;-1:-1:-1;;;48019:24:0::1;::::0;::::1;::::0;-1:-1:-1;;;;;47994:23:0;::::1;47986:58;;;;-1:-1:-1::0;;;47986:58:0::1;;;;;;;;:::i;:::-;-1:-1:-1::0;48075:7:0::1;::::0;;-1:-1:-1;;;;;48093:19:0;;::::1;-1:-1:-1::0;;;;;;48093:19:0;::::1;::::0;::::1;::::0;;;48075:7:::1;::::0;;48142:12:::1;8881:10:::0;;8801:98;48142:12:::1;-1:-1:-1::0;;;;;48128:49:0::1;;;;;;;;;;;47975:210;47909:276:::0;:::o;12219:154::-;12430:15;;12463:37;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;12430:15:0;8881:10;12430:31;12422:79;;;;-1:-1:-1;;;12422:79:0;;;;;;;;:::i;:::-;-1:-1:-1;12294:15:0::1;:28:::0;;-1:-1:-1;;;;;;12294:28:0::1;::::0;;12333:32:::1;8881:10:::0;12333:18:::1;:32::i;11949:262::-:0;10136:13;:11;:13::i;:::-;12075:24:::1;::::0;;;;::::1;::::0;;;::::1;::::0;;-1:-1:-1;;;12075:24:0::1;::::0;::::1;::::0;-1:-1:-1;;;;;12045:28:0;::::1;12037:63;;;;-1:-1:-1::0;;;12037:63:0::1;;;;;;;;:::i;:::-;-1:-1:-1::0;12111:15:0::1;:32:::0;;-1:-1:-1;;;;;;12111:32:0::1;-1:-1:-1::0;;;;;12111:32:0;::::1;::::0;;::::1;::::0;;;12159:44:::1;::::0;::::1;::::0;-1:-1:-1;;12159:44:0::1;11949:262:::0;:::o;39951:380::-;-1:-1:-1;;;;;40087:19:0;;40079:68;;;;-1:-1:-1;;;40079:68:0;;3917:2:1;40079:68:0;;;3899:21:1;3956:2;3936:18;;;3929:30;3995:34;3975:18;;;3968:62;-1:-1:-1;;;4046:18:1;;;4039:34;4090:19;;40079:68:0;3715:400:1;40079:68:0;-1:-1:-1;;;;;40166:21:0;;40158:68;;;;-1:-1:-1;;;40158:68:0;;4322:2:1;40158:68:0;;;4304:21:1;4361:2;4341:18;;;4334:30;4400:34;4380:18;;;4373:62;-1:-1:-1;;;4451:18:1;;;4444:32;4493:19;;40158:68:0;4120:398:1;40158:68:0;-1:-1:-1;;;;;40239:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;40291:32;;1414:25:1;;;40291:32:0;;1387:18:1;40291:32:0;;;;;;;;39951:380;;;:::o;40622:453::-;-1:-1:-1;;;;;33745:18:0;;;40757:24;33745:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;-1:-1:-1;;40824:37:0;;40820:248;;40906:6;40886:16;:26;;40878:68;;;;-1:-1:-1;;;40878:68:0;;4725:2:1;40878:68:0;;;4707:21:1;4764:2;4744:18;;;4737:30;4803:31;4783:18;;;4776:59;4852:18;;40878:68:0;4523:353:1;40878:68:0;40990:51;40999:5;41006:7;41034:6;41015:16;:25;40990:8;:51::i;:::-;40746:329;40622:453;;;:::o;37232:671::-;-1:-1:-1;;;;;37363:18:0;;37355:68;;;;-1:-1:-1;;;37355:68:0;;5083:2:1;37355:68:0;;;5065:21:1;5122:2;5102:18;;;5095:30;5161:34;5141:18;;;5134:62;5232:7;5212:18;;;5205:35;5257:19;;37355:68:0;4881:401:1;37355:68:0;-1:-1:-1;;;;;37442:16:0;;37434:64;;;;-1:-1:-1;;;37434:64:0;;5489:2:1;37434:64:0;;;5471:21:1;5528:2;5508:18;;;5501:30;5567:34;5547:18;;;5540:62;-1:-1:-1;;;5618:18:1;;;5611:33;5661:19;;37434:64:0;5287:399:1;37434:64:0;-1:-1:-1;;;;;37584:15:0;;37562:19;37584:15;;;:9;:15;;;;;;37618:21;;;;37610:72;;;;-1:-1:-1;;;37610:72:0;;5893:2:1;37610:72:0;;;5875:21:1;5932:2;5912:18;;;5905:30;5971:34;5951:18;;;5944:62;6042:8;6022:18;;;6015:36;6068:19;;37610:72:0;5691:402:1;37610:72:0;-1:-1:-1;;;;;37718:15:0;;;;;;;:9;:15;;;;;;37736:20;;;37718:38;;37778:13;;;;;;;;:23;;37750:6;;37718:15;37778:23;;37750:6;;37778:23;:::i;:::-;;;;;;;;37834:2;-1:-1:-1;;;;;37819:26:0;37828:4;-1:-1:-1;;;;;37819:26:0;;37838:6;37819:26;;;;1414:25:1;;1402:2;1387:18;;1268:177;37819:26:0;;;;;;;;37858:37;38922:591;38190:399;-1:-1:-1;;;;;38274:21:0;;38266:65;;;;-1:-1:-1;;;38266:65:0;;6300:2:1;38266:65:0;;;6282:21:1;6339:2;6319:18;;;6312:30;6378:33;6358:18;;;6351:61;6429:18;;38266:65:0;6098:355:1;38266:65:0;38422:6;38406:12;;:22;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;;;38439:18:0;;;;;;:9;:18;;;;;:28;;38461:6;;38439:18;:28;;38461:6;;38439:28;:::i;:::-;;;;-1:-1:-1;;38483:37:0;;1414:25:1;;;-1:-1:-1;;;;;38483:37:0;;;38500:1;;38483:37;;1402:2:1;1387:18;38483:37:0;;;;;;;38190:399;;:::o;10415:132::-;10296:7;10323:6;-1:-1:-1;;;;;10323:6:0;8881:10;10479:23;10471:68;;;;-1:-1:-1;;;10471:68:0;;6660:2:1;10471:68:0;;;6642:21:1;;;6679:18;;;6672:30;6738:34;6718:18;;;6711:62;6790:18;;10471:68:0;6458:356:1;11517:191:0;11591:16;11610:6;;-1:-1:-1;;;;;11627:17:0;;;-1:-1:-1;;;;;;11627:17:0;;;;;;11660:40;;11610:6;;;;;;;11660:40;;11591:16;11660:40;11580:128;11517:191;:::o;38922:591::-;-1:-1:-1;;;;;39006:21:0;;38998:67;;;;-1:-1:-1;;;38998:67:0;;7021:2:1;38998:67:0;;;7003:21:1;7060:2;7040:18;;;7033:30;7099:34;7079:18;;;7072:62;-1:-1:-1;;;7150:18:1;;;7143:31;7191:19;;38998:67:0;6819:397:1;38998:67:0;-1:-1:-1;;;;;39165:18:0;;39140:22;39165:18;;;:9;:18;;;;;;39202:24;;;;39194:71;;;;-1:-1:-1;;;39194:71:0;;7423:2:1;39194:71:0;;;7405:21:1;7462:2;7442:18;;;7435:30;7501:34;7481:18;;;7474:62;-1:-1:-1;;;7552:18:1;;;7545:32;7594:19;;39194:71:0;7221:398:1;39194:71:0;-1:-1:-1;;;;;39301:18:0;;;;;;:9;:18;;;;;39322:23;;;39301:44;;39367:12;:22;;39339:6;;39301:18;39367:22;;39339:6;;39367:22;:::i;:::-;;;;-1:-1:-1;;39407:37:0;;1414:25:1;;;39433:1:0;;-1:-1:-1;;;;;39407:37:0;;;;;1402:2:1;1387:18;39407:37:0;1268:177:1;14:597;126:4;155:2;184;173:9;166:21;216:6;210:13;259:6;254:2;243:9;239:18;232:34;284:1;294:140;308:6;305:1;302:13;294:140;;;403:14;;;399:23;;393:30;369:17;;;388:2;365:26;358:66;323:10;;294:140;;;452:6;449:1;446:13;443:91;;;522:1;517:2;508:6;497:9;493:22;489:31;482:42;443:91;-1:-1:-1;595:2:1;574:15;-1:-1:-1;;570:29:1;555:45;;;;602:2;551:54;;14:597;-1:-1:-1;;;14:597:1:o;616:196::-;684:20;;-1:-1:-1;;;;;733:54:1;;723:65;;713:93;;802:1;799;792:12;713:93;616:196;;;:::o;817:254::-;885:6;893;946:2;934:9;925:7;921:23;917:32;914:52;;;962:1;959;952:12;914:52;985:29;1004:9;985:29;:::i;:::-;975:39;1061:2;1046:18;;;;1033:32;;-1:-1:-1;;;817:254:1:o;1450:328::-;1527:6;1535;1543;1596:2;1584:9;1575:7;1571:23;1567:32;1564:52;;;1612:1;1609;1602:12;1564:52;1635:29;1654:9;1635:29;:::i;:::-;1625:39;;1683:38;1717:2;1706:9;1702:18;1683:38;:::i;:::-;1673:48;;1768:2;1757:9;1753:18;1740:32;1730:42;;1450:328;;;;;:::o;2203:186::-;2262:6;2315:2;2303:9;2294:7;2290:23;2286:32;2283:52;;;2331:1;2328;2321:12;2283:52;2354:29;2373:9;2354:29;:::i;:::-;2344:39;2203:186;-1:-1:-1;;;2203:186:1:o;2394:260::-;2462:6;2470;2523:2;2511:9;2502:7;2498:23;2494:32;2491:52;;;2539:1;2536;2529:12;2491:52;2562:29;2581:9;2562:29;:::i;:::-;2552:39;;2610:38;2644:2;2633:9;2629:18;2610:38;:::i;:::-;2600:48;;2394:260;;;;;:::o;2659:380::-;2738:1;2734:12;;;;2781;;;2802:61;;2856:4;2848:6;2844:17;2834:27;;2802:61;2909:2;2901:6;2898:14;2878:18;2875:38;2872:161;;2955:10;2950:3;2946:20;2943:1;2936:31;2990:4;2987:1;2980:15;3018:4;3015:1;3008:15;2872:161;;2659:380;;;:::o;3044:127::-;3105:10;3100:3;3096:20;3093:1;3086:31;3136:4;3133:1;3126:15;3160:4;3157:1;3150:15;3176:128;3216:3;3247:1;3243:6;3240:1;3237:13;3234:39;;;3253:18;;:::i;:::-;-1:-1:-1;3289:9:1;;3176:128::o;7624:125::-;7664:4;7692:1;7689;7686:8;7683:34;;;7697:18;;:::i;:::-;-1:-1:-1;7734:9:1;;7624:125::o

Swarm Source

ipfs://6d2ef35c3d3d864347911d50b8d982725b46e8a58e4a86fc1e8526428cf06dec

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

OVERVIEW

The IPOR Protocol consists of the IPOR Index Oracle, a benchmark interest rate for DeFi sourced from credit market protocols, and interest rate derivatives DEXes.

Validator Index Block Amount
View All Withdrawals

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

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