Skip to content
Verified contractPartial

AdvertisementTracker

Address0xfcad3d4e29e21465fbbd065a4b06ca21d7fe1054
Balance

0 ETH

 

Transactions

37,673

 

Compiler

solc 0.5.12

 

Same code

Only this contract

 

Details

Compiler
solc 0.5.12+commit.7709ece9
Language
solidity
Optimization
No
EVM version
petersburg
License
Not stated
Match
Partialcreation code: yes, runtime code: yes
Verified on Sourcify
Created in block
8,738,824
Creation transaction
0x005265193d…bcdf37b193

AdvertisementTracker.sol

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);
    }

}
Compiler settingsShow
{
  "libraries": {},
  "optimizer": {
    "runs": 200,
    "enabled": false
  },
  "evmVersion": "petersburg",
  "remappings": []
}

Source code and metadata: Sourcify.

The source code belongs to the authors of the contract.