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

PLT-7511: Vesting POC #35

Closed
wants to merge 5 commits into from
Closed

PLT-7511: Vesting POC #35

wants to merge 5 commits into from

Conversation

bjornkihlberg
Copy link
Contributor

No description provided.

<script type="module">
import { Browser } from "@marlowe.io/runtime-lifecycle";

function vestingContract(
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This procedure is copied directly from marlowe-vesting repository.


debugger;

const runtimeLifeCycle = await Browser.mkRuntimeLifecycle({
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Everything of interest starts here.

Comment on lines +243 to +245
runtimeLifeCycle.contracts.applyInputs(contractId, (next) => ({
inputs: [],
}));
Copy link
Contributor Author

@bjornkihlberg bjornkihlberg Sep 28, 2023

Choose a reason for hiding this comment

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

I want to advance the contract when the timeout continuation should be ready to proceed but I'm not sure what happens here.

@nhenin nhenin closed this Oct 4, 2023
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.

2 participants