Contract 0x23E42499BE164a35D3fc5A1EA9Db84d391E95c50 3

 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x3bbdd742f62e46d718c035a93706c1d211733b3dd89fffd359263b0a7c9dc73eSafe Transfer Fr...144609272022-01-18 2:29:481 day 1 hr ago0xc89e791f7740f2d7e0f048875b92682edaabec60 IN  0x23e42499be164a35d3fc5a1ea9db84d391e95c500 BNB0.000131185
0x7b9d3e52ce191c0a72d3057056d4873a8b8264c601ffdab285671bf79484d44eBuy Moment144609102022-01-18 2:28:571 day 1 hr ago0xc89e791f7740f2d7e0f048875b92682edaabec60 IN  0x23e42499be164a35d3fc5a1ea9db84d391e95c500.3 BNB0.000187085
0x95a757c4df48d7738f62170ae0763200e80b9fef16af75a8e3913cbeb8cf4bbeBuy Moment144608942022-01-18 2:28:091 day 1 hr ago0xc89e791f7740f2d7e0f048875b92682edaabec60 IN  0x23e42499be164a35d3fc5a1ea9db84d391e95c500.3 BNB0.000187085
0xdd072d4601975216ebab56c5258843a05f1bf38df0fa99b03f6b808bf7064ef6Safe Transfer Fr...144607432022-01-18 2:20:361 day 1 hr ago0xc89e791f7740f2d7e0f048875b92682edaabec60 IN  0x23e42499be164a35d3fc5a1ea9db84d391e95c500 BNB0.000131185
0xea2691572ccde3a48c4983326226b58222739f6eb15e10820ba94a6599fd1d63Buy Moment144568912022-01-17 23:05:241 day 4 hrs ago0xde89db35d4aaa281904faccf48033a66003ea50d IN  0x23e42499be164a35d3fc5a1ea9db84d391e95c500.3 BNB0.000187085
0x78cdefe3c357dcae35f3e1dcfd00e37c22d1c962a3595d795d4f81b26666d369Buy Moment144565422022-01-17 22:47:571 day 5 hrs ago0xde89db35d4aaa281904faccf48033a66003ea50d IN  0x23e42499be164a35d3fc5a1ea9db84d391e95c500.3 BNB0.000187085
0xa7e771a2b67552994c3efa305f06d7f76f72065ff6bedbd36c806fef79e7fa37Buy Moment144564552022-01-17 22:43:361 day 5 hrs ago0xde89db35d4aaa281904faccf48033a66003ea50d IN  0x23e42499be164a35d3fc5a1ea9db84d391e95c500.3 BNB0.000187085
0xdedb1eca7c7b094d6e42ee955caf7041f875ff548736434111292d12e42ce007Buy Moment144564482022-01-17 22:43:151 day 5 hrs ago0xde89db35d4aaa281904faccf48033a66003ea50d IN  0x23e42499be164a35d3fc5a1ea9db84d391e95c500.3 BNB0.00037417
0x87558d059a2fef5b0b3001c25789814b2d8ec3564a15cf20be9de49b40dfe919Buy Moment144564372022-01-17 22:42:421 day 5 hrs ago0xde89db35d4aaa281904faccf48033a66003ea50d IN  0x23e42499be164a35d3fc5a1ea9db84d391e95c500.3 BNB0.000187085
0xa2d9db5d6ed98c38a9b2d4de14c59dfdc2f737db2b68638f4c3e819122d2132bBuy Moment144564132022-01-17 22:41:301 day 5 hrs ago0xde89db35d4aaa281904faccf48033a66003ea50d IN  0x23e42499be164a35d3fc5a1ea9db84d391e95c500.3 BNB0.000187085
0x5575e29f7202f8b3019cc22263da6472743c12d78aa553ea91dd7aaf560907b9Buy Moment144564082022-01-17 22:41:151 day 5 hrs ago0xde89db35d4aaa281904faccf48033a66003ea50d IN  0x23e42499be164a35d3fc5a1ea9db84d391e95c500.3 BNB0.000224502
0x0123d009cd1691af5a6bd3d5ca9487577f1187d9e786691e0282ecc031439acdBuy Moment144564012022-01-17 22:40:541 day 5 hrs ago0xde89db35d4aaa281904faccf48033a66003ea50d IN  0x23e42499be164a35d3fc5a1ea9db84d391e95c500.3 BNB0.000187085
0x15c9c01cc198bbf8c95e056d27262a6afa7228a7d57867cc9da36d86e1ff1d6aBuy Moment144563952022-01-17 22:40:361 day 5 hrs ago0xde89db35d4aaa281904faccf48033a66003ea50d IN  0x23e42499be164a35d3fc5a1ea9db84d391e95c500.3 BNB0.000187085
0x805b16401f52908680a453f9f13f1018f8320fefa999a7d8ad6047659963ff42Safe Transfer Fr...144458172022-01-17 13:44:251 day 14 hrs ago0x50754f1c7c16f71e16bd78e29fa21d845858da0b IN  0x23e42499be164a35d3fc5a1ea9db84d391e95c500 BNB0.000131185
0x54fd7ce2080f4f35ec1feb9aa2f034b917bd5189dddfa5dde54c7a0e91c45746Safe Transfer Fr...143571192022-01-14 11:32:044 days 16 hrs ago0xdc17261c0fb7930f2cca86fd3c3763cef48b81b8 IN  0x23e42499be164a35d3fc5a1ea9db84d391e95c500 BNB0.000131185
0x9b4c2330bcaab493a9b1188ed9ccce8aa79ae23807c595d77a285aa2ceded01aSafe Transfer Fr...143571112022-01-14 11:31:404 days 16 hrs ago0xdc17261c0fb7930f2cca86fd3c3763cef48b81b8 IN  0x23e42499be164a35d3fc5a1ea9db84d391e95c500 BNB0.00068833
0x5c82fbd6b3b219805d42bbb5a7e7ad4765ad882e2270844c708665adc2a48893Safe Transfer Fr...143569142022-01-14 11:21:494 days 16 hrs ago0xdc17261c0fb7930f2cca86fd3c3763cef48b81b8 IN  0x23e42499be164a35d3fc5a1ea9db84d391e95c500 BNB0.000467525
0xd591a1dbb77c31a755decfb116c3bf2b14897f1b79217c78bd06aead69fcd28dSafe Transfer Fr...143569012022-01-14 11:21:104 days 16 hrs ago0xdc17261c0fb7930f2cca86fd3c3763cef48b81b8 IN  0x23e42499be164a35d3fc5a1ea9db84d391e95c500 BNB0.000467525
0x1f6ffeeba802a5cd7ad0f9d76154ff85322f24edd23c37d6abd28f7e2f5cf137Safe Transfer Fr...143150232022-01-13 0:22:516 days 3 hrs ago0xfe19a78ec261bf9b032d2b6422cd8fa33f75a988 IN  0x23e42499be164a35d3fc5a1ea9db84d391e95c500 BNB0.00068833
0x5acddc5edc5a46626f9329eba89d481fd708f9c3f4641a98c960af1a6a85421cSet Approval For...143074652022-01-12 18:04:536 days 9 hrs ago0x3f79fd5d254d2fc990181471a049ea7a035b5ecb IN  0x23e42499be164a35d3fc5a1ea9db84d391e95c500 BNB0.00013124
0xba841b8bea62bb1dab2fc61a45093d822c6976b49b4e9d6c20e73fbdd0376c08Set Approval For...143065562022-01-12 17:19:256 days 10 hrs ago0x3f79fd5d254d2fc990181471a049ea7a035b5ecb IN  0x23e42499be164a35d3fc5a1ea9db84d391e95c500 BNB0.00013124
0xb5b26c25cb28600df7e0f1fd3f4eaf8942be67497c8f82cfdaae7367a9e669b4Safe Transfer Fr...143023942022-01-12 13:50:096 days 13 hrs ago0x3f79fd5d254d2fc990181471a049ea7a035b5ecb IN  0x23e42499be164a35d3fc5a1ea9db84d391e95c500 BNB0.000131185
0x4e88ea5a1794e8d5d8d7655ac2ae387b6e73efa84990b89a6213983298bf8672Safe Transfer Fr...143023372022-01-12 13:47:186 days 14 hrs ago0x3f79fd5d254d2fc990181471a049ea7a035b5ecb IN  0x23e42499be164a35d3fc5a1ea9db84d391e95c500 BNB0.00068833
0xbf74d12c598058b629d9504060cc5abd8fd4264455c50569598765a1d719bf11Set Approval For...143019942022-01-12 13:30:096 days 14 hrs ago0x3f79fd5d254d2fc990181471a049ea7a035b5ecb IN  0x23e42499be164a35d3fc5a1ea9db84d391e95c500 BNB0.00013124
0x7ecbec22c53fd0e0b4b77fbae3c356cfcf2a31bf836a84a8e9e73dcfc26fb062Safe Transfer Fr...143013702022-01-12 12:58:576 days 14 hrs ago0x3f79fd5d254d2fc990181471a049ea7a035b5ecb IN  0x23e42499be164a35d3fc5a1ea9db84d391e95c500 BNB0.000467525
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0x7b9d3e52ce191c0a72d3057056d4873a8b8264c601ffdab285671bf79484d44e144609102022-01-18 2:28:571 day 1 hr ago 0x23e42499be164a35d3fc5a1ea9db84d391e95c500x99d0d1ab70f791d3e3631074ec05ddf69fdb557c0.3 BNB
0x95a757c4df48d7738f62170ae0763200e80b9fef16af75a8e3913cbeb8cf4bbe144608942022-01-18 2:28:091 day 1 hr ago 0x23e42499be164a35d3fc5a1ea9db84d391e95c500x99d0d1ab70f791d3e3631074ec05ddf69fdb557c0.3 BNB
0xea2691572ccde3a48c4983326226b58222739f6eb15e10820ba94a6599fd1d63144568912022-01-17 23:05:241 day 4 hrs ago 0x23e42499be164a35d3fc5a1ea9db84d391e95c500x99d0d1ab70f791d3e3631074ec05ddf69fdb557c0.3 BNB
0x78cdefe3c357dcae35f3e1dcfd00e37c22d1c962a3595d795d4f81b26666d369144565422022-01-17 22:47:571 day 5 hrs ago 0x23e42499be164a35d3fc5a1ea9db84d391e95c500x99d0d1ab70f791d3e3631074ec05ddf69fdb557c0.3 BNB
0xa7e771a2b67552994c3efa305f06d7f76f72065ff6bedbd36c806fef79e7fa37144564552022-01-17 22:43:361 day 5 hrs ago 0x23e42499be164a35d3fc5a1ea9db84d391e95c500x99d0d1ab70f791d3e3631074ec05ddf69fdb557c0.3 BNB
0xdedb1eca7c7b094d6e42ee955caf7041f875ff548736434111292d12e42ce007144564482022-01-17 22:43:151 day 5 hrs ago 0x23e42499be164a35d3fc5a1ea9db84d391e95c500x99d0d1ab70f791d3e3631074ec05ddf69fdb557c0.3 BNB
0x87558d059a2fef5b0b3001c25789814b2d8ec3564a15cf20be9de49b40dfe919144564372022-01-17 22:42:421 day 5 hrs ago 0x23e42499be164a35d3fc5a1ea9db84d391e95c500x99d0d1ab70f791d3e3631074ec05ddf69fdb557c0.3 BNB
0xa2d9db5d6ed98c38a9b2d4de14c59dfdc2f737db2b68638f4c3e819122d2132b144564132022-01-17 22:41:301 day 5 hrs ago 0x23e42499be164a35d3fc5a1ea9db84d391e95c500x99d0d1ab70f791d3e3631074ec05ddf69fdb557c0.3 BNB
0x5575e29f7202f8b3019cc22263da6472743c12d78aa553ea91dd7aaf560907b9144564082022-01-17 22:41:151 day 5 hrs ago 0x23e42499be164a35d3fc5a1ea9db84d391e95c500x99d0d1ab70f791d3e3631074ec05ddf69fdb557c0.3 BNB
0x0123d009cd1691af5a6bd3d5ca9487577f1187d9e786691e0282ecc031439acd144564012022-01-17 22:40:541 day 5 hrs ago 0x23e42499be164a35d3fc5a1ea9db84d391e95c500x99d0d1ab70f791d3e3631074ec05ddf69fdb557c0.3 BNB
0x15c9c01cc198bbf8c95e056d27262a6afa7228a7d57867cc9da36d86e1ff1d6a144563952022-01-17 22:40:361 day 5 hrs ago 0x23e42499be164a35d3fc5a1ea9db84d391e95c500x99d0d1ab70f791d3e3631074ec05ddf69fdb557c0.3 BNB
0x817f000600246778b67f16f95b72736789dc4255a9203005577a6700f6cd617a140877382022-01-05 2:35:3114 days 1 hr ago 0x23e42499be164a35d3fc5a1ea9db84d391e95c500x99d0d1ab70f791d3e3631074ec05ddf69fdb557c0.3 BNB
0xfd1e76456fe3a657d15d6002384dced73e4ed2ac98544f342456255b4b1a979d140877062022-01-05 2:33:5514 days 1 hr ago 0x23e42499be164a35d3fc5a1ea9db84d391e95c500x99d0d1ab70f791d3e3631074ec05ddf69fdb557c0.3 BNB
0x5fb3791e3c9ab332d038f396c3bcfd15246b3728d66bd58406518ceb639d2e33140876942022-01-05 2:33:1914 days 1 hr ago 0x23e42499be164a35d3fc5a1ea9db84d391e95c500x99d0d1ab70f791d3e3631074ec05ddf69fdb557c0.3 BNB
0x20b4121c86c6307fdeaea8d9ee23d7dd2b9272f76857f0152ee5875c1640ca44140602882022-01-04 3:38:5915 days 10 mins ago 0x23e42499be164a35d3fc5a1ea9db84d391e95c500x99d0d1ab70f791d3e3631074ec05ddf69fdb557c0.3 BNB
0x223530967a958bd27980d12dee096b2a6c92a65ad16e0f61f2fad9a719602428140555372022-01-03 23:41:2415 days 4 hrs ago 0x23e42499be164a35d3fc5a1ea9db84d391e95c500x99d0d1ab70f791d3e3631074ec05ddf69fdb557c0.3 BNB
0xebccd8320313e091be48c7206a080dd5c481fd140035b8e53bfe2ccf926a8136130421022021-11-29 5:09:5850 days 22 hrs ago 0x23e42499be164a35d3fc5a1ea9db84d391e95c500x99d0d1ab70f791d3e3631074ec05ddf69fdb557c0.3 BNB
0x5f3c0c5db811a192edf9bdcd0a3fa95f44acc532033f2692dedcbec26340831b129622052021-11-26 4:57:2253 days 22 hrs ago 0x23e42499be164a35d3fc5a1ea9db84d391e95c500x99d0d1ab70f791d3e3631074ec05ddf69fdb557c0.3 BNB
0x561752e36e1a8acbe7944c5bd1fbadc606eaee59f9db81d63858221ece78c8d0129512752021-11-25 18:38:1154 days 9 hrs ago 0x23e42499be164a35d3fc5a1ea9db84d391e95c500x99d0d1ab70f791d3e3631074ec05ddf69fdb557c0.3 BNB
0x37daaeb4c293394215ffdfdb69bdb8f2fbc7f55766d3b72a3a2e4b505d8b2047129506902021-11-25 18:06:4454 days 9 hrs ago 0x23e42499be164a35d3fc5a1ea9db84d391e95c500x99d0d1ab70f791d3e3631074ec05ddf69fdb557c0.3 BNB
0xec3374a4ad838e9e731e1efd45f77a596a964c140414415c42301554d6c9ef10129502832021-11-25 17:44:0254 days 10 hrs ago 0x23e42499be164a35d3fc5a1ea9db84d391e95c500x99d0d1ab70f791d3e3631074ec05ddf69fdb557c0.3 BNB
0x643d62ae4b2c7934d36721275397b71acf8f7bb773264f3da6d5fdce14391583129502592021-11-25 17:42:5054 days 10 hrs ago 0x23e42499be164a35d3fc5a1ea9db84d391e95c500x99d0d1ab70f791d3e3631074ec05ddf69fdb557c0.3 BNB
0x86a1ebdd7bcacc6f2973d250f4e4fb9fefea9263c23e6881422088564c80ef64129500382021-11-25 17:31:3054 days 10 hrs ago 0x23e42499be164a35d3fc5a1ea9db84d391e95c500x99d0d1ab70f791d3e3631074ec05ddf69fdb557c0.3 BNB
0xaab1e1467f6c8d3f65460015e58f9179d8cf8f8a2502fd50634a5a5e18b2603e129500032021-11-25 17:29:4454 days 10 hrs ago 0x23e42499be164a35d3fc5a1ea9db84d391e95c500x99d0d1ab70f791d3e3631074ec05ddf69fdb557c0.3 BNB
0xcd2d2b83b863d360c9bd957b08ef5d58e5d45e1e956526066c5ce9c5b5c0eeb2129495242021-11-25 17:03:2354 days 10 hrs ago 0x23e42499be164a35d3fc5a1ea9db84d391e95c500x99d0d1ab70f791d3e3631074ec05ddf69fdb557c0.3 BNB
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
aspenNFT

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity Standard Json-Input format)

File 1 of 9 : aspennft.sol
// SPDX-License-Identifier: MIT
pragma solidity >=0.6.2 ^0.8.0;
pragma experimental ABIEncoderV2;

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


contract aspenNFT  is ERC1155 { 
    
    uint256[] public  listIds;
    address payable public owner;
    uint256 public Packprice;
    uint256 public PackSize;
    string public MetadataURI;

    mapping (uint => address) public momentIDToAddress;

    address zeroaddress = 0x0000000000000000000000000000000000000000;
    
    struct Offer {
        bool isForSale;
        uint momentID;
        address seller;
        uint minValue;          // in ether
        address onlySellTo;     // specify to sell only to a specific person
    }

    struct Bid {
        bool hasBid;
        uint momentID;
        address bidder;
        uint value;
    }
    struct  Collection {
        uint id;
        string name;
        uint256[] listIds;
        uint256[] rarity;
        uint256 maxPackCount;
    }
     mapping(string => Collection) Collections;

     // A record of punks that are offered for sale at a specific minimum value, and perhaps to a specific person
    mapping (uint => Offer) public momentsOfferedForSale;


    // A record of the highest punk bid
    mapping (uint => Bid) public momentBids;

    mapping (address => uint) public pendingWithdrawals;



    modifier onlyOwner() {
    require(msg.sender == owner);
    _;
}

    event Assign(address indexed to, uint256 momentID);
    event Transfer(address indexed from, address indexed to, uint256 value);
    event TransferFunds(address indexed from, address indexed to, uint256 value);

    event momentTransfer(address indexed from, address indexed to, uint256 momentID);
    event momentOffered(uint indexed momentID, uint minValue, address indexed toAddress);
    event momentBidEntered(uint indexed momentID, uint value, address indexed fromAddress);
    event momentBidWithdrawn(uint indexed momentID, uint value, address indexed fromAddress);
    event momentBought(uint indexed momentID, uint value, address indexed fromAddress, address indexed toAddress);
    event momentNoLongerForSale(uint indexed momentID);
    event PacksLeft(uint256 indexed packCount);
   constructor() payable ERC1155
        ('https://aspenlabs.io/collectables/tokens/{id}'){
            owner = payable(msg.sender);
            MetadataURI = 'https://aspenlabs.io/collectables/tokens/';
            
        
    }
    function createToken(address account,uint256[] memory ids,string memory Collectionname,uint Collectionid, uint256[] memory amounts,uint256 maxPackCount,bytes memory data) public  onlyOwner {
        Collections[Collectionname] =  Collection(Collectionid,Collectionname,ids, amounts, maxPackCount);
        _mintBatch(account, ids, amounts, data);
        for(uint i = 0; i<ids.length; i++){
           uint id = ids[i];
           momentIDToAddress[id] = account;
            emit Assign(account, id);
            
       }
       

    }
    
    function transferOwnership(address _to) public {
       require(msg.sender == owner);
       owner = payable(_to);
       
   }
     
    function getMetadataURI(string calldata TokenID) public view returns(string memory) {
        string memory URI =  string(abi.encodePacked(MetadataURI,TokenID));
        return URI;
    }
    
    function setPackPrice(uint256 price) public onlyOwner returns(uint256){
        Packprice = price;
        return Packprice;
    }
      function setPackSize(uint256 size) public onlyOwner returns(uint256){
        PackSize = size;
        return PackSize;
        
    }
     
    function getCollectionTokens(string calldata Collectionname) public view returns(uint256[] memory, uint256[] memory){
        Collection storage findCollection = Collections[Collectionname];
        uint256[] memory tokenIDs = findCollection.listIds;
        uint256[] memory rarity = findCollection.rarity;
        return (tokenIDs, rarity);
    }
    

    function momentsNoLongerForSale(uint momentID) public payable {
        if(momentIDToAddress[momentID] != msg.sender) revert();
        momentsOfferedForSale[momentID] = Offer(false, momentID, msg.sender, 0, zeroaddress);
        emit momentNoLongerForSale(momentID);
    }

    function offerMomentForSale(uint momentID, uint minSalePriceInWei) public payable {
        if(momentIDToAddress[momentID] != msg.sender) revert();
        momentsOfferedForSale[momentID] = Offer(true, momentID, msg.sender, minSalePriceInWei,zeroaddress);
        emit momentOffered(momentID, minSalePriceInWei, zeroaddress);
    }

    function offerMomentForSaleToAddress(uint momentID, uint minSalePriceInWei, address toAddress)  payable public {
        require(momentIDToAddress[momentID] != msg.sender);
        momentsOfferedForSale[momentID] = Offer(true, momentID, msg.sender, minSalePriceInWei, toAddress);
        emit momentOffered(momentID, minSalePriceInWei, toAddress);
    }
    
    function getMomentIDToAddress(uint momentID) public view returns(address) {
       address currentownerofID = momentIDToAddress[momentID];
       return currentownerofID;
    }
   

    function buyMoment(uint256 momentID) payable public {
        require(msg.value >= Packprice);
        owner.transfer(msg.value);
        emit TransferFunds(msg.sender,owner,msg.value);
        uint256 amount = PackSize;
        _safeTransferFrom(owner, msg.sender, momentID, amount , msg.data );
        momentIDToAddress[momentID] = msg.sender;
        emit Transfer(owner, msg.sender, momentID);
        emit momentBought(momentID, msg.value, owner, msg.sender);
    }

    function withdraw() public payable {
        uint amount = pendingWithdrawals[msg.sender];
        // Remember to zero the pending refund before
        // sending to prevent re-entrancy attacks
        pendingWithdrawals[msg.sender] = 0;
        payable(msg.sender).transfer(amount);
    }

    function enterBidForMoment(uint momentID) payable public {
        if(momentIDToAddress[momentID] == zeroaddress)revert();
        if(momentIDToAddress[momentID] == msg.sender)revert();
        require(msg.value > 0);
        Bid memory existing = momentBids[momentID];
        require(msg.value >= existing.value);
        if (existing.value > 0) {
            // Refund the failing bid
            pendingWithdrawals[existing.bidder] += existing.value;
        }
        momentBids[momentID] = Bid(true, momentID, msg.sender, msg.value);
        emit momentBidEntered(momentID, msg.value, msg.sender);
    }

    function acceptBidForMoment(uint momentID, uint minPrice) public payable {
        require(momentIDToAddress[momentID] == msg.sender);
        address seller = msg.sender;
        Bid memory bid = momentBids[momentID];
        if (bid.value == 0) revert();
        if (bid.value < minPrice) revert();
        momentIDToAddress[momentID] = bid.bidder;
        payable(msg.sender).transfer(bid.value);
        emit TransferFunds(bid.bidder,msg.sender,bid.value);
        _safeTransferFrom(seller,bid.bidder,momentID , PackSize, "0x01" );
        emit Transfer(seller, bid.bidder, 1);
        momentsOfferedForSale[momentID] = Offer(false, momentID, bid.bidder, 0, zeroaddress);
        momentBids[momentID] = Bid(false, momentID, zeroaddress, 0);
        emit momentBought(momentID, bid.value, seller, bid.bidder);
    }

    function withdrawBidForMoment(uint momentID) public payable {
        require(momentIDToAddress[momentID] != zeroaddress) ;
        require(momentIDToAddress[momentID] != msg.sender);
        Bid memory bid = momentBids[momentID];
        if (bid.bidder != msg.sender) revert();
        emit momentBidWithdrawn(momentID, bid.value, msg.sender);
        uint amount = bid.value;
        momentBids[momentID] = Bid(false, momentID, zeroaddress, 0);
        // Refund the bid money
        payable(msg.sender).transfer(amount);
    }
    
    function transferMoment(uint momentID, address _to) public {
        require(momentIDToAddress[momentID] == msg.sender);
        uint amount = 1;
        _safeTransferFrom(msg.sender, _to, momentID, amount, msg.data);
        momentIDToAddress[momentID] = _to;


    }
    

}

File 2 of 9 : ERC1155.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC1155.sol";
import "./IERC1155Receiver.sol";
import "./extensions/IERC1155MetadataURI.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/introspection/ERC165.sol";

/**
 * @dev Implementation of the basic standard multi-token.
 * See https://eips.ethereum.org/EIPS/eip-1155
 * Originally based on code by Enjin: https://github.com/enjin/erc-1155
 *
 * _Available since v3.1._
 */
contract ERC1155 is Context, ERC165, IERC1155, IERC1155MetadataURI {
    using Address for address;

    // Mapping from token ID to account balances
    mapping(uint256 => mapping(address => uint256)) private _balances;

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

    // Used as the URI for all token types by relying on ID substitution, e.g. https://token-cdn-domain/{id}.json
    string private _uri;

    /**
     * @dev See {_setURI}.
     */
    constructor(string memory uri_) {
        _setURI(uri_);
    }

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

    /**
     * @dev See {IERC1155MetadataURI-uri}.
     *
     * This implementation returns the same URI for *all* token types. It relies
     * on the token type ID substitution mechanism
     * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP].
     *
     * Clients calling this function must replace the `\{id\}` substring with the
     * actual token type ID.
     */
    function uri(uint256) public view virtual override returns (string memory) {
        return _uri;
    }

    /**
     * @dev See {IERC1155-balanceOf}.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function balanceOf(address account, uint256 id) public view virtual override returns (uint256) {
        require(account != address(0), "ERC1155: balance query for the zero address");
        return _balances[id][account];
    }

    /**
     * @dev See {IERC1155-balanceOfBatch}.
     *
     * Requirements:
     *
     * - `accounts` and `ids` must have the same length.
     */
    function balanceOfBatch(address[] memory accounts, uint256[] memory ids)
        public
        view
        virtual
        override
        returns (uint256[] memory)
    {
        require(accounts.length == ids.length, "ERC1155: accounts and ids length mismatch");

        uint256[] memory batchBalances = new uint256[](accounts.length);

        for (uint256 i = 0; i < accounts.length; ++i) {
            batchBalances[i] = balanceOf(accounts[i], ids[i]);
        }

        return batchBalances;
    }

    /**
     * @dev See {IERC1155-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        require(_msgSender() != operator, "ERC1155: setting approval status for self");

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

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

    /**
     * @dev See {IERC1155-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) public virtual override {
        require(
            from == _msgSender() || isApprovedForAll(from, _msgSender()),
            "ERC1155: caller is not owner nor approved"
        );
        _safeTransferFrom(from, to, id, amount, data);
    }

    /**
     * @dev See {IERC1155-safeBatchTransferFrom}.
     */
    function safeBatchTransferFrom(
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) public virtual override {
        require(
            from == _msgSender() || isApprovedForAll(from, _msgSender()),
            "ERC1155: transfer caller is not owner nor approved"
        );
        _safeBatchTransferFrom(from, to, ids, amounts, data);
    }

    /**
     * @dev Transfers `amount` tokens of token type `id` from `from` to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `from` must have a balance of tokens of type `id` of at least `amount`.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function _safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) internal virtual {
        require(to != address(0), "ERC1155: transfer to the zero address");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, from, to, _asSingletonArray(id), _asSingletonArray(amount), data);

        uint256 fromBalance = _balances[id][from];
        require(fromBalance >= amount, "ERC1155: insufficient balance for transfer");
        unchecked {
            _balances[id][from] = fromBalance - amount;
        }
        _balances[id][to] += amount;

        emit TransferSingle(operator, from, to, id, amount);

        _doSafeTransferAcceptanceCheck(operator, from, to, id, amount, data);
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_safeTransferFrom}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function _safeBatchTransferFrom(
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");
        require(to != address(0), "ERC1155: transfer to the zero address");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, from, to, ids, amounts, data);

        for (uint256 i = 0; i < ids.length; ++i) {
            uint256 id = ids[i];
            uint256 amount = amounts[i];

            uint256 fromBalance = _balances[id][from];
            require(fromBalance >= amount, "ERC1155: insufficient balance for transfer");
            unchecked {
                _balances[id][from] = fromBalance - amount;
            }
            _balances[id][to] += amount;
        }

        emit TransferBatch(operator, from, to, ids, amounts);

        _doSafeBatchTransferAcceptanceCheck(operator, from, to, ids, amounts, data);
    }

    /**
     * @dev Sets a new URI for all token types, by relying on the token type ID
     * substitution mechanism
     * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP].
     *
     * By this mechanism, any occurrence of the `\{id\}` substring in either the
     * URI or any of the amounts in the JSON file at said URI will be replaced by
     * clients with the token type ID.
     *
     * For example, the `https://token-cdn-domain/\{id\}.json` URI would be
     * interpreted by clients as
     * `https://token-cdn-domain/000000000000000000000000000000000000000000000000000000000004cce0.json`
     * for token type ID 0x4cce0.
     *
     * See {uri}.
     *
     * Because these URIs cannot be meaningfully represented by the {URI} event,
     * this function emits no events.
     */
    function _setURI(string memory newuri) internal virtual {
        _uri = newuri;
    }

    /**
     * @dev Creates `amount` tokens of token type `id`, and assigns them to `account`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - If `account` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function _mint(
        address account,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) internal virtual {
        require(account != address(0), "ERC1155: mint to the zero address");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, address(0), account, _asSingletonArray(id), _asSingletonArray(amount), data);

        _balances[id][account] += amount;
        emit TransferSingle(operator, address(0), account, id, amount);

        _doSafeTransferAcceptanceCheck(operator, address(0), account, id, amount, data);
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_mint}.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function _mintBatch(
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {
        require(to != address(0), "ERC1155: mint to the zero address");
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, address(0), to, ids, amounts, data);

        for (uint256 i = 0; i < ids.length; i++) {
            _balances[ids[i]][to] += amounts[i];
        }

        emit TransferBatch(operator, address(0), to, ids, amounts);

        _doSafeBatchTransferAcceptanceCheck(operator, address(0), to, ids, amounts, data);
    }

    /**
     * @dev Destroys `amount` tokens of token type `id` from `account`
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens of token type `id`.
     */
    function _burn(
        address account,
        uint256 id,
        uint256 amount
    ) internal virtual {
        require(account != address(0), "ERC1155: burn from the zero address");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, account, address(0), _asSingletonArray(id), _asSingletonArray(amount), "");

        uint256 accountBalance = _balances[id][account];
        require(accountBalance >= amount, "ERC1155: burn amount exceeds balance");
        unchecked {
            _balances[id][account] = accountBalance - amount;
        }

        emit TransferSingle(operator, account, address(0), id, amount);
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_burn}.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     */
    function _burnBatch(
        address account,
        uint256[] memory ids,
        uint256[] memory amounts
    ) internal virtual {
        require(account != address(0), "ERC1155: burn from the zero address");
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, account, address(0), ids, amounts, "");

        for (uint256 i = 0; i < ids.length; i++) {
            uint256 id = ids[i];
            uint256 amount = amounts[i];

            uint256 accountBalance = _balances[id][account];
            require(accountBalance >= amount, "ERC1155: burn amount exceeds balance");
            unchecked {
                _balances[id][account] = accountBalance - amount;
            }
        }

        emit TransferBatch(operator, account, address(0), ids, amounts);
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning, as well as batched variants.
     *
     * The same hook is called on both single and batched variants. For single
     * transfers, the length of the `id` and `amount` arrays will be 1.
     *
     * Calling conditions (for each `id` and `amount` pair):
     *
     * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * of token type `id` will be  transferred to `to`.
     * - When `from` is zero, `amount` tokens of token type `id` will be minted
     * for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens of token type `id`
     * will be burned.
     * - `from` and `to` are never both zero.
     * - `ids` and `amounts` have the same, non-zero length.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {}

    function _doSafeTransferAcceptanceCheck(
        address operator,
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) private {
        if (to.isContract()) {
            try IERC1155Receiver(to).onERC1155Received(operator, from, id, amount, data) returns (bytes4 response) {
                if (response != IERC1155Receiver.onERC1155Received.selector) {
                    revert("ERC1155: ERC1155Receiver rejected tokens");
                }
            } catch Error(string memory reason) {
                revert(reason);
            } catch {
                revert("ERC1155: transfer to non ERC1155Receiver implementer");
            }
        }
    }

    function _doSafeBatchTransferAcceptanceCheck(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) private {
        if (to.isContract()) {
            try IERC1155Receiver(to).onERC1155BatchReceived(operator, from, ids, amounts, data) returns (
                bytes4 response
            ) {
                if (response != IERC1155Receiver.onERC1155BatchReceived.selector) {
                    revert("ERC1155: ERC1155Receiver rejected tokens");
                }
            } catch Error(string memory reason) {
                revert(reason);
            } catch {
                revert("ERC1155: transfer to non ERC1155Receiver implementer");
            }
        }
    }

    function _asSingletonArray(uint256 element) private pure returns (uint256[] memory) {
        uint256[] memory array = new uint256[](1);
        array[0] = element;

        return array;
    }
}

File 3 of 9 : IERC1155.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

/**
 * @dev Required interface of an ERC1155 compliant contract, as defined in the
 * https://eips.ethereum.org/EIPS/eip-1155[EIP].
 *
 * _Available since v3.1._
 */
interface IERC1155 is IERC165 {
    /**
     * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`.
     */
    event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value);

    /**
     * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all
     * transfers.
     */
    event TransferBatch(
        address indexed operator,
        address indexed from,
        address indexed to,
        uint256[] ids,
        uint256[] values
    );

    /**
     * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to
     * `approved`.
     */
    event ApprovalForAll(address indexed account, address indexed operator, bool approved);

    /**
     * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI.
     *
     * If an {URI} event was emitted for `id`, the standard
     * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value
     * returned by {IERC1155MetadataURI-uri}.
     */
    event URI(string value, uint256 indexed id);

    /**
     * @dev Returns the amount of tokens of token type `id` owned by `account`.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function balanceOf(address account, uint256 id) external view returns (uint256);

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}.
     *
     * Requirements:
     *
     * - `accounts` and `ids` must have the same length.
     */
    function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids)
        external
        view
        returns (uint256[] memory);

    /**
     * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`,
     *
     * Emits an {ApprovalForAll} event.
     *
     * Requirements:
     *
     * - `operator` cannot be the caller.
     */
    function setApprovalForAll(address operator, bool approved) external;

    /**
     * @dev Returns true if `operator` is approved to transfer ``account``'s tokens.
     *
     * See {setApprovalForAll}.
     */
    function isApprovedForAll(address account, address operator) external view returns (bool);

    /**
     * @dev Transfers `amount` tokens of token type `id` from `from` to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - If the caller is not `from`, it must be have been approved to spend ``from``'s tokens via {setApprovalForAll}.
     * - `from` must have a balance of tokens of type `id` of at least `amount`.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes calldata data
    ) external;

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function safeBatchTransferFrom(
        address from,
        address to,
        uint256[] calldata ids,
        uint256[] calldata amounts,
        bytes calldata data
    ) external;
}

File 4 of 9 : IERC1155Receiver.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

File 5 of 9 : IERC1155MetadataURI.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC1155.sol";

/**
 * @dev Interface of the optional ERC1155MetadataExtension interface, as defined
 * in the https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[EIP].
 *
 * _Available since v3.1._
 */
interface IERC1155MetadataURI is IERC1155 {
    /**
     * @dev Returns the URI for token type `id`.
     *
     * If the `\{id\}` substring is present in the URI, it must be replaced by
     * clients with the actual token type ID.
     */
    function uri(uint256 id) external view returns (string memory);
}

File 6 of 9 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }

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

        (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

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 7 of 9 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

File 8 of 9 : ERC165.sol
// SPDX-License-Identifier: MIT

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 9 of 9 : IERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"payable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","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":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"momentID","type":"uint256"}],"name":"Assign","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"packCount","type":"uint256"}],"name":"PacksLeft","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"TransferBatch","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"TransferFunds","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"TransferSingle","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"value","type":"string"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"URI","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"momentID","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"},{"indexed":true,"internalType":"address","name":"fromAddress","type":"address"}],"name":"momentBidEntered","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"momentID","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"},{"indexed":true,"internalType":"address","name":"fromAddress","type":"address"}],"name":"momentBidWithdrawn","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"momentID","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"},{"indexed":true,"internalType":"address","name":"fromAddress","type":"address"},{"indexed":true,"internalType":"address","name":"toAddress","type":"address"}],"name":"momentBought","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"momentID","type":"uint256"}],"name":"momentNoLongerForSale","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"momentID","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"minValue","type":"uint256"},{"indexed":true,"internalType":"address","name":"toAddress","type":"address"}],"name":"momentOffered","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"momentID","type":"uint256"}],"name":"momentTransfer","type":"event"},{"inputs":[],"name":"MetadataURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PackSize","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"Packprice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"momentID","type":"uint256"},{"internalType":"uint256","name":"minPrice","type":"uint256"}],"name":"acceptBidForMoment","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"momentID","type":"uint256"}],"name":"buyMoment","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"string","name":"Collectionname","type":"string"},{"internalType":"uint256","name":"Collectionid","type":"uint256"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"uint256","name":"maxPackCount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"createToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"momentID","type":"uint256"}],"name":"enterBidForMoment","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"string","name":"Collectionname","type":"string"}],"name":"getCollectionTokens","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"},{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"TokenID","type":"string"}],"name":"getMetadataURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"momentID","type":"uint256"}],"name":"getMomentIDToAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"listIds","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"momentBids","outputs":[{"internalType":"bool","name":"hasBid","type":"bool"},{"internalType":"uint256","name":"momentID","type":"uint256"},{"internalType":"address","name":"bidder","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"momentIDToAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"momentID","type":"uint256"}],"name":"momentsNoLongerForSale","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"momentsOfferedForSale","outputs":[{"internalType":"bool","name":"isForSale","type":"bool"},{"internalType":"uint256","name":"momentID","type":"uint256"},{"internalType":"address","name":"seller","type":"address"},{"internalType":"uint256","name":"minValue","type":"uint256"},{"internalType":"address","name":"onlySellTo","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"momentID","type":"uint256"},{"internalType":"uint256","name":"minSalePriceInWei","type":"uint256"}],"name":"offerMomentForSale","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"momentID","type":"uint256"},{"internalType":"uint256","name":"minSalePriceInWei","type":"uint256"},{"internalType":"address","name":"toAddress","type":"address"}],"name":"offerMomentForSaleToAddress","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"pendingWithdrawals","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":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeBatchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"price","type":"uint256"}],"name":"setPackPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"size","type":"uint256"}],"name":"setPackSize","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"momentID","type":"uint256"},{"internalType":"address","name":"_to","type":"address"}],"name":"transferMoment","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"momentID","type":"uint256"}],"name":"withdrawBidForMoment","outputs":[],"stateMutability":"payable","type":"function"}]

60806040526000600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506040518060600160405280602d815260200162005584602d91396200007181620000eb60201b60201c565b5033600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550604051806060016040528060298152602001620055b16029913960079080519060200190620000e492919062000107565b506200021c565b80600290805190602001906200010392919062000107565b5050565b8280546200011590620001b7565b90600052602060002090601f01602090048101928262000139576000855562000185565b82601f106200015457805160ff191683800117855562000185565b8280016001018555821562000185579182015b828111156200018457825182559160200191906001019062000167565b5b50905062000194919062000198565b5090565b5b80821115620001b357600081600090555060010162000199565b5090565b60006002820490506001821680620001d057607f821691505b60208210811415620001e757620001e6620001ed565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b615358806200022c6000396000f3fe6080604052600436106101ed5760003560e01c80638e13b3411161010d578063e189cdfe116100a0578063f2bb80a71161006f578063f2bb80a714610701578063f2fde38b1461073e578063f3f4370314610767578063f42a2874146107a4578063feaf8274146107e1576101ed565b8063e189cdfe14610620578063e985e9c51461065e578063f092a5551461069b578063f242432a146106d8576101ed565b8063ab2bb80b116100dc578063ab2bb80b14610594578063ac034b96146105b0578063b4de8381146105db578063c2af0e1914610604576101ed565b80638e13b341146104ce5780639cf86bd01461050f578063a22cb4651461054f578063a6dc252e14610578576101ed565b80633ccfd60b1161018557806366497b461161015457806366497b461461044257806372423c3d1461046b5780637edb03df146104875780638da5cb5b146104a3576101ed565b80633ccfd60b146103b45780634e1273f4146103be57806351b19113146103fb57806361f3d3b514610417576101ed565b80630e89341c116101c15780630e89341c146102e65780631a4353ce1461032357806324c91ac91461034e5780632eb2c2d61461038b576101ed565b8062fdd58e146101f257806301ffc9a71461022f5780630b6af4991461026c5780630d1a0c62146102a9575b600080fd5b3480156101fe57600080fd5b506102196004803603810190610214919061415d565b6107fd565b6040516102269190614dfc565b60405180910390f35b34801561023b57600080fd5b5061025660048036038101906102519190614205565b6108c6565b6040516102639190614bac565b60405180910390f35b34801561027857600080fd5b50610293600480360381019061028e919061429c565b6109a8565b6040516102a09190614dfc565b60405180910390f35b3480156102b557600080fd5b506102d060048036038101906102cb919061429c565b610a15565b6040516102dd9190614dfc565b60405180910390f35b3480156102f257600080fd5b5061030d6004803603810190610308919061429c565b610a82565b60405161031a9190614c7a565b60405180910390f35b34801561032f57600080fd5b50610338610b16565b6040516103459190614dfc565b60405180910390f35b34801561035a57600080fd5b506103756004803603810190610370919061429c565b610b1c565b6040516103829190614dfc565b60405180910390f35b34801561039757600080fd5b506103b260048036038101906103ad9190613ed5565b610b40565b005b6103bc610be1565b005b3480156103ca57600080fd5b506103e560048036038101906103e09190614199565b610cb4565b6040516103f29190614b53565b60405180910390f35b61041560048036038101906104109190614301565b610e65565b005b34801561042357600080fd5b5061042c611095565b6040516104399190614c7a565b60405180910390f35b34801561044e57600080fd5b5061046960048036038101906104649190614023565b611123565b005b6104856004803603810190610480919061433d565b61134b565b005b6104a1600480360381019061049c919061429c565b611539565b005b3480156104af57600080fd5b506104b8611882565b6040516104c59190614a76565b60405180910390f35b3480156104da57600080fd5b506104f560048036038101906104f0919061429c565b6118a8565b604051610506959493929190614c0c565b60405180910390f35b34801561051b57600080fd5b506105366004803603810190610531919061429c565b61192b565b6040516105469493929190614bc7565b60405180910390f35b34801561055b57600080fd5b5061057660048036038101906105719190614121565b611988565b005b610592600480360381019061058d919061429c565b611b09565b005b6105ae60048036038101906105a9919061429c565b611e7c565b005b3480156105bc57600080fd5b506105c561215b565b6040516105d29190614dfc565b60405180910390f35b3480156105e757600080fd5b5061060260048036038101906105fd91906142c5565b612161565b005b61061e6004803603810190610619919061429c565b61227b565b005b34801561062c57600080fd5b5061064760048036038101906106429190614257565b612467565b604051610655929190614b75565b60405180910390f35b34801561066a57600080fd5b5061068560048036038101906106809190613e99565b61254c565b6040516106929190614bac565b60405180910390f35b3480156106a757600080fd5b506106c260048036038101906106bd919061429c565b6125e0565b6040516106cf9190614a5b565b60405180910390f35b3480156106e457600080fd5b506106ff60048036038101906106fa9190613f94565b612622565b005b34801561070d57600080fd5b506107286004803603810190610723919061429c565b6126c3565b6040516107359190614a5b565b60405180910390f35b34801561074a57600080fd5b5061076560048036038101906107609190613e70565b6126f6565b005b34801561077357600080fd5b5061078e60048036038101906107899190613e70565b612794565b60405161079b9190614dfc565b60405180910390f35b3480156107b057600080fd5b506107cb60048036038101906107c69190614257565b6127ac565b6040516107d89190614c7a565b60405180910390f35b6107fb60048036038101906107f69190614301565b6127e1565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561086e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161086590614cdc565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061099157507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806109a157506109a082612d92565b5b9050919050565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610a0457600080fd5b816005819055506005549050919050565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610a7157600080fd5b816006819055506006549050919050565b606060028054610a91906150ea565b80601f0160208091040260200160405190810160405280929190818152602001828054610abd906150ea565b8015610b0a5780601f10610adf57610100808354040283529160200191610b0a565b820191906000526020600020905b815481529060010190602001808311610aed57829003601f168201915b50505050509050919050565b60055481565b60038181548110610b2c57600080fd5b906000526020600020016000915090505481565b610b48612dfc565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480610b8e5750610b8d85610b88612dfc565b61254c565b5b610bcd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bc490614d3c565b60405180910390fd5b610bda8585858585612e04565b5050505050565b6000600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490506000600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610cb0573d6000803e3d6000fd5b5050565b60608151835114610cfa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cf190614d9c565b60405180910390fd5b6000835167ffffffffffffffff811115610d3d577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015610d6b5781602001602082028036833780820191505090505b50905060005b8451811015610e5a57610e04858281518110610db6577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151858381518110610df7577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101516107fd565b828281518110610e3d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101818152505080610e539061511c565b9050610d71565b508091505092915050565b3373ffffffffffffffffffffffffffffffffffffffff166008600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610ed057600080fd5b6040518060a001604052806001151581526020018381526020013373ffffffffffffffffffffffffffffffffffffffff168152602001828152602001600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815250600b600084815260200190815260200160002060008201518160000160006101000a81548160ff0219169083151502179055506020820151816001015560408201518160020160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506060820151816003015560808201518160040160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550905050600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16827faaf86cdbd923b6e526f22f09c81e2944a5ace67acc02c434a1b69f094921b614836040516110899190614dfc565b60405180910390a35050565b600780546110a2906150ea565b80601f01602080910402602001604051908101604052809291908181526020018280546110ce906150ea565b801561111b5780601f106110f05761010080835404028352916020019161111b565b820191906000526020600020905b8154815290600101906020018083116110fe57829003601f168201915b505050505081565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461117d57600080fd5b6040518060a0016040528085815260200186815260200187815260200184815260200183815250600a866040516111b49190614a1e565b90815260200160405180910390206000820151816000015560208201518160010190805190602001906111e8929190613ad1565b506040820151816002019080519060200190611205929190613b57565b506060820151816003019080519060200190611222929190613b57565b506080820151816004015590505061123c87878584613164565b60005b8651811015611341576000878281518110611283577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101519050886008600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508873ffffffffffffffffffffffffffffffffffffffff167f8a0e37b73a0d9c82e205d4d1a3ff3d0b57ce5f4d7bccf6bac03336dc101cb7ba826040516113259190614dfc565b60405180910390a25080806113399061511c565b91505061123f565b5050505050505050565b3373ffffffffffffffffffffffffffffffffffffffff166008600085815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156113b757600080fd5b6040518060a001604052806001151581526020018481526020013373ffffffffffffffffffffffffffffffffffffffff1681526020018381526020018273ffffffffffffffffffffffffffffffffffffffff16815250600b600085815260200190815260200160002060008201518160000160006101000a81548160ff0219169083151502179055506020820151816001015560408201518160020160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506060820151816003015560808201518160040160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055509050508073ffffffffffffffffffffffffffffffffffffffff16837faaf86cdbd923b6e526f22f09c81e2944a5ace67acc02c434a1b69f094921b6148460405161152c9190614dfc565b60405180910390a3505050565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166008600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156115c757600080fd5b3373ffffffffffffffffffffffffffffffffffffffff166008600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141561163357600080fd5b6000341161164057600080fd5b6000600c60008381526020019081526020016000206040518060800160405290816000820160009054906101000a900460ff16151515158152602001600182015481526020016002820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001600382015481525050905080606001513410156116f857600080fd5b600081606001511115611764578060600151600d6000836040015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461175c9190614fba565b925050819055505b60405180608001604052806001151581526020018381526020013373ffffffffffffffffffffffffffffffffffffffff16815260200134815250600c600084815260200190815260200160002060008201518160000160006101000a81548160ff0219169083151502179055506020820151816001015560408201518160020160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550606082015181600301559050503373ffffffffffffffffffffffffffffffffffffffff16827f4abd15882cef700c80cf2f7c48cccd789369bbb0a2d861eb16b513aeaa07a23a346040516118769190614dfc565b60405180910390a35050565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600b6020528060005260406000206000915090508060000160009054906101000a900460ff16908060010154908060020160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060030154908060040160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905085565b600c6020528060005260406000206000915090508060000160009054906101000a900460ff16908060010154908060020160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060030154905084565b8173ffffffffffffffffffffffffffffffffffffffff166119a7612dfc565b73ffffffffffffffffffffffffffffffffffffffff1614156119fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119f590614d7c565b60405180910390fd5b8060016000611a0b612dfc565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611ab8612dfc565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611afd9190614bac565b60405180910390a35050565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166008600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415611b9757600080fd5b3373ffffffffffffffffffffffffffffffffffffffff166008600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415611c0357600080fd5b6000600c60008381526020019081526020016000206040518060800160405290816000820160009054906101000a900460ff16151515158152602001600182015481526020016002820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200160038201548152505090503373ffffffffffffffffffffffffffffffffffffffff16816040015173ffffffffffffffffffffffffffffffffffffffff1614611ce657600080fd5b3373ffffffffffffffffffffffffffffffffffffffff16827fff0571ed1107ffb11e9a36f0c6ecddc6ee76502e99fb9911602fee0a76b3e80a8360600151604051611d319190614dfc565b60405180910390a36000816060015190506040518060800160405280600015158152602001848152602001600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000815250600c600085815260200190815260200160002060008201518160000160006101000a81548160ff0219169083151502179055506020820151816001015560408201518160020160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550606082015181600301559050503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611e76573d6000803e3d6000fd5b50505050565b600554341015611e8b57600080fd5b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc349081150290604051600060405180830381858888f19350505050158015611ef3573d6000803e3d6000fd5b50600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f5a0155838afb0f859197785e575b9ad1afeb456c6e522b6f632ee8465941315e34604051611f739190614dfc565b60405180910390a360006006549050611ff6600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff163384846000368080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050506133ce565b336008600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055503373ffffffffffffffffffffffffffffffffffffffff16600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516120c79190614dfc565b60405180910390a33373ffffffffffffffffffffffffffffffffffffffff16600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16837f3f95f9f1bc4dae11c92143a0738007134b29543524e38cb1e5cff568ff1399483460405161214f9190614dfc565b60405180910390a45050565b60065481565b3373ffffffffffffffffffffffffffffffffffffffff166008600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146121cc57600080fd5b600060019050612224338385846000368080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050506133ce565b816008600085815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505050565b3373ffffffffffffffffffffffffffffffffffffffff166008600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146122e657600080fd5b6040518060a001604052806000151581526020018281526020013373ffffffffffffffffffffffffffffffffffffffff16815260200160008152602001600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815250600b600083815260200190815260200160002060008201518160000160006101000a81548160ff0219169083151502179055506020820151816001015560408201518160020160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506060820151816003015560808201518160040160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550905050807fff7d45208d3df568d23bf01627dc4f8f979fcb1ff8bf9ffe756b53cdae02c72c60405160405180910390a250565b6060806000600a858560405161247e929190614a05565b908152602001604051809103902090506000816002018054806020026020016040519081016040528092919081815260200182805480156124de57602002820191906000526020600020905b8154815260200190600101908083116124ca575b5050505050905060008260030180548060200260200160405190810160405280929190818152602001828054801561253557602002820191906000526020600020905b815481526020019060010190808311612521575b505050505090508181945094505050509250929050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000806008600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905080915050919050565b61262a612dfc565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480612670575061266f8561266a612dfc565b61254c565b5b6126af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126a690614cfc565b60405180910390fd5b6126bc85858585856133ce565b5050505050565b60086020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461275057600080fd5b80600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600d6020528060005260406000206000915090505481565b60606000600784846040516020016127c693929190614a35565b60405160208183030381529060405290508091505092915050565b3373ffffffffffffffffffffffffffffffffffffffff166008600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461284c57600080fd5b60003390506000600c60008581526020019081526020016000206040518060800160405290816000820160009054906101000a900460ff16151515158152602001600182015481526020016002820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001600382015481525050905060008160600151141561290a57600080fd5b828160600151101561291b57600080fd5b80604001516008600086815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055503373ffffffffffffffffffffffffffffffffffffffff166108fc82606001519081150290604051600060405180830381858888f193505050501580156129bb573d6000803e3d6000fd5b503373ffffffffffffffffffffffffffffffffffffffff16816040015173ffffffffffffffffffffffffffffffffffffffff167f5a0155838afb0f859197785e575b9ad1afeb456c6e522b6f632ee8465941315e8360600151604051612a219190614dfc565b60405180910390a3612a71828260400151866006546040518060400160405280600481526020017f30783031000000000000000000000000000000000000000000000000000000008152506133ce565b806040015173ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6001604051612ad39190614c5f565b60405180910390a36040518060a00160405280600015158152602001858152602001826040015173ffffffffffffffffffffffffffffffffffffffff16815260200160008152602001600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815250600b600086815260200190815260200160002060008201518160000160006101000a81548160ff0219169083151502179055506020820151816001015560408201518160020160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506060820151816003015560808201518160040160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055509050506040518060800160405280600015158152602001858152602001600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000815250600c600086815260200190815260200160002060008201518160000160006101000a81548160ff0219169083151502179055506020820151816001015560408201518160020160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060608201518160030155905050806040015173ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16857f3f95f9f1bc4dae11c92143a0738007134b29543524e38cb1e5cff568ff1399488460600151604051612d849190614dfc565b60405180910390a450505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b8151835114612e48576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e3f90614dbc565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612eb8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612eaf90614d1c565b60405180910390fd5b6000612ec2612dfc565b9050612ed2818787878787613650565b60005b84518110156130cf576000858281518110612f19577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190506000858381518110612f5e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015612fff576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ff690614d5c565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546130b49190614fba565b92505081905550505050806130c89061511c565b9050612ed5565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051613146929190614b75565b60405180910390a461315c818787878787613658565b505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156131d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131cb90614ddc565b60405180910390fd5b8151835114613218576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161320f90614dbc565b60405180910390fd5b6000613222612dfc565b905061323381600087878787613650565b60005b845181101561333857838181518110613278577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101516000808784815181106132bc577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461331e9190614fba565b9250508190555080806133309061511c565b915050613236565b508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516133b0929190614b75565b60405180910390a46133c781600087878787613658565b5050505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141561343e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161343590614d1c565b60405180910390fd5b6000613448612dfc565b905061346881878761345988613828565b61346288613828565b87613650565b600080600086815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050838110156134ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134f690614d5c565b60405180910390fd5b83810360008087815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508360008087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546135b49190614fba565b925050819055508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628888604051613631929190614e17565b60405180910390a46136478288888888886138ee565b50505050505050565b505050505050565b6136778473ffffffffffffffffffffffffffffffffffffffff16613abe565b15613820578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b81526004016136bd959493929190614a91565b602060405180830381600087803b1580156136d757600080fd5b505af192505050801561370857506040513d601f19601f82011682018060405250810190613705919061422e565b60015b61379757613714615210565b8061371f575061375c565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016137539190614c7a565b60405180910390fd5b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161378e90614c9c565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161461381e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161381590614cbc565b60405180910390fd5b505b505050505050565b60606000600167ffffffffffffffff81111561386d577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60405190808252806020026020018201604052801561389b5781602001602082028036833780820191505090505b50905082816000815181106138d9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101818152505080915050919050565b61390d8473ffffffffffffffffffffffffffffffffffffffff16613abe565b15613ab6578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b8152600401613953959493929190614af9565b602060405180830381600087803b15801561396d57600080fd5b505af192505050801561399e57506040513d601f19601f8201168201806040525081019061399b919061422e565b60015b613a2d576139aa615210565b806139b557506139f2565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016139e99190614c7a565b60405180910390fd5b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613a2490614c9c565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614613ab4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613aab90614cbc565b60405180910390fd5b505b505050505050565b600080823b905060008111915050919050565b828054613add906150ea565b90600052602060002090601f016020900481019282613aff5760008555613b46565b82601f10613b1857805160ff1916838001178555613b46565b82800160010185558215613b46579182015b82811115613b45578251825591602001919060010190613b2a565b5b509050613b539190613ba4565b5090565b828054828255906000526020600020908101928215613b93579160200282015b82811115613b92578251825591602001919060010190613b77565b5b509050613ba09190613ba4565b5090565b5b80821115613bbd576000816000905550600101613ba5565b5090565b6000613bd4613bcf84614e71565b614e40565b90508083825260208201905082856020860282011115613bf357600080fd5b60005b85811015613c235781613c098882613d15565b845260208401935060208301925050600181019050613bf6565b5050509392505050565b6000613c40613c3b84614e9d565b614e40565b90508083825260208201905082856020860282011115613c5f57600080fd5b60005b85811015613c8f5781613c758882613e5b565b845260208401935060208301925050600181019050613c62565b5050509392505050565b6000613cac613ca784614ec9565b614e40565b905082815260208101848484011115613cc457600080fd5b613ccf8482856150a8565b509392505050565b6000613cea613ce584614ef9565b614e40565b905082815260208101848484011115613d0257600080fd5b613d0d8482856150a8565b509392505050565b600081359050613d24816152c6565b92915050565b600082601f830112613d3b57600080fd5b8135613d4b848260208601613bc1565b91505092915050565b600082601f830112613d6557600080fd5b8135613d75848260208601613c2d565b91505092915050565b600081359050613d8d816152dd565b92915050565b600081359050613da2816152f4565b92915050565b600081519050613db7816152f4565b92915050565b600082601f830112613dce57600080fd5b8135613dde848260208601613c99565b91505092915050565b60008083601f840112613df957600080fd5b8235905067ffffffffffffffff811115613e1257600080fd5b602083019150836001820283011115613e2a57600080fd5b9250929050565b600082601f830112613e4257600080fd5b8135613e52848260208601613cd7565b91505092915050565b600081359050613e6a8161530b565b92915050565b600060208284031215613e8257600080fd5b6000613e9084828501613d15565b91505092915050565b60008060408385031215613eac57600080fd5b6000613eba85828601613d15565b9250506020613ecb85828601613d15565b9150509250929050565b600080600080600060a08688031215613eed57600080fd5b6000613efb88828901613d15565b9550506020613f0c88828901613d15565b945050604086013567ffffffffffffffff811115613f2957600080fd5b613f3588828901613d54565b935050606086013567ffffffffffffffff811115613f5257600080fd5b613f5e88828901613d54565b925050608086013567ffffffffffffffff811115613f7b57600080fd5b613f8788828901613dbd565b9150509295509295909350565b600080600080600060a08688031215613fac57600080fd5b6000613fba88828901613d15565b9550506020613fcb88828901613d15565b9450506040613fdc88828901613e5b565b9350506060613fed88828901613e5b565b925050608086013567ffffffffffffffff81111561400a57600080fd5b61401688828901613dbd565b9150509295509295909350565b600080600080600080600060e0888a03121561403e57600080fd5b600061404c8a828b01613d15565b975050602088013567ffffffffffffffff81111561406957600080fd5b6140758a828b01613d54565b965050604088013567ffffffffffffffff81111561409257600080fd5b61409e8a828b01613e31565b95505060606140af8a828b01613e5b565b945050608088013567ffffffffffffffff8111156140cc57600080fd5b6140d88a828b01613d54565b93505060a06140e98a828b01613e5b565b92505060c088013567ffffffffffffffff81111561410657600080fd5b6141128a828b01613dbd565b91505092959891949750929550565b6000806040838503121561413457600080fd5b600061414285828601613d15565b925050602061415385828601613d7e565b9150509250929050565b6000806040838503121561417057600080fd5b600061417e85828601613d15565b925050602061418f85828601613e5b565b9150509250929050565b600080604083850312156141ac57600080fd5b600083013567ffffffffffffffff8111156141c657600080fd5b6141d285828601613d2a565b925050602083013567ffffffffffffffff8111156141ef57600080fd5b6141fb85828601613d54565b9150509250929050565b60006020828403121561421757600080fd5b600061422584828501613d93565b91505092915050565b60006020828403121561424057600080fd5b600061424e84828501613da8565b91505092915050565b6000806020838503121561426a57600080fd5b600083013567ffffffffffffffff81111561428457600080fd5b61429085828601613de7565b92509250509250929050565b6000602082840312156142ae57600080fd5b60006142bc84828501613e5b565b91505092915050565b600080604083850312156142d857600080fd5b60006142e685828601613e5b565b92505060206142f785828601613d15565b9150509250929050565b6000806040838503121561431457600080fd5b600061432285828601613e5b565b925050602061433385828601613e5b565b9150509250929050565b60008060006060848603121561435257600080fd5b600061436086828701613e5b565b935050602061437186828701613e5b565b925050604061438286828701613d15565b9150509250925092565b600061439883836149e7565b60208301905092915050565b6143ad81615022565b82525050565b6143bc81615010565b82525050565b60006143cd82614f4e565b6143d78185614f7c565b93506143e283614f29565b8060005b838110156144135781516143fa888261438c565b975061440583614f6f565b9250506001810190506143e6565b5085935050505092915050565b61442981615034565b82525050565b600061443a82614f59565b6144448185614f8d565b93506144548185602086016150b7565b61445d816151f2565b840191505092915050565b61447181615096565b82525050565b60006144838385614faf565b93506144908385846150a8565b82840190509392505050565b60006144a782614f64565b6144b18185614f9e565b93506144c18185602086016150b7565b6144ca816151f2565b840191505092915050565b60006144e082614f64565b6144ea8185614faf565b93506144fa8185602086016150b7565b80840191505092915050565b60008154614513816150ea565b61451d8186614faf565b9450600182166000811461453857600181146145495761457c565b60ff1983168652818601935061457c565b61455285614f39565b60005b8381101561457457815481890152600182019150602081019050614555565b838801955050505b50505092915050565b6000614592603483614f9e565b91507f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008301527f526563656976657220696d706c656d656e7465720000000000000000000000006020830152604082019050919050565b60006145f8602883614f9e565b91507f455243313135353a204552433131353552656365697665722072656a6563746560008301527f6420746f6b656e730000000000000000000000000000000000000000000000006020830152604082019050919050565b600061465e602b83614f9e565b91507f455243313135353a2062616c616e636520717565727920666f7220746865207a60008301527f65726f20616464726573730000000000000000000000000000000000000000006020830152604082019050919050565b60006146c4602983614f9e565b91507f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008301527f20617070726f76656400000000000000000000000000000000000000000000006020830152604082019050919050565b600061472a602583614f9e565b91507f455243313135353a207472616e7366657220746f20746865207a65726f20616460008301527f64726573730000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614790603283614f9e565b91507f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008301527f6f776e6572206e6f7220617070726f76656400000000000000000000000000006020830152604082019050919050565b60006147f6602a83614f9e565b91507f455243313135353a20696e73756666696369656e742062616c616e636520666f60008301527f72207472616e73666572000000000000000000000000000000000000000000006020830152604082019050919050565b600061485c602983614f9e565b91507f455243313135353a2073657474696e6720617070726f76616c2073746174757360008301527f20666f722073656c6600000000000000000000000000000000000000000000006020830152604082019050919050565b60006148c2602983614f9e565b91507f455243313135353a206163636f756e747320616e6420696473206c656e67746860008301527f206d69736d6174636800000000000000000000000000000000000000000000006020830152604082019050919050565b6000614928602883614f9e565b91507f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008301527f6d69736d617463680000000000000000000000000000000000000000000000006020830152604082019050919050565b600061498e602183614f9e565b91507f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008301527f73000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6149f08161508c565b82525050565b6149ff8161508c565b82525050565b6000614a12828486614477565b91508190509392505050565b6000614a2a82846144d5565b915081905092915050565b6000614a418286614506565b9150614a4e828486614477565b9150819050949350505050565b6000602082019050614a7060008301846143b3565b92915050565b6000602082019050614a8b60008301846143a4565b92915050565b600060a082019050614aa660008301886143b3565b614ab360208301876143b3565b8181036040830152614ac581866143c2565b90508181036060830152614ad981856143c2565b90508181036080830152614aed818461442f565b90509695505050505050565b600060a082019050614b0e60008301886143b3565b614b1b60208301876143b3565b614b2860408301866149f6565b614b3560608301856149f6565b8181036080830152614b47818461442f565b90509695505050505050565b60006020820190508181036000830152614b6d81846143c2565b905092915050565b60006040820190508181036000830152614b8f81856143c2565b90508181036020830152614ba381846143c2565b90509392505050565b6000602082019050614bc16000830184614420565b92915050565b6000608082019050614bdc6000830187614420565b614be960208301866149f6565b614bf660408301856143b3565b614c0360608301846149f6565b95945050505050565b600060a082019050614c216000830188614420565b614c2e60208301876149f6565b614c3b60408301866143b3565b614c4860608301856149f6565b614c5560808301846143b3565b9695505050505050565b6000602082019050614c746000830184614468565b92915050565b60006020820190508181036000830152614c94818461449c565b905092915050565b60006020820190508181036000830152614cb581614585565b9050919050565b60006020820190508181036000830152614cd5816145eb565b9050919050565b60006020820190508181036000830152614cf581614651565b9050919050565b60006020820190508181036000830152614d15816146b7565b9050919050565b60006020820190508181036000830152614d358161471d565b9050919050565b60006020820190508181036000830152614d5581614783565b9050919050565b60006020820190508181036000830152614d75816147e9565b9050919050565b60006020820190508181036000830152614d958161484f565b9050919050565b60006020820190508181036000830152614db5816148b5565b9050919050565b60006020820190508181036000830152614dd58161491b565b9050919050565b60006020820190508181036000830152614df581614981565b9050919050565b6000602082019050614e1160008301846149f6565b92915050565b6000604082019050614e2c60008301856149f6565b614e3960208301846149f6565b9392505050565b6000604051905081810181811067ffffffffffffffff82111715614e6757614e666151c3565b5b8060405250919050565b600067ffffffffffffffff821115614e8c57614e8b6151c3565b5b602082029050602081019050919050565b600067ffffffffffffffff821115614eb857614eb76151c3565b5b602082029050602081019050919050565b600067ffffffffffffffff821115614ee457614ee36151c3565b5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff821115614f1457614f136151c3565b5b601f19601f8301169050602081019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000614fc58261508c565b9150614fd08361508c565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561500557615004615165565b5b828201905092915050565b600061501b8261506c565b9050919050565b600061502d8261506c565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60006150a18261508c565b9050919050565b82818337600083830152505050565b60005b838110156150d55780820151818401526020810190506150ba565b838111156150e4576000848401525b50505050565b6000600282049050600182168061510257607f821691505b6020821081141561511657615115615194565b5b50919050565b60006151278261508c565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561515a57615159615165565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160e01c9050919050565b600060443d1015615220576152c3565b60046000803e615231600051615203565b6308c379a0811461524257506152c3565b60405160043d036004823e80513d602482011167ffffffffffffffff8211171561526e575050506152c3565b808201805167ffffffffffffffff81111561528d5750505050506152c3565b8060208301013d85018111156152a8575050505050506152c3565b6152b1826151f2565b60208401016040528296505050505050505b90565b6152cf81615010565b81146152da57600080fd5b50565b6152e681615034565b81146152f157600080fd5b50565b6152fd81615040565b811461530857600080fd5b50565b6153148161508c565b811461531f57600080fd5b5056fea2646970667358221220634a701595088e4eccdea94b1bb5a028e3d78a3da8f9d4d6cd07a9f6ea2a206764736f6c6343000800003368747470733a2f2f617370656e6c6162732e696f2f636f6c6c65637461626c65732f746f6b656e732f7b69647d68747470733a2f2f617370656e6c6162732e696f2f636f6c6c65637461626c65732f746f6b656e732f

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.