ETH Price: $2,546.67 (-4.24%)

Transaction Decoder

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 Code
0x0f51bb10...1F56B09Ad
(MiningPoolHub)
3,431.013216517751683212 Eth3,431.016051976751683212 Eth0.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 )
    File 1 of 3: Farm
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    // File: @openzeppelin/contracts/token/ERC20/IERC20.sol
    pragma 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);
    /**
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 2 of 3: YIELDToken
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    // SPDX-License-Identifier: MIT
    pragma 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: MIT
    pragma 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,
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 3 of 3: Token
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    // File: openzeppelin-solidity/contracts/token/ERC20/IERC20.sol
    pragma 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`.
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX