Transaction Hash:
Block:
20180636 at Jun-27-2024 04:28:23 AM +UTC
Transaction Fee:
0.00013013146537857 ETH
$0.39
Gas Used:
24,246 Gas / 5.367131295 Gwei
Emitted Events:
317 |
Token.Approval( owner=[Sender] 0x263d1b36251e31cb3f7df317a8bcf2570e7dc2cc, spender=0x7a250d56...659F2488D, value=0 )
|
Account State Difference:
Address | Before | After | State Difference | ||
---|---|---|---|---|---|
0x263d1B36...70e7dc2Cc |
0.00509776551796852 Eth
Nonce: 106
|
0.00496763405258995 Eth
Nonce: 107
| 0.00013013146537857 | ||
0x95222290...5CC4BAfe5
Miner
| (beaverbuild) | 6.976549778812708237 Eth | 6.976569975051917221 Eth | 0.000020196239208984 | |
0xe53EC727...31AB40A55 |
Execution Trace
Token.approve( spender=0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D, amount=0 ) => ( True )
approve[ERC20 (ln:474)]
_approve[ERC20 (ln:475)]
Approval[ERC20 (ln:603)]
_msgSender[ERC20 (ln:475)]
1234567891011121314151617181920212223242526// SPDX-License-Identifier: GPL-3.0pragma solidity 0.6.12;import "@openzeppelin/contracts/token/ERC20/ERC20Capped.sol";import "@openzeppelin/contracts/access/Ownable.sol";/**@title A basic ERC-20 token with voting functionality.@author Tim ClancyThis contract is used when deploying SuperFarm ERC-20 tokens.This token is created with a fixed, immutable cap and includes voting rights.Voting functionality is copied and modified from Sushi, and in turn from YAM:https://github.com/yam-finance/yam-protocol/blob/master/contracts/token/YAMGovernanceStorage.solhttps://github.com/yam-finance/yam-protocol/blob/master/contracts/token/YAMGovernance.solWhich is in turn copied and modified from COMPOUND:https://github.com/compound-finance/compound-protocol/blob/master/contracts/Governance/Comp.sol*/contract Token is ERC20Capped, Ownable {/// A version number for this Token contract's interface.uint256 public version = 1;/**Construct a new Token by providing it a name, ticker, and supply cap.@param _name The name of the new Token.@param _ticker The ticker symbol of the new Token.@param _cap The supply cap of the new Token.*/constructor (string memory _name, string memory _ticker, uint256 _cap) public ERC20(_name, _ticker) ERC20Capped(_cap) { }/**