Transaction Hash:
Block:
22094851 at Mar-21-2025 11:09:11 AM +UTC
Transaction Fee:
0.000021718937853444 ETH
$0.07
Gas Used:
46,619 Gas / 0.465881676 Gwei
Emitted Events:
209 |
BTCbOFT.Approval( owner=[Sender] 0xd0f6c33de5ab51301845b75835a1ae0d9f6ad294, spender=0x023fa838...5Bd931Fc7, value=115792089237316195423570985008687907853269984665640564039457584007913129639935 )
|
Account State Difference:
Address | Before | After | State Difference | ||
---|---|---|---|---|---|
0x2297aEbD...8769342E3 | |||||
0x4838B106...B0BAD5f97
Miner
| (Titan Builder) | 42.720356007687743698 Eth | 42.720356015659592698 Eth | 0.000000007971849 | |
0xD0F6c33d...d9F6AD294 |
0.05334579489262836 Eth
Nonce: 522
|
0.053324075954774916 Eth
Nonce: 523
| 0.000021718937853444 |
Execution Trace
BTCbOFT.approve( spender=0x023fa838682C115c2cFBA96Ef3791CB5Bd931Fc7, 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) {