Skip to content

feat: return options as a struct#92

Open
DaveVodrazka wants to merge 11 commits intodevfrom
return-option-as-struct
Open

feat: return options as a struct#92
DaveVodrazka wants to merge 11 commits intodevfrom
return-option-as-struct

Conversation

@DaveVodrazka
Copy link
Contributor

No description provided.

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