ETH Price: $4,292.60 (+2.99%)

Transaction Decoder

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 Code
0x0b9869C0...31fA0dc80
7.333657034122339928 Eth7.333661676346507898 Eth0.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 )
    File 1 of 3: MetacadePresaleV2
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    // 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.
    */
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 2 of 3: GnosisSafeProxy
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    // SPDX-License-Identifier: LGPL-3.0-only
    pragma 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;
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 3 of 3: TetherToken
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    pragma 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;
    }
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX