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

feat: return options as a struct #92

Open
wants to merge 11 commits into
base: dev
Choose a base branch
from
Open

Conversation

DaveVodrazka
Copy link
Contributor

No description provided.

@@ -93,7 +94,7 @@ func save_all_non_expired_options_with_premia_to_array{syscall_ptr: felt*, peder

return save_all_non_expired_options_with_premia_to_array(
lptoken_address,
array_len_so_far + OptionWithPremia.SIZE,
array_len_so_far + 1,
Copy link
Member

Choose a reason for hiding this comment

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

now the array length is not x*7, but x because of element in the array being OptionWithPremia

@MarekHauzr MarekHauzr force-pushed the dev branch 2 times, most recently from 4401ff0 to 65e3cf2 Compare February 27, 2023 16:48
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.

3 participants