Type alias ContractReceiver

ContractReceiver: {
    address: ContractAddress.Type;
    hookName: EntrypointName.Type;
}

A contract address along with the name of the hook to be triggered when receiving a CIS-2 transfer.

Type declaration

  • address: ContractAddress.Type

    Contract address to receive tokens

  • hookName: EntrypointName.Type

    Name of the entrypoint to be called on receiver contract. This is only the name of the function, NOT including the contract name

Generated using TypeDoc