Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/nifty-oss/asset
/ functions
Functions
1,066 in github.com/nifty-oss/asset
⨍
Functions
1,066
◇
Types & classes
507
↓ 52 callers
Method
is_empty
(&self)
programs/asset/program/src/utils.rs:112
↓ 27 callers
Function
createUmi
()
clients/js/asset/test/_setup.ts:5
↓ 22 callers
Function
create
( context: Pick< Context, 'eddsa' | 'identity' | 'payer' | 'programs' | 'transactions' >, input:
clients/js/asset/src/create.ts:15
↓ 19 callers
Method
add
Add a new constraint.
programs/asset/types/src/constraints/or.rs:65
↓ 18 callers
Function
getAccountMetasAndSigners
( accounts: ResolvedAccount[], optionalAccountStrategy: 'omitted' | 'programId', programId: PublicKey )
clients/js/asset/src/generated/shared/index.ts:91
↓ 16 callers
Method
size
(&self)
programs/asset/types/src/extensions/properties.rs:134
↓ 15 callers
Method
boundary
Returns the boundary of the extension. The boundary is the number of bytes from the start of the extension to the start of the next extension. This i
programs/asset/types/src/extensions/mod.rs:112
↓ 15 callers
Method
key
(&self)
programs/asset/program/src/utils.rs:117
↓ 14 callers
Method
get
Returns the extension data of a given type. This function will return the first extension of the given type. If the extension is not found, `None` is
programs/asset/types/src/state/asset.rs:101
↓ 14 callers
Function
initialize
( context: Pick< Context, 'eddsa' | 'identity' | 'payer' | 'programs' | 'transactions' >, input:
clients/js/asset/src/initialize.ts:14
↓ 12 callers
Method
try_extension_type
Try to get the extension type. The extension type is stored as a `u32` on the acccount data. This method tries to perform the conversion to an `Exten
programs/asset/types/src/extensions/mod.rs:81
↓ 11 callers
Method
instruction
(&self)
clients/rust/asset/src/generated/instructions/lock.rs:20
↓ 10 callers
Method
asset
(&mut self, asset: solana_program::pubkey::Pubkey)
clients/rust/asset/src/generated/instructions/lock.rs:77
↓ 10 callers
Method
authority
(&mut self, authority: solana_program::pubkey::Pubkey)
clients/rust/asset/src/generated/instructions/group.rs:96
↓ 10 callers
Method
data
(&mut self)
programs/asset/types/src/extensions/proxy.rs:155
↓ 10 callers
Method
name
(&mut self, name: String)
clients/rust/asset/src/generated/instructions/create.rs:214
↓ 10 callers
Method
owner
(&mut self, owner: solana_program::pubkey::Pubkey)
clients/rust/asset/src/generated/instructions/create.rs:175
↓ 10 callers
Method
payer
(&mut self, payer: solana_program::pubkey::Pubkey)
clients/rust/asset/src/generated/instructions/write.rs:105
↓ 10 callers
Method
set
Set the constraint to negate.
programs/asset/types/src/constraints/not.rs:45
↓ 10 callers
Method
system_program
(&mut self, system_program: solana_program::pubkey::Pubkey)
clients/rust/asset/src/generated/instructions/write.rs:112
↓ 8 callers
Method
length
(&self)
programs/asset/types/src/extensions/mod.rs:97
↓ 8 callers
Method
size
(&self)
programs/asset/types/src/constraints/mod.rs:185
↓ 7 callers
Function
approve
( context: Pick<Context, 'identity' | 'programs'>, input: ApproveInstructionAccounts & ApproveInstruct
clients/js/asset/src/approve.ts:13
↓ 7 callers
Function
attributes
(values: Attributes['values'])
clients/js/asset/src/extensions/attributes.ts:4
↓ 7 callers
Function
delegateInput
( kind: K, data?: any )
clients/js/asset/src/generated/types/delegateInput.ts:54
↓ 7 callers
Function
findVaultPda
( context: Pick<Context, 'eddsa' | 'programs'>, seeds: { /** The address of the mint account */ mi
clients/js/bridge/src/generated/accounts/vault.ts:156
↓ 7 callers
Method
from
(e: ProxyError)
programs/proxy/src/error.rs:27
↓ 7 callers
Function
mint
( context: Pick< Context, 'eddsa' | 'identity' | 'payer' | 'programs' | 'transactions' >, input:
clients/js/asset/src/mint.ts:14
↓ 6 callers
Function
getExtensionSerializerFromType
( type: ExtensionType )
clients/js/asset/src/extensions/index.ts:51
↓ 6 callers
Function
getNullablePublicKeySerializer
()
clients/js/asset/src/hooked/nullablePublicKey.ts:12
↓ 6 callers
Function
grouping
( maxSize: Grouping['size'] | number = 0n, delegate: Grouping['delegate'] | PublicKey = defaultPublicKey()
clients/js/asset/src/extensions/grouping.ts:5
↓ 6 callers
Method
invoke_signed
( &self, signers_seeds: &[&[&[u8]]], )
programs/asset/interface/src/generated/instructions/lock.rs:161
↓ 6 callers
Function
update
( context: Pick< Context, 'eddsa' | 'identity' | 'payer' | 'programs' | 'transactions' >, input:
clients/js/asset/src/update.ts:16
↓ 6 callers
Function
wrapSerializerInConstraintHeader
( type: OperatorType, serializer: Serializer<Omit<T, 'type'>> )
clients/js/asset/src/constraints/index.ts:106
↓ 5 callers
Method
as_bytes
(&self)
programs/asset/types/src/constraints/mod.rs:225
↓ 5 callers
Method
asset
(&mut self, asset: solana_program::pubkey::Pubkey)
programs/asset/interface/src/generated/instructions/lock.rs:77
↓ 5 callers
Method
authority
(&mut self, authority: solana_program::pubkey::Pubkey)
programs/asset/interface/src/generated/instructions/group.rs:96
↓ 5 callers
Function
creators
( creators: Omit<Creator, 'verified' | 'padding'>[] )
clients/js/asset/src/extensions/creators.ts:5
↓ 5 callers
Function
deserializeInternalAsset
( rawAccount: RpcAccount )
clients/js/asset/src/generated/accounts/internalAsset.ts:46
↓ 5 callers
Function
deserializeVault
(rawAccount: RpcAccount)
clients/js/bridge/src/generated/accounts/vault.ts:75
↓ 5 callers
Function
findProxiedAssetPda
( context: Pick<Context, 'eddsa' | 'programs'>, seeds: { /** The ephemeral stub to derive the address
clients/js/proxy/src/pda.ts:4
↓ 5 callers
Function
getExtension
( asset: Asset, extensionType: T )
clients/js/asset/src/extensions/index.ts:88
↓ 5 callers
Method
is_some
(&self)
programs/asset/types/src/state/mod.rs:149
↓ 5 callers
Function
resize
( size: usize, account: &'a AccountInfo, payer: Option<&'a AccountInfo>, system_program: Optio
programs/asset/program/src/processor/mod.rs:208
↓ 5 callers
Function
royalties
( basisPoints: Royalties['basisPoints'], constraint: Royalties['constraint'] = empty() )
clients/js/asset/src/extensions/royalties.ts:11
↓ 4 callers
Method
add_number
Add a new numeric property to the extension.
programs/asset/types/src/extensions/properties.rs:341
↓ 4 callers
Method
add_text
Add a new string property to the extension.
programs/asset/types/src/extensions/properties.rs:321
↓ 4 callers
Function
assert_delegate
( delegates: &[Option<&Delegate>], target: &Pubkey, role: DelegateRole, )
programs/asset/program/src/utils.rs:31
↓ 4 callers
Function
blob
( contentType: string, data: number[] | Uint8Array )
clients/js/asset/src/extensions/blob.ts:4
↓ 4 callers
Function
create
( context: Pick<Context, 'eddsa' | 'identity' | 'payer' | 'programs'>, input: CreateInstructionAccounts &
clients/js/proxy/src/generated/instructions/create.ts:81
↓ 4 callers
Function
createNft
( umi: Umi, input: Omit< Parameters<typeof baseCreateNft>[1], 'mint' | 'amount' | 'tokenStandard'
clients/js/bridge/test/_setup.ts:24
↓ 4 callers
Function
createUmi
()
clients/js/proxy/test/_setup.ts:5
↓ 4 callers
Function
empty
()
clients/js/asset/src/constraints/empty.ts:8
↓ 4 callers
Method
extension
(&mut self, extension: ExtensionInput)
clients/rust/asset/src/generated/instructions/update.rs:203
↓ 4 callers
Method
extension_type
Returns the extension type. This method is similar to `try_extension_type`, but panics if the `u32` value on the account data cannot be converted to
programs/asset/types/src/extensions/mod.rs:89
↓ 4 callers
Method
extensions
(&mut self, extensions: Vec<ExtensionInput>)
clients/rust/asset/src/generated/instructions/create.rs:232
↓ 4 callers
Function
fetchVault
( context: Pick<Context, 'rpc'>, publicKey: PublicKey | Pda, options?: RpcGetAccountOptions )
clients/js/bridge/src/generated/accounts/vault.ts:79
↓ 4 callers
Function
findBridgeAssetPda
( context: Pick<Context, 'eddsa' | 'programs'>, seeds: { /** The address of the mint */ mint: Publ
clients/js/bridge/src/pda.ts:7
↓ 4 callers
Function
getConstraintSerializer
()
clients/js/asset/src/constraints/index.ts:31
↓ 4 callers
Function
getStandardSerializer
()
clients/js/asset/src/generated/types/standard.ts:20
↓ 4 callers
Function
links
(values: Link[])
clients/js/asset/src/extensions/links.ts:4
↓ 4 callers
Function
manager
( address: Delegate['address'], roles: Delegate['roles'] | DelegateRole )
clients/js/asset/src/extensions/manager.ts:4
↓ 4 callers
Method
mask
(&self)
programs/asset/types/src/state/delegate.rs:100
↓ 4 callers
Function
metadata
( input?: Partial<Pick<Metadata, 'symbol' | 'description' | 'uri' | 'imageUri'>> )
clients/js/asset/src/extensions/metadata.ts:4
↓ 4 callers
Function
mint
Returns a vector of instructions to fully mint an asset, including with extensions. The instructions are returned in the order they should be executed
clients/rust/asset/src/mint.rs:318
↓ 4 callers
Function
transfer
( context: Pick<Context, 'identity' | 'programs'>, input: TransferInstructionAccounts & { proxy?: PublicKe
clients/js/asset/src/transfer.ts:12
↓ 3 callers
Function
allocate
( context: Pick< Context, 'eddsa' | 'identity' | 'payer' | 'programs' | 'transactions' >, input:
clients/js/asset/src/allocate.ts:8
↓ 3 callers
Method
assert
(&self, context: &Context)
programs/asset/types/src/constraints/or.rs:31
↓ 3 callers
Function
create
( context: Pick<Context, 'eddsa' | 'identity' | 'payer' | 'programs'>, input: CreateInstructionAccounts &
clients/js/bridge/src/generated/instructions/create.ts:84
↓ 3 callers
Function
createProgrammableNft
( umi: Umi, input: Omit< Parameters<typeof baseCreateNft>[1], 'mint' | 'amount' | 'tokenStandard'
clients/js/bridge/test/_setup.ts:40
↓ 3 callers
Function
create_account
(ctx: &Context<Allocate>, space: usize)
programs/asset/program/src/processor/allocate.rs:137
↓ 3 callers
Function
expectPublicKey
( value: PublicKey | Pda | Signer | null | undefined )
clients/js/bridge/src/generated/shared/index.ts:41
↓ 3 callers
Function
getDelegateSerializer
()
clients/js/asset/src/generated/types/delegate.ts:26
↓ 3 callers
Function
getDiscriminatorSerializer
()
clients/js/asset/src/generated/types/discriminator.ts:18
↓ 3 callers
Function
getExtensionInputSerializer
()
clients/js/asset/src/generated/types/extensionInput.ts:35
↓ 3 callers
Function
getStateSerializer
()
clients/js/asset/src/generated/types/state.ts:18
↓ 3 callers
Function
getTypeSerializer
()
clients/js/asset/src/generated/types/type.ts:19
↓ 3 callers
Function
group
( context: Pick<Context, 'identity' | 'programs'>, input: GroupInstructionAccounts & { proxy?: PublicKey }
clients/js/asset/src/group.ts:12
↓ 3 callers
Method
into_bytes
(self)
programs/asset/types/src/constraints/mod.rs:65
↓ 3 callers
Method
invoke_signed_with_remaining_accounts
( &self, signers_seeds: &[&[&[u8]]], remaining_accounts: &[( &'b solana_pr
programs/asset/interface/src/generated/instructions/unverify.rs:169
↓ 3 callers
Method
invoke_signed_with_remaining_accounts
( &self, signers_seeds: &[&[&[u8]]], remaining_accounts: &[( &'b solana_pr
programs/asset/interface/src/generated/instructions/lock.rs:169
↓ 3 callers
Method
invoke_signed_with_remaining_accounts
( &self, signers_seeds: &[&[&[u8]]], remaining_accounts: &[( &'b solana_pr
programs/asset/interface/src/generated/instructions/group.rs:188
↓ 3 callers
Method
invoke_signed_with_remaining_accounts
( &self, signers_seeds: &[&[&[u8]]], remaining_accounts: &[( &'b solana_pr
programs/asset/interface/src/generated/instructions/revoke.rs:198
↓ 3 callers
Method
invoke_signed_with_remaining_accounts
( &self, signers_seeds: &[&[&[u8]]], remaining_accounts: &[( &'b solana_pr
programs/asset/interface/src/generated/instructions/remove.rs:245
↓ 3 callers
Method
invoke_signed_with_remaining_accounts
( &self, signers_seeds: &[&[&[u8]]], remaining_accounts: &[( &'b solana_pr
programs/asset/interface/src/generated/instructions/ungroup.rs:188
↓ 3 callers
Method
invoke_signed_with_remaining_accounts
( &self, signers_seeds: &[&[&[u8]]], remaining_accounts: &[( &'b solana_pr
programs/asset/interface/src/generated/instructions/close.rs:170
↓ 3 callers
Method
invoke_signed_with_remaining_accounts
( &self, signers_seeds: &[&[&[u8]]], remaining_accounts: &[( &'b solana_pr
programs/asset/interface/src/generated/instructions/write.rs:224
↓ 3 callers
Method
invoke_signed_with_remaining_accounts
( &self, signers_seeds: &[&[&[u8]]], remaining_accounts: &[( &'b solana_pr
programs/asset/interface/src/generated/instructions/allocate.rs:231
↓ 3 callers
Method
invoke_signed_with_remaining_accounts
( &self, signers_seeds: &[&[&[u8]]], remaining_accounts: &[( &'b solana_pr
programs/asset/interface/src/generated/instructions/create.rs:358
↓ 3 callers
Method
invoke_signed_with_remaining_accounts
( &self, signers_seeds: &[&[&[u8]]], remaining_accounts: &[( &'b solana_pr
programs/asset/interface/src/generated/instructions/unlock.rs:169
↓ 3 callers
Method
invoke_signed_with_remaining_accounts
( &self, signers_seeds: &[&[&[u8]]], remaining_accounts: &[( &'b solana_pr
programs/asset/interface/src/generated/instructions/update.rs:322
↓ 3 callers
Method
invoke_signed_with_remaining_accounts
( &self, signers_seeds: &[&[&[u8]]], remaining_accounts: &[( &'b solana_pr
programs/asset/interface/src/generated/instructions/verify.rs:169
↓ 3 callers
Method
invoke_signed_with_remaining_accounts
( &self, signers_seeds: &[&[&[u8]]], remaining_accounts: &[( &'b solana_pr
programs/asset/interface/src/generated/instructions/handover.rs:189
↓ 3 callers
Method
invoke_signed_with_remaining_accounts
( &self, signers_seeds: &[&[&[u8]]], remaining_accounts: &[( &'b solana_pr
programs/asset/interface/src/generated/instructions/approve.rs:217
↓ 3 callers
Method
invoke_signed_with_remaining_accounts
( &self, signers_seeds: &[&[&[u8]]], remaining_accounts: &[( &'b solana_pr
programs/asset/interface/src/generated/instructions/transfer.rs:216
↓ 3 callers
Method
invoke_signed_with_remaining_accounts
( &self, signers_seeds: &[&[&[u8]]], remaining_accounts: &[( &'b solana_pr
programs/asset/interface/src/generated/instructions/burn.rs:221
↓ 3 callers
Method
invoke_signed_with_remaining_accounts
( &self, signers_seeds: &[&[&[u8]]], remaining_accounts: &[( &'b solana_pr
programs/asset/interface/src/generated/instructions/resize.rs:246
↓ 3 callers
Method
invoke_signed_with_remaining_accounts
( &self, signers_seeds: &[&[&[u8]]], remaining_accounts: &[( &'b solana_pr
clients/rust/bridge/src/generated/instructions/bridge.rs:613
↓ 3 callers
Method
invoke_signed_with_remaining_accounts
( &self, signers_seeds: &[&[&[u8]]], remaining_accounts: &[( &'b solana_pr
clients/rust/bridge/src/generated/instructions/create.rs:354
↓ 3 callers
Method
invoke_signed_with_remaining_accounts
( &self, signers_seeds: &[&[&[u8]]], remaining_accounts: &[( &'b solana_pr
clients/rust/asset/src/generated/instructions/unverify.rs:169
next →
1–100 of 1,066, ranked by callers