Transaction Hash:
Block:
24141464 at Jan-01-2026 06:05:59 PM +UTC
Transaction Fee:
0.000302903083799676 ETH
$0.60
Gas Used:
288,534 Gas / 1.049800314 Gwei
Emitted Events:
| 43 |
0xa9d1e08c7793af67e9d92fe308d5697fb81d3e43.0xdc386723e55a1ab06e0a64036ce7bb4fd1e1aea21f6def62d2d577e9d12f9dfc( 0xdc386723e55a1ab06e0a64036ce7bb4fd1e1aea21f6def62d2d577e9d12f9dfc, 0x0000000000000000000000006b175474e89094c44da98b954eedeac495271d0f, 000000000000000000000000000000000000000000000000000130a4f3d06000, 0000000000000000000000000000000000000000000000000000000000000009, 0000000000000000000000000000000000000000000000000000000000000060, 0000000000000000000000000000000000000000000000000000000000000019, 6e6f20726561736f6e20737472696e672070726f766964656400000000000000 )
|
Account State Difference:
| Address | Before | After | State Difference | ||
|---|---|---|---|---|---|
| 0x144BF700...9F0225a5b |
0 Eth
Nonce: 0
|
0.00213181 Eth
Nonce: 0
| 0.00213181 | ||
| 0x65693AD3...3d05baa23 |
0 Eth
Nonce: 0
|
0.0448928 Eth
Nonce: 0
| 0.0448928 | ||
| 0x7830c87C...31FA86F43 | (Coinbase: Deposit) |
115.580528822267592096 Eth
Nonce: 3004944
|
115.58022591918379242 Eth
Nonce: 3004945
| 0.000302903083799676 | |
| 0x97A252b7...8F67294dC | 0.000024197716347 Eth | 0.009501207716347 Eth | 0.00947701 | ||
| 0xA9D1e08C...FB81d3E43 | (Coinbase 10) | 2,854.734854993755817865 Eth | 2,853.845415313755817865 Eth | 0.88943968 | |
| 0xae30B439...A238D24C1 | 0 Eth | 0.01745454 Eth | 0.01745454 | ||
| 0xaFf0E8aE...8A73C037B |
0 Eth
Nonce: 0
|
0.00349692 Eth
Nonce: 0
| 0.00349692 | ||
| 0xb6242Ef4...43d98FB0e | 0.041971093880496648 Eth | 0.052460563880496648 Eth | 0.01048947 | ||
| 0xc672D22b...30aF9d3B2 | 0.000054427915387285 Eth | 0.010940087915387285 Eth | 0.01088566 | ||
| 0xD880Ea7f...0782889e9 | 0 Eth | 0.02857732 Eth | 0.02857732 | ||
| 0xD97Ff771...6685f2DFD | 0.00426501 Eth | 0.67977438 Eth | 0.67550937 | ||
|
0xdadB0d80...24f783711
Miner
| (BuilderNet) | 186.638844284468163961 Eth | 186.639132818468163961 Eth | 0.000288534 | |
| 0xEb6f5931...C96419352 | 0.099516891324067381 Eth | 0.101120361324067381 Eth | 0.00160347 | ||
| 0xf027dAA5...55b3852A8 |
0 Eth
Nonce: 0
|
0.021441 Eth
Nonce: 0
| 0.021441 | ||
| 0xfa0eBC54...327518727 |
0 Eth
Nonce: 0
|
0.06348031 Eth
Nonce: 0
| 0.06348031 |
Execution Trace
Coinbase 10.1a1da075( )
- ETH 0.00213181
0x144bf7007df7b5322c77190fb685afa9f0225a5b.CALL( ) - ETH 0.06348031
0xfa0ebc5436075133318a44dc07ab7b4327518727.CALL( ) - ETH 0.02857732
0xd880ea7fc02a430d3d749cc6bb753690782889e9.CALL( ) - ETH 0.0448928
0x65693ad3b5f0a0f5a854730356621ce3d05baa23.CALL( ) - ETH 0.01048947
0xb6242ef44e9072769c457f95f76a2b543d98fb0e.CALL( ) - ETH 0.01745454
0xae30b439db995a1ab47c601a978f964a238d24c1.CALL( ) - ETH 0.00349692
0xaff0e8aec9792d4e944903ac5a19f7e8a73c037b.CALL( ) - ETH 0.01088566
0xc672d22b31ca41ce07e0a21cea2e3f430af9d3b2.CALL( ) - ETH 0.021441
0xf027daa55889f91af72e143f22e707e55b3852a8.CALL( ) - ETH 0.00033496
Dai.CALL( )
- ETH 0.67550937
0xd97ff77116a673af657b04eee02c8fa6685f2dfd.CALL( ) - ETH 0.00160347
0xeb6f59317a4459bb0a3b8e271a2ca20c96419352.CALL( ) - ETH 0.00947701
0x97a252b7429b85fc99f8f9178d0cb008f67294dc.CALL( )
// hevm: flattened sources of /nix/store/8xb41r4qd0cjb63wcrxf1qmfg88p0961-dss-6fd7de0/src/dai.sol
pragma solidity =0.5.12;
////// /nix/store/8xb41r4qd0cjb63wcrxf1qmfg88p0961-dss-6fd7de0/src/lib.sol
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
/* pragma solidity 0.5.12; */
contract LibNote {
event LogNote(
bytes4 indexed sig,
address indexed usr,
bytes32 indexed arg1,
bytes32 indexed arg2,
bytes data
) anonymous;
modifier note {
_;
assembly {
// log an 'anonymous' event with a constant 6 words of calldata
// and four indexed topics: selector, caller, arg1 and arg2
let mark := msize // end of memory ensures zero
mstore(0x40, add(mark, 288)) // update free memory pointer
mstore(mark, 0x20) // bytes type data offset
mstore(add(mark, 0x20), 224) // bytes size (padded)
calldatacopy(add(mark, 0x40), 0, 224) // bytes payload
log4(mark, 288, // calldata
shl(224, shr(224, calldataload(0))), // msg.sig
caller, // msg.sender
calldataload(4), // arg1
calldataload(36) // arg2
)
}
}
}
////// /nix/store/8xb41r4qd0cjb63wcrxf1qmfg88p0961-dss-6fd7de0/src/dai.sol
// Copyright (C) 2017, 2018, 2019 dbrock, rain, mrchico
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Affero General Public License for more details.
//
// You should have received a copy of the GNU Affero General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
/* pragma solidity 0.5.12; */
/* import "./lib.sol"; */
contract Dai is LibNote {
// --- Auth ---
mapping (address => uint) public wards;
function rely(address guy) external note auth { wards[guy] = 1; }
function deny(address guy) external note auth { wards[guy] = 0; }
modifier auth {
require(wards[msg.sender] == 1, "Dai/not-authorized");
_;
}
// --- ERC20 Data ---
string public constant name = "Dai Stablecoin";
string public constant symbol = "DAI";
string public constant version = "1";
uint8 public constant decimals = 18;
uint256 public totalSupply;
mapping (address => uint) public balanceOf;
mapping (address => mapping (address => uint)) public allowance;
mapping (address => uint) public nonces;
event Approval(address indexed src, address indexed guy, uint wad);
event Transfer(address indexed src, address indexed dst, uint wad);
// --- Math ---
function add(uint x, uint y) internal pure returns (uint z) {
require((z = x + y) >= x);
}
function sub(uint x, uint y) internal pure returns (uint z) {
require((z = x - y) <= x);
}
// --- EIP712 niceties ---
bytes32 public DOMAIN_SEPARATOR;
// bytes32 public constant PERMIT_TYPEHASH = keccak256("Permit(address holder,address spender,uint256 nonce,uint256 expiry,bool allowed)");
bytes32 public constant PERMIT_TYPEHASH = 0xea2aa0a1be11a07ed86d755c93467f4f82362b452371d1ba94d1715123511acb;
constructor(uint256 chainId_) public {
wards[msg.sender] = 1;
DOMAIN_SEPARATOR = keccak256(abi.encode(
keccak256("EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)"),
keccak256(bytes(name)),
keccak256(bytes(version)),
chainId_,
address(this)
));
}
// --- Token ---
function transfer(address dst, uint wad) external returns (bool) {
return transferFrom(msg.sender, dst, wad);
}
function transferFrom(address src, address dst, uint wad)
public returns (bool)
{
require(balanceOf[src] >= wad, "Dai/insufficient-balance");
if (src != msg.sender && allowance[src][msg.sender] != uint(-1)) {
require(allowance[src][msg.sender] >= wad, "Dai/insufficient-allowance");
allowance[src][msg.sender] = sub(allowance[src][msg.sender], wad);
}
balanceOf[src] = sub(balanceOf[src], wad);
balanceOf[dst] = add(balanceOf[dst], wad);
emit Transfer(src, dst, wad);
return true;
}
function mint(address usr, uint wad) external auth {
balanceOf[usr] = add(balanceOf[usr], wad);
totalSupply = add(totalSupply, wad);
emit Transfer(address(0), usr, wad);
}
function burn(address usr, uint wad) external {
require(balanceOf[usr] >= wad, "Dai/insufficient-balance");
if (usr != msg.sender && allowance[usr][msg.sender] != uint(-1)) {
require(allowance[usr][msg.sender] >= wad, "Dai/insufficient-allowance");
allowance[usr][msg.sender] = sub(allowance[usr][msg.sender], wad);
}
balanceOf[usr] = sub(balanceOf[usr], wad);
totalSupply = sub(totalSupply, wad);
emit Transfer(usr, address(0), wad);
}
function approve(address usr, uint wad) external returns (bool) {
allowance[msg.sender][usr] = wad;
emit Approval(msg.sender, usr, wad);
return true;
}
// --- Alias ---
function push(address usr, uint wad) external {
transferFrom(msg.sender, usr, wad);
}
function pull(address usr, uint wad) external {
transferFrom(usr, msg.sender, wad);
}
function move(address src, address dst, uint wad) external {
transferFrom(src, dst, wad);
}
// --- Approve by signature ---
function permit(address holder, address spender, uint256 nonce, uint256 expiry,
bool allowed, uint8 v, bytes32 r, bytes32 s) external
{
bytes32 digest =
keccak256(abi.encodePacked(
"\x19\x01",
DOMAIN_SEPARATOR,
keccak256(abi.encode(PERMIT_TYPEHASH,
holder,
spender,
nonce,
expiry,
allowed))
));
require(holder != address(0), "Dai/invalid-address-0");
require(holder == ecrecover(digest, v, r, s), "Dai/invalid-permit");
require(expiry == 0 || now <= expiry, "Dai/permit-expired");
require(nonce == nonces[holder]++, "Dai/invalid-nonce");
uint wad = allowed ? uint(-1) : 0;
allowance[holder][spender] = wad;
emit Approval(holder, spender, wad);
}
}