ETH Price: $2,578.67 (+1.77%)

Transaction Decoder

Block:
15779224 at Oct-19-2022 02:39:35 AM +UTC
Transaction Fee:
0.001992678802023889 ETH $5.14
Gas Used:
141,337 Gas / 14.098776697 Gwei

Emitted Events:

399 WETH9.Deposit( dst=[Receiver] ClipperVerifiedCaravelExchange, wad=76400000000000000 )
400 Dai.Transfer( src=[Receiver] ClipperVerifiedCaravelExchange, dst=[Sender] 0xc5cb539016d7bb5001de0dab5574f1686973d7da, wad=99581722549162803200 )
401 ClipperVerifiedCaravelExchange.Swapped( inAsset=WETH9, outAsset=Dai, recipient=[Sender] 0xc5cb539016d7bb5001de0dab5574f1686973d7da, inAmount=76400000000000000, outAmount=99581722549162803200, auxiliaryData=0x436C697070657200000000000000000000000000000000000000000000000000 )

Account State Difference:

  Address   Before After State Difference Code
(builder0x69)
0.940873405708706618 Eth0.941085411208706618 Eth0.0002120055
0x6B175474...495271d0F
0xC02aaA39...83C756Cc2 4,134,346.961630290166504224 Eth4,134,347.038030290166504224 Eth0.0764
0xc5CB5390...86973d7dA
0.082070795972335479 Eth
Nonce: 7
0.00367811717031159 Eth
Nonce: 8
0.078392678802023889
0xE7b0CE05...d4d9D216c

Execution Trace

ETH 0.0764 ClipperVerifiedCaravelExchange.sellEthForToken( outputToken=0x6B175474E89094C44Da98b954EedeAC495271d0F, inputAmount=76400000000000000, outputAmount=99581722549162803200, goodUntil=818408524259715437988944253234508563514975125787544824761099159036814, destinationAddress=0xc5CB539016d7BB5001De0dAb5574F1686973d7dA, theSignature=[{name:v, type:uint8, order:1, indexed:false, value:27, valueString:27}, {name:r, type:bytes32, order:2, indexed:false, value:B7A392577A7EE85065C06B1AF96F72FDFD746C62E9F3F6497358791A1610647B, valueString:B7A392577A7EE85065C06B1AF96F72FDFD746C62E9F3F6497358791A1610647B}, {name:s, type:bytes32, order:3, indexed:false, value:45ADE29FF9E45AAD8E2B8014A5407F75877D65B06D95DEEEC21CD4E9651F150A, valueString:45ADE29FF9E45AAD8E2B8014A5407F75877D65B06D95DEEEC21CD4E9651F150A}], auxiliaryData=0x436C697070657200000000000000000000000000000000000000000000000000 )
  • ETH 0.0764 WETH9.CALL( )
  • Null: 0x000...001.dfa4cf79( )
  • Dai.transfer( dst=0xc5CB539016d7BB5001De0dAb5574F1686973d7dA, wad=99581722549162803200 ) => ( True )
    File 1 of 3: ClipperVerifiedCaravelExchange
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    //SPDX-License-Identifier: Copyright 2021 Shipyard Software, Inc.
    pragma solidity ^0.8.0;
    import "@openzeppelin/contracts/access/Ownable.sol";
    import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
    import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
    import "@openzeppelin/contracts/utils/structs/EnumerableSet.sol";
    import "@openzeppelin/contracts/utils/math/SafeCast.sol";
    import "@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol";
    import "@openzeppelin/contracts/utils/math/SafeCast.sol";
    import "@prb/math/contracts/PRBMathSD59x18.sol";
    import "./interfaces/WrapperContractInterface.sol";
    import "./ClipperCaravelExchange.sol";
    contract ClipperVerifiedCaravelExchange is ClipperCaravelExchange {
    using SafeERC20 for IERC20;
    using PRBMathSD59x18 for int256;
    using SafeCast for uint256;
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 2 of 3: WETH9
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    // Copyright (C) 2015, 2016, 2017 Dapphub
    // This program is free software: you can redistribute it and/or modify
    // it under the terms of the GNU General Public License as published by
    // the Free Software Foundation, either version 3 of the License, or
    // (at your option) any later version.
    // This program is distributed in the hope that it will be useful,
    // but WITHOUT ANY WARRANTY; without even the implied warranty of
    // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
    // GNU General Public License for more details.
    // You should have received a copy of the GNU General Public License
    // along with this program. If not, see <http://www.gnu.org/licenses/>.
    pragma solidity ^0.4.18;
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 3 of 3: Dai
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    // hevm: flattened sources of /nix/store/8xb41r4qd0cjb63wcrxf1qmfg88p0961-dss-6fd7de0/src/dai.sol
    pragma solidity =0.5.12;
    ////// /nix/store/8xb41r4qd0cjb63wcrxf1qmfg88p0961-dss-6fd7de0/src/lib.sol
    // This program is free software: you can redistribute it and/or modify
    // it under the terms of the GNU General Public License as published by
    // the Free Software Foundation, either version 3 of the License, or
    // (at your option) any later version.
    // This program is distributed in the hope that it will be useful,
    // but WITHOUT ANY WARRANTY; without even the implied warranty of
    // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
    // GNU General Public License for more details.
    // You should have received a copy of the GNU General Public License
    // along with this program. If not, see <http://www.gnu.org/licenses/>.
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX