ETH Price: $2,241.06 (-6.32%)

Token

DS-ProxyCash (DS-Proxy)
 

Overview

Max Total Supply

10 DS-Proxy

Holders

5

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Filtered by Token Holder
auryn.eth
Balance
1 DS-Proxy

Value
$0.00
0xd714dd60e22bbb1cbafd0e40de5cfa7bbdd3f3c8
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:
DSProxyCash

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 5 : DSProxyCash.sol
pragma solidity ^0.8.0;


import "@openzeppelin/contracts/token/ERC20/ERC20.sol";

interface IDSProxyFactory {
    function build() external returns (address payable);
}

interface IDSProxy {
    function setOwner(address) external;
}

contract DSProxyCash is ERC20 {

    address[] _proxies;

    IDSProxyFactory public _DSFactory;

    uint8 constant private _decimals = 18;
    uint256 supply;

    constructor(address _dsFactory) ERC20("DS-ProxyCash", "DS-Proxy") {
        _DSFactory = IDSProxyFactory(_dsFactory);
    }

    // Creates a child contract that can only be destroyed by this contract.
    function makeChild() internal returns (address payable) {
        return _DSFactory.build();
    }

    // mints new DSProxies and stores them to the proxy array
    function mint(uint256 _value) public {
        require(_value % 1e18 == 0);

        uint newTokens = _value / 1e18;

        for (uint256 i = 0; i < newTokens; i++) {
            address proxy = address(makeChild());
            _proxies.push(proxy);
        }
        _mint(_msgSender(), _value);
    }

    function claim(address _newOwner) public returns (bool) {
        return _claim(_newOwner);
    }

    function claimFrom(address _from, address _newOwner) public returns (bool claimed) {
        require(_claimFrom(_from, _newOwner), "DS-ProxyCash::claimFrom: unable to claim");
        _approve(_from, _msgSender(), (allowance(_from, _msgSender()) - 1e18));
        return true;
    }

    function _claim(address _newOwner) internal returns (bool success) {

        uint256 from_balance = balanceOf(_msgSender());

        if (from_balance < 1e18) {
            return false;
        }

        uint lastPos = _proxies.length - 1;

        address proxy = _proxies[lastPos];

        _proxies.pop();

        IDSProxy(proxy).setOwner(_newOwner);

        _burn(_msgSender(), 1e18);

        return true;
    }
    function _claimFrom(address _from, address _newOwner) internal returns (bool success) {

        uint256 from_balance = balanceOf(_from);

        if (from_balance < 1e18) {
            return false;
        }

        uint lastPos = _proxies.length - 1;

        address proxy = _proxies[lastPos];

        _proxies.pop();

        IDSProxy(proxy).setOwner(_newOwner);

        _burn(_from, 1e18);

        return true;
    }
}

File 2 of 5 : ERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC20.sol";
import "./extensions/IERC20Metadata.sol";
import "../../utils/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.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin guidelines: functions revert instead
 * of returning `false` on failure. This behavior is nonetheless conventional
 * and does not conflict with the expectations of ERC20 applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, IERC20, IERC20Metadata {
    mapping (address => uint256) private _balances;

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

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

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

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

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

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

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

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

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

    /**
     * @dev See {IERC20-approve}.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        _approve(_msgSender(), spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * Requirements:
     *
     * - `sender` and `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     * - the caller must have allowance for ``sender``'s tokens of at least
     * `amount`.
     */
    function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(sender, recipient, amount);

        uint256 currentAllowance = _allowances[sender][_msgSender()];
        require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance");
        _approve(sender, _msgSender(), currentAllowance - amount);

        return true;
    }

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

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

        return true;
    }

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

        _beforeTokenTransfer(sender, recipient, amount);

        uint256 senderBalance = _balances[sender];
        require(senderBalance >= amount, "ERC20: transfer amount exceeds balance");
        _balances[sender] = senderBalance - amount;
        _balances[recipient] += amount;

        emit Transfer(sender, recipient, amount);
    }

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

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

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

    /**
     * @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");
        _balances[account] = accountBalance - amount;
        _totalSupply -= amount;

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

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

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

    /**
     * @dev Hook that is called before any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * will be to 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 { }
}

File 3 of 5 : IERC20.sol
// 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);
}

File 4 of 5 : IERC20Metadata.sol
// SPDX-License-Identifier: MIT

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 5 of 5 : Context.sol
// 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) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_dsFactory","type":"address"}],"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":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"_DSFactory","outputs":[{"internalType":"contract IDSProxyFactory","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_newOwner","type":"address"}],"name":"claim","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"address","name":"_newOwner","type":"address"}],"name":"claimFrom","outputs":[{"internalType":"bool","name":"claimed","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_value","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b50604051620013de380380620013de83398101604081905262000034916200016e565b604080518082018252600c81526b088a65aa0e4def0f286c2e6d60a31b60208083019182528351808501909452600884526744532d50726f787960c01b9084015281519192916200008891600391620000c8565b5080516200009e906004906020840190620000c8565b5050600680546001600160a01b0319166001600160a01b03939093169290921790915550620001db565b828054620000d6906200019e565b90600052602060002090601f016020900481019282620000fa576000855562000145565b82601f106200011557805160ff191683800117855562000145565b8280016001018555821562000145579182015b828111156200014557825182559160200191906001019062000128565b506200015392915062000157565b5090565b5b8082111562000153576000815560010162000158565b60006020828403121562000180578081fd5b81516001600160a01b038116811462000197578182fd5b9392505050565b600281046001821680620001b357607f821691505b60208210811415620001d557634e487b7160e01b600052602260045260246000fd5b50919050565b6111f380620001eb6000396000f3fe608060405234801561001057600080fd5b50600436106100f55760003560e01c806370a0823111610097578063a457c2d711610066578063a457c2d7146101e0578063a9059cbb146101f3578063dd62ed3e14610206578063f65caaa714610219576100f5565b806370a082311461019b57806395d89b41146101ae578063a0712d68146101b6578063a14f4f99146101cb576100f5565b80631e83409a116100d35780631e83409a1461014d57806323b872dd14610160578063313ce567146101735780633950935114610188576100f5565b806306fdde03146100fa578063095ea7b31461011857806318160ddd14610138575b600080fd5b61010261022c565b60405161010f9190610d7f565b60405180910390f35b61012b610126366004610d1d565b6102be565b60405161010f9190610d74565b6101406102dc565b60405161010f91906110b5565b61012b61015b366004610c66565b6102e2565b61012b61016e366004610cdd565b6102f5565b61017b610395565b60405161010f91906110be565b61012b610196366004610d1d565b61039a565b6101406101a9366004610c66565b6103e9565b610102610404565b6101c96101c4366004610d48565b610413565b005b6101d36104d3565b60405161010f9190610d60565b61012b6101ee366004610d1d565b6104e2565b61012b610201366004610d1d565b61055d565b610140610214366004610ca5565b610571565b61012b610227366004610ca5565b61059c565b60606003805461023b9061110f565b80601f01602080910402602001604051908101604052809291908181526020018280546102679061110f565b80156102b45780601f10610289576101008083540402835291602001916102b4565b820191906000526020600020905b81548152906001019060200180831161029757829003601f168201915b5050505050905090565b60006102d26102cb6105ef565b84846105f3565b5060015b92915050565b60025490565b60006102ed826106a7565b90505b919050565b60006103028484846107da565b6001600160a01b0384166000908152600160205260408120816103236105ef565b6001600160a01b03166001600160a01b031681526020019081526020016000205490508281101561036f5760405162461bcd60e51b815260040161036690610edf565b60405180910390fd5b61038a8561037b6105ef565b61038586856110f8565b6105f3565b506001949350505050565b601290565b60006102d26103a76105ef565b8484600160006103b56105ef565b6001600160a01b03908116825260208083019390935260409182016000908120918b168152925290205461038591906110cc565b6001600160a01b031660009081526020819052604090205490565b60606004805461023b9061110f565b610425670de0b6b3a764000082611165565b1561042f57600080fd5b6000610443670de0b6b3a7640000836110e4565b905060005b818110156104bd57600061045a610902565b600580546001810182556000919091527f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db00180546001600160a01b0319166001600160a01b039290921691909117905550806104b58161114a565b915050610448565b506104cf6104c96105ef565b83610985565b5050565b6006546001600160a01b031681565b600080600160006104f16105ef565b6001600160a01b039081168252602080830193909352604091820160009081209188168152925290205490508281101561053d5760405162461bcd60e51b815260040161036690611039565b6105536105486105ef565b8561038586856110f8565b5060019392505050565b60006102d261056a6105ef565b84846107da565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b60006105a88383610a45565b6105c45760405162461bcd60e51b815260040161036690610ff1565b6102d2836105d06105ef565b670de0b6b3a76400006105e5876102146105ef565b61038591906110f8565b3390565b6001600160a01b0383166106195760405162461bcd60e51b815260040161036690610fad565b6001600160a01b03821661063f5760405162461bcd60e51b815260040161036690610e57565b6001600160a01b0380841660008181526001602090815260408083209487168084529490915290819020849055517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259061069a9085906110b5565b60405180910390a3505050565b6000806106b56101a96105ef565b9050670de0b6b3a76400008110156106d15760009150506102f0565b6005546000906106e3906001906110f8565b905060006005828154811061070857634e487b7160e01b600052603260045260246000fd5b600091825260209091200154600580546001600160a01b039092169250908061074157634e487b7160e01b600052603160045260246000fd5b600082815260209020810160001990810180546001600160a01b03191690550190556040516313af403560e01b81526001600160a01b038216906313af40359061078f908890600401610d60565b600060405180830381600087803b1580156107a957600080fd5b505af11580156107bd573d6000803e3d6000fd5b5050505061038a6107cc6105ef565b670de0b6b3a7640000610b7b565b6001600160a01b0383166108005760405162461bcd60e51b815260040161036690610f68565b6001600160a01b0382166108265760405162461bcd60e51b815260040161036690610dd2565b610831838383610c61565b6001600160a01b0383166000908152602081905260409020548181101561086a5760405162461bcd60e51b815260040161036690610e99565b61087482826110f8565b6001600160a01b0380861660009081526020819052604080822093909355908516815290812080548492906108aa9084906110cc565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516108f491906110b5565b60405180910390a350505050565b60065460408051632386957f60e21b815290516000926001600160a01b031691638e1a55fc91600480830192602092919082900301818787803b15801561094857600080fd5b505af115801561095c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109809190610c89565b905090565b6001600160a01b0382166109ab5760405162461bcd60e51b81526004016103669061107e565b6109b760008383610c61565b80600260008282546109c991906110cc565b90915550506001600160a01b038216600090815260208190526040812080548392906109f69084906110cc565b90915550506040516001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610a399085906110b5565b60405180910390a35050565b600080610a51846103e9565b9050670de0b6b3a7640000811015610a6d5760009150506102d6565b600554600090610a7f906001906110f8565b9050600060058281548110610aa457634e487b7160e01b600052603260045260246000fd5b600091825260209091200154600580546001600160a01b0390921692509080610add57634e487b7160e01b600052603160045260246000fd5b600082815260209020810160001990810180546001600160a01b03191690550190556040516313af403560e01b81526001600160a01b038216906313af403590610b2b908890600401610d60565b600060405180830381600087803b158015610b4557600080fd5b505af1158015610b59573d6000803e3d6000fd5b50505050610b6f86670de0b6b3a7640000610b7b565b50600195945050505050565b6001600160a01b038216610ba15760405162461bcd60e51b815260040161036690610f27565b610bad82600083610c61565b6001600160a01b03821660009081526020819052604090205481811015610be65760405162461bcd60e51b815260040161036690610e15565b610bf082826110f8565b6001600160a01b03841660009081526020819052604081209190915560028054849290610c1e9084906110f8565b90915550506040516000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9061069a9086906110b5565b505050565b600060208284031215610c77578081fd5b8135610c82816111a5565b9392505050565b600060208284031215610c9a578081fd5b8151610c82816111a5565b60008060408385031215610cb7578081fd5b8235610cc2816111a5565b91506020830135610cd2816111a5565b809150509250929050565b600080600060608486031215610cf1578081fd5b8335610cfc816111a5565b92506020840135610d0c816111a5565b929592945050506040919091013590565b60008060408385031215610d2f578182fd5b8235610d3a816111a5565b946020939093013593505050565b600060208284031215610d59578081fd5b5035919050565b6001600160a01b0391909116815260200190565b901515815260200190565b6000602080835283518082850152825b81811015610dab57858101830151858201604001528201610d8f565b81811115610dbc5783604083870101525b50601f01601f1916929092016040019392505050565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60208082526022908201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604082015261636560f01b606082015260800190565b60208082526022908201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604082015261737360f01b606082015260800190565b60208082526026908201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604082015265616c616e636560d01b606082015260800190565b60208082526028908201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616040820152676c6c6f77616e636560c01b606082015260800190565b60208082526021908201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736040820152607360f81b606082015260800190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526024908201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646040820152637265737360e01b606082015260800190565b60208082526028908201527f44532d50726f7879436173683a3a636c61696d46726f6d3a20756e61626c6520604082015267746f20636c61696d60c01b606082015260800190565b60208082526025908201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604082015264207a65726f60d81b606082015260800190565b6020808252601f908201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604082015260600190565b90815260200190565b60ff91909116815260200190565b600082198211156110df576110df611179565b500190565b6000826110f3576110f361118f565b500490565b60008282101561110a5761110a611179565b500390565b60028104600182168061112357607f821691505b6020821081141561114457634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561115e5761115e611179565b5060010190565b6000826111745761117461118f565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b6001600160a01b03811681146111ba57600080fd5b5056fea2646970667358221220a337808c82f5dfc82fb0f2d4c9f95f89241514f4af0544a97f3cce720fc62e6d64736f6c63430008000033000000000000000000000000a26e15c895efc0616177b7c1e7270a4c7d51c997

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100f55760003560e01c806370a0823111610097578063a457c2d711610066578063a457c2d7146101e0578063a9059cbb146101f3578063dd62ed3e14610206578063f65caaa714610219576100f5565b806370a082311461019b57806395d89b41146101ae578063a0712d68146101b6578063a14f4f99146101cb576100f5565b80631e83409a116100d35780631e83409a1461014d57806323b872dd14610160578063313ce567146101735780633950935114610188576100f5565b806306fdde03146100fa578063095ea7b31461011857806318160ddd14610138575b600080fd5b61010261022c565b60405161010f9190610d7f565b60405180910390f35b61012b610126366004610d1d565b6102be565b60405161010f9190610d74565b6101406102dc565b60405161010f91906110b5565b61012b61015b366004610c66565b6102e2565b61012b61016e366004610cdd565b6102f5565b61017b610395565b60405161010f91906110be565b61012b610196366004610d1d565b61039a565b6101406101a9366004610c66565b6103e9565b610102610404565b6101c96101c4366004610d48565b610413565b005b6101d36104d3565b60405161010f9190610d60565b61012b6101ee366004610d1d565b6104e2565b61012b610201366004610d1d565b61055d565b610140610214366004610ca5565b610571565b61012b610227366004610ca5565b61059c565b60606003805461023b9061110f565b80601f01602080910402602001604051908101604052809291908181526020018280546102679061110f565b80156102b45780601f10610289576101008083540402835291602001916102b4565b820191906000526020600020905b81548152906001019060200180831161029757829003601f168201915b5050505050905090565b60006102d26102cb6105ef565b84846105f3565b5060015b92915050565b60025490565b60006102ed826106a7565b90505b919050565b60006103028484846107da565b6001600160a01b0384166000908152600160205260408120816103236105ef565b6001600160a01b03166001600160a01b031681526020019081526020016000205490508281101561036f5760405162461bcd60e51b815260040161036690610edf565b60405180910390fd5b61038a8561037b6105ef565b61038586856110f8565b6105f3565b506001949350505050565b601290565b60006102d26103a76105ef565b8484600160006103b56105ef565b6001600160a01b03908116825260208083019390935260409182016000908120918b168152925290205461038591906110cc565b6001600160a01b031660009081526020819052604090205490565b60606004805461023b9061110f565b610425670de0b6b3a764000082611165565b1561042f57600080fd5b6000610443670de0b6b3a7640000836110e4565b905060005b818110156104bd57600061045a610902565b600580546001810182556000919091527f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db00180546001600160a01b0319166001600160a01b039290921691909117905550806104b58161114a565b915050610448565b506104cf6104c96105ef565b83610985565b5050565b6006546001600160a01b031681565b600080600160006104f16105ef565b6001600160a01b039081168252602080830193909352604091820160009081209188168152925290205490508281101561053d5760405162461bcd60e51b815260040161036690611039565b6105536105486105ef565b8561038586856110f8565b5060019392505050565b60006102d261056a6105ef565b84846107da565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b60006105a88383610a45565b6105c45760405162461bcd60e51b815260040161036690610ff1565b6102d2836105d06105ef565b670de0b6b3a76400006105e5876102146105ef565b61038591906110f8565b3390565b6001600160a01b0383166106195760405162461bcd60e51b815260040161036690610fad565b6001600160a01b03821661063f5760405162461bcd60e51b815260040161036690610e57565b6001600160a01b0380841660008181526001602090815260408083209487168084529490915290819020849055517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259061069a9085906110b5565b60405180910390a3505050565b6000806106b56101a96105ef565b9050670de0b6b3a76400008110156106d15760009150506102f0565b6005546000906106e3906001906110f8565b905060006005828154811061070857634e487b7160e01b600052603260045260246000fd5b600091825260209091200154600580546001600160a01b039092169250908061074157634e487b7160e01b600052603160045260246000fd5b600082815260209020810160001990810180546001600160a01b03191690550190556040516313af403560e01b81526001600160a01b038216906313af40359061078f908890600401610d60565b600060405180830381600087803b1580156107a957600080fd5b505af11580156107bd573d6000803e3d6000fd5b5050505061038a6107cc6105ef565b670de0b6b3a7640000610b7b565b6001600160a01b0383166108005760405162461bcd60e51b815260040161036690610f68565b6001600160a01b0382166108265760405162461bcd60e51b815260040161036690610dd2565b610831838383610c61565b6001600160a01b0383166000908152602081905260409020548181101561086a5760405162461bcd60e51b815260040161036690610e99565b61087482826110f8565b6001600160a01b0380861660009081526020819052604080822093909355908516815290812080548492906108aa9084906110cc565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516108f491906110b5565b60405180910390a350505050565b60065460408051632386957f60e21b815290516000926001600160a01b031691638e1a55fc91600480830192602092919082900301818787803b15801561094857600080fd5b505af115801561095c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109809190610c89565b905090565b6001600160a01b0382166109ab5760405162461bcd60e51b81526004016103669061107e565b6109b760008383610c61565b80600260008282546109c991906110cc565b90915550506001600160a01b038216600090815260208190526040812080548392906109f69084906110cc565b90915550506040516001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610a399085906110b5565b60405180910390a35050565b600080610a51846103e9565b9050670de0b6b3a7640000811015610a6d5760009150506102d6565b600554600090610a7f906001906110f8565b9050600060058281548110610aa457634e487b7160e01b600052603260045260246000fd5b600091825260209091200154600580546001600160a01b0390921692509080610add57634e487b7160e01b600052603160045260246000fd5b600082815260209020810160001990810180546001600160a01b03191690550190556040516313af403560e01b81526001600160a01b038216906313af403590610b2b908890600401610d60565b600060405180830381600087803b158015610b4557600080fd5b505af1158015610b59573d6000803e3d6000fd5b50505050610b6f86670de0b6b3a7640000610b7b565b50600195945050505050565b6001600160a01b038216610ba15760405162461bcd60e51b815260040161036690610f27565b610bad82600083610c61565b6001600160a01b03821660009081526020819052604090205481811015610be65760405162461bcd60e51b815260040161036690610e15565b610bf082826110f8565b6001600160a01b03841660009081526020819052604081209190915560028054849290610c1e9084906110f8565b90915550506040516000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9061069a9086906110b5565b505050565b600060208284031215610c77578081fd5b8135610c82816111a5565b9392505050565b600060208284031215610c9a578081fd5b8151610c82816111a5565b60008060408385031215610cb7578081fd5b8235610cc2816111a5565b91506020830135610cd2816111a5565b809150509250929050565b600080600060608486031215610cf1578081fd5b8335610cfc816111a5565b92506020840135610d0c816111a5565b929592945050506040919091013590565b60008060408385031215610d2f578182fd5b8235610d3a816111a5565b946020939093013593505050565b600060208284031215610d59578081fd5b5035919050565b6001600160a01b0391909116815260200190565b901515815260200190565b6000602080835283518082850152825b81811015610dab57858101830151858201604001528201610d8f565b81811115610dbc5783604083870101525b50601f01601f1916929092016040019392505050565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60208082526022908201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604082015261636560f01b606082015260800190565b60208082526022908201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604082015261737360f01b606082015260800190565b60208082526026908201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604082015265616c616e636560d01b606082015260800190565b60208082526028908201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616040820152676c6c6f77616e636560c01b606082015260800190565b60208082526021908201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736040820152607360f81b606082015260800190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526024908201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646040820152637265737360e01b606082015260800190565b60208082526028908201527f44532d50726f7879436173683a3a636c61696d46726f6d3a20756e61626c6520604082015267746f20636c61696d60c01b606082015260800190565b60208082526025908201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604082015264207a65726f60d81b606082015260800190565b6020808252601f908201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604082015260600190565b90815260200190565b60ff91909116815260200190565b600082198211156110df576110df611179565b500190565b6000826110f3576110f361118f565b500490565b60008282101561110a5761110a611179565b500390565b60028104600182168061112357607f821691505b6020821081141561114457634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561115e5761115e611179565b5060010190565b6000826111745761117461118f565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b6001600160a01b03811681146111ba57600080fd5b5056fea2646970667358221220a337808c82f5dfc82fb0f2d4c9f95f89241514f4af0544a97f3cce720fc62e6d64736f6c63430008000033

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

000000000000000000000000a26e15c895efc0616177b7c1e7270a4c7d51c997

-----Decoded View---------------
Arg [0] : _dsFactory (address): 0xA26e15C895EFc0616177B7c1e7270A4C7D51C997

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000a26e15c895efc0616177b7c1e7270a4c7d51c997


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.