Transaction Hash:
Block:
19507724 at Mar-24-2024 11:41:47 PM +UTC
Transaction Fee:
0.00082880093258456 ETH
$2.07
Gas Used:
46,804 Gas / 17.70790814 Gwei
Emitted Events:
268 |
CantoOFTV2.Transfer( from=[Sender] 0xe9f83c95b26b2438e8090c9d076b9c692780b697, to=0x00596c004aD85811a330b86D3f42D8dCBE7C8E9d, value=7696057966849483331179 )
|
Account State Difference:
Address | Before | After | State Difference | ||
---|---|---|---|---|---|
0x4838B106...B0BAD5f97
Miner
| (Titan Builder) | 12.552345394038308315 Eth | 12.552345834417191119 Eth | 0.000000440378882804 | |
0x56C03B8C...49bB5b220 | |||||
0xe9F83C95...92780b697 |
0.631999032129548819 Eth
Nonce: 3
|
0.631170231196964259 Eth
Nonce: 4
| 0.00082880093258456 |
Execution Trace
CantoOFTV2.transfer( to=0x00596c004aD85811a330b86D3f42D8dCBE7C8E9d, amount=7696057966849483331179 ) => ( True )
transfer[ERC20 (ln:149)]
_msgSender[ERC20 (ln:150)]
_transfer[ERC20 (ln:151)]
_beforeTokenTransfer[ERC20 (ln:262)]
Transfer[ERC20 (ln:269)]
_afterTokenTransfer[ERC20 (ln:270)]
12345678910111213141516171819202122232425pragma solidity ^0.8.0;import "@layerzerolabs/solidity-examples/contracts/token/oft/v2/OFTV2.sol";contract CantoOFTV2 is OFTV2 {constructor(address _lzEndpoint) OFTV2("Canto", "CANTO", 6, _lzEndpoint) {}}// SPDX-License-Identifier: MITpragma solidity ^0.8.0;import "@openzeppelin/contracts/token/ERC20/ERC20.sol";import "./BaseOFTV2.sol";contract OFTV2 is BaseOFTV2, ERC20 {uint internal immutable ld2sdRate;constructor(string memory _name, string memory _symbol, uint8 _sharedDecimals, address _lzEndpoint) ERC20(_name, _symbol) BaseOFTV2(_sharedDecimals, _lzEndpoint) {uint8 decimals = decimals();require(_sharedDecimals <= decimals, "OFT: sharedDecimals must be <= decimals");ld2sdRate = 10 ** (decimals - _sharedDecimals);}/************************************************************************* public functions************************************************************************/function circulatingSupply() public view virtual override returns (uint) {return totalSupply();}function token() public view virtual override returns (address) {return address(this);}