Skip to content

Instantly share code, notes, and snippets.

@Mrtenz
Created May 4, 2019 22:09

Revisions

  1. Mrtenz created this gist May 4, 2019.
    12 changes: 12 additions & 0 deletions ERC-777-TokenRecipient.sol
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,12 @@
    pragma solidity ^0.5.7;

    interface ERC777TokensRecipient {
    function tokensReceived(
    address operator,
    address from,
    address to,
    uint256 amount,
    bytes calldata data,
    bytes calldata operatorData
    ) external;
    }