neo-devpack-solidity 0.22.0

Production-focused Solidity-to-NeoVM compilation system
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.19;

/**
 * @title NEP-27 NEP-17 Receiver Callback
 * @dev Callback invoked when a contract receives NEP-17 tokens.
 * Spec: https://github.com/neo-project/proposals/blob/master/nep-27.mediawiki
 */
interface INEP27Receiver {
    function onNEP17Payment(
        address from,
        uint256 amount,
        bytes calldata data
    ) external;
}