Papaya Finance Protocol
SDKProtocol
  • Introduction
  • Interaction
  • Getting Started
    • Initial Setup
    • Integration Steps
    • Go Live
  • Features
    • Real-Time Payment Streaming
    • Supported Networks
    • Business Dashboard
  • Use Cases
    • For Enterprises
    • For Financial Services
    • For Digital Economy
  • FAQ
  • Glossary
  • Future Development
  • Protocol
    • Common Methods
    • Recurring Payments
    • Subscription Methods
    • Auto Top-up
    • Liquidations
    • Fees
    • Advanced Section
      • Events
      • Subscriptions
      • Projects
      • Signatures
  • SDK
    • Installation
    • Quick Start
    • API
      • PapayaGetter
      • PapayaInteraction
      • PapayaBySigInteraction
Powered by GitBook
On this page
  1. Protocol
  2. Advanced Section

Events

PreviousAdvanced SectionNextSubscriptions

Last updated 8 months ago


This event emits when certain project sets general settings by its owner

event SetDefaultSettings(uint256 indexed projectId, uint16 protocolFee);

This event emits when certain projects sets sets settings for certain user by owner of projectId

event SetSettingsForUser(uint256 indexed projectId, address indexed user, uint16 protocolFee);

Note this is convenient when you work with someone who has special needs about how much percentage of the revenue they will pay you


This event emits every time when every subscription created

event StreamCreated(address indexed user, address indexed author, uint256 indexed encodedRates);

Note this event is really useful if you want to create your own backend, because of it you can track every subscription of entire smart-contract and do what you need.


This event emits every time when every subscription ended, it can be done with user or liquidator

event StreamRevoked(address indexed user, address indexed author, uint256 indexed encodedRates);

This event emits every time when somebody is liquidated

event Liquidated(address indexed user, address indexed liquidator);

You can check our explanation of liquidations here:


This event emits every time when native token and our abstract token moves

event Transfer(address indexed _from, address indexed _to, uint256 _value);

This event emits every time when somebody takes his own projectId

event ProjectIdClaimed(uint256 projectId, address admin);
Liquidations