Skip to content

[Feature] Add support for PTB execution #22

@LKY-stephen

Description

@LKY-stephen

Basic Information

Current deposit pool and reward pool user-oriented functions are designed for user operation. However, to support delegation through PTB, need to add APIs.

Problem Statement

Add APIs so user operations can be chunked together

Proposed Solution

For withdrawal, redemption, or deposit, provide an additional API that returns loyalty token, reward, and receipt directly.

Implementation Considerations

For withdrawal, redemption, or deposit, provide an additional API that returns loyalty token, reward, and receipt directly.

Success Metrics

  1. Successful upgrade contract
  2. Old objects should not be affected
  3. The new API should be used continually.

Additional Context

No response

Request Checklist

  • I have searched for existing similar feature requests
  • I have clearly described the problem this solves
  • I have considered and documented alternatives
  • I have provided business justification
  • I understand this will be evaluated against other priorities

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions