Contract 0x8d487e6d9764d16701179ac37abd3639bc736e0c

Txn Hash Method
Block
From
To
Value [Txn Fee]
0xc19effb1d8069b4a8ff84e224a544e95b9cd23b66ec84f4f8604416f89e04695Set Price78910032021-09-02 7:13:2386 days 13 hrs ago0xd2d4c272510048b995cbda356c53e65141a2fee9 IN  0x8d487e6d9764d16701179ac37abd3639bc736e0c0 HT0.0000988652.25
0xc8cf5636b6cdd0b89a5d13dd2af71d7b54043ba6676aa56bcc23f5b570898df6Set Price78907012021-09-02 6:58:1786 days 13 hrs ago0xd2d4c272510048b995cbda356c53e65141a2fee9 IN  0x8d487e6d9764d16701179ac37abd3639bc736e0c0 HT0.00003247652.25
0xf8dc2b99348065989aba82a88b60609f53f585d7e7b7b8d62c940a21eb786fbaSet Price78906742021-09-02 6:56:5686 days 13 hrs ago0xd2d4c272510048b995cbda356c53e65141a2fee9 IN  0x8d487e6d9764d16701179ac37abd3639bc736e0c0 HT0.0000988112.25
0x9a09e24677aa27ab53d638842159de3891ae0bb33e1f29ddbce4735661f2d882Set Price78905342021-09-02 6:49:5686 days 13 hrs ago0xd2d4c272510048b995cbda356c53e65141a2fee9 IN  0x8d487e6d9764d16701179ac37abd3639bc736e0c0 HT0.00003244952.25
0x2a7577d18f53aed5935a67d0595fe5c24d71902bc1e72ace228543e3df85ef5eSet Price78904932021-09-02 6:47:5386 days 13 hrs ago0xd2d4c272510048b995cbda356c53e65141a2fee9 IN  0x8d487e6d9764d16701179ac37abd3639bc736e0c0 HT0.0000988652.25
0x7b5a851bc65245d76f66450f6a96b0724326c7b4f5f7f9dcb8d5868e10c7c37cSet Price78904192021-09-02 6:44:1186 days 13 hrs ago0xd2d4c272510048b995cbda356c53e65141a2fee9 IN  0x8d487e6d9764d16701179ac37abd3639bc736e0c0 HT0.00003247652.25
0x2238dd9450182deb43e495c0c16291c77a246cbc71eb72770a1fed63503b6a52Set Price78903832021-09-02 6:42:2386 days 13 hrs ago0xd2d4c272510048b995cbda356c53e65141a2fee9 IN  0x8d487e6d9764d16701179ac37abd3639bc736e0c0 HT0.0000988652.25
0x9f30f3d06d7b77e3fa24cb6f4a7323f112c4f1de23d6bd6492dfc2e3d6ec18b3Set Price78902382021-09-02 6:35:0886 days 13 hrs ago0xd2d4c272510048b995cbda356c53e65141a2fee9 IN  0x8d487e6d9764d16701179ac37abd3639bc736e0c0 HT0.00003247652.25
0x71265f8e5b9551369da7df2e891e1ab267e83263a53ce7d956cc64fc66ab003fSet Price78902122021-09-02 6:33:5086 days 13 hrs ago0xd2d4c272510048b995cbda356c53e65141a2fee9 IN  0x8d487e6d9764d16701179ac37abd3639bc736e0c0 HT0.0000988652.25
0x24ff752c8c70625c358d1cca4393a43faf5a91f09adb23615c944ae0a2fff32fSet Price78901302021-09-02 6:29:4486 days 14 hrs ago0xd2d4c272510048b995cbda356c53e65141a2fee9 IN  0x8d487e6d9764d16701179ac37abd3639bc736e0c0 HT0.00003247652.25
0xddee0626a071ba13d26a793440a73000b21a1c331e00e78028237050fcdd7a03Set Price78900222021-09-02 6:24:2086 days 14 hrs ago0xd2d4c272510048b995cbda356c53e65141a2fee9 IN  0x8d487e6d9764d16701179ac37abd3639bc736e0c0 HT0.0000988112.25
0xab1cfd8d66378765aac5ea35b01902d94db15766ef8dbd0b26582ca1540ce673Set Price78899482021-09-02 6:20:3886 days 14 hrs ago0xd2d4c272510048b995cbda356c53e65141a2fee9 IN  0x8d487e6d9764d16701179ac37abd3639bc736e0c0 HT0.00003244952.25
0x195c8f1b5df8989e2f01d8c1f76590536281114c04a3955610295e4c60b4a1afSet Price78894872021-09-02 5:57:3586 days 14 hrs ago0xd2d4c272510048b995cbda356c53e65141a2fee9 IN  0x8d487e6d9764d16701179ac37abd3639bc736e0c0 HT0.0000988652.25
0x9129b934cb3252bdae3b821716379c6f84c09112e9213b918f7a6b45efb01587Set Price78894802021-09-02 5:57:1486 days 14 hrs ago0xd2d4c272510048b995cbda356c53e65141a2fee9 IN  0x8d487e6d9764d16701179ac37abd3639bc736e0c0 HT0.0000988112.25
0x948e884f352b9ff7eae30d82f4e7344d0815d98699d40f63e3726f6269106808Set Price78894552021-09-02 5:55:5986 days 14 hrs ago0xd2d4c272510048b995cbda356c53e65141a2fee9 IN  0x8d487e6d9764d16701179ac37abd3639bc736e0c0 HT0.0000988652.25
0xdef3673a33709e55521a28b71f4136ea498e26611b7e81752989e7529a23fcebSet Price78894302021-09-02 5:54:4486 days 14 hrs ago0xd2d4c272510048b995cbda356c53e65141a2fee9 IN  0x8d487e6d9764d16701179ac37abd3639bc736e0c0 HT0.0000988652.25
0x1e75e0765ba7c62fa7e2537af2495d3377f650a7fc76716a4702be94f8fcb765Set Price78894242021-09-02 5:54:2686 days 14 hrs ago0xd2d4c272510048b995cbda356c53e65141a2fee9 IN  0x8d487e6d9764d16701179ac37abd3639bc736e0c0 HT0.0000988652.25
0x0396cd964c701fc1ea496c88a650d67050b72342959dd67a6e24acfc23166e07Set Price78894182021-09-02 5:54:0886 days 14 hrs ago0xd2d4c272510048b995cbda356c53e65141a2fee9 IN  0x8d487e6d9764d16701179ac37abd3639bc736e0c0 HT0.0000988112.25
0xb1d17d36bee8cb4ab5a23ee9f8e33e3555990a84dcf3fceb3f5cf6add112c011Set Price78894092021-09-02 5:53:4186 days 14 hrs ago0xd2d4c272510048b995cbda356c53e65141a2fee9 IN  0x8d487e6d9764d16701179ac37abd3639bc736e0c0 HT0.0000988652.25
0xd75e1be1b4619feaeebdbd5eef2e3ac79b80c9d192c9115bf741901550d6783fSet Price78894022021-09-02 5:53:2086 days 14 hrs ago0xd2d4c272510048b995cbda356c53e65141a2fee9 IN  0x8d487e6d9764d16701179ac37abd3639bc736e0c0 HT0.0000988112.25
0x401a89f988bd576fd2e1406bc58faf12a548ec10541add4c50a1d2de153426a0Set Price78893832021-09-02 5:52:2386 days 14 hrs ago0xd2d4c272510048b995cbda356c53e65141a2fee9 IN  0x8d487e6d9764d16701179ac37abd3639bc736e0c0 HT0.0000988652.25
0x425d84912708b511d0b55f77f28e37eb7ef1a31e778104bf6f66d46b8f3964edSet Price78893762021-09-02 5:52:0286 days 14 hrs ago0xd2d4c272510048b995cbda356c53e65141a2fee9 IN  0x8d487e6d9764d16701179ac37abd3639bc736e0c0 HT0.0000988652.25
0x77a23c985696209a14a8795785967d1cf01db5d37f823a131dc755708d0d5f9fSet Price78893542021-09-02 5:50:5686 days 14 hrs ago0xd2d4c272510048b995cbda356c53e65141a2fee9 IN  0x8d487e6d9764d16701179ac37abd3639bc736e0c0 HT0.0000988652.25
0xd54935374dfa2be3d28f91cebd9e110ded38af6f5ea8c4c97f95b28a0cbb4f08Set Price78893472021-09-02 5:50:3586 days 14 hrs ago0xd2d4c272510048b995cbda356c53e65141a2fee9 IN  0x8d487e6d9764d16701179ac37abd3639bc736e0c0 HT0.0000988112.25
0x24c7ed7c430ba74906cd78d443814bc417ffcd46be8ca29a37f1876e88fda7a80x6080604078892462021-09-02 5:45:3286 days 14 hrs ago0xd2d4c272510048b995cbda356c53e65141a2fee9 IN  Contract Creation0 HT0.0018901622.25
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0x28591aed0987d7b73c7b207fb4055ddb8c1bbe5a50b15c989313a5de546005fb103408072021-11-26 8:47:331 day 11 hrs ago 0x70520d1399b5c4f38b16b4f749ad21900016203a 0x8d487e6d9764d16701179ac37abd3639bc736e0c3 HT
0x7633d056337f941f69e622f702b103223180467f620e4fa1d81c149e66e1f9e1102975912021-11-24 20:46:452 days 23 hrs ago 0x16467f15c4fe85689a2545191e3c502f01e28501 0x8d487e6d9764d16701179ac37abd3639bc736e0c1 HT
0x45104229072aab4a3045e1c4e4346303d093c5c7f59acc32cca99694f85cf379102821502021-11-24 7:54:423 days 12 hrs ago 0x11b40b0636bfb27043e264a22b4d8d78535f2623 0x8d487e6d9764d16701179ac37abd3639bc736e0c1 HT
0x5ee3ac24511bf5bb30ba60d019c7f912c6d53ee03bf662ce18007e297f36fc17102656732021-11-23 18:10:514 days 2 hrs ago 0x591facf435aec458a014bd2b316aca9b4554024a 0x8d487e6d9764d16701179ac37abd3639bc736e0c2 HT
0x5510c72539bf8b2a6884de67fa2870d88f6044c140b06e7b312d6ceecc9d1b43102632002021-11-23 16:07:124 days 4 hrs ago 0x8379076ddb2db662766eb24cff52a3cd706026c0 0x8d487e6d9764d16701179ac37abd3639bc736e0c1 HT
0xc7b2cdc94688f01d509ffdac8bc759d916a0e724ae13cf616096df2a08afb5e0101725692021-11-20 12:35:397 days 7 hrs ago 0xd7474e87d9941d676fb9f81c48e015817776f3c4 0x8d487e6d9764d16701179ac37abd3639bc736e0c1 HT
0xa8aff4963632c73ac29dfe0b2daccbf95777e99c2d81e8a9bbe0e68cb4f5c84f101694182021-11-20 9:58:067 days 10 hrs ago 0xcb7db45f5e40c2144914390615d4fd9530c4a717 0x8d487e6d9764d16701179ac37abd3639bc736e0c1 HT
0xfc0abe8172159a0417f12dbf90e10290b91797f54e54ec12d457cd97343142c0101678312021-11-20 8:38:457 days 11 hrs ago 0x05ba0f45399d6db8da93cd7f6330deb2505e55f7 0x8d487e6d9764d16701179ac37abd3639bc736e0c1 HT
0x962e9d2ad932ef885723d918d4ca3db4ed53d3bbdbee48a995bc7fe2853c503999780342021-11-13 18:28:5414 days 2 hrs ago 0xeb2e851151ce367f46e14d622acf06b0185fd7f9 0x8d487e6d9764d16701179ac37abd3639bc736e0c1 HT
0x31357b9103b5a2cb3c0448aa32e2e9f95d4b94b79f2db5ae9307f70425dcc80999283922021-11-12 1:06:4715 days 19 hrs ago 0x1b26a1871868d5ea97490e42dd60a825cb7ae468 0x8d487e6d9764d16701179ac37abd3639bc736e0c1 HT
0x325b7747453778197e637bf9fd8dfe7882af1e7d139cc8c3b492921edece19bd98480322021-11-09 6:08:3118 days 14 hrs ago 0x66fc9a0b624eabed717f6abc35533eae24c8a0b6 0x8d487e6d9764d16701179ac37abd3639bc736e0c1 HT
0x04e6dc0d2a98cbdb20707b1fd5551dcf444c19726078dda7a985f09617f9be3898284442021-11-08 13:49:0419 days 6 hrs ago 0xe47ddec51cd8ca847e7417f93311bbb609e9d7ed 0x8d487e6d9764d16701179ac37abd3639bc736e0c6 HT
0x30712823d370bb738eecea7d10c9b2b8150ad12f9beb66a8c29bdb96c1680b6c97637362021-11-06 7:53:1721 days 12 hrs ago 0xe4f50cd309e65a1200a85c19ce678da48492910b 0x8d487e6d9764d16701179ac37abd3639bc736e0c1 HT
0xbb715c5983d59c75c75bd9eccdef6a0ee40943fac4d636f0b6491754bcada1fa97409872021-11-05 12:55:5022 days 7 hrs ago 0x4b7d82868e55b791a7f14a414f62037ed619033c 0x8d487e6d9764d16701179ac37abd3639bc736e0c2 HT
0x801cc2d6568a26366b4064116734d5f0fa5ea43bf6f64d0e49e164c822578d1896792322021-11-03 9:27:5924 days 11 hrs ago 0xe7217df5052176a7c82ccf334d2e613271b262cb 0x8d487e6d9764d16701179ac37abd3639bc736e0c1 HT
0xc2754b957a34047b61dd0ac34fb7e3ef26ff7ffd4bb8eff5f0e1b05ce769196796538752021-11-02 12:20:0425 days 8 hrs ago 0x97b5275d0c0a9ac98c4bab7625943b8bfd95bc9c 0x8d487e6d9764d16701179ac37abd3639bc736e0c1 HT
0xffdb42d7eabbc503a3b9a8b68d0ec374e2f3e5e63652abf41a66230079efe2be96516602021-11-02 10:29:1925 days 10 hrs ago 0x834ac0616ba2ca8a7154831b19616f36d186d4e0 0x8d487e6d9764d16701179ac37abd3639bc736e0c1 HT
0xff1a723cdcf25a81c20915b614d0007db5195a94d9bcd61b162a91fe33e0f08696421092021-11-02 2:31:4425 days 17 hrs ago 0x40c4b27de958d2feb79857d8e79861fcc66ced29 0x8d487e6d9764d16701179ac37abd3639bc736e0c1 HT
0xbd09306bed692b51a4a1d04f2489a38eccaed7c41729ca586398fd4547b1d5c796407722021-11-02 1:24:5325 days 19 hrs ago 0x26142c8f5879fdf71e412dcb624c9f52b1af4cae 0x8d487e6d9764d16701179ac37abd3639bc736e0c1 HT
0x2420a04101af283e605c78e0ab4e78c7a2794dbf007c8f160ec5ada7a9e3c38595534372021-10-30 0:38:0428 days 19 hrs ago 0x36a9c6cd82f2610012f887243852a66a460abd6a 0x8d487e6d9764d16701179ac37abd3639bc736e0c1 HT
0x7030bcba4727b970ee0a3a80e9a3de132d4c3a94b21ea26155f3f71e4a8c708095326292021-10-29 7:17:4029 days 13 hrs ago 0x63baba12aa90847a00b84ceda10f22326f358df2 0x8d487e6d9764d16701179ac37abd3639bc736e0c1 HT
0xcf2bec2ce99ee18facd786862c5cea2e63d110443c4e9318a2f5c1deb8a4edd595326192021-10-29 7:17:1029 days 13 hrs ago 0x61af1313d629ebb7edcfcb0a809d757cdddf0d59 0x8d487e6d9764d16701179ac37abd3639bc736e0c1 HT
0xf910ba09ff642fa1cbcccd4ae734234939f7fe29c989b4474c2f7e02e9dad4af95323722021-10-29 7:04:4929 days 13 hrs ago 0x567d3ff8f0475f836d2167ee26f89d30ed168f51 0x8d487e6d9764d16701179ac37abd3639bc736e0c1 HT
0x6f1863c1657928354c26c4713b1f0bc0f3e39dfe672d7b53f9e47b00fccb761f95294992021-10-29 4:41:1029 days 15 hrs ago 0x089dd4580ad7896af2354accdfff58f51ab2f49e 0x8d487e6d9764d16701179ac37abd3639bc736e0c1 HT
0xf374e54bf9d30a56aab894825ec9583563a123e52370bbfd12162824e9beac6a95061052021-10-28 9:11:2830 days 11 hrs ago 0x58c9ff8821e95102777d94d7926feb9cb83915ce 0x8d487e6d9764d16701179ac37abd3639bc736e0c1 HT
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
ServiceReceiver

Compiler Version
v0.7.5+commit.eb77ed08

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, MIT license
/**
 *Submitted for verification at hecoinfo.com on 2021-09-02
*/

pragma solidity ^0.7.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);



    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `sender` to `recipient` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}

// File: @openzeppelin/contracts/GSN/Context.sol



pragma solidity ^0.7.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 GSN 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 payable) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes memory) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

// File: @openzeppelin/contracts/access/Ownable.sol



pragma solidity ^0.7.0;

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

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor () {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

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

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(_owner == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

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

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

// File: eth-token-recover/contracts/TokenRecover.sol



pragma solidity ^0.7.0;




contract TokenRecover is Ownable {

    /**
     * @dev Remember that only owner can call so be careful when use on contracts generated from other contracts.
     * @param tokenAddress The token contract address
     * @param tokenAmount Number of tokens to be sent
     */
    function recoverERC20(address tokenAddress, uint256 tokenAmount) public onlyOwner {
        IERC20(tokenAddress).transfer(owner(), tokenAmount);
    }
}

// File: contracts/service/ServiceReceiver.sol



pragma solidity ^0.7.0;



contract ServiceReceiver is TokenRecover {

    mapping (bytes32 => uint256) private _prices;

    event Created(string serviceName, address indexed serviceAddress);

    function pay(string memory serviceName) public payable {
        require(msg.value == _prices[_toBytes32(serviceName)], "ServiceReceiver: incorrect price");

        emit Created(serviceName, _msgSender());
    }

    function getPrice(string memory serviceName) public view returns (uint256) {
        return _prices[_toBytes32(serviceName)];
    }

    function setPrice(string memory serviceName, uint256 amount) public onlyOwner {
        _prices[_toBytes32(serviceName)] = amount;
    }

    function withdraw(uint256 amount) public onlyOwner {
        payable(owner()).transfer(amount);
    }

    function _toBytes32(string memory serviceName) private pure returns (bytes32) {
        return keccak256(abi.encode(serviceName));
    }
}

Contract Security Audit

Contract ABI

[{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"serviceName","type":"string"},{"indexed":true,"internalType":"address","name":"serviceAddress","type":"address"}],"name":"Created","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[{"internalType":"string","name":"serviceName","type":"string"}],"name":"getPrice","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":"string","name":"serviceName","type":"string"}],"name":"pay","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint256","name":"tokenAmount","type":"uint256"}],"name":"recoverERC20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"serviceName","type":"string"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setPrice","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"}]

608060405234801561001057600080fd5b5060006100216100c460201b60201c565b9050806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3506100cc565b600033905090565b610dd2806100db6000396000f3fe60806040526004361061007b5760003560e01c8063715018a61161004e578063715018a6146103245780638980f11f1461033b5780638da5cb5b14610396578063f2fde38b146103d75761007b565b806322e01192146100805780632b66d72e146101525780632e1a7d4d1461020d578063524f388914610248575b600080fd5b34801561008c57600080fd5b50610150600480360360408110156100a357600080fd5b81019080803590602001906401000000008111156100c057600080fd5b8201836020820111156100d257600080fd5b803590602001918460018302840111640100000000831117156100f457600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050919291929080359060200190929190505050610428565b005b61020b6004803603602081101561016857600080fd5b810190808035906020019064010000000081111561018557600080fd5b82018360208201111561019757600080fd5b803590602001918460018302840111640100000000831117156101b957600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509192919290505050610514565b005b34801561021957600080fd5b506102466004803603602081101561023057600080fd5b8101908080359060200190929190505050610661565b005b34801561025457600080fd5b5061030e6004803603602081101561026b57600080fd5b810190808035906020019064010000000081111561028857600080fd5b82018360208201111561029a57600080fd5b803590602001918460018302840111640100000000831117156102bc57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050919291929050505061077a565b6040518082815260200191505060405180910390f35b34801561033057600080fd5b5061033961079f565b005b34801561034757600080fd5b506103946004803603604081101561035e57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610925565b005b3480156103a257600080fd5b506103ab610aa5565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156103e357600080fd5b50610426600480360360208110156103fa57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610ace565b005b610430610cd9565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146104f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b80600160006104fe85610ce1565b8152602001908152602001600020819055505050565b6001600061052183610ce1565b81526020019081526020016000205434146105a4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f5365727669636552656365697665723a20696e636f727265637420707269636581525060200191505060405180910390fd5b6105ac610cd9565b73ffffffffffffffffffffffffffffffffffffffff167fdb4e8a6f69daa6b4b9977ed734b510ed9b7ce86536c87435bfd7ef57968d05ee826040518080602001828103825283818151815260200191508051906020019080838360005b83811015610624578082015181840152602081019050610609565b50505050905090810190601f1680156106515780820380516001836020036101000a031916815260200191505b509250505060405180910390a250565b610669610cd9565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610729576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b610731610aa5565b73ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610776573d6000803e3d6000fd5b5050565b60006001600061078984610ce1565b8152602001908152602001600020549050919050565b6107a7610cd9565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610867576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b61092d610cd9565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146109ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb610a11610aa5565b836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b158015610a6557600080fd5b505af1158015610a79573d6000803e3d6000fd5b505050506040513d6020811015610a8f57600080fd5b8101908080519060200190929190505050505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610ad6610cd9565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610b96576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610c1c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180610d776026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600033905090565b6000816040516020018080602001828103825283818151815260200191508051906020019080838360005b83811015610d27578082015181840152602081019050610d0c565b50505050905090810190601f168015610d545780820380516001836020036101000a031916815260200191505b509250505060405160208183030381529060405280519060200120905091905056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373a2646970667358221220381f1b3e2e30ebbbfc41c72f217e0f56b51534dff5a9e4907ffa909b610dc88864736f6c63430007050033

Deployed ByteCode Sourcemap

6637:940:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7179:138;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;6814:216;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;7325:103;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;7038:133;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;5460:148;;;;;;;;;;;;;:::i;:::-;;6393:152;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;4818:79;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;5763:244;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;7179:138;5040:12;:10;:12::i;:::-;5030:22;;:6;;;;;;;;;;:22;;;5022:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7303:6:::1;7268:7;:32;7276:23;7287:11;7276:10;:23::i;:::-;7268:32;;;;;;;;;;;:41;;;;7179:138:::0;;:::o;6814:216::-;6901:7;:32;6909:23;6920:11;6909:10;:23::i;:::-;6901:32;;;;;;;;;;;;6888:9;:45;6880:90;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7009:12;:10;:12::i;:::-;6988:34;;;6996:11;6988:34;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6814:216;:::o;7325:103::-;5040:12;:10;:12::i;:::-;5030:22;;:6;;;;;;;;;;:22;;;5022:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7395:7:::1;:5;:7::i;:::-;7387:25;;:33;7413:6;7387:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;7325:103:::0;:::o;7038:133::-;7104:7;7131;:32;7139:23;7150:11;7139:10;:23::i;:::-;7131:32;;;;;;;;;;;;7124:39;;7038:133;;;:::o;5460:148::-;5040:12;:10;:12::i;:::-;5030:22;;:6;;;;;;;;;;:22;;;5022:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5567:1:::1;5530:40;;5551:6;::::0;::::1;;;;;;;;5530:40;;;;;;;;;;;;5598:1;5581:6:::0;::::1;:19;;;;;;;;;;;;;;;;;;5460:148::o:0;6393:152::-;5040:12;:10;:12::i;:::-;5030:22;;:6;;;;;;;;;;:22;;;5022:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6493:12:::1;6486:29;;;6516:7;:5;:7::i;:::-;6525:11;6486:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;6393:152:::0;;:::o;4818:79::-;4856:7;4883:6;;;;;;;;;;;4876:13;;4818:79;:::o;5763:244::-;5040:12;:10;:12::i;:::-;5030:22;;:6;;;;;;;;;;:22;;;5022:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5872:1:::1;5852:22;;:8;:22;;;;5844:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5962:8;5933:38;;5954:6;::::0;::::1;;;;;;;;5933:38;;;;;;;;;;;;5991:8;5982:6;::::0;:17:::1;;;;;;;;;;;;;;;;;;5763:244:::0;:::o;3370:106::-;3423:15;3458:10;3451:17;;3370:106;:::o;7436:138::-;7505:7;7553:11;7542:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7532:34;;;;;;7525:41;;7436:138;;;:::o

Swarm Source

ipfs://381f1b3e2e30ebbbfc41c72f217e0f56b51534dff5a9e4907ffa909b610dc888
Block Transaction Gas Used Reward
Age Block Fee Address Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading