ETH Price: $2,546.28 (-4.26%)

Transaction Decoder

Block:
11784842 at Feb-03-2021 06:15:09 PM +UTC
Transaction Fee:
0.054328806 ETH $138.34
Gas Used:
335,363 Gas / 162 Gwei

Emitted Events:

69 FiatTokenProxy.0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef( 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef, 0x00000000000000000000000018c7ae558036905747de225eb2dec423bd40a79c, 0x000000000000000000000000e069cb01d06ba617bcdf789bf2ff0d5e5ca20c71, 00000000000000000000000000000000000000000000000000000000b6196e80 )
70 FiatTokenProxy.0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925( 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925, 0x000000000000000000000000e069cb01d06ba617bcdf789bf2ff0d5e5ca20c71, 0x00000000000000000000000095e6f48254609a6ee006f7d493c8e5fb97094cef, 00000000000000000000000000000000000000000000000000000000b6196e80 )
71 Exchange.Fill( makerAddress=0x4ab53fAAfBDeaFD85923E29C9423Efd094880A1D, feeRecipientAddress=0x910bf2d5...4Ab7c8bd2, makerAssetData=0xF47261B0000000000000000000000000888888888889C00C67689029D7856AAC1065EC11, takerAssetData=0xF47261B0000000000000000000000000A0B86991C6218B36C1D19D4A2E9EB0CE3606EB48, makerFeeAssetData=0x, takerFeeAssetData=0x, orderHash=A058418A4F5F013F90A04D8686157189E063C2D16C5D99C8CB7BC2CDD6F31CED, takerAddress=0xe069CB01D06bA617bCDf789bf2ff0D5E5ca20C71, senderAddress=0xe069CB01D06bA617bCDf789bf2ff0D5E5ca20C71, makerAssetFilledAmount=151243564356435643564, takerAssetFilledAmount=3055120000, makerFeePaid=0, takerFeePaid=0, protocolFeePaid=11340000000000000 )
72 FiatTokenProxy.0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef( 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef, 0x000000000000000000000000e069cb01d06ba617bcdf789bf2ff0d5e5ca20c71, 0x0000000000000000000000004ab53faafbdeafd85923e29c9423efd094880a1d, 00000000000000000000000000000000000000000000000000000000b6196e80 )
73 OpiumToken.Transfer( from=0x4ab53fAAfBDeaFD85923E29C9423Efd094880A1D, to=0xe069CB01D06bA617bCDf789bf2ff0D5E5ca20C71, value=151243564356435643564 )
74 OpiumToken.Approval( owner=0x4ab53fAAfBDeaFD85923E29C9423Efd094880A1D, spender=ERC20Proxy, value=115792089237316195423570985008687907853269984665640564017732125841266604914989 )
75 OpiumToken.Transfer( from=0xe069CB01D06bA617bCDf789bf2ff0D5E5ca20C71, to=[Sender] 0x18c7ae558036905747de225eb2dec423bd40a79c, value=151243564356435643564 )
76 OneInchExchange.Swapped( sender=[Sender] 0x18c7ae558036905747de225eb2dec423bd40a79c, srcToken=FiatTokenProxy, dstToken=OpiumToken, dstReceiver=[Sender] 0x18c7ae558036905747de225eb2dec423bd40a79c, amount=3055120000, spentAmount=3055120000, returnAmount=151243564356435643564, minReturnAmount=146706257425742574257, guaranteedAmount=151243564356435643564, referrer=0x00000000...000000000 )

Account State Difference:

  Address   Before After State Difference Code
0x18C7AE55...3bd40A79C
0.157226418016 Eth
Nonce: 37
0.091557612016 Eth
Nonce: 38
0.065668806
(Spark Pool)
112.875710897885307517 Eth112.930039703885307517 Eth0.054328806
0x61935CbD...F1593b7Ef
(0x: Exchange v3)
0x88888888...C1065eC11
0xA0b86991...E3606eB48
0xa26e80e7...E6CFfA777
(0x: Staking Proxy V3)
43.78077662774438 Eth43.79211662774438 Eth0.01134

Execution Trace

ETH 0.01596 OneInchExchange.swap( caller=0xe069CB01D06bA617bCDf789bf2ff0D5E5ca20C71, desc=[{name:srcToken, type:address, order:1, indexed:false, value:0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48, valueString:0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48}, {name:dstToken, type:address, order:2, indexed:false, value:0x888888888889C00c67689029D7856AAC1065eC11, valueString:0x888888888889C00c67689029D7856AAC1065eC11}, {name:srcReceiver, type:address, order:3, indexed:false, value:0xe069CB01D06bA617bCDf789bf2ff0D5E5ca20C71, valueString:0xe069CB01D06bA617bCDf789bf2ff0D5E5ca20C71}, {name:dstReceiver, type:address, order:4, indexed:false, value:0x18C7AE558036905747DE225eB2DEc423bd40A79C, valueString:0x18C7AE558036905747DE225eB2DEc423bd40A79C}, {name:amount, type:uint256, order:5, indexed:false, value:3055120000, valueString:3055120000}, {name:minReturnAmount, type:uint256, order:6, indexed:false, value:146706257425742574257, valueString:146706257425742574257}, {name:guaranteedAmount, type:uint256, order:7, indexed:false, value:151243564356435643564, valueString:151243564356435643564}, {name:flags, type:uint256, order:8, indexed:false, value:6, valueString:6}, {name:referrer, type:address, order:9, indexed:false, value:0x0000000000000000000000000000000000000000, valueString:0x0000000000000000000000000000000000000000}, {name:permit, type:bytes, order:10, indexed:false, value:0x, valueString:0x}], calls= ) => ( returnAmount=151243564356435643564 )
  • FiatTokenProxy.23b872dd( )
    • FiatTokenV2.transferFrom( from=0x18C7AE558036905747DE225eB2DEc423bd40A79C, to=0xe069CB01D06bA617bCDf789bf2ff0D5E5ca20C71, value=3055120000 ) => ( True )
    • OpiumToken.balanceOf( account=0x18C7AE558036905747DE225eB2DEc423bd40A79C ) => ( 0 )
    • ETH 0.01596 1inch: Router 2.a8920d2b( )
      • 1inch: Router 2.b122f1c5( )
        • 1inch: Router 2.ec77bbdb( )
          • FiatTokenProxy.70a08231( )
            • FiatTokenV2.balanceOf( account=0xe069CB01D06bA617bCDf789bf2ff0D5E5ca20C71 ) => ( 3055120000 )
            • 1inch: Router 2.eb5625d9( )
              • FiatTokenProxy.095ea7b3( )
                • FiatTokenV2.approve( spender=0x95E6F48254609A6ee006F7D493c8e5fB97094ceF, value=3055120000 ) => ( True )
                • ETH 0.01596 Exchange.marketSellOrdersNoThrow( orders=, takerAssetFillAmount=3055120000, signatures=[HGzTvbRUhfwnqc3VqwUHbxICvQNEH3lgkPqGkE07iFJkVXqpQdDH+HS36dliCs5vKtwc99FRu9iueayjH23ORZcD] ) => ( fillResults=[{name:makerAssetFilledAmount, type:uint256, order:1, indexed:false, value:151243564356435643564, valueString:151243564356435643564}, {name:takerAssetFilledAmount, type:uint256, order:2, indexed:false, value:3055120000, valueString:3055120000}, {name:makerFeePaid, type:uint256, order:3, indexed:false, value:0, valueString:0}, {name:takerFeePaid, type:uint256, order:4, indexed:false, value:0, valueString:0}, {name:protocolFeePaid, type:uint256, order:5, indexed:false, value:11340000000000000, valueString:11340000000000000}] )
                  • ETH 0.01596 Exchange.fillOrder( order=[{name:makerAddress, type:address, order:1, indexed:false, value:0x4ab53fAAfBDeaFD85923E29C9423Efd094880A1D, valueString:0x4ab53fAAfBDeaFD85923E29C9423Efd094880A1D}, {name:takerAddress, type:address, order:2, indexed:false, value:0x0000000000000000000000000000000000000000, valueString:0x0000000000000000000000000000000000000000}, {name:feeRecipientAddress, type:address, order:3, indexed:false, value:0x910bf2d50fA5e014Fd06666f456182D4Ab7c8bd2, valueString:0x910bf2d50fA5e014Fd06666f456182D4Ab7c8bd2}, {name:senderAddress, type:address, order:4, indexed:false, value:0x0000000000000000000000000000000000000000, valueString:0x0000000000000000000000000000000000000000}, {name:makerAssetAmount, type:uint256, order:5, indexed:false, value:3517000000000000000000, valueString:3517000000000000000000}, {name:takerAssetAmount, type:uint256, order:6, indexed:false, value:71043400000, valueString:71043400000}, {name:makerFee, type:uint256, order:7, indexed:false, value:0, valueString:0}, {name:takerFee, type:uint256, order:8, indexed:false, value:0, valueString:0}, {name:expirationTimeSeconds, type:uint256, order:9, indexed:false, value:1620137392, valueString:1620137392}, {name:salt, type:uint256, order:10, indexed:false, value:1612361392, valueString:1612361392}, {name:makerAssetData, type:bytes, order:11, indexed:false, value:0xF47261B0000000000000000000000000888888888889C00C67689029D7856AAC1065EC11, valueString:0xF47261B0000000000000000000000000888888888889C00C67689029D7856AAC1065EC11}, {name:takerAssetData, type:bytes, order:12, indexed:false, value:0xF47261B0000000000000000000000000A0B86991C6218B36C1D19D4A2E9EB0CE3606EB48, valueString:0xF47261B0000000000000000000000000A0B86991C6218B36C1D19D4A2E9EB0CE3606EB48}, {name:makerFeeAssetData, type:bytes, order:13, indexed:false, value:0x, valueString:0x}, {name:takerFeeAssetData, type:bytes, order:14, indexed:false, value:0x, valueString:0x}], takerAssetFillAmount=3055120000, signature=0x1C6CD3BDB45485FC27A9CDD5AB05076F1202BD03441F796090FA86904D3B885264557AA941D0C7F874B7E9D9620ACE6F2ADC1CF7D151BBD8AE79ACA31F6DCE459703 ) => ( fillResults=[{name:makerAssetFilledAmount, type:uint256, order:1, indexed:false, value:151243564356435643564, valueString:151243564356435643564}, {name:takerAssetFilledAmount, type:uint256, order:2, indexed:false, value:3055120000, valueString:3055120000}, {name:makerFeePaid, type:uint256, order:3, indexed:false, value:0, valueString:0}, {name:takerFeePaid, type:uint256, order:4, indexed:false, value:0, valueString:0}, {name:protocolFeePaid, type:uint256, order:5, indexed:false, value:11340000000000000, valueString:11340000000000000}] )
                    • Null: 0x000...001.9f21cad5( )
                    • ERC20Proxy.a85e59e4( )
                      • FiatTokenProxy.23b872dd( )
                      • ERC20Proxy.a85e59e4( )
                        • OpiumToken.transferFrom( sender=0x4ab53fAAfBDeaFD85923E29C9423Efd094880A1D, recipient=0xe069CB01D06bA617bCDf789bf2ff0D5E5ca20C71, amount=151243564356435643564 ) => ( True )
                        • ETH 0.01134 StakingProxy.a3b4a327( )
                          • ETH 0.01134 Staking.payProtocolFee( makerAddress=0x4ab53fAAfBDeaFD85923E29C9423Efd094880A1D, payerAddress=0xe069CB01D06bA617bCDf789bf2ff0D5E5ca20C71, protocolFee=11340000000000000 )
                          • ETH 0.00462 1inch: Router 2.CALL( )
                          • 1inch: Router 2.7f8fe7a0( )
                            • 1inch: Router 2.70bdb947( )
                              • OpiumToken.balanceOf( account=0xe069CB01D06bA617bCDf789bf2ff0D5E5ca20C71 ) => ( 151243564356435643564 )
                              • 1inch: Router 2.05971224( )
                              • 1inch: Router 2.b3af37c0( )
                                • FiatTokenProxy.70a08231( )
                                  • FiatTokenV2.balanceOf( account=0xe069CB01D06bA617bCDf789bf2ff0D5E5ca20C71 ) => ( 0 )
                                  • 1inch: Router 2.b3af37c0( )
                                    • 1inch: Router 2.d1660f99( )
                                      • ETH 0.00462 0x18c7ae558036905747de225eb2dec423bd40a79c.CALL( )
                                      • 1inch: Router 2.b3af37c0( )
                                        • OpiumToken.balanceOf( account=0xe069CB01D06bA617bCDf789bf2ff0D5E5ca20C71 ) => ( 151243564356435643564 )
                                        • 1inch: Router 2.d1660f99( )
                                          • OpiumToken.transfer( recipient=0x18C7AE558036905747DE225eB2DEc423bd40A79C, amount=151243564356435643564 ) => ( True )
                                          • OpiumToken.balanceOf( account=0x18C7AE558036905747DE225eB2DEc423bd40A79C ) => ( 151243564356435643564 )
                                            File 1 of 8: OneInchExchange
                                            1
                                            2
                                            3
                                            4
                                            5
                                            6
                                            7
                                            8
                                            9
                                            10
                                            11
                                            12
                                            13
                                            14
                                            15
                                            16
                                            // File: @openzeppelin/contracts/GSN/Context.sol
                                            // SPDX-License-Identifier: MIT
                                            pragma solidity ^0.6.0;
                                            /*
                                            * @dev Provides information about the current execution context, including the
                                            * sender of the transaction and its data. While these are generally available
                                            * via msg.sender and msg.data, they should not be accessed in such a direct
                                            * manner, since when dealing with GSN meta-transactions the account sending and
                                            * paying for execution may not be the actual sender (as far as an application
                                            * is concerned).
                                            *
                                            * This contract is only required for intermediate, library-like contracts.
                                            */
                                            XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

                                            File 2 of 8: FiatTokenProxy
                                            1
                                            2
                                            3
                                            4
                                            5
                                            6
                                            7
                                            8
                                            9
                                            10
                                            11
                                            12
                                            13
                                            14
                                            15
                                            16
                                            pragma solidity ^0.4.24;
                                            // File: zos-lib/contracts/upgradeability/Proxy.sol
                                            /**
                                            * @title Proxy
                                            * @dev Implements delegation of calls to other contracts, with proper
                                            * forwarding of return values and bubbling of failures.
                                            * It defines a fallback function that delegates all calls to the address
                                            * returned by the abstract _implementation() internal function.
                                            */
                                            contract Proxy {
                                            /**
                                            * @dev Fallback function.
                                            * Implemented entirely in `_fallback`.
                                            */
                                            XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

                                            File 3 of 8: Exchange
                                            1
                                            2
                                            3
                                            4
                                            5
                                            6
                                            7
                                            8
                                            9
                                            10
                                            11
                                            12
                                            13
                                            14
                                            15
                                            16
                                            /*
                                            Copyright 2019 ZeroEx Intl.
                                            Licensed under the Apache License, Version 2.0 (the "License");
                                            you may not use this file except in compliance with the License.
                                            You may obtain a copy of the License at
                                            http://www.apache.org/licenses/LICENSE-2.0
                                            Unless required by applicable law or agreed to in writing, software
                                            distributed under the License is distributed on an "AS IS" BASIS,
                                            WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
                                            See the License for the specific language governing permissions and
                                            limitations under the License.
                                            */
                                            pragma solidity ^0.5.9;
                                            pragma experimental ABIEncoderV2;
                                            import "@0x/contracts-exchange-libs/contracts/src/LibEIP712ExchangeDomain.sol";
                                            import "./MixinMatchOrders.sol";
                                            XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

                                            File 4 of 8: OpiumToken
                                            1
                                            2
                                            3
                                            4
                                            5
                                            6
                                            7
                                            8
                                            9
                                            10
                                            11
                                            12
                                            13
                                            14
                                            15
                                            16
                                            // File: @openzeppelin/contracts/contracts/utils/Context.sol
                                            // SPDX-License-Identifier: MIT
                                            pragma solidity >=0.6.0 <0.8.0;
                                            /*
                                            * @dev Provides information about the current execution context, including the
                                            * sender of the transaction and its data. While these are generally available
                                            * via msg.sender and msg.data, they should not be accessed in such a direct
                                            * manner, since when dealing with GSN meta-transactions the account sending and
                                            * paying for execution may not be the actual sender (as far as an application
                                            * is concerned).
                                            *
                                            * This contract is only required for intermediate, library-like contracts.
                                            */
                                            XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

                                            File 5 of 8: FiatTokenV2
                                            1
                                            2
                                            3
                                            4
                                            5
                                            6
                                            7
                                            8
                                            9
                                            10
                                            11
                                            12
                                            13
                                            14
                                            15
                                            16
                                            // File: @openzeppelin/contracts/math/SafeMath.sol
                                            // License: MIT
                                            pragma solidity ^0.6.0;
                                            /**
                                            * @dev Wrappers over Solidity's arithmetic operations with added overflow
                                            * checks.
                                            *
                                            * Arithmetic operations in Solidity wrap on overflow. This can easily result
                                            * in bugs, because programmers usually assume that an overflow raises an
                                            * error, which is the standard behavior in high level programming languages.
                                            * `SafeMath` restores this intuition by reverting the transaction when an
                                            * operation overflows.
                                            *
                                            XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

                                            File 6 of 8: ERC20Proxy
                                            1
                                            2
                                            3
                                            4
                                            5
                                            6
                                            7
                                            8
                                            9
                                            10
                                            11
                                            12
                                            13
                                            14
                                            15
                                            16
                                            /*
                                            Copyright 2018 ZeroEx Intl.
                                            Licensed under the Apache License, Version 2.0 (the "License");
                                            you may not use this file except in compliance with the License.
                                            You may obtain a copy of the License at
                                            http://www.apache.org/licenses/LICENSE-2.0
                                            Unless required by applicable law or agreed to in writing, software
                                            distributed under the License is distributed on an "AS IS" BASIS,
                                            WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
                                            See the License for the specific language governing permissions and
                                            limitations under the License.
                                            XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

                                            File 7 of 8: StakingProxy
                                            1
                                            2
                                            3
                                            4
                                            5
                                            6
                                            7
                                            8
                                            9
                                            10
                                            11
                                            12
                                            13
                                            14
                                            15
                                            16
                                            /*
                                            Copyright 2019 ZeroEx Intl.
                                            Licensed under the Apache License, Version 2.0 (the "License");
                                            you may not use this file except in compliance with the License.
                                            You may obtain a copy of the License at
                                            http://www.apache.org/licenses/LICENSE-2.0
                                            Unless required by applicable law or agreed to in writing, software
                                            distributed under the License is distributed on an "AS IS" BASIS,
                                            WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
                                            See the License for the specific language governing permissions and
                                            limitations under the License.
                                            */
                                            pragma solidity ^0.5.9;
                                            pragma experimental ABIEncoderV2;
                                            import "./interfaces/IStaking.sol";
                                            import "./sys/MixinParams.sol";
                                            XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

                                            File 8 of 8: Staking
                                            1
                                            2
                                            3
                                            4
                                            5
                                            6
                                            7
                                            8
                                            9
                                            10
                                            11
                                            12
                                            13
                                            14
                                            15
                                            16
                                            /*
                                            Copyright 2019 ZeroEx Intl.
                                            Licensed under the Apache License, Version 2.0 (the "License");
                                            you may not use this file except in compliance with the License.
                                            You may obtain a copy of the License at
                                            http://www.apache.org/licenses/LICENSE-2.0
                                            Unless required by applicable law or agreed to in writing, software
                                            distributed under the License is distributed on an "AS IS" BASIS,
                                            WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
                                            See the License for the specific language governing permissions and
                                            limitations under the License.
                                            */
                                            pragma solidity ^0.5.9;
                                            pragma experimental ABIEncoderV2;
                                            import "./interfaces/IStaking.sol";
                                            import "./sys/MixinParams.sol";
                                            XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX