ETH Price: $2,555.44 (+1.80%)

Transaction Decoder

Block:
15896574 at Nov-04-2022 12:12:59 PM +UTC
Transaction Fee:
0.00059159147034225 ETH $1.51
Gas Used:
46,225 Gas / 12.79808481 Gwei

Emitted Events:

146 TicketNFT.ApprovalForAll( owner=[Sender] 0xd0c3f6e54c8809a16a0a73b45fd36a10d570de67, operator=0x508f72F2...869b6A6DC, approved=True )

Account State Difference:

  Address   Before After State Difference Code
0x8873BffF...A9021233B
0xD0c3F6e5...0D570dE67
0.107325726286056219 Eth
Nonce: 3
0.106734134815713969 Eth
Nonce: 4
0.00059159147034225
(Flashbots: Builder)
1.185509192091129217 Eth1.185578529591129217 Eth0.0000693375

Execution Trace

TicketNFT.setApprovalForAll( operator=0x508f72F2cAe1a1B2bF25B05b5Ddf4be869b6A6DC, approved=True )
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// SPDX-License-Identifier: MIT
pragma solidity >=0.8.4;
import '@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol';
import '@openzeppelin/contracts/token/ERC20/IERC20.sol';
import '../core/SafeOwnable.sol';
contract Airdrop is SafeOwnable {
using SafeERC20 for IERC20;
uint public nonce;
function ERC20Transfer(uint _startNonce, IERC20 _token, address _vault, address[] memory _users, uint[] memory _amounts) external onlyOwner {
if (_vault == address(0)) {
_vault = address(this);
}
require(_startNonce > nonce, "already done");
require(_users.length > 0 && _users.length == _amounts.length, "illegal length");
for (uint i = 0; i < _users.length; i ++) {
_token.safeTransferFrom(_vault, _users[i], _amounts[i]);
}
nonce = _startNonce + _users.length - 1;
}
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/utils/SafeERC20.sol)
pragma solidity ^0.8.0;
import "../IERC20.sol";
import "../../../utils/Address.sol";
/**
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX