ETH Price: $2,420.64 (-2.42%)

Transaction Decoder

Block:
9835013 at Apr-09-2020 01:21:21 AM +UTC
Transaction Fee:
0.000028999 ETH $0.07
Gas Used:
28,999 Gas / 1 Gwei

Emitted Events:

104 AdvertisementTracker.BulkPoARegistered( owner=[Sender] 0x9019b02062a58df0b431a143abe15b54d057b07e, bidId=0000000000000000000000000000000000000000000000000000000000000F91, rootHash=0x4500AFA04AD50E867B150F05F9643AE4849ABC69EC30456DA742D178F0E4B002, signature=0x3D414EC9ACE6F728C3D0047F3C7B17EA7A89F32E5B1C0EAD62F59FEC28CFA3B43A099BD446592D9C62CFBDF13C99CE8B6331A5E278393E73751C1D2B204AB1E51B, newHashes=10 )

Account State Difference:

  Address   Before After State Difference Code
(Spark Pool)
46.203964822036069939 Eth46.203993821036069939 Eth0.000028999
0x9019b020...4D057b07E
3.785704301005804721 Eth
Nonce: 30924
3.785675302005804721 Eth
Nonce: 30925
0.000028999

Execution Trace

AdvertisementTracker.bulkRegisterPoA( bidId=0000000000000000000000000000000000000000000000000000000000000F91, rootHash=0x4500AFA04AD50E867B150F05F9643AE4849ABC69EC30456DA742D178F0E4B002, signature=0x3D414EC9ACE6F728C3D0047F3C7B17EA7A89F32E5B1C0EAD62F59FEC28CFA3B43A099BD446592D9C62CFBDF13C99CE8B6331A5E278393E73751C1D2B204AB1E51B, newHashes=10 )
pragma solidity 0.5.12;

contract AdvertisementTracker
{
    event CampaignLaunched(
        address owner,
        bytes32 bidId,
        string packageName,
        uint[3] countries,
        uint price,
        uint budget,
        uint startDate,
        uint endDate,
        string endPoint
    );

    event CampaignCancelled(
        address owner,
        bytes32 bidId
    );

    event BulkPoARegistered(
        address owner,
        bytes32 bidId,
        bytes rootHash,
        bytes signature,
        uint256 newHashes
    );

    constructor() public {
    }

    function createCampaign (
        bytes32 bidId,
        string memory packageName,
        uint[3] memory countries,
        uint price,
        uint budget,
        uint startDate,
        uint endDate,
        string memory endPoint)
    public
    {
        emit CampaignLaunched(
            msg.sender,
            bidId,
            packageName,
            countries,
            price,
            budget,
            startDate,
            endDate,
            endPoint);
    }

    function cancelCampaign (
        bytes32 bidId)
    public
    {
        emit CampaignCancelled(
            msg.sender, 
            bidId);
    }

    function bulkRegisterPoA (
        bytes32 bidId,
        bytes memory rootHash,
        bytes memory signature,
        uint256 newHashes)
    public
    {
        emit BulkPoARegistered(
            msg.sender,
            bidId,
            rootHash,
            signature,
            newHashes);
    }

}