Transaction Hash:
Block:
15921842 at Nov-08-2022 12:51:23 AM +UTC
Transaction Fee:
0.001293514782801092 ETH
$3.86
Gas Used:
95,006 Gas / 13.615085182 Gwei
Emitted Events:
112 |
NutsCoin.Approval( owner=[Sender] 0xba9c4d1df8c2f7d1ebf3a9f6b34d04a552aabd6e, spender=[Receiver] 0xdc8acba8d2bff4f20192a0630ffe540ba73d1d58, value=98999655000000000000000000 )
|
113 |
NutsCoin.Transfer( from=[Sender] 0xba9c4d1df8c2f7d1ebf3a9f6b34d04a552aabd6e, to=[Receiver] 0xdc8acba8d2bff4f20192a0630ffe540ba73d1d58, value=345000000000000000000 )
|
114 |
0xdc8acba8d2bff4f20192a0630ffe540ba73d1d58.0xc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62( 0xc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62, 0x000000000000000000000000ba9c4d1df8c2f7d1ebf3a9f6b34d04a552aabd6e, 0x0000000000000000000000000000000000000000000000000000000000000000, 0x000000000000000000000000ba9c4d1df8c2f7d1ebf3a9f6b34d04a552aabd6e, 0000000000000000000000000000000000000000000000000000000000000016, 0000000000000000000000000000000000000000000000000000000000000005 )
|
Account State Difference:
Address | Before | After | State Difference | ||
---|---|---|---|---|---|
0x94D40179...E7E774285 | |||||
0xBA9c4D1D...552aAbD6e |
0.010873513479197563 Eth
Nonce: 281
|
0.009579998696396471 Eth
Nonce: 282
| 0.001293514782801092 | ||
0xDAFEA492...692c98Bc5
Miner
| (Flashbots: Builder) | 1.187907140986328906 Eth | 1.188049649986328906 Eth | 0.000142509 | |
0xDC8acbA8...ba73d1D58 |
Execution Trace
Deez Shop: DNS Token.81a1452c( )

-
NutsCoin.transferFrom( from=0xBA9c4D1DF8c2F7D1EbF3A9F6b34D04a552aAbD6e, to=0xDC8acbA8d2bfF4f20192a0630ffe540ba73d1D58, amount=345000000000000000000 ) => ( True )
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT LICENSEpragma solidity ^0.8.0;import "@openzeppelin/contracts/token/ERC20/ERC20.sol";import "@openzeppelin/contracts/access/Ownable.sol";import "hardhat/console.sol";contract NutsCoin is ERC20, Ownable {// a mapping from an address to whether or not it can mint / burnmapping(address => bool) controllers;uint256 public maxSupply = 6900000000 ether;// community wallet receives 690,000,000// development wallet reecives 69,000,000// total left for staking contract = 6141000000constructor() ERC20("NUTS", "NUTS") { }/*** mints $Deez to a recipient* @param to the recipient of the $Deez* @param amount the amount of $Deez to mint*/function mint(address to, uint256 amount) external {require(totalSupply() + amount <= maxSupply, "Max supply of token reached");require(controllers[msg.sender], "Only controllers can mint");_mint(to, amount);}/*** burns $Deez from a holder* @param from the holder of the $Deez