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

Development #76

Merged
merged 197 commits into from
Jun 1, 2023
Merged

Development #76

merged 197 commits into from
Jun 1, 2023

Conversation

aleeusgr
Copy link
Owner

@aleeusgr aleeusgr commented May 2, 2023

  • redeem tx
  • cancel vesting
  • rfl and refactor
  • remove warnings

needed to get access to newer features around time

BREAKING CHANGE: 106
new helios version requires stating arg to main explicitly

BREAKING CHANGE: 106, 105, 104
fixing errors after updating to helios-0.14.0

105
Slot out of range.

BREAKING CHANGE:
…workParam file

the goal is to get validFrom and validAfter to work
Oracle
Ok, alice had a wallet and a utxos, then she locked a utxo, then she unlocked it.

106
another building block; this file adds cancelVesting path. In the
vesting example, first path is always lockAda (naming?), which creates a
validator utxo with a value; what can happen next: either bob, the
recipient, waits long enough till the tx will validate, or, as executed
here, alice decides to withdraw the money.

What will be different in ClaimVesting?
It is described in the Redeemer. But redeemer gets passed with the
transaction.
Q: Is Redeemer publically available info?

Ok, what's next?
- [ ] encapsulate, because lock and unlock are basic building blocks, it
  will be simpler to use cancelVesting as template then to build
- [ ] change the Redeemer in the script to correspond to another
  contract.
- [ ] add a transaction that uses the Redeemer and a Datum...
Thinking whats next

#54, #82
Copy link
Owner Author

@aleeusgr aleeusgr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • deprecate old-tests
  • review src/vesting.js
  • review clean-up test/helios-vesting.test
  • naming and refactor?

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

deprecate

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh yeah

@@ -0,0 +1,34 @@
spending vesting
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

loan


struct Datum {
creator: PubKeyHash
beneficiary: PubKeyHash
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nft: mintingPolicyHash

struct Datum {
creator: PubKeyHash
beneficiary: PubKeyHash
deadline: Time
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think I don't need this

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

-[ ] review main()

tests/helios-vesting.test.ts Outdated Show resolved Hide resolved
@aleeusgr aleeusgr merged commit c5f7c26 into main Jun 1, 2023
1 check passed
@aleeusgr aleeusgr deleted the development branch June 15, 2023 05:10
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.

None yet

1 participant