Transaction Hash:
Block:
16568209 at Feb-06-2023 07:19:23 AM +UTC
Transaction Fee:
0.00226353169564578 ETH
$5.67
Gas Used:
130,905 Gas / 17.291407476 Gwei
Emitted Events:
100 |
BoneToken.Transfer( from=[Receiver] BoneLocker, to=[Sender] 0x1d3d083dbedbc1f3741ed8301fa601f03886dd94, value=57262595969897873261 )
|
Account State Difference:
Address | Before | After | State Difference | ||
---|---|---|---|---|---|
0x1d3D083d...03886DD94 |
0.006690287362964 Eth
Nonce: 101
|
0.00442675566731822 Eth
Nonce: 102
| 0.00226353169564578 | ||
0x9813037e...6778218d9 | |||||
0xa404F66B...B239bcdc7 | (ShibaSwap: Bone Locker) | ||||
0xDAFEA492...692c98Bc5
Miner
| (Flashbots: Builder) | 1.195933863510141036 Eth | 1.196072622810141036 Eth | 0.0001387593 |
Execution Trace
claimAll[BoneLocker (ln:62)]
claimAllForUser[BoneLocker (ln:63)]
File 1 of 2: BoneLocker
File 2 of 2: BoneToken
12345678910111213141516// SPDX-License-Identifier: UNLICENSEDpragma solidity 0.6.12;import "@openzeppelin/contracts/access/Ownable.sol";import "@openzeppelin/contracts/token/ERC20/IERC20.sol";import "@openzeppelin/contracts/math/SafeMath.sol";// BoneToken locker contract.contract BoneLocker is Ownable {using SafeMath for uint256;IERC20 boneToken;address emergencyAddress;bool emergencyFlag = false;struct LockInfo{uint256 _amount;uint256 _timestamp;bool _isDev;}
File 2 of 2: BoneToken
12345678910111213141516// SPDX-License-Identifier: MITpragma solidity 0.6.12;import "@openzeppelin/contracts/token/ERC20/ERC20.sol";import "@openzeppelin/contracts/access/Ownable.sol";// BoneToken with Governance.contract BoneToken is ERC20("BONE SHIBASWAP", "BONE"), Ownable {/// @notice Creates `_amount` token to `_to`. Must only be called by the owner (TopDog).function mint(address _to, uint256 _amount) public onlyOwner {_mint(_to, _amount);_moveDelegates(address(0), _delegates[_to], _amount);}function _transfer(address sender, address recipient, uint256 amount) internal override {super._transfer(sender, recipient, amount);_moveDelegates(_delegates[sender], _delegates[recipient], amount);}// Copied and modified from YAM code: