ETH Price: $2,137.21 (+4.04%)
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Transfer Ownersh...143193592022-03-04 8:27:251488 days ago1646382445IN
0x4b4Cf7C7...9Ce81baf0
0 ETH0.0006358122.26616975
Remove From Blac...143001352022-03-01 8:54:551491 days ago1646124895IN
0x4b4Cf7C7...9Ce81baf0
0 ETH0.0011886741.50974684
Remove From Blac...142259282022-02-17 21:00:011503 days ago1645131601IN
0x4b4Cf7C7...9Ce81baf0
0 ETH0.0021360784.93668276
Remove From Blac...142259202022-02-17 20:57:391503 days ago1645131459IN
0x4b4Cf7C7...9Ce81baf0
0 ETH0.0018336872.91303705
Remove From Blac...142128262022-02-15 20:12:501505 days ago1644955970IN
0x4b4Cf7C7...9Ce81baf0
0 ETH0.0010561941.99753953
Remove From Blac...141843962022-02-11 11:10:331509 days ago1644577833IN
0x4b4Cf7C7...9Ce81baf0
0 ETH0.0010490641.71395546
Add Exemption141612692022-02-07 21:04:291513 days ago1644267869IN
0x4b4Cf7C7...9Ce81baf0
0 ETH0.0084838112.95923427
Remove From Blac...141448812022-02-05 8:19:191515 days ago1644049159IN
0x4b4Cf7C7...9Ce81baf0
0 ETH0.0015211460.48529028
Add Exemption141265882022-02-02 12:17:361518 days ago1643804256IN
0x4b4Cf7C7...9Ce81baf0
0 ETH0.0057976577.16930854
Remove From Blac...141064052022-01-30 9:43:041521 days ago1643535784IN
0x4b4Cf7C7...9Ce81baf0
0 ETH0.0019385367.71930144
Add Exemption141017302022-01-29 16:29:141522 days ago1643473754IN
0x4b4Cf7C7...9Ce81baf0
0 ETH0.0070950194.46798037
Add Exemption141017302022-01-29 16:29:141522 days ago1643473754IN
0x4b4Cf7C7...9Ce81baf0
0 ETH0.007133794.96798037
Add Exemption141015952022-01-29 16:01:451522 days ago1643472105IN
0x4b4Cf7C7...9Ce81baf0
0 ETH0.00940009125.0994197
Add To Blacklist141015472022-01-29 15:52:201522 days ago1643471540IN
0x4b4Cf7C7...9Ce81baf0
0 ETH0.03967543112.41921663
Add To Blacklist141015472022-01-29 15:52:201522 days ago1643471540IN
0x4b4Cf7C7...9Ce81baf0
0 ETH0.28128681112.41921663
Add Exemption141015372022-01-29 15:50:301522 days ago1643471430IN
0x4b4Cf7C7...9Ce81baf0
0 ETH0.01403241152.12770467
Set Primary Pool141014442022-01-29 15:28:421522 days ago1643470122IN
0x4b4Cf7C7...9Ce81baf0
0 ETH0.004896398.16172847
Add Exchange Poo...141014422022-01-29 15:28:121522 days ago1643470092IN
0x4b4Cf7C7...9Ce81baf0
0 ETH0.0085555993.19518126

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
SpecialTaxHandler

Compiler Version
v0.8.11+commit.d7f03943

Optimization Enabled:
Yes with 888 runs

Other Settings:
default evmVersion
// SPDX-License-Identifier: MIT
pragma solidity 0.8.11;

import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/utils/structs/EnumerableSet.sol";

import "./ITaxHandler.sol";
import "../utils/ExchangePoolProcessor.sol";

/**
 * @title Special tax handler contract
 * @dev This contract allows protocols to collect tax on transactions that count as either sells or liquidity additions
 * to exchange pools. Addresses can be exempted from tax collection, and addresses designated as exchange pools can be
 * added and removed by the owner of this contract. The owner of the contract should be set to a DAO-controlled timelock
 * or at the very least a multisig wallet. Additionally, this contract can exclude specific address from transferring
 * tokens to an address other than a specified address or the burn address.
 */
contract SpecialTaxHandler is ITaxHandler, ExchangePoolProcessor {
    using EnumerableSet for EnumerableSet.AddressSet;

    /// @dev The set of addresses exempt from tax.
    EnumerableSet.AddressSet private _exempted;

    /// @notice The address blacklisted wallets are allowed to transfer to.
    address public immutable receiver;

    /// @notice The token to account for.
    IERC20 public token;

    /// @notice Emitted when an address is added to or removed from the exempted addresses set.
    event TaxExemptionUpdated(address indexed wallet, bool exempted);

    /// @dev The registry of blacklisted addresses.
    mapping (address => bool) private _banned;

    constructor(address tokenAddress, address receiverAddress) {
        token = IERC20(tokenAddress);
        receiver = receiverAddress;
    }

    /**
     * @notice Get number of tokens to pay as tax. This method specifically only check for sell-type transfers to
     * designated exchange pool addresses.
     * @dev There is no easy way to differentiate between a user selling tokens and a user adding liquidity to the pool.
     * In both cases tokens are transferred to the pool. This is an unfortunate case where users have to accept being
     * taxed on liquidity additions. To get around this issue, a separate liquidity addition contract can be deployed.
     * This contract can be exempt from taxes if its functionality is verified to only add liquidity.
     * @param benefactor Address of the benefactor.
     * @param beneficiary Address of the beneficiary.
     * @param amount Number of tokens in the transfer.
     * @return Number of tokens to pay as tax.
     */
    function getTax(
        address benefactor,
        address beneficiary,
        uint256 amount
    ) external view override returns (uint256) {
        if (_banned[benefactor]) {
            // Only accept transfers to dead address or multisig.
            if (beneficiary != 0x000000000000000000000000000000000000dEaD && beneficiary != receiver) {
                revert();
            }
        }

        if (_exempted.contains(benefactor) || _exempted.contains(beneficiary)) {
            return 0;
        }

        // Transactions between regular users (this includes contracts) aren't taxed.
        if (!_exchangePools.contains(benefactor) && !_exchangePools.contains(beneficiary)) {
            return 0;
        }

        // Tax is 3% on buys.
        if (_exchangePools.contains(benefactor)) {
            return (amount * 300) / 10000;
        }

        // Technically not the actual price impact, as that would follow the x * y = k curve.
        uint256 priceImpactBasisPoint = token.balanceOf(primaryPool) / 10000;

        if (amount <= priceImpactBasisPoint * 300) {
            return (amount * 300) / 10000;
        } else if (amount <= priceImpactBasisPoint * 1000) {
            return (amount * 900) / 10000;
        } else if (amount <= priceImpactBasisPoint * 2000) {
            return (amount * 2700) / 10000;
        } else {
            return (amount * 8100) / 10000;
        }
    }

    /**
     * @notice Add address to set of tax-exempted addresses.
     * @param exemption Address to add to set of tax-exempted addresses.
     */
    function addExemption(address exemption) external onlyOwner {
        if (_exempted.add(exemption)) {
            emit TaxExemptionUpdated(exemption, true);
        }
    }

    /**
     * @notice Remove address from set of tax-exempted addresses.
     * @param exemption Address to remove from set of tax-exempted addresses.
     */
    function removeExemption(address exemption) external onlyOwner {
        if (_exempted.remove(exemption)) {
            emit TaxExemptionUpdated(exemption, false);
        }
    }

    /**
     * @notice Get blacklist status of a given wallet.
     * @param wallet Address to check blacklist status of.
     * @return True if address is blacklisted, else False.
     */
    function isBlacklisted(address wallet) external view returns (bool) {
        return _banned[wallet];
    }

    /**
     * @notice Add list of wallet addresses to the blacklist.
     * @param wallets List of wallet addresses to add to the blacklist.
     * @dev The list is allowed to contain duplicates.
     */
    function addToBlacklist(address[] memory wallets) external onlyOwner {
        for (uint256 i = 0; i < wallets.length; i++) {
            _banned[wallets[i]] = true;
        }
    }

    /**
     * @notice Remove list of wallet addresses from the blacklist.
     * @param wallets List of wallet addresses to add to the blacklist.
     * @dev The list is allowed to contain duplicates.
     */
    function removeFromBlacklist(address[] memory wallets) external onlyOwner {
        for (uint256 i = 0; i < wallets.length; i++) {
            _banned[wallets[i]] = false;
        }
    }
}

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

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

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

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

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

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

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

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Library for managing
 * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive
 * types.
 *
 * Sets have the following properties:
 *
 * - Elements are added, removed, and checked for existence in constant time
 * (O(1)).
 * - Elements are enumerated in O(n). No guarantees are made on the ordering.
 *
 * ```
 * contract Example {
 *     // Add the library methods
 *     using EnumerableSet for EnumerableSet.AddressSet;
 *
 *     // Declare a set state variable
 *     EnumerableSet.AddressSet private mySet;
 * }
 * ```
 *
 * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)
 * and `uint256` (`UintSet`) are supported.
 */
library EnumerableSet {
    // To implement this library for multiple types with as little code
    // repetition as possible, we write it in terms of a generic Set type with
    // bytes32 values.
    // The Set implementation uses private functions, and user-facing
    // implementations (such as AddressSet) are just wrappers around the
    // underlying Set.
    // This means that we can only create new EnumerableSets for types that fit
    // in bytes32.

    struct Set {
        // Storage of set values
        bytes32[] _values;
        // Position of the value in the `values` array, plus 1 because index 0
        // means a value is not in the set.
        mapping(bytes32 => uint256) _indexes;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function _add(Set storage set, bytes32 value) private returns (bool) {
        if (!_contains(set, value)) {
            set._values.push(value);
            // The value is stored at length-1, but we add 1 to all indexes
            // and use 0 as a sentinel value
            set._indexes[value] = set._values.length;
            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function _remove(Set storage set, bytes32 value) private returns (bool) {
        // We read and store the value's index to prevent multiple reads from the same storage slot
        uint256 valueIndex = set._indexes[value];

        if (valueIndex != 0) {
            // Equivalent to contains(set, value)
            // To delete an element from the _values array in O(1), we swap the element to delete with the last one in
            // the array, and then remove the last element (sometimes called as 'swap and pop').
            // This modifies the order of the array, as noted in {at}.

            uint256 toDeleteIndex = valueIndex - 1;
            uint256 lastIndex = set._values.length - 1;

            if (lastIndex != toDeleteIndex) {
                bytes32 lastvalue = set._values[lastIndex];

                // Move the last value to the index where the value to delete is
                set._values[toDeleteIndex] = lastvalue;
                // Update the index for the moved value
                set._indexes[lastvalue] = valueIndex; // Replace lastvalue's index to valueIndex
            }

            // Delete the slot where the moved value was stored
            set._values.pop();

            // Delete the index for the deleted slot
            delete set._indexes[value];

            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function _contains(Set storage set, bytes32 value) private view returns (bool) {
        return set._indexes[value] != 0;
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function _length(Set storage set) private view returns (uint256) {
        return set._values.length;
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function _at(Set storage set, uint256 index) private view returns (bytes32) {
        return set._values[index];
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function _values(Set storage set) private view returns (bytes32[] memory) {
        return set._values;
    }

    // Bytes32Set

    struct Bytes32Set {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _add(set._inner, value);
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _remove(set._inner, value);
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) {
        return _contains(set._inner, value);
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(Bytes32Set storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) {
        return _at(set._inner, index);
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(Bytes32Set storage set) internal view returns (bytes32[] memory) {
        return _values(set._inner);
    }

    // AddressSet

    struct AddressSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(AddressSet storage set, address value) internal returns (bool) {
        return _add(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(AddressSet storage set, address value) internal returns (bool) {
        return _remove(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(AddressSet storage set, address value) internal view returns (bool) {
        return _contains(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(AddressSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(AddressSet storage set, uint256 index) internal view returns (address) {
        return address(uint160(uint256(_at(set._inner, index))));
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(AddressSet storage set) internal view returns (address[] memory) {
        bytes32[] memory store = _values(set._inner);
        address[] memory result;

        assembly {
            result := store
        }

        return result;
    }

    // UintSet

    struct UintSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(UintSet storage set, uint256 value) internal returns (bool) {
        return _add(set._inner, bytes32(value));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(UintSet storage set, uint256 value) internal returns (bool) {
        return _remove(set._inner, bytes32(value));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(UintSet storage set, uint256 value) internal view returns (bool) {
        return _contains(set._inner, bytes32(value));
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function length(UintSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(UintSet storage set, uint256 index) internal view returns (uint256) {
        return uint256(_at(set._inner, index));
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(UintSet storage set) internal view returns (uint256[] memory) {
        bytes32[] memory store = _values(set._inner);
        uint256[] memory result;

        assembly {
            result := store
        }

        return result;
    }
}

File 4 of 7 : ITaxHandler.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.11;

/**
 * @title Tax handler interface
 * @dev Any class that implements this interface can be used for protocol-specific tax calculations.
 */
interface ITaxHandler {
    /**
     * @notice Get number of tokens to pay as tax.
     * @param benefactor Address of the benefactor.
     * @param beneficiary Address of the beneficiary.
     * @param amount Number of tokens in the transfer.
     * @return Number of tokens to pay as tax.
     */
    function getTax(
        address benefactor,
        address beneficiary,
        uint256 amount
    ) external view returns (uint256);
}

// SPDX-License-Identifier: MIT
pragma solidity 0.8.11;

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/structs/EnumerableSet.sol";

/**
 * @title Exchange pool processor abstract contract.
 * @dev Keeps an enumerable set of designated exchange addresses as well as a single primary pool address.
 */
abstract contract ExchangePoolProcessor is Ownable {
    using EnumerableSet for EnumerableSet.AddressSet;

    /// @dev Set of exchange pool addresses.
    EnumerableSet.AddressSet internal _exchangePools;

    /// @notice Primary exchange pool address.
    address public primaryPool;

    /// @notice Emitted when an exchange pool address is added to the set of tracked pool addresses.
    event ExchangePoolAdded(address exchangePool);

    /// @notice Emitted when an exchange pool address is removed from the set of tracked pool addresses.
    event ExchangePoolRemoved(address exchangePool);

    /// @notice Emitted when the primary pool address is updated.
    event PrimaryPoolUpdated(address oldPrimaryPool, address newPrimaryPool);

    /**
     * @notice Get list of addresses designated as exchange pools.
     * @return An array of exchange pool addresses.
     */
    function getExchangePoolAddresses() external view returns (address[] memory) {
        return _exchangePools.values();
    }

    /**
     * @notice Add an address to the set of exchange pool addresses.
     * @dev Nothing happens if the pool already exists in the set.
     * @param exchangePool Address of exchange pool to add.
     */
    function addExchangePool(address exchangePool) external onlyOwner {
        if (_exchangePools.add(exchangePool)) {
            emit ExchangePoolAdded(exchangePool);
        }
    }

    /**
     * @notice Remove an address from the set of exchange pool addresses.
     * @dev Nothing happens if the pool doesn't exist in the set..
     * @param exchangePool Address of exchange pool to remove.
     */
    function removeExchangePool(address exchangePool) external onlyOwner {
        if (_exchangePools.remove(exchangePool)) {
            emit ExchangePoolRemoved(exchangePool);
        }
    }

    /**
     * @notice Set exchange pool address as primary pool.
     * @dev To prevent issues, only addresses inside the set of exchange pool addresses can be selected as primary pool.
     * @param exchangePool Address of exchange pool to set as primary pool.
     */
    function setPrimaryPool(address exchangePool) external onlyOwner {
        require(
            _exchangePools.contains(exchangePool),
            "ExchangePoolProcessor:setPrimaryPool:INVALID_POOL: Given address is not registered as exchange pool."
        );
        require(
            primaryPool != exchangePool,
            "ExchangePoolProcessor:setPrimaryPool:ALREADY_SET: This address is already the primary pool address."
        );

        address oldPrimaryPool = primaryPool;
        primaryPool = exchangePool;

        emit PrimaryPoolUpdated(oldPrimaryPool, exchangePool);
    }
}

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../utils/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() {
        _setOwner(_msgSender());
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _setOwner(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _setOwner(newOwner);
    }

    function _setOwner(address newOwner) private {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

// SPDX-License-Identifier: MIT

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;
    }
}

Settings
{
  "metadata": {
    "bytecodeHash": "none"
  },
  "optimizer": {
    "enabled": true,
    "runs": 888
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"address","name":"receiverAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"exchangePool","type":"address"}],"name":"ExchangePoolAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"exchangePool","type":"address"}],"name":"ExchangePoolRemoved","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":"oldPrimaryPool","type":"address"},{"indexed":false,"internalType":"address","name":"newPrimaryPool","type":"address"}],"name":"PrimaryPoolUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"wallet","type":"address"},{"indexed":false,"internalType":"bool","name":"exempted","type":"bool"}],"name":"TaxExemptionUpdated","type":"event"},{"inputs":[{"internalType":"address","name":"exchangePool","type":"address"}],"name":"addExchangePool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"exemption","type":"address"}],"name":"addExemption","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"wallets","type":"address[]"}],"name":"addToBlacklist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getExchangePoolAddresses","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"benefactor","type":"address"},{"internalType":"address","name":"beneficiary","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"getTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"wallet","type":"address"}],"name":"isBlacklisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"primaryPool","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"receiver","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"exchangePool","type":"address"}],"name":"removeExchangePool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"exemption","type":"address"}],"name":"removeExemption","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"wallets","type":"address[]"}],"name":"removeFromBlacklist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"exchangePool","type":"address"}],"name":"setPrimaryPool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"token","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60a060405234801561001057600080fd5b5060405161128f38038061128f83398101604081905261002f916100c9565b6100383361005d565b600680546001600160a01b0319166001600160a01b03938416179055166080526100fc565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80516001600160a01b03811681146100c457600080fd5b919050565b600080604083850312156100dc57600080fd5b6100e5836100ad565b91506100f3602084016100ad565b90509250929050565b60805161117161011e6000396000818161022301526109d401526111716000f3fe608060405234801561001057600080fd5b50600436106101005760003560e01c80639be3d69c11610097578063f2fde38b11610066578063f2fde38b1461020b578063f7260d3e1461021e578063fc0c546a14610245578063fe575a871461025857600080fd5b80639be3d69c146101b1578063b6044b68146101c4578063c2510346146101d7578063d7ad21ac146101ea57600080fd5b8063715018a6116100d3578063715018a61461015e57806389daf799146101665780638da5cb5b14610179578063935eb35f1461019e57600080fd5b80630c6df5e4146101055780630ed9cc4c146101235780633f91d69d14610138578063705931fa1461014b575b600080fd5b61010d610294565b60405161011a9190610efb565b60405180910390f35b610136610131366004610f64565b6102a5565b005b610136610146366004610f64565b610358565b610136610159366004610f64565b6105ba565b610136610660565b610136610174366004610f95565b6106c6565b6000546001600160a01b03165b6040516001600160a01b03909116815260200161011a565b6101366101ac366004610f95565b61078c565b600354610186906001600160a01b031681565b6101366101d2366004610f64565b61084e565b6101366101e5366004610f64565b6108f8565b6101fd6101f836600461105a565b61099b565b60405190815260200161011a565b610136610219366004610f64565b610bbf565b6101867f000000000000000000000000000000000000000000000000000000000000000081565b600654610186906001600160a01b031681565b610284610266366004610f64565b6001600160a01b031660009081526007602052604090205460ff1690565b604051901515815260200161011a565b60606102a06001610c9e565b905090565b6000546001600160a01b031633146103045760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b61030f600482610cab565b1561035557604051600081526001600160a01b038216907f36ee46fa09c2419f7bcf8135c2bdd56bc882be141cb075961717003bed74367d906020015b60405180910390a25b50565b6000546001600160a01b031633146103b25760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016102fb565b6103bd600182610cc9565b61047c5760405162461bcd60e51b8152602060048201526064602482018190527f45786368616e6765506f6f6c50726f636573736f723a7365745072696d61727960448301527f506f6f6c3a494e56414c49445f504f4f4c3a20476976656e2061646472657373908201527f206973206e6f7420726567697374657265642061732065786368616e6765207060848201527f6f6f6c2e0000000000000000000000000000000000000000000000000000000060a482015260c4016102fb565b6003546001600160a01b038281169116141561054c5760405162461bcd60e51b815260206004820152606360248201527f45786368616e6765506f6f6c50726f636573736f723a7365745072696d61727960448201527f506f6f6c3a414c52454144595f5345543a20546869732061646472657373206960648201527f7320616c726561647920746865207072696d61727920706f6f6c20616464726560848201527f73732e000000000000000000000000000000000000000000000000000000000060a482015260c4016102fb565b600380546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff1983168117909355604080519190921680825260208201939093527ff9df320023cbf5726cbd5bdd99ae23c9382d03b65180d0611d0d72edab96cf89910160405180910390a15050565b6000546001600160a01b031633146106145760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016102fb565b61061f600482610ceb565b1561035557604051600181526001600160a01b038216907f36ee46fa09c2419f7bcf8135c2bdd56bc882be141cb075961717003bed74367d9060200161034c565b6000546001600160a01b031633146106ba5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016102fb565b6106c46000610d00565b565b6000546001600160a01b031633146107205760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016102fb565b60005b81518110156107885760006007600084848151811061074457610744611096565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff191691151591909117905580610780816110c2565b915050610723565b5050565b6000546001600160a01b031633146107e65760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016102fb565b60005b81518110156107885760016007600084848151811061080a5761080a611096565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff191691151591909117905580610846816110c2565b9150506107e9565b6000546001600160a01b031633146108a85760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016102fb565b6108b3600182610ceb565b15610355576040516001600160a01b03821681527f1caec4f1ef0e654f520edf2d95d3d035ea6382500dbdd179d37017442e535284906020015b60405180910390a150565b6000546001600160a01b031633146109525760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016102fb565b61095d600182610cab565b15610355576040516001600160a01b03821681527f3186e21fde26faa448666270e7a0d53c887d8f040950e4330a2b622e34ed6f44906020016108ed565b6001600160a01b03831660009081526007602052604081205460ff1615610a135761dead6001600160a01b03841614801590610a0957507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316836001600160a01b031614155b15610a1357600080fd5b610a1e600485610cc9565b80610a2f5750610a2f600484610cc9565b15610a3c57506000610bb8565b610a47600185610cc9565b158015610a5c5750610a5a600184610cc9565b155b15610a6957506000610bb8565b610a74600185610cc9565b15610a9957612710610a888361012c6110dd565b610a9291906110fc565b9050610bb8565b6006546003546040517f70a082310000000000000000000000000000000000000000000000000000000081526001600160a01b0391821660048201526000926127109216906370a0823190602401602060405180830381865afa158015610b04573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b28919061111e565b610b3291906110fc565b9050610b408161012c6110dd565b8311610b6757612710610b558461012c6110dd565b610b5f91906110fc565b915050610bb8565b610b73816103e86110dd565b8311610b8857612710610b55846103846110dd565b610b94816107d06110dd565b8311610ba957612710610b5584610a8c6110dd565b612710610b5584611fa46110dd565b9392505050565b6000546001600160a01b03163314610c195760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016102fb565b6001600160a01b038116610c955760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016102fb565b61035581610d00565b60606000610bb883610d5d565b6000610cc0836001600160a01b038416610db9565b90505b92915050565b6001600160a01b03811660009081526001830160205260408120541515610cc0565b6000610cc0836001600160a01b038416610eac565b600080546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b606081600001805480602002602001604051908101604052809291908181526020018280548015610dad57602002820191906000526020600020905b815481526020019060010190808311610d99575b50505050509050919050565b60008181526001830160205260408120548015610ea2576000610ddd600183611137565b8554909150600090610df190600190611137565b9050818114610e56576000866000018281548110610e1157610e11611096565b9060005260206000200154905080876000018481548110610e3457610e34611096565b6000918252602080832090910192909255918252600188019052604090208390555b8554869080610e6757610e6761114e565b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050610cc3565b6000915050610cc3565b6000818152600183016020526040812054610ef357508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610cc3565b506000610cc3565b6020808252825182820181905260009190848201906040850190845b81811015610f3c5783516001600160a01b031683529284019291840191600101610f17565b50909695505050505050565b80356001600160a01b0381168114610f5f57600080fd5b919050565b600060208284031215610f7657600080fd5b610cc082610f48565b634e487b7160e01b600052604160045260246000fd5b60006020808385031215610fa857600080fd5b823567ffffffffffffffff80821115610fc057600080fd5b818501915085601f830112610fd457600080fd5b813581811115610fe657610fe6610f7f565b8060051b604051601f19603f8301168101818110858211171561100b5761100b610f7f565b60405291825284820192508381018501918883111561102957600080fd5b938501935b8285101561104e5761103f85610f48565b8452938501939285019261102e565b98975050505050505050565b60008060006060848603121561106f57600080fd5b61107884610f48565b925061108660208501610f48565b9150604084013590509250925092565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60006000198214156110d6576110d66110ac565b5060010190565b60008160001904831182151516156110f7576110f76110ac565b500290565b60008261111957634e487b7160e01b600052601260045260246000fd5b500490565b60006020828403121561113057600080fd5b5051919050565b600082821015611149576111496110ac565b500390565b634e487b7160e01b600052603160045260246000fdfea164736f6c634300080b000a000000000000000000000000cf0c122c6b73ff809c693db761e7baebe62b6a2e0000000000000000000000002b9d5c7f2ead1a221d771fb6bb5e35df04d60ab0

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101005760003560e01c80639be3d69c11610097578063f2fde38b11610066578063f2fde38b1461020b578063f7260d3e1461021e578063fc0c546a14610245578063fe575a871461025857600080fd5b80639be3d69c146101b1578063b6044b68146101c4578063c2510346146101d7578063d7ad21ac146101ea57600080fd5b8063715018a6116100d3578063715018a61461015e57806389daf799146101665780638da5cb5b14610179578063935eb35f1461019e57600080fd5b80630c6df5e4146101055780630ed9cc4c146101235780633f91d69d14610138578063705931fa1461014b575b600080fd5b61010d610294565b60405161011a9190610efb565b60405180910390f35b610136610131366004610f64565b6102a5565b005b610136610146366004610f64565b610358565b610136610159366004610f64565b6105ba565b610136610660565b610136610174366004610f95565b6106c6565b6000546001600160a01b03165b6040516001600160a01b03909116815260200161011a565b6101366101ac366004610f95565b61078c565b600354610186906001600160a01b031681565b6101366101d2366004610f64565b61084e565b6101366101e5366004610f64565b6108f8565b6101fd6101f836600461105a565b61099b565b60405190815260200161011a565b610136610219366004610f64565b610bbf565b6101867f0000000000000000000000002b9d5c7f2ead1a221d771fb6bb5e35df04d60ab081565b600654610186906001600160a01b031681565b610284610266366004610f64565b6001600160a01b031660009081526007602052604090205460ff1690565b604051901515815260200161011a565b60606102a06001610c9e565b905090565b6000546001600160a01b031633146103045760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b61030f600482610cab565b1561035557604051600081526001600160a01b038216907f36ee46fa09c2419f7bcf8135c2bdd56bc882be141cb075961717003bed74367d906020015b60405180910390a25b50565b6000546001600160a01b031633146103b25760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016102fb565b6103bd600182610cc9565b61047c5760405162461bcd60e51b8152602060048201526064602482018190527f45786368616e6765506f6f6c50726f636573736f723a7365745072696d61727960448301527f506f6f6c3a494e56414c49445f504f4f4c3a20476976656e2061646472657373908201527f206973206e6f7420726567697374657265642061732065786368616e6765207060848201527f6f6f6c2e0000000000000000000000000000000000000000000000000000000060a482015260c4016102fb565b6003546001600160a01b038281169116141561054c5760405162461bcd60e51b815260206004820152606360248201527f45786368616e6765506f6f6c50726f636573736f723a7365745072696d61727960448201527f506f6f6c3a414c52454144595f5345543a20546869732061646472657373206960648201527f7320616c726561647920746865207072696d61727920706f6f6c20616464726560848201527f73732e000000000000000000000000000000000000000000000000000000000060a482015260c4016102fb565b600380546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff1983168117909355604080519190921680825260208201939093527ff9df320023cbf5726cbd5bdd99ae23c9382d03b65180d0611d0d72edab96cf89910160405180910390a15050565b6000546001600160a01b031633146106145760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016102fb565b61061f600482610ceb565b1561035557604051600181526001600160a01b038216907f36ee46fa09c2419f7bcf8135c2bdd56bc882be141cb075961717003bed74367d9060200161034c565b6000546001600160a01b031633146106ba5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016102fb565b6106c46000610d00565b565b6000546001600160a01b031633146107205760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016102fb565b60005b81518110156107885760006007600084848151811061074457610744611096565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff191691151591909117905580610780816110c2565b915050610723565b5050565b6000546001600160a01b031633146107e65760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016102fb565b60005b81518110156107885760016007600084848151811061080a5761080a611096565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff191691151591909117905580610846816110c2565b9150506107e9565b6000546001600160a01b031633146108a85760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016102fb565b6108b3600182610ceb565b15610355576040516001600160a01b03821681527f1caec4f1ef0e654f520edf2d95d3d035ea6382500dbdd179d37017442e535284906020015b60405180910390a150565b6000546001600160a01b031633146109525760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016102fb565b61095d600182610cab565b15610355576040516001600160a01b03821681527f3186e21fde26faa448666270e7a0d53c887d8f040950e4330a2b622e34ed6f44906020016108ed565b6001600160a01b03831660009081526007602052604081205460ff1615610a135761dead6001600160a01b03841614801590610a0957507f0000000000000000000000002b9d5c7f2ead1a221d771fb6bb5e35df04d60ab06001600160a01b0316836001600160a01b031614155b15610a1357600080fd5b610a1e600485610cc9565b80610a2f5750610a2f600484610cc9565b15610a3c57506000610bb8565b610a47600185610cc9565b158015610a5c5750610a5a600184610cc9565b155b15610a6957506000610bb8565b610a74600185610cc9565b15610a9957612710610a888361012c6110dd565b610a9291906110fc565b9050610bb8565b6006546003546040517f70a082310000000000000000000000000000000000000000000000000000000081526001600160a01b0391821660048201526000926127109216906370a0823190602401602060405180830381865afa158015610b04573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b28919061111e565b610b3291906110fc565b9050610b408161012c6110dd565b8311610b6757612710610b558461012c6110dd565b610b5f91906110fc565b915050610bb8565b610b73816103e86110dd565b8311610b8857612710610b55846103846110dd565b610b94816107d06110dd565b8311610ba957612710610b5584610a8c6110dd565b612710610b5584611fa46110dd565b9392505050565b6000546001600160a01b03163314610c195760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016102fb565b6001600160a01b038116610c955760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016102fb565b61035581610d00565b60606000610bb883610d5d565b6000610cc0836001600160a01b038416610db9565b90505b92915050565b6001600160a01b03811660009081526001830160205260408120541515610cc0565b6000610cc0836001600160a01b038416610eac565b600080546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b606081600001805480602002602001604051908101604052809291908181526020018280548015610dad57602002820191906000526020600020905b815481526020019060010190808311610d99575b50505050509050919050565b60008181526001830160205260408120548015610ea2576000610ddd600183611137565b8554909150600090610df190600190611137565b9050818114610e56576000866000018281548110610e1157610e11611096565b9060005260206000200154905080876000018481548110610e3457610e34611096565b6000918252602080832090910192909255918252600188019052604090208390555b8554869080610e6757610e6761114e565b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050610cc3565b6000915050610cc3565b6000818152600183016020526040812054610ef357508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610cc3565b506000610cc3565b6020808252825182820181905260009190848201906040850190845b81811015610f3c5783516001600160a01b031683529284019291840191600101610f17565b50909695505050505050565b80356001600160a01b0381168114610f5f57600080fd5b919050565b600060208284031215610f7657600080fd5b610cc082610f48565b634e487b7160e01b600052604160045260246000fd5b60006020808385031215610fa857600080fd5b823567ffffffffffffffff80821115610fc057600080fd5b818501915085601f830112610fd457600080fd5b813581811115610fe657610fe6610f7f565b8060051b604051601f19603f8301168101818110858211171561100b5761100b610f7f565b60405291825284820192508381018501918883111561102957600080fd5b938501935b8285101561104e5761103f85610f48565b8452938501939285019261102e565b98975050505050505050565b60008060006060848603121561106f57600080fd5b61107884610f48565b925061108660208501610f48565b9150604084013590509250925092565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60006000198214156110d6576110d66110ac565b5060010190565b60008160001904831182151516156110f7576110f76110ac565b500290565b60008261111957634e487b7160e01b600052601260045260246000fd5b500490565b60006020828403121561113057600080fd5b5051919050565b600082821015611149576111496110ac565b500390565b634e487b7160e01b600052603160045260246000fdfea164736f6c634300080b000a

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

000000000000000000000000cf0c122c6b73ff809c693db761e7baebe62b6a2e0000000000000000000000002b9d5c7f2ead1a221d771fb6bb5e35df04d60ab0

-----Decoded View---------------
Arg [0] : tokenAddress (address): 0xcf0C122c6b73ff809C693DB761e7BaeBe62b6a2E
Arg [1] : receiverAddress (address): 0x2b9d5c7f2EAD1A221d771Fb6bb5E35Df04D60AB0

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000cf0c122c6b73ff809c693db761e7baebe62b6a2e
Arg [1] : 0000000000000000000000002b9d5c7f2ead1a221d771fb6bb5e35df04d60ab0


Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]

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