ETH Price: $3,332.99 (+0.72%)

Contract

0xBc962E2e290D276040babc4DFb8F9A4aE2a8085F
 

Overview

ETH Balance

0.00024 ETH

Eth Value

$0.80 (@ $3,332.99/ETH)
Transaction Hash
Method
Block
From
To
Buy190911412024-01-26 13:41:35332 days ago1706276495IN
0xBc962E2e...aE2a8085F
0.006 ETH0.02753335184.27066403
Buy190911382024-01-26 13:40:59332 days ago1706276459IN
0xBc962E2e...aE2a8085F
0.006 ETH0.0252797169.18780328
Withdraw189618192024-01-08 10:50:23350 days ago1704711023IN
0xBc962E2e...aE2a8085F
0 ETH0.000536417.32962749
Buy189391812024-01-05 6:04:47353 days ago1704434687IN
0xBc962E2e...aE2a8085F
0.0085 ETH0.0019277812.90095104
Buy189391772024-01-05 6:03:59353 days ago1704434639IN
0xBc962E2e...aE2a8085F
0.0088 ETH0.0018765112.55983881
Buy189391672024-01-05 6:01:59353 days ago1704434519IN
0xBc962E2e...aE2a8085F
0.033 ETH0.0019413412.99167827
Buy189391222024-01-05 5:52:59353 days ago1704433979IN
0xBc962E2e...aE2a8085F
0.0298 ETH0.0019434913.00603132
Buy189391172024-01-05 5:51:59353 days ago1704433919IN
0xBc962E2e...aE2a8085F
0.089 ETH0.0019599513.11517468
Buy189390872024-01-05 5:45:59353 days ago1704433559IN
0xBc962E2e...aE2a8085F
0.044 ETH0.0020423213.6685673
Buy189390782024-01-05 5:44:11353 days ago1704433451IN
0xBc962E2e...aE2a8085F
0.0096 ETH0.0020469713.69966915
Buy189390762024-01-05 5:43:47353 days ago1704433427IN
0xBc962E2e...aE2a8085F
0.04498 ETH0.0020468113.69748363
Buy189390752024-01-05 5:43:35353 days ago1704433415IN
0xBc962E2e...aE2a8085F
0.0084 ETH0.0020180613.50615864
Buy189390032024-01-05 5:29:11353 days ago1704432551IN
0xBc962E2e...aE2a8085F
0.0088 ETH0.0019778813.23723204
Buy189389662024-01-05 5:21:47353 days ago1704432107IN
0xBc962E2e...aE2a8085F
0.0087 ETH0.0023995316.05792822
Buy189389622024-01-05 5:20:59353 days ago1704432059IN
0xBc962E2e...aE2a8085F
0.008 ETH0.0024636616.48844153
Buy189389392024-01-05 5:16:11353 days ago1704431771IN
0xBc962E2e...aE2a8085F
0.0085 ETH0.0022716915.20237899
Buy189389322024-01-05 5:14:47353 days ago1704431687IN
0xBc962E2e...aE2a8085F
0.008 ETH0.0022728915.21163417
Buy189388292024-01-05 4:53:59353 days ago1704430439IN
0xBc962E2e...aE2a8085F
0.008 ETH0.0020559313.76180954
Buy189388042024-01-05 4:48:47353 days ago1704430127IN
0xBc962E2e...aE2a8085F
0.008 ETH0.0021055814.0930695
Buy189387642024-01-05 4:40:35353 days ago1704429635IN
0xBc962E2e...aE2a8085F
0.008 ETH0.0023831515.94957941
Buy189387122024-01-05 4:30:11353 days ago1704429011IN
0xBc962E2e...aE2a8085F
0.0088 ETH0.0020760613.89431497
Buy189387112024-01-05 4:29:59353 days ago1704428999IN
0xBc962E2e...aE2a8085F
0.046 ETH0.002138214.31020163
Buy189386532024-01-05 4:18:11353 days ago1704428291IN
0xBc962E2e...aE2a8085F
0.133 ETH0.0023676815.84606794
Buy189384592024-01-05 3:38:47353 days ago1704425927IN
0xBc962E2e...aE2a8085F
0.044 ETH0.0019651313.15190602
Buy189384542024-01-05 3:37:47353 days ago1704425867IN
0xBc962E2e...aE2a8085F
0.0098 ETH0.0020252413.55313703
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block
From
To
190911412024-01-26 13:41:35332 days ago1706276495
0xBc962E2e...aE2a8085F
0.00588 ETH
190911382024-01-26 13:40:59332 days ago1706276459
0xBc962E2e...aE2a8085F
0.00588 ETH
189618192024-01-08 10:50:23350 days ago1704711023
0xBc962E2e...aE2a8085F
2.08923503 ETH
189391812024-01-05 6:04:47353 days ago1704434687
0xBc962E2e...aE2a8085F
0.00833 ETH
189391772024-01-05 6:03:59353 days ago1704434639
0xBc962E2e...aE2a8085F
0.008624 ETH
189391672024-01-05 6:01:59353 days ago1704434519
0xBc962E2e...aE2a8085F
0.03234 ETH
189391222024-01-05 5:52:59353 days ago1704433979
0xBc962E2e...aE2a8085F
0.029204 ETH
189391172024-01-05 5:51:59353 days ago1704433919
0xBc962E2e...aE2a8085F
0.08722 ETH
189390872024-01-05 5:45:59353 days ago1704433559
0xBc962E2e...aE2a8085F
0.04312 ETH
189390782024-01-05 5:44:11353 days ago1704433451
0xBc962E2e...aE2a8085F
0.009408 ETH
189390762024-01-05 5:43:47353 days ago1704433427
0xBc962E2e...aE2a8085F
0.0440804 ETH
189390752024-01-05 5:43:35353 days ago1704433415
0xBc962E2e...aE2a8085F
0.008232 ETH
189390032024-01-05 5:29:11353 days ago1704432551
0xBc962E2e...aE2a8085F
0.008624 ETH
189389662024-01-05 5:21:47353 days ago1704432107
0xBc962E2e...aE2a8085F
0.008526 ETH
189389622024-01-05 5:20:59353 days ago1704432059
0xBc962E2e...aE2a8085F
0.00784 ETH
189389392024-01-05 5:16:11353 days ago1704431771
0xBc962E2e...aE2a8085F
0.00833 ETH
189389322024-01-05 5:14:47353 days ago1704431687
0xBc962E2e...aE2a8085F
0.00784 ETH
189388292024-01-05 4:53:59353 days ago1704430439
0xBc962E2e...aE2a8085F
0.00784 ETH
189388042024-01-05 4:48:47353 days ago1704430127
0xBc962E2e...aE2a8085F
0.00784 ETH
189387642024-01-05 4:40:35353 days ago1704429635
0xBc962E2e...aE2a8085F
0.00784 ETH
189387122024-01-05 4:30:11353 days ago1704429011
0xBc962E2e...aE2a8085F
0.008624 ETH
189387112024-01-05 4:29:59353 days ago1704428999
0xBc962E2e...aE2a8085F
0.04508 ETH
189386532024-01-05 4:18:11353 days ago1704428291
0xBc962E2e...aE2a8085F
0.13034 ETH
189384592024-01-05 3:38:47353 days ago1704425927
0xBc962E2e...aE2a8085F
0.04312 ETH
189384542024-01-05 3:37:47353 days ago1704425867
0xBc962E2e...aE2a8085F
0.009604 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
PurchaseContract

Compiler Version
v0.8.22+commit.4fc1097e

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, MIT license
/**
 *Submitted for verification at Etherscan.io on 2023-12-06
*/

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

contract PurchaseContract {
    address public owner;
    uint256 public feePercentage = 2;

    struct Purchase {
        bytes32 ethsId;
        bytes32 listId;
        address listAddress;
        uint256 price;
        bool isPurchased;
    }

    mapping(bytes32 => Purchase) public purchases;

    event PurchaseMade(address from, address to, bytes32 listHash);
    event OwnershipTransferred(address indexed oldOwner, address indexed newOwner);

    constructor() {
        owner = msg.sender;
    }

    modifier onlyOwner() {
        require(msg.sender == owner, "Only owner can call this function.");
        _;
    }

    function setFeePercentage(uint256 newFee) public onlyOwner {
        feePercentage = newFee;
    }

    function buy(bytes32 ethsId, bytes32 listId, address listAddress, uint256 price) public payable {
        bytes32 purchaseHash = keccak256(abi.encodePacked(ethsId, listId));
        require(!purchases[purchaseHash].isPurchased, "This item is already purchased.");
        require(msg.value == price, "Incorrect price.");

        purchases[purchaseHash] = Purchase(ethsId, listId, listAddress, price, true);

        uint256 fee = (price * feePercentage) / 100;
        uint256 amountToSend = price - fee;

        payable(listAddress).transfer(amountToSend);
        // The fee remains in the contract

        emit PurchaseMade(msg.sender, listAddress, purchaseHash);
    }

    function withdraw(uint256 amount) public onlyOwner {
        uint256 balance = address(this).balance;
        require(amount > 0, "Amount must be greater than 0");
        require(balance >= amount, "Insufficient funds in contract");

        payable(owner).transfer(amount);
    }

    function transferOwnership(address newOwner) public onlyOwner {
        require(newOwner != address(0), "New owner cannot be the zero address");
        emit OwnershipTransferred(owner, newOwner);
        owner = newOwner;
    }

    
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"oldOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"bytes32","name":"listHash","type":"bytes32"}],"name":"PurchaseMade","type":"event"},{"inputs":[{"internalType":"bytes32","name":"ethsId","type":"bytes32"},{"internalType":"bytes32","name":"listId","type":"bytes32"},{"internalType":"address","name":"listAddress","type":"address"},{"internalType":"uint256","name":"price","type":"uint256"}],"name":"buy","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"feePercentage","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"purchases","outputs":[{"internalType":"bytes32","name":"ethsId","type":"bytes32"},{"internalType":"bytes32","name":"listId","type":"bytes32"},{"internalType":"address","name":"listAddress","type":"address"},{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"bool","name":"isPurchased","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"newFee","type":"uint256"}],"name":"setFeePercentage","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526002600155348015610014575f80fd5b50335f806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550610f36806100615f395ff3fe60806040526004361061006f575f3560e01c8063a001ecdd1161004d578063a001ecdd14610105578063ae06c1b71461012f578063d719bc3c14610157578063f2fde38b146101735761006f565b80632e1a7d4d146100735780637ab8dbe91461009b5780638da5cb5b146100db575b5f80fd5b34801561007e575f80fd5b506100996004803603810190610094919061087a565b61019b565b005b3480156100a6575f80fd5b506100c160048036038101906100bc91906108d8565b610318565b6040516100d295949392919061097a565b60405180910390f35b3480156100e6575f80fd5b506100ef610375565b6040516100fc91906109cb565b60405180910390f35b348015610110575f80fd5b50610119610398565b60405161012691906109e4565b60405180910390f35b34801561013a575f80fd5b506101556004803603810190610150919061087a565b61039e565b005b610171600480360381019061016c9190610a27565b610435565b005b34801561017e575f80fd5b5061019960048036038101906101949190610a8b565b61068d565b005b5f8054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610228576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161021f90610b36565b60405180910390fd5b5f4790505f821161026e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161026590610b9e565b60405180910390fd5b818110156102b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102a890610c06565b60405180910390fd5b5f8054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc8390811502906040515f60405180830381858888f19350505050158015610313573d5f803e3d5ffd5b505050565b6002602052805f5260405f205f91509050805f015490806001015490806002015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690806003015490806004015f9054906101000a900460ff16905085565b5f8054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60015481565b5f8054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461042b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161042290610b36565b60405180910390fd5b8060018190555050565b5f8484604051602001610449929190610c44565b60405160208183030381529060405280519060200120905060025f8281526020019081526020015f206004015f9054906101000a900460ff16156104c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104b990610cb9565b60405180910390fd5b813414610504576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104fb90610d21565b60405180910390fd5b6040518060a001604052808681526020018581526020018473ffffffffffffffffffffffffffffffffffffffff1681526020018381526020016001151581525060025f8381526020019081526020015f205f820151815f0155602082015181600101556040820151816002015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550606082015181600301556080820151816004015f6101000a81548160ff0219169083151502179055509050505f6064600154846105ea9190610d6c565b6105f49190610dda565b90505f81846106039190610e0a565b90508473ffffffffffffffffffffffffffffffffffffffff166108fc8290811502906040515f60405180830381858888f19350505050158015610648573d5f803e3d5ffd5b507fd81d419c51f9a3bf4706daffee8b8f7a836cfbb9e47dcdec3a7e5e150fac85cc33868560405161067c93929190610e3d565b60405180910390a150505050505050565b5f8054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461071a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161071190610b36565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610788576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161077f90610ee2565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff165f8054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3805f806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b5f80fd5b5f819050919050565b61085981610847565b8114610863575f80fd5b50565b5f8135905061087481610850565b92915050565b5f6020828403121561088f5761088e610843565b5b5f61089c84828501610866565b91505092915050565b5f819050919050565b6108b7816108a5565b81146108c1575f80fd5b50565b5f813590506108d2816108ae565b92915050565b5f602082840312156108ed576108ec610843565b5b5f6108fa848285016108c4565b91505092915050565b61090c816108a5565b82525050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f61093b82610912565b9050919050565b61094b81610931565b82525050565b61095a81610847565b82525050565b5f8115159050919050565b61097481610960565b82525050565b5f60a08201905061098d5f830188610903565b61099a6020830187610903565b6109a76040830186610942565b6109b46060830185610951565b6109c1608083018461096b565b9695505050505050565b5f6020820190506109de5f830184610942565b92915050565b5f6020820190506109f75f830184610951565b92915050565b610a0681610931565b8114610a10575f80fd5b50565b5f81359050610a21816109fd565b92915050565b5f805f8060808587031215610a3f57610a3e610843565b5b5f610a4c878288016108c4565b9450506020610a5d878288016108c4565b9350506040610a6e87828801610a13565b9250506060610a7f87828801610866565b91505092959194509250565b5f60208284031215610aa057610a9f610843565b5b5f610aad84828501610a13565b91505092915050565b5f82825260208201905092915050565b7f4f6e6c79206f776e65722063616e2063616c6c20746869732066756e6374696f5f8201527f6e2e000000000000000000000000000000000000000000000000000000000000602082015250565b5f610b20602283610ab6565b9150610b2b82610ac6565b604082019050919050565b5f6020820190508181035f830152610b4d81610b14565b9050919050565b7f416d6f756e74206d7573742062652067726561746572207468616e20300000005f82015250565b5f610b88601d83610ab6565b9150610b9382610b54565b602082019050919050565b5f6020820190508181035f830152610bb581610b7c565b9050919050565b7f496e73756666696369656e742066756e647320696e20636f6e747261637400005f82015250565b5f610bf0601e83610ab6565b9150610bfb82610bbc565b602082019050919050565b5f6020820190508181035f830152610c1d81610be4565b9050919050565b5f819050919050565b610c3e610c39826108a5565b610c24565b82525050565b5f610c4f8285610c2d565b602082019150610c5f8284610c2d565b6020820191508190509392505050565b7f54686973206974656d20697320616c7265616479207075726368617365642e005f82015250565b5f610ca3601f83610ab6565b9150610cae82610c6f565b602082019050919050565b5f6020820190508181035f830152610cd081610c97565b9050919050565b7f496e636f72726563742070726963652e000000000000000000000000000000005f82015250565b5f610d0b601083610ab6565b9150610d1682610cd7565b602082019050919050565b5f6020820190508181035f830152610d3881610cff565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f610d7682610847565b9150610d8183610847565b9250828202610d8f81610847565b91508282048414831517610da657610da5610d3f565b5b5092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b5f610de482610847565b9150610def83610847565b925082610dff57610dfe610dad565b5b828204905092915050565b5f610e1482610847565b9150610e1f83610847565b9250828203905081811115610e3757610e36610d3f565b5b92915050565b5f606082019050610e505f830186610942565b610e5d6020830185610942565b610e6a6040830184610903565b949350505050565b7f4e6577206f776e65722063616e6e6f7420626520746865207a65726f206164645f8201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b5f610ecc602483610ab6565b9150610ed782610e72565b604082019050919050565b5f6020820190508181035f830152610ef981610ec0565b905091905056fea2646970667358221220b05b7c1c3a9fcf532f11fbf950b06ba153c97431ca26403a00d732cb00acec9164736f6c63430008160033

Deployed Bytecode

0x60806040526004361061006f575f3560e01c8063a001ecdd1161004d578063a001ecdd14610105578063ae06c1b71461012f578063d719bc3c14610157578063f2fde38b146101735761006f565b80632e1a7d4d146100735780637ab8dbe91461009b5780638da5cb5b146100db575b5f80fd5b34801561007e575f80fd5b506100996004803603810190610094919061087a565b61019b565b005b3480156100a6575f80fd5b506100c160048036038101906100bc91906108d8565b610318565b6040516100d295949392919061097a565b60405180910390f35b3480156100e6575f80fd5b506100ef610375565b6040516100fc91906109cb565b60405180910390f35b348015610110575f80fd5b50610119610398565b60405161012691906109e4565b60405180910390f35b34801561013a575f80fd5b506101556004803603810190610150919061087a565b61039e565b005b610171600480360381019061016c9190610a27565b610435565b005b34801561017e575f80fd5b5061019960048036038101906101949190610a8b565b61068d565b005b5f8054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610228576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161021f90610b36565b60405180910390fd5b5f4790505f821161026e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161026590610b9e565b60405180910390fd5b818110156102b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102a890610c06565b60405180910390fd5b5f8054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc8390811502906040515f60405180830381858888f19350505050158015610313573d5f803e3d5ffd5b505050565b6002602052805f5260405f205f91509050805f015490806001015490806002015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690806003015490806004015f9054906101000a900460ff16905085565b5f8054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60015481565b5f8054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461042b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161042290610b36565b60405180910390fd5b8060018190555050565b5f8484604051602001610449929190610c44565b60405160208183030381529060405280519060200120905060025f8281526020019081526020015f206004015f9054906101000a900460ff16156104c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104b990610cb9565b60405180910390fd5b813414610504576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104fb90610d21565b60405180910390fd5b6040518060a001604052808681526020018581526020018473ffffffffffffffffffffffffffffffffffffffff1681526020018381526020016001151581525060025f8381526020019081526020015f205f820151815f0155602082015181600101556040820151816002015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550606082015181600301556080820151816004015f6101000a81548160ff0219169083151502179055509050505f6064600154846105ea9190610d6c565b6105f49190610dda565b90505f81846106039190610e0a565b90508473ffffffffffffffffffffffffffffffffffffffff166108fc8290811502906040515f60405180830381858888f19350505050158015610648573d5f803e3d5ffd5b507fd81d419c51f9a3bf4706daffee8b8f7a836cfbb9e47dcdec3a7e5e150fac85cc33868560405161067c93929190610e3d565b60405180910390a150505050505050565b5f8054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461071a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161071190610b36565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610788576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161077f90610ee2565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff165f8054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3805f806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b5f80fd5b5f819050919050565b61085981610847565b8114610863575f80fd5b50565b5f8135905061087481610850565b92915050565b5f6020828403121561088f5761088e610843565b5b5f61089c84828501610866565b91505092915050565b5f819050919050565b6108b7816108a5565b81146108c1575f80fd5b50565b5f813590506108d2816108ae565b92915050565b5f602082840312156108ed576108ec610843565b5b5f6108fa848285016108c4565b91505092915050565b61090c816108a5565b82525050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f61093b82610912565b9050919050565b61094b81610931565b82525050565b61095a81610847565b82525050565b5f8115159050919050565b61097481610960565b82525050565b5f60a08201905061098d5f830188610903565b61099a6020830187610903565b6109a76040830186610942565b6109b46060830185610951565b6109c1608083018461096b565b9695505050505050565b5f6020820190506109de5f830184610942565b92915050565b5f6020820190506109f75f830184610951565b92915050565b610a0681610931565b8114610a10575f80fd5b50565b5f81359050610a21816109fd565b92915050565b5f805f8060808587031215610a3f57610a3e610843565b5b5f610a4c878288016108c4565b9450506020610a5d878288016108c4565b9350506040610a6e87828801610a13565b9250506060610a7f87828801610866565b91505092959194509250565b5f60208284031215610aa057610a9f610843565b5b5f610aad84828501610a13565b91505092915050565b5f82825260208201905092915050565b7f4f6e6c79206f776e65722063616e2063616c6c20746869732066756e6374696f5f8201527f6e2e000000000000000000000000000000000000000000000000000000000000602082015250565b5f610b20602283610ab6565b9150610b2b82610ac6565b604082019050919050565b5f6020820190508181035f830152610b4d81610b14565b9050919050565b7f416d6f756e74206d7573742062652067726561746572207468616e20300000005f82015250565b5f610b88601d83610ab6565b9150610b9382610b54565b602082019050919050565b5f6020820190508181035f830152610bb581610b7c565b9050919050565b7f496e73756666696369656e742066756e647320696e20636f6e747261637400005f82015250565b5f610bf0601e83610ab6565b9150610bfb82610bbc565b602082019050919050565b5f6020820190508181035f830152610c1d81610be4565b9050919050565b5f819050919050565b610c3e610c39826108a5565b610c24565b82525050565b5f610c4f8285610c2d565b602082019150610c5f8284610c2d565b6020820191508190509392505050565b7f54686973206974656d20697320616c7265616479207075726368617365642e005f82015250565b5f610ca3601f83610ab6565b9150610cae82610c6f565b602082019050919050565b5f6020820190508181035f830152610cd081610c97565b9050919050565b7f496e636f72726563742070726963652e000000000000000000000000000000005f82015250565b5f610d0b601083610ab6565b9150610d1682610cd7565b602082019050919050565b5f6020820190508181035f830152610d3881610cff565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f610d7682610847565b9150610d8183610847565b9250828202610d8f81610847565b91508282048414831517610da657610da5610d3f565b5b5092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b5f610de482610847565b9150610def83610847565b925082610dff57610dfe610dad565b5b828204905092915050565b5f610e1482610847565b9150610e1f83610847565b9250828203905081811115610e3757610e36610d3f565b5b92915050565b5f606082019050610e505f830186610942565b610e5d6020830185610942565b610e6a6040830184610903565b949350505050565b7f4e6577206f776e65722063616e6e6f7420626520746865207a65726f206164645f8201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b5f610ecc602483610ab6565b9150610ed782610e72565b604082019050919050565b5f6020820190508181035f830152610ef981610ec0565b905091905056fea2646970667358221220b05b7c1c3a9fcf532f11fbf950b06ba153c97431ca26403a00d732cb00acec9164736f6c63430008160033

Deployed Bytecode Sourcemap

60:2002:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1524:287;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;324:45;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;;;;:::i;:::-;;;;;;;;93:20;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;120:32;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;719:100;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;827:689;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;1819:232;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;1524:287;647:5;;;;;;;;;;633:19;;:10;:19;;;625:66;;;;;;;;;;;;:::i;:::-;;;;;;;;;1586:15:::1;1604:21;1586:39;;1653:1;1644:6;:10;1636:52;;;;;;;;;;;;:::i;:::-;;;;;;;;;1718:6;1707:7;:17;;1699:60;;;;;;;;;;;;:::i;:::-;;;;;;;;;1780:5;::::0;::::1;;;;;;;;1772:23;;:31;1796:6;1772:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;1575:236;1524:287:::0;:::o;324:45::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;93:20::-;;;;;;;;;;;;:::o;120:32::-;;;;:::o;719:100::-;647:5;;;;;;;;;;633:19;;:10;:19;;;625:66;;;;;;;;;;;;:::i;:::-;;;;;;;;;805:6:::1;789:13;:22;;;;719:100:::0;:::o;827:689::-;934:20;984:6;992;967:32;;;;;;;;;:::i;:::-;;;;;;;;;;;;;957:43;;;;;;934:66;;1020:9;:23;1030:12;1020:23;;;;;;;;;;;:35;;;;;;;;;;;;1019:36;1011:80;;;;;;;;;;;;:::i;:::-;;;;;;;;;1123:5;1110:9;:18;1102:47;;;;;;;;;;;;:::i;:::-;;;;;;;;;1188:50;;;;;;;;1197:6;1188:50;;;;1205:6;1188:50;;;;1213:11;1188:50;;;;;;1226:5;1188:50;;;;1233:4;1188:50;;;;;1162:9;:23;1172:12;1162:23;;;;;;;;;;;:76;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1251:11;1291:3;1274:13;;1266:5;:21;;;;:::i;:::-;1265:29;;;;:::i;:::-;1251:43;;1305:20;1336:3;1328:5;:11;;;;:::i;:::-;1305:34;;1360:11;1352:29;;:43;1382:12;1352:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1457:51;1470:10;1482:11;1495:12;1457:51;;;;;;;;:::i;:::-;;;;;;;;923:593;;;827:689;;;;:::o;1819:232::-;647:5;;;;;;;;;;633:19;;:10;:19;;;625:66;;;;;;;;;;;;:::i;:::-;;;;;;;;;1920:1:::1;1900:22;;:8;:22;;::::0;1892:71:::1;;;;;;;;;;;;:::i;:::-;;;;;;;;;2007:8;1979:37;;2000:5;::::0;::::1;;;;;;;;1979:37;;;;;;;;;;;;2035:8;2027:5;::::0;:16:::1;;;;;;;;;;;;;;;;;;1819:232:::0;:::o;88:117:1:-;197:1;194;187:12;334:77;371:7;400:5;389:16;;334:77;;;:::o;417:122::-;490:24;508:5;490:24;:::i;:::-;483:5;480:35;470:63;;529:1;526;519:12;470:63;417:122;:::o;545:139::-;591:5;629:6;616:20;607:29;;645:33;672:5;645:33;:::i;:::-;545:139;;;;:::o;690:329::-;749:6;798:2;786:9;777:7;773:23;769:32;766:119;;;804:79;;:::i;:::-;766:119;924:1;949:53;994:7;985:6;974:9;970:22;949:53;:::i;:::-;939:63;;895:117;690:329;;;;:::o;1025:77::-;1062:7;1091:5;1080:16;;1025:77;;;:::o;1108:122::-;1181:24;1199:5;1181:24;:::i;:::-;1174:5;1171:35;1161:63;;1220:1;1217;1210:12;1161:63;1108:122;:::o;1236:139::-;1282:5;1320:6;1307:20;1298:29;;1336:33;1363:5;1336:33;:::i;:::-;1236:139;;;;:::o;1381:329::-;1440:6;1489:2;1477:9;1468:7;1464:23;1460:32;1457:119;;;1495:79;;:::i;:::-;1457:119;1615:1;1640:53;1685:7;1676:6;1665:9;1661:22;1640:53;:::i;:::-;1630:63;;1586:117;1381:329;;;;:::o;1716:118::-;1803:24;1821:5;1803:24;:::i;:::-;1798:3;1791:37;1716:118;;:::o;1840:126::-;1877:7;1917:42;1910:5;1906:54;1895:65;;1840:126;;;:::o;1972:96::-;2009:7;2038:24;2056:5;2038:24;:::i;:::-;2027:35;;1972:96;;;:::o;2074:118::-;2161:24;2179:5;2161:24;:::i;:::-;2156:3;2149:37;2074:118;;:::o;2198:::-;2285:24;2303:5;2285:24;:::i;:::-;2280:3;2273:37;2198:118;;:::o;2322:90::-;2356:7;2399:5;2392:13;2385:21;2374:32;;2322:90;;;:::o;2418:109::-;2499:21;2514:5;2499:21;:::i;:::-;2494:3;2487:34;2418:109;;:::o;2533:652::-;2732:4;2770:3;2759:9;2755:19;2747:27;;2784:71;2852:1;2841:9;2837:17;2828:6;2784:71;:::i;:::-;2865:72;2933:2;2922:9;2918:18;2909:6;2865:72;:::i;:::-;2947;3015:2;3004:9;3000:18;2991:6;2947:72;:::i;:::-;3029;3097:2;3086:9;3082:18;3073:6;3029:72;:::i;:::-;3111:67;3173:3;3162:9;3158:19;3149:6;3111:67;:::i;:::-;2533:652;;;;;;;;:::o;3191:222::-;3284:4;3322:2;3311:9;3307:18;3299:26;;3335:71;3403:1;3392:9;3388:17;3379:6;3335:71;:::i;:::-;3191:222;;;;:::o;3419:::-;3512:4;3550:2;3539:9;3535:18;3527:26;;3563:71;3631:1;3620:9;3616:17;3607:6;3563:71;:::i;:::-;3419:222;;;;:::o;3647:122::-;3720:24;3738:5;3720:24;:::i;:::-;3713:5;3710:35;3700:63;;3759:1;3756;3749:12;3700:63;3647:122;:::o;3775:139::-;3821:5;3859:6;3846:20;3837:29;;3875:33;3902:5;3875:33;:::i;:::-;3775:139;;;;:::o;3920:765::-;4006:6;4014;4022;4030;4079:3;4067:9;4058:7;4054:23;4050:33;4047:120;;;4086:79;;:::i;:::-;4047:120;4206:1;4231:53;4276:7;4267:6;4256:9;4252:22;4231:53;:::i;:::-;4221:63;;4177:117;4333:2;4359:53;4404:7;4395:6;4384:9;4380:22;4359:53;:::i;:::-;4349:63;;4304:118;4461:2;4487:53;4532:7;4523:6;4512:9;4508:22;4487:53;:::i;:::-;4477:63;;4432:118;4589:2;4615:53;4660:7;4651:6;4640:9;4636:22;4615:53;:::i;:::-;4605:63;;4560:118;3920:765;;;;;;;:::o;4691:329::-;4750:6;4799:2;4787:9;4778:7;4774:23;4770:32;4767:119;;;4805:79;;:::i;:::-;4767:119;4925:1;4950:53;4995:7;4986:6;4975:9;4971:22;4950:53;:::i;:::-;4940:63;;4896:117;4691:329;;;;:::o;5026:169::-;5110:11;5144:6;5139:3;5132:19;5184:4;5179:3;5175:14;5160:29;;5026:169;;;;:::o;5201:221::-;5341:34;5337:1;5329:6;5325:14;5318:58;5410:4;5405:2;5397:6;5393:15;5386:29;5201:221;:::o;5428:366::-;5570:3;5591:67;5655:2;5650:3;5591:67;:::i;:::-;5584:74;;5667:93;5756:3;5667:93;:::i;:::-;5785:2;5780:3;5776:12;5769:19;;5428:366;;;:::o;5800:419::-;5966:4;6004:2;5993:9;5989:18;5981:26;;6053:9;6047:4;6043:20;6039:1;6028:9;6024:17;6017:47;6081:131;6207:4;6081:131;:::i;:::-;6073:139;;5800:419;;;:::o;6225:179::-;6365:31;6361:1;6353:6;6349:14;6342:55;6225:179;:::o;6410:366::-;6552:3;6573:67;6637:2;6632:3;6573:67;:::i;:::-;6566:74;;6649:93;6738:3;6649:93;:::i;:::-;6767:2;6762:3;6758:12;6751:19;;6410:366;;;:::o;6782:419::-;6948:4;6986:2;6975:9;6971:18;6963:26;;7035:9;7029:4;7025:20;7021:1;7010:9;7006:17;6999:47;7063:131;7189:4;7063:131;:::i;:::-;7055:139;;6782:419;;;:::o;7207:180::-;7347:32;7343:1;7335:6;7331:14;7324:56;7207:180;:::o;7393:366::-;7535:3;7556:67;7620:2;7615:3;7556:67;:::i;:::-;7549:74;;7632:93;7721:3;7632:93;:::i;:::-;7750:2;7745:3;7741:12;7734:19;;7393:366;;;:::o;7765:419::-;7931:4;7969:2;7958:9;7954:18;7946:26;;8018:9;8012:4;8008:20;8004:1;7993:9;7989:17;7982:47;8046:131;8172:4;8046:131;:::i;:::-;8038:139;;7765:419;;;:::o;8190:79::-;8229:7;8258:5;8247:16;;8190:79;;;:::o;8275:157::-;8380:45;8400:24;8418:5;8400:24;:::i;:::-;8380:45;:::i;:::-;8375:3;8368:58;8275:157;;:::o;8438:397::-;8578:3;8593:75;8664:3;8655:6;8593:75;:::i;:::-;8693:2;8688:3;8684:12;8677:19;;8706:75;8777:3;8768:6;8706:75;:::i;:::-;8806:2;8801:3;8797:12;8790:19;;8826:3;8819:10;;8438:397;;;;;:::o;8841:181::-;8981:33;8977:1;8969:6;8965:14;8958:57;8841:181;:::o;9028:366::-;9170:3;9191:67;9255:2;9250:3;9191:67;:::i;:::-;9184:74;;9267:93;9356:3;9267:93;:::i;:::-;9385:2;9380:3;9376:12;9369:19;;9028:366;;;:::o;9400:419::-;9566:4;9604:2;9593:9;9589:18;9581:26;;9653:9;9647:4;9643:20;9639:1;9628:9;9624:17;9617:47;9681:131;9807:4;9681:131;:::i;:::-;9673:139;;9400:419;;;:::o;9825:166::-;9965:18;9961:1;9953:6;9949:14;9942:42;9825:166;:::o;9997:366::-;10139:3;10160:67;10224:2;10219:3;10160:67;:::i;:::-;10153:74;;10236:93;10325:3;10236:93;:::i;:::-;10354:2;10349:3;10345:12;10338:19;;9997:366;;;:::o;10369:419::-;10535:4;10573:2;10562:9;10558:18;10550:26;;10622:9;10616:4;10612:20;10608:1;10597:9;10593:17;10586:47;10650:131;10776:4;10650:131;:::i;:::-;10642:139;;10369:419;;;:::o;10794:180::-;10842:77;10839:1;10832:88;10939:4;10936:1;10929:15;10963:4;10960:1;10953:15;10980:410;11020:7;11043:20;11061:1;11043:20;:::i;:::-;11038:25;;11077:20;11095:1;11077:20;:::i;:::-;11072:25;;11132:1;11129;11125:9;11154:30;11172:11;11154:30;:::i;:::-;11143:41;;11333:1;11324:7;11320:15;11317:1;11314:22;11294:1;11287:9;11267:83;11244:139;;11363:18;;:::i;:::-;11244:139;11028:362;10980:410;;;;:::o;11396:180::-;11444:77;11441:1;11434:88;11541:4;11538:1;11531:15;11565:4;11562:1;11555:15;11582:185;11622:1;11639:20;11657:1;11639:20;:::i;:::-;11634:25;;11673:20;11691:1;11673:20;:::i;:::-;11668:25;;11712:1;11702:35;;11717:18;;:::i;:::-;11702:35;11759:1;11756;11752:9;11747:14;;11582:185;;;;:::o;11773:194::-;11813:4;11833:20;11851:1;11833:20;:::i;:::-;11828:25;;11867:20;11885:1;11867:20;:::i;:::-;11862:25;;11911:1;11908;11904:9;11896:17;;11935:1;11929:4;11926:11;11923:37;;;11940:18;;:::i;:::-;11923:37;11773:194;;;;:::o;11973:442::-;12122:4;12160:2;12149:9;12145:18;12137:26;;12173:71;12241:1;12230:9;12226:17;12217:6;12173:71;:::i;:::-;12254:72;12322:2;12311:9;12307:18;12298:6;12254:72;:::i;:::-;12336;12404:2;12393:9;12389:18;12380:6;12336:72;:::i;:::-;11973:442;;;;;;:::o;12421:223::-;12561:34;12557:1;12549:6;12545:14;12538:58;12630:6;12625:2;12617:6;12613:15;12606:31;12421:223;:::o;12650:366::-;12792:3;12813:67;12877:2;12872:3;12813:67;:::i;:::-;12806:74;;12889:93;12978:3;12889:93;:::i;:::-;13007:2;13002:3;12998:12;12991:19;;12650:366;;;:::o;13022:419::-;13188:4;13226:2;13215:9;13211:18;13203:26;;13275:9;13269:4;13265:20;13261:1;13250:9;13246:17;13239:47;13303:131;13429:4;13303:131;:::i;:::-;13295:139;;13022:419;;;:::o

Swarm Source

ipfs://b05b7c1c3a9fcf532f11fbf950b06ba153c97431ca26403a00d732cb00acec91

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.