Contract 0x1dcc0fbb80d2c6a62ee35835e03c98924d413153 1

 
 
Txn Hash
Method
Block
From
To
Value [Txn Fee]
0xa237d0837977b9b5350603ca002588c3253a6b0c25aefa8fb5e911a331e043deClaim432393912023-05-28 6:46:511 min ago patrick36.wallet  IN  0x1dcc0fbb80d2c6a62ee35835e03c98924d4131530 MATIC0.065119137624 240.382496824
0x8c443e2d2b27d71675436dba0155e8cc2303bbd9268051edde217f8983a83d0cClaim432393822023-05-28 6:46:332 mins ago cnalice79.wallet  IN  0x1dcc0fbb80d2c6a62ee35835e03c98924d4131530 MATIC0.070258741464 259.36645476
0x444cbc868c3f0b8c7c431c9541adfb0fe18108886534bc8d6bcc212b9e570615Claim432393732023-05-28 6:46:132 mins ago isabella42.wallet  IN  0x1dcc0fbb80d2c6a62ee35835e03c98924d4131530 MATIC0.06622887829 244.479022696
0x4a3b41f013c0886bb7545511023eb70efbc45985da05d4a29e13091d1b24a52eClaim432393602023-05-28 6:45:472 mins ago0x90d83b801ea3d72e4986162f20828a6d08d7f5ab IN  0x1dcc0fbb80d2c6a62ee35835e03c98924d4131530 MATIC0.064138104824 236.782064077
0xb9529cc8df1fd1c06d82416357ba20bf3206feeeae2f219be4684689fa1db4aaClaim432392812023-05-28 6:42:595 mins ago0xabc7166386274490dbcf4079d7a1259faf45c39b IN  0x1dcc0fbb80d2c6a62ee35835e03c98924d4131530 MATIC0.053395542478 197.105709451
0x62996170db672bf56e812f042a7e60637771ad43c8a777c966a2b7742937d1d8Claim432392792023-05-28 6:42:535 mins ago0x265e6852321b7d71993e02eb8be09e2903c9ac4e IN  0x1dcc0fbb80d2c6a62ee35835e03c98924d4131530 MATIC0.051895933258 191.578498921
0x3f1fbc5407dbb568e2f68907aadfd0f299b7d1b0c133a6bd01906ab70ca1e835Claim432392462023-05-28 6:41:437 mins ago victoria80.wallet  IN  0x1dcc0fbb80d2c6a62ee35835e03c98924d4131530 MATIC0.048241831013 178.081163439
0xf17c43144e12b28b76ca4139dd7ff50b370aca6e0cea2660cc878cfa67593a2fClaim432392082023-05-28 6:40:238 mins ago dianeity24.wallet  IN  0x1dcc0fbb80d2c6a62ee35835e03c98924d4131530 MATIC0.0528088354 194.939923516
0x3065a023c8f7470add448d16996ba4df62f8dc748ac68e8d6169dd07e5acfb8eClaim432391982023-05-28 6:40:018 mins ago lgethan14.wallet  IN  0x1dcc0fbb80d2c6a62ee35835e03c98924d4131530 MATIC0.046869101257 173.013832724
0xb4e5679ccadc41389d2e3d309cdbd5ecb94e50a88a1fc1ef1370071530d8589fClaim432391892023-05-28 6:39:439 mins ago0xc6daa791261e7c31abd26307174852d5c72243f9 IN  0x1dcc0fbb80d2c6a62ee35835e03c98924d4131530 MATIC0.049577497595 183.019785429
0x32ac39e667ce0a27966a8fef97c0cff525d19bae24c883a87acb38754e27062fClaim432389302023-05-28 6:30:3018 mins ago0x901b1d227e6dcf9217bf613f7345758fc6e18ac3 IN  0x1dcc0fbb80d2c6a62ee35835e03c98924d4131530 MATIC0.041097020769 151.706623046
0x86e72e66abcf34b9a36dfecfa5bfc610ebc884a9f8deab74df5c6737f342c77eClaim432388892023-05-28 6:29:0219 mins ago0x24f876bd4fbc38bac07abc75075132096a8fc036 IN  0x1dcc0fbb80d2c6a62ee35835e03c98924d4131530 MATIC0.039303365089145.091902458
0x3741fed8f410968df57de832c213ae2b372d8f72c64216c66f8bc46fe3719eeaClaim432386722023-05-28 6:21:2227 mins ago0xa6a55394d25ec4543691b7e94d72dac3b2a11617 IN  0x1dcc0fbb80d2c6a62ee35835e03c98924d4131530 MATIC0.036101617182133.266458897
0xa59c7e163ae718ee96afb211debefeafa4e5bded697491b52d081206cbad5f52Claim432384092023-05-28 6:11:5936 mins ago0xc4f54902ea7e7839f63a6a49fa348e7018ba3faa IN  0x1dcc0fbb80d2c6a62ee35835e03c98924d4131530 MATIC0.043134753789 159.235817979
0x8a89ccf412e922462245108fbfbe3a71f72eb4815a5b9219cf0ea4d1e4d60546Claim432381882023-05-28 6:04:0944 mins ago0xd05cad3f31002be52f522566b8d6d3254028b05c IN  0x1dcc0fbb80d2c6a62ee35835e03c98924d4131530 MATIC0.041771975379 154.198168237
0x61bf7ccc7392fc750b4cae21e40651ade003e582c798a149e731b745e42cfb6cClaim432381652023-05-28 6:03:2145 mins ago0xdb0a571069769b9aca3d3f7d5027df78d08c8bd7 IN  0x1dcc0fbb80d2c6a62ee35835e03c98924d4131530 MATIC0.041093193839 151.692496216
0x1b71e15317b2e535f4bc97d41a3bbb35ba9e387a87bfa9e3f3ca0618e0a32eafClaim432381392023-05-28 6:02:1846 mins ago0xc363bae306a226cd75664615a59058290ab111c0 IN  0x1dcc0fbb80d2c6a62ee35835e03c98924d4131530 MATIC0.045146392407 166.661962624
0xcc73d3da8d4ecf454805c61eca842fd8731a73c470023ae728d80d19d720eec2Claim432380772023-05-28 5:59:4249 mins ago0xa2970917326512da780f4fa6920c4b232b182ec5 IN  0x1dcc0fbb80d2c6a62ee35835e03c98924d4131530 MATIC0.038273589646 141.284135159
0x61f9feb4d67cef265d50b5f530c2204519dc14fd005e615efa952a7a6623f3b4Claim432380192023-05-28 5:57:4051 mins ago0x4815c1c869576f9085cc26a7421323ff6a33f4d7 IN  0x1dcc0fbb80d2c6a62ee35835e03c98924d4131530 MATIC0.038254419967 141.213371703
0x18da500dcfa52b4243eefc3bd07de8fb7cc08de64792d9a15c64c429041f8bddClaim432379472023-05-28 5:54:5853 mins ago0x5e72880d6a99305888f1080632faec4d227c7f25 IN  0x1dcc0fbb80d2c6a62ee35835e03c98924d4131530 MATIC0.048663103663 179.644218096
0xc3b0ea6130c5d4b7498d9cddbf562cafacf81f37ec61e216cb9dd7c875c69fb9Claim432379162023-05-28 5:53:2455 mins ago0xf10fbc0b159ca089be879c137ac278edcd53a592 IN  0x1dcc0fbb80d2c6a62ee35835e03c98924d4131530 MATIC0.03879878205 152.87268635
0x35ffc468c4a8eabc8629d6ea1629e940dda1d9b06a87796b65f7ab2ba61ef24bClaim432379022023-05-28 5:52:5455 mins ago0x08760dc5e12223151515c7716e1b90904c509c29 IN  0x1dcc0fbb80d2c6a62ee35835e03c98924d4131530 MATIC0.042697472926 157.614574218
0x66276b33fccd9c29ccfcb9e53c4630ebef70ad6932395a3344f2d653cb713ed9Claim432378772023-05-28 5:52:0256 mins ago0xf6f41bc68da6a8926ffeac8f7804b31ae2f7b522 IN  0x1dcc0fbb80d2c6a62ee35835e03c98924d4131530 MATIC0.037327550563137.791901616
0xb1c1f0e89dad0ebcdc32c0ca9bbe6d49eef985f2f2f242683803deab727c3e0bClaim432378642023-05-28 5:51:3457 mins ago lunchann73.wallet  IN  0x1dcc0fbb80d2c6a62ee35835e03c98924d4131530 MATIC0.038233398054 141.142023045
0x22ad0d78c9d42ecd423cbdb2b5a70f7fad3a8130b4af12d371d95e91ce98047bClaim432378632023-05-28 5:51:3257 mins ago caldenise96.wallet  IN  0x1dcc0fbb80d2c6a62ee35835e03c98924d4131530 MATIC0.038333881841 141.512967969
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Similar Match Source Code
Note: This contract matches the deployed ByteCode of the Source Code for Contract 0xae629977B3A155df00dF1F58184E874a47619714

Contract Name:
RelationMedal

Compiler Version
v0.8.12+commit.f00d7308

Optimization Enabled:
Yes with 1 runs

Other Settings:
default evmVersion
File 1 of 18 : RelationMedal.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/proxy/utils/Initializable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721.sol";

import "../../core/SemanticSBTCore.sol";
import "../../core/SemanticBaseStruct.sol";

contract RelationMedal is Ownable, Initializable,SemanticSBCore {
    using Strings for uint256;
    using Strings for address;

    struct Signature {
        uint8 _v;
        bytes32 _r;
        bytes32 _s;
    }


    bytes32 constant MINT_ROLE = 0x0000000000000000000000000000000000000000000000000000000000000001;



    mapping(address => mapping(uint256 => mapping(uint256 => bool))) public _ownedSBT;


    function isOwnerOf(address account,uint256 _pIndex,uint256 _oIndex)public view returns(bool){
        return _ownedSBT[account][_pIndex][_oIndex];
    }



    function claim(Signature memory signature, uint256 expireTime, uint256 _pIndex,uint256 _oIndex) external{
        require(!_ownedSBT[msg.sender][_pIndex][_oIndex], "You have successfully claimed it");
        require(expireTime > block.timestamp, "Signature data expired");
        string memory originalData = string.concat(
                address(this).toHexString(),
                msg.sender.toHexString(),
                expireTime.toString(),
                _pIndex.toString(),
                _oIndex.toString());
        address signer = _verifyMessage(
                keccak256(abi.encodePacked(originalData)),
                signature._v,
                signature._r,
                signature._s
            );
        require(minters(signer), "SignData exception. Plz join Relation official Discord to open a ticket for support >> https://discord.gg/qmG4AHK6U5");
        SubjectPO[] memory subjectPO = new SubjectPO[](1);
        subjectPO[0] = SubjectPO(_pIndex, _oIndex);

        _mint(msg.sender, 0, new IntPO[](0), new StringPO[](0), new AddressPO[](0),
                subjectPO, new BlankNodePO[](0));
        _ownedSBT[msg.sender][_pIndex][_oIndex] = true;
    }



    /**
     * @dev See {IERC165-supportsInterface}.
     *  ISemanticSBT 0xfbafb698
     *  ISemanticSBTMetadata 0x58e23bac
     *  ISemanticSBTOperator 0x9cd23707
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override(SemanticSBCore) returns (bool) {
        return interfaceId == type(IERC721).interfaceId ||
        interfaceId == type(IERC721Metadata).interfaceId ||
        interfaceId == type(ISemanticSBT).interfaceId ||
        interfaceId == type(ISemanticSBTMetadata).interfaceId ||
        super.supportsInterface(interfaceId);
    }




    function _verifyMessage(
        bytes32 _hashedMessage,
        uint8 _v,
        bytes32 _r,
        bytes32 _s
    ) internal pure returns (address) {
        bytes memory prefix = "\x19Ethereum Signed Message:\n32";
        bytes32 prefixedHashMessage = keccak256(
            abi.encodePacked(prefix, _hashedMessage)
        );
        address signer = ecrecover(prefixedHashMessage, _v, _r, _s);
        return signer;
    }

}

File 2 of 18 : SemanticSBTCore.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;


import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol";
import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/introspection/ERC165.sol";
import "@openzeppelin/contracts/proxy/utils/Initializable.sol";
import "@openzeppelin/contracts/access/AccessControl.sol";

import "../interfaces/ISemanticSBTMetadata.sol";

import "../interfaces/ISemanticSBT.sol";
import "./SemanticBaseStruct.sol";


/**
 * @dev Implement ISemanticSBT interface
 */
contract SemanticSBCore is Ownable, Initializable, ERC165, IERC721Enumerable, ISemanticSBT, ISemanticSBTMetadata {
    using Address for address;
    using Strings for uint256;
    using Strings for uint160;

    using Strings for address;

    /* ============ State Variables ============ */

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Total number of tokens burned
    uint256 private _burnCount;

    // Array of all tokens
    SPO[] private _tokens;

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

    // Mapping from token ID to approved address
    mapping(uint256 => address) private _tokenApprovals;

    // Mapping from owner to operator approvals
    mapping(address => mapping(address => bool)) private _operatorApprovals;

    // The operator of mint,burn and add subject
    mapping(address => bool) private _minters;

    // Default not allow transfer
    bool private _transferable;


    // Array of all subject
    Subject[] private _subjects;

    // Mapping from subject to subject index
    mapping(uint256 => mapping(string => uint256)) private _subjectIndex;

    // Base token URI 
    string private _baseURI;

    // Schema URI
    string public schemaURI;


    // Mapping from class name to class index
    mapping(string => uint256) private _classIndex;
    // Array of all class name
    string[] private _classNames;

    // Mapping from predicate name to predicate index
    mapping(string => uint256) private _predicateIndex;
    // Array of all Predicate
    Predicate[] private _predicates;


    // Array of all object value with string type
    string[] _stringO;
    // Array of all object value with BlankNodeO type 
    BlankNodeO[] _blankNodeO;

    /* ============ Constant Variable ============ */

    string  constant TURTLE_LINE_SUFFIX = " ;";
    string  constant TURTLE_END_SUFFIX = " . ";
    string  constant SOUL_CLASS_NAME = "Soul";


    string  constant ENTITY_PREFIX = ":";
    string  constant PROPERTY_PREFIX = "p:";

    string  constant CONCATENATION_CHARACTER = "_";
    string  constant BLANK_NODE_START_CHARACTER = "[";
    string  constant BLANK_NODE_END_CHARACTER = "]";
    string  constant BLANK_SPACE = " ";

    /* ============ Events ============ */
    // Add new minter
    event EventMinterAdded(address indexed newMinter);

    // Remove old minter
    event EventMinterRemoved(address indexed oldMinter);

    /* ============ Modifiers ============ */

    /**
     * Only minter.
     */
    modifier onlyMinter() {
        require(_minters[msg.sender], "SemanticSBT: must be minter");
        _;
    }

    /**
     * Only allow transfer.
     */
    modifier onlyTransferable() {
        require(_transferable, "SemanticSBT: must transferable");
        _;
    }

    /**
     * @dev Initializes the contract
     */
    constructor() {
        // Initialize zero index value
        SPO memory _spo = SPO(0, 0, new uint256[](0), new uint256[](0));
        Subject memory _subject = Subject("", 0);
        _tokens.push(_spo);
        _subjects.push(_subject);

        _classNames.push("");
        _predicates.push(Predicate("", FieldType.INT));
    }

    function initialize(
        address minter,
        string memory name_,
        string memory symbol_,
        string memory baseURI_,
        string memory schemaURI_,
        string[] memory classes_,
        Predicate[] memory predicates_
    ) public initializer onlyOwner {
        require(keccak256(abi.encode(schemaURI_)) != keccak256(abi.encode("")), "SemanticSBT: schema URI cannot be empty");
        require(predicates_.length > 0, "SemanticSBT: predicate can not be empty");

        _minters[minter] = true;
        _name = name_;
        _symbol = symbol_;
        _baseURI = baseURI_;
        schemaURI = schemaURI_;

        _addClass(classes_);
        _addPredicate(predicates_);
        emit EventMinterAdded(minter);
    }


    /**
     * @dev See {IERC165-supportsInterface}.
     *  ISemanticSBT 0xfbafb698
     *  ISemanticSBTMetadata 0x58e23bac
     *  ISemanticSBTOperator 0x9cd23707
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) {
        return interfaceId == type(IERC721).interfaceId ||
        interfaceId == type(IERC721Metadata).interfaceId ||
        interfaceId == type(ISemanticSBT).interfaceId ||
        interfaceId == type(ISemanticSBTMetadata).interfaceId ||
        super.supportsInterface(interfaceId);
    }

    /**
     * @dev Is this address a minters.
     */
    function minters(address account) public view returns (bool) {
        return _minters[account];
    }

    /**
     * @dev See {ISemanticSBTOperator-transferable}.
     * Is this contract allow nft transfer.
     */
    function transferable() public view returns (bool) {
        return _transferable;
    }

    /**
     * @dev Returns the base URI for nft.
     */
    function baseURI() public view returns (string memory) {
        return _baseURI;
    }


    /**
      * @dev Get class index
     */
    function classIndex(string memory className_) public view returns (uint256 classIndex_) {
        classIndex_ = _classIndex[className_];
    }

    /**
      * @dev Get class name
     */
    function className(uint256 cIndex) public view returns (string memory name_) {
        require(cIndex > 0 && cIndex < _classNames.length, "SemanticSBT: class not exist");
        name_ = _classNames[cIndex];
    }

    /**
     * @dev Get predicate index
     */
    function predicateIndex(string memory predicateName_) public view returns (uint256 predicateIndex_) {
        predicateIndex_ = _predicateIndex[predicateName_];
    }

    /**
     * @dev Get predicate
     */
    function predicate(uint256 pIndex) public view returns (string memory name_, FieldType fieldType) {
        require(pIndex > 0 && pIndex < _predicates.length, "SemanticSBT: predicate not exist");

        Predicate memory predicate_ = _predicates[pIndex];
        name_ = predicate_.name;
        fieldType = predicate_.fieldType;
    }

    /**
     * @dev Get subject index
     */
    function subjectIndex(string memory subjectValue, string memory className_) public view returns (uint256){
        uint256 sIndex = _subjectIndex[_classIndex[className_]][subjectValue];
        require(sIndex > 0, "SemanticSBT: does not exist");
        return sIndex;
    }

    /**
     * @dev Get subject
     */
    function subject(uint256 index) public view returns (string memory subjectValue, string memory className_){
        require(index > 0 && index < _subjects.length, "SemanticSBT: does not exist");
        subjectValue = _subjects[index].value;
        className_ = _classNames[_subjects[index].cIndex];
    }

    /**
     * @dev Get token rdf
     */
    function rdfOf(uint256 tokenId) public view override returns (string memory) {
        require(_exists(tokenId), "SemanticSBT: SemanticSBT does not exist");
        return _buildRDF(_tokens[tokenId]);
    }

    /**
     * @dev Get  number of minted
     */
    function getMinted() public view returns (uint256) {
        return _tokens.length - 1;
    }

    /**
     * @dev See {IERC721Enumerable-totalSupply}.
     */
    function totalSupply() public view override returns (uint256) {
        return getMinted() - _burnCount;
    }

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     * This is implementation is O(n) and should not be
     * called by other contracts.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index)
    public
    view
    returns (uint256)
    {
        uint256 currentIndex = 0;
        for (uint256 i = 1; i < _tokens.length; i++) {
            if (address(_tokens[i].owner) == owner) {
                if (currentIndex == index) {
                    return i;
                }
                currentIndex += 1;
            }
        }
        revert("ERC721Enumerable: owner index out of bounds");
    }

    /**
     * @dev See {IERC721Enumerable-tokenByIndex}.
     * This is implementation is O(n) and should not be
     * called by other contracts.
     */
    function tokenByIndex(uint256 index)
    public
    view
    returns (uint256)
    {
        uint256 currentIndex = 0;
        for (uint256 i = 1; i < _tokens.length; i++) {
            if (_tokens[i].owner != 0) {
                if (currentIndex == index) {
                    return i;
                }
                currentIndex += 1;
            }
        }
        revert("ERC721Enumerable: token index out of bounds");
    }

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner)
    public
    view
    override
    returns (uint256)
    {
        require(
            owner != address(0),
            "ERC721: balance query for the zero address"
        );
        return _balances[owner];
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId)
    public
    view
    override
    returns (address)
    {
        require(
            _exists(tokenId),
            "ERC721: owner query for nonexistent token"
        );
        return address(_tokens[tokenId].owner);
    }

    /**
     * @dev See {ISemanticSBT-isOwnerOf}.
     */
    function isOwnerOf(address account, uint256 id)
    public
    view
    returns (bool)
    {
        address owner = ownerOf(id);
        return owner == account;
    }

    /**
     * @dev See {IERC721Metadata-name}.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev See {IERC721Metadata-symbol}.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId)
    public
    view
    override
    returns (string memory)
    {
        require(
            _exists(tokenId),
            "ERC721Metadata: URI query for nonexistent token"
        );
        return
        bytes(_baseURI).length > 0
        ? string(abi.encodePacked(_baseURI, tokenId.toString(), ".json"))
        : "";
    }


    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public override {
        address owner = ownerOf(tokenId);
        require(to != owner, "ERC721: approval to current owner");

        require(
            _msgSender() == owner || isApprovedForAll(owner, _msgSender()),
            "ERC721: approve caller is not owner nor approved for all"
        );

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId)
    public
    view
    override
    returns (address)
    {
        require(
            _exists(tokenId),
            "ERC721: approved query for nonexistent token"
        );
        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved)
    public
    override
    {
        require(operator != _msgSender(), "ERC721: approve to caller");

        _operatorApprovals[_msgSender()][operator] = approved;
        emit ApprovalForAll(_msgSender(), operator, approved);
    }

    /**
     * @dev See {IERC721-isApprovedForAll}.
     */
    function isApprovedForAll(address owner, address operator)
    public
    view
    override
    returns (bool)
    {
        return _operatorApprovals[owner][operator];
    }

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public onlyTransferable override {
        //solhint-disable-next-line max-line-length
        require(
            _isApprovedOrOwner(_msgSender(), tokenId),
            "ERC721: transfer caller is not owner nor approved"
        );

        _transfer(from, to, tokenId);
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public onlyTransferable override {
        safeTransferFrom(from, to, tokenId, "");
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public onlyTransferable override {
        require(
            _isApprovedOrOwner(_msgSender(), tokenId),
            "ERC721: transfer caller is not owner nor approved"
        );
        _safeTransfer(from, to, tokenId, _data);
    }

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * `_data` is additional data, it has no specified format and it is sent in call to `to`.
     *
     * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
     * implement alternative mechanisms to perform token transfer, such as signature-based.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeTransfer(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal {
        _transfer(from, to, tokenId);
        require(
            _checkOnERC721Received(from, to, tokenId, _data),
            "ERC721: transfer to non ERC721Receiver implementer"
        );
    }

    /**
     * @dev Returns whether `tokenId` exists.
     *
     * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
     *
     * Tokens  existing when they are minted (`_mint`),
     * and stop existing when they are burned (`_burn`).
     */
    function _exists(uint256 tokenId) internal view returns (bool) {
        return tokenId > 0 && tokenId <= getMinted() && _tokens[tokenId].owner != 0x0;
    }

    /**
     * @dev Returns whether `spender` is allowed to manage `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _isApprovedOrOwner(address spender, uint256 tokenId)
    internal
    view
    returns (bool)
    {
        address owner = ownerOf(tokenId);
        return (spender == owner ||
        getApproved(tokenId) == spender ||
        isApprovedForAll(owner, spender));
    }



    /**
     * @dev add class
     * @param classList the class array
     */
    function _addClass(string[] memory classList) internal {
        for (uint256 i = 0; i < classList.length; i++) {
            string memory className_ = classList[i];
            require(
                keccak256(abi.encode(className_)) != keccak256(abi.encode("")),
                "SemanticSBT: Class cannot be empty"
            );
            require(_classIndex[className_] == 0, "SemanticSBT: already added");
            _classNames.push(className_);
            _classIndex[className_] = _classNames.length - 1;
        }
    }

    /**
     * @dev add predicate
     * @param predicates the predicate array
     */
    function _addPredicate(Predicate[] memory predicates) internal {
        for (uint256 i = 0; i < predicates.length; i++) {
            Predicate memory predicate_ = predicates[i];
            require(
                keccak256(abi.encode(predicate_.name)) !=
                keccak256(abi.encode("")),
                "SemanticSBT: predicate cannot be empty"
            );
            require(_predicateIndex[predicate_.name] == 0, "SemanticSBT: already added");
            _predicates.push(predicate_);
            _predicateIndex[predicate_.name] = _predicates.length - 1;
        }
    }


    function _addIntPO(uint256[] storage pIndex, uint256[] storage oIndex, IntPO[] memory intPOList) internal {
        for (uint256 i = 0; i < intPOList.length; i++) {
            IntPO memory intPO = intPOList[i];
            _checkPredicate(intPO.pIndex, FieldType.INT);
            pIndex.push(intPO.pIndex);
            oIndex.push(intPO.o);
        }
    }

    function _addStringPO(uint256[] storage pIndex, uint256[] storage oIndex, StringPO[] memory stringPOList) internal {
        for (uint256 i = 0; i < stringPOList.length; i++) {
            StringPO memory stringPO = stringPOList[i];
            _checkPredicate(stringPO.pIndex, FieldType.STRING);
            uint256 _oIndex = _stringO.length;
            _stringO.push(stringPO.o);
            pIndex.push(stringPO.pIndex);
            oIndex.push(_oIndex);
        }
    }

    function _addAddressPO(uint256[] storage pIndex, uint256[] storage oIndex, AddressPO[] memory addressPOList) internal {
        for (uint256 i = 0; i < addressPOList.length; i++) {
            AddressPO memory addressPO = addressPOList[i];
            _checkPredicate(addressPO.pIndex, FieldType.ADDRESS);
            pIndex.push(addressPO.pIndex);
            oIndex.push(uint160(addressPO.o));
        }
    }

    function _addSubjectPO(uint256[] storage pIndex, uint256[] storage oIndex, SubjectPO[] memory subjectPOList) internal {
        for (uint256 i = 0; i < subjectPOList.length; i++) {
            SubjectPO memory subjectPO = subjectPOList[i];
            _checkPredicate(subjectPO.pIndex, FieldType.SUBJECT);
            require(subjectPO.oIndex > 0 && subjectPO.oIndex < _subjects.length, "SemanticSBT: subject not exist");
            pIndex.push(subjectPO.pIndex);
            oIndex.push(subjectPO.oIndex);
        }
    }

    function _addBlankNodePO(uint256[] storage pIndex, uint256[] storage oIndex, BlankNodePO[] memory blankNodePOList) internal {
        for (uint256 i = 0; i < blankNodePOList.length; i++) {
            BlankNodePO memory blankNodePO = blankNodePOList[i];
            require(blankNodePO.pIndex < _predicates.length, "SemanticSBT: predicate not exist");

            uint256 _blankNodeOIndex = _blankNodeO.length;
            _blankNodeO.push(BlankNodeO(new uint256[](0), new uint256[](0)));
            uint256[] storage blankNodePIndex = _blankNodeO[_blankNodeOIndex].pIndex;
            uint256[] storage blankNodeOIndex = _blankNodeO[_blankNodeOIndex].oIndex;

            _addIntPO(blankNodePIndex, blankNodeOIndex, blankNodePO.intO);
            _addStringPO(blankNodePIndex, blankNodeOIndex, blankNodePO.stringO);
            _addAddressPO(blankNodePIndex, blankNodeOIndex, blankNodePO.addressO);
            _addSubjectPO(blankNodePIndex, blankNodeOIndex, blankNodePO.subjectO);

            pIndex.push(blankNodePO.pIndex);
            oIndex.push(_blankNodeOIndex);
        }
    }

    function _buildRDF(SPO memory spo) internal view returns (string memory _rdf){
        _rdf = _buildS(spo);

        for (uint256 i = 0; i < spo.pIndex.length; i++) {
            Predicate memory p = _predicates[spo.pIndex[i]];
            if (FieldType.INT == p.fieldType) {
                _rdf = string.concat(_rdf, _buildIntRDF(spo.pIndex[i], spo.oIndex[i]));
            } else if (FieldType.STRING == p.fieldType) {
                _rdf = string.concat(_rdf, _buildStringRDF(spo.pIndex[i], spo.oIndex[i]));
            } else if (FieldType.ADDRESS == p.fieldType) {
                _rdf = string.concat(_rdf, _buildAddressRDF(spo.pIndex[i], spo.oIndex[i]));
            } else if (FieldType.SUBJECT == p.fieldType) {
                _rdf = string.concat(_rdf, _buildSubjectRDF(spo.pIndex[i], spo.oIndex[i]));
            } else if (FieldType.BLANKNODE == p.fieldType) {
                _rdf = string.concat(_rdf, _buildBlankNodeRDF(spo.pIndex[i], spo.oIndex[i]));
            }
            string memory suffix = i == spo.pIndex.length - 1 ? "." : ";";
            _rdf = string.concat(_rdf, suffix);
        }
    }

    function _buildS(SPO memory spo) internal view returns (string memory){
        string memory _className = spo.sIndex == 0 ? SOUL_CLASS_NAME : _classNames[spo.sIndex];
        string memory subjectValue = spo.sIndex == 0 ? address(spo.owner).toHexString() : _subjects[spo.sIndex].value;
        return string.concat(ENTITY_PREFIX, _className, CONCATENATION_CHARACTER, subjectValue, BLANK_SPACE);
    }

    function _buildIntRDF(uint256 pIndex, uint256 oIndex) internal view returns (string memory){
        Predicate memory predicate_ = _predicates[pIndex];
        string memory p = string.concat(PROPERTY_PREFIX, predicate_.name);
        string memory o = oIndex.toString();
        return string.concat(p, BLANK_SPACE, o);
    }

    function _buildStringRDF(uint256 pIndex, uint256 oIndex) internal view returns (string memory){
        Predicate memory predicate_ = _predicates[pIndex];
        string memory p = string.concat(PROPERTY_PREFIX, predicate_.name);
        string memory o = string.concat('"', _stringO[oIndex], '"');
        return string.concat(p, BLANK_SPACE, o);
    }

    function _buildAddressRDF(uint256 pIndex, uint256 oIndex) internal view returns (string memory){
        Predicate memory predicate_ = _predicates[pIndex];
        string memory p = string.concat(PROPERTY_PREFIX, predicate_.name);
        string memory o = string.concat(ENTITY_PREFIX, SOUL_CLASS_NAME, CONCATENATION_CHARACTER, address(uint160(oIndex)).toHexString());
        return string.concat(p, BLANK_SPACE, o);
    }


    function _buildSubjectRDF(uint256 pIndex, uint256 oIndex) internal view returns (string memory){
        Predicate memory predicate_ = _predicates[pIndex];
        string memory _className = _classNames[_subjects[oIndex].cIndex];
        string memory p = string.concat(PROPERTY_PREFIX, predicate_.name);
        string memory o = string.concat(ENTITY_PREFIX, _className, CONCATENATION_CHARACTER, _subjects[oIndex].value);
        return string.concat(p, BLANK_SPACE, o);
    }


    function _buildBlankNodeRDF(uint256 pIndex, uint256 oIndex) internal view returns (string memory){
        Predicate memory predicate_ = _predicates[pIndex];
        string memory p = string.concat(PROPERTY_PREFIX, predicate_.name);

        uint256[] memory blankPList = _blankNodeO[oIndex].pIndex;
        uint256[] memory blankOList = _blankNodeO[oIndex].oIndex;

        string memory _rdf = "";
        for (uint256 i = 0; i < blankPList.length; i++) {
            Predicate memory _p = _predicates[blankPList[i]];
            if (FieldType.INT == _p.fieldType) {
                _rdf = string.concat(_rdf, _buildIntRDF(blankPList[i], blankOList[i]));
            } else if (FieldType.STRING == _p.fieldType) {
                _rdf = string.concat(_rdf, _buildStringRDF(blankPList[i], blankOList[i]));
            } else if (FieldType.ADDRESS == _p.fieldType) {
                _rdf = string.concat(_rdf, _buildAddressRDF(blankPList[i], blankOList[i]));
            } else if (FieldType.SUBJECT == _p.fieldType) {
                _rdf = string.concat(_rdf, _buildSubjectRDF(blankPList[i], blankOList[i]));
            }
            if (i < blankPList.length - 1) {
                _rdf = string.concat(_rdf, TURTLE_LINE_SUFFIX);
            }
        }

        return string.concat(p, BLANK_SPACE, BLANK_NODE_START_CHARACTER, _rdf, BLANK_NODE_END_CHARACTER);
    }


    function _checkPredicate(uint256 pIndex, FieldType fieldType) internal view {
        require(pIndex > 0 && pIndex < _predicates.length, "SemanticSBT: predicate not exist");
        require(_predicates[pIndex].fieldType == fieldType, "SemanticSBT: predicate type error");
    }

    function _mint(address account, uint256 sIndex, IntPO[] memory intPOList, StringPO[] memory stringPOList,
        AddressPO[] memory addressPOList, SubjectPO[] memory subjectPOList,
        BlankNodePO[] memory blankNodePOList) internal returns (uint256) {
        require(account != address(0), "SemanticSBT: mint to the zero address");
        require(sIndex < _subjects.length, "SemanticSBT: param error");

        uint256 tokenId = _tokens.length;

        _tokens.push(SPO(uint160(account), sIndex, new uint256[](0), new uint256[](0)));
        uint256[] storage pIndex = _tokens[tokenId].pIndex;
        uint256[] storage oIndex = _tokens[tokenId].oIndex;

        _addIntPO(pIndex, oIndex, intPOList);
        _addStringPO(pIndex, oIndex, stringPOList);
        _addAddressPO(pIndex, oIndex, addressPOList);
        _addSubjectPO(pIndex, oIndex, subjectPOList);
        _addBlankNodePO(pIndex, oIndex, blankNodePOList);

        require(pIndex.length > 0, "SemanticSBT: param error");

        _balances[account] += 1;


        require(
            _checkOnERC721Received(address(0), account, tokenId, ""),
            "SemanticSBT: transfer to non ERC721Receiver implementer"
        );
        emit Transfer(address(0), account, tokenId);
        emit CreateSBT(msg.sender, account, tokenId, _buildRDF(_tokens[tokenId]));

        return tokenId;
    }

    /* ============ External Functions ============ */


    function addSubject(string memory value, string memory className_) external onlyMinter returns (uint256 sIndex) {
        uint256 cIndex = _classIndex[className_];
        require(cIndex > 0, "SemanticSBT: param error");
        require(_subjectIndex[cIndex][value] == 0, "SemanticSBT: already added");
        sIndex = _subjects.length;
        _subjectIndex[cIndex][value] = sIndex;
        _subjects.push(Subject(value, cIndex));
    }

    
    function mint(address account, uint256 sIndex, IntPO[] memory intPOList, StringPO[] memory stringPOList,
        AddressPO[] memory addressPOList, SubjectPO[] memory subjectPOList,
        BlankNodePO[] memory blankNodePOList) 
    external
    onlyMinter returns (uint256) {
        
        return _mint(account, sIndex, intPOList, stringPOList, addressPOList, subjectPOList, blankNodePOList);
    }

    function burn(address account, uint256 id) external onlyMinter {
        require(
            _isApprovedOrOwner(_msgSender(), id),
            "SemanticSBT: caller is not approved or owner"
        );
        require(isOwnerOf(account, id), "SemanticSBT: not owner");
        string memory _rdf = _buildRDF(_tokens[id]);
        // Clear approvals
        _approve(address(0), id);
        _burnCount++;
        _balances[account] -= 1;
        _tokens[id].owner = 0;

        emit Transfer(account, address(0), id);
        emit RemoveSBT(msg.sender, account, id, _rdf);
    }

    function burnBatch(address account, uint256[] calldata ids)
    external
    onlyMinter
    {
        _burnCount += ids.length;
        _balances[account] -= ids.length;
        for (uint256 i = 0; i < ids.length; i++) {
            uint256 tokenId = ids[i];
            require(
                _isApprovedOrOwner(_msgSender(), tokenId),
                "SemanticSBT: caller is not approved or owner"
            );
            require(isOwnerOf(account, tokenId), "SemanticSBT: not owner");
            string memory _rdf = _buildRDF(_tokens[tokenId]);

            // Clear approvals
            _approve(address(0), tokenId);
            _tokens[tokenId].owner = 0;

            emit Transfer(account, address(0), tokenId);
            emit RemoveSBT(msg.sender, account, tokenId, _rdf);
        }
    }


    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *  As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function _transfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {
        require(
            isOwnerOf(from, tokenId),
            "ERC721: transfer of token that is not own"
        );
        require(to != address(0), "ERC721: transfer to the zero address");

        // Clear approvals from the previous owner
        _approve(address(0), tokenId);
        _balances[from] -= 1;
        _balances[to] += 1;
        _tokens[tokenId].owner = uint160(to);

        emit Transfer(from, to, tokenId);
    }

    /**
     * @dev Approve `to` to operate on `tokenId`
     *
     * Emits a {Approval} event.
     */
    function _approve(address to, uint256 tokenId) internal virtual {
        _tokenApprovals[tokenId] = to;
        emit Approval(ownerOf(tokenId), to, tokenId);
    }

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
     * The call is not executed if the target address is not a contract.
     *
     * @param from address representing the previous owner of the given token ID
     * @param to target address that will receive the tokens
     * @param tokenId uint256 ID of the token to be transferred
     * @param _data bytes optional data to send along with the call
     * @return bool whether the call correctly returned the expected magic value
     */
    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(
                    "ERC721: transfer to non ERC721Receiver implementer"
                    );
                } else {
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        }
        return true;
    }

    /* ============ Util Functions ============ */
    /**
     * @dev Sets a new baseURI for all token types.
     */
    function setURI(string calldata newURI) external onlyOwner {
        _baseURI = newURI;
    }

    /**
     * @dev Sets a new transferable for all token types.
     */
    function setTransferable(bool transferable_) external onlyOwner {
        _transferable = transferable_;
    }

    /**
     * @dev Sets a new name for all token types.
     */
    function setName(string calldata newName) external onlyOwner {
        _name = newName;
    }

    /**
     * @dev Sets a new symbol for all token types.
     */
    function setSymbol(string calldata newSymbol) external onlyOwner {
        _symbol = newSymbol;
    }

    /**
     * @dev Add a new minter.
     */
    function addMinter(address minter) external onlyOwner {
        require(minter != address(0), "SemanticSBT: minter must not be null address");
        require(!_minters[minter], "SemanticSBT: minter already added");
        _minters[minter] = true;
        emit EventMinterAdded(minter);
    }

    /**
     * @dev Remove a old minter.
     */
    function removeMinter(address minter) external onlyOwner {
        require(_minters[minter], "SemanticSBT: minter does not exist");
        delete _minters[minter];
        emit EventMinterRemoved(minter);
    }


}

File 3 of 18 : SemanticBaseStruct.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

enum FieldType {
    INT,
    STRING,
    ADDRESS,
    SUBJECT,
    BLANKNODE
}

struct IntPO {
    uint256 pIndex;
    uint256 o;
}

struct StringPO {
    uint256 pIndex;
    string o;
}

struct AddressPO {
    uint256 pIndex;
    address o;
}

struct SubjectPO {
    uint256 pIndex;
    uint256 oIndex;
}

struct BlankNodePO {
    uint256 pIndex;
    IntPO[] intO;
    StringPO[] stringO;
    AddressPO[] addressO;
    SubjectPO[] subjectO;
}

struct BlankNodeO {
    uint256[] pIndex;
    uint256[] oIndex;
}

struct SPO {
    uint160 owner;
    uint256 sIndex;
    uint256[] pIndex;
    uint256[] oIndex;
}

struct Class {
    uint256 index;
    string name;
}

struct Predicate {
    string name;
    FieldType fieldType;
}

struct Subject {
    string value;
    uint256 cIndex;
}

File 4 of 18 : 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 5 of 18 : Initializable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (proxy/utils/Initializable.sol)

pragma solidity ^0.8.2;

import "../../utils/Address.sol";

/**
 * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed
 * behind a proxy. Since proxied contracts do not make use of a constructor, it's common to move constructor logic to an
 * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer
 * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect.
 *
 * The initialization functions use a version number. Once a version number is used, it is consumed and cannot be
 * reused. This mechanism prevents re-execution of each "step" but allows the creation of new initialization steps in
 * case an upgrade adds a module that needs to be initialized.
 *
 * For example:
 *
 * [.hljs-theme-light.nopadding]
 * ```
 * contract MyToken is ERC20Upgradeable {
 *     function initialize() initializer public {
 *         __ERC20_init("MyToken", "MTK");
 *     }
 * }
 * contract MyTokenV2 is MyToken, ERC20PermitUpgradeable {
 *     function initializeV2() reinitializer(2) public {
 *         __ERC20Permit_init("MyToken");
 *     }
 * }
 * ```
 *
 * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as
 * possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}.
 *
 * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure
 * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity.
 *
 * [CAUTION]
 * ====
 * Avoid leaving a contract uninitialized.
 *
 * An uninitialized contract can be taken over by an attacker. This applies to both a proxy and its implementation
 * contract, which may impact the proxy. To prevent the implementation contract from being used, you should invoke
 * the {_disableInitializers} function in the constructor to automatically lock it when it is deployed:
 *
 * [.hljs-theme-light.nopadding]
 * ```
 * /// @custom:oz-upgrades-unsafe-allow constructor
 * constructor() {
 *     _disableInitializers();
 * }
 * ```
 * ====
 */
abstract contract Initializable {
    /**
     * @dev Indicates that the contract has been initialized.
     * @custom:oz-retyped-from bool
     */
    uint8 private _initialized;

    /**
     * @dev Indicates that the contract is in the process of being initialized.
     */
    bool private _initializing;

    /**
     * @dev Triggered when the contract has been initialized or reinitialized.
     */
    event Initialized(uint8 version);

    /**
     * @dev A modifier that defines a protected initializer function that can be invoked at most once. In its scope,
     * `onlyInitializing` functions can be used to initialize parent contracts. Equivalent to `reinitializer(1)`.
     */
    modifier initializer() {
        bool isTopLevelCall = !_initializing;
        require(
            (isTopLevelCall && _initialized < 1) || (!Address.isContract(address(this)) && _initialized == 1),
            "Initializable: contract is already initialized"
        );
        _initialized = 1;
        if (isTopLevelCall) {
            _initializing = true;
        }
        _;
        if (isTopLevelCall) {
            _initializing = false;
            emit Initialized(1);
        }
    }

    /**
     * @dev A modifier that defines a protected reinitializer function that can be invoked at most once, and only if the
     * contract hasn't been initialized to a greater version before. In its scope, `onlyInitializing` functions can be
     * used to initialize parent contracts.
     *
     * `initializer` is equivalent to `reinitializer(1)`, so a reinitializer may be used after the original
     * initialization step. This is essential to configure modules that are added through upgrades and that require
     * initialization.
     *
     * Note that versions can jump in increments greater than 1; this implies that if multiple reinitializers coexist in
     * a contract, executing them in the right order is up to the developer or operator.
     */
    modifier reinitializer(uint8 version) {
        require(!_initializing && _initialized < version, "Initializable: contract is already initialized");
        _initialized = version;
        _initializing = true;
        _;
        _initializing = false;
        emit Initialized(version);
    }

    /**
     * @dev Modifier to protect an initialization function so that it can only be invoked by functions with the
     * {initializer} and {reinitializer} modifiers, directly or indirectly.
     */
    modifier onlyInitializing() {
        require(_initializing, "Initializable: contract is not initializing");
        _;
    }

    /**
     * @dev Locks the contract, preventing any future reinitialization. This cannot be part of an initializer call.
     * Calling this in the constructor of a contract will prevent that contract from being initialized or reinitialized
     * to any version. It is recommended to use this to lock implementation contracts that are designed to be called
     * through proxies.
     */
    function _disableInitializers() internal virtual {
        require(!_initializing, "Initializable: contract is initializing");
        if (_initialized < type(uint8).max) {
            _initialized = type(uint8).max;
            emit Initialized(type(uint8).max);
        }
    }
}

File 6 of 18 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

import "../utils/Context.sol";

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

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

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

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 7 of 18 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

import "../../utils/introspection/IERC165.sol";

/**
 * @dev Required interface of an ERC721 compliant contract.
 */
interface IERC721 is IERC165 {
    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
     */
    event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.
     */
    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);

    /**
     * @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 Safely transfers `tokenId` token from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes calldata data
    ) external;

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must have been allowed to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Transfers `tokenId` token from `from` to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Gives permission to `to` to transfer `tokenId` token to another account.
     * The approval is cleared when the token is transferred.
     *
     * Only a single account can be approved at a time, so approving the zero address clears previous approvals.
     *
     * Requirements:
     *
     * - The caller must own the token or be an approved operator.
     * - `tokenId` must exist.
     *
     * Emits an {Approval} event.
     */
    function approve(address to, uint256 tokenId) external;

    /**
     * @dev Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool _approved) external;

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

    /**
     * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
     *
     * See {setApprovalForAll}
     */
    function isApprovedForAll(address owner, address operator) external view returns (bool);
}

File 8 of 18 : ISemanticSBT.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC721/IERC721.sol";

/**
 * @dev Required interface of an ISemanticData compliant contract.
 */
interface ISemanticSBT is IERC721 {


    event CreateSBT(
        address indexed operator,
        address indexed owner,
        uint256 indexed tokenId,
        string rdf
    );

    event RemoveSBT(
        address indexed operator,
        address indexed owner,
        uint256 indexed tokenId,
        string rdf
    );


    /**
     * @dev returns formatted rdf data
     * @param tokenId The token Id
     */
    function rdfOf(uint256 tokenId) external view returns (string memory);
}

File 9 of 18 : ISemanticSBTMetadata.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol";

interface ISemanticSBTMetadata is IERC721Metadata {

    /**
     * @dev Returns the Uniform Resource Identifier [URI](https://www.ietf.org/rfc/rfc3986.txt) for semantic metadata
     */
    function schemaURI() external view returns (string memory);
}

File 10 of 18 : 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 11 of 18 : 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 12 of 18 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Enumerable is IERC721 {
    /**
     * @dev Returns the total amount of tokens stored by the contract.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns a token ID owned by `owner` at a given `index` of its token list.
     * Use along with {balanceOf} to enumerate all of ``owner``'s tokens.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256);

    /**
     * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.
     * Use along with {totalSupply} to enumerate all tokens.
     */
    function tokenByIndex(uint256 index) external view returns (uint256);
}

File 13 of 18 : 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 14 of 18 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Metadata is IERC721 {
    /**
     * @dev Returns the token collection name.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the token collection 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 15 of 18 : AccessControl.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/AccessControl.sol)

pragma solidity ^0.8.0;

import "./IAccessControl.sol";
import "../utils/Context.sol";
import "../utils/Strings.sol";
import "../utils/introspection/ERC165.sol";

/**
 * @dev Contract module that allows children to implement role-based access
 * control mechanisms. This is a lightweight version that doesn't allow enumerating role
 * members except through off-chain means by accessing the contract event logs. Some
 * applications may benefit from on-chain enumerability, for those cases see
 * {AccessControlEnumerable}.
 *
 * Roles are referred to by their `bytes32` identifier. These should be exposed
 * in the external API and be unique. The best way to achieve this is by
 * using `public constant` hash digests:
 *
 * ```
 * bytes32 public constant MY_ROLE = keccak256("MY_ROLE");
 * ```
 *
 * Roles can be used to represent a set of permissions. To restrict access to a
 * function call, use {hasRole}:
 *
 * ```
 * function foo() public {
 *     require(hasRole(MY_ROLE, msg.sender));
 *     ...
 * }
 * ```
 *
 * Roles can be granted and revoked dynamically via the {grantRole} and
 * {revokeRole} functions. Each role has an associated admin role, and only
 * accounts that have a role's admin role can call {grantRole} and {revokeRole}.
 *
 * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means
 * that only accounts with this role will be able to grant or revoke other
 * roles. More complex role relationships can be created by using
 * {_setRoleAdmin}.
 *
 * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to
 * grant and revoke this role. Extra precautions should be taken to secure
 * accounts that have been granted it.
 */
abstract contract AccessControl is Context, IAccessControl, ERC165 {
    struct RoleData {
        mapping(address => bool) members;
        bytes32 adminRole;
    }

    mapping(bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

    /**
     * @dev Modifier that checks that an account has a specific role. Reverts
     * with a standardized message including the required role.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     *
     * _Available since v4.1._
     */
    modifier onlyRole(bytes32 role) {
        _checkRole(role);
        _;
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IAccessControl).interfaceId || super.supportsInterface(interfaceId);
    }

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) public view virtual override returns (bool) {
        return _roles[role].members[account];
    }

    /**
     * @dev Revert with a standard message if `_msgSender()` is missing `role`.
     * Overriding this function changes the behavior of the {onlyRole} modifier.
     *
     * Format of the revert message is described in {_checkRole}.
     *
     * _Available since v4.6._
     */
    function _checkRole(bytes32 role) internal view virtual {
        _checkRole(role, _msgSender());
    }

    /**
     * @dev Revert with a standard message if `account` is missing `role`.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     */
    function _checkRole(bytes32 role, address account) internal view virtual {
        if (!hasRole(role, account)) {
            revert(
                string(
                    abi.encodePacked(
                        "AccessControl: account ",
                        Strings.toHexString(uint160(account), 20),
                        " is missing role ",
                        Strings.toHexString(uint256(role), 32)
                    )
                )
            );
        }
    }

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) public view virtual override returns (bytes32) {
        return _roles[role].adminRole;
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     *
     * May emit a {RoleGranted} event.
     */
    function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _grantRole(role, account);
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     *
     * May emit a {RoleRevoked} event.
     */
    function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _revokeRole(role, account);
    }

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been revoked `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     *
     * May emit a {RoleRevoked} event.
     */
    function renounceRole(bytes32 role, address account) public virtual override {
        require(account == _msgSender(), "AccessControl: can only renounce roles for self");

        _revokeRole(role, account);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event. Note that unlike {grantRole}, this function doesn't perform any
     * checks on the calling account.
     *
     * May emit a {RoleGranted} event.
     *
     * [WARNING]
     * ====
     * This function should only be called from the constructor when setting
     * up the initial roles for the system.
     *
     * Using this function in any other way is effectively circumventing the admin
     * system imposed by {AccessControl}.
     * ====
     *
     * NOTE: This function is deprecated in favor of {_grantRole}.
     */
    function _setupRole(bytes32 role, address account) internal virtual {
        _grantRole(role, account);
    }

    /**
     * @dev Sets `adminRole` as ``role``'s admin role.
     *
     * Emits a {RoleAdminChanged} event.
     */
    function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {
        bytes32 previousAdminRole = getRoleAdmin(role);
        _roles[role].adminRole = adminRole;
        emit RoleAdminChanged(role, previousAdminRole, adminRole);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * Internal function without access restriction.
     *
     * May emit a {RoleGranted} event.
     */
    function _grantRole(bytes32 role, address account) internal virtual {
        if (!hasRole(role, account)) {
            _roles[role].members[account] = true;
            emit RoleGranted(role, account, _msgSender());
        }
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * Internal function without access restriction.
     *
     * May emit a {RoleRevoked} event.
     */
    function _revokeRole(bytes32 role, address account) internal virtual {
        if (hasRole(role, account)) {
            _roles[role].members[account] = false;
            emit RoleRevoked(role, account, _msgSender());
        }
    }
}

File 16 of 18 : 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);
}

File 17 of 18 : 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 18 of 18 : IAccessControl.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol)

pragma solidity ^0.8.0;

/**
 * @dev External interface of AccessControl declared to support ERC165 detection.
 */
interface IAccessControl {
    /**
     * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`
     *
     * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite
     * {RoleAdminChanged} not being emitted signaling this.
     *
     * _Available since v3.1._
     */
    event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);

    /**
     * @dev Emitted when `account` is granted `role`.
     *
     * `sender` is the account that originated the contract call, an admin role
     * bearer except when using {AccessControl-_setupRole}.
     */
    event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Emitted when `account` is revoked `role`.
     *
     * `sender` is the account that originated the contract call:
     *   - if using `revokeRole`, it is the admin role bearer
     *   - if using `renounceRole`, it is the role bearer (i.e. `account`)
     */
    event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) external view returns (bool);

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {AccessControl-_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) external view returns (bytes32);

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been granted `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) external;
}

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

Contract Security Audit

Contract ABI

[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"string","name":"rdf","type":"string"}],"name":"CreateSBT","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newMinter","type":"address"}],"name":"EventMinterAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"oldMinter","type":"address"}],"name":"EventMinterRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint8","name":"version","type":"uint8"}],"name":"Initialized","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"string","name":"rdf","type":"string"}],"name":"RemoveSBT","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":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"_ownedSBT","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"minter","type":"address"}],"name":"addMinter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"value","type":"string"},{"internalType":"string","name":"className_","type":"string"}],"name":"addSubject","outputs":[{"internalType":"uint256","name":"sIndex","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"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":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"burnBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"uint8","name":"_v","type":"uint8"},{"internalType":"bytes32","name":"_r","type":"bytes32"},{"internalType":"bytes32","name":"_s","type":"bytes32"}],"internalType":"struct RelationMedal.Signature","name":"signature","type":"tuple"},{"internalType":"uint256","name":"expireTime","type":"uint256"},{"internalType":"uint256","name":"_pIndex","type":"uint256"},{"internalType":"uint256","name":"_oIndex","type":"uint256"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"className_","type":"string"}],"name":"classIndex","outputs":[{"internalType":"uint256","name":"classIndex_","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"cIndex","type":"uint256"}],"name":"className","outputs":[{"internalType":"string","name":"name_","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"minter","type":"address"},{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"},{"internalType":"string","name":"baseURI_","type":"string"},{"internalType":"string","name":"schemaURI_","type":"string"},{"internalType":"string[]","name":"classes_","type":"string[]"},{"components":[{"internalType":"string","name":"name","type":"string"},{"internalType":"enum FieldType","name":"fieldType","type":"uint8"}],"internalType":"struct Predicate[]","name":"predicates_","type":"tuple[]"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"_pIndex","type":"uint256"},{"internalType":"uint256","name":"_oIndex","type":"uint256"}],"name":"isOwnerOf","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"isOwnerOf","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"sIndex","type":"uint256"},{"components":[{"internalType":"uint256","name":"pIndex","type":"uint256"},{"internalType":"uint256","name":"o","type":"uint256"}],"internalType":"struct IntPO[]","name":"intPOList","type":"tuple[]"},{"components":[{"internalType":"uint256","name":"pIndex","type":"uint256"},{"internalType":"string","name":"o","type":"string"}],"internalType":"struct StringPO[]","name":"stringPOList","type":"tuple[]"},{"components":[{"internalType":"uint256","name":"pIndex","type":"uint256"},{"internalType":"address","name":"o","type":"address"}],"internalType":"struct AddressPO[]","name":"addressPOList","type":"tuple[]"},{"components":[{"internalType":"uint256","name":"pIndex","type":"uint256"},{"internalType":"uint256","name":"oIndex","type":"uint256"}],"internalType":"struct SubjectPO[]","name":"subjectPOList","type":"tuple[]"},{"components":[{"internalType":"uint256","name":"pIndex","type":"uint256"},{"components":[{"internalType":"uint256","name":"pIndex","type":"uint256"},{"internalType":"uint256","name":"o","type":"uint256"}],"internalType":"struct IntPO[]","name":"intO","type":"tuple[]"},{"components":[{"internalType":"uint256","name":"pIndex","type":"uint256"},{"internalType":"string","name":"o","type":"string"}],"internalType":"struct StringPO[]","name":"stringO","type":"tuple[]"},{"components":[{"internalType":"uint256","name":"pIndex","type":"uint256"},{"internalType":"address","name":"o","type":"address"}],"internalType":"struct AddressPO[]","name":"addressO","type":"tuple[]"},{"components":[{"internalType":"uint256","name":"pIndex","type":"uint256"},{"internalType":"uint256","name":"oIndex","type":"uint256"}],"internalType":"struct SubjectPO[]","name":"subjectO","type":"tuple[]"}],"internalType":"struct BlankNodePO[]","name":"blankNodePOList","type":"tuple[]"}],"name":"mint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"minters","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"pIndex","type":"uint256"}],"name":"predicate","outputs":[{"internalType":"string","name":"name_","type":"string"},{"internalType":"enum FieldType","name":"fieldType","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"predicateName_","type":"string"}],"name":"predicateIndex","outputs":[{"internalType":"uint256","name":"predicateIndex_","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"rdfOf","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"minter","type":"address"}],"name":"removeMinter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"schemaURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newName","type":"string"}],"name":"setName","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newSymbol","type":"string"}],"name":"setSymbol","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"transferable_","type":"bool"}],"name":"setTransferable","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newURI","type":"string"}],"name":"setURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"subject","outputs":[{"internalType":"string","name":"subjectValue","type":"string"},{"internalType":"string","name":"className_","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"subjectValue","type":"string"},{"internalType":"string","name":"className_","type":"string"}],"name":"subjectIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","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"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"transferable","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"}]

60808060405234620000f45760008054336001600160a01b0319821681178355620000e49390916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908490a3620000b86200006362000160565b6200006d62000160565b6200007762000111565b9184835284602084015260408301526060820152620000b26200009962000140565b91620000a46200019d565b8352846020840152620002a4565b620004c5565b620000c262000608565b620000cc62000140565b90620000d76200019d565b8252602082015262000703565b6040516159379081620008618239f35b50600080fd5b50634e487b7160e01b600052604160045260246000fd5b60405190608082016001600160401b038111838210176200013157604052565b6200013b620000fa565b604052565b60408051919082016001600160401b038111838210176200013157604052565b6040516020810191906000906001600160401b038411818510176200018d575b8360405281815292369037565b62000197620000fa565b62000180565b60405190602082016001600160401b03811183821017620001c2575b60405260008252565b620001cc620000fa565b620001b9565b50634e487b7160e01b600052603260045260246000fd5b50634e487b7160e01b600052600060045260246000fd5b8181106200020c575050565b6000815560010162000200565b81519168010000000000000000831162000294575b815483835580841062000273575b50602080910191600052806000206000925b8484106200025d575050505050565b600183828293518555019201930192906200024e565b6200028d9083600052846020600020918201910162000200565b386200023c565b6200029e620000fa565b6200022e565b600454906801000000000000000080831015620003ca575b60019081840180600455841015620003ba575b60046000908152835160029590951b7f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b0180546001600160a01b0319166001600160a01b039690961695909517855560208085015184870155600286018160408701518051958611620003aa575b82548684558087106200038d575b5091845282842091015b8484106200037957505050505050906003606062000377930151910162000219565b565b805182559285019290850190820162000355565b838652828620620003a391810190880162000200565b386200034b565b620003b4620000fa565b6200033d565b620003c4620001d2565b620002cf565b620003d4620000fa565b620002bc565b600a54811015620003fb575b600a60005260206000209060011b0190600090565b62000405620001d2565b620003e6565b6011548110156200042c575b601160005260206000209060011b0190600090565b62000436620001d2565b62000417565b90600182811c9216801562000470575b60208310146200045857565b5050634e487b7160e01b600052602260045260246000fd5b91607f16916200044c565b9190601f81116200048b57505050565b62000377926000526020600020906020601f840160051c83019310620004ba575b601f0160051c019062000200565b9091508190620004ac565b600a5468010000000000000000811015620005f8575b620004ee600191828101600a55620003da565b929092620005e8575b805180519091906001600160401b038111620005d8575b62000526816200051f87546200043c565b876200047b565b806020938490601f831160011462000568576000926200055c575b5050600019600383901b1c191690841b1784555b0151910155565b01519050388062000541565b90869350601f198316916200058289600052602060002090565b9260005b88828210620005c15750508411620005a7575b505050811b01845562000555565b015160001960f88460031b161c1916905538808062000599565b8385015186558a9790950194938401930162000586565b620005e2620000fa565b6200050e565b620005f2620001e9565b620004f7565b62000602620000fa565b620004db565b6000600f54680100000000000000008110156200069f575b6001810180600f558110156200068f575b600f82527f8d1108e10bcb7c27dddfc02ed9d693a074039d026cf4ea4240b40f7d581ac80201805462000664906200043c565b601f811162000671575055565b818352602083206200068c91601f0160051c81019062000200565b55565b62000699620001d2565b62000631565b620006a9620000fa565b62000620565b60051115620006ba57565b50634e487b7160e01b600052602160045260246000fd5b906005811015620006ea5760ff80198354169116179055565b505050634e487b7160e01b600052602160045260246000fd5b906011546801000000000000000081101562000850575b6200072d6001918281016011556200040b565b91909162000840575b83518051946001600160401b03861162000830575b62000763866200075c86546200043c565b866200047b565b6020918290601f8811600114620007bb57968091620003779798600092620007af575b5050600019600383901b1c191690841b1784555b015191620007a883620006af565b01620006d1565b01519050388062000786565b90601f19881691620007d287600052602060002090565b9260005b8181106200081a5750918693918a620003779a9b941062000800575b505050811b0184556200079a565b015160001960f88460031b161c19169055388080620007f2565b82840151855593870193928601928601620007d6565b6200083a620000fa565b6200074b565b6200084a620001e9565b62000736565b6200085a620000fa565b6200071a56fe6040608081526004361015610015575b50600080fd5b600090813560e01c806301ffc9a7146107b257806302fe53051461079a57806306fdde031461077e578063081812fc14610762578063095ea7b31461074a578063152407ae1461072e57806318160ddd1461071257806323b872dd146106fa5780632f745c59146106dd5780633092afd5146106c657806342842e0e146106ae5780634a1f450a146106865780634f6ccce71461066a5780635036d1a81461064d57806352e89bbd1461062a57806358e23bac1461060e5780636352211e146105e75780636c0360eb146105cb57806370a08231146105af578063715018a6146105985780638da5cb5b1461057057806392ff0d31146105455780639377268d1461052957806395d89b411461050d578063983b2d56146104f65780639cd23707146104df5780639dc29fac146104c7578063a22cb465146104af578063a6c1653d14610492578063a91df31514610448578063a9ff13a61461041f578063ac72200d146103f4578063b2dc5dc3146103dc578063b84c8246146103c4578063b88d4fde146103a9578063c47f002714610391578063c5b8f77214610374578063c87b56dd14610358578063d12672e71461033d578063d49116f51461031f578063d4b0c403146102f6578063deeec344146102da578063e985e9c5146102aa578063f2fde38b14610290578063f46eccc41461024a5763fbafb6981461021c575061000f565b34610246576102429150610237610232366108ec565b612da4565b9051918291826108db565b0390f35b5080fd5b503461024657610242915061027f61026136610b30565b6001600160a01b031660009081526008602052604090205460ff1690565b905191829182901515815260200190565b5034610246576102a76102a236610b30565b611853565b51f35b503461024657610242915061027f6102d36102ce6102c736611789565b9190611374565b6113c2565b5460ff1690565b50346102465761024291506102376102f1366108ec565b6129e6565b503461024657610242915061031261030d366108ec565b612b88565b929091519283928361174a565b5034610246576102a761033136611672565b95949094939193612104565b5034610246576102a761034f366114c4565b92919091611b9a565b503461024657610242915061023761036f366108ec565b6131ec565b503461024657610242915061027f61038b3661093d565b906130e6565b5034610246576102a76103a336610811565b9061542d565b5034610246576102a76103bb3661145f565b9291909161365b565b5034610246576102a76103d636610811565b90615504565b5034610246576102a76103ee366113fe565b91614ebe565b503461024657610242915061040836610873565b610410612e23565b90519081529081906020820190565b503461024657610242915061043b610436366108ec565b612c5b565b92909151928392836113d9565b503461024657610242915061027f6102d361048361048361046836610b53565b93909160018060a01b03166000526014602052604060002090565b90600052602052604060002090565b50346102465761024291506104106104a936610b7e565b90612c2f565b5034610246576102a76104c136611329565b9061343f565b5034610246576102a76104d93661093d565b90614d33565b5034610246576102a76104f13661130d565b615413565b5034610246576102a761050836610b30565b6155de565b503461024657610242915061052136610873565b61023761115f565b503461024657610242915061041061054036610acf565b612a7b565b503461024657610242915061055936610873565b60ff60095416905191829182901515815260200190565b5034610246576102429161058336610873565b5490519182916001600160a01b0316826108fe565b5034610246576105a736610873565b6102a76117bc565b50346102465761024291506104106105c636610b30565b612fee565b50346102465761024291506105df36610873565b6102376110d8565b50346102465761024291506106036105fe366108ec565b613068565b9051918291826108fe565b503461024657610242915061062236610873565b6102376111e6565b503461024657610242915061041061064136610f30565b95949094939193614caa565b503461024657610242915061041061066436610b7e565b90614be2565b5034610246576102429150610410610681366108ec565b612f21565b503461024657610242915061027f6102d36104836104836106a636610b53565b93909161135a565b5034610246576102a76106c036610af9565b916135cb565b5034610246576102a76106d836610b30565b6156da565b50346102465761024291506104106106f43661093d565b90612e4c565b5034610246576102a761070c36610af9565b91613539565b503461024657610242915061072636610873565b610410612e35565b503461024657610242915061041061074536610acf565b6129d9565b5034610246576102a761075c3661093d565b906132ad565b5034610246576102429150610603610779366108ec565b6133ba565b503461024657610242915061079236610873565b610237611040565b5034610246576102a76107ac36610811565b90615339565b5050346107e05750607f196107db6107d16107cc366107f6565b611f51565b151560805260a090565b016080f35b80fd5b6001600160e01b03198116141561000f57565b602090600319011261000f5760043561080e816107e3565b90565b90602060031983011261086c576001600160401b0391600435908382116108635780602383011215610863578160040135938411610863576024848301011161085b576024019190565b505050600080fd5b50505050600080fd5b5050600080fd5b600090600319011261000f57565b918091926000905b8282106108a157501161089a575050565b6000910152565b91508060209183015181860152018291610889565b906020916108cf81518092818552858086019101610881565b601f01601f1916010190565b90602061080e9281815201906108b6565b602090600319011261000f5760043590565b6001600160a01b03909116815260200190565b600435906001600160a01b03821682141561086c57565b35906001600160a01b03821682141561086c57565b604090600319011261000f576004356001600160a01b03811681141561086c579060243590565b50634e487b7160e01b600052604160045260246000fd5b604081019081106001600160401b0382111761099657604052565b61099e610964565b604052565b602081019081106001600160401b0382111761099657604052565b606081019081106001600160401b0382111761099657604052565b601f909101601f19168101906001600160401b0382119082101761099657604052565b6040519060a082016001600160401b0381118382101761099657604052565b60405190610a288261097b565b565b60405190608082016001600160401b0381118382101761099657604052565b6020906001600160401b038111610a66575b601f01601f19160190565b610a6e610964565b610a5b565b929192610a7f82610a49565b91610a8d60405193846109d9565b829481845281830111610aaa578281602093846000960137010152565b5050505050600080fd5b9080601f8301121561085b5781602061080e93359101610a73565b602060031982011261086c57600435906001600160401b03821161085b5761080e91600401610ab4565b606090600319011261000f576001600160a01b039060043582811681141561085b579160243590811681141561085b579060443590565b602090600319011261000f576004356001600160a01b03811681141561086c5790565b606090600319011261000f576004356001600160a01b03811681141561086c57906024359060443590565b90604060031983011261086c576001600160401b036004358181116108635783610baa91600401610ab4565b926024359182116108635761080e91600401610ab4565b6020906001600160401b038111610bda575b60051b0190565b610be2610964565b610bd3565b81601f8201121561085b57803590610bfe82610bc1565b92604092610c0e845195866109d9565b808552602091828087019260061b85010193818511610c69578301915b848310610c3b5750505050505090565b8583830312610c69578386918251610c528161097b565b853581528286013583820152815201920191610c2b565b5050505050505050600080fd5b81601f8201121561085b57803590610c8d82610bc1565b92604092610c9d845195866109d9565b808552602093848087019260051b85010193838511610c6957858101925b858410610ccc575050505050505090565b6001600160401b038435818111610d3a5783019184601f198489030112610d3a578451610cf88161097b565b89840135815285840135928311610d2957610d1a888b80969581960101610ab4565b83820152815201930192610cbb565b505050505050505050505050600080fd5b5050505050505050505050600080fd5b81601f8201121561085b57803590610d6182610bc1565b92604092610d71845195866109d9565b808552602091828087019260061b85010193818511610c69578301915b848310610d9e5750505050505090565b8583830312610c69578386918251610db58161097b565b85358152610dc4838701610928565b83820152815201920191610d8e565b9080601f8301121561085b578135610dea81610bc1565b92604091610dfa835195866109d9565b808552602093848087019260051b84010193818511610c6957858401925b858410610e29575050505050505090565b6001600160401b038435818111610d3a5786019160a080601f198588030112610d2957610e546109fc565b908a850135825285850135848111610f1d57878c610e7492880101610be7565b8b83015260609081860135858111610f0957888d610e9492890101610c76565b8784015260809182870135868111610ef457898e610eb4928a0101610d4a565b90840152850135938411610ee257610ed3878c80979681970101610be7565b90820152815201930192610e18565b50505050505050505050505050600080fd5b50505050505050505050505050505050600080fd5b505050505050505050505050505050600080fd5b5050505050505050505050505050600080fd5b9060e060031983011261086c57610f45610911565b91602435916001600160401b03604435818111610fe25783610f6991600401610be7565b92606435828111610fd65781610f8191600401610c76565b92608435838111610c695782610f9991600401610d4a565b9260a435818111610fc85783610fb191600401610be7565b9260c435918211610fc85761080e91600401610dd3565b505050505050505050600080fd5b50505050505050600080fd5b505050505050600080fd5b50634e487b7160e01b600052600060045260246000fd5b90600182811c92168015611036575b602083101461101e57565b5050634e487b7160e01b600052602260045260246000fd5b91607f1691611013565b60405190600082600191825461105581611004565b808452908481169081156110bb5750600114611079575b50610a28925003836109d9565b9280915060005260209081600020936000915b8183106110a3575050610a2893508201013861106c565b8554888401850152948501948794509183019161108c565b94505050505060ff19166020830152610a2882604081013861106c565b60405190600082600c54916110ec83611004565b8083526001938085169081156110bb57506001146111115750610a28925003836109d9565b600c60009081526000805160206157b483398151915294602093509091905b818310611147575050610a2893508201013861106c565b85548884018501529485019487945091830191611130565b604051906000826002549161117383611004565b8083526001938085169081156110bb57506001146111985750610a28925003836109d9565b6002600090815260008051602061579483398151915294602093509091905b8183106111ce575050610a2893508201013861106c565b855488840185015294850194879450918301916111b7565b60405190600082600d54916111fa83611004565b8083526001938085169081156110bb575060011461121f5750610a28925003836109d9565b600d60009081526000805160206157d483398151915294602093509091905b818310611255575050610a2893508201013861106c565b8554888401850152948501948794509183019161123e565b906040519182600082549261128184611004565b9081845260019485811690816000146112ee57506001146112ab575b5050610a28925003836109d9565b9093915060005260209081600020936000915b8183106112d6575050610a289350820101388061129d565b855488840185015294850194879450918301916112be565b9550505050505060ff19166020830152610a288260408101388061129d565b602090600319011261000f5760043580151581141561086c5790565b604090600319011261000f576004356001600160a01b03811681141561086c579060243580151581141561085b5790565b6001600160a01b0316600090815260146020526040902090565b6001600160a01b0316600090815260076020526040902090565b6001600160a01b0316600090815260086020526040902090565b6001600160a01b0316600090815260056020526040902090565b9060018060a01b0316600052602052604060002090565b90916113f061080e936040845260408401906108b6565b9160208184039101526108b6565b604060031982011261086c576004356001600160a01b03811681141561085b57916001600160401b039160243590838211610aaa5780602383011215610aaa578160040135938411610aaa5760248460051b83010111610863576024019190565b90608060031983011261086c576001600160a01b03916004358381168114156108635792602435908116811415610863579160443591606435906001600160401b038211610fe25780602383011215610fe25781602461080e93600401359101610a73565b6003190160c0811261086c5760601361000f57604051606081016001600160401b03811182821017611523575b60405260043560ff811681141561085b5781526024356020820152604435604082015290606435906084359060a43590565b61152b610964565b6114f1565b9080601f8301121561085b5781359061154882610bc1565b9261155660405194856109d9565b828452602092838086019160051b83010192808411610fd657848301915b8483106115845750505050505090565b82356001600160401b038111610fc85786916115a584848094890101610ab4565b815201920191611574565b9080601f8301121561085b578135916115c883610bc1565b9260406115d7815195866109d9565b8185526020938486019185600594851b86010194828611610fc857868101935b86851061160957505050505050505090565b6001600160401b03908535828111610d295783019184601f198488030112610d29578451926116378461097b565b8a810135918211610ee257611651878c8894840101610ab4565b845201359087821015610d2957828a939284809401528152019401936115f7565b60e060031982011261086c57611686610911565b916001600160401b039160243590838211610aaa576116a9816004938401610ab4565b93604435818111610fd657826116c0918501610ab4565b93606435828111610c6957836116d7918601610ab4565b93608435838111610fc857846116ee918301610ab4565b9360a43584811161171a5781611705918401611530565b9360c43590811161171a5761080e92016115b0565b50505050505050505050600080fd5b6005111561173357565b50634e487b7160e01b600052602160045260246000fd5b92919061175f906040855260408501906108b6565b92600582101561176f5760200152565b50505050634e487b7160e01b600052602160045260246000fd5b604090600319011261000f576001600160a01b039060043582811681141561085b579160243590811681141561085b5790565b6117c46117f9565b600080546001600160a01b0319811682556040516001600160a01b0390911690600080516020615854833981519152908390a3565b6000546001600160a01b031633141561180e57565b50606460405162461bcd60e51b815260206004820152602060248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152fd5b61185b6117f9565b6001600160a01b0390811690811561189a57600080546001600160a01b03198116841782556040519216916000805160206158548339815191529190a3565b505060405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260849150fd5b80546001600160a01b0319166001600160a01b03909216919091179055565b1561191757565b50606460405162461bcd60e51b815260206004820152602060248201527f596f752068617665207375636365737366756c6c7920636c61696d65642069746044820152fd5b1561196357565b5060405162461bcd60e51b815260206004820152601660248201527514da59db985d1d5c994819185d1848195e1c1a5c995960521b6044820152606490fd5b906119b560209282815194859201610881565b0190565b919493610a289360405196879385516119da8160209889808a019101610881565b85016119ee82518093898085019101610881565b01611a0182518093888085019101610881565b01611a1482518093878085019101610881565b01611a2782518093868085019101610881565b010380855201836109d9565b15611a3a57565b5060405162461bcd60e51b815260206004820152607460248201527f5369676e4461746120657863657074696f6e2e20506c7a206a6f696e2052656c60448201527f6174696f6e206f6666696369616c20446973636f726420746f206f70656e206160648201527f207469636b657420666f7220737570706f7274203e3e2068747470733a2f2f646084820152736973636f72642e67672f716d473441484b36553560601b60a482015260c490fd5b604090815191611af88361097b565b600183528291600091825b602080821015611b2f57825160209291611b1c8261097b565b8682528681830152828901015201611b03565b50505091925050565b50634e487b7160e01b600052603260045260246000fd5b602090805115611b5d570190565b6119b5611b38565b6020918151811015611b7a575b60051b010190565b611b82611b38565b611b72565b604051611b93816109a3565b6000815290565b611cc092611c5d611c5861026161048394611c16610a289997611bd6611bd1611bcd6102d38c6104838c6104833361135a565b1590565b611910565b611be142821161195c565b611bea30611e58565b90611bfd611bf733611e58565b91611d8f565b611c0689611d8f565b91611c108c611d8f565b936119b9565b604051611c3981611c2b6020820180956119a2565b03601f1981018352826109d9565b51902090611c48815160ff1690565b6040602083015192015192612035565b611a33565b611cb6611c68611ae9565b611c70610a1b565b838152856020820152611c8282611b4f565b52611c8c81611b4f565b50611c95611b87565b90611c9e611b87565b611ca6611b87565b90611caf611b87565b9333614518565b506104833361135a565b805460ff19166001179055565b60405190611cda826109a3565b60008252565b50634e487b7160e01b600052601160045260246000fd5b6001906000198114611d07570190565b6119b5611ce0565b60018110611d1f575b6000190190565b611d27611ce0565b611d18565b818110611d37570390565b611d3f611ce0565b0390565b6001906001198111611d07570190565b81198111611d07570190565b602190805160011015611b5d570190565b906020918051821015611d8257010190565b611d8a611b38565b010190565b8015611e3a57806000908282935b611e265750611dab83610a49565b92611db960405194856109d9565b80845281601f19611dc983610a49565b013660208701375b611ddb5750505090565b611de490611d0f565b90600a90603082820680198211611e19575b0160f81b6001600160f81b031916841a611e108487611d70565b53049081611dd1565b611e21611ce0565b611df6565b92611e32600a91611cf7565b930480611d9d565b50604051611e478161097b565b60018152600360fc1b602082015290565b604051906001600160a01b0316611e6e826109be565b602a825260403660208401376030611e8583611b4f565b536078611e9183611d5f565b536029905b60018211611ea95761080e915015611f05565b80600f611ee592166010811015611eeb575b6f181899199a1a9b1b9c1cb0b131b232b360811b901a611edb8486611d70565b5360041c91611ef8565b90611e96565b611ef3611b38565b611ebb565b8015611d1f576000190190565b15611f0c57565b50606460405162461bcd60e51b815260206004820152602060248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152fd5b6001600160e01b0319166380ac58cd60e01b8114908115908282612017575b8315612006575b8315611ff5575b8315611f8b575b50505090565b925090611fe4575b8115611fd3575b8115611fc2575b8115611fb1575b50388080611f85565b6301ffc9a760e01b14905038611fa8565b6316388eeb60e21b81149150611fa1565b631f75f6d360e31b81149150611f9a565b635b5e139f60e01b81149150611f93565b6316388eeb60e21b82149350611f7e565b631f75f6d360e31b82149350611f77565b635b5e139f60e01b82149350611f70565b506040513d6000823e3d90fd5b9290916040516120448161097b565b601c948582526020957b0ca2ba3432b932bab69029b4b3b732b21026b2b9b9b0b3b29d05199960211b87840152604051926000905b888383106120ef57505092600096949260ff9260809795116120e4575b603c820152603c81526120a8816109be565b8781519101209360405194855216868401526040830152606082015282805260015afa156120d7575b60005190565b6120df612028565b6120d1565b87603c830152612096565b90918181840101518282880101520190612079565b9492909593916000549660ff8860a81c16158098819961222e575b811561220b575b50156121a7576000805460ff60a01b1916600160a01b17905561214d968861218f57612240565b61215357565b6000805460ff60a81b19169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb384740249890602090a1565b6000805460ff60a81b1916600160a81b179055612240565b505050505050505050608460405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b6064820152fd5b303b1591508161221d575b5038612126565b60a01c60ff16600114905038612216565b9050600160ff8260a01c16109061211f565b959394919461224d6117f9565b60405160208101602081528161226660408201856108b6565b039161227a601f19938481018352826109d9565b519020906040516122ac6020820192826122a08560409060208152600060208201520190565b039081018352826109d9565b5190201461231e576122f06122fa946122eb6122ff986122e66122f5966122e1611cc08e6122dc8e51151561237a565b61138e565b61251b565b6125fc565b6126df565b6127c2565b6138d2565b613a48565b60018060a01b03166000805160206158348339815191526000604051a2565b5050505050505050608460405162461bcd60e51b815260206004820152602760248201527f53656d616e7469635342543a20736368656d61205552492063616e6e6f7420626044820152666520656d70747960c81b6064820152fd5b1561238157565b5060405162461bcd60e51b815260206004820152602760248201527f53656d616e7469635342543a207072656469636174652063616e206e6f7420626044820152666520656d70747960c81b6064820152608490fd5b8181106123e2575050565b600081556001016123d7565b90601f82116123fb575050565b610a2891600c6000526020600020906020601f840160051c83019310612429575b601f0160051c01906123d7565b909150819061241c565b90601f8211612440575050565b610a289160016000526020600020906020601f840160051c8301931061242957601f0160051c01906123d7565b90601f821161247a575050565b610a289160026000526020600020906020601f840160051c8301931061242957601f0160051c01906123d7565b90601f82116124b4575050565b610a2891600d6000526020600020906020601f840160051c8301931061242957601f0160051c01906123d7565b9190601f81116124f057505050565b610a28926000526020600020906020601f840160051c8301931061242957601f0160051c01906123d7565b80519091906001600160401b0381116125ef575b600190612545816125408454611004565b612433565b602080601f8311600114612580575081929394600092612575575b5050600019600383901b1c191690821b179055565b015190503880612560565b6001600052601f19831695909190600080516020615894833981519152926000905b8882106125d857505083859697106125bf575b505050811b019055565b015160001960f88460031b161c191690553880806125b5565b8087859682949686015181550195019301906125a2565b6125f7610964565b61252f565b80519091906001600160401b0381116126d2575b6126248161261f600254611004565b61246d565b602080601f83116001146126605750819293600092612655575b50508160011b916000199060031b1c191617600255565b01519050388061263e565b6002600052601f19831694909190600080516020615794833981519152926000905b8782106126ba5750508360019596106126a1575b505050811b01600255565b015160001960f88460031b161c19169055388080612696565b80600185968294968601518155019501930190612682565b6126da610964565b612610565b80519091906001600160401b0381116127b5575b61270781612702600c54611004565b6123ee565b602080601f83116001146127435750819293600092612738575b50508160011b916000199060031b1c191617600c55565b015190503880612721565b600c600052601f198316949091906000805160206157b4833981519152926000905b87821061279d575050836001959610612784575b505050811b01600c55565b015160001960f88460031b161c19169055388080612779565b80600185968294968601518155019501930190612765565b6127bd610964565b6126f3565b80519091906001600160401b038111612898575b6127ea816127e5600d54611004565b6124a7565b602080601f8311600114612826575081929360009261281b575b50508160011b916000199060031b1c191617600d55565b015190503880612804565b600d600052601f198316949091906000805160206157d4833981519152926000905b878210612880575050836001959610612867575b505050811b01600d55565b015160001960f88460031b161c1916905538808061285c565b80600185968294968601518155019501930190612848565b6128a0610964565b6127d6565b81519192916001600160401b03811161295a575b6128cd816128c78454611004565b846124e1565b602080601f83116001146129095750819293946000926128fe575b50508160011b916000199060031b1c1916179055565b0151905038806128e8565b90601f1983169561291f85600052602060002090565b926000905b888210612942575050836001959697106125bf57505050811b019055565b80600185968294968601518155019501930190612924565b612962610964565b6128b9565b6020612980918160405193828580945193849201610881565b8101600e81520301902090565b60206129a6918160405193828580945193849201610881565b8101601081520301902090565b6020906129cd928260405194838680955193849201610881565b82019081520301902090565b6129e290612967565b5490565b80151580612a70575b15612a2a5761080e90600f54811015612a1d575b600f6000526000805160206158d48339815191520161126d565b612a25611b38565b612a03565b505060405162461bcd60e51b815260206004820152601c60248201527b14d95b585b9d1a58d4d0950e8818db185cdcc81b9bdd08195e1a5cdd60221b6044820152606490fd5b50600f5481106129ef565b6129e29061298d565b15612a8b57565b50606460405162461bcd60e51b815260206004820152602060248201527f53656d616e7469635342543a20707265646963617465206e6f742065786973746044820152fd5b601154811015612af0575b601160005260206000209060011b0190600090565b612af8611b38565b612adb565b600a54811015612b1d575b600a60005260206000209060011b0190600090565b612b25611b38565b612b08565b601354811015612b4a575b601360005260206000209060011b0190600090565b612b52611b38565b612b35565b90604051612b648161097b565b60ff60018294612b738161126d565b845201541690600582101561176f5760200152565b612ba6612bac9180151580612bd9575b612ba190612a84565b612ad0565b50612b57565b90602082519201516005811015612bc05790565b505050634e487b7160e01b600052602160045260246000fd5b506011548110612b98565b15612beb57565b5060405162461bcd60e51b815260206004820152601b60248201527a14d95b585b9d1a58d4d0950e88191bd95cc81b9bdd08195e1a5cdd602a1b6044820152606490fd5b612c3b612c4f92612967565b54600052600b6020526040600020906129b3565b5461080e811515612be4565b9081151580612cb5575b612c6e90612be4565b61080e6001612c8e612c88612c8286612afd565b5061126d565b94612afd565b500154600f54811015612a1d57600f6000526000805160206158d48339815191520161126d565b50600a548210612c65565b600454811015612ce0575b600460005260206000209060021b0190600090565b612ce8611b38565b612ccb565b9060405191828154918282526020928383019160005283600020936000905b828210612d2257505050610a28925003836109d9565b855484526001958601958895509381019390910190612d0c565b604051909190608081016001600160401b03811182821017612d97575b6040526060612d926003839560018060a01b03815416855260018101546020860152612d8760028201612ced565b604086015201612ced565b910152565b612d9f610964565b612d59565b612dad816136c3565b15612dcc57612dc7612dc161080e92612cc0565b50612d3c565b613b2c565b505060405162461bcd60e51b815260206004820152602760248201527f53656d616e7469635342543a2053656d616e74696353425420646f6573206e6f6044820152661d08195e1a5cdd60ca1b6064820152608490fd5b60045460018110611d1f576000190190565b612e3d612e23565b60035490818110611d37570390565b9060006001918293600454945b858110612ebf5750505050505050608460405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152fd5b612ec881612cc0565b50546001600160a01b03838116911614612eeb575b612ee690611cf7565b612e59565b92828114612f185784612ee6916001198111612f0b575b01939050612edd565b612f13611ce0565b612f02565b50505091505090565b60006001908192600454935b848110612f9257505050505050608460405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a20746f6b656e20696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152fd5b612f9b81612cc0565b50546001600160a01b0316612fb9575b612fb490611cf7565b612f2d565b91818114612fe65783612fb4916001198111612fd9575b01929050612fab565b612fe1611ce0565b612fd0565b505091505090565b6001600160a01b0316801561300e57600052600560205260406000205490565b505060405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608490fd5b613071816136c3565b1561308d5761307f90612cc0565b50546001600160a01b031690565b505060405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608490fd5b906130f090613068565b6001600160a01b0390811691161490565b600c546000929161311182611004565b91600190818116908115613162575060011461312c57505050565b9091929350600c60005260209081600020906000915b85831061315157505050500190565b805485840152918301918101613142565b60ff191683525050019150565b60009291815461317e81611004565b926001918083169081156131d7575060011461319b575b50505050565b90919293945060005260209081600020906000915b8583106131c65750505050019038808080613195565b8054858401529183019181016131b0565b60ff1916845250505001915038808080613195565b6131f5816136c3565b1561324e57613205600c54611004565b156132455761080e61321961323492611d8f565b611c2b60405193849261322e60208501613101565b906119a2565b64173539b7b760d91b815260050190565b5061080e611ccd565b505060405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608490fd5b906132b781613068565b6001600160a01b03818116908416811461336757331490811561334d575b50156132e457610a2891615164565b505060405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776044820152771b995c881b9bdc88185c1c1c9bdd995908199bdc88185b1b60421b606482015260849150fd5b60ff915061335f906102ce3391611374565b5416386132d5565b5050505050608460405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152fd5b6133c3816136c3565b156133e3576000908152600660205260409020546001600160a01b031690565b505060405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608490fd5b6001600160a01b03811691903383146134a8576134699033600052600760205260406000206113c2565b9015159060ff1981541660ff83161790556040519081527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3160203392a3565b50505050606460405162461bcd60e51b815260206004820152601960248201527822a9219b99189d1030b8383937bb32903a379031b0b63632b960391b6044820152fd5b156134f357565b5060405162461bcd60e51b815260206004820152601e60248201527f53656d616e7469635342543a206d757374207472616e7366657261626c6500006044820152606490fd5b90610a28929161354d60ff600954166134ec565b61355f61355a8433613703565b613564565b615039565b1561356b57565b5060405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6044820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b6064820152608490fd5b90916136299260ff60095416926135e1846134ec565b6040519361360c90602086016001600160401b0381118782101761364e575b604052600086526134ec565b61361961355a8433613703565b613624838383615039565b6152fe565b1561363057565b5060405162461bcd60e51b81528061364a60048201613670565b0390fd5b613656610964565b613600565b9061362993929161360c60ff600954166134ec565b60809060208152603260208201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b60608201520190565b80151590816136f0575b816136d6575090565b6136e09150612cc0565b50546001600160a01b0316151590565b90506136fa612e23565b811115906136cd565b6001600160a01b038061371584613068565b169080831690828214948515613754575b505050821561373457505090565b60ff92509061374f91600052600760205260406000206113c2565b541690565b61376191929395506133ba565b161491388080613726565b1561377357565b5060405162461bcd60e51b815260206004820152602260248201527f53656d616e7469635342543a20436c6173732063616e6e6f7420626520656d70604482015261747960f01b6064820152608490fd5b156137cb57565b5060405162461bcd60e51b815260206004820152601a60248201527914d95b585b9d1a58d4d0950e88185b1c9958591e48185919195960321b6044820152606490fd5b600f54610a289190600160401b81101561385a575b6001810180600f5581101561384d575b600f6000526000805160206158d4833981519152016128a5565b613855611b38565b613833565b613862610964565b613823565b601254610a289190600160401b8110156138c5575b60018101806012558110156138b8575b60126000527fbb8a6a4669ba250d26cd7a459eca9d215f8307e33aebe50379bc5a3617ec3444016128a5565b6138c0611b38565b61388c565b6138cd610964565b61387c565b9060005b825181101561398157806138ed61397c9285611b65565b5161394660408051602061393c8183018361390888836108db565b039361391c601f19958681018352826109d9565b519020935191820192826122a08560409060208152600060208201520190565b519020141561376c565b61395961395282612967565b54156137c4565b6139628161380e565b613976613970600f54611d0f565b91612967565b55611cf7565b6138d6565b509050565b1561398d57565b5060405162461bcd60e51b815260206004820152602660248201527f53656d616e7469635342543a207072656469636174652063616e6e6f7420626560448201526520656d70747960d01b6064820152608490fd5b60206001613a036011548260401b811015613a3b575b828101601155612ad0565b613a2e575b613a138451826128a5565b019101516005811015612bc05760ff80198354169116179055565b613a36610fed565b613a08565b613a43610964565b6139f8565b9060005b82518110156139815780613a63613ab89285611b65565b51613a8d8151604090815190613a836020918361390884820192836108db565b5190201415613986565b613a9a613952825161298d565b613aa3816139e2565b613976613ab1601154611d0f565b915161298d565b613a4c565b6020610a28919392936040519481613ade8793518092868087019101610881565b8201611a2782518093868085019101610881565b60405190613aff8261097b565b60018252603b60f81b6020830152565b60405190613b1c8261097b565b60018252601760f91b6020830152565b613b3581613d9b565b91600080935b6040840180518051871015613d1b5791613bce916020613b6a612ba6613b648b613bd498611b65565b51612ad0565b018051613b7681611729565b613b7f81611729565b613be2575090613bb6613bbf91613bb0613b9a8b8651611b65565b51613ba98c60608d0151611b65565b5190613e83565b90613abd565b915b5151611d0f565b871415613bda57613bb0613b0f565b94611cf7565b93613b3b565b613bb0613af2565b8051613bed81611729565b613bf681611729565b60011415613c31575090613c2b613bbf91613bb0613c158b8651611b65565b51613c248c60608d0151611b65565b5190613eb8565b91613bb8565b8051613c3c81611729565b613c4581611729565b60021415613c7a575090613c2b613bbf91613bb0613c648b8651611b65565b51613c738c60608d0151611b65565b5190613f2d565b8051613c8581611729565b613c8e81611729565b60031415613cc3575090613c2b613bbf91613bb0613cad8b8651611b65565b51613cbc8c60608d0151611b65565b5190613f9b565b51613ccd81611729565b613cd681611729565b600414613ce7575b613bbf90613bb8565b90613d13613bbf91613bb0613cfd8b8651611b65565b51613d0c8c60608d0151611b65565b51906140c3565b919050613cde565b50509350509050565b60405190613d318261097b565b600482526314dbdd5b60e21b6020830152565b60405190613d518261097b565b60018252601d60f91b6020830152565b60405190613d6e8261097b565b60018252605f60f81b6020830152565b60405190613d8b8261097b565b60018252600160fd1b6020830152565b60208101805161080e929060009080613e01575050613db8613d24565b915b519081613def5751613dd591506001600160a01b0316611e58565b613ddd613d44565b91613de6613d61565b90611c10613d7e565b50612c82613dfc91612afd565b613dd5565b6020613e1d92600f54831015613e23575b600f8152200161126d565b91613dba565b613e2b611b38565b613e12565b60405190613e3d8261097b565b6002825261381d60f11b6020830152565b610a28919392936040519485918351613e6f81602096878088019101610881565b8301611a1482518093878085019101610881565b90613ea9611bf7613e99612ba661080e95612ad0565b613ea1613e30565b905190613abd565b90613eb2613d7e565b90613e4e565b90613ecb613e99612ba661080e94612ad0565b90601254811015613f20575b601260005260206000200190613f1860016040518094613f06601160f91b91826020850152602184019061316f565b90815203601e198101855201836109d9565b613eb2613d7e565b613f28611b38565b613ed7565b90613f40613e99612ba661080e94612ad0565b613f18613f4b613d44565b613f53613d24565b613f6d613f5e613d61565b956001600160a01b0316611e58565b6040519586928451613f8781602097888089019101610881565b8401611a0182518093888085019101610881565b90613fab612ba661080e93612ad0565b90613f186001613fba83612afd565b500154600f5481101561405e575b600f600052614050613fec613fe3602093846000200161126d565b95613ea1613e30565b93613ff5613d44565b92614007614001613d61565b92612afd565b509160405197856140218a9751809286808b019101610881565b860161403582518093868085019101610881565b0161404882518093858085019101610881565b01019061316f565b03601f1981018452836109d9565b614066611b38565b613fc8565b604051906140788261097b565b6002825261203b60f01b6020830152565b604051906140968261097b565b60018252605b60f81b6020830152565b604051906140b38261097b565b60018252605d60f81b6020830152565b906140d6613e99612ba66140ff94612ad0565b906140f26140ec6140e683612b2a565b50612ced565b91612b2a565b5060019384809201612ced565b91614108611ccd565b926000925b614133575b50505061080e9250614122613d7e565b61412a614089565b90611c106140a6565b909192825184101561427b5785906020614153612ba6613b648888611b65565b01805161415f81611729565b61416881611729565b6141c5575061418990613bb061417e8787611b65565b51613ba98887611b65565b935b6141958451611d0f565b81106141ad575b6141a590611cf7565b92919061410d565b936141bd6141a591613bb061406b565b94905061419c565b80516141d081611729565b6141d981611729565b83141561420357506141fd90613bb06141f28787611b65565b51613c248887611b65565b9361418b565b805161420e81611729565b61421781611729565b6002141561423c57506141fd90613bb06142318787611b65565b51613c738887611b65565b9490945161424981611729565b61425281611729565b60031461425e5761418b565b936141fd90613bb06142708787611b65565b51613cbc8887611b65565b92614112565b1561428857565b5060405162461bcd60e51b815260206004820152602560248201527f53656d616e7469635342543a206d696e7420746f20746865207a65726f206164604482015264647265737360d81b6064820152608490fd5b156142e357565b5060405162461bcd60e51b815260206004820152601860248201527729b2b6b0b73a34b1a9a12a1d103830b930b69032b93937b960411b6044820152606490fd5b60405190614331826109a3565b6000808352366020840137565b815191600160401b83116143ad575b815483835580841061438f575b50602080910191600052806000206000925b84841061437a575050505050565b6001838282935185550192019301929061436c565b6143a7908360005284602060002091820191016123d7565b3861435a565b6143b5610964565b61434d565b600454600160401b91908281101561449e575b6143de600191828101600455612cc0565b939093614491575b82516143fb906001600160a01b0316856118f1565b6020808401518386015560028501908060408601518051948511614484575b8354858555808610614467575b500191600052806000206000925b848410614454575050505050509060036060610a28930151910161433e565b8051825592850192908501908201614435565b61447e9085600052868460002091820191016123d7565b38614427565b61448c610964565b61441a565b614499610fed565b6143e6565b6144a6610964565b6143cd565b156144b257565b5060405162461bcd60e51b815260206004820152603760248201527f53656d616e7469635342543a207472616e7366657220746f206e6f6e204552436044820152761b9918a932b1b2b4bb32b91034b6b83632b6b2b73a32b960491b6064820152608490fd5b939492936001600160a01b0381169390929190614536851515614281565b600a541515614544906142dc565b600454968796614552614324565b61455a614324565b614562610a2a565b6001600160a01b038a168152916000602084015260408301526060820152614589906143ba565b61459288612cc0565b50600201946145a089612cc0565b50600301946145b09086886146ca565b6145bb90858761479f565b6145c6908486614835565b6145d19083856148c8565b6145db9183614a4d565b5415156145e7906142dc565b6145f0816113a8565b80546145fb90611d43565b905582614606611ccd565b9061461092615249565b614619906144ab565b818160405160008051602061587483398151915260008092a461463b82612cc0565b5061464590612d3c565b61464e90613b2c565b60405180339261465e90826108db565b037f6ca139c4cce2c6dfdd350d203c7ac907df3bdc839acb0c9f1d59d01950aaaead91a490565b805490600160401b8210156146bd575b600182018082558210156146b0575b60005260206000200155565b6146b8611b38565b6146a4565b6146c5610964565b614695565b929190600091825b8151811015614797576146e58183611b65565b519060ff6001614701845180151580612bd957612ba190612a84565b50015416600581101561477b576147385761472e60208361472661473395518b614685565b015185614685565b611cf7565b6146d2565b50505050505050608460405162461bcd60e51b815260206004820152602160248201526000805160206158148339815191526044820152603960f91b6064820152fd5b5050634e487b7160e01b84525050602160045250602492509050fd5b505050509050565b909291600090815b8151811015614797576147ba8183611b65565b51906147d2825180151580612bd957612ba190612a84565b5060ff6001809201541660058110156148185714156147385761472e6148139261480d601254916148066020820151613867565b5188614685565b88614685565b6147a7565b5050634e487b7160e01b8452505060216004525060249350915050fd5b90929192600093845b8151811015614797576148518183611b65565b519060ff600161486d845180151580612bd957612ba190612a84565b5001541660058110156148ac57600214156147385761472e826148946148a7945188614685565b602001516001600160a01b031685614685565b61483e565b5050634e487b7160e01b86525050602160045250602492915050fd5b90929160005b815181101561497d576148e18183611b65565b516148ec8151614b11565b6020908181019182518015159081614971575b50156149255750614920929161491961472e925187614685565b5187614685565b6148ce565b95505050505050606491506040519062461bcd60e51b82526004820152601e60248201527f53656d616e7469635342543a207375626a656374206e6f7420657869737400006044820152fd5b9050600a5411386148ff565b5050509050565b90601354600160401b9081811015614a40575b6149a8600191828101601355612b2a565b929092614a33575b8451908151908111614a26575b8354818555808210614a08575b50602080920184600052826000206000915b8383106149f55750505050610a2893940151910161433e565b80518255918501919085019084016149dc565b614a20908560005282602060002091820191016123d7565b386149ca565b614a2e610964565b6149bd565b614a3b610fed565b6149b0565b614a48610964565b614997565b929160005b815181101561497d578061472e614a6c614b0c9385611b65565b51614a7b815160115411612a84565b614b0660135491614aff614a8d614324565b614ab0614a98614324565b91614aa1610a1b565b90815260209283820152614984565b614ab985612b2a565b5090614ad66001614ac988612b2a565b50019185015182846146ca565b614ae56040850151828461479f565b614af460608501518284614835565b6080840151916148c8565b5189614685565b85614685565b614a52565b6001614b2a60ff9280151580612bd957612ba190612a84565b500154166005811015614b7f5760031415614b4157565b5060405162461bcd60e51b815260206004820152602160248201526000805160206158148339815191526044820152603960f91b6064820152608490fd5b5050634e487b7160e01b600052602160045260246000fd5b15614b9e57565b5060405162461bcd60e51b815260206004820152601b60248201527a29b2b6b0b73a34b1a9a12a1d1036bab9ba1031329036b4b73a32b960291b6044820152606490fd5b6001604092614c096000913383526008602052614c0460ff8785205416614b97565b612967565b5490614c168215156142dc565b818152600b602052614c2d613952868320866129b3565b614c45600a54958284889452600b60205220856129b3565b5560405192614c538461097b565b8352602083019081528160401b841015614c9d575b818401600a55614c89614c7a85612afd565b949094614c90575b51846128a5565b5191015590565b614c98610fed565b614c82565b614ca5610964565b614c68565b92919094939533600052600860205260406000205460ff16614ccb90614b97565b6001600160a01b03841694614ce1861515614281565b600a548710614cef906142dc565b600454978897614cfd614324565b614d05614324565b90614d0e610a2a565b6001600160a01b038b16815292602084015260408301526060820152614589906143ba565b336000526008602052614d4d60ff60406000205416614b97565b614d5f614d5a8333613703565b614e16565b614d6882613068565b6001600160a01b038083169291614d8191168314614e78565b614db0614d93612dc7612dc186612cc0565b91614d9d85615120565b614da8600354611cf7565b6003556113a8565b614dba8154611d0f565b9055614dc583612cc0565b5080546001600160a01b03191690556040516000805160206157f483398151915290846000856000805160206158748339815191528285a46020815280614e11339460208301906108b6565b0390a4565b15614e1d57565b5060405162461bcd60e51b815260206004820152602c60248201527f53656d616e7469635342543a2063616c6c6572206973206e6f7420617070726f60448201526b3b32b21037b91037bbb732b960a11b6064820152608490fd5b15614e7f57565b5060405162461bcd60e51b815260206004820152601660248201527529b2b6b0b73a34b1a9a12a1d103737ba1037bbb732b960511b6044820152606490fd5b90916000913383526008602052604091614edd60ff8486205416614b97565b614ef1614eec82600354611d53565b600355565b614efa826113a8565b614f05828254611d2c565b9055835b818110614f1857505050505050565b80614f27614fc3928489614fc8565b35614f35614d5a8233613703565b614f47614f4282876130e6565b614e78565b614f56612dc7612dc183612cc0565b614f5f82615120565b614f7c614f6b83612cc0565b5080546001600160a01b0319169055565b86516001600160a01b03871691906000805160206157f483398151915290848b856000805160206158748339815191528285a480614fbb3394826108db565b0390a4611cf7565b614f09565b9190811015614fd85760051b0190565b610be2611b38565b15614fe757565b5060405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608490fd5b9061504383613068565b6001600160a01b0383811692909182168314156150c45761507d61508e9282169461506f861515614fe0565b61507887615120565b6113a8565b6150878154611d0f565b90556113a8565b6150988154611d43565b90556150ad826150a785612cc0565b506118f1565b6000805160206158748339815191526000604051a4565b505050505050608460405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152fd5b600081815260066020526040812080546001600160a01b03191690556001600160a01b0361514d83613068565b166000805160206158b483398151915282604051a4565b81600052600660205261517b8160406000206118f1565b6001600160a01b038061518d84613068565b169116906000805160206158b48339815191526000604051a4565b9081602091031261086c575161080e816107e3565b61080e939260809260018060a01b0316825260006020830152604082015281606082015201906108b6565b6001600160a01b03918216815291166020820152604081019190915260806060820181905261080e929101906108b6565b3d15615244573d9061522a82610a49565b9161523860405193846109d9565b82523d6000602084013e565b606090565b919091803b61525a57505050600190565b615282602091600093604051948580948193630a85bd0160e11b998a845233600485016151bd565b03926001600160a01b03165af1600091816152de575b506152d0575050506152a8615219565b805190816152cb57505060405162461bcd60e51b81528061364a60048201613670565b602001fd5b6001600160e01b0319161490565b6152f79192506152ee3d826109d9565b3d8101906151a8565b9038615298565b92919091823b6153115750505050600190565b615282926020926000604051809681958294630a85bd0160e11b9a8b855233600486016151e8565b91906153436117f9565b6001600160401b038111615406575b61536181612702600c54611004565b6000601f821160011461539a5781929360009261538f5750508160011b916000199060031b1c191617600c55565b013590503880612721565b600c600052601f198216936000805160206157b483398151915291805b8681106153ee57508360019596106153d457505050811b01600c55565b0135600019600384901b60f8161c19169055388080612779565b909260206001819286860135815501940191016153b7565b61540e610964565b615352565b61541b6117f9565b60ff8019600954169115151617600955565b91906154376117f9565b6001600160401b0381116154f7575b600190615457816125408454611004565b6000601f821160011461548f5781929394600092615484575050600019600383901b1c191690821b179055565b013590503880612560565b6001600052601f1982169460008051602061589483398151915291805b8781106154e1575083859697106154c757505050811b019055565b0135600019600384901b60f8161c191690553880806125b5565b82820135845592850192602091820191016154ac565b6154ff610964565b615446565b919061550e6117f9565b6001600160401b0381116155d1575b61552c8161261f600254611004565b6000601f82116001146155655781929360009261555a5750508160011b916000199060031b1c191617600255565b01359050388061263e565b6002600052601f1982169360008051602061579483398151915291805b8681106155b9575083600195961061559f57505050811b01600255565b0135600019600384901b60f8161c19169055388080612696565b90926020600181928686013581550194019101615582565b6155d9610964565b61551d565b6155e66117f9565b6001600160a01b03811690811561567d5760ff6156028261138e565b541661562b57611cc06156149161138e565b6000805160206158348339815191526000604051a2565b505060405162461bcd60e51b815260206004820152602160248201527f53656d616e7469635342543a206d696e74657220616c726561647920616464656044820152601960fa1b606482015260849150fd5b505060405162461bcd60e51b815260206004820152602c60248201527f53656d616e7469635342543a206d696e746572206d757374206e6f742062652060448201526b6e756c6c206164647265737360a01b606482015260849150fd5b6156e26117f9565b6001600160a01b03811660008181526008602052604090205490919060ff16156157405761570f9061138e565b60ff1981541690557f7df677640dd30a79584f8ecea06aeea15d215b861c5d3b5f8c26962d691f820e6000604051a2565b505060405162461bcd60e51b815260206004820152602260248201527f53656d616e7469635342543a206d696e74657220646f6573206e6f74206578696044820152611cdd60f21b606482015260849150fdfe405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5acedf6966c971051c3d54ec59162606531493a51404a002842f56009d7e5cf4a8c7d7b6990105719101dabeb77144f2a3385c8033acd3af97e9423a695e81ad1eb58ea074c4be03960be214c047b695cecdc52be7382eee092c135d1726fabfc44453656d616e7469635342543a207072656469636174652074797065206572726f3a159411d00fa06a3ec11d4578931f1b7f877cceadb1e083929d74ec020cb2438be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf68c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258d1108e10bcb7c27dddfc02ed9d693a074039d026cf4ea4240b40f7d581ac802a36469706673582212201dbed114eb67119dd9de29be89a5f7f67eaee9d45607dc14513d9572ca40a35b6c6578706572696d656e74616cf564736f6c634300080c0041

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