Transaction Hash:
Block:
22357957 at Apr-27-2025 04:19:59 AM +UTC
Transaction Fee:
0.000016528452517654 ETH
$0.05
Gas Used:
46,619 Gas / 0.354543266 Gwei
Emitted Events:
234 |
BTCbOFT.Approval( owner=[Sender] 0x1eb5050660b145c70a4e49409b87a8804676bdd4, spender=0x1231DEB6...7486F4EaE, value=115792089237316195423570985008687907853269984665640564039457584007913129639935 )
|
Account State Difference:
Address | Before | After | State Difference | ||
---|---|---|---|---|---|
0x1eB50506...04676bdd4 |
0.009244220403135196 Eth
Nonce: 69
|
0.009227691950617542 Eth
Nonce: 70
| 0.000016528452517654 | ||
0x2297aEbD...8769342E3 | |||||
0xdadB0d80...24f783711
Miner
| (BuilderNet) | 104.582747077004895331 Eth | 104.582747105538333995 Eth | 0.000000028533438664 |
Execution Trace
BTCbOFT.approve( spender=0x1231DEB6f5749EF6cE6943a275A1D3E7486F4EaE, amount=115792089237316195423570985008687907853269984665640564039457584007913129639935 ) => ( True )
approve[ERC20 (ln:172)]
_msgSender[ERC20 (ln:173)]
_approve[ERC20 (ln:174)]
Approval[ERC20 (ln:335)]
12345678910111213141516171819202122232425pragma solidity ^0.8.0;import "@layerzerolabs/solidity-examples/contracts/token/oft/v2/fee/OFTWithFee.sol";contract BTCbOFT is OFTWithFee {constructor(address _lzEndpoint) OFTWithFee("Bitcoin", "BTC.b", 8, _lzEndpoint){}function decimals() public pure override returns (uint8){return 8;}}// SPDX-License-Identifier: MITpragma solidity ^0.8.0;import "@openzeppelin/contracts/token/ERC20/ERC20.sol";import "./BaseOFTWithFee.sol";contract OFTWithFee is BaseOFTWithFee, ERC20 {uint internal immutable ld2sdRate;constructor(string memory _name, string memory _symbol, uint8 _sharedDecimals, address _lzEndpoint) ERC20(_name, _symbol) BaseOFTWithFee(_sharedDecimals, _lzEndpoint) {uint8 decimals = decimals();require(_sharedDecimals <= decimals, "OFTWithFee: 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) {