Source Code
Overview
ETH Balance
0 ETH
Eth Value
$0.00| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
Latest 1 internal transaction
Advanced mode:
| Parent Transaction Hash | Method | Block |
From
|
|
To
|
||
|---|---|---|---|---|---|---|---|
| 0x60806040 | 17883058 | 907 days ago | Contract Creation | 0 ETH |
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Similar Match Source Code This contract matches the deployed Bytecode of the Source Code for Contract 0x0899c7DC...49CceC4a5 The constructor portion of the code might be different and could alter the actual behaviour of the contract
Contract Name:
CurrentBlockTimestampFactory
Compiler Version
v0.8.19+commit.7dd6d404
Optimization Enabled:
Yes with 20000 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.8.0 <0.9.0;
import {IValueFactory} from "../interfaces/IValueFactory.sol";
/**
* @title CurrentBlockTimestampFactory - An on-chain value factory that returns the current block timestamp
* @dev Designed to be used with Safe + ExtensibleFallbackHandler + ComposableCoW
* @author mfw78 <[email protected]>
*/
contract CurrentBlockTimestampFactory is IValueFactory {
function getValue(bytes calldata) external view override returns (bytes32) {
return bytes32(block.timestamp);
}
}// SPDX-License-Identifier: GPL-3.0 pragma solidity >=0.8.0 <0.9.0; /** * @title IValueFactory - An interface for on-chain value determination * @author mfw78 <[email protected]> * @dev Designed to be used with Safe + ExtensibleFallbackHandler + ComposableCoW */ interface IValueFactory { /** * Return a value at the time of the call * @param data Implementation specific off-chain data * @return value The value at the time of the call */ function getValue(bytes calldata data) external view returns (bytes32 value); }
{
"remappings": [
"@openzeppelin/=lib/@openzeppelin/contracts/",
"@openzeppelin/contracts/=lib/@openzeppelin/contracts/",
"balancer/=lib/balancer/src/",
"canonical-weth/=lib/canonical-weth/src/",
"cowprotocol/=lib/cowprotocol/src/contracts/",
"ds-test/=lib/forge-std/lib/ds-test/src/",
"erc4626-tests/=lib/@openzeppelin/lib/erc4626-tests/",
"forge-std/=lib/forge-std/src/",
"helpers/=lib/balancer/src/lib/helpers/",
"math/=lib/balancer/src/lib/math/",
"murky/=lib/murky/src/",
"openzeppelin-contracts/=lib/murky/lib/openzeppelin-contracts/",
"openzeppelin/=lib/@openzeppelin/contracts/",
"safe/=lib/safe/contracts/"
],
"optimizer": {
"enabled": true,
"runs": 20000
},
"modelChecker": {
"contracts": {
"/Users/felixleupold/CoW/composable-cow/src/types/twap/libraries/TWAPOrderMathLib.sol": [
"TWAPOrderMathLib"
]
},
"engine": "chc",
"timeout": 100000,
"targets": [
"assert",
"underflow",
"overflow",
"divByZero",
"constantCondition",
"popEmptyArray",
"outOfBounds",
"balance"
]
},
"metadata": {
"bytecodeHash": "ipfs",
"appendCBOR": true
},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
},
"evmVersion": "paris",
"libraries": {}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"bytes","name":"","type":"bytes"}],"name":"getValue","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"}]Contract Creation Code
0x608060405234801561001057600080fd5b5060f48061001f6000396000f3fe6080604052348015600f57600080fd5b506004361060285760003560e01c8063b6576bdf14602d575b600080fd5b603f60383660046051565b4292915050565b60405190815260200160405180910390f35b60008060208385031215606357600080fd5b823567ffffffffffffffff80821115607a57600080fd5b818501915085601f830112608d57600080fd5b813581811115609b57600080fd5b86602082850101111560ac57600080fd5b6020929092019691955090935050505056fea2646970667358221220464d449981dbd7e1071ddf7507de9c85dde3c1e3e2629445d203410eaac963b564736f6c63430008130033
Deployed Bytecode
0x6080604052348015600f57600080fd5b506004361060285760003560e01c8063b6576bdf14602d575b600080fd5b603f60383660046051565b4292915050565b60405190815260200160405180910390f35b60008060208385031215606357600080fd5b823567ffffffffffffffff80821115607a57600080fd5b818501915085601f830112608d57600080fd5b813581811115609b57600080fd5b86602082850101111560ac57600080fd5b6020929092019691955090935050505056fea2646970667358221220464d449981dbd7e1071ddf7507de9c85dde3c1e3e2629445d203410eaac963b564736f6c63430008130033
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.