Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IERC1155Sell interface for a depositPeriod aware sell #40

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

lucasia
Copy link

@lucasia lucasia commented Oct 3, 2024

What's new in this PR?

  • IERC1155Sell example interface with requestSell() that specifies the depositPeriods to sell

Why?

  • In the Credbull LiquidStone product, returns depend on the holding period. For example, if you hold for 30 days, you receive the full 10% APY. Holding for days 1-29 you receive the prevailing T-Bill rate.
  • Our contracts extend ERC1155 to implement this behavior. Each depositPeriod has a different ERC1155 share token specific for that day.
  • This is an example interface where the seller specifies the depositPeriods they want to sell from. If the seller doesn't want to instruct, Credbull can choose the depositPeriods to sell down on their behalf.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant