Transaction Hash:
Block:
20155037 at Jun-23-2024 02:38:35 PM +UTC
Transaction Fee:
0.000209206799406 ETH
$0.78
Gas Used:
46,530 Gas / 4.4961702 Gwei
Emitted Events:
169 |
Token.Approval( owner=[Sender] 0xd502ef7aac5600e1601436ce6f123cfe6cbd0ba4, spender=0x11111112...0f8842A65, value=115792089237316195423570985008687907853269984665640564039457584007913129639935 )
|
Account State Difference:
Address | Before | After | State Difference | ||
---|---|---|---|---|---|
0x95222290...5CC4BAfe5
Miner
| (beaverbuild) | 10.558745850223704012 Eth | 10.558806547803781542 Eth | 0.00006069758007753 | |
0xD502EF7a...e6CbD0bA4 |
6.598212873191710776 Eth
Nonce: 31
|
6.598003666392304776 Eth
Nonce: 32
| 0.000209206799406 | ||
0xe53EC727...31AB40A55 |
Execution Trace
Token.approve( spender=0x111111125421cA6dc452d289314280a0f8842A65, amount=115792089237316195423570985008687907853269984665640564039457584007913129639935 ) => ( 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) { }/**