We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
pub async fn get_pools(&self) -> Result<()> { // 0x1eabed72c53feb3805120a081dc15963c204dc8d091542592abaf7a35689b2fb::factory::CreatePoolEvent let query = EventFilter::MoveEventType( StructTag::from_str("0x1eabed72c53feb3805120a081dc15963c204dc8d091542592abaf7a35689b2fb::factory::CreatePoolEvent") ); let mut cursor = Option::None; self.sui .event_api() .query_events(query, cursor, None, false); Ok(()) }
failed to resolve: use of undeclared type StructTag use of undeclared type StructTag
StructTag
It seems that the sui-sdk cannot import the StructTag struct. How should I resolve this?
The text was updated successfully, but these errors were encountered:
You'd need to import move-core-types from here: https://github.com/MystenLabs/sui/tree/main/external-crates/move/crates/move-core-types
move-core-types
Sorry, something went wrong.
ronny-mysten
No branches or pull requests
failed to resolve: use of undeclared type
StructTag
use of undeclared typeStructTag
It seems that the sui-sdk cannot import the StructTag struct. How should I resolve this?
The text was updated successfully, but these errors were encountered: