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

[BCS classes] Added helper factory methods for Vectors and Options to instantiate Objects/AccountAddresses, + documentation #102

Closed
wants to merge 4 commits into from

Conversation

xbtmatt
Copy link
Contributor

@xbtmatt xbtmatt commented Oct 19, 2023

Adding factory methods for MoveObjects and MoveVectors with unit tests & documentation.

EDIT: removed the restriction on inputs (requiring vector/option T types to be EntryFunctionArgumentTypes and just back to Serializable. Can consider it later (it was for ABI purposes)

Test Plan

pnpm jest

@0xmaayan
Copy link
Collaborator

why do we do that?

…t any Serializable instance. Adding factory methods for MoveObjects and MoveVectors with unit tests & documentation.
@xbtmatt xbtmatt changed the title [BCS classes] Restricting generics in BCS function arg classes to using entry function types only. Added helper factory methods and documentation too [BCS classes] Added helper factory methods for Vectors and Options to instantiate Objects/AccountAddresses, + documentation Oct 25, 2023
@xbtmatt xbtmatt closed this Oct 31, 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