Holesky Testnet

Contract

0xea0A3B930c3E36DB5C538a8817F6faea848b3C8A

Overview

ETH Balance

0 ETH

Multichain Info

N/A
Transaction Hash
Method
Block
From
To

There are no matching entries

Please try again later

Advanced mode:
Parent Transaction Hash Block
From
To
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
A smart contract

Compiler Version
vyper:0.4.0

Optimization Enabled:
Yes with gas option

Other Settings:
cancun EvmVersion

Contract Source Code (Vyper Json-Input format)

File 1 of 2 : multijson.vy
# @pragma version ^0.4.0
"""
@title A smart contract
@author Some person on the internet
@license none
"""

import math
# Other ways to import
# import math as m
# from . import math
# from . import math as m

stored_number: public(uint256)

@deploy
def __init__():
    self.stored_number = 0

@external
def call_math_mul(x: uint256, y: uint256):
  self.stored_number = math.mul(x, y)

@view
@external
def get_number() -> uint256:
    return self.stored_number

File 2 of 2 : math.vy
# @pragma version ^0.4.0

@pure
def mul(x: uint256, y: uint256) -> uint256:
  return x * y

Settings
{
  "evmVersion": "cancun",
  "optimize": "gas",
  "outputSelection": {
    "*": [
      "evm.bytecode",
      "evm.deployedBytecode",
      "abi"
    ]
  }
}

Contract ABI

[{"inputs":[{"name":"x","type":"uint256"},{"name":"y","type":"uint256"}],"name":"call_math_mul","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"get_number","outputs":[{"name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"stored_number","outputs":[{"name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"outputs":[],"stateMutability":"nonpayable","type":"constructor"}]

34610017575f5f556100a861001b6000396100a86000f35b5f80fd5f3560e01c60026003820660011b6100a201601e395f51565b638fa56054811861007b5760443610341761009e576040600460403761003e608061007f565b6080515f55005b63eeb4e367811861007b573461009e575f5460405260206040f35b6398716725811861007b573461009e575f5460405260206040f35b5f5ffd5b60405160605180820281158383830414171561009e5790509050815250565b5f80fd0060004500188418a8810600a1657679706572830004000013

Deployed Bytecode

0x5f3560e01c60026003820660011b6100a201601e395f51565b638fa56054811861007b5760443610341761009e576040600460403761003e608061007f565b6080515f55005b63eeb4e367811861007b573461009e575f5460405260206040f35b6398716725811861007b573461009e575f5460405260206040f35b5f5ffd5b60405160605180820281158383830414171561009e5790509050815250565b5f80fd006000450018

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

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits

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.