ETH Price: $3,173.63 (-7.66%)
Gas: 9 Gwei

Token

Conic Debt Token (cncDT)
 

Overview

Max Total Supply

2,453,968.353140800216312569 cncDT

Holders

48

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
6,417.781288378982357844 cncDT

Value
$0.00
0x833a11b69873151fba6d14f455db5392542825ca
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
ConicDebtToken

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
Yes with 200 runs

Other Settings:
london EvmVersion, GNU GPLv3 license
File 1 of 12 : ConicDebtToken.sol
// SPDX-License-Identifier: GPL-3.0-or-later
pragma solidity 0.8.17;

import "Ownable.sol";
import "SafeERC20.sol";
import "ERC20.sol";

import "ScaledMath.sol";
import "IConicDebtToken.sol";

contract ConicDebtToken is IConicDebtToken, ERC20, Ownable {
    using SafeERC20 for IERC20;
    using MerkleProof for MerkleProof.Proof;

    uint256 internal constant MAX_SUPPLY = 4_337_233e18;
    uint256 internal constant CLAIM_DURATION = 30 days * 6;
    address internal constant TREASURY = 0xB27DC5f8286f063F11491c8f349053cB37718bea;
    address internal constant CRVUSD = address(0xf939E0A03FB07F59A73314E73794Be0E57ac1b4E);
    bytes32 public immutable merkleRootDebtToken;
    bytes32 public immutable merkleRootRefund;

    mapping(address => bool) public debtTokenClaimedBy;
    mapping(address => bool) public refundClaimedBy;

    uint256 public startAt;
    bool public claimIsActive;
    address public debtPool;

    constructor(
        bytes32 _merkleRootDebtToken,
        bytes32 _merkleRootRefund
    ) ERC20("Conic Debt Token", "cncDT") {
        merkleRootDebtToken = _merkleRootDebtToken;
        merkleRootRefund = _merkleRootRefund;
    }

    function depositRefund(uint256 amount) external onlyOwner {
        IERC20(CRVUSD).safeTransferFrom(msg.sender, address(this), amount);
    }

    function start() external onlyOwner {
        startAt = block.timestamp;
        emit ClaimingStarted();
    }

    function claimDebtToken(uint256 amount, MerkleProof.Proof calldata proof) external {
        require(startAt != 0, "Claiming is not active");
        _claimDebtToken(amount, proof);
    }

    function claimRefund(uint256 amount, MerkleProof.Proof calldata proof) external {
        require(startAt != 0, "Claiming is not active");
        _claimRefund(amount, proof);
    }

    function claimAll(
        uint256 amountDebtToken,
        MerkleProof.Proof calldata proofDebtTokenClaim,
        uint256 amountRefund,
        MerkleProof.Proof calldata proofRefund
    ) external {
        require(startAt != 0, "Claiming is not active");

        _claimDebtToken(amountDebtToken, proofDebtTokenClaim);
        _claimRefund(amountRefund, proofRefund);
    }

    function _claimRefund(uint256 amount, MerkleProof.Proof calldata proof) internal {
        _claim(amount, proof, merkleRootRefund, refundClaimedBy);
        IERC20(CRVUSD).safeTransfer(msg.sender, amount);
        emit RefundClaimed(msg.sender, amount);
    }

    function _claimDebtToken(uint256 amount, MerkleProof.Proof calldata proof) internal {
        _claim(amount, proof, merkleRootDebtToken, debtTokenClaimedBy);
        _mint(msg.sender, amount);
        emit DebtTokenClaimed(msg.sender, amount);
    }

    function _claim(
        uint256 amount,
        MerkleProof.Proof calldata proof,
        bytes32 merkleRoot,
        mapping(address => bool) storage claimedBy
    ) internal {
        bytes32 node = keccak256(abi.encodePacked(msg.sender, amount));
        require(proof.isValid(node, merkleRoot), "Invalid proof");
        require(startAt + CLAIM_DURATION >= block.timestamp, "Claiming has ended");
        require(!claimedBy[msg.sender], "Already claimed");
        claimedBy[msg.sender] = true;
    }

    function terminateClaiming() external onlyOwner {
        require(block.timestamp > startAt + CLAIM_DURATION, "Claiming has not ended");
        uint256 fundsLeft = IERC20(CRVUSD).balanceOf(address(this));
        IERC20(CRVUSD).safeTransfer(TREASURY, fundsLeft);
        emit ClaimingTerminated();
    }

    function setDebtPool(address _debtPool) external onlyOwner {
        require(debtPool == address(0), "Claim pool already set");
        debtPool = _debtPool;
        emit DebtPoolSet(_debtPool);
    }

    function burn(address account, uint256 amount) external override {
        require(msg.sender == debtPool, "invalid burner");
        _burn(account, amount);
    }
}

File 2 of 12 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

import "Context.sol";

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract 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. 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 {
        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 3 of 12 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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

File 4 of 12 : SafeERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.3) (token/ERC20/utils/SafeERC20.sol)

pragma solidity ^0.8.0;

import "IERC20.sol";
import "IERC20Permit.sol";
import "Address.sol";

/**
 * @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 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.encodeWithSelector(token.transfer.selector, 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.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));
    }

    /**
     * @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);
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, oldAllowance + value));
    }

    /**
     * @dev Decrease the calling contract's allowance toward `spender` by `value`. If `token` returns no value,
     * non-reverting calls are assumed to be successful.
     */
    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");
            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, oldAllowance - value));
        }
    }

    /**
     * @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.encodeWithSelector(token.approve.selector, spender, value);

        if (!_callOptionalReturnBool(token, approvalCall)) {
            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, 0));
            _callOptionalReturn(token, approvalCall);
        }
    }

    /**
     * @dev Use a ERC-2612 signature to set the `owner` approval toward `spender` on `token`.
     * Revert on invalid signature.
     */
    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");
        require(returndata.length == 0 || abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation 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).
     *
     * 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.isContract(address(token));
    }
}

File 5 of 12 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.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 6 of 12 : IERC20Permit.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/extensions/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 7 of 12 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.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
     *
     * Furthermore, `isContract` will also return true if the target contract within
     * the same transaction is already scheduled for destruction by `SELFDESTRUCT`,
     * which only has an effect at the end of a transaction.
     * ====
     *
     * [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://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.0/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 functionCallWithValue(target, data, 0, "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");
        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResultFromTarget(target, 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) {
        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResultFromTarget(target, 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) {
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling
     * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.
     *
     * _Available since v4.8._
     */
    function verifyCallResultFromTarget(
        address target,
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        if (success) {
            if (returndata.length == 0) {
                // only check isContract if the call was successful and the return data is empty
                // otherwise we already know that it was a contract
                require(isContract(target), "Address: call to non-contract");
            }
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    /**
     * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason or 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 {
            _revert(returndata, errorMessage);
        }
    }

    function _revert(bytes memory returndata, string memory errorMessage) 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(errorMessage);
        }
    }
}

File 8 of 12 : ERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/ERC20.sol)

pragma solidity ^0.8.0;

import "IERC20.sol";
import "IERC20Metadata.sol";
import "Context.sol";

/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.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.
 *
 * 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}.
     *
     * 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 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 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;
            // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by
            // decrementing then incrementing.
            _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;
        unchecked {
            // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above.
            _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;
            // Overflow not possible: amount <= accountBalance <= totalSupply.
            _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 9 of 12 : IERC20Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.0;

import "IERC20.sol";

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

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

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

File 10 of 12 : ScaledMath.sol
// SPDX-License-Identifier: GPL-3.0-or-later
pragma solidity 0.8.17;

library ScaledMath {
    uint256 internal constant DECIMALS = 18;
    uint256 internal constant ONE = 10 ** DECIMALS;

    function mulDown(uint256 a, uint256 b) internal pure returns (uint256) {
        return (a * b) / ONE;
    }

    function mulDown(uint256 a, uint256 b, uint256 decimals) internal pure returns (uint256) {
        return (a * b) / (10 ** decimals);
    }

    function divDown(uint256 a, uint256 b) internal pure returns (uint256) {
        return (a * ONE) / b;
    }

    function divDown(uint256 a, uint256 b, uint256 decimals) internal pure returns (uint256) {
        return (a * 10 ** decimals) / b;
    }

    function divUp(uint256 a, uint256 b) internal pure returns (uint256) {
        if (a == 0) {
            return 0;
        }
        return ((a * ONE) - 1) / b + 1;
    }

    function mulDown(int256 a, int256 b) internal pure returns (int256) {
        return (a * b) / int256(ONE);
    }

    function mulDownUint128(uint128 a, uint128 b) internal pure returns (uint128) {
        return (a * b) / uint128(ONE);
    }

    function mulDown(int256 a, int256 b, uint256 decimals) internal pure returns (int256) {
        return (a * b) / int256(10 ** decimals);
    }

    function divDown(int256 a, int256 b) internal pure returns (int256) {
        return (a * int256(ONE)) / b;
    }

    function divDownUint128(uint128 a, uint128 b) internal pure returns (uint128) {
        return (a * uint128(ONE)) / b;
    }

    function divDown(int256 a, int256 b, uint256 decimals) internal pure returns (int256) {
        return (a * int256(10 ** decimals)) / b;
    }

    function convertScale(
        uint256 a,
        uint8 fromDecimals,
        uint8 toDecimals
    ) internal pure returns (uint256) {
        if (fromDecimals == toDecimals) return a;
        if (fromDecimals > toDecimals) return downscale(a, fromDecimals, toDecimals);
        return upscale(a, fromDecimals, toDecimals);
    }

    function convertScale(
        int256 a,
        uint8 fromDecimals,
        uint8 toDecimals
    ) internal pure returns (int256) {
        if (fromDecimals == toDecimals) return a;
        if (fromDecimals > toDecimals) return downscale(a, fromDecimals, toDecimals);
        return upscale(a, fromDecimals, toDecimals);
    }

    function upscale(
        uint256 a,
        uint8 fromDecimals,
        uint8 toDecimals
    ) internal pure returns (uint256) {
        return a * (10 ** (toDecimals - fromDecimals));
    }

    function downscale(
        uint256 a,
        uint8 fromDecimals,
        uint8 toDecimals
    ) internal pure returns (uint256) {
        return a / (10 ** (fromDecimals - toDecimals));
    }

    function upscale(
        int256 a,
        uint8 fromDecimals,
        uint8 toDecimals
    ) internal pure returns (int256) {
        return a * int256(10 ** (toDecimals - fromDecimals));
    }

    function downscale(
        int256 a,
        uint8 fromDecimals,
        uint8 toDecimals
    ) internal pure returns (int256) {
        return a / int256(10 ** (fromDecimals - toDecimals));
    }

    function intPow(uint256 a, uint256 n) internal pure returns (uint256) {
        uint256 result = ONE;
        for (uint256 i; i < n; ) {
            result = mulDown(result, a);
            unchecked {
                ++i;
            }
        }
        return result;
    }

    function absSub(uint256 a, uint256 b) internal pure returns (uint256) {
        unchecked {
            return a >= b ? a - b : b - a;
        }
    }

    function max(uint256 a, uint256 b) internal pure returns (uint256) {
        return a >= b ? a : b;
    }

    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a <= b ? a : b;
    }
}

File 11 of 12 : IConicDebtToken.sol
// SPDX-License-Identifier: GPL-3.0-or-later
pragma solidity 0.8.17;

import "IERC20.sol";

import "MerkleProof.sol";

interface IConicDebtToken is IERC20 {
    event DebtPoolSet(address indexed debtPool);
    event RefundClaimed(address claimant, uint256 amount);
    event ClaimingStarted();
    event ClaimingTerminated();
    event DebtTokenClaimed(address claimant, uint256 amount);

    function depositRefund(uint256 amount) external;

    function start() external;

    function claimDebtToken(uint256 amount, MerkleProof.Proof calldata proof) external;

    function claimRefund(uint256 amount, MerkleProof.Proof calldata proof) external;

    function claimAll(
        uint256 amountDebtToken,
        MerkleProof.Proof calldata proofDebtTokenClaim,
        uint256 amountRefund,
        MerkleProof.Proof calldata proofRefund
    ) external;

    function setDebtPool(address debtPool) external;

    function burn(address account, uint256 amount) external;

    function terminateClaiming() external;
}

File 12 of 12 : MerkleProof.sol
// SPDX-License-Identifier: GPL-3.0-or-later
pragma solidity 0.8.17;

library MerkleProof {
    struct Proof {
        uint16 nodeIndex;
        bytes32[] hashes;
    }

    function isValid(
        Proof memory proof,
        bytes32 node,
        bytes32 merkleRoot
    ) internal pure returns (bool) {
        uint256 length = proof.hashes.length;
        uint16 nodeIndex = proof.nodeIndex;
        for (uint256 i = 0; i < length; i++) {
            if (nodeIndex % 2 == 0) {
                node = keccak256(abi.encodePacked(node, proof.hashes[i]));
            } else {
                node = keccak256(abi.encodePacked(proof.hashes[i], node));
            }
            nodeIndex /= 2;
        }

        return node == merkleRoot;
    }
}

Settings
{
  "evmVersion": "london",
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "libraries": {
    "ConicDebtToken.sol": {}
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"bytes32","name":"_merkleRootDebtToken","type":"bytes32"},{"internalType":"bytes32","name":"_merkleRootRefund","type":"bytes32"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[],"name":"ClaimingStarted","type":"event"},{"anonymous":false,"inputs":[],"name":"ClaimingTerminated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"debtPool","type":"address"}],"name":"DebtPoolSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"claimant","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"DebtTokenClaimed","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":false,"internalType":"address","name":"claimant","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"RefundClaimed","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":[{"internalType":"uint256","name":"amountDebtToken","type":"uint256"},{"components":[{"internalType":"uint16","name":"nodeIndex","type":"uint16"},{"internalType":"bytes32[]","name":"hashes","type":"bytes32[]"}],"internalType":"struct MerkleProof.Proof","name":"proofDebtTokenClaim","type":"tuple"},{"internalType":"uint256","name":"amountRefund","type":"uint256"},{"components":[{"internalType":"uint16","name":"nodeIndex","type":"uint16"},{"internalType":"bytes32[]","name":"hashes","type":"bytes32[]"}],"internalType":"struct MerkleProof.Proof","name":"proofRefund","type":"tuple"}],"name":"claimAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"components":[{"internalType":"uint16","name":"nodeIndex","type":"uint16"},{"internalType":"bytes32[]","name":"hashes","type":"bytes32[]"}],"internalType":"struct MerkleProof.Proof","name":"proof","type":"tuple"}],"name":"claimDebtToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"components":[{"internalType":"uint16","name":"nodeIndex","type":"uint16"},{"internalType":"bytes32[]","name":"hashes","type":"bytes32[]"}],"internalType":"struct MerkleProof.Proof","name":"proof","type":"tuple"}],"name":"claimRefund","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"debtPool","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"debtTokenClaimedBy","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"depositRefund","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"merkleRootDebtToken","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRootRefund","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"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":[{"internalType":"address","name":"","type":"address"}],"name":"refundClaimedBy","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_debtPool","type":"address"}],"name":"setDebtPool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"start","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startAt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"terminateClaiming","outputs":[],"stateMutability":"nonpayable","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":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60c06040523480156200001157600080fd5b5060405162001ddc38038062001ddc83398101604081905262000034916200011d565b6040518060400160405280601081526020016f21b7b734b1902232b13a102a37b5b2b760811b8152506040518060400160405280600581526020016418db98d11560da1b81525081600390816200008c9190620001e7565b5060046200009b8282620001e7565b505050620000b8620000b2620000c760201b60201c565b620000cb565b60809190915260a052620002b3565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600080604083850312156200013157600080fd5b505080516020909101519092909150565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200016d57607f821691505b6020821081036200018e57634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620001e257600081815260208120601f850160051c81016020861015620001bd5750805b601f850160051c820191505b81811015620001de57828155600101620001c9565b5050505b505050565b81516001600160401b0381111562000203576200020362000142565b6200021b8162000214845462000158565b8462000194565b602080601f8311600181146200025357600084156200023a5750858301515b600019600386901b1c1916600185901b178555620001de565b600085815260208120601f198616915b82811015620002845788860151825594840194600190910190840162000263565b5085821015620002a35787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60805160a051611af5620002e76000396000818161030a0152610ed40152600081816104080152610e0d0152611af56000f3fe608060405234801561001057600080fd5b50600436106101cf5760003560e01c8063715018a611610104578063a457c2d7116100a2578063c744656511610071578063c7446565146103fa578063d653458414610403578063dd62ed3e1461042a578063f2fde38b1461043d57600080fd5b8063a457c2d7146103b9578063a9059cbb146103cc578063be9a6555146103df578063c5b42316146103e757600080fd5b80638e4499e5116100de5780638e4499e51461035857806393cd96521461037b57806395d89b411461039e5780639dc29fac146103a657600080fd5b8063715018a61461032c5780637dab4d61146103345780638da5cb5b1461034757600080fd5b806330289b151161017157806342ae86841161014b57806342ae8684146102bc5780635303f68c146102cf57806370a08231146102dc57806370a5ef9f1461030557600080fd5b806330289b1514610287578063313ce5671461029a57806339509351146102a957600080fd5b806318160ddd116101ad57806318160ddd1461022a5780631a50577f1461023c5780631ffe16671461024457806323b872dd1461027457600080fd5b806306fdde03146101d4578063095ea7b3146101f25780630a1348cd14610215575b600080fd5b6101dc610450565b6040516101e99190611621565b60405180910390f35b610205610200366004611670565b6104e2565b60405190151581526020016101e9565b61022861022336600461169a565b6104fc565b005b6002545b6040519081526020016101e9565b610228610527565b60095461025c9061010090046001600160a01b031681565b6040516001600160a01b0390911681526020016101e9565b6102056102823660046116b3565b610663565b610228610295366004611707565b610687565b604051601281526020016101e9565b6102056102b7366004611670565b6106b7565b6102286102ca36600461174e565b6106d9565b6009546102059060ff1681565b61022e6102ea36600461174e565b6001600160a01b031660009081526020819052604090205490565b61022e7f000000000000000000000000000000000000000000000000000000000000000081565b61022861078a565b610228610342366004611770565b61079e565b6005546001600160a01b031661025c565b61020561036636600461174e565b60066020526000908152604090205460ff1681565b61020561038936600461174e565b60076020526000908152604090205460ff1681565b6101dc6107da565b6102286103b4366004611670565b6107e9565b6102056103c7366004611670565b610843565b6102056103da366004611670565b6108be565b6102286108cc565b6102286103f5366004611707565b610903565b61022e60085481565b61022e7f000000000000000000000000000000000000000000000000000000000000000081565b61022e6104383660046117e7565b61092f565b61022861044b36600461174e565b61095a565b60606003805461045f9061181a565b80601f016020809104026020016040519081016040528092919081815260200182805461048b9061181a565b80156104d85780601f106104ad576101008083540402835291602001916104d8565b820191906000526020600020905b8154815290600101906020018083116104bb57829003601f168201915b5050505050905090565b6000336104f08185856109d0565b60019150505b92915050565b610504610af4565b61052473f939e0a03fb07f59a73314e73794be0e57ac1b4e333084610b4e565b50565b61052f610af4565b62ed4e006008546105409190611864565b421161058c5760405162461bcd60e51b815260206004820152601660248201527510db185a5b5a5b99c81a185cc81b9bdd08195b99195960521b60448201526064015b60405180910390fd5b6040516370a0823160e01b815230600482015260009073f939e0a03fb07f59a73314e73794be0e57ac1b4e906370a0823190602401602060405180830381865afa1580156105de573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106029190611877565b905061063773f939e0a03fb07f59a73314e73794be0e57ac1b4e73b27dc5f8286f063f11491c8f349053cb37718bea83610bb9565b6040517f7ce6a945967046d9c8b700a57ad6c3b65d16064f9b602f8389682dcbfe75842990600090a150565b600033610671858285610bee565b61067c858585610c62565b506001949350505050565b6008546000036106a95760405162461bcd60e51b815260040161058390611890565b6106b38282610e06565b5050565b6000336104f08185856106ca838361092f565b6106d49190611864565b6109d0565b6106e1610af4565b60095461010090046001600160a01b0316156107385760405162461bcd60e51b815260206004820152601660248201527510db185a5b481c1bdbdb08185b1c9958591e481cd95d60521b6044820152606401610583565b60098054610100600160a81b0319166101006001600160a01b038416908102919091179091556040517f897d28fc0f1cadc73effa45a06e2335d5371805b4dec6bd0bf5f91ecac62fd7590600090a250565b610792610af4565b61079c6000610e7b565b565b6008546000036107c05760405162461bcd60e51b815260040161058390611890565b6107ca8484610e06565b6107d48282610ecd565b50505050565b60606004805461045f9061181a565b60095461010090046001600160a01b031633146108395760405162461bcd60e51b815260206004820152600e60248201526d34b73b30b634b210313ab93732b960911b6044820152606401610583565b6106b38282610f4f565b60003381610851828661092f565b9050838110156108b15760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610583565b61067c82868684036109d0565b6000336104f0818585610c62565b6108d4610af4565b426008556040517f26240d96b75a51a1529395e869d3abdb2ef34328a279633ed295753179e89fdb90600090a1565b6008546000036109255760405162461bcd60e51b815260040161058390611890565b6106b38282610ecd565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610962610af4565b6001600160a01b0381166109c75760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610583565b61052481610e7b565b6001600160a01b038316610a325760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610583565b6001600160a01b038216610a935760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610583565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6005546001600160a01b0316331461079c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610583565b6040516001600160a01b03808516602483015283166044820152606481018290526107d49085906323b872dd60e01b906084015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152611081565b6040516001600160a01b038316602482015260448101829052610be990849063a9059cbb60e01b90606401610b82565b505050565b6000610bfa848461092f565b905060001981146107d45781811015610c555760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610583565b6107d484848484036109d0565b6001600160a01b038316610cc65760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610583565b6001600160a01b038216610d285760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610583565b6001600160a01b03831660009081526020819052604090205481811015610da05760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610583565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a36107d4565b610e3382827f00000000000000000000000000000000000000000000000000000000000000006006611156565b610e3d33836112b0565b60408051338152602081018490527f925415f7b2251fe6a324568825a67df70e0e191aed36919f23fce8e94703cbf791015b60405180910390a15050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610efa82827f00000000000000000000000000000000000000000000000000000000000000006007611156565b610f1973f939e0a03fb07f59a73314e73794be0e57ac1b4e3384610bb9565b60408051338152602081018490527f358fe4192934d3bf28ae181feda1f4bd08ca67f5e2fad55582cce5eb67304ae99101610e6f565b6001600160a01b038216610faf5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610583565b6001600160a01b038216600090815260208190526040902054818110156110235760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610583565b6001600160a01b0383166000818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3505050565b60006110d6826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b031661136f9092919063ffffffff16565b90508051600014806110f75750808060200190518101906110f791906118c0565b610be95760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610583565b6040516bffffffffffffffffffffffff193360601b166020820152603481018590526000906054016040516020818303038152906040528051906020012090506111ac8184866111a590611952565b9190611386565b6111e85760405162461bcd60e51b815260206004820152600d60248201526c24b73b30b634b210383937b7b360991b6044820152606401610583565b4262ed4e006008546111fa9190611864565b101561123d5760405162461bcd60e51b815260206004820152601260248201527110db185a5b5a5b99c81a185cc8195b99195960721b6044820152606401610583565b3360009081526020839052604090205460ff161561128f5760405162461bcd60e51b815260206004820152600f60248201526e105b1c9958591e4818db185a5b5959608a1b6044820152606401610583565b5033600090815260209190915260409020805460ff19166001179055505050565b6001600160a01b0382166113065760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610583565b80600260008282546113189190611864565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b606061137e8484600085611484565b949350505050565b602083015151835160009190825b82811015611479576113a7600283611a32565b61ffff166000036114085785876020015182815181106113c9576113c9611a53565b60200260200101516040516020016113eb929190918252602082015260400190565b60405160208183030381529060405280519060200120955061145a565b8660200151818151811061141e5761141e611a53565b602002602001015186604051602001611441929190918252602082015260400190565b6040516020818303038152906040528051906020012095505b611465600283611a69565b91508061147181611a8a565b915050611394565b505050911492915050565b6060824710156114e55760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610583565b600080866001600160a01b031685876040516115019190611aa3565b60006040518083038185875af1925050503d806000811461153e576040519150601f19603f3d011682016040523d82523d6000602084013e611543565b606091505b50915091506115548783838761155f565b979650505050505050565b606083156115ce5782516000036115c7576001600160a01b0385163b6115c75760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610583565b508161137e565b61137e83838151156115e35781518083602001fd5b8060405162461bcd60e51b81526004016105839190611621565b60005b83811015611618578181015183820152602001611600565b50506000910152565b60208152600082518060208401526116408160408501602087016115fd565b601f01601f19169190910160400192915050565b80356001600160a01b038116811461166b57600080fd5b919050565b6000806040838503121561168357600080fd5b61168c83611654565b946020939093013593505050565b6000602082840312156116ac57600080fd5b5035919050565b6000806000606084860312156116c857600080fd5b6116d184611654565b92506116df60208501611654565b9150604084013590509250925092565b60006040828403121561170157600080fd5b50919050565b6000806040838503121561171a57600080fd5b82359150602083013567ffffffffffffffff81111561173857600080fd5b611744858286016116ef565b9150509250929050565b60006020828403121561176057600080fd5b61176982611654565b9392505050565b6000806000806080858703121561178657600080fd5b84359350602085013567ffffffffffffffff808211156117a557600080fd5b6117b1888389016116ef565b94506040870135935060608701359150808211156117ce57600080fd5b506117db878288016116ef565b91505092959194509250565b600080604083850312156117fa57600080fd5b61180383611654565b915061181160208401611654565b90509250929050565b600181811c9082168061182e57607f821691505b60208210810361170157634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b808201808211156104f6576104f661184e565b60006020828403121561188957600080fd5b5051919050565b602080825260169082015275436c61696d696e67206973206e6f742061637469766560501b604082015260600190565b6000602082840312156118d257600080fd5b8151801515811461176957600080fd5b634e487b7160e01b600052604160045260246000fd5b6040805190810167ffffffffffffffff8111828210171561191b5761191b6118e2565b60405290565b604051601f8201601f1916810167ffffffffffffffff8111828210171561194a5761194a6118e2565b604052919050565b60006040823603121561196457600080fd5b61196c6118f8565b823561ffff8116811461197e57600080fd5b815260208381013567ffffffffffffffff8082111561199c57600080fd5b9085019036601f8301126119af57600080fd5b8135818111156119c1576119c16118e2565b8060051b91506119d2848301611921565b81815291830184019184810190368411156119ec57600080fd5b938501935b83851015611a0a578435825293850193908501906119f1565b94860194909452509295945050505050565b634e487b7160e01b600052601260045260246000fd5b600061ffff80841680611a4757611a47611a1c565b92169190910692915050565b634e487b7160e01b600052603260045260246000fd5b600061ffff80841680611a7e57611a7e611a1c565b92169190910492915050565b600060018201611a9c57611a9c61184e565b5060010190565b60008251611ab58184602087016115fd565b919091019291505056fea2646970667358221220a660bc2c9169c7b1b2450efa05e3e3735416d98611c28b4149cfb2497573b9f764736f6c63430008110033e2520b7aa640dc81622dee43fdb344a15a6ab069853ab0a50844e0a9e95e99cd14210f766ecf973c2198e65bc2e29c865dea64727411df17e6b9723fcf08341a

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101cf5760003560e01c8063715018a611610104578063a457c2d7116100a2578063c744656511610071578063c7446565146103fa578063d653458414610403578063dd62ed3e1461042a578063f2fde38b1461043d57600080fd5b8063a457c2d7146103b9578063a9059cbb146103cc578063be9a6555146103df578063c5b42316146103e757600080fd5b80638e4499e5116100de5780638e4499e51461035857806393cd96521461037b57806395d89b411461039e5780639dc29fac146103a657600080fd5b8063715018a61461032c5780637dab4d61146103345780638da5cb5b1461034757600080fd5b806330289b151161017157806342ae86841161014b57806342ae8684146102bc5780635303f68c146102cf57806370a08231146102dc57806370a5ef9f1461030557600080fd5b806330289b1514610287578063313ce5671461029a57806339509351146102a957600080fd5b806318160ddd116101ad57806318160ddd1461022a5780631a50577f1461023c5780631ffe16671461024457806323b872dd1461027457600080fd5b806306fdde03146101d4578063095ea7b3146101f25780630a1348cd14610215575b600080fd5b6101dc610450565b6040516101e99190611621565b60405180910390f35b610205610200366004611670565b6104e2565b60405190151581526020016101e9565b61022861022336600461169a565b6104fc565b005b6002545b6040519081526020016101e9565b610228610527565b60095461025c9061010090046001600160a01b031681565b6040516001600160a01b0390911681526020016101e9565b6102056102823660046116b3565b610663565b610228610295366004611707565b610687565b604051601281526020016101e9565b6102056102b7366004611670565b6106b7565b6102286102ca36600461174e565b6106d9565b6009546102059060ff1681565b61022e6102ea36600461174e565b6001600160a01b031660009081526020819052604090205490565b61022e7f14210f766ecf973c2198e65bc2e29c865dea64727411df17e6b9723fcf08341a81565b61022861078a565b610228610342366004611770565b61079e565b6005546001600160a01b031661025c565b61020561036636600461174e565b60066020526000908152604090205460ff1681565b61020561038936600461174e565b60076020526000908152604090205460ff1681565b6101dc6107da565b6102286103b4366004611670565b6107e9565b6102056103c7366004611670565b610843565b6102056103da366004611670565b6108be565b6102286108cc565b6102286103f5366004611707565b610903565b61022e60085481565b61022e7fe2520b7aa640dc81622dee43fdb344a15a6ab069853ab0a50844e0a9e95e99cd81565b61022e6104383660046117e7565b61092f565b61022861044b36600461174e565b61095a565b60606003805461045f9061181a565b80601f016020809104026020016040519081016040528092919081815260200182805461048b9061181a565b80156104d85780601f106104ad576101008083540402835291602001916104d8565b820191906000526020600020905b8154815290600101906020018083116104bb57829003601f168201915b5050505050905090565b6000336104f08185856109d0565b60019150505b92915050565b610504610af4565b61052473f939e0a03fb07f59a73314e73794be0e57ac1b4e333084610b4e565b50565b61052f610af4565b62ed4e006008546105409190611864565b421161058c5760405162461bcd60e51b815260206004820152601660248201527510db185a5b5a5b99c81a185cc81b9bdd08195b99195960521b60448201526064015b60405180910390fd5b6040516370a0823160e01b815230600482015260009073f939e0a03fb07f59a73314e73794be0e57ac1b4e906370a0823190602401602060405180830381865afa1580156105de573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106029190611877565b905061063773f939e0a03fb07f59a73314e73794be0e57ac1b4e73b27dc5f8286f063f11491c8f349053cb37718bea83610bb9565b6040517f7ce6a945967046d9c8b700a57ad6c3b65d16064f9b602f8389682dcbfe75842990600090a150565b600033610671858285610bee565b61067c858585610c62565b506001949350505050565b6008546000036106a95760405162461bcd60e51b815260040161058390611890565b6106b38282610e06565b5050565b6000336104f08185856106ca838361092f565b6106d49190611864565b6109d0565b6106e1610af4565b60095461010090046001600160a01b0316156107385760405162461bcd60e51b815260206004820152601660248201527510db185a5b481c1bdbdb08185b1c9958591e481cd95d60521b6044820152606401610583565b60098054610100600160a81b0319166101006001600160a01b038416908102919091179091556040517f897d28fc0f1cadc73effa45a06e2335d5371805b4dec6bd0bf5f91ecac62fd7590600090a250565b610792610af4565b61079c6000610e7b565b565b6008546000036107c05760405162461bcd60e51b815260040161058390611890565b6107ca8484610e06565b6107d48282610ecd565b50505050565b60606004805461045f9061181a565b60095461010090046001600160a01b031633146108395760405162461bcd60e51b815260206004820152600e60248201526d34b73b30b634b210313ab93732b960911b6044820152606401610583565b6106b38282610f4f565b60003381610851828661092f565b9050838110156108b15760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610583565b61067c82868684036109d0565b6000336104f0818585610c62565b6108d4610af4565b426008556040517f26240d96b75a51a1529395e869d3abdb2ef34328a279633ed295753179e89fdb90600090a1565b6008546000036109255760405162461bcd60e51b815260040161058390611890565b6106b38282610ecd565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610962610af4565b6001600160a01b0381166109c75760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610583565b61052481610e7b565b6001600160a01b038316610a325760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610583565b6001600160a01b038216610a935760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610583565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6005546001600160a01b0316331461079c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610583565b6040516001600160a01b03808516602483015283166044820152606481018290526107d49085906323b872dd60e01b906084015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152611081565b6040516001600160a01b038316602482015260448101829052610be990849063a9059cbb60e01b90606401610b82565b505050565b6000610bfa848461092f565b905060001981146107d45781811015610c555760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610583565b6107d484848484036109d0565b6001600160a01b038316610cc65760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610583565b6001600160a01b038216610d285760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610583565b6001600160a01b03831660009081526020819052604090205481811015610da05760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610583565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a36107d4565b610e3382827fe2520b7aa640dc81622dee43fdb344a15a6ab069853ab0a50844e0a9e95e99cd6006611156565b610e3d33836112b0565b60408051338152602081018490527f925415f7b2251fe6a324568825a67df70e0e191aed36919f23fce8e94703cbf791015b60405180910390a15050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610efa82827f14210f766ecf973c2198e65bc2e29c865dea64727411df17e6b9723fcf08341a6007611156565b610f1973f939e0a03fb07f59a73314e73794be0e57ac1b4e3384610bb9565b60408051338152602081018490527f358fe4192934d3bf28ae181feda1f4bd08ca67f5e2fad55582cce5eb67304ae99101610e6f565b6001600160a01b038216610faf5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610583565b6001600160a01b038216600090815260208190526040902054818110156110235760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610583565b6001600160a01b0383166000818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3505050565b60006110d6826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b031661136f9092919063ffffffff16565b90508051600014806110f75750808060200190518101906110f791906118c0565b610be95760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610583565b6040516bffffffffffffffffffffffff193360601b166020820152603481018590526000906054016040516020818303038152906040528051906020012090506111ac8184866111a590611952565b9190611386565b6111e85760405162461bcd60e51b815260206004820152600d60248201526c24b73b30b634b210383937b7b360991b6044820152606401610583565b4262ed4e006008546111fa9190611864565b101561123d5760405162461bcd60e51b815260206004820152601260248201527110db185a5b5a5b99c81a185cc8195b99195960721b6044820152606401610583565b3360009081526020839052604090205460ff161561128f5760405162461bcd60e51b815260206004820152600f60248201526e105b1c9958591e4818db185a5b5959608a1b6044820152606401610583565b5033600090815260209190915260409020805460ff19166001179055505050565b6001600160a01b0382166113065760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610583565b80600260008282546113189190611864565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b606061137e8484600085611484565b949350505050565b602083015151835160009190825b82811015611479576113a7600283611a32565b61ffff166000036114085785876020015182815181106113c9576113c9611a53565b60200260200101516040516020016113eb929190918252602082015260400190565b60405160208183030381529060405280519060200120955061145a565b8660200151818151811061141e5761141e611a53565b602002602001015186604051602001611441929190918252602082015260400190565b6040516020818303038152906040528051906020012095505b611465600283611a69565b91508061147181611a8a565b915050611394565b505050911492915050565b6060824710156114e55760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610583565b600080866001600160a01b031685876040516115019190611aa3565b60006040518083038185875af1925050503d806000811461153e576040519150601f19603f3d011682016040523d82523d6000602084013e611543565b606091505b50915091506115548783838761155f565b979650505050505050565b606083156115ce5782516000036115c7576001600160a01b0385163b6115c75760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610583565b508161137e565b61137e83838151156115e35781518083602001fd5b8060405162461bcd60e51b81526004016105839190611621565b60005b83811015611618578181015183820152602001611600565b50506000910152565b60208152600082518060208401526116408160408501602087016115fd565b601f01601f19169190910160400192915050565b80356001600160a01b038116811461166b57600080fd5b919050565b6000806040838503121561168357600080fd5b61168c83611654565b946020939093013593505050565b6000602082840312156116ac57600080fd5b5035919050565b6000806000606084860312156116c857600080fd5b6116d184611654565b92506116df60208501611654565b9150604084013590509250925092565b60006040828403121561170157600080fd5b50919050565b6000806040838503121561171a57600080fd5b82359150602083013567ffffffffffffffff81111561173857600080fd5b611744858286016116ef565b9150509250929050565b60006020828403121561176057600080fd5b61176982611654565b9392505050565b6000806000806080858703121561178657600080fd5b84359350602085013567ffffffffffffffff808211156117a557600080fd5b6117b1888389016116ef565b94506040870135935060608701359150808211156117ce57600080fd5b506117db878288016116ef565b91505092959194509250565b600080604083850312156117fa57600080fd5b61180383611654565b915061181160208401611654565b90509250929050565b600181811c9082168061182e57607f821691505b60208210810361170157634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b808201808211156104f6576104f661184e565b60006020828403121561188957600080fd5b5051919050565b602080825260169082015275436c61696d696e67206973206e6f742061637469766560501b604082015260600190565b6000602082840312156118d257600080fd5b8151801515811461176957600080fd5b634e487b7160e01b600052604160045260246000fd5b6040805190810167ffffffffffffffff8111828210171561191b5761191b6118e2565b60405290565b604051601f8201601f1916810167ffffffffffffffff8111828210171561194a5761194a6118e2565b604052919050565b60006040823603121561196457600080fd5b61196c6118f8565b823561ffff8116811461197e57600080fd5b815260208381013567ffffffffffffffff8082111561199c57600080fd5b9085019036601f8301126119af57600080fd5b8135818111156119c1576119c16118e2565b8060051b91506119d2848301611921565b81815291830184019184810190368411156119ec57600080fd5b938501935b83851015611a0a578435825293850193908501906119f1565b94860194909452509295945050505050565b634e487b7160e01b600052601260045260246000fd5b600061ffff80841680611a4757611a47611a1c565b92169190910692915050565b634e487b7160e01b600052603260045260246000fd5b600061ffff80841680611a7e57611a7e611a1c565b92169190910492915050565b600060018201611a9c57611a9c61184e565b5060010190565b60008251611ab58184602087016115fd565b919091019291505056fea2646970667358221220a660bc2c9169c7b1b2450efa05e3e3735416d98611c28b4149cfb2497573b9f764736f6c63430008110033

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

e2520b7aa640dc81622dee43fdb344a15a6ab069853ab0a50844e0a9e95e99cd14210f766ecf973c2198e65bc2e29c865dea64727411df17e6b9723fcf08341a

-----Decoded View---------------
Arg [0] : _merkleRootDebtToken (bytes32): 0xe2520b7aa640dc81622dee43fdb344a15a6ab069853ab0a50844e0a9e95e99cd
Arg [1] : _merkleRootRefund (bytes32): 0x14210f766ecf973c2198e65bc2e29c865dea64727411df17e6b9723fcf08341a

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : e2520b7aa640dc81622dee43fdb344a15a6ab069853ab0a50844e0a9e95e99cd
Arg [1] : 14210f766ecf973c2198e65bc2e29c865dea64727411df17e6b9723fcf08341a


Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.