Transaction Hash:
Block:
15839381 at Oct-27-2022 12:21:11 PM +UTC
Transaction Fee:
0.00157697163010491 ETH
$3.29
Gas Used:
137,994 Gas / 11.427827515 Gwei
Emitted Events:
| 270 |
DebankL2Register.Register( user=[Sender] 0x23c45c4ab53d8b4edad1a77e200ff12d5ddf13f4, l2Account=0x02072798e92ac7a7ea0b3eec3b08742b296f39b1d09f73dd738636607991659c05, registerCnt=1 )
|
Account State Difference:
| Address | Before | After | State Difference | ||
|---|---|---|---|---|---|
| 0x23C45C4a...D5DdF13F4 |
0.160182441369616709 Eth
Nonce: 497
|
0.158605469739511799 Eth
Nonce: 498
| 0.00157697163010491 | ||
|
0x690B9A9E...Db4FaC990
Miner
| (builder0x69) | 1.979857628132915915 Eth | 1.979995622132915915 Eth | 0.000137994 | |
| 0x6f922284...de963c992 | (DeBank: L2 Registration) |
Execution Trace
DebankL2Register.register( l2Account=0x02072798e92ac7a7ea0b3eec3b08742b296f39b1d09f73dd738636607991659c05 )
register[DebankL2Register (ln:15)]
Register[DebankL2Register (ln:18)]
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.1;
/**
* @title DebankL2Register
*/
contract DebankL2Register {
mapping(address => uint256) public nonces;
mapping(address => string) public l2Accounts;
event Register(address user, string l2Account, uint256 registerCnt);
function register(string calldata l2Account) public {
l2Accounts[msg.sender] = l2Account;
nonces[msg.sender] += 1;
emit Register(msg.sender, l2Account, nonces[msg.sender]);
}
}