Module wns

Source
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§

ApproveAccounts
Accounts for the wns_approve function.
ApproveParams
Parameters for the Approve helper function.

Constants§

APPROVE_LEN
ROYALTY_BASIS_POINTS_FIELD

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.