Moonbase Alpha Testnet

Contract

0x97DfB7E8D02C6F8e791AcD534c2BBEA284fFba4A

Overview

DEV Balance

Moonbase Alpha LogoMoonbase Alpha LogoMoonbase Alpha Logo0 DEV

Multichain Info

N/A
Transaction Hash
Method
Block
From
To
Set Latest Answe...26277272022-08-08 22:26:12796 days ago1659997572IN
0x97DfB7E8...284fFba4A
0 DEV0.000043491
0x6080604026277242022-08-08 22:25:30796 days ago1659997530IN
 Contract Creation
0 DEV0.1373991,000

Latest 8 internal transactions

Parent Transaction Hash Block From To
38005252023-02-22 0:33:42599 days ago1677026022
0x97DfB7E8...284fFba4A
0 DEV
38005252023-02-22 0:33:42599 days ago1677026022
0x97DfB7E8...284fFba4A
0 DEV
27111572022-08-23 18:05:12782 days ago1661277912
0x97DfB7E8...284fFba4A
0 DEV
27111572022-08-23 18:05:12782 days ago1661277912
0x97DfB7E8...284fFba4A
0 DEV
27111572022-08-23 18:05:12782 days ago1661277912
0x97DfB7E8...284fFba4A
0 DEV
27111572022-08-23 18:05:12782 days ago1661277912
0x97DfB7E8...284fFba4A
0 DEV
26277672022-08-08 22:36:36796 days ago1659998196
0x97DfB7E8...284fFba4A
0 DEV
26277672022-08-08 22:36:36796 days ago1659998196
0x97DfB7E8...284fFba4A
0 DEV
Loading...
Loading

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

Contract Name:
MockAggregator

Compiler Version
v0.5.17+commit.d19bba13

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity Standard Json-Input format)

File 1 of 1 : MockAggregator.sol
pragma solidity 0.5.17;

contract MockAggregator {
    int256 public latestAnswer;
    uint public decimals = 8;

    function setLatestAnswer(int256 _latestAnswer) public {
        latestAnswer = _latestAnswer;
    }

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

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

Contract ABI

[{"constant":true,"inputs":[],"name":"decimals","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"latestAnswer","outputs":[{"internalType":"int256","name":"","type":"int256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"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"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"int256","name":"_latestAnswer","type":"int256"}],"name":"setLatestAnswer","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"}]

Deployed Bytecode

0x6080604052348015600f57600080fd5b506004361060465760003560e01c806304ea97b014604b578063313ce56714606757806350d25bcd14607f578063feaf968c146085575b600080fd5b606560048036036020811015605f57600080fd5b503560ca565b005b606d60cf565b60408051918252519081900360200190f35b606d60d5565b608b60db565b6040805169ffffffffffffffffffff96871681526020810195909552848101939093526060840191909152909216608082015290519081900360a00190f35b600055565b60015481565b60005481565b60005460019182908190819056fea265627a7a72315820cf611cb497a6c8ef53504d62d0796fc3554747e6878edf0882ae7d8dd55156a264736f6c63430005110032

Block Transaction Gas Used Reward
view all blocks collator

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

Validator Index Block Amount
View All Withdrawals

Transaction 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.