ETH Price: $2,565.16 (-2.87%)

Transaction Decoder

Block:
11755813 at Jan-30-2021 06:56:39 AM +UTC
Transaction Fee:
0.01457229 ETH $37.38
Gas Used:
238,890 Gas / 61 Gwei

Account State Difference:

  Address   Before After State Difference Code
(Spark Pool)
93.745772308173243315 Eth93.760344598173243315 Eth0.01457229
0x83f798e9...448f1707D
0xdAC17F95...13D831ec7
0xE4422D5D...DFd7C921b
0.028629270764622359 Eth
Nonce: 3
0.014056980764622359 Eth
Nonce: 4
0.01457229

Execution Trace

yUSDT.deposit( _amount=24904000 )
  • TetherToken.balanceOf( who=0x83f798e925BcD4017Eb265844FDDAbb448f1707D ) => ( 0 )
  • AToken.balanceOf( _user=0x83f798e925BcD4017Eb265844FDDAbb448f1707D ) => ( 57311497467426 )
    • InitializableAdminUpgradeabilityProxy.d15e0053( )
      • LendingPoolCore.getReserveNormalizedIncome( _reserve=0xdAC17F958D2ee523a2206206994597C13D831ec7 ) => ( 1058449404755008350663434356 )
      • SoloMargin.getAccountWei( account=[{name:owner, type:address, order:1, indexed:false, value:0x83f798e925BcD4017Eb265844FDDAbb448f1707D, valueString:0x83f798e925BcD4017Eb265844FDDAbb448f1707D}, {name:number, type:uint256, order:2, indexed:false, value:0, valueString:0}], marketId=0 ) => ( [{name:sign, type:bool, order:1, indexed:false, value:false, valueString:False}, {name:value, type:uint256, order:2, indexed:false, value:0, valueString:0}] )
        • DoubleExponentInterestSetter.getInterestRate( 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2, borrowWei=3094426187460455631752, supplyWei=114248719749998803926279 ) => ( [{name:value, type:uint256, order:1, indexed:false, value:85885960, valueString:85885960}] )
        • LoanToken.balanceOf( _owner=0x83f798e925BcD4017Eb265844FDDAbb448f1707D ) => ( 0 )
        • CErc20Delegator.balanceOf( owner=0x83f798e925BcD4017Eb265844FDDAbb448f1707D ) => ( 0 )
          • CErc20Delegator.delegateToImplementation( data=0x70A0823100000000000000000000000083F798E925BCD4017EB265844FDDABB448F1707D ) => ( 0x0000000000000000000000000000000000000000000000000000000000000000 )
            • CErc20Delegate.balanceOf( owner=0x83f798e925BcD4017Eb265844FDDAbb448f1707D ) => ( 0 )
            • TetherToken.transferFrom( _from=0xE4422D5D9a88C3D855E97FF94b94fd7DFd7C921b, _to=0x83f798e925BcD4017Eb265844FDDAbb448f1707D, _value=24904000 )
            • TetherToken.balanceOf( who=0x83f798e925BcD4017Eb265844FDDAbb448f1707D ) => ( 24904000 )
            • AToken.balanceOf( _user=0x83f798e925BcD4017Eb265844FDDAbb448f1707D ) => ( 57311497467426 )
              • InitializableAdminUpgradeabilityProxy.d15e0053( )
                • LendingPoolCore.getReserveNormalizedIncome( _reserve=0xdAC17F958D2ee523a2206206994597C13D831ec7 ) => ( 1058449404755008350663434356 )
                • SoloMargin.getAccountWei( account=[{name:owner, type:address, order:1, indexed:false, value:0x83f798e925BcD4017Eb265844FDDAbb448f1707D, valueString:0x83f798e925BcD4017Eb265844FDDAbb448f1707D}, {name:number, type:uint256, order:2, indexed:false, value:0, valueString:0}], marketId=0 ) => ( [{name:sign, type:bool, order:1, indexed:false, value:false, valueString:False}, {name:value, type:uint256, order:2, indexed:false, value:0, valueString:0}] )
                  • DoubleExponentInterestSetter.getInterestRate( 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2, borrowWei=3094426187460455631752, supplyWei=114248719749998803926279 ) => ( [{name:value, type:uint256, order:1, indexed:false, value:85885960, valueString:85885960}] )
                  • LoanToken.balanceOf( _owner=0x83f798e925BcD4017Eb265844FDDAbb448f1707D ) => ( 0 )
                  • CErc20Delegator.balanceOf( owner=0x83f798e925BcD4017Eb265844FDDAbb448f1707D ) => ( 0 )
                    • CErc20Delegator.delegateToImplementation( data=0x70A0823100000000000000000000000083F798E925BCD4017EB265844FDDABB448F1707D ) => ( 0x0000000000000000000000000000000000000000000000000000000000000000 )
                      • CErc20Delegate.balanceOf( owner=0x83f798e925BcD4017Eb265844FDDAbb448f1707D ) => ( 0 )
                        File 1 of 10: yUSDT
                        1
                        2
                        3
                        4
                        5
                        6
                        7
                        8
                        9
                        10
                        11
                        12
                        13
                        14
                        15
                        16
                        pragma solidity ^0.5.0;
                        pragma experimental ABIEncoderV2;
                        interface IERC20 {
                        function totalSupply() external view returns (uint256);
                        function balanceOf(address account) external view returns (uint256);
                        function transfer(address recipient, uint256 amount) external returns (bool);
                        function allowance(address owner, address spender) external view returns (uint256);
                        function approve(address spender, uint256 amount) external returns (bool);
                        function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);
                        event Transfer(address indexed from, address indexed to, uint256 value);
                        event Approval(address indexed owner, address indexed spender, uint256 value);
                        }
                        contract Context {
                        constructor () internal { }
                        XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

                        File 2 of 10: 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

                        File 3 of 10: AToken
                        1
                        2
                        3
                        4
                        5
                        6
                        7
                        8
                        9
                        10
                        11
                        12
                        13
                        14
                        15
                        16
                        pragma solidity ^0.5.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.
                        *
                        * Using this library instead of the unchecked operations eliminates an entire
                        * class of bugs, so it's recommended to use it always.
                        */
                        library SafeMath {
                        XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

                        File 4 of 10: InitializableAdminUpgradeabilityProxy
                        1
                        2
                        3
                        4
                        5
                        6
                        7
                        8
                        9
                        10
                        11
                        12
                        13
                        14
                        15
                        16
                        pragma solidity ^0.5.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.
                        *
                        * Using this library instead of the unchecked operations eliminates an entire
                        * class of bugs, so it's recommended to use it always.
                        */
                        library SafeMath {
                        XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

                        File 5 of 10: LendingPoolCore
                        1
                        2
                        3
                        4
                        5
                        6
                        7
                        8
                        9
                        10
                        11
                        12
                        13
                        14
                        15
                        16
                        /**
                        *Submitted for verification at Etherscan.io on 2020-01-11
                        */
                        pragma solidity ^0.5.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 10: SoloMargin
                        1
                        2
                        3
                        4
                        5
                        6
                        7
                        8
                        9
                        10
                        11
                        12
                        13
                        14
                        15
                        16
                        /*
                        Copyright 2019 dYdX Trading Inc.
                        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 10: DoubleExponentInterestSetter
                        1
                        2
                        3
                        4
                        5
                        6
                        7
                        8
                        9
                        10
                        11
                        12
                        13
                        14
                        15
                        16
                        /**
                        *Submitted for verification at Etherscan.io on 2019-08-28
                        */
                        /*
                        Copyright 2019 dYdX Trading Inc.
                        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,
                        XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

                        File 8 of 10: LoanToken
                        1
                        2
                        3
                        4
                        5
                        6
                        7
                        8
                        9
                        10
                        11
                        12
                        13
                        14
                        15
                        16
                        /**
                        * Copyright 2017-2019, bZeroX, LLC. All Rights Reserved.
                        * Licensed under the Apache License, Version 2.0.
                        */
                        pragma solidity 0.5.8;
                        /**
                        * @title ERC20Basic
                        * @dev Simpler version of ERC20 interface
                        * See https://github.com/ethereum/EIPs/issues/179
                        */
                        contract ERC20Basic {
                        function totalSupply() public view returns (uint256);
                        function balanceOf(address _who) public view returns (uint256);
                        XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

                        File 9 of 10: CErc20Delegator
                        1
                        2
                        3
                        4
                        5
                        6
                        7
                        8
                        9
                        10
                        11
                        12
                        13
                        14
                        15
                        16
                        pragma solidity ^0.5.16;
                        import "./CTokenInterfaces.sol";
                        /**
                        * @title Compound's CErc20Delegator Contract
                        * @notice CTokens which wrap an EIP-20 underlying and delegate to an implementation
                        * @author Compound
                        */
                        contract CErc20Delegator is CTokenInterface, CErc20Interface, CDelegatorInterface {
                        /**
                        * @notice Construct a new money market
                        * @param underlying_ The address of the underlying asset
                        * @param comptroller_ The address of the Comptroller
                        * @param interestRateModel_ The address of the interest rate model
                        * @param initialExchangeRateMantissa_ The initial exchange rate, scaled by 1e18
                        * @param name_ ERC-20 name of this token
                        * @param symbol_ ERC-20 symbol of this token
                        XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

                        File 10 of 10: CErc20Delegate
                        1
                        2
                        3
                        4
                        5
                        6
                        7
                        8
                        9
                        10
                        11
                        12
                        13
                        14
                        15
                        16
                        pragma solidity ^0.5.16;
                        import "./CToken.sol";
                        /**
                        * @title Compound's CErc20 Contract
                        * @notice CTokens which wrap an EIP-20 underlying
                        * @author Compound
                        */
                        contract CErc20 is CToken, CErc20Interface {
                        /**
                        * @notice Initialize the new money market
                        * @param underlying_ The address of the underlying asset
                        * @param comptroller_ The address of the Comptroller
                        * @param interestRateModel_ The address of the interest rate model
                        * @param initialExchangeRateMantissa_ The initial exchange rate, scaled by 1e18
                        * @param name_ ERC-20 name of this token
                        * @param symbol_ ERC-20 symbol of this token
                        XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX