Contract 0xCCa7a3b74919AEC8387b99F21F92221ea35Cc016

Contract Overview

Balance:
0 AVAX
Txn Hash Method
Block
From
To
Value [Txn Fee]
0xabb4e9a403e15b88384e30e42a79d33ec025e9f9f672e846b3b278b9fb7d0b8dTransfer Ownersh...43870392022-01-03 14:26:12266 days 18 hrs ago0x3f09e942b0089b8af73ccb9603da8064b6c4b637 IN 0xcca7a3b74919aec8387b99f21f92221ea35cc0160 AVAX0.000714325
0xa6790639ada39c2e171ad7ced969c57bdc43e8bd07d45dcfa0ba75121db1b7140x6080604043868982022-01-03 14:21:12266 days 18 hrs ago0x3f09e942b0089b8af73ccb9603da8064b6c4b637 IN  Contract Creation0 AVAX0.0075726525
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0x300f1639efa5177a2d6336dac4a15cdde3feb0038e2ed9e3546e1b67758fb8a1103414562022-06-03 3:46:53116 days 4 hrs ago 0x388fba3ccaca682118bc80aa20a137dbb7b1c5150xcca7a3b74919aec8387b99f21f92221ea35cc0160 AVAX
0x26d9db03cdf281482d525ad39cd79a3b389db6c2bcfd99874e905f6ccd17cc14103414512022-06-03 3:46:39116 days 4 hrs ago 0x388fba3ccaca682118bc80aa20a137dbb7b1c5150xcca7a3b74919aec8387b99f21f92221ea35cc0160 AVAX
0xa0767af73e2f75b033e8153b58358b6cd7370df85cbb9c090ad35273842baebb103414422022-06-03 3:46:14116 days 4 hrs ago 0x388fba3ccaca682118bc80aa20a137dbb7b1c5150xcca7a3b74919aec8387b99f21f92221ea35cc0160 AVAX
0x37d138bb334d10940f78ad843ba63bc1d6d8200861b606d4c70548c3dcb0aa75103414342022-06-03 3:45:52116 days 4 hrs ago 0x388fba3ccaca682118bc80aa20a137dbb7b1c5150xcca7a3b74919aec8387b99f21f92221ea35cc0160 AVAX
0xaa56d887162e31c01d87cc4c54801de8224d33eec2c07e8d00314ab6956759fb103413372022-06-03 3:41:49116 days 4 hrs ago 0x388fba3ccaca682118bc80aa20a137dbb7b1c5150xcca7a3b74919aec8387b99f21f92221ea35cc0160 AVAX
0x109fe37c5b542e7f2283afa3d6daad189e5113f64b5c4ca2200c8a0d7727494b103412222022-06-03 3:37:28116 days 5 hrs ago 0x388fba3ccaca682118bc80aa20a137dbb7b1c5150xcca7a3b74919aec8387b99f21f92221ea35cc0160 AVAX
0x7ae4d52a3a82cb54ff23335d8cf187147323c709f57958e34229b91d486c0d4a103411892022-06-03 3:36:13116 days 5 hrs ago 0x388fba3ccaca682118bc80aa20a137dbb7b1c5150xcca7a3b74919aec8387b99f21f92221ea35cc0160 AVAX
0x703cd8f8be7ae30f8a29b2942577e4a15cce2eb1ea785fa72cd6f0fb3a0092ae103409922022-06-03 3:28:52116 days 5 hrs ago 0x388fba3ccaca682118bc80aa20a137dbb7b1c5150xcca7a3b74919aec8387b99f21f92221ea35cc0160 AVAX
0x6e889a04980ef7c567c9c690b1599670b39dfeabce915fc9f5bb7e467ee327ed103409822022-06-03 3:28:29116 days 5 hrs ago 0x388fba3ccaca682118bc80aa20a137dbb7b1c5150xcca7a3b74919aec8387b99f21f92221ea35cc0160 AVAX
0x56a2ef2b597890c28f2630f305ea631fee44bccd47c087de37dea5da5b3af24b103400892022-06-03 2:54:11116 days 5 hrs ago 0x388fba3ccaca682118bc80aa20a137dbb7b1c5150xcca7a3b74919aec8387b99f21f92221ea35cc0160 AVAX
0xe3106084639281edd4bf146fa61fea7d7d445448a15bc331ae62071334d01019103396952022-06-03 2:39:25116 days 5 hrs ago 0x388fba3ccaca682118bc80aa20a137dbb7b1c5150xcca7a3b74919aec8387b99f21f92221ea35cc0160 AVAX
0xcbeacec6817b88b0d2cc8443882a7fa16c6b30af4954087d3dde458ec527ce68103395512022-06-03 2:34:02116 days 6 hrs ago 0x388fba3ccaca682118bc80aa20a137dbb7b1c5150xcca7a3b74919aec8387b99f21f92221ea35cc0160 AVAX
0xb5f61ff6daf00993d6180024eb84eb3004d0f45b75d92cb6d7e9b6cd3db59852103386472022-06-03 2:01:36116 days 6 hrs ago 0x388fba3ccaca682118bc80aa20a137dbb7b1c5150xcca7a3b74919aec8387b99f21f92221ea35cc0160 AVAX
0x6d791dd4dd4afb5055dee80f55653a7191c5878bcf24e6d5b5b8c69c53336700103385602022-06-03 1:58:23116 days 6 hrs ago 0x388fba3ccaca682118bc80aa20a137dbb7b1c5150xcca7a3b74919aec8387b99f21f92221ea35cc0160 AVAX
0xb57846cdd76314ed16094559dc0941bb36fe4ac5ecc9402009524126ca8ac9e9103337322022-06-02 22:53:24116 days 9 hrs ago 0x388fba3ccaca682118bc80aa20a137dbb7b1c5150xcca7a3b74919aec8387b99f21f92221ea35cc0160 AVAX
0x7e987b09b78544581579c07440fc8bd563de3ebf1b6e4ca778dc442b0926a5c1103336032022-06-02 22:48:37116 days 9 hrs ago 0x388fba3ccaca682118bc80aa20a137dbb7b1c5150xcca7a3b74919aec8387b99f21f92221ea35cc0160 AVAX
0x6b862fc934c0bfd904faad10b8054949cd2331684d5320cbc35343a1899130e5103299352022-06-02 20:29:13116 days 12 hrs ago 0x388fba3ccaca682118bc80aa20a137dbb7b1c5150xcca7a3b74919aec8387b99f21f92221ea35cc0160 AVAX
0x4a2c38a64bba1c45331890c3ecd8e9f55f68080ac721c411cd5ca8333a755ef6103298422022-06-02 20:25:25116 days 12 hrs ago 0x388fba3ccaca682118bc80aa20a137dbb7b1c5150xcca7a3b74919aec8387b99f21f92221ea35cc0160 AVAX
0xbc15b54cdf8911511db6cc7ef43f023da581a7e715b7c835a6c366765dd6d094103297072022-06-02 20:20:08116 days 12 hrs ago 0x388fba3ccaca682118bc80aa20a137dbb7b1c5150xcca7a3b74919aec8387b99f21f92221ea35cc0160 AVAX
0x972fe4aef6f2712e5165ae5d3c9f64c3656d233d7632905d830d6cf9ce616132103296162022-06-02 20:16:39116 days 12 hrs ago 0x388fba3ccaca682118bc80aa20a137dbb7b1c5150xcca7a3b74919aec8387b99f21f92221ea35cc0160 AVAX
0x5d2ad52dc6b7f562cd2aabe067fb3a3b9f7fd3f4075a228bbe92cf2da9ad398a103295232022-06-02 20:13:15116 days 12 hrs ago 0x388fba3ccaca682118bc80aa20a137dbb7b1c5150xcca7a3b74919aec8387b99f21f92221ea35cc0160 AVAX
0x281b12ffece84db234f07a006e7562eaa7f15c1aa51d0af604033295d34547b2103295142022-06-02 20:12:49116 days 12 hrs ago 0x388fba3ccaca682118bc80aa20a137dbb7b1c5150xcca7a3b74919aec8387b99f21f92221ea35cc0160 AVAX
0x7c20b1b8227d39e24222d9fc8c591fe8bf3332bdaaaa8dbe7f94dd09e52a3da4103294782022-06-02 20:11:16116 days 12 hrs ago 0x388fba3ccaca682118bc80aa20a137dbb7b1c5150xcca7a3b74919aec8387b99f21f92221ea35cc0160 AVAX
0xd26204ccaf2a329bcffe697de7a92eb06f93a51d9816ccb370253398a57f53c9103293892022-06-02 20:08:12116 days 12 hrs ago 0x388fba3ccaca682118bc80aa20a137dbb7b1c5150xcca7a3b74919aec8387b99f21f92221ea35cc0160 AVAX
0x70de7d4d11e945f09fdc8b945b7b949aba07ce3bf7f16ac41ed88b254d65fb7d103293632022-06-02 20:07:09116 days 12 hrs ago 0x388fba3ccaca682118bc80aa20a137dbb7b1c5150xcca7a3b74919aec8387b99f21f92221ea35cc0160 AVAX
[ Download CSV Export 
Loading

Similar Match Source Code
Note: This contract matches the deployed ByteCode of the Source Code for Contract 0x8e12602D84c4bc0Ad7c5c2117B7f7903222A8020

Contract Name:
PriceOracle

Compiler Version
v0.8.6+commit.11564f7e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity Standard Json-Input format)

File 1 of 4 : PriceOracle.sol
pragma solidity 0.8.6;


import "Ownable.sol";
import "IPriceOracle.sol";


contract PriceOracle is IPriceOracle, Ownable {


    uint private _AUTOPerETH;
    uint private _gasPrice;


    constructor(uint AUTOPerETH, uint gasPrice) Ownable() {
        _AUTOPerETH = AUTOPerETH;
        _gasPrice = gasPrice;
    }

    function getAUTOPerETH() external override view returns (uint) {
        return _AUTOPerETH;
    }

    function updateAUTOPerETH(uint AUTOPerETH) external onlyOwner {
        _AUTOPerETH = AUTOPerETH;
    }

    function getGasPriceFast() external override view returns (uint) {
        return _gasPrice;
    }

    function updateGasPriceFast(uint gasPrice) external onlyOwner {
        _gasPrice = gasPrice;
    }
}

File 2 of 4 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "Context.sol";

/**
 * @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() {
        _setOwner(_msgSender());
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual 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 {
        _setOwner(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");
        _setOwner(newOwner);
    }

    function _setOwner(address newOwner) private {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 3 of 4 : Context.sol
// SPDX-License-Identifier: MIT

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 4 of 4 : IPriceOracle.sol
pragma solidity 0.8.6;


interface IPriceOracle {

    function getAUTOPerETH() external view returns (uint);

    function getGasPriceFast() external view returns (uint);
}

Settings
{
  "evmVersion": "istanbul",
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  }
}

Contract ABI

[{"inputs":[{"internalType":"uint256","name":"AUTOPerETH","type":"uint256"},{"internalType":"uint256","name":"gasPrice","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[],"name":"getAUTOPerETH","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getGasPriceFast","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"AUTOPerETH","type":"uint256"}],"name":"updateAUTOPerETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"gasPrice","type":"uint256"}],"name":"updateGasPriceFast","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405234801561001057600080fd5b5060405161040438038061040483398101604081905261002f91610096565b61003833610046565b6001919091556002556100ba565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600080604083850312156100a957600080fd5b505080516020909101519092909150565b61033b806100c96000396000f3fe608060405234801561001057600080fd5b506004361061007d5760003560e01c80638da5cb5b1161005b5780638da5cb5b146100b25780639e26d580146100d2578063ba19f12f146100e4578063f2fde38b146100ec57600080fd5b80634ed3eebe14610082578063715018a6146100975780638d47c3ba1461009f575b600080fd5b6100956100903660046102b7565b6100ff565b005b610095610137565b6100956100ad3660046102b7565b61016d565b6000546040516001600160a01b0390911681526020015b60405180910390f35b6001545b6040519081526020016100c9565b6002546100d6565b6100956100fa366004610287565b61019c565b6000546001600160a01b031633146101325760405162461bcd60e51b8152600401610129906102d0565b60405180910390fd5b600255565b6000546001600160a01b031633146101615760405162461bcd60e51b8152600401610129906102d0565b61016b6000610237565b565b6000546001600160a01b031633146101975760405162461bcd60e51b8152600401610129906102d0565b600155565b6000546001600160a01b031633146101c65760405162461bcd60e51b8152600401610129906102d0565b6001600160a01b03811661022b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610129565b61023481610237565b50565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60006020828403121561029957600080fd5b81356001600160a01b03811681146102b057600080fd5b9392505050565b6000602082840312156102c957600080fd5b5035919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260408201526060019056fea2646970667358221220034b5c9d131fac3dddab3a509eed7e037c951814c782901897aac41c5f3437dd64736f6c6343000806003300000000000000000000000000000000000000000000006c6b935b8bbd40000000000000000000000000000000000000000000000000000000000000b2d05e00

Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading