Transaction Hash:
Block:
16816697 at Mar-13-2023 04:29:59 AM +UTC
Transaction Fee:
0.001875496193085903 ETH
$8.05
Gas Used:
97,941 Gas / 19.149244883 Gwei
Emitted Events:
310 |
TetherToken.Transfer( from=[Sender] 0xaa2b4a88424dbda9b4c45995dfb47a2403ab2b5c, to=GnosisSafeProxy, value=850000000 )
|
311 |
MetacadePresaleV2.TokensBought( user=[Sender] 0xaa2b4a88424dbda9b4c45995dfb47a2403ab2b5c, tokensBought=50000, amountPaid=850000000, timestamp=1678681799 )
|
Account State Difference:
Address | Before | After | State Difference | ||
---|---|---|---|---|---|
0x0b9869C0...31fA0dc80 | |||||
0x1f9090aa...8e676c326
Miner
| 7.333657034122339928 Eth | 7.333661676346507898 Eth | 0.00000464222416797 | ||
0xAA2B4a88...403ab2B5C |
0.013908654314237339 Eth
Nonce: 17
|
0.012033158121151436 Eth
Nonce: 18
| 0.001875496193085903 | ||
0xdAC17F95...13D831ec7 |
Execution Trace
MetacadePresaleV2.buyWithUSDT( _amount=50000 ) => ( True )
-
TetherToken.allowance( _owner=0xAA2B4a88424dbDa9B4c45995dFb47A2403ab2B5C, _spender=0x0b9869C0b6601544F776284320423bC31fA0dc80 ) => ( remaining=99999999996597059000 )
-
TetherToken.transferFrom( _from=0xAA2B4a88424dbDa9B4c45995dFb47A2403ab2B5C, _to=0xA539e86E09037Be64c4F6E34B4278a32c809caB2, _value=850000000 )
buyWithUSDT[MetacadePresaleV2 (ln:969)]
usdtBuyHelper[MetacadePresaleV2 (ln:970)]
calculatePrice[MetacadePresaleV2 (ln:1026)]
_calculateInternalCost[MetacadePresaleV2 (ln:1035)]
_calculateInternalCost[MetacadePresaleV2 (ln:1062)]
allowance[MetacadePresaleV2 (ln:971)]
_msgSender[MetacadePresaleV2 (ln:972)]
safeTransferFrom[MetacadePresaleV2 (ln:975)]
_msgSender[MetacadePresaleV2 (ln:976)]
owner[MetacadePresaleV2 (ln:977)]
_msgSender[MetacadePresaleV2 (ln:981)]
_getStepByTotalSoldAmount[MetacadePresaleV2 (ln:982)]
TokensBought[MetacadePresaleV2 (ln:984)]
_msgSender[MetacadePresaleV2 (ln:985)]
File 1 of 3: MetacadePresaleV2
File 2 of 3: GnosisSafeProxy
File 3 of 3: TetherToken
12345678910111213141516// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)pragma solidity ^0.8.0;import "../utils/Context.sol";/*** @dev Contract module which provides a basic access control mechanism, where* there is an account (an owner) that can be granted exclusive access to* specific functions.** By default, the owner account will be the one that deploys the contract. This* can later be changed with {transferOwnership}.** This module is used through inheritance. It will make available the modifier* `onlyOwner`, which can be applied to your functions to restrict their use to* the owner.*/
File 2 of 3: GnosisSafeProxy
12345678910111213141516// SPDX-License-Identifier: LGPL-3.0-onlypragma solidity >=0.7.0 <0.9.0;/// @title IProxy - Helper interface to access masterCopy of the Proxy on-chain/// @author Richard Meissner - <richard@gnosis.io>interface IProxy {function masterCopy() external view returns (address);}/// @title GnosisSafeProxy - Generic proxy contract allows to execute all transactions applying the code of a master contract./// @author Stefan George - <stefan@gnosis.io>/// @author Richard Meissner - <richard@gnosis.io>contract GnosisSafeProxy {// singleton always needs to be first declared variable, to ensure that it is at the same location in the contracts to which calls are delegated.// To reduce deployment costs this variable is internal and needs to be retrieved via `getStorageAt`address internal singleton;
File 3 of 3: TetherToken
12345678910111213141516pragma solidity ^0.4.17;/*** @title SafeMath* @dev Math operations with safety checks that throw on error*/library SafeMath {function mul(uint256 a, uint256 b) internal pure returns (uint256) {if (a == 0) {return 0;}uint256 c = a * b;assert(c / a == b);return c;}