Source Code
Overview
ETH Balance
0 ETH
ETH Value
$0.00Latest 25 from a total of 33 transactions
| Transaction Hash |
|
Block
|
From
|
To
|
|||||
|---|---|---|---|---|---|---|---|---|---|
| Divide | 38500470 | 4 hrs ago | IN | 0 ETH | 0.00000001 | ||||
| Multiply | 38500457 | 4 hrs ago | IN | 0 ETH | 0.00000001 | ||||
| Subtract | 38500446 | 4 hrs ago | IN | 0 ETH | 0.00000001 | ||||
| Add | 38500433 | 4 hrs ago | IN | 0 ETH | 0.00000001 | ||||
| Divide | 38500355 | 4 hrs ago | IN | 0 ETH | 0.00000001 | ||||
| Multiply | 38500339 | 4 hrs ago | IN | 0 ETH | 0.00000001 | ||||
| Subtract | 38500328 | 4 hrs ago | IN | 0 ETH | 0.00000001 | ||||
| Add | 38500317 | 4 hrs ago | IN | 0 ETH | 0.00000001 | ||||
| Divide | 38500305 | 4 hrs ago | IN | 0 ETH | 0.00000001 | ||||
| Multiply | 38500287 | 4 hrs ago | IN | 0 ETH | 0.00000001 | ||||
| Subtract | 38500269 | 4 hrs ago | IN | 0 ETH | 0.00000001 | ||||
| Add | 38500257 | 4 hrs ago | IN | 0 ETH | 0.00000001 | ||||
| Divide | 38500244 | 4 hrs ago | IN | 0 ETH | 0.00000001 | ||||
| Multiply | 38500232 | 4 hrs ago | IN | 0 ETH | 0.00000001 | ||||
| Subtract | 38500220 | 4 hrs ago | IN | 0 ETH | 0.00000001 | ||||
| Add | 38500208 | 4 hrs ago | IN | 0 ETH | 0.00000001 | ||||
| Add | 38500197 | 4 hrs ago | IN | 0 ETH | 0.00000001 | ||||
| Divide | 38500181 | 4 hrs ago | IN | 0 ETH | 0.00000001 | ||||
| Multiply | 38500171 | 4 hrs ago | IN | 0 ETH | 0.00000001 | ||||
| Add | 38500158 | 4 hrs ago | IN | 0 ETH | 0.00000001 | ||||
| Divide | 38500139 | 4 hrs ago | IN | 0 ETH | 0.00000001 | ||||
| Multiply | 38500117 | 4 hrs ago | IN | 0 ETH | 0.00000001 | ||||
| Subtract | 38500099 | 4 hrs ago | IN | 0 ETH | 0.00000001 | ||||
| Subtract | 38500086 | 4 hrs ago | IN | 0 ETH | 0.00000001 | ||||
| Divide | 38500074 | 4 hrs ago | IN | 0 ETH | 0.00000001 |
Cross-Chain Transactions
Loading...
Loading
Contract Name:
Calculator
Compiler Version
v0.8.31+commit.fd3a2265
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
//SPDX-License-Identifier: MIT
pragma solidity ^0.8.31;
contract Calculator{
uint256 result = 0;
function Add (uint256 num) public {
result += num;
}
function Subtract (uint256 num) public {
result -= num;
}
function Multiply (uint256 num) public {
result *= num;
}
function Divide (uint256 num) public {
result /= num;
}
function get() public view returns (uint256){
return result;
}
}{
"optimizer": {
"enabled": false,
"runs": 200
},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
},
"remappings": []
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"uint256","name":"num","type":"uint256"}],"name":"Add","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"num","type":"uint256"}],"name":"Divide","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"num","type":"uint256"}],"name":"Multiply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"num","type":"uint256"}],"name":"Subtract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"get","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]Contract Creation Code
60806040525f5f553480156011575f5ffd5b506103488061001f5f395ff3fe608060405234801561000f575f5ffd5b5060043610610055575f3560e01c806315ebbcf2146100595780636d4ce63c146100755780637e448a281461009357806390f1f758146100af578063cba0fc42146100cb575b5f5ffd5b610073600480360381019061006e919061018e565b6100e7565b005b61007d610101565b60405161008a91906101c8565b60405180910390f35b6100ad60048036038101906100a8919061018e565b610109565b005b6100c960048036038101906100c4919061018e565b610123565b005b6100e560048036038101906100e0919061018e565b61013d565b005b805f5f8282546100f7919061020e565b9250508190555050565b5f5f54905090565b805f5f828254610119919061026e565b9250508190555050565b805f5f828254610133919061029e565b9250508190555050565b805f5f82825461014d91906102d1565b9250508190555050565b5f5ffd5b5f819050919050565b61016d8161015b565b8114610177575f5ffd5b50565b5f8135905061018881610164565b92915050565b5f602082840312156101a3576101a2610157565b5b5f6101b08482850161017a565b91505092915050565b6101c28161015b565b82525050565b5f6020820190506101db5f8301846101b9565b92915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f6102188261015b565b91506102238361015b565b925082820390508181111561023b5761023a6101e1565b5b92915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b5f6102788261015b565b91506102838361015b565b92508261029357610292610241565b5b828204905092915050565b5f6102a88261015b565b91506102b38361015b565b92508282019050808211156102cb576102ca6101e1565b5b92915050565b5f6102db8261015b565b91506102e68361015b565b92508282026102f48161015b565b9150828204841483151761030b5761030a6101e1565b5b509291505056fea26469706673582212206aa4cf19d4abf1c5d165055914df4f8083cbeb7fe6ca986f1c3ebf9677f9486964736f6c634300081f0033
Deployed Bytecode
0x608060405234801561000f575f5ffd5b5060043610610055575f3560e01c806315ebbcf2146100595780636d4ce63c146100755780637e448a281461009357806390f1f758146100af578063cba0fc42146100cb575b5f5ffd5b610073600480360381019061006e919061018e565b6100e7565b005b61007d610101565b60405161008a91906101c8565b60405180910390f35b6100ad60048036038101906100a8919061018e565b610109565b005b6100c960048036038101906100c4919061018e565b610123565b005b6100e560048036038101906100e0919061018e565b61013d565b005b805f5f8282546100f7919061020e565b9250508190555050565b5f5f54905090565b805f5f828254610119919061026e565b9250508190555050565b805f5f828254610133919061029e565b9250508190555050565b805f5f82825461014d91906102d1565b9250508190555050565b5f5ffd5b5f819050919050565b61016d8161015b565b8114610177575f5ffd5b50565b5f8135905061018881610164565b92915050565b5f602082840312156101a3576101a2610157565b5b5f6101b08482850161017a565b91505092915050565b6101c28161015b565b82525050565b5f6020820190506101db5f8301846101b9565b92915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f6102188261015b565b91506102238361015b565b925082820390508181111561023b5761023a6101e1565b5b92915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b5f6102788261015b565b91506102838361015b565b92508261029357610292610241565b5b828204905092915050565b5f6102a88261015b565b91506102b38361015b565b92508282019050808211156102cb576102ca6101e1565b5b92915050565b5f6102db8261015b565b91506102e68361015b565b92508282026102f48161015b565b9150828204841483151761030b5761030a6101e1565b5b509291505056fea26469706673582212206aa4cf19d4abf1c5d165055914df4f8083cbeb7fe6ca986f1c3ebf9677f9486964736f6c634300081f0033
Loading...
Loading
Loading...
Loading
Loading...
Loading
Net Worth in USD
$0.00
Net Worth in ETH
0
Multichain Portfolio | 35 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ 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.