Contract 0x11D0a90608Af97B95E0Ec58DCc3ffC1abB77E3C8

Txn Hash Method
Block
From
To
Value [Txn Fee]
0x408ffe78f01bde0d1a5074722472a35e4dc21039409459761d99e19514b96767Issue145054852022-11-22 3:04:1717 days 44 mins ago0xf1eea352e65c423ac95ece1a8372836c17a59931 IN  0x11d0a90608af97b95e0ec58dcc3ffc1abb77e3c80 BTT56.3814
0xf2493ecd24ac000a9dfffd73e2c523c6153e00d9fd39cb61e815108fa76e29e9Issue144158592022-11-19 23:43:2119 days 4 hrs ago0xf1eea352e65c423ac95ece1a8372836c17a59931 IN  0x11d0a90608af97b95e0ec58dcc3ffc1abb77e3c80 BTT56.3814
0xa4112805511bff88f8c9f7c949277643bcc21a23688cd034cea98ee92540a957Issue143909822022-11-19 9:28:1519 days 18 hrs ago0xf1eea352e65c423ac95ece1a8372836c17a59931 IN  0x11d0a90608af97b95e0ec58dcc3ffc1abb77e3c80 BTT11.3421
0x8e9e5a4d928af2c9f1ad7561e6d78f56f366b6aca3ce38932a74fc52ce7cf5faIssue143906942022-11-19 9:18:1919 days 18 hrs ago0xf1eea352e65c423ac95ece1a8372836c17a59931 IN  0x11d0a90608af97b95e0ec58dcc3ffc1abb77e3c80 BTT56.3778
0xfe7e339a61c6dcc908b86682f89ccf78bb26896c5edc701987c212d5033daa37Issue143905732022-11-19 9:14:0919 days 18 hrs ago0xf1eea352e65c423ac95ece1a8372836c17a59931 IN  0x11d0a90608af97b95e0ec58dcc3ffc1abb77e3c80 BTT56.3814
0x445d0692c0df9a527193951e015e4b9c5bad5e642356dd2a6b37f7d7c3bfa3c8Issue143803962022-11-19 3:24:1920 days 24 mins ago0xf1eea352e65c423ac95ece1a8372836c17a59931 IN  0x11d0a90608af97b95e0ec58dcc3ffc1abb77e3c80 BTT11.3457
0xa76dd44823d2acaf421f0f23d9f8f21e25812ecc29192aec9b295a61927ce83eIssue143798272022-11-19 3:04:4520 days 44 mins ago0xf1eea352e65c423ac95ece1a8372836c17a59931 IN  0x11d0a90608af97b95e0ec58dcc3ffc1abb77e3c80 BTT11.3457
0x5581f299759bec5cd049f3f14107333ba42a1ac31ee172ee31d73eeafb8c32ceIssue143798242022-11-19 3:04:3920 days 44 mins ago0xf1eea352e65c423ac95ece1a8372836c17a59931 IN  0x11d0a90608af97b95e0ec58dcc3ffc1abb77e3c80 BTT56.3814
0xab7196948a9d3976fac3a29b2c7e7a52443e4f08965aa10974f55aba638bde0cIssue143407432022-11-18 4:39:0920 days 23 hrs ago0xf1eea352e65c423ac95ece1a8372836c17a59931 IN  0x11d0a90608af97b95e0ec58dcc3ffc1abb77e3c80 BTT56.3814
0x60b1148359c1d859b970621c4b18d29c5d829bd630c2ff99ac077417bb8e3fd1Issue143406642022-11-18 4:36:2320 days 23 hrs ago0xf1eea352e65c423ac95ece1a8372836c17a59931 IN  0x11d0a90608af97b95e0ec58dcc3ffc1abb77e3c80 BTT11.3457
0x9cc66cab041d43f973a1c17143c6492ba1e8dd300eea1afb7db128d395cca567Issue143406592022-11-18 4:36:1320 days 23 hrs ago0xf1eea352e65c423ac95ece1a8372836c17a59931 IN  0x11d0a90608af97b95e0ec58dcc3ffc1abb77e3c80 BTT11.3457
0x90cd359f03dc07f58102aca2e13248bc596d7ba9d41511221e7c5b6c0b6d2e51Issue143406452022-11-18 4:35:4520 days 23 hrs ago0xf1eea352e65c423ac95ece1a8372836c17a59931 IN  0x11d0a90608af97b95e0ec58dcc3ffc1abb77e3c80 BTT11.3457
0xea2246900276800ab276ec5700cec8b5c6a97744036216a0b0183553aa8e2bc4Issue143406282022-11-18 4:35:1120 days 23 hrs ago0xf1eea352e65c423ac95ece1a8372836c17a59931 IN  0x11d0a90608af97b95e0ec58dcc3ffc1abb77e3c80 BTT11.3457
0x18eda88110987714417f8f739edde351a0632af0ecc943dc6394b5c0e870f04cIssue143405542022-11-18 4:32:3920 days 23 hrs ago0xf1eea352e65c423ac95ece1a8372836c17a59931 IN  0x11d0a90608af97b95e0ec58dcc3ffc1abb77e3c80 BTT11.3457
0x2fa80c13955212bd06204fe62d6fab7ddf3eb582baeb1253d6aebaed11055714Issue143404552022-11-18 4:29:1320 days 23 hrs ago0xf1eea352e65c423ac95ece1a8372836c17a59931 IN  0x11d0a90608af97b95e0ec58dcc3ffc1abb77e3c80 BTT11.3457
0x48b30ed0b06feed97f82b9e5d33564662129d483fcb180dba8c49f39afb5c10dIssue143404522022-11-18 4:29:0720 days 23 hrs ago0xf1eea352e65c423ac95ece1a8372836c17a59931 IN  0x11d0a90608af97b95e0ec58dcc3ffc1abb77e3c80 BTT11.3457
0x917842436cb502ccbdde7274e24e8cc47342f7679f28ef9b732d64ea1edad2ceIssue143404282022-11-18 4:28:1920 days 23 hrs ago0xf1eea352e65c423ac95ece1a8372836c17a59931 IN  0x11d0a90608af97b95e0ec58dcc3ffc1abb77e3c80 BTT11.3457
0x28d49f630fd978220337e64e93af2a405b4c14f397a011e81ce6696c9ee905e3Issue143404222022-11-18 4:28:0720 days 23 hrs ago0xf1eea352e65c423ac95ece1a8372836c17a59931 IN  0x11d0a90608af97b95e0ec58dcc3ffc1abb77e3c80 BTT56.3814
0x94442cbc62e2ec6536b66e1871bcab0f1db170051b02d5392eb39c13fa1b2e7bIssue143401422022-11-18 4:18:2720 days 23 hrs ago0xf1eea352e65c423ac95ece1a8372836c17a59931 IN  0x11d0a90608af97b95e0ec58dcc3ffc1abb77e3c80 BTT56.3814
0x1b7843813ad16f29554ab4f84d811cf7d50e226abbceb6f9b48412b7ff2fd631Issue143393232022-11-18 3:50:1720 days 23 hrs ago0xf1eea352e65c423ac95ece1a8372836c17a59931 IN  0x11d0a90608af97b95e0ec58dcc3ffc1abb77e3c80 BTT10.6197
0xb0ac4456e645f7f128032fd7e7373af8b017e2cfa65eb67152636ab7ba10cf88Issue143391322022-11-18 3:43:4321 days 5 mins ago0xf1eea352e65c423ac95ece1a8372836c17a59931 IN  0x11d0a90608af97b95e0ec58dcc3ffc1abb77e3c80 BTT10.6197
0xac94bc129d7bc01bfd9c81bead823b1c9ed6e2a1ca6b729dff67a8628909b5d4Issue143367682022-11-18 2:22:3121 days 1 hr ago0xf1eea352e65c423ac95ece1a8372836c17a59931 IN  0x11d0a90608af97b95e0ec58dcc3ffc1abb77e3c80 BTT10.6197
0x28b6d8798267b93abc8f8d1fc6c0cdbb9f8e8a8186be11d133dbd70fe9029ba4Issue143366182022-11-18 2:17:1921 days 1 hr ago0xf1eea352e65c423ac95ece1a8372836c17a59931 IN  0x11d0a90608af97b95e0ec58dcc3ffc1abb77e3c80 BTT10.6197
0x86c5103dbea2111fd9ee456b94dc26fe9e01689585879d77bef52937e94cb92dIssue143363512022-11-18 2:08:0921 days 1 hr ago0xf1eea352e65c423ac95ece1a8372836c17a59931 IN  0x11d0a90608af97b95e0ec58dcc3ffc1abb77e3c80 BTT56.3814
0xb530addd5c56f8a21dc001b46ed10c4bf4641d70ce9e09322b4da688a9147897Issue143357042022-11-18 1:45:5521 days 2 hrs ago0xf1eea352e65c423ac95ece1a8372836c17a59931 IN  0x11d0a90608af97b95e0ec58dcc3ffc1abb77e3c80 BTT10.6197
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Reputation

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity Standard Json-Input format)

File 1 of 12 : Reputation.sol
// SPDX-License-Identifier: None
pragma solidity ^0.8.0;

import "./interfaces/IManagement.sol";
import "./SoulBound.sol";

contract Reputation is SoulBound {

    struct Response {
        uint128 scores;
        uint32 timestamp;  
    }

    bytes32 private constant MANAGER_ROLE = keccak256("MANAGER_ROLE");
    bytes32 private constant MINTER_ROLE = keccak256("MINTER_ROLE");
    bytes32 private constant OPERATOR_ROLE = keccak256("OPERATOR_ROLE");

    IManagement public management;

    mapping(uint256 => Response) private _latestAnswers;

    string public baseURI;

    event Issued(uint256 indexed id, address indexed owner);
    event Revoked(uint256 indexed id, address indexed owner);
    event Changed(uint256 indexed id, address indexed from, address indexed to);
    event Request(address indexed requestor, uint256[] tokenIds);
    event Respond(address indexed operator, uint256[] tokenIds, uint256[] scores);

    modifier onlyManager() {
        require(management.hasRole(MANAGER_ROLE, _msgSender()), "Only Manager");
        _;
    }

    modifier onlyMinter() {
        require(management.hasRole(MINTER_ROLE, _msgSender()), "Only Minter");
        _;
    }

    modifier onlyOperator() {
        require(management.hasRole(OPERATOR_ROLE, _msgSender()), "Only Operator");
        _;
    }

    modifier whenNotInBlacklist() {
        require(!management.blacklist(_msgSender()), "Blacklist");
        _;
    }

    modifier whenNotPause() {
        require(!management.paused(), "Paused");
        _;
    }

    constructor(
        IManagement _management,
        string memory _name,
        string memory _symbol,
        string memory baseURI_
    ) SoulBound(_name, _symbol) {
        management = _management;
        baseURI = baseURI_;
    }

    function setManagement(address _management) external onlyManager {
        require(_management != address(0), "Unable to set 0x00 to Management");
        management = IManagement(_management);
    }

    function setBaseURI(string calldata _newURI) external onlyManager {
        baseURI = _newURI;
    }

    function issue(address _owner, uint256 _tokenId) public onlyMinter {
        //  try to get soulbound id that has been assigned to `_owner`
        //  if `_owner` not yet assigned any -> catch occurs -> do nothing (`_prevId` = default = 0)
        uint256 _prevId;
        try this.tokenOf(_owner) returns (uint256 _found) { _prevId = _found; }
        catch { }    
        if (_prevId != 0)
            require(_tokenId == _prevId, "Unable to assign a new id to existed profile");
        
        _safeMint(_owner, _tokenId);

        emit Issued(_tokenId, _owner);
    }

    function issueBatch(address[] calldata _owners, uint256[] calldata _tokenIds) external onlyMinter {
        uint256 _len = _owners.length;
        require(_tokenIds.length == _len, "Length mismatch");

        for (uint256 i; i < _len; i++)
            issue(_owners[i], _tokenIds[i]);
    }

    function revoke(uint256 _tokenId) public onlyMinter {
        _requireMinted(_tokenId);
        address _owner = ownerOf(_tokenId);
        _burn(_tokenId);

        emit Revoked(_tokenId, _owner);
    }

    function revokeBatch(uint256[] calldata _tokenIds) external onlyMinter {
        uint256 _len = _tokenIds.length;

        for(uint256 i; i < _len; i++)
            revoke(_tokenIds[i]);
    }

    function change(uint256 _tokenId, address _from, address _to) public onlyMinter {
        _requireMinted(_tokenId);
        require(ownerOf(_tokenId) == _from, "Source account not owns the soulbound id");

        _burn(_tokenId);
        _safeMint(_to, _tokenId);

        emit Changed(_tokenId, _from, _to);
    }

    function changeBatch(
        uint256[] calldata _tokenIds,
        address[] calldata _sources,
        address[] calldata _destinations
    ) external onlyMinter {
        uint256 _len = _tokenIds.length;
        require(
            _sources.length == _len && _destinations.length == _len, 
            "Length mismatch"
        );

        for (uint256 i; i < _len; i++)
            change(_tokenIds[i], _sources[i], _destinations[i]);
    }

    function request(uint256[] calldata _tokenIds) external whenNotInBlacklist {
        uint256 _len = _tokenIds.length;
        for (uint256 i; i < _len; i++)
            _requireMinted(_tokenIds[i]);

        emit Request(_msgSender(), _tokenIds);
    }

    function fullfil(uint256[] calldata _tokenIds, uint256[] calldata _scores) external onlyOperator {
        uint256 _len = _tokenIds.length;
        require(_scores.length == _len, "Length mismatch");

        uint32 _timestamp = uint32(block.timestamp);
        uint256 _tokenId;
        for (uint256 i; i < _len; i++) {
            _tokenId = _tokenIds[i];
            _requireMinted(_tokenId);

            _latestAnswers[_tokenId].scores = uint128(_scores[i]);
            _latestAnswers[_tokenId].timestamp = _timestamp;
        }

        emit Respond(_msgSender(), _tokenIds, _scores);
    }

    function latestAnswer(uint256 _tokenId) external view returns (Response memory) {
        return _latestAnswers[_tokenId];
    }

    function numOfLinkedAccounts(uint256 _tokenId) external view returns (uint256) {
        return _numOfLinkedAccounts(_tokenId);
    }

    function linkedAccounts(uint256 _tokenId, uint256 _fromIndex, uint256 _toIndex) external view returns (address[] memory _accounts) {
        uint256 _len = _toIndex - _fromIndex + 1;
        _accounts = new address[](_len);

        for (uint256 i; i < _len; i++)
            _accounts[i] = _linkedAccountAt(_tokenId, _fromIndex + i);
    }

    function _baseURI() internal view override returns (string memory) {
        return baseURI;
    }

    function _beforeTokenTransfer(
        address _from,
        address _to,
        uint256 _tokenId
    ) internal override whenNotPause {
        super._beforeTokenTransfer(_from, _to, _tokenId);
    }
}

File 2 of 12 : SoulBound.sol
// SPDX-License-Identifier: None
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol";
import "@openzeppelin/contracts/utils/introspection/ERC165.sol";
import "@openzeppelin/contracts/utils/structs/EnumerableSet.sol";
import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/utils/Context.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "./interfaces/IERC721Metadata.sol";

contract SoulBound is Context, ERC165, IERC721Metadata {
    using EnumerableSet for EnumerableSet.AddressSet;
    using Address for address;
    using Strings for uint256;

    //  Total SoulBound tokens have been released
    uint256 private _totalSupply;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to current owner address
    mapping(uint256 => address) private _owners;

    // Archive list of token ID to owner addresses
    mapping(uint256 => EnumerableSet.AddressSet) private _archives;

    // Mapping from owner address to token ID
    mapping(address => uint256) private _tokens;

    // Mapping owner address to token count
    mapping(address => uint256) private _balances;

    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) {
        return
            interfaceId == type(ISoulBound).interfaceId ||
            interfaceId == type(IERC721Metadata).interfaceId ||
            interfaceId == type(IERC721Receiver).interfaceId ||
            super.supportsInterface(interfaceId);
    }

    function name() public view virtual override returns (string memory) {
        return _name;
    }

    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    function totalSupply() public view virtual override returns (uint256) {
        return _totalSupply;
    }

    function balanceOf(address owner) public view virtual override returns (uint256) {
        require(owner != address(0), "SoulBound: address zero is not a valid owner");
        return _balances[owner];
    }

    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        address owner = _owners[tokenId];
        require(owner != address(0), "SoulBound: invalid soulbound ID");
        return owner;
    }

    function tokenOf(address owner) external view virtual override returns (uint256) {
        uint256 token = _tokens[owner];
        require(token != 0, "SoulBound: account not yet assigned a soulbound");
        return token;
    }

    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        _requireMinted(tokenId);

        string memory baseURI = _baseURI();
        return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : "";
    }

    function _baseURI() internal view virtual returns (string memory) {
        return "";
    }

    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return _owners[tokenId] != address(0);
    }

    function _numOfLinkedAccounts(uint256 tokenId) internal view virtual returns (uint256) {
        return _archives[tokenId].length();
    }

    function _linkedAccountAt(uint256 tokenId, uint256 index) internal view virtual returns (address) {
        uint256 _totalLinkedAccounts = _numOfLinkedAccounts(tokenId);
        require(_totalLinkedAccounts != 0, "SoulBound: id not linked to any accounts");
        require(index <= _totalLinkedAccounts - 1, "SoulBound: index out of bounds");

        return _archives[tokenId].at(index);
    }

    /**
     * @dev Safely mints `tokenId` and transfers it to `to`.
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(address to, uint256 tokenId) internal virtual {
        _safeMint(to, tokenId, "");
    }

    /**
     * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is
     * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.
     */
    function _safeMint(
        address to,
        uint256 tokenId,
        bytes memory data
    ) internal virtual {
        _mint(to, tokenId);
        require(
            _checkOnERC721Received(address(0), to, tokenId, data),
            "SoulBound: transfer to non ERC721Receiver implementer"
        );
    }

    /**
     * @dev Mints `tokenId` and transfers it to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - `to` cannot be the zero address.
     * - `to` must not own any soulbound tokens or `tokenId` must be the same as previous one
     *
     * Emits a {Transfer} event.
     */
    function _mint(address to, uint256 tokenId) internal virtual {
        require(to != address(0), "SoulBound: mint to the zero address");
        require(!_exists(tokenId), "SoulBound: token already minted");

        try this.tokenOf(to) returns (uint256 found) {
            require(found == tokenId, "SoulBound: address already assigned a soulbound");
        }
        catch {
            require(balanceOf(to) == 0, "SoulBound: address already assigned a soulbound");
        }
        
        _beforeTokenTransfer(address(0), to, tokenId);

        // update current ownership of `tokenId`
        // link `tokenId` to `to`. Unable to unlink even soulbound token is revoked/burned
        // update `archives` list
        _balances[to] += 1;
        _owners[tokenId] = to;      
        _tokens[to] = tokenId;
        _archives[tokenId].add(to);
        _totalSupply++;

        emit Transfer(address(0), to, tokenId);

        _afterTokenTransfer(address(0), to, tokenId);
    }

    /**
     * @dev Destroys `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId) internal virtual {
        address owner = ownerOf(tokenId);

        _beforeTokenTransfer(owner, address(0), tokenId);

        // when soulbound is revoked/burned, only decrease balance of `owner`
        // and delete a connection of `tokenId` and `owner` in the `_owners` mapping
        // `_archives` and `_tokens` mappings remain unchanged
        _balances[owner] -= 1;
        delete _owners[tokenId];
        _totalSupply--;

        emit Transfer(owner, address(0), tokenId);

        _afterTokenTransfer(owner, address(0), tokenId);
    }

    /**
     * @dev Reverts if the `tokenId` has not been minted yet.
     */
    function _requireMinted(uint256 tokenId) internal view virtual {
        require(_exists(tokenId), "SoulBound: invalid soulbound ID");
    }

    function _checkOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory data
    ) private returns (bool) {
        if (to.isContract()) {
            try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, data) returns (bytes4 retval) {
                return retval == IERC721Receiver.onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert("SoulBound: transfer to non ERC721Receiver implementer");
                } else {
                    /// @solidity memory-safe-assembly
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, ``from``'s `tokenId` 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 tokenId
    ) internal virtual {}

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

File 3 of 12 : IManagement.sol
// SPDX-License-Identifier: None
pragma solidity ^0.8.0;

interface IManagement {

    function hasRole(bytes32 role, address account) external view returns (bool);
    function paused() external view returns (bool);
    function blacklist(address _account) external view returns (bool);
}

File 4 of 12 : IERC721Metadata.sol
// SPDX-License-Identifier: None
pragma solidity ^0.8.0;

import "./ISoulBound.sol";

interface IERC721Metadata is ISoulBound {
    /**
     * @dev Returns the SoulBound Token name.
     */
    function name() external view returns (string memory);

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

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    function tokenURI(uint256 tokenId) external view returns (string memory);
}

File 5 of 12 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

/**
 * @title ERC721 token receiver interface
 * @dev Interface for any contract that wants to support safeTransfers
 * from ERC721 asset contracts.
 */
interface IERC721Receiver {
    /**
     * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
     * by `operator` from `from`, this function is called.
     *
     * It must return its Solidity selector to confirm the token transfer.
     * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.
     *
     * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

File 6 of 12 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
 * for the additional interface id that will be supported. For example:
 *
 * ```solidity
 * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
 *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
 * }
 * ```
 *
 * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}

File 7 of 12 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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

File 8 of 12 : EnumerableSet.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/structs/EnumerableSet.sol)

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.
 *
 * [WARNING]
 * ====
 *  Trying to delete such a structure from storage will likely result in data corruption, rendering the structure unusable.
 *  See https://github.com/ethereum/solidity/pull/11843[ethereum/solidity#11843] for more info.
 *
 *  In order to clean an EnumerableSet, you can either remove all elements one by one or create a fresh instance using an array of EnumerableSet.
 * ====
 */
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;

        /// @solidity memory-safe-assembly
        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;

        /// @solidity memory-safe-assembly
        assembly {
            result := store
        }

        return result;
    }
}

File 9 of 12 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

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

        (bool success, ) = recipient.call{value: amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

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

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

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

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

        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

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

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

        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

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

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

        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly
                /// @solidity memory-safe-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 10 of 12 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";
    uint8 private constant _ADDRESS_LENGTH = 20;

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        // Inspired by OraclizeAPI's implementation - MIT licence
        // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol

        if (value == 0) {
            return "0";
        }
        uint256 temp = value;
        uint256 digits;
        while (temp != 0) {
            digits++;
            temp /= 10;
        }
        bytes memory buffer = new bytes(digits);
        while (value != 0) {
            digits -= 1;
            buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
            value /= 10;
        }
        return string(buffer);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        if (value == 0) {
            return "0x00";
        }
        uint256 temp = value;
        uint256 length = 0;
        while (temp != 0) {
            length++;
            temp >>= 8;
        }
        return toHexString(value, length);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        bytes memory buffer = new bytes(2 * length + 2);
        buffer[0] = "0";
        buffer[1] = "x";
        for (uint256 i = 2 * length + 1; i > 1; --i) {
            buffer[i] = _HEX_SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }

    /**
     * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.
     */
    function toHexString(address addr) internal pure returns (string memory) {
        return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);
    }
}

File 11 of 12 : ISoulBound.sol
// SPDX-License-Identifier: None
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/utils/introspection/IERC165.sol";

interface ISoulBound is IERC165 {
    /**
     * @dev Emitted when `tokenId` of a soulbound token is transferred from: 
     * address(0) to `to` OR `to` to address(0)
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

    /**
     * @dev Returns the total number of SoulBound tokens has been released
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the number of tokens in ``owner``'s account.
     */
    function balanceOf(address owner) external view returns (uint256 balance);

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) external view returns (address owner);

    /**
     * @dev Returns the tokenId of the `owner`.
     *
     * Requirements:
     *
     * - `owner` must own a soulbound token.
     */
    function tokenOf(address owner) external view returns (uint256);
}

File 12 of 12 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.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);
}

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

Contract ABI

[{"inputs":[{"internalType":"contract IManagement","name":"_management","type":"address"},{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"string","name":"baseURI_","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"Changed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":true,"internalType":"address","name":"owner","type":"address"}],"name":"Issued","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"requestor","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"Request","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"scores","type":"uint256[]"}],"name":"Respond","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":true,"internalType":"address","name":"owner","type":"address"}],"name":"Revoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"address","name":"_from","type":"address"},{"internalType":"address","name":"_to","type":"address"}],"name":"change","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"},{"internalType":"address[]","name":"_sources","type":"address[]"},{"internalType":"address[]","name":"_destinations","type":"address[]"}],"name":"changeBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"},{"internalType":"uint256[]","name":"_scores","type":"uint256[]"}],"name":"fullfil","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"issue","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_owners","type":"address[]"},{"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"}],"name":"issueBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"latestAnswer","outputs":[{"components":[{"internalType":"uint128","name":"scores","type":"uint128"},{"internalType":"uint32","name":"timestamp","type":"uint32"}],"internalType":"struct Reputation.Response","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_fromIndex","type":"uint256"},{"internalType":"uint256","name":"_toIndex","type":"uint256"}],"name":"linkedAccounts","outputs":[{"internalType":"address[]","name":"_accounts","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"management","outputs":[{"internalType":"contract IManagement","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"numOfLinkedAccounts","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"}],"name":"request","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"revoke","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"}],"name":"revokeBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_management","type":"address"}],"name":"setManagement","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"tokenOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]

60806040523480156200001157600080fd5b506040516200480438038062004804833981810160405281019062000037919062000397565b8282816001908051906020019062000051929190620000d1565b5080600290805190602001906200006a929190620000d1565b50505083600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508060099080519060200190620000c6929190620000d1565b5050505050620004cb565b828054620000df9062000495565b90600052602060002090601f0160209004810192826200010357600085556200014f565b82601f106200011e57805160ff19168380011785556200014f565b828001600101855582156200014f579182015b828111156200014e57825182559160200191906001019062000131565b5b5090506200015e919062000162565b5090565b5b808211156200017d57600081600090555060010162000163565b5090565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620001c28262000195565b9050919050565b6000620001d682620001b5565b9050919050565b620001e881620001c9565b8114620001f457600080fd5b50565b6000815190506200020881620001dd565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b620002638262000218565b810181811067ffffffffffffffff8211171562000285576200028462000229565b5b80604052505050565b60006200029a62000181565b9050620002a8828262000258565b919050565b600067ffffffffffffffff821115620002cb57620002ca62000229565b5b620002d68262000218565b9050602081019050919050565b60005b8381101562000303578082015181840152602081019050620002e6565b8381111562000313576000848401525b50505050565b6000620003306200032a84620002ad565b6200028e565b9050828152602081018484840111156200034f576200034e62000213565b5b6200035c848285620002e3565b509392505050565b600082601f8301126200037c576200037b6200020e565b5b81516200038e84826020860162000319565b91505092915050565b60008060008060808587031215620003b457620003b36200018b565b5b6000620003c487828801620001f7565b945050602085015167ffffffffffffffff811115620003e857620003e762000190565b5b620003f68782880162000364565b935050604085015167ffffffffffffffff8111156200041a576200041962000190565b5b620004288782880162000364565b925050606085015167ffffffffffffffff8111156200044c576200044b62000190565b5b6200045a8782880162000364565b91505092959194509250565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620004ae57607f821691505b60208210811415620004c557620004c462000466565b5b50919050565b61432980620004db6000396000f3fe608060405234801561001057600080fd5b506004361061014d5760003560e01c80636c0360eb116100c3578063989f9a1c1161007c578063989f9a1c146103c4578063aca8192c146103e0578063c87b56dd146103fc578063d4a22bde1461042c578063e121bad314610448578063f7690221146104645761014d565b80636c0360eb146102ee5780636fccaf9d1461030c57806370a082311461033c578063867904b41461036c57806388a8d6021461038857806395d89b41146103a65761014d565b806342ec38e21161011557806342ec38e2146101f6578063540b6e7b1461022657806355f804b3146102565780636352211e14610272578063659d7486146102a2578063697cd900146102d25761014d565b806301ffc9a71461015257806306fdde0314610182578063178ba8f2146101a057806318160ddd146101bc57806320c5429b146101da575b600080fd5b61016c60048036038101906101679190612c1a565b610480565b6040516101799190612c62565b60405180910390f35b61018a6105ca565b6040516101979190612d16565b60405180910390f35b6101ba60048036038101906101b59190612d9d565b61065c565b005b6101c46107bd565b6040516101d19190612e03565b60405180910390f35b6101f460048036038101906101ef9190612e4a565b6107c6565b005b610210600480360381019061020b9190612ed5565b610940565b60405161021d9190612e03565b60405180910390f35b610240600480360381019061023b9190612e4a565b6109d2565b60405161024d9190612e03565b60405180910390f35b610270600480360381019061026b9190612f58565b6109e4565b005b61028c60048036038101906102879190612e4a565b610b0d565b6040516102999190612fb4565b60405180910390f35b6102bc60048036038101906102b79190612fcf565b610bbf565b6040516102c991906130e0565b60405180910390f35b6102ec60048036038101906102e79190613102565b610cb1565b005b6102f6610eb6565b6040516103039190612d16565b60405180910390f35b61032660048036038101906103219190612e4a565b610f44565b60405161033391906131ce565b60405180910390f35b61035660048036038101906103519190612ed5565b610fe1565b6040516103639190612e03565b60405180910390f35b610386600480360381019061038191906131e9565b611099565b005b6103906112dc565b60405161039d9190613288565b60405180910390f35b6103ae611302565b6040516103bb9190612d16565b60405180910390f35b6103de60048036038101906103d991906132a3565b611394565b005b6103fa60048036038101906103f59190612d9d565b61163d565b005b61041660048036038101906104119190612e4a565b6117d4565b6040516104239190612d16565b60405180910390f35b61044660048036038101906104419190612ed5565b61183c565b005b610462600480360381019061045d919061337a565b611a03565b005b61047e600480360381019061047991906133fb565b611bd3565b005b60007f49089610000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061054b57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806105b357507f150b7a02000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806105c357506105c282611ddb565b5b9050919050565b6060600180546105d9906134de565b80601f0160208091040260200160405190810160405280929190818152602001828054610605906134de565b80156106525780601f1061062757610100808354040283529160200191610652565b820191906000526020600020905b81548152906001019060200180831161063557829003601f168201915b5050505050905090565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166391d148547f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a66106c3611e45565b6040518363ffffffff1660e01b81526004016106e0929190613529565b60206040518083038186803b1580156106f857600080fd5b505afa15801561070c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610730919061357e565b61076f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610766906135f7565b60405180910390fd5b600082829050905060005b818110156107b7576107a484848381811061079857610797613617565b5b905060200201356107c6565b80806107af90613675565b91505061077a565b50505050565b60008054905090565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166391d148547f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a661082d611e45565b6040518363ffffffff1660e01b815260040161084a929190613529565b60206040518083038186803b15801561086257600080fd5b505afa158015610876573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061089a919061357e565b6108d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108d0906135f7565b60405180910390fd5b6108e281611e4d565b60006108ed82610b0d565b90506108f882611e98565b8073ffffffffffffffffffffffffffffffffffffffff16827f0819476e55ffbe23df64353d5f7898429609397cc93c44300b058b51648f787860405160405180910390a35050565b600080600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905060008114156109c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109c090613730565b60405180910390fd5b80915050919050565b60006109dd82611fc1565b9050919050565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166391d148547f241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b08610a4b611e45565b6040518363ffffffff1660e01b8152600401610a68929190613529565b60206040518083038186803b158015610a8057600080fd5b505afa158015610a94573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ab8919061357e565b610af7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aee9061379c565b60405180910390fd5b818160099190610b08929190612ae3565b505050565b6000806003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610bb6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bad90613808565b60405180910390fd5b80915050919050565b6060600060018484610bd19190613828565b610bdb919061385c565b90508067ffffffffffffffff811115610bf757610bf66138b2565b5b604051908082528060200260200182016040528015610c255781602001602082028036833780820191505090505b50915060005b81811015610ca857610c48868287610c43919061385c565b611fe5565b838281518110610c5b57610c5a613617565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250508080610ca090613675565b915050610c2b565b50509392505050565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166391d148547f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6610d18611e45565b6040518363ffffffff1660e01b8152600401610d35929190613529565b60206040518083038186803b158015610d4d57600080fd5b505afa158015610d61573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d85919061357e565b610dc4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dbb906135f7565b60405180910390fd5b610dcd83611e4d565b8173ffffffffffffffffffffffffffffffffffffffff16610ded84610b0d565b73ffffffffffffffffffffffffffffffffffffffff1614610e43576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e3a90613953565b60405180910390fd5b610e4c83611e98565b610e5681846120b4565b8073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16847fea6e56d650e030076630967b66b4873ccacb01c1848150665fed1efc5f5e241f60405160405180910390a4505050565b60098054610ec3906134de565b80601f0160208091040260200160405190810160405280929190818152602001828054610eef906134de565b8015610f3c5780601f10610f1157610100808354040283529160200191610f3c565b820191906000526020600020905b815481529060010190602001808311610f1f57829003601f168201915b505050505081565b610f4c612b69565b600860008381526020019081526020016000206040518060400160405290816000820160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1681526020016000820160109054906101000a900463ffffffff1663ffffffff1663ffffffff16815250509050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611052576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611049906139e5565b60405180910390fd5b600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166391d148547f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6611100611e45565b6040518363ffffffff1660e01b815260040161111d929190613529565b60206040518083038186803b15801561113557600080fd5b505afa158015611149573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061116d919061357e565b6111ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111a3906135f7565b60405180910390fd5b60003073ffffffffffffffffffffffffffffffffffffffff166342ec38e2846040518263ffffffff1660e01b81526004016111e79190612fb4565b60206040518083038186803b1580156111ff57600080fd5b505afa92505050801561123057506040513d601f19601f8201168201806040525081019061122d9190613a1a565b60015b6112395761123e565b809150505b6000811461128957808214611288576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161127f90613ab9565b60405180910390fd5b5b61129383836120b4565b8273ffffffffffffffffffffffffffffffffffffffff16827f77e191429f36211c964f6a7ae48f443f6560fe55e925c946ae18916222f093c760405160405180910390a3505050565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b606060028054611311906134de565b80601f016020809104026020016040519081016040528092919081815260200182805461133d906134de565b801561138a5780601f1061135f5761010080835404028352916020019161138a565b820191906000526020600020905b81548152906001019060200180831161136d57829003601f168201915b5050505050905090565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166391d148547f97667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b9296113fb611e45565b6040518363ffffffff1660e01b8152600401611418929190613529565b60206040518083038186803b15801561143057600080fd5b505afa158015611444573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611468919061357e565b6114a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161149e90613b25565b60405180910390fd5b60008484905090508083839050146114f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114eb90613b91565b60405180910390fd5b60004290506000805b838110156115d85787878281811061151857611517613617565b5b90506020020135915061152a82611e4d565b85858281811061153d5761153c613617565b5b905060200201356008600084815260200190815260200160002060000160006101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff160217905550826008600084815260200190815260200160002060000160106101000a81548163ffffffff021916908363ffffffff16021790555080806115d090613675565b9150506114fd565b506115e1611e45565b73ffffffffffffffffffffffffffffffffffffffff167f747edd7228d327138b18386e7649f5baf53dfbbbc5c21197e95c468643929b128888888860405161162c9493929190613c32565b60405180910390a250505050505050565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f9f92be4611683611e45565b6040518263ffffffff1660e01b815260040161169f9190612fb4565b60206040518083038186803b1580156116b757600080fd5b505afa1580156116cb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116ef919061357e565b1561172f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161172690613cb9565b60405180910390fd5b600082829050905060005b818110156117775761176484848381811061175857611757613617565b5b90506020020135611e4d565b808061176f90613675565b91505061173a565b50611780611e45565b73ffffffffffffffffffffffffffffffffffffffff167fff0cebf165e713fbeadb8eceed4670f0f353633ddd48b3444af86dd0e7913dcb84846040516117c7929190613cd9565b60405180910390a2505050565b60606117df82611e4d565b60006117e96120d2565b905060008151116118095760405180602001604052806000815250611834565b8061181384612164565b604051602001611824929190613d39565b6040516020818303038152906040525b915050919050565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166391d148547f241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b086118a3611e45565b6040518363ffffffff1660e01b81526004016118c0929190613529565b60206040518083038186803b1580156118d857600080fd5b505afa1580156118ec573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611910919061357e565b61194f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119469061379c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156119bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119b690613da9565b60405180910390fd5b80600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166391d148547f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6611a6a611e45565b6040518363ffffffff1660e01b8152600401611a87929190613529565b60206040518083038186803b158015611a9f57600080fd5b505afa158015611ab3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ad7919061357e565b611b16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b0d906135f7565b60405180910390fd5b6000848490509050808383905014611b63576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b5a90613b91565b60405180910390fd5b60005b81811015611bcb57611bb8868683818110611b8457611b83613617565b5b9050602002016020810190611b999190612ed5565b858584818110611bac57611bab613617565b5b90506020020135611099565b8080611bc390613675565b915050611b66565b505050505050565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166391d148547f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6611c3a611e45565b6040518363ffffffff1660e01b8152600401611c57929190613529565b60206040518083038186803b158015611c6f57600080fd5b505afa158015611c83573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ca7919061357e565b611ce6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cdd906135f7565b60405180910390fd5b60008686905090508085859050148015611d0257508083839050145b611d41576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d3890613b91565b60405180910390fd5b60005b81811015611dd157611dbe888883818110611d6257611d61613617565b5b90506020020135878784818110611d7c57611d7b613617565b5b9050602002016020810190611d919190612ed5565b868685818110611da457611da3613617565b5b9050602002016020810190611db99190612ed5565b610cb1565b8080611dc990613675565b915050611d44565b5050505050505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b611e56816122c5565b611e95576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e8c90613808565b60405180910390fd5b50565b6000611ea382610b0d565b9050611eb181600084612331565b6001600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611f019190613828565b925050819055506003600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055600080815480929190611f5090613dc9565b919050555081600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611fbd81600084612421565b5050565b6000611fde60046000848152602001908152602001600020612426565b9050919050565b600080611ff184611fc1565b90506000811415612037576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161202e90613e65565b60405180910390fd5b6001816120449190613828565b831115612086576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161207d90613ed1565b60405180910390fd5b6120ab836004600087815260200190815260200160002061243b90919063ffffffff16565b91505092915050565b6120ce828260405180602001604052806000815250612455565b5050565b6060600980546120e1906134de565b80601f016020809104026020016040519081016040528092919081815260200182805461210d906134de565b801561215a5780601f1061212f5761010080835404028352916020019161215a565b820191906000526020600020905b81548152906001019060200180831161213d57829003601f168201915b5050505050905090565b606060008214156121ac576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506122c0565b600082905060005b600082146121de5780806121c790613675565b915050600a826121d79190613f20565b91506121b4565b60008167ffffffffffffffff8111156121fa576121f96138b2565b5b6040519080825280601f01601f19166020018201604052801561222c5781602001600182028036833780820191505090505b5090505b600085146122b9576001826122459190613828565b9150600a856122549190613f51565b6030612260919061385c565b60f81b81838151811061227657612275613617565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856122b29190613f20565b9450612230565b8093505050505b919050565b60008073ffffffffffffffffffffffffffffffffffffffff166003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16635c975abb6040518163ffffffff1660e01b815260040160206040518083038186803b15801561239957600080fd5b505afa1580156123ad573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123d1919061357e565b15612411576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161240890613fce565b60405180910390fd5b61241c8383836124b0565b505050565b505050565b6000612434826000016124b5565b9050919050565b600061244a83600001836124c6565b60001c905092915050565b61245f83836124f1565b61246c6000848484612866565b6124ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124a290614060565b60405180910390fd5b505050565b505050565b600081600001805490509050919050565b60008260000182815481106124de576124dd613617565b5b9060005260206000200154905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612561576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612558906140f2565b60405180910390fd5b61256a816122c5565b156125aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125a19061415e565b60405180910390fd5b3073ffffffffffffffffffffffffffffffffffffffff166342ec38e2836040518263ffffffff1660e01b81526004016125e39190612fb4565b60206040518083038186803b1580156125fb57600080fd5b505afa92505050801561262c57506040513d601f19601f820116820180604052508101906126299190613a1a565b60015b61268057600061263b83610fe1565b1461267b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612672906141f0565b60405180910390fd5b6126c4565b8181146126c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126b9906141f0565b60405180910390fd5b505b6126d060008383612331565b6001600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612720919061385c565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506127e282600460008481526020019081526020016000206129fd90919063ffffffff16565b506000808154809291906127f590613675565b9190505550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461286260008383612421565b5050565b60006128878473ffffffffffffffffffffffffffffffffffffffff16612a2d565b156129f0578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026128b0611e45565b8786866040518563ffffffff1660e01b81526004016128d29493929190614265565b602060405180830381600087803b1580156128ec57600080fd5b505af192505050801561291d57506040513d601f19601f8201168201806040525081019061291a91906142c6565b60015b6129a0573d806000811461294d576040519150601f19603f3d011682016040523d82523d6000602084013e612952565b606091505b50600081511415612998576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161298f90614060565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506129f5565b600190505b949350505050565b6000612a25836000018373ffffffffffffffffffffffffffffffffffffffff1660001b612a50565b905092915050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6000612a5c8383612ac0565b612ab5578260000182908060018154018082558091505060019003906000526020600020016000909190919091505582600001805490508360010160008481526020019081526020016000208190555060019050612aba565b600090505b92915050565b600080836001016000848152602001908152602001600020541415905092915050565b828054612aef906134de565b90600052602060002090601f016020900481019282612b115760008555612b58565b82601f10612b2a57803560ff1916838001178555612b58565b82800160010185558215612b58579182015b82811115612b57578235825591602001919060010190612b3c565b5b509050612b659190612b9b565b5090565b604051806040016040528060006fffffffffffffffffffffffffffffffff168152602001600063ffffffff1681525090565b5b80821115612bb4576000816000905550600101612b9c565b5090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612bf781612bc2565b8114612c0257600080fd5b50565b600081359050612c1481612bee565b92915050565b600060208284031215612c3057612c2f612bb8565b5b6000612c3e84828501612c05565b91505092915050565b60008115159050919050565b612c5c81612c47565b82525050565b6000602082019050612c776000830184612c53565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612cb7578082015181840152602081019050612c9c565b83811115612cc6576000848401525b50505050565b6000601f19601f8301169050919050565b6000612ce882612c7d565b612cf28185612c88565b9350612d02818560208601612c99565b612d0b81612ccc565b840191505092915050565b60006020820190508181036000830152612d308184612cdd565b905092915050565b600080fd5b600080fd5b600080fd5b60008083601f840112612d5d57612d5c612d38565b5b8235905067ffffffffffffffff811115612d7a57612d79612d3d565b5b602083019150836020820283011115612d9657612d95612d42565b5b9250929050565b60008060208385031215612db457612db3612bb8565b5b600083013567ffffffffffffffff811115612dd257612dd1612bbd565b5b612dde85828601612d47565b92509250509250929050565b6000819050919050565b612dfd81612dea565b82525050565b6000602082019050612e186000830184612df4565b92915050565b612e2781612dea565b8114612e3257600080fd5b50565b600081359050612e4481612e1e565b92915050565b600060208284031215612e6057612e5f612bb8565b5b6000612e6e84828501612e35565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612ea282612e77565b9050919050565b612eb281612e97565b8114612ebd57600080fd5b50565b600081359050612ecf81612ea9565b92915050565b600060208284031215612eeb57612eea612bb8565b5b6000612ef984828501612ec0565b91505092915050565b60008083601f840112612f1857612f17612d38565b5b8235905067ffffffffffffffff811115612f3557612f34612d3d565b5b602083019150836001820283011115612f5157612f50612d42565b5b9250929050565b60008060208385031215612f6f57612f6e612bb8565b5b600083013567ffffffffffffffff811115612f8d57612f8c612bbd565b5b612f9985828601612f02565b92509250509250929050565b612fae81612e97565b82525050565b6000602082019050612fc96000830184612fa5565b92915050565b600080600060608486031215612fe857612fe7612bb8565b5b6000612ff686828701612e35565b935050602061300786828701612e35565b925050604061301886828701612e35565b9150509250925092565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61305781612e97565b82525050565b6000613069838361304e565b60208301905092915050565b6000602082019050919050565b600061308d82613022565b613097818561302d565b93506130a28361303e565b8060005b838110156130d35781516130ba888261305d565b97506130c583613075565b9250506001810190506130a6565b5085935050505092915050565b600060208201905081810360008301526130fa8184613082565b905092915050565b60008060006060848603121561311b5761311a612bb8565b5b600061312986828701612e35565b935050602061313a86828701612ec0565b925050604061314b86828701612ec0565b9150509250925092565b60006fffffffffffffffffffffffffffffffff82169050919050565b61317a81613155565b82525050565b600063ffffffff82169050919050565b61319981613180565b82525050565b6040820160008201516131b56000850182613171565b5060208201516131c86020850182613190565b50505050565b60006040820190506131e3600083018461319f565b92915050565b60008060408385031215613200576131ff612bb8565b5b600061320e85828601612ec0565b925050602061321f85828601612e35565b9150509250929050565b6000819050919050565b600061324e61324961324484612e77565b613229565b612e77565b9050919050565b600061326082613233565b9050919050565b600061327282613255565b9050919050565b61328281613267565b82525050565b600060208201905061329d6000830184613279565b92915050565b600080600080604085870312156132bd576132bc612bb8565b5b600085013567ffffffffffffffff8111156132db576132da612bbd565b5b6132e787828801612d47565b9450945050602085013567ffffffffffffffff81111561330a57613309612bbd565b5b61331687828801612d47565b925092505092959194509250565b60008083601f84011261333a57613339612d38565b5b8235905067ffffffffffffffff81111561335757613356612d3d565b5b60208301915083602082028301111561337357613372612d42565b5b9250929050565b6000806000806040858703121561339457613393612bb8565b5b600085013567ffffffffffffffff8111156133b2576133b1612bbd565b5b6133be87828801613324565b9450945050602085013567ffffffffffffffff8111156133e1576133e0612bbd565b5b6133ed87828801612d47565b925092505092959194509250565b6000806000806000806060878903121561341857613417612bb8565b5b600087013567ffffffffffffffff81111561343657613435612bbd565b5b61344289828a01612d47565b9650965050602087013567ffffffffffffffff81111561346557613464612bbd565b5b61347189828a01613324565b9450945050604087013567ffffffffffffffff81111561349457613493612bbd565b5b6134a089828a01613324565b92509250509295509295509295565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806134f657607f821691505b6020821081141561350a576135096134af565b5b50919050565b6000819050919050565b61352381613510565b82525050565b600060408201905061353e600083018561351a565b61354b6020830184612fa5565b9392505050565b61355b81612c47565b811461356657600080fd5b50565b60008151905061357881613552565b92915050565b60006020828403121561359457613593612bb8565b5b60006135a284828501613569565b91505092915050565b7f4f6e6c79204d696e746572000000000000000000000000000000000000000000600082015250565b60006135e1600b83612c88565b91506135ec826135ab565b602082019050919050565b60006020820190508181036000830152613610816135d4565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061368082612dea565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156136b3576136b2613646565b5b600182019050919050565b7f536f756c426f756e643a206163636f756e74206e6f742079657420617373696760008201527f6e6564206120736f756c626f756e640000000000000000000000000000000000602082015250565b600061371a602f83612c88565b9150613725826136be565b604082019050919050565b600060208201905081810360008301526137498161370d565b9050919050565b7f4f6e6c79204d616e616765720000000000000000000000000000000000000000600082015250565b6000613786600c83612c88565b915061379182613750565b602082019050919050565b600060208201905081810360008301526137b581613779565b9050919050565b7f536f756c426f756e643a20696e76616c696420736f756c626f756e6420494400600082015250565b60006137f2601f83612c88565b91506137fd826137bc565b602082019050919050565b60006020820190508181036000830152613821816137e5565b9050919050565b600061383382612dea565b915061383e83612dea565b92508282101561385157613850613646565b5b828203905092915050565b600061386782612dea565b915061387283612dea565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156138a7576138a6613646565b5b828201905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f536f75726365206163636f756e74206e6f74206f776e732074686520736f756c60008201527f626f756e64206964000000000000000000000000000000000000000000000000602082015250565b600061393d602883612c88565b9150613948826138e1565b604082019050919050565b6000602082019050818103600083015261396c81613930565b9050919050565b7f536f756c426f756e643a2061646472657373207a65726f206973206e6f74206160008201527f2076616c6964206f776e65720000000000000000000000000000000000000000602082015250565b60006139cf602c83612c88565b91506139da82613973565b604082019050919050565b600060208201905081810360008301526139fe816139c2565b9050919050565b600081519050613a1481612e1e565b92915050565b600060208284031215613a3057613a2f612bb8565b5b6000613a3e84828501613a05565b91505092915050565b7f556e61626c6520746f2061737369676e2061206e657720696420746f2065786960008201527f737465642070726f66696c650000000000000000000000000000000000000000602082015250565b6000613aa3602c83612c88565b9150613aae82613a47565b604082019050919050565b60006020820190508181036000830152613ad281613a96565b9050919050565b7f4f6e6c79204f70657261746f7200000000000000000000000000000000000000600082015250565b6000613b0f600d83612c88565b9150613b1a82613ad9565b602082019050919050565b60006020820190508181036000830152613b3e81613b02565b9050919050565b7f4c656e677468206d69736d617463680000000000000000000000000000000000600082015250565b6000613b7b600f83612c88565b9150613b8682613b45565b602082019050919050565b60006020820190508181036000830152613baa81613b6e565b9050919050565b600082825260208201905092915050565b600080fd5b82818337600083830152505050565b6000613be28385613bb1565b93507f07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff831115613c1557613c14613bc2565b5b602083029250613c26838584613bc7565b82840190509392505050565b60006040820190508181036000830152613c4d818688613bd6565b90508181036020830152613c62818486613bd6565b905095945050505050565b7f426c61636b6c6973740000000000000000000000000000000000000000000000600082015250565b6000613ca3600983612c88565b9150613cae82613c6d565b602082019050919050565b60006020820190508181036000830152613cd281613c96565b9050919050565b60006020820190508181036000830152613cf4818486613bd6565b90509392505050565b600081905092915050565b6000613d1382612c7d565b613d1d8185613cfd565b9350613d2d818560208601612c99565b80840191505092915050565b6000613d458285613d08565b9150613d518284613d08565b91508190509392505050565b7f556e61626c6520746f20736574203078303020746f204d616e6167656d656e74600082015250565b6000613d93602083612c88565b9150613d9e82613d5d565b602082019050919050565b60006020820190508181036000830152613dc281613d86565b9050919050565b6000613dd482612dea565b91506000821415613de857613de7613646565b5b600182039050919050565b7f536f756c426f756e643a206964206e6f74206c696e6b656420746f20616e792060008201527f6163636f756e7473000000000000000000000000000000000000000000000000602082015250565b6000613e4f602883612c88565b9150613e5a82613df3565b604082019050919050565b60006020820190508181036000830152613e7e81613e42565b9050919050565b7f536f756c426f756e643a20696e646578206f7574206f6620626f756e64730000600082015250565b6000613ebb601e83612c88565b9150613ec682613e85565b602082019050919050565b60006020820190508181036000830152613eea81613eae565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613f2b82612dea565b9150613f3683612dea565b925082613f4657613f45613ef1565b5b828204905092915050565b6000613f5c82612dea565b9150613f6783612dea565b925082613f7757613f76613ef1565b5b828206905092915050565b7f5061757365640000000000000000000000000000000000000000000000000000600082015250565b6000613fb8600683612c88565b9150613fc382613f82565b602082019050919050565b60006020820190508181036000830152613fe781613fab565b9050919050565b7f536f756c426f756e643a207472616e7366657220746f206e6f6e20455243373260008201527f31526563656976657220696d706c656d656e7465720000000000000000000000602082015250565b600061404a603583612c88565b915061405582613fee565b604082019050919050565b600060208201905081810360008301526140798161403d565b9050919050565b7f536f756c426f756e643a206d696e7420746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b60006140dc602383612c88565b91506140e782614080565b604082019050919050565b6000602082019050818103600083015261410b816140cf565b9050919050565b7f536f756c426f756e643a20746f6b656e20616c7265616479206d696e74656400600082015250565b6000614148601f83612c88565b915061415382614112565b602082019050919050565b600060208201905081810360008301526141778161413b565b9050919050565b7f536f756c426f756e643a206164647265737320616c726561647920617373696760008201527f6e6564206120736f756c626f756e640000000000000000000000000000000000602082015250565b60006141da602f83612c88565b91506141e58261417e565b604082019050919050565b60006020820190508181036000830152614209816141cd565b9050919050565b600081519050919050565b600082825260208201905092915050565b600061423782614210565b614241818561421b565b9350614251818560208601612c99565b61425a81612ccc565b840191505092915050565b600060808201905061427a6000830187612fa5565b6142876020830186612fa5565b6142946040830185612df4565b81810360608301526142a6818461422c565b905095945050505050565b6000815190506142c081612bee565b92915050565b6000602082840312156142dc576142db612bb8565b5b60006142ea848285016142b1565b9150509291505056fea26469706673582212204855fa3bfe141cfbd7998fe1e707b3b5f344815621a96bbf20444b79b0cb47b964736f6c634300080900330000000000000000000000004dc69dd4601d37bf8141a563dc26394a2a7a6810000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000154f6374616e20536f756c426f756e6420546f6b656e000000000000000000000000000000000000000000000000000000000000000000000000000000000000044f53425400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b68747470733a2f2f6f6374616e2e696f2f736f756c626f756e642f0000000000

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

0000000000000000000000004dc69dd4601d37bf8141a563dc26394a2a7a6810000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000154f6374616e20536f756c426f756e6420546f6b656e000000000000000000000000000000000000000000000000000000000000000000000000000000000000044f53425400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b68747470733a2f2f6f6374616e2e696f2f736f756c626f756e642f0000000000

-----Decoded View---------------
Arg [0] : _management (address): 0x4dc69dd4601d37bf8141a563dc26394a2a7a6810
Arg [1] : _name (string): Octan SoulBound Token
Arg [2] : _symbol (string): OSBT
Arg [3] : baseURI_ (string): https://octan.io/soulbound/

-----Encoded View---------------
10 Constructor Arguments found :
Arg [0] : 0000000000000000000000004dc69dd4601d37bf8141a563dc26394a2a7a6810
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000015
Arg [5] : 4f6374616e20536f756c426f756e6420546f6b656e0000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [7] : 4f53425400000000000000000000000000000000000000000000000000000000
Arg [8] : 000000000000000000000000000000000000000000000000000000000000001b
Arg [9] : 68747470733a2f2f6f6374616e2e696f2f736f756c626f756e642f0000000000


Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.