ETH Price: $3,336.70 (-1.40%)
Gas: 15 Gwei

Contract

0x09B6CA7001487Aa9E98A1D115123f6ADEE093Af1
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
0x60806040109436902020-09-27 9:01:551402 days ago1601197315IN
 Create: ConstOracle
0 ETH0.0057883552.80000023

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
ConstOracle

Compiler Version
v0.6.9+commit.3e3065ac

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, Apache-2.0 license
/**
 *Submitted for verification at Etherscan.io on 2020-09-27
*/

/*

    Copyright 2020 DODO ZOO.
    SPDX-License-Identifier: Apache-2.0

*/

pragma solidity 0.6.9;
pragma experimental ABIEncoderV2;


contract ConstOracle {
    uint256 public tokenPrice;

    constructor(uint256 _price) public {
        tokenPrice = _price;
    }

    function getPrice() external view returns (uint256) {
        return tokenPrice;
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"getPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]

608060405234801561001057600080fd5b506040516100ff3803806100ff83398101604081905261002f91610037565b60005561004f565b600060208284031215610048578081fd5b5051919050565b60a28061005d6000396000f3fe6080604052348015600f57600080fd5b506004361060325760003560e01c80637ff9b59614603757806398d5fdca146051575b600080fd5b603d6057565b604051604891906063565b60405180910390f35b603d605d565b60005481565b60005490565b9081526020019056fea2646970667358221220963aeccdc6671709f7176a8e0b6f3c2664c8838990799196dea1d81c7abe96e964736f6c6343000609003300000000000000000000000000000000000000000000000000000000000186a0

Deployed Bytecode

0x6080604052348015600f57600080fd5b506004361060325760003560e01c80637ff9b59614603757806398d5fdca146051575b600080fd5b603d6057565b604051604891906063565b60405180910390f35b603d605d565b60005481565b60005490565b9081526020019056fea2646970667358221220963aeccdc6671709f7176a8e0b6f3c2664c8838990799196dea1d81c7abe96e964736f6c63430006090033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

00000000000000000000000000000000000000000000000000000000000186a0

-----Decoded View---------------
Arg [0] : _price (uint256): 100000

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000186a0


Deployed Bytecode Sourcemap

148:234:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;176:25;;;:::i;:::-;;;;;;;;;;;;;;;;291:88;;;:::i;176:25::-;;;;:::o;291:88::-;334:7;361:10;291:88;:::o;125:222:-1:-;76:37;;;252:2;237:18;;223:124

Swarm Source

ipfs://963aeccdc6671709f7176a8e0b6f3c2664c8838990799196dea1d81c7abe96e9

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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