Skip to main content

Struct FTVaultData


_18
struct FTVaultData {
_18
_18
storagePath: StoragePath
_18
_18
receiverPath: PublicPath
_18
_18
metadataPath: PublicPath
_18
_18
providerPath: PrivatePath
_18
_18
receiverLinkedType: Type
_18
_18
metadataLinkedType: Type
_18
_18
providerLinkedType: Type
_18
_18
createEmptyVault: ((): @FungibleToken.Vault)
_18
}

View to expose the information needed store and interact with a FT vault. This can be used by applications to setup a FT vault with proper storage and public capabilities.

Initializer


_10
func init(storagePath StoragePath, receiverPath PublicPath, metadataPath PublicPath, providerPath PrivatePath, receiverLinkedType Type, metadataLinkedType Type, providerLinkedType Type, createEmptyVaultFunction ((): @FungibleToken.Vault))