Transaction Hash:
Block:
12502743 at May-25-2021 09:39:25 AM +UTC
Transaction Fee:
0.002835459 ETH
$7.22
Gas Used:
85,923 Gas / 33 Gwei
Emitted Events:
253 |
YIELDToken.Transfer( from=[Receiver] Farm, to=[Sender] 0xab0d03cfeb22fb1b5de2876f28116d1a012899ed, value=0 )
|
254 |
Token.Transfer( from=[Sender] 0xab0d03cfeb22fb1b5de2876f28116d1a012899ed, to=[Receiver] Farm, value=500000000000000000000 )
|
255 |
Token.Approval( owner=[Sender] 0xab0d03cfeb22fb1b5de2876f28116d1a012899ed, spender=[Receiver] Farm, value=9500000000000000000000 )
|
256 |
Farm.Deposit( user=[Sender] 0xab0d03cfeb22fb1b5de2876f28116d1a012899ed, pid=0, amount=500000000000000000000 )
|
Account State Difference:
Address | Before | After | State Difference | ||
---|---|---|---|---|---|
0x0f51bb10...1F56B09Ad | |||||
0x3EcEf08D...8bFf2D5bB
Miner
| (MiningPoolHub) | 3,431.013216517751683212 Eth | 3,431.016051976751683212 Eth | 0.002835459 | |
0xAB0d03Cf...A012899ED |
0.015298983 Eth
Nonce: 15
|
0.012463524 Eth
Nonce: 16
| 0.002835459 | ||
0xE33B1562...28aa1c781 |
Execution Trace
Farm.deposit( _pid=0, _amount=500000000000000000000 )
-
0x9f48313c86249a8a369c830ce0379cb634b94935.STATICCALL( )
-
YIELDToken.transfer( recipient=0xAB0d03CfEB22fB1B5dE2876f28116d1A012899ED, amount=0 ) => ( True )
-
Token.transferFrom( sender=0xAB0d03CfEB22fB1B5dE2876f28116d1A012899ED, recipient=0xE33B15629739770a27c4726a22BE61128aa1c781, amount=500000000000000000000 ) => ( True )
deposit[Farm (ln:756)]
getPaused[Farm (ln:757)]
updatePool[Farm (ln:762)]
sub[Farm (ln:764)]
div[Farm (ln:764)]
mul[Farm (ln:764)]
erc20Transfer[Farm (ln:765)]
transfer[Farm (ln:841)]
safeTransferFrom[Farm (ln:767)]
add[Farm (ln:768)]
add[Farm (ln:769)]
div[Farm (ln:770)]
mul[Farm (ln:770)]
Deposit[Farm (ln:771)]
File 1 of 3: Farm
File 2 of 3: YIELDToken
File 3 of 3: Token
12345678910111213141516// File: @openzeppelin/contracts/token/ERC20/IERC20.solpragma solidity >=0.6.0 <0.8.0;/*** @dev Interface of the ERC20 standard as defined in the EIP.*/interface IERC20 {/*** @dev Returns the amount of tokens in existence.*/function totalSupply() external view returns (uint256);/**
File 2 of 3: YIELDToken
12345678910111213141516// SPDX-License-Identifier: MITpragma solidity =0.7.4;import "./erc20permit/ERC20Permit.sol";import "@openzeppelin/contracts/token/ERC20/ERC20Burnable.sol";contract YIELDToken is ERC20Permit, ERC20Burnable {//total fixed supply of 140,736,000 tokens.constructor () ERC20Permit("Yield Protocol") ERC20("Yield Protocol", "YIELD") {super._mint(msg.sender, 140736000 ether);}}// SPDX-License-Identifier: MITpragma solidity =0.7.4;/*** @dev https://eips.ethereum.org/EIPS/eip-712[EIP 712] is a standard for hashing and signing of typed structured data.** The encoding specified in the EIP is very generic, and such a generic implementation in Solidity is not feasible,
File 3 of 3: Token
12345678910111213141516// File: openzeppelin-solidity/contracts/token/ERC20/IERC20.solpragma solidity ^0.5.0;/*** @dev Interface of the ERC20 standard as defined in the EIP. Does not include* the optional functions; to access them see `ERC20Detailed`.*/interface IERC20 {/*** @dev Returns the amount of tokens in existence.*/function totalSupply() external view returns (uint256);/*** @dev Returns the amount of tokens owned by `account`.