Goerli Testnet

Contract

0xD54126c116372F2D524eCfc8831E936C999a894B
Source Code

Overview

ETH Balance

0 ETH

Multi Chain

Multichain Addresses

0 address found via
Transaction Hash
Method
Block
From
To
Value
0x6080604083764202023-01-25 22:59:12316 days 4 hrs ago1674687552IN
 Contract Creation
0 ETH0.000171731.50000005

Latest 25 internal transactions (View All)

Advanced mode:
Parent Txn Hash Block From To Value
101378672023-12-01 8:48:126 days 19 hrs ago1701420492
0xD54126...999a894B
0 ETH
100814802023-11-21 9:23:3616 days 18 hrs ago1700558616
0xD54126...999a894B
0 ETH
100730602023-11-19 21:52:2418 days 5 hrs ago1700430744
0xD54126...999a894B
0 ETH
100730552023-11-19 21:51:2418 days 5 hrs ago1700430684
0xD54126...999a894B
0 ETH
100697692023-11-19 8:16:0018 days 19 hrs ago1700381760
0xD54126...999a894B
0 ETH
100675082023-11-18 22:40:3619 days 5 hrs ago1700347236
0xD54126...999a894B
0 ETH
100674992023-11-18 22:38:3619 days 5 hrs ago1700347116
0xD54126...999a894B
0 ETH
100654962023-11-18 14:19:1219 days 13 hrs ago1700317152
0xD54126...999a894B
0 ETH
100653372023-11-18 13:40:2419 days 14 hrs ago1700314824
0xD54126...999a894B
0 ETH
100653372023-11-18 13:40:2419 days 14 hrs ago1700314824
0xD54126...999a894B
0 ETH
100640992023-11-18 8:33:3619 days 19 hrs ago1700296416
0xD54126...999a894B
0 ETH
100614542023-11-17 21:21:4820 days 6 hrs ago1700256108
0xD54126...999a894B
0 ETH
100611302023-11-17 20:03:0020 days 7 hrs ago1700251380
0xD54126...999a894B
0 ETH
100609142023-11-17 19:09:0020 days 8 hrs ago1700248140
0xD54126...999a894B
0 ETH
100259522023-11-11 17:30:3626 days 10 hrs ago1699723836
0xD54126...999a894B
0 ETH
99985822023-11-06 22:36:1231 days 5 hrs ago1699310172
0xD54126...999a894B
0 ETH
99685282023-11-01 13:29:4836 days 14 hrs ago1698845388
0xD54126...999a894B
0 ETH
99685272023-11-01 13:29:1236 days 14 hrs ago1698845352
0xD54126...999a894B
0 ETH
99674462023-11-01 8:48:0036 days 19 hrs ago1698828480
0xD54126...999a894B
0 ETH
99674392023-11-01 8:46:0036 days 19 hrs ago1698828360
0xD54126...999a894B
0 ETH
99106282023-10-22 9:00:2446 days 18 hrs ago1697965224
0xD54126...999a894B
0 ETH
99106212023-10-22 8:58:2446 days 18 hrs ago1697965104
0xD54126...999a894B
0 ETH
99104562023-10-22 8:17:2446 days 19 hrs ago1697962644
0xD54126...999a894B
0 ETH
99035352023-10-21 3:26:4848 days 24 mins ago1697858808
0xD54126...999a894B
0 ETH
98821402023-10-17 11:43:4851 days 16 hrs ago1697543028
0xD54126...999a894B
0 ETH
View All Internal Transactions
Loading...
Loading

Similar Match Source Code
This contract matches the deployed Bytecode of the Source Code for Contract 0x229bD2...47b4e6dd
The constructor portion of the code might be different and could alter the actual behaviour of the contract

Contract Name:
MockAggregator

Compiler Version
v0.8.10+commit.fc410830

Optimization Enabled:
Yes with 100000 runs

Other Settings:
default evmVersion, BSL 1.1 license

Contract Source Code (Solidity Standard Json-Input format)

File 1 of 1 : MockAggregator.sol
// SPDX-License-Identifier: BUSL-1.1
pragma solidity 0.8.10;

contract MockAggregator {
  int256 private _latestAnswer;

  event AnswerUpdated(int256 indexed current, uint256 indexed roundId, uint256 updatedAt);

  constructor(int256 initialAnswer) {
    _latestAnswer = initialAnswer;
    emit AnswerUpdated(initialAnswer, 0, block.timestamp);
  }

  function latestAnswer() external view returns (int256) {
    return _latestAnswer;
  }

  function getTokenType() external pure returns (uint256) {
    return 1;
  }

  function decimals() external pure returns (uint8) {
    return 8;
  }
}

Settings
{
  "evmVersion": "london",
  "libraries": {},
  "metadata": {
    "bytecodeHash": "ipfs",
    "useLiteralContent": true
  },
  "optimizer": {
    "enabled": true,
    "runs": 100000
  },
  "remappings": [],
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  }
}

Contract ABI

[{"inputs":[{"internalType":"int256","name":"initialAnswer","type":"int256"}],"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"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"getTokenType","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"latestAnswer","outputs":[{"internalType":"int256","name":"","type":"int256"}],"stateMutability":"view","type":"function"}]

Deployed Bytecode

0x6080604052348015600f57600080fd5b5060043610603c5760003560e01c8063313ce56714604157806350d25bcd146055578063fcab1819146066575b600080fd5b604051600881526020015b60405180910390f35b6000545b604051908152602001604c565b6001605956fea2646970667358221220c495b4689ae5f6ebd5ca578d2d17b62181230f851dfd4851cbc4a67894879df864736f6c634300080a0033

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Txn Hash Block Value Eth2 PubKey Valid
View All Deposits
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.