Transaction Hash:
Block:
14760403 at May-12-2022 09:50:15 AM +UTC
Transaction Fee:
0.009980685 ETH
$38.24
Gas Used:
46,530 Gas / 214.5 Gwei
Emitted Events:
156 |
BoneToken.Approval( owner=[Sender] 0x1d3d083dbedbc1f3741ed8301fa601f03886dd94, spender=0x03f77241...B0b36b329, value=115792089237316195423570985008687907853269984665640564039457584007913129639935 )
|
Account State Difference:
Address | Before | After | State Difference | ||
---|---|---|---|---|---|
0x1d3D083d...03886DD94 |
0.075268969328415346 Eth
Nonce: 32
|
0.065288284328415346 Eth
Nonce: 33
| 0.009980685 | ||
0x829BD824...93333A830
Miner
| (F2Pool Old) | 5,054.625935742220304029 Eth | 5,054.626709443007911249 Eth | 0.00077370078760722 | |
0x9813037e...6778218d9 |
Execution Trace
BoneToken.approve( spender=0x03f7724180AA6b939894B5Ca4314783B0b36b329, amount=115792089237316195423570985008687907853269984665640564039457584007913129639935 ) => ( True )
approve[ERC20 (ln:332)]
_approve[ERC20 (ln:333)]
Approval[ERC20 (ln:461)]
_msgSender[ERC20 (ln:333)]
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MITpragma 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 delegatemapping (address => address) internal _delegates;/// @notice A checkpoint for marking number of votes from a given blockstruct Checkpoint {uint32 fromBlock;uint256 votes;