Contract 0x2f2d3048a6c5bc40a0d2275d9b8818aa73e6e914

Txn Hash Method
Block
From
To
Value [Txn Fee]
0x616ea198f78b4396ebf4919837ece5ae3d0e41d91bb6bcc95ad8d37a72715ca5Transmit723255932022-08-19 5:58:121 min ago0x31a58a5106bd4260fa01e320b9dba650190cc1f9 IN  0x2f2d3048a6c5bc40a0d2275d9b8818aa73e6e9140 ETH0
0x6d395a6e64bb1bd8fa74b14ab1548356e2682e07f5dccd2b9905a1edbea6319fTransmit723255362022-08-19 5:57:062 mins ago0x31a58a5106bd4260fa01e320b9dba650190cc1f9 IN  0x2f2d3048a6c5bc40a0d2275d9b8818aa73e6e9140 ETH0
0xa1faa6f971474ccae5e01cc297d790775ae5312b83db92d44668f396d57f1158Transmit723254822022-08-19 5:56:023 mins ago0x31a58a5106bd4260fa01e320b9dba650190cc1f9 IN  0x2f2d3048a6c5bc40a0d2275d9b8818aa73e6e9140 ETH0
0x1402f2ff42d91194abca337ac519ef8a1b3e62f7b2196d7219f882f3b523eb58Transmit723254282022-08-19 5:54:584 mins ago0x31a58a5106bd4260fa01e320b9dba650190cc1f9 IN  0x2f2d3048a6c5bc40a0d2275d9b8818aa73e6e9140 ETH0
0x7eb18cb3e6e7d1733543ba12a06090b59f2f4a3ec5452758afca4930d400bf42Transmit723253752022-08-19 5:53:545 mins ago0x31a58a5106bd4260fa01e320b9dba650190cc1f9 IN  0x2f2d3048a6c5bc40a0d2275d9b8818aa73e6e9140 ETH0
0x0173c07db19f3a037a85a8c82610d0c52ddf1768f8ae44ea53073dcec5061ae1Transmit723253222022-08-19 5:52:506 mins ago0x31a58a5106bd4260fa01e320b9dba650190cc1f9 IN  0x2f2d3048a6c5bc40a0d2275d9b8818aa73e6e9140 ETH0
0x38113a1346eabb9ba6d1a38c25f1b888ed4b2ac45667f98b6b7cc772c4c5e159Transmit723252692022-08-19 5:51:467 mins ago0x31a58a5106bd4260fa01e320b9dba650190cc1f9 IN  0x2f2d3048a6c5bc40a0d2275d9b8818aa73e6e9140 ETH0
0x116650c713ef324b42341dd6507e5ab39990cad894fe068782481bbb3fa7c4baTransmit723252162022-08-19 5:50:428 mins ago0x31a58a5106bd4260fa01e320b9dba650190cc1f9 IN  0x2f2d3048a6c5bc40a0d2275d9b8818aa73e6e9140 ETH0
0xfea1b447c62425d49eb222100cac5012e2128bfb5fe8d80d4385aa0c0862e643Transmit723251642022-08-19 5:49:389 mins ago0x31a58a5106bd4260fa01e320b9dba650190cc1f9 IN  0x2f2d3048a6c5bc40a0d2275d9b8818aa73e6e9140 ETH0
0x3478dbc6401e57c896d85b17b53c9226587039bae2ecfd7ecbfb554a7d8f9598Transmit723251112022-08-19 5:48:3410 mins ago0x31a58a5106bd4260fa01e320b9dba650190cc1f9 IN  0x2f2d3048a6c5bc40a0d2275d9b8818aa73e6e9140 ETH0
0x075b30cfdef88ec6f9d98fd15645666410a0be0cf308a9ee71172468ca73241aTransmit723250562022-08-19 5:47:2811 mins ago0x31a58a5106bd4260fa01e320b9dba650190cc1f9 IN  0x2f2d3048a6c5bc40a0d2275d9b8818aa73e6e9140 ETH0
0x4877ceb8dfaeadd510107989298ded790642721c6c3c2307659cc52a1be0f43fTransmit723250032022-08-19 5:46:2512 mins ago0x31a58a5106bd4260fa01e320b9dba650190cc1f9 IN  0x2f2d3048a6c5bc40a0d2275d9b8818aa73e6e9140 ETH0
0x90426fd9d2f78bee74976939f76d1b8adfde8db844ebfecd22402986166ab09bTransmit723249482022-08-19 5:45:2114 mins ago0x31a58a5106bd4260fa01e320b9dba650190cc1f9 IN  0x2f2d3048a6c5bc40a0d2275d9b8818aa73e6e9140 ETH0
0x449f5bdbc9f486afc5d5534a5a0f963f9d77119535ce957efc5be85d2d0b19c2Transmit723248962022-08-19 5:44:1715 mins ago0x31a58a5106bd4260fa01e320b9dba650190cc1f9 IN  0x2f2d3048a6c5bc40a0d2275d9b8818aa73e6e9140 ETH0
0x52e4dac15e4e5f97b335b394d1116f511f447a967ed240819ee3184a4776c6e1Transmit723248422022-08-19 5:43:1316 mins ago0x31a58a5106bd4260fa01e320b9dba650190cc1f9 IN  0x2f2d3048a6c5bc40a0d2275d9b8818aa73e6e9140 ETH0
0x1eea1496e19ff323d6f8ce0837997b48cc827fdf28e1cc87e1ae04b5c446a450Transmit723247882022-08-19 5:42:1017 mins ago0x31a58a5106bd4260fa01e320b9dba650190cc1f9 IN  0x2f2d3048a6c5bc40a0d2275d9b8818aa73e6e9140 ETH0
0x90f997159779b29aec86368b81ca58b57e96517189e4d0f5ae2b540685fce539Transmit723247342022-08-19 5:41:0618 mins ago0x31a58a5106bd4260fa01e320b9dba650190cc1f9 IN  0x2f2d3048a6c5bc40a0d2275d9b8818aa73e6e9140 ETH0
0xf5d41b35cc8801ae4e951f78314fe5d380790239697de48e56d7504ff0d892a1Transmit723246802022-08-19 5:40:0219 mins ago0x31a58a5106bd4260fa01e320b9dba650190cc1f9 IN  0x2f2d3048a6c5bc40a0d2275d9b8818aa73e6e9140 ETH0
0x59360778c055bd7f9d8ac01a62349b73370015a7dc80aa9ffbd2299d1313882bTransmit723246262022-08-19 5:38:5820 mins ago0x31a58a5106bd4260fa01e320b9dba650190cc1f9 IN  0x2f2d3048a6c5bc40a0d2275d9b8818aa73e6e9140 ETH0
0x02fba04c4c3cdaa07394594c3b5bd7e795cec45fee5bbf3ffeb060f7dd78175fTransmit723245722022-08-19 5:37:5321 mins ago0x31a58a5106bd4260fa01e320b9dba650190cc1f9 IN  0x2f2d3048a6c5bc40a0d2275d9b8818aa73e6e9140 ETH0
0x1d3b89082400ad80df0e334dc13b98fd13fce2f0a1da04513f58c2705db2e728Transmit723245182022-08-19 5:36:5022 mins ago0x31a58a5106bd4260fa01e320b9dba650190cc1f9 IN  0x2f2d3048a6c5bc40a0d2275d9b8818aa73e6e9140 ETH0
0x5728d53101f2ba8d5b8278bab4eb285d5856911aefa7a456f09bcde3fe3dc57aTransmit723244652022-08-19 5:35:4623 mins ago0x31a58a5106bd4260fa01e320b9dba650190cc1f9 IN  0x2f2d3048a6c5bc40a0d2275d9b8818aa73e6e9140 ETH0
0x9b7d3aad6cb3d1850b3e6dded7c2af111e43eb691f86d513dab27d7bca06b165Transmit723244122022-08-19 5:34:4224 mins ago0x31a58a5106bd4260fa01e320b9dba650190cc1f9 IN  0x2f2d3048a6c5bc40a0d2275d9b8818aa73e6e9140 ETH0
0xa880cf6ca63410681846ae98c2b23260fc646053307c77c1c79f5a0f79792c21Transmit723243592022-08-19 5:33:3725 mins ago0x31a58a5106bd4260fa01e320b9dba650190cc1f9 IN  0x2f2d3048a6c5bc40a0d2275d9b8818aa73e6e9140 ETH0
0x966c6631a53a976d98c5be9944088ff068d48e12bc588b5ba7ae13ef331dad45Transmit723243062022-08-19 5:32:3426 mins ago0x31a58a5106bd4260fa01e320b9dba650190cc1f9 IN  0x2f2d3048a6c5bc40a0d2275d9b8818aa73e6e9140 ETH0
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
FluxPriceFeed

Compiler Version
v0.8.12+commit.f00d7308

Optimization Enabled:
Yes with 800 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity Standard Json-Input format)

File 1 of 10 : FluxPriceFeed.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.12;

import "./interface/CLV2V3Interface.sol";
import "@openzeppelin/contracts/access/AccessControl.sol";

/**
 * @title Flux first-party price feed oracle
 * @author fluxprotocol.org
 * @notice Simple data posting on chain of a scalar value, compatible with Chainlink V2 and V3 aggregator interface
 */
contract FluxPriceFeed is AccessControl, CLV2V3Interface {
    bytes32 public constant VALIDATOR_ROLE = keccak256("VALIDATOR_ROLE");
    uint32 public latestAggregatorRoundId;

    // Transmission records the answer from the transmit transaction at
    // time timestamp
    struct Transmission {
        int192 answer; // 192 bits ought to be enough for anyone
        uint64 timestamp;
    }
    mapping(uint32 => Transmission) /* aggregator round ID */
        internal transmissions;

    /**
     * @param _validator the initial validator that can post data to this contract
     * @param _decimals answers are stored in fixed-point format, with this many digits of precision
     * @param __description short human-readable description of observable this contract's answers pertain to
     */
    constructor(
        address _validator,
        uint8 _decimals,
        string memory __description
    ) {
        _setupRole(DEFAULT_ADMIN_ROLE, msg.sender);
        _setupRole(VALIDATOR_ROLE, _validator);
        decimals = _decimals;
        _description = __description;
    }

    /*
     * Versioning
     */
    function typeAndVersion() external pure virtual returns (string memory) {
        return "FluxPriceFeed 1.2.0";
    }

    /*
     * Transmission logic
     */

    /**
     * @notice indicates that a new report was transmitted
     * @param aggregatorRoundId the round to which this report was assigned
     * @param answer value posted by validator
     * @param transmitter address from which the report was transmitted
     */
    event NewTransmission(uint32 indexed aggregatorRoundId, int192 answer, address transmitter);

    /**
     * @notice details about the most recent report
     * @return _latestAnswer value from latest report
     * @return _latestTimestamp when the latest report was transmitted
     */
    function latestTransmissionDetails() external view returns (int192 _latestAnswer, uint64 _latestTimestamp) {
        return (transmissions[latestAggregatorRoundId].answer, transmissions[latestAggregatorRoundId].timestamp);
    }

    /**
     * @notice transmit is called to post a new report to the contract
     * @param _answer latest answer
     */
    function transmit(int192 _answer) external onlyRole(VALIDATOR_ROLE) {
        // Check the report contents, and record the result
        latestAggregatorRoundId++;
        transmissions[latestAggregatorRoundId] = Transmission(_answer, uint64(block.timestamp));

        emit NewTransmission(latestAggregatorRoundId, _answer, msg.sender);
    }

    /*
     * v2 Aggregator interface
     */

    /**
     * @notice answer from the most recent report
     */
    function latestAnswer() public view virtual override returns (int256) {
        return transmissions[latestAggregatorRoundId].answer;
    }

    /**
     * @notice timestamp of block in which last report was transmitted
     */
    function latestTimestamp() public view virtual override returns (uint256) {
        return transmissions[latestAggregatorRoundId].timestamp;
    }

    /**
     * @notice Aggregator round in which last report was transmitted
     */
    function latestRound() public view virtual override returns (uint256) {
        return latestAggregatorRoundId;
    }

    /**
     * @notice answer of report from given aggregator round
     * @param _roundId the aggregator round of the target report
     */
    function getAnswer(uint256 _roundId) public view virtual override returns (int256) {
        if (_roundId > 0xFFFFFFFF) {
            return 0;
        }
        return transmissions[uint32(_roundId)].answer;
    }

    /**
     * @notice timestamp of block in which report from given aggregator round was transmitted
     * @param _roundId aggregator round of target report
     */
    function getTimestamp(uint256 _roundId) public view virtual override returns (uint256) {
        if (_roundId > 0xFFFFFFFF) {
            return 0;
        }
        return transmissions[uint32(_roundId)].timestamp;
    }

    /*
     * v3 Aggregator interface
     */

    string private constant V3_NO_DATA_ERROR = "No data present";

    /**
     * @return answers are stored in fixed-point format, with this many digits of precision
     */
    uint8 public immutable override decimals;

    /**
     * @notice aggregator contract version
     */
    uint256 public constant override version = 1;

    string internal _description;

    /**
     * @notice human-readable description of observable this contract is reporting on
     */
    function description() public view virtual override returns (string memory) {
        return _description;
    }

    /**
     * @notice details for the given aggregator round
     * @param _roundId target aggregator round. Must fit in uint32
     * @return roundId _roundId
     * @return answer answer of report from given _roundId
     * @return startedAt timestamp of block in which report from given _roundId was transmitted
     * @return updatedAt timestamp of block in which report from given _roundId was transmitted
     * @return answeredInRound _roundId
     */
    function getRoundData(uint80 _roundId)
        public
        view
        virtual
        override
        returns (
            uint80 roundId,
            int256 answer,
            uint256 startedAt,
            uint256 updatedAt,
            uint80 answeredInRound
        )
    {
        require(_roundId <= 0xFFFFFFFF, V3_NO_DATA_ERROR);
        Transmission memory transmission = transmissions[uint32(_roundId)];
        return (_roundId, transmission.answer, transmission.timestamp, transmission.timestamp, _roundId);
    }

    /**
     * @notice aggregator details for the most recently transmitted report
     * @return roundId aggregator round of latest report
     * @return answer answer of latest report
     * @return startedAt timestamp of block containing latest report
     * @return updatedAt timestamp of block containing latest report
     * @return answeredInRound aggregator round of latest report
     */
    function latestRoundData()
        public
        view
        virtual
        override
        returns (
            uint80 roundId,
            int256 answer,
            uint256 startedAt,
            uint256 updatedAt,
            uint80 answeredInRound
        )
    {
        roundId = latestAggregatorRoundId;

        // Skipped for compatability with existing FluxAggregator in which latestRoundData never reverts.
        // require(roundId != 0, V3_NO_DATA_ERROR);

        Transmission memory transmission = transmissions[uint32(roundId)];
        return (roundId, transmission.answer, transmission.timestamp, transmission.timestamp, roundId);
    }
}

File 2 of 10 : CLV2V3Interface.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.12;

import "./CLInterface.sol";
import "./CLV3Interface.sol";

/* solhint-disable-next-line no-empty-blocks */
interface CLV2V3Interface is CLInterface, CLV3Interface {

}

File 3 of 10 : AccessControl.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (access/AccessControl.sol)

pragma solidity ^0.8.0;

import "./IAccessControl.sol";
import "../utils/Context.sol";
import "../utils/Strings.sol";
import "../utils/introspection/ERC165.sol";

/**
 * @dev Contract module that allows children to implement role-based access
 * control mechanisms. This is a lightweight version that doesn't allow enumerating role
 * members except through off-chain means by accessing the contract event logs. Some
 * applications may benefit from on-chain enumerability, for those cases see
 * {AccessControlEnumerable}.
 *
 * Roles are referred to by their `bytes32` identifier. These should be exposed
 * in the external API and be unique. The best way to achieve this is by
 * using `public constant` hash digests:
 *
 * ```
 * bytes32 public constant MY_ROLE = keccak256("MY_ROLE");
 * ```
 *
 * Roles can be used to represent a set of permissions. To restrict access to a
 * function call, use {hasRole}:
 *
 * ```
 * function foo() public {
 *     require(hasRole(MY_ROLE, msg.sender));
 *     ...
 * }
 * ```
 *
 * Roles can be granted and revoked dynamically via the {grantRole} and
 * {revokeRole} functions. Each role has an associated admin role, and only
 * accounts that have a role's admin role can call {grantRole} and {revokeRole}.
 *
 * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means
 * that only accounts with this role will be able to grant or revoke other
 * roles. More complex role relationships can be created by using
 * {_setRoleAdmin}.
 *
 * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to
 * grant and revoke this role. Extra precautions should be taken to secure
 * accounts that have been granted it.
 */
abstract contract AccessControl is Context, IAccessControl, ERC165 {
    struct RoleData {
        mapping(address => bool) members;
        bytes32 adminRole;
    }

    mapping(bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

    /**
     * @dev Modifier that checks that an account has a specific role. Reverts
     * with a standardized message including the required role.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     *
     * _Available since v4.1._
     */
    modifier onlyRole(bytes32 role) {
        _checkRole(role, _msgSender());
        _;
    }

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

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) public view virtual override returns (bool) {
        return _roles[role].members[account];
    }

    /**
     * @dev Revert with a standard message if `account` is missing `role`.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     */
    function _checkRole(bytes32 role, address account) internal view virtual {
        if (!hasRole(role, account)) {
            revert(
                string(
                    abi.encodePacked(
                        "AccessControl: account ",
                        Strings.toHexString(uint160(account), 20),
                        " is missing role ",
                        Strings.toHexString(uint256(role), 32)
                    )
                )
            );
        }
    }

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) public view virtual override returns (bytes32) {
        return _roles[role].adminRole;
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _grantRole(role, account);
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _revokeRole(role, account);
    }

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been revoked `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) public virtual override {
        require(account == _msgSender(), "AccessControl: can only renounce roles for self");

        _revokeRole(role, account);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event. Note that unlike {grantRole}, this function doesn't perform any
     * checks on the calling account.
     *
     * [WARNING]
     * ====
     * This function should only be called from the constructor when setting
     * up the initial roles for the system.
     *
     * Using this function in any other way is effectively circumventing the admin
     * system imposed by {AccessControl}.
     * ====
     *
     * NOTE: This function is deprecated in favor of {_grantRole}.
     */
    function _setupRole(bytes32 role, address account) internal virtual {
        _grantRole(role, account);
    }

    /**
     * @dev Sets `adminRole` as ``role``'s admin role.
     *
     * Emits a {RoleAdminChanged} event.
     */
    function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {
        bytes32 previousAdminRole = getRoleAdmin(role);
        _roles[role].adminRole = adminRole;
        emit RoleAdminChanged(role, previousAdminRole, adminRole);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * Internal function without access restriction.
     */
    function _grantRole(bytes32 role, address account) internal virtual {
        if (!hasRole(role, account)) {
            _roles[role].members[account] = true;
            emit RoleGranted(role, account, _msgSender());
        }
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * Internal function without access restriction.
     */
    function _revokeRole(bytes32 role, address account) internal virtual {
        if (hasRole(role, account)) {
            _roles[role].members[account] = false;
            emit RoleRevoked(role, account, _msgSender());
        }
    }
}

File 4 of 10 : CLInterface.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.12;

interface CLInterface {
    function latestAnswer() external view returns (int256);

    function latestTimestamp() external view returns (uint256);

    function latestRound() external view returns (uint256);

    function getAnswer(uint256 roundId) external view returns (int256);

    function getTimestamp(uint256 roundId) external view returns (uint256);

    event AnswerUpdated(int256 indexed current, uint256 indexed roundId, uint256 updatedAt);
    event NewRound(uint256 indexed roundId, address indexed startedBy, uint256 startedAt);
}

File 5 of 10 : CLV3Interface.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.12;

interface CLV3Interface {
    function decimals() external view returns (uint8);

    function description() external view returns (string memory);

    function version() external view returns (uint256);

    // getRoundData and latestRoundData should both raise "No data present"
    // if they do not have data to report, instead of returning unset values
    // which could be misinterpreted as actual reported values.
    function getRoundData(uint80 _roundId)
        external
        view
        returns (
            uint80 roundId,
            int256 answer,
            uint256 startedAt,
            uint256 updatedAt,
            uint80 answeredInRound
        );

    function latestRoundData()
        external
        view
        returns (
            uint80 roundId,
            int256 answer,
            uint256 startedAt,
            uint256 updatedAt,
            uint80 answeredInRound
        );
}

File 6 of 10 : IAccessControl.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol)

pragma solidity ^0.8.0;

/**
 * @dev External interface of AccessControl declared to support ERC165 detection.
 */
interface IAccessControl {
    /**
     * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`
     *
     * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite
     * {RoleAdminChanged} not being emitted signaling this.
     *
     * _Available since v3.1._
     */
    event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);

    /**
     * @dev Emitted when `account` is granted `role`.
     *
     * `sender` is the account that originated the contract call, an admin role
     * bearer except when using {AccessControl-_setupRole}.
     */
    event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Emitted when `account` is revoked `role`.
     *
     * `sender` is the account that originated the contract call:
     *   - if using `revokeRole`, it is the admin role bearer
     *   - if using `renounceRole`, it is the role bearer (i.e. `account`)
     */
    event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) external view returns (bool);

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {AccessControl-_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) external view returns (bytes32);

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been granted `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) external;
}

File 7 of 10 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

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 10 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        // Inspired by OraclizeAPI's implementation - MIT licence
        // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol

        if (value == 0) {
            return "0";
        }
        uint256 temp = value;
        uint256 digits;
        while (temp != 0) {
            digits++;
            temp /= 10;
        }
        bytes memory buffer = new bytes(digits);
        while (value != 0) {
            digits -= 1;
            buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
            value /= 10;
        }
        return string(buffer);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        if (value == 0) {
            return "0x00";
        }
        uint256 temp = value;
        uint256 length = 0;
        while (temp != 0) {
            length++;
            temp >>= 8;
        }
        return toHexString(value, length);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        bytes memory buffer = new bytes(2 * length + 2);
        buffer[0] = "0";
        buffer[1] = "x";
        for (uint256 i = 2 * length + 1; i > 1; --i) {
            buffer[i] = _HEX_SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }
}

File 9 of 10 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

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 10 of 10 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

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
{
  "metadata": {
    "bytecodeHash": "none"
  },
  "optimizer": {
    "enabled": true,
    "runs": 800
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract ABI

[{"inputs":[{"internalType":"address","name":"_validator","type":"address"},{"internalType":"uint8","name":"_decimals","type":"uint8"},{"internalType":"string","name":"__description","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"int256","name":"current","type":"int256"},{"indexed":true,"internalType":"uint256","name":"roundId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"updatedAt","type":"uint256"}],"name":"AnswerUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"roundId","type":"uint256"},{"indexed":true,"internalType":"address","name":"startedBy","type":"address"},{"indexed":false,"internalType":"uint256","name":"startedAt","type":"uint256"}],"name":"NewRound","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint32","name":"aggregatorRoundId","type":"uint32"},{"indexed":false,"internalType":"int192","name":"answer","type":"int192"},{"indexed":false,"internalType":"address","name":"transmitter","type":"address"}],"name":"NewTransmission","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"VALIDATOR_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"description","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_roundId","type":"uint256"}],"name":"getAnswer","outputs":[{"internalType":"int256","name":"","type":"int256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint80","name":"_roundId","type":"uint80"}],"name":"getRoundData","outputs":[{"internalType":"uint80","name":"roundId","type":"uint80"},{"internalType":"int256","name":"answer","type":"int256"},{"internalType":"uint256","name":"startedAt","type":"uint256"},{"internalType":"uint256","name":"updatedAt","type":"uint256"},{"internalType":"uint80","name":"answeredInRound","type":"uint80"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_roundId","type":"uint256"}],"name":"getTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"latestAggregatorRoundId","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"latestAnswer","outputs":[{"internalType":"int256","name":"","type":"int256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"latestRound","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"latestRoundData","outputs":[{"internalType":"uint80","name":"roundId","type":"uint80"},{"internalType":"int256","name":"answer","type":"int256"},{"internalType":"uint256","name":"startedAt","type":"uint256"},{"internalType":"uint256","name":"updatedAt","type":"uint256"},{"internalType":"uint80","name":"answeredInRound","type":"uint80"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"latestTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"latestTransmissionDetails","outputs":[{"internalType":"int192","name":"_latestAnswer","type":"int192"},{"internalType":"uint64","name":"_latestTimestamp","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"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":"int192","name":"_answer","type":"int192"}],"name":"transmit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"typeAndVersion","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"version","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]

60a06040523480156200001157600080fd5b5060405162001206380380620012068339810160408190526200003491620001ff565b6200004160003362000093565b6200006d7f21702c8af46127c7fa207f89d0b0a8441bb32959a0ac7df790e9ab1a25c989268462000093565b60ff821660805280516200008990600390602084019062000143565b5050505062000356565b6200009f8282620000a3565b5050565b6000828152602081815260408083206001600160a01b038516845290915290205460ff166200009f576000828152602081815260408083206001600160a01b03851684529091529020805460ff19166001179055620000ff3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b828054620001519062000319565b90600052602060002090601f016020900481019282620001755760008555620001c0565b82601f106200019057805160ff1916838001178555620001c0565b82800160010185558215620001c0579182015b82811115620001c0578251825591602001919060010190620001a3565b50620001ce929150620001d2565b5090565b5b80821115620001ce5760008155600101620001d3565b634e487b7160e01b600052604160045260246000fd5b6000806000606084860312156200021557600080fd5b83516001600160a01b03811681146200022d57600080fd5b8093505060208085015160ff811681146200024757600080fd5b60408601519093506001600160401b03808211156200026557600080fd5b818701915087601f8301126200027a57600080fd5b8151818111156200028f576200028f620001e9565b604051601f8201601f19908116603f01168101908382118183101715620002ba57620002ba620001e9565b816040528281528a86848701011115620002d357600080fd5b600093505b82841015620002f75784840186015181850187015292850192620002d8565b82841115620003095760008684830101525b8096505050505050509250925092565b600181811c908216806200032e57607f821691505b602082108114156200035057634e487b7160e01b600052602260045260246000fd5b50919050565b608051610e9462000372600039600061023c0152610e946000f3fe608060405234801561001057600080fd5b50600436106101825760003560e01c80638205bf6a116100d8578063b5ab58dc1161008c578063d547741f11610066578063d547741f146103fd578063e5fe457714610410578063feaf968c1461046257600080fd5b8063b5ab58dc146103b0578063b633620c146103c3578063c49baebe146103d657600080fd5b806391d14854116100bd57806391d14854146103275780639a6fc8f51461035e578063a217fddf146103a857600080fd5b80638205bf6a146102e657806382b8ebc71461031457600080fd5b806336568abe1161013a5780635ed63b40116101145780635ed63b40146102ab578063668a0f02146102d05780637284e416146102de57600080fd5b806336568abe1461027057806350d25bcd1461028357806354fd4d50146102a357600080fd5b8063248a9ca31161016b578063248a9ca3146101f15780632f2ff15d14610222578063313ce5671461023757600080fd5b806301ffc9a714610187578063181f5a77146101af575b600080fd5b61019a610195366004610be6565b6104b2565b60405190151581526020015b60405180910390f35b60408051808201909152601381527f466c757850726963654665656420312e322e300000000000000000000000000060208201525b6040516101a69190610c40565b6102146101ff366004610c73565b60009081526020819052604090206001015490565b6040519081526020016101a6565b610235610230366004610c8c565b6104e9565b005b61025e7f000000000000000000000000000000000000000000000000000000000000000081565b60405160ff90911681526020016101a6565b61023561027e366004610c8c565b610514565b60015463ffffffff1660009081526002602052604090205460170b610214565b610214600181565b6001546102bb9063ffffffff1681565b60405163ffffffff90911681526020016101a6565b60015463ffffffff16610214565b6101e46105a5565b60015463ffffffff16600090815260026020526040902054600160c01b900467ffffffffffffffff16610214565b610235610322366004610cc8565b610637565b61019a610335366004610c8c565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b61037161036c366004610ceb565b610740565b6040805169ffffffffffffffffffff968716815260208101959095528401929092526060830152909116608082015260a0016101a6565b610214600081565b6102146103be366004610c73565b610803565b6102146103d1366004610c73565b610835565b6102147f21702c8af46127c7fa207f89d0b0a8441bb32959a0ac7df790e9ab1a25c9892681565b61023561040b366004610c8c565b610875565b60015463ffffffff16600090815260026020526040902054601781900b90600160c01b900467ffffffffffffffff166040805160179390930b835267ffffffffffffffff9091166020830152016101a6565b61037160015463ffffffff16600081815260026020908152604091829020825180840190935254601781900b808452600160c01b90910467ffffffffffffffff1692909101829052919281908490565b60006001600160e01b03198216637965db0b60e01b14806104e357506301ffc9a760e01b6001600160e01b03198316145b92915050565b600082815260208190526040902060010154610505813361089b565b61050f8383610919565b505050565b6001600160a01b03811633146105975760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201527f20726f6c657320666f722073656c66000000000000000000000000000000000060648201526084015b60405180910390fd5b6105a182826109b7565b5050565b6060600380546105b490610d17565b80601f01602080910402602001604051908101604052809291908181526020018280546105e090610d17565b801561062d5780601f106106025761010080835404028352916020019161062d565b820191906000526020600020905b81548152906001019060200180831161061057829003601f168201915b5050505050905090565b7f21702c8af46127c7fa207f89d0b0a8441bb32959a0ac7df790e9ab1a25c98926610662813361089b565b6001805463ffffffff1690600061067883610d68565b825463ffffffff9182166101009390930a928302928202191691909117909155604080518082018252601786900b80825267ffffffffffffffff428116602080850191825260018054881660009081526002835287902095519251909316600160c01b0277ffffffffffffffffffffffffffffffffffffffffffffffff909216919091179093555483519182523392820192909252921692507f17eabd0a66fa631f7537cefdd5df6aa25d5ac904cf7596e958d43a75a00d0d68910160405180910390a25050565b600080600080600063ffffffff8669ffffffffffffffffffff1611156040518060400160405280600f81526020017f4e6f20646174612070726573656e740000000000000000000000000000000000815250906107b05760405162461bcd60e51b815260040161058e9190610c40565b5050505063ffffffff8316600090815260026020908152604091829020825180840190935254601781900b808452600160c01b90910467ffffffffffffffff169290910182905293949092508291508490565b600063ffffffff82111561081957506000919050565b5063ffffffff1660009081526002602052604090205460170b90565b600063ffffffff82111561084b57506000919050565b5063ffffffff16600090815260026020526040902054600160c01b900467ffffffffffffffff1690565b600082815260208190526040902060010154610891813361089b565b61050f83836109b7565b6000828152602081815260408083206001600160a01b038516845290915290205460ff166105a1576108d7816001600160a01b03166014610a36565b6108e2836020610a36565b6040516020016108f3929190610d8c565b60408051601f198184030181529082905262461bcd60e51b825261058e91600401610c40565b6000828152602081815260408083206001600160a01b038516845290915290205460ff166105a1576000828152602081815260408083206001600160a01b03851684529091529020805460ff191660011790556109733390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000828152602081815260408083206001600160a01b038516845290915290205460ff16156105a1576000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b60606000610a45836002610e0d565b610a50906002610e2c565b67ffffffffffffffff811115610a6857610a68610e44565b6040519080825280601f01601f191660200182016040528015610a92576020820181803683370190505b509050600360fc1b81600081518110610aad57610aad610e5a565b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110610adc57610adc610e5a565b60200101906001600160f81b031916908160001a9053506000610b00846002610e0d565b610b0b906001610e2c565b90505b6001811115610b90577f303132333435363738396162636465660000000000000000000000000000000085600f1660108110610b4c57610b4c610e5a565b1a60f81b828281518110610b6257610b62610e5a565b60200101906001600160f81b031916908160001a90535060049490941c93610b8981610e70565b9050610b0e565b508315610bdf5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e74604482015260640161058e565b9392505050565b600060208284031215610bf857600080fd5b81356001600160e01b031981168114610bdf57600080fd5b60005b83811015610c2b578181015183820152602001610c13565b83811115610c3a576000848401525b50505050565b6020815260008251806020840152610c5f816040850160208701610c10565b601f01601f19169190910160400192915050565b600060208284031215610c8557600080fd5b5035919050565b60008060408385031215610c9f57600080fd5b8235915060208301356001600160a01b0381168114610cbd57600080fd5b809150509250929050565b600060208284031215610cda57600080fd5b81358060170b8114610bdf57600080fd5b600060208284031215610cfd57600080fd5b813569ffffffffffffffffffff81168114610bdf57600080fd5b600181811c90821680610d2b57607f821691505b60208210811415610d4c57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b600063ffffffff80831681811415610d8257610d82610d52565b6001019392505050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351610dc4816017850160208801610c10565b7f206973206d697373696e6720726f6c65200000000000000000000000000000006017918401918201528351610e01816028840160208801610c10565b01602801949350505050565b6000816000190483118215151615610e2757610e27610d52565b500290565b60008219821115610e3f57610e3f610d52565b500190565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b600081610e7f57610e7f610d52565b50600019019056fea164736f6c634300080c000a00000000000000000000000031a58a5106bd4260fa01e320b9dba650190cc1f900000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000c4c494e454152202f205553440000000000000000000000000000000000000000

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

00000000000000000000000031a58a5106bd4260fa01e320b9dba650190cc1f900000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000c4c494e454152202f205553440000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _validator (address): 0x31a58a5106bd4260fa01e320b9dba650190cc1f9
Arg [1] : _decimals (uint8): 8
Arg [2] : __description (string): LINEAR / USD

-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 00000000000000000000000031a58a5106bd4260fa01e320b9dba650190cc1f9
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000008
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [3] : 000000000000000000000000000000000000000000000000000000000000000c
Arg [4] : 4c494e454152202f205553440000000000000000000000000000000000000000


Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.