Transaction Hash:
Block:
21350361 at Dec-07-2024 11:36:59 AM +UTC
Transaction Fee:
0.000696020352460065 ETH
$1.75
Gas Used:
62,691 Gas / 11.102396715 Gwei
Emitted Events:
453 |
FLOKI.Transfer( from=[Sender] 0x04e47f01d14a756fe89d4223189974f0793515ad, to=0x58edF78281334335EfFa23101bBe3371b6a36A51, value=180792573400000000 )
|
Account State Difference:
Address | Before | After | State Difference | ||
---|---|---|---|---|---|
0x04E47F01...0793515Ad | (KuCoin Dep: 0x04E47F01D14A756Fe89D4223189974F0793515Ad) |
0.001235837850703256 Eth
Nonce: 3877
|
0.000539817498243191 Eth
Nonce: 3878
| 0.000696020352460065 | |
0x95222290...5CC4BAfe5
Miner
| (beaverbuild) | 15.839155782927078253 Eth | 15.839156409837078253 Eth | 0.00000062691 | |
0xcf0C122c...Be62b6a2E |
Execution Trace
FLOKI.transfer( recipient=0x58edF78281334335EfFa23101bBe3371b6a36A51, amount=180792573400000000 ) => ( True )
-
TreasuryHandlerAlpha.beforeTransferHandler( benefactor=0x04E47F01D14A756Fe89D4223189974F0793515Ad, beneficiary=0x58edF78281334335EfFa23101bBe3371b6a36A51, amount=180792573400000000 )
-
DynamicTaxHandler.getTax( benefactor=0x04E47F01D14A756Fe89D4223189974F0793515Ad, beneficiary=0x58edF78281334335EfFa23101bBe3371b6a36A51, amount=180792573400000000 ) => ( 0 )
-
TreasuryHandlerAlpha.afterTransferHandler( benefactor=0x04E47F01D14A756Fe89D4223189974F0793515Ad, beneficiary=0x58edF78281334335EfFa23101bBe3371b6a36A51, amount=180792573400000000 )
transfer[FLOKI (ln:105)]
_transfer[FLOKI (ln:106)]
beforeTransferHandler[FLOKI (ln:378)]
getTax[FLOKI (ln:379)]
_moveDelegates[FLOKI (ln:383)]
_writeCheckpoint[FLOKI (ln:316)]
Checkpoint[FLOKI (ln:342)]
DelegateVotesChanged[FLOKI (ln:345)]
_writeCheckpoint[FLOKI (ln:322)]
Checkpoint[FLOKI (ln:342)]
DelegateVotesChanged[FLOKI (ln:345)]
_moveDelegates[FLOKI (ln:386)]
_writeCheckpoint[FLOKI (ln:316)]
Checkpoint[FLOKI (ln:342)]
DelegateVotesChanged[FLOKI (ln:345)]
_writeCheckpoint[FLOKI (ln:322)]
Checkpoint[FLOKI (ln:342)]
DelegateVotesChanged[FLOKI (ln:345)]
Transfer[FLOKI (ln:387)]
afterTransferHandler[FLOKI (ln:389)]
Transfer[FLOKI (ln:390)]
_msgSender[FLOKI (ln:106)]
File 1 of 3: FLOKI
File 2 of 3: TreasuryHandlerAlpha
File 3 of 3: DynamicTaxHandler
12345678910111213141516// SPDX-License-Identifier: MITpragma solidity 0.8.11;import "@openzeppelin/contracts/token/ERC20/IERC20.sol";import "@openzeppelin/contracts/access/Ownable.sol";import "./governance/IGovernanceToken.sol";import "./tax/ITaxHandler.sol";import "./treasury/ITreasuryHandler.sol";/*** @title Floki token contract* @dev The Floki token has modular systems for tax and treasury handler as well as governance capabilities.*/contract FLOKI is IERC20, IGovernanceToken, Ownable {/// @dev Registry of user token balances.mapping(address => uint256) private _balances;/// @dev Registry of addresses users have given allowances to.mapping(address => mapping(address => uint256)) private _allowances;
File 2 of 3: TreasuryHandlerAlpha
12345678910111213141516// SPDX-License-Identifier: MITpragma solidity 0.8.11;import "@openzeppelin/contracts/token/ERC20/IERC20.sol";import "@openzeppelin/contracts/utils/Address.sol";import "@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol";import "../utils/ExchangePoolProcessor.sol";import "../utils/LenientReentrancyGuard.sol";import "./ITreasuryHandler.sol";/*** @title Treasury handler alpha contract* @dev Sells tokens that have accumulated through taxes and sends the resulting ETH to the treasury. If* `liquidityBasisPoints` has been set to a non-zero value, then that percentage will instead be added to the designated* liquidity pool.*/contract TreasuryHandlerAlpha is ITreasuryHandler, LenientReentrancyGuard, ExchangePoolProcessor {using Address for address payable;
File 3 of 3: DynamicTaxHandler
12345678910111213141516// SPDX-License-Identifier: MITpragma solidity 0.8.11;import "@openzeppelin/contracts/token/ERC20/IERC20.sol";import "@openzeppelin/contracts/utils/structs/EnumerableSet.sol";import "./ITaxHandler.sol";import "../utils/ExchangePoolProcessor.sol";/*** @title Dynamic tax handler* @notice Processes tax for a given token transfer. Checks for the following:* - Is the address on the static blacklist? If so, it can only transfer to the* `receiver` address. In all other cases, the transfer will fail.* - Is the address exempt from taxes, if so, the number of taxed tokens is* always zero.* - Is it a transfer between "regular" users? This means they are not on the* list of either blacklisted or exempt addresses, nor are they an address* designated as an exchange pool.