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

Add wasm bindings for orders #1836

Merged
merged 2 commits into from
Nov 13, 2024
Merged

Add wasm bindings for orders #1836

merged 2 commits into from
Nov 13, 2024

Conversation

azarovh
Copy link
Member

@azarovh azarovh commented Nov 11, 2024

No description provided.

Comment on lines +1267 to +1269
ask_token_id: Option<String>,
give_amount: Amount,
give_token_id: Option<String>,
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we pass Option<&str> here, for consistency with conclude_address?

Copy link
Member Author

Choose a reason for hiding this comment

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

This is done because Option<&str> is not supported by wasm

wasm-wrappers/src/lib.rs Outdated Show resolved Hide resolved
wasm-wrappers/src/lib.rs Outdated Show resolved Hide resolved
wasm-wrappers/src/lib.rs Outdated Show resolved Hide resolved
wasm-wrappers/js-bindings/wasm_test.js Outdated Show resolved Hide resolved
@azarovh azarovh merged commit 53e0c83 into master Nov 13, 2024
18 checks passed
@azarovh azarovh deleted the wasm_bindings_for_orders branch November 13, 2024 08:42
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