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

Docs: Stacks predicates: Added example for contains to use regex #394

Merged
merged 3 commits into from
Aug 23, 2023

Conversation

LakshmiLavanyaKasturi
Copy link
Contributor

Added example JSON to use regex for contains.

Get any transaction calling a specific method for a given contract **directly**.

> [!Warning]
> If the observed method is being called by another contract, this predicate won't detect it.

- `contract-identifier` mandatory argument admits:
- string type, fully qualifying the contract to observe. Example: `SP000000000000000000002Q6VF78.pox` `method` mandatory argument admits: - string type, used for specifying the method to observe. Example: `stack-stx`.
- string type, fully qualifying the contract to observe. Example: `SP000000000000000000002Q6VF78.pox` `method` mandatory argument admits: - string type, used for specifying the method to observe. Example: `stack-stx`
Copy link

Choose a reason for hiding this comment

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

method? 🤔

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Method is supposed to go in the next line as a new argument. Fixed the formatting. Thanks!

@LakshmiLavanyaKasturi
Copy link
Contributor Author

@MicaiahReid, Good to go?

@LakshmiLavanyaKasturi LakshmiLavanyaKasturi merged commit deca005 into develop Aug 23, 2023
@LakshmiLavanyaKasturi LakshmiLavanyaKasturi deleted the add-regex-for-print-event branch August 23, 2023 15:06
@github-actions
Copy link

🎉 This PR is included in version 1.1.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants