Expand description
WNS types and functions for the SPL Token 2022 program.
This module provides types and functions to interact with the WNS program while there is no WNS crate available.
TODO: This can be removed once the WNS crate is available and our programs are compatible with Solana v1.18.
Structs§
- Approve
Accounts - Accounts for the
wns_approvefunction. - Approve
Params - Parameters for the
Approvehelper function.
Constants§
Statics§
- ID
- The static program ID
Functions§
- approve
- Approves a WNS token transfer.
- check_
id - Confirms that a given pubkey is equivalent to the program ID
- id
- Returns the program ID
- validate_
mint - Validates a WNS Token 2022 non-fungible mint account.