ETH Price: $3,622.27 (+6.47%)

Transaction Decoder

Block:
14791942 at May-17-2022 10:10:38 AM +UTC
Transaction Fee:
0.00121220509092804 ETH $4.39
Gas Used:
46,530 Gas / 26.052118868 Gwei

Emitted Events:

195 BoneToken.Approval( owner=[Sender] 0x1d3d083dbedbc1f3741ed8301fa601f03886dd94, spender=0xf7A03837...3790202b3, value=115792089237316195423570985008687907853269984665640564039457584007913129639935 )

Account State Difference:

  Address   Before After State Difference Code
0x1d3D083d...03886DD94
0.042597138304856959 Eth
Nonce: 39
0.041384933213928919 Eth
Nonce: 40
0.00121220509092804
0x9813037e...6778218d9
(Ethermine)
1,086.812116185996938832 Eth1,086.812209245996938832 Eth0.00009306

Execution Trace

BoneToken.approve( spender=0xf7A0383750feF5AbaCe57cc4C9ff98e3790202b3, amount=115792089237316195423570985008687907853269984665640564039457584007913129639935 ) => ( True )
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// SPDX-License-Identifier: MIT
pragma solidity 0.6.12;
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
// BoneToken with Governance.
contract BoneToken is ERC20("BONE SHIBASWAP", "BONE"), Ownable {
/// @notice Creates `_amount` token to `_to`. Must only be called by the owner (TopDog).
function mint(address _to, uint256 _amount) public onlyOwner {
_mint(_to, _amount);
_moveDelegates(address(0), _delegates[_to], _amount);
}
function _transfer(address sender, address recipient, uint256 amount) internal override {
super._transfer(sender, recipient, amount);
_moveDelegates(_delegates[sender], _delegates[recipient], amount);
}
// Copied and modified from YAM code:
// https://github.com/yam-finance/yam-protocol/blob/master/contracts/token/YAMGovernanceStorage.sol
// https://github.com/yam-finance/yam-protocol/blob/master/contracts/token/YAMGovernance.sol
// Which is copied and modified from COMPOUND:
// https://github.com/compound-finance/compound-protocol/blob/master/contracts/Governance/Comp.sol
/// @dev A record of each accounts delegate
mapping (address => address) internal _delegates;
/// @notice A checkpoint for marking number of votes from a given block
struct Checkpoint {
uint32 fromBlock;
uint256 votes;
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX