ETH Price: $2,270.57 (-6.19%)

Token

Swarm Markets Pool Token (SPT)
 

Overview

Max Total Supply

192.912447591107461082 SPT

Holders

1

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Filtered by Token Holder
Null: 0x000...000
Balance
0 SPT

Value
$0.00
0x0000000000000000000000000000000000000000
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Similar Match Source Code
This contract matches the deployed Bytecode of the Source Code for Contract 0x8c416715...9432ED4aF
The constructor portion of the code might be different and could alter the actual behaviour of the contract

Contract Name:
BPoolExtend

Compiler Version
v0.7.4+commit.3f05b770

Optimization Enabled:
Yes with 100 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2021-06-04
*/

// File: @openzeppelin/contracts/proxy/Proxy.sol

// SPDX-License-Identifier: MIT

pragma solidity ^0.7.0;

/**
 * @dev This abstract contract provides a fallback function that delegates all calls to another contract using the EVM
 * instruction `delegatecall`. We refer to the second contract as the _implementation_ behind the proxy, and it has to
 * be specified by overriding the virtual {_implementation} function.
 *
 * Additionally, delegation to the implementation can be triggered manually through the {_fallback} function, or to a
 * different contract through the {_delegate} function.
 *
 * The success and return data of the delegated call will be returned back to the caller of the proxy.
 */
abstract contract Proxy {
    /**
     * @dev Delegates the current call to `implementation`.
     *
     * This function does not return to its internall call site, it will return directly to the external caller.
     */
    function _delegate(address implementation) internal virtual {
        // solhint-disable-next-line no-inline-assembly
        assembly {
            // Copy msg.data. We take full control of memory in this inline assembly
            // block because it will not return to Solidity code. We overwrite the
            // Solidity scratch pad at memory position 0.
            calldatacopy(0, 0, calldatasize())

            // Call the implementation.
            // out and outsize are 0 because we don't know the size yet.
            let result := delegatecall(gas(), implementation, 0, calldatasize(), 0, 0)

            // Copy the returned data.
            returndatacopy(0, 0, returndatasize())

            switch result
            // delegatecall returns 0 on error.
            case 0 { revert(0, returndatasize()) }
            default { return(0, returndatasize()) }
        }
    }

    /**
     * @dev This is a virtual function that should be overriden so it returns the address to which the fallback function
     * and {_fallback} should delegate.
     */
    function _implementation() internal view virtual returns (address);

    /**
     * @dev Delegates the current call to the address returned by `_implementation()`.
     *
     * This function does not return to its internall call site, it will return directly to the external caller.
     */
    function _fallback() internal virtual {
        _beforeFallback();
        _delegate(_implementation());
    }

    /**
     * @dev Fallback function that delegates calls to the address returned by `_implementation()`. Will run if no other
     * function in the contract matches the call data.
     */
    fallback () external payable virtual {
        _fallback();
    }

    /**
     * @dev Fallback function that delegates calls to the address returned by `_implementation()`. Will run if call data
     * is empty.
     */
    receive () external payable virtual {
        _fallback();
    }

    /**
     * @dev Hook that is called before falling back to the implementation. Can happen as part of a manual `_fallback`
     * call, or as part of the Solidity `fallback` or `receive` functions.
     *
     * If overriden should call `super._beforeFallback()`.
     */
    function _beforeFallback() internal virtual {
    }
}

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


pragma solidity ^0.7.0;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        // solhint-disable-next-line no-inline-assembly
        assembly { size := extcodesize(account) }
        return size > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (bool success, ) = recipient.call{ value: amount }("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain`call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
      return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        require(isContract(target), "Address: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: value }(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.staticcall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

// File: @openzeppelin/contracts/introspection/IERC165.sol


pragma solidity ^0.7.0;

/**
 * @dev Interface of the ERC165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[EIP].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}

// File: @openzeppelin/contracts/token/ERC1155/IERC1155Receiver.sol


pragma solidity ^0.7.0;


/**
 * _Available since v3.1._
 */
interface IERC1155Receiver is IERC165 {

    /**
        @dev Handles the receipt of a single ERC1155 token type. This function is
        called at the end of a `safeTransferFrom` after the balance has been updated.
        To accept the transfer, this must return
        `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))`
        (i.e. 0xf23a6e61, or its own function selector).
        @param operator The address which initiated the transfer (i.e. msg.sender)
        @param from The address which previously owned the token
        @param id The ID of the token being transferred
        @param value The amount of tokens being transferred
        @param data Additional data with no specified format
        @return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` if transfer is allowed
    */
    function onERC1155Received(
        address operator,
        address from,
        uint256 id,
        uint256 value,
        bytes calldata data
    )
        external
        returns(bytes4);

    /**
        @dev Handles the receipt of a multiple ERC1155 token types. This function
        is called at the end of a `safeBatchTransferFrom` after the balances have
        been updated. To accept the transfer(s), this must return
        `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))`
        (i.e. 0xbc197c81, or its own function selector).
        @param operator The address which initiated the batch transfer (i.e. msg.sender)
        @param from The address which previously owned the token
        @param ids An array containing ids of each token being transferred (order and length must match values array)
        @param values An array containing amounts of each token being transferred (order and length must match ids array)
        @param data Additional data with no specified format
        @return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` if transfer is allowed
    */
    function onERC1155BatchReceived(
        address operator,
        address from,
        uint256[] calldata ids,
        uint256[] calldata values,
        bytes calldata data
    )
        external
        returns(bytes4);
}

// File: @openzeppelin/contracts/introspection/ERC165.sol


pragma solidity ^0.7.0;


/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts may inherit from this and call {_registerInterface} to declare
 * their support of an interface.
 */
abstract contract ERC165 is IERC165 {
    /*
     * bytes4(keccak256('supportsInterface(bytes4)')) == 0x01ffc9a7
     */
    bytes4 private constant _INTERFACE_ID_ERC165 = 0x01ffc9a7;

    /**
     * @dev Mapping of interface ids to whether or not it's supported.
     */
    mapping(bytes4 => bool) private _supportedInterfaces;

    constructor () {
        // Derived contracts need only register support for their own interfaces,
        // we register support for ERC165 itself here
        _registerInterface(_INTERFACE_ID_ERC165);
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     *
     * Time complexity O(1), guaranteed to always use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return _supportedInterfaces[interfaceId];
    }

    /**
     * @dev Registers the contract as an implementer of the interface defined by
     * `interfaceId`. Support of the actual ERC165 interface is automatic and
     * registering its interface id is not required.
     *
     * See {IERC165-supportsInterface}.
     *
     * Requirements:
     *
     * - `interfaceId` cannot be the ERC165 invalid interface (`0xffffffff`).
     */
    function _registerInterface(bytes4 interfaceId) internal virtual {
        require(interfaceId != 0xffffffff, "ERC165: invalid interface id");
        _supportedInterfaces[interfaceId] = true;
    }
}

// File: @openzeppelin/contracts/token/ERC1155/ERC1155Receiver.sol


pragma solidity ^0.7.0;



/**
 * @dev _Available since v3.1._
 */
abstract contract ERC1155Receiver is ERC165, IERC1155Receiver {
    constructor() {
        _registerInterface(
            ERC1155Receiver(address(0)).onERC1155Received.selector ^
            ERC1155Receiver(address(0)).onERC1155BatchReceived.selector
        );
    }
}

// File: @openzeppelin/contracts/token/ERC1155/ERC1155Holder.sol


pragma solidity ^0.7.0;


/**
 * @dev _Available since v3.1._
 */
contract ERC1155Holder is ERC1155Receiver {
    function onERC1155Received(address, address, uint256, uint256, bytes memory) public virtual override returns (bytes4) {
        return this.onERC1155Received.selector;
    }

    function onERC1155BatchReceived(address, address, uint256[] memory, uint256[] memory, bytes memory) public virtual override returns (bytes4) {
        return this.onERC1155BatchReceived.selector;
    }
}

// File: contracts/BPoolExtend.sol

// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.

// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.

// You should have received a copy of the GNU General Public License
// along with this program.  If not, see <http://www.gnu.org/licenses/>.

pragma solidity ^0.7.0;




interface IOperationsRegistry {
    function allowedAssets(address asset) external view returns (bool);
}

interface IBPool {
    function bind(
        address token,
        uint256 balance,
        uint256 denorm
    ) external;

    function joinPool(uint256 poolAmountOut, uint256[] calldata maxAmountsIn) external;

    function exitPool(uint256 poolAmountIn, uint256[] calldata minAmountsOut) external;

    function swapExactAmountIn(
        address tokenIn,
        uint256 tokenAmountIn,
        address tokenOut,
        uint256 minAmountOut,
        uint256 maxPrice
    ) external returns (uint256 tokenAmountOut, uint256 spotPriceAfter);

    function swapExactAmountOut(
        address tokenIn,
        uint256 maxAmountIn,
        address tokenOut,
        uint256 tokenAmountOut,
        uint256 maxPrice
    ) external returns (uint256 tokenAmountIn, uint256 spotPriceAfter);

    function joinswapExternAmountIn(
        address tokenIn,
        uint256 tokenAmountIn,
        uint256 minPoolAmountOut
    ) external returns (uint256 poolAmountOut);

    function joinswapPoolAmountOut(
        address tokenIn,
        uint256 poolAmountOut,
        uint256 maxAmountIn
    ) external returns (uint256 tokenAmountIn);

    function exitswapPoolAmountIn(
        address tokenOut,
        uint256 poolAmountIn,
        uint256 minAmountOut
    ) external returns (uint256 tokenAmountOut);

    function exitswapExternAmountOut(
        address tokenOut,
        uint256 tokenAmountOut,
        uint256 maxPoolAmountIn
    ) external returns (uint256 poolAmountIn);
}

contract BPoolExtend is Proxy, ERC1155Holder {
    address public immutable implementation;
    address public immutable exchangeProxy;
    address public immutable operationsRegistry;

    constructor(address _poolImpl, address _operationsRegistry, address _exchProxy, bytes memory _data) {
        implementation = _poolImpl;
        exchangeProxy = _exchProxy;
        operationsRegistry = _operationsRegistry;

        if(_data.length > 0) {
            Address.functionDelegateCall(_poolImpl, _data);
        }
    }

    function _implementation() internal view override returns (address) {
        return implementation;
    }

    function _beforeFallback() internal view override {
       _onlyExchangeProxy();
       _onlyAllowedToken();
    }

    function _onlyExchangeProxy() internal view {
        if (
           msg.sig == IBPool.joinPool.selector ||
           msg.sig == IBPool.exitPool.selector ||
           msg.sig == IBPool.swapExactAmountIn.selector ||
           msg.sig == IBPool.swapExactAmountOut.selector ||
           msg.sig == IBPool.joinswapExternAmountIn.selector ||
           msg.sig == IBPool.joinswapPoolAmountOut.selector ||
           msg.sig == IBPool.exitswapPoolAmountIn.selector ||
           msg.sig == IBPool.exitswapExternAmountOut.selector
        ) {
            require(msg.sender == exchangeProxy, "ERR_NOT_EXCHANGE_PROXY");
       }
    }

    function _onlyAllowedToken() internal view {
        if (msg.sig == IBPool.bind.selector) {
            (address token, , ) = abi.decode(msg.data[4:], (address, address, uint256));
            require(IOperationsRegistry(operationsRegistry).allowedAssets(token), "ERR_NOT_ALLOWED_TOKEN");
        }
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_poolImpl","type":"address"},{"internalType":"address","name":"_operationsRegistry","type":"address"},{"internalType":"address","name":"_exchProxy","type":"address"},{"internalType":"bytes","name":"_data","type":"bytes"}],"stateMutability":"nonpayable","type":"constructor"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"exchangeProxy","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"implementation","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256[]","name":"","type":"uint256[]"},{"internalType":"uint256[]","name":"","type":"uint256[]"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"onERC1155BatchReceived","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"onERC1155Received","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"operationsRegistry","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]

60e06040523480156200001157600080fd5b5060405162000e6938038062000e69833981810160405260808110156200003757600080fd5b8151602083015160408085015160608601805192519496939591949391820192846401000000008211156200006b57600080fd5b9083019060208201858111156200008157600080fd5b82516401000000008111828201881017156200009c57600080fd5b82525081516020918201929091019080838360005b83811015620000cb578181015183820152602001620000b1565b50505050905090810190601f168015620000f95780820380516001836020036101000a031916815260200191505b50604052506200011491506301ffc9a760e01b905062000173565b62000126630271189760e51b62000173565b6001600160601b0319606085811b821660805283811b821660a05284901b1660c0528051156200016957620001678482620001f860201b6200049b1760201c565b505b50505050620003e5565b6001600160e01b03198082161415620001d3576040805162461bcd60e51b815260206004820152601c60248201527f4552433136353a20696e76616c696420696e7465726661636520696400000000604482015290519081900360640190fd5b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b606062000220838360405180606001604052806027815260200162000e1c6027913962000227565b9392505050565b6060620002348462000335565b620002715760405162461bcd60e51b815260040180806020018281038252602681526020018062000e436026913960400191505060405180910390fd5b60006060856001600160a01b0316856040518082805190602001908083835b60208310620002b15780518252601f19909201916020918201910162000290565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855af49150503d806000811462000313576040519150601f19603f3d011682016040523d82523d6000602084013e62000318565b606091505b5090925090506200032b8282866200033b565b9695505050505050565b3b151590565b606083156200034c57508162000220565b8251156200035d5782518084602001fd5b8160405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015620003a95781810151838201526020016200038f565b50505050905090810190601f168015620003d75780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b60805160601c60a05160601c60c05160601c6109f26200042a6000398061043352806107df525080610468528061071252508061040f52806104d952506109f26000f3fe6080604052600436106100595760003560e01c806301ffc9a7146100705780635c60da1b146100b85780639c008673146100e9578063bc197c81146100fe578063c7c30be1146102e9578063f23a6e61146102fe57610068565b36610068576100666103d4565b005b6100666103d4565b34801561007c57600080fd5b506100a46004803603602081101561009357600080fd5b50356001600160e01b0319166103ee565b604080519115158252519081900360200190f35b3480156100c457600080fd5b506100cd61040d565b604080516001600160a01b039092168252519081900360200190f35b3480156100f557600080fd5b506100cd610431565b34801561010a57600080fd5b506102cc600480360360a081101561012157600080fd5b6001600160a01b038235811692602081013590911691810190606081016040820135600160201b81111561015457600080fd5b82018360208201111561016657600080fd5b803590602001918460208302840111600160201b8311171561018757600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295949360208101935035915050600160201b8111156101d657600080fd5b8201836020820111156101e857600080fd5b803590602001918460208302840111600160201b8311171561020957600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295949360208101935035915050600160201b81111561025857600080fd5b82018360208201111561026a57600080fd5b803590602001918460018302840111600160201b8311171561028b57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610455945050505050565b604080516001600160e01b03199092168252519081900360200190f35b3480156102f557600080fd5b506100cd610466565b34801561030a57600080fd5b506102cc600480360360a081101561032157600080fd5b6001600160a01b03823581169260208101359091169160408201359160608101359181019060a081016080820135600160201b81111561036057600080fd5b82018360208201111561037257600080fd5b803590602001918460018302840111600160201b8311171561039357600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955061048a945050505050565b6103dc6104c7565b6103ec6103e76104d7565b6104fb565b565b6001600160e01b03191660009081526020819052604090205460ff1690565b7f000000000000000000000000000000000000000000000000000000000000000081565b7f000000000000000000000000000000000000000000000000000000000000000081565b63bc197c8160e01b95945050505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b63f23a6e6160e01b95945050505050565b60606104c083836040518060600160405280602781526020016109706027913961051f565b9392505050565b6104cf610622565b6103ec61077d565b7f000000000000000000000000000000000000000000000000000000000000000090565b3660008037600080366000845af43d6000803e80801561051a573d6000f35b3d6000fd5b606061052a8461089d565b6105655760405162461bcd60e51b81526004018080602001828103825260268152602001806109976026913960400191505060405180910390fd5b60006060856001600160a01b0316856040518082805190602001908083835b602083106105a35780518252601f199092019160209182019101610584565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855af49150503d8060008114610603576040519150601f19603f3d011682016040523d82523d6000602084013e610608565b606091505b50915091506106188282866108a3565b9695505050505050565b6000356001600160e01b0319166313da703560e21b148061065557506000356001600160e01b03191663b02f0b7360e01b145b8061067257506000356001600160e01b031916638201aa3f60e01b145b8061068f57506000356001600160e01b031916631f17a7a960e21b145b806106ac57506000356001600160e01b031916635db3427760e01b145b806106c957506000356001600160e01b03191663036836fd60e51b145b806106e657506000356001600160e01b0319166346ab38f160e01b145b8061070257506000356001600160e01b03191662592ce960e31b145b156103ec57336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146103ec576040805162461bcd60e51b81526020600482015260166024820152754552525f4e4f545f45584348414e47455f50524f585960501b604482015290519081900360640190fd5b6000356001600160e01b031916631c9c3ca760e31b14156103ec5760006107a73660048184610947565b60608110156107b557600080fd5b506040805163a4c1cccb60e01b815291356001600160a01b039081166004840181905291519193507f0000000000000000000000000000000000000000000000000000000000000000169163a4c1cccb916024808301926020929190829003018186803b15801561082557600080fd5b505afa158015610839573d6000803e3d6000fd5b505050506040513d602081101561084f57600080fd5b505161089a576040805162461bcd60e51b815260206004820152601560248201527422a9292fa727aa2fa0a62627aba2a22faa27a5a2a760591b604482015290519081900360640190fd5b50565b3b151590565b606083156108b25750816104c0565b8251156108c25782518084602001fd5b8160405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561090c5781810151838201526020016108f4565b50505050905090810190601f1680156109395780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b60008085851115610956578182fd5b83861115610962578182fd5b505082019391909203915056fe416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6e7472616374a2646970667358221220c5546e8c3790b400923c0ae5b93294f30df25b97bab5d816a7c8ee92daf7234f64736f6c63430007040033416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6e7472616374000000000000000000000000f5fada32917350b91fbd9bbde62e69bf483a960a000000000000000000000000d641ae2ad8a0e72ad92ddeda7cef67ee3f2a49b90000000000000000000000005321647f3c3769bc7bb9e10ab10d7f5c2e402c56000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000048129fc1c00000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106100595760003560e01c806301ffc9a7146100705780635c60da1b146100b85780639c008673146100e9578063bc197c81146100fe578063c7c30be1146102e9578063f23a6e61146102fe57610068565b36610068576100666103d4565b005b6100666103d4565b34801561007c57600080fd5b506100a46004803603602081101561009357600080fd5b50356001600160e01b0319166103ee565b604080519115158252519081900360200190f35b3480156100c457600080fd5b506100cd61040d565b604080516001600160a01b039092168252519081900360200190f35b3480156100f557600080fd5b506100cd610431565b34801561010a57600080fd5b506102cc600480360360a081101561012157600080fd5b6001600160a01b038235811692602081013590911691810190606081016040820135600160201b81111561015457600080fd5b82018360208201111561016657600080fd5b803590602001918460208302840111600160201b8311171561018757600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295949360208101935035915050600160201b8111156101d657600080fd5b8201836020820111156101e857600080fd5b803590602001918460208302840111600160201b8311171561020957600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295949360208101935035915050600160201b81111561025857600080fd5b82018360208201111561026a57600080fd5b803590602001918460018302840111600160201b8311171561028b57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610455945050505050565b604080516001600160e01b03199092168252519081900360200190f35b3480156102f557600080fd5b506100cd610466565b34801561030a57600080fd5b506102cc600480360360a081101561032157600080fd5b6001600160a01b03823581169260208101359091169160408201359160608101359181019060a081016080820135600160201b81111561036057600080fd5b82018360208201111561037257600080fd5b803590602001918460018302840111600160201b8311171561039357600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955061048a945050505050565b6103dc6104c7565b6103ec6103e76104d7565b6104fb565b565b6001600160e01b03191660009081526020819052604090205460ff1690565b7f000000000000000000000000f5fada32917350b91fbd9bbde62e69bf483a960a81565b7f000000000000000000000000d641ae2ad8a0e72ad92ddeda7cef67ee3f2a49b981565b63bc197c8160e01b95945050505050565b7f0000000000000000000000005321647f3c3769bc7bb9e10ab10d7f5c2e402c5681565b63f23a6e6160e01b95945050505050565b60606104c083836040518060600160405280602781526020016109706027913961051f565b9392505050565b6104cf610622565b6103ec61077d565b7f000000000000000000000000f5fada32917350b91fbd9bbde62e69bf483a960a90565b3660008037600080366000845af43d6000803e80801561051a573d6000f35b3d6000fd5b606061052a8461089d565b6105655760405162461bcd60e51b81526004018080602001828103825260268152602001806109976026913960400191505060405180910390fd5b60006060856001600160a01b0316856040518082805190602001908083835b602083106105a35780518252601f199092019160209182019101610584565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855af49150503d8060008114610603576040519150601f19603f3d011682016040523d82523d6000602084013e610608565b606091505b50915091506106188282866108a3565b9695505050505050565b6000356001600160e01b0319166313da703560e21b148061065557506000356001600160e01b03191663b02f0b7360e01b145b8061067257506000356001600160e01b031916638201aa3f60e01b145b8061068f57506000356001600160e01b031916631f17a7a960e21b145b806106ac57506000356001600160e01b031916635db3427760e01b145b806106c957506000356001600160e01b03191663036836fd60e51b145b806106e657506000356001600160e01b0319166346ab38f160e01b145b8061070257506000356001600160e01b03191662592ce960e31b145b156103ec57336001600160a01b037f0000000000000000000000005321647f3c3769bc7bb9e10ab10d7f5c2e402c5616146103ec576040805162461bcd60e51b81526020600482015260166024820152754552525f4e4f545f45584348414e47455f50524f585960501b604482015290519081900360640190fd5b6000356001600160e01b031916631c9c3ca760e31b14156103ec5760006107a73660048184610947565b60608110156107b557600080fd5b506040805163a4c1cccb60e01b815291356001600160a01b039081166004840181905291519193507f000000000000000000000000d641ae2ad8a0e72ad92ddeda7cef67ee3f2a49b9169163a4c1cccb916024808301926020929190829003018186803b15801561082557600080fd5b505afa158015610839573d6000803e3d6000fd5b505050506040513d602081101561084f57600080fd5b505161089a576040805162461bcd60e51b815260206004820152601560248201527422a9292fa727aa2fa0a62627aba2a22faa27a5a2a760591b604482015290519081900360640190fd5b50565b3b151590565b606083156108b25750816104c0565b8251156108c25782518084602001fd5b8160405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561090c5781810151838201526020016108f4565b50505050905090810190601f1680156109395780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b60008085851115610956578182fd5b83861115610962578182fd5b505082019391909203915056fe416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6e7472616374a2646970667358221220c5546e8c3790b400923c0ae5b93294f30df25b97bab5d816a7c8ee92daf7234f64736f6c63430007040033

Deployed Bytecode Sourcemap

19787:1747:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2958:11;:9;:11::i;:::-;19787:1747;;2726:11;:9;:11::i;15638:150::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;15638:150:0;-1:-1:-1;;;;;;15638:150:0;;:::i;:::-;;;;;;;;;;;;;;;;;;19839:39;;;;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;19839:39:0;;;;;;;;;;;;;;19930:43;;;;;;;;;;;;;:::i;17205:203::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;17205:203:0;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;17205:203:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;17205:203:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;17205:203:0;;;;;;;;-1:-1:-1;17205:203:0;;-1:-1:-1;;;;;17205:203:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;17205:203:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;17205:203:0;;;;;;;;-1:-1:-1;17205:203:0;;-1:-1:-1;;;;;17205:203:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;17205:203:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;17205:203:0;;-1:-1:-1;17205:203:0;;-1:-1:-1;;;;;17205:203:0:i;:::-;;;;-1:-1:-1;;;;;;17205:203:0;;;;;;;;;;;;;;19885:38;;;;;;;;;;;;;:::i;17022:175::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;17022:175:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;17022:175:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;17022:175:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;17022:175:0;;-1:-1:-1;17022:175:0;;-1:-1:-1;;;;;17022:175:0:i;2362:113::-;2411:17;:15;:17::i;:::-;2439:28;2449:17;:15;:17::i;:::-;2439:9;:28::i;:::-;2362:113::o;15638:150::-;-1:-1:-1;;;;;;15747:33:0;15723:4;15747:33;;;;;;;;;;;;;;15638:150::o;19839:39::-;;;:::o;19930:43::-;;;:::o;17205:203::-;-1:-1:-1;;;17205:203:0;;;;;;;:::o;19885:38::-;;;:::o;17022:175::-;-1:-1:-1;;;17022:175:0;;;;;;;:::o;9774:200::-;9857:12;9889:77;9910:6;9918:4;9889:77;;;;;;;;;;;;;;;;;:20;:77::i;:::-;9882:84;9774:200;-1:-1:-1;;;9774:200:0:o;20445:117::-;20505:20;:18;:20::i;:::-;20535:19;:17;:19::i;20329:108::-;20415:14;20329:108;:::o;955:915::-;1355:14;1352:1;1349;1336:34;1573:1;1570;1554:14;1551:1;1535:14;1528:5;1515:60;1652:16;1649:1;1646;1631:38;1692:6;1761:38;;;;1833:16;1830:1;1823:27;1761:38;1780:16;1777:1;1770:27;10168:423;10279:12;10312:18;10323:6;10312:10;:18::i;:::-;10304:69;;;;-1:-1:-1;;;10304:69:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10447:12;10461:23;10488:6;-1:-1:-1;;;;;10488:19:0;10508:4;10488:25;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;10488:25:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10446:67;;;;10531:52;10549:7;10558:10;10570:12;10531:17;:52::i;:::-;10524:59;10168:423;-1:-1:-1;;;;;;10168:423:0:o;20570:644::-;20642:7;;-1:-1:-1;;;;;;20642:7:0;-1:-1:-1;;;20642:35:0;;:86;;-1:-1:-1;20693:7:0;;-1:-1:-1;;;;;;20693:7:0;-1:-1:-1;;;20693:35:0;20642:86;:146;;;-1:-1:-1;20744:7:0;;-1:-1:-1;;;;;;20744:7:0;-1:-1:-1;;;20744:44:0;20642:146;:207;;;-1:-1:-1;20804:7:0;;-1:-1:-1;;;;;;20804:7:0;-1:-1:-1;;;20804:45:0;20642:207;:272;;;-1:-1:-1;20865:7:0;;-1:-1:-1;;;;;;20865:7:0;-1:-1:-1;;;20865:49:0;20642:272;:336;;;-1:-1:-1;20930:7:0;;-1:-1:-1;;;;;;20930:7:0;-1:-1:-1;;;20930:48:0;20642:336;:399;;;-1:-1:-1;20994:7:0;;-1:-1:-1;;;;;;20994:7:0;-1:-1:-1;;;20994:47:0;20642:399;:465;;;-1:-1:-1;21057:7:0;;-1:-1:-1;;;;;;21057:7:0;-1:-1:-1;;;21057:50:0;20642:465;20625:582;;;21142:10;-1:-1:-1;;;;;21156:13:0;21142:27;;21134:62;;;;;-1:-1:-1;;;21134:62:0;;;;;;;;;;;;-1:-1:-1;;;21134:62:0;;;;;;;;;;;;;;21222:309;21280:7;;-1:-1:-1;;;;;;21280:7:0;-1:-1:-1;;;21280:31:0;21276:248;;;21329:13;21361:12;:8;21370:1;21361:8;21329:13;21361:12;:::i;:::-;21350:53;;;;;;;;;;-1:-1:-1;21350:53:0;21426:60;;-1:-1:-1;;;21426:60:0;;21350:53;;-1:-1:-1;;;;;21350:53:0;;;21426:60;;;;;;;;21350:53;;-1:-1:-1;21446:18:0;21426:53;;;;:60;;;;;21350:53;;21426:60;;;;;;;:53;:60;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;21426:60:0;21418:94;;;;;-1:-1:-1;;;21418:94:0;;;;;;;;;;;;-1:-1:-1;;;21418:94:0;;;;;;;;;;;;;;;21276:248;21222:309::o;4089:422::-;4456:20;4495:8;;;4089:422::o;10599:742::-;10714:12;10743:7;10739:595;;;-1:-1:-1;10774:10:0;10767:17;;10739:595;10888:17;;:21;10884:439;;11151:10;11145:17;11212:15;11199:10;11195:2;11191:19;11184:44;11099:148;11294:12;11287:20;;-1:-1:-1;;;11287:20:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14:363:1;;;172:8;160:10;157:24;154:2;;;202:9;191;184:28;154:2;239:6;229:8;226:20;223:2;;;267:9;256;249:28;223:2;-1:-1:-1;;301:23:1;;;346:25;;;;;-1:-1:-1;144:233:1:o

Swarm Source

ipfs://c5546e8c3790b400923c0ae5b93294f30df25b97bab5d816a7c8ee92daf7234f
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.