Transaction Hash:
Block:
10580753 at Aug-02-2020 01:41:17 PM +UTC
Transaction Fee:
0.011841895 ETH
$29.96
Gas Used:
182,183 Gas / 65 Gwei
Emitted Events:
182 |
CErc20.AccrueInterest( interestAccumulated=1063528794703915723804, borrowIndex=1071552136840036722, totalBorrows=41022292936871972255298194 )
|
183 |
Unitroller.0x2caecd17d02f56fa897705dcc740da2d237c373f70686f4e0d9bd3bf0400ea7a( 0x2caecd17d02f56fa897705dcc740da2d237c373f70686f4e0d9bd3bf0400ea7a, 0x000000000000000000000000b3319f5d18bc0d84dd1b4825dcde5d5f7266d407, 0x0000000000000000000000002dca345284d6038ec9dcac702f37d95be7c3fc25, 0000000000000000000000000000000000000000000000000000000000000000, 00000000000000000000000000000008b05ee2160f610e15bf6ea621c7369d06 )
|
184 |
ZRXToken.Transfer( _from=[Sender] 0x2dca345284d6038ec9dcac702f37d95be7c3fc25, _to=[Receiver] CErc20, _value=50746766980000000000 )
|
185 |
CErc20.Mint( minter=[Sender] 0x2dca345284d6038ec9dcac702f37d95be7c3fc25, mintAmount=50746766980000000000, mintTokens=251395715432 )
|
186 |
CErc20.Transfer( from=[Receiver] CErc20, to=[Sender] 0x2dca345284d6038ec9dcac702f37d95be7c3fc25, amount=251395715432 )
|
Account State Difference:
Address | Before | After | State Difference | ||
---|---|---|---|---|---|
0x2dCa3452...be7c3FC25 |
0.083699766 Eth
Nonce: 20
|
0.071857871 Eth
Nonce: 21
| 0.011841895 | ||
0x3d981921...9B9c9Cd3B | (Compound: Comptroller) | ||||
0x829BD824...93333A830
Miner
| (F2Pool Old) | 3,995.820867210964617991 Eth | 3,995.832709105964617991 Eth | 0.011841895 | |
0xB3319f5D...f7266d407 | |||||
0xE41d2489...F4699F498 |
Execution Trace
CErc20.mint( mintAmount=50746766980000000000 ) => ( 0 )

-
ZRXToken.balanceOf( _owner=0xB3319f5D18Bc0D84dD1b4825Dcde5d5f7266d407 ) => ( 87865695778147754729138472 )
-
WhitePaperInterestRateModel.getBorrowRate( cash=87865695778147754729138472, borrows=41021229408077268339574390, _reserves=293021871004838479459307 ) => ( 0, 54928606586 )
Unitroller.4ef4c3e1( )
Comptroller.mintAllowed( cToken=0xB3319f5D18Bc0D84dD1b4825Dcde5d5f7266d407, minter=0x2dCa345284d6038ec9DcAc702f37d95be7c3FC25, mintAmount=50746766980000000000 ) => ( 0 )
-
CErc20.STATICCALL( )
-
CErc20.balanceOf( owner=0x2dCa345284d6038ec9DcAc702f37d95be7c3FC25 ) => ( 0 )
-
-
ZRXToken.allowance( _owner=0x2dCa345284d6038ec9DcAc702f37d95be7c3FC25, _spender=0xB3319f5D18Bc0D84dD1b4825Dcde5d5f7266d407 ) => ( 115792089237316195423570985008687907853269984665640564039457584007913129639935 )
-
ZRXToken.balanceOf( _owner=0x2dCa345284d6038ec9DcAc702f37d95be7c3FC25 ) => ( 50746766980000000000 )
-
ZRXToken.balanceOf( _owner=0xB3319f5D18Bc0D84dD1b4825Dcde5d5f7266d407 ) => ( 87865695778147754729138472 )
-
ZRXToken.transferFrom( _from=0x2dCa345284d6038ec9DcAc702f37d95be7c3FC25, _to=0xB3319f5D18Bc0D84dD1b4825Dcde5d5f7266d407, _value=50746766980000000000 ) => ( True )
Unitroller.41c728b9( )
-
Comptroller.mintVerify( cToken=0xB3319f5D18Bc0D84dD1b4825Dcde5d5f7266d407, minter=0x2dCa345284d6038ec9DcAc702f37d95be7c3FC25, actualMintAmount=50746766980000000000, mintTokens=251395715432 )
-
mint[CErc20 (ln:2420)]
mintInternal[CErc20 (ln:2421)]
File 1 of 5: CErc20
File 2 of 5: Unitroller
File 3 of 5: ZRXToken
File 4 of 5: WhitePaperInterestRateModel
File 5 of 5: Comptroller
12345678910111213141516// File: contracts/ComptrollerInterface.solpragma solidity ^0.5.8;interface ComptrollerInterface {/*** @notice Marker function used for light validation when updating the comptroller of a market* @dev Implementations should simply return true.* @return true*/function isComptroller() external view returns (bool);/*** Assets You Are In ***/function enterMarkets(address[] calldata cTokens) external returns (uint[] memory);function exitMarket(address cToken) external returns (uint);
File 2 of 5: Unitroller
12345678910111213141516// File: contracts/ErrorReporter.solpragma solidity ^0.5.8;contract ComptrollerErrorReporter {enum Error {NO_ERROR,UNAUTHORIZED,COMPTROLLER_MISMATCH,INSUFFICIENT_SHORTFALL,INSUFFICIENT_LIQUIDITY,INVALID_CLOSE_FACTOR,INVALID_COLLATERAL_FACTOR,INVALID_LIQUIDATION_INCENTIVE,MARKET_NOT_ENTERED,MARKET_NOT_LISTED,
File 3 of 5: ZRXToken
12345678910111213141516/*Copyright 2017 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 athttp://www.apache.org/licenses/LICENSE-2.0Unless required by applicable law or agreed to in writing, softwaredistributed 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 andlimitations under the License.
File 4 of 5: WhitePaperInterestRateModel
12345678910111213141516// File: contracts/CarefulMath.solpragma solidity ^0.5.8;/*** @title Careful Math* @author Compound* @notice Derived from OpenZeppelin's SafeMath library* https://github.com/OpenZeppelin/openzeppelin-solidity/blob/master/contracts/math/SafeMath.sol*/contract CarefulMath {/*** @dev Possible error codes that we can return*/enum MathError {
File 5 of 5: Comptroller
12345678910111213141516pragma solidity ^0.5.16;import "./ComptrollerInterface.sol";import "./CTokenInterfaces.sol";import "./ErrorReporter.sol";import "./Exponential.sol";import "./EIP20Interface.sol";import "./EIP20NonStandardInterface.sol";import "./InterestRateModel.sol";/*** @title Compound's CToken Contract* @notice Abstract base for CTokens* @author Compound*/contract CToken is CTokenInterface, Exponential, TokenErrorReporter {/*** @notice Initialize the money market