diff --git a/docs/assets/navigation.js b/docs/assets/navigation.js index 5df95a875..4203d600e 100644 --- a/docs/assets/navigation.js +++ b/docs/assets/navigation.js @@ -1 +1 @@ -window.navigationData = "data:application/octet-stream;base64,H4sIAAAAAAAAA7WY32/TMBCA/5c8tyCmCaE+UYqQkOhAdIKHaaq8+NJYc+wQO4wN7X9HSbomTfzjkpi3Sbv7vsyX+O528zfS8EdHq+i9kpwIslQl0xAtojhlnBYgotXNKYawghYyjxZRTnQaraJM0pKDer1vkvd18v4Y9irVGY8W0T0TNFpdmJHrcci1CX1pRhfwqwSlW3RSilgzKXzwY+K55O3l8+3z7fPihI9llhegFNClSLTvD2ij9yLRqKPZnFKuRvPPclGntctJDK0l5kSpcZaacO56c/Gue2KExyUnGurIjcTUxmkcAgc169gLeImcq21JDl/CBP3wuJGcQ62YKe3jvOYtE3PPtwV5bV8fBBRBdDXJ4TsQ9QWU+ggcDkTPrWWP5vdeF0SoZPbf2qM5vNn8OmbuCla/DvaensMcVgU6UA07JIdPhymctlXsvDtkkEnfnV3FoDrBFgvbDoiW2765wvxH0VKbDMf5UoglHYVsMhxIEGORTUao26rluq6mXuFLrpliB2+9jnG4F2AsdGukz30ZBnTvS3EA/Vkkcgr7mOqAM7WmtPoyp+BPyZ565ikRWma+kz+Goar5rYnd5fxa3oPAontpqNISSv2HYxMQSmf3JRvb2JK65/4dDiUnBWL0fVG0GaijGff8Hbjl0bsPXzTRmMXgGIreCvDn0iWPPJu7skDMARZBleydw6uGTXC936LpcbxG3DzslHkm4SboBxQsedxUP0tEj3EKz1hI8449AR0zziGeoMcMuvVY9P9p33HaQm46TpFvx0kKgKfpn0aT7t9lZh1ZhxFya3Lbgu1LFk3gTclhQb3ZOiUPky1VcpB9yMbHbUJK8qUgmv0GX8NSku+bSFQn3El+NZZ7ykG1wVEfvNEy6l8a+I/E6MJ/IvjSG0XWwg8NP5lOh8vLJFsX5Xvlcr7UmNFa5Xyvh8O07YVDDuwtNfysbmC7x3TcKGfAosa4T3WnWZc6lQXTj5NERlKgcc6qQ7X6yY7w44RVEmqUMAmQY8SIe2soCd3YDQpPU8c1WQM3WIM1sXHNtdSMK999VAf1briK8w8EYDlU/RsAAA==" \ No newline at end of file +window.navigationData = "data:application/octet-stream;base64,H4sIAAAAAAAAA7WYbW/TMBDHv0teryDQhNBeUYqQkOhAdIIXE6pMcmmsOXZwHMaG+O7koWvSxA/nxKhv2uTu90/ubN9db/9ECn6r6Cp6UwpGOFmVFVUQXURxRlkigUdXtycbQmUiRVHfLYjK6gu5SCoG5fN957xvnfdHs2eZyllte0d5El291CPXfsi1Dn2pR0v4WUGpenRa8VhRwV3wo+O5yKvLv9/rz8UJH4u8kFCWkKx4qlwv0Fvva2tUaDYnl2tv/pkvKlq7gsTQq8SM1N5eKi3hXOvFy9fDiBEWV4woaC03ApMbq+IUOMnZQF3Ck+VS2Z5k0UvrS28fNoIxaCUWio5xTuUt5Uvj24Ocap/uOcggci3Joncg5cfa5R0wOBC1NJcjmlv3RhJepovfdUSz6ObL85jbM9jcDrZOz2EW1RJUoBwOSBY9FSZxypSx8+qQQy5cZ3Zjg6oEWyxsOyEaTvvuCHOHoqd2Hpb4JhCLxAvZeViQwH2RnUeo06rn2o6mUeIrpmhJD858He1wC8AXutXSly6GCd25KA6gPvBUzGEfXS1wWq6TpNmZc/AnZ0c+i4xwJXJX5I9mqGx+7mx3BbsRd8Cx6JEbKrUkSdzBMQnUzovrkomtLUnDuH+BQ93aSUTr+yTRe6BC4/f8A7jh0YcPLztrzGBwNEVPBfi4DMmesflRSUQfYBBonJ19eFOwCa72G2RGHKcirh+2ijk64c7oK0iaPmya7wJRY6yCZyyk8o4+QuLTziGeYMQMOvUY5P/TvGNVCznpWIVcM04qAR7nb43O3T3LLArZgBFyarKrBZuXDDKBJyWLCmplq4zcz1ZpnIPMQyY+bhKqUStOFP0FroJV/9h3lqhKuBPs2pd78kGVQa8Nr1Xx+ksDv0m0Wvgtgk+9VsiY+KnCN6qy6fAyS22Ici25gq0UprWuDfdq2kybFhyyYe+p4Xt1DdvepuNaOQ0W1ca9byvNulKZkFQ9zBLSkgK1c0Y5VKmfrRG+nTCKhGoldALINsLj3JqKhC7sGglHUccVWQ03WIHVsXHFtVKUla7zqDUanXAN5x8EYDlU/RsAAA==" \ No newline at end of file diff --git a/docs/assets/search.js b/docs/assets/search.js index 50130c746..b5c1050be 100644 --- a/docs/assets/search.js +++ b/docs/assets/search.js @@ -1 +1 @@ -window.searchData = "data:application/octet-stream;base64,H4sIAAAAAAAAA71c34/bRg7+X3SviuP5KXufuk1xQIBLW1yK9sFYLFRrdleoLPksObl0sf97MdLIIuWhLcl2npzdJTnf8CM5HFrKa7ArvpbB3eo1+CvNk+COh0Eeb0xwF/xQFlmcx+/KfVqZ93G6S3bFNgiD/S4L7oJNkewzU75/bKQea6lHJzV7qTZZEAbrLC5LUwZ3QfAWtivIwwr3o2zek7bDYBvvTF6RoLvFdbf6zvxvb8rqsPrTPl9XaZGfW9/pTcDRmgB4KHevi812Z8rSJO/yp+qMhzrhx/zJB8zn/A8HpZ/HLoBUx/iht6sOFuOLA7DP23htDoCc2TGAagPTYWFrAKRiHVvrIi+r3X5dFbvrQP0Xtngp7MYy9PCcd9yX9o+/fM3NtcAjg1fHzueyC49nU92Xpak+JlfCjgxeHTsoOOs4W++zuDK1zIdiQO05uYdjezcIeoh/Z9rFLgTeGbot4qc0T3789qHIMlOjvAx239r3wP4pzS+Mks7O98CLi8oFgGtDt0X8HJf/MWX5k8nMc1xdGNM9Y98F+W+7OC+fLvV3z9htkW8ujufNzSPZrnCtmoFt3RZ3aarrxDIwdFvE1VUCuLpd5FLt+cZsijM9sxUZ2Ip/Gmjtk98kucka5Ymj/Kzbu1UbhbGL17p+BIlZF8kYBI3CFRGYfCSCRuGKCMYcmR2MieejDwsZ3vusSsv0+VxQOrGhYT7S6ifaPL3Ldo2Lwv4IwYTw79sgTnJTfcyfigmQnOYNMKXlfZLYajgB1UH3WrioEN2+xHlVbM7EkpMaGKC/NtK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QB64itEpT+fKVg3hj1IrN5BaqAS0XIm0pcj/yNqIYdGjoKAkD3UYWVcnLIvOQC6qLoo7BowMQlIWTOke1FoQwFQ++QFDAO5oK+WZU7unyWM+1pG7XbCEX9WKZVD8qIiB8+emVvekKvMypM633ggQIYLBrcdplLoOQNkxgkqn2mQLkLTmgWhy+CkGasDE97S73fQgIEOBqMgGar57AgiDJlWsiIspVRzEplwPg+g5VDphh7WHqkl0tHAyq6LQGv6bViy9oJExN7zn5EAbbdGuyNDfB3erh7e0f2vF5dRdGAAA="; \ No newline at end of file +window.searchData = "data:application/octet-stream;base64,H4sIAAAAAAAAA71cbY/bNhL+L+pXxTFfZe+n7uVQoMCld7gU7YdgsVBt7a5Q+eVsObl0sf+9pERZMzLHFiU7nxytZ4YP55kZDmkqr9Fu83Uf3X1+jf7M18vojsfROl1l0V30435TpOv03f6Ql9n7NN8td5ttFEeHXWG+XW2WhyLbv3+spR4rqUcnNXkpV4URXRTpfp8Z81H0FjcjyOMI90E270nbcbRNd9m6JEG3g+t29F32v0O2L4+jPx3WizLfrC+N7/QG4GhMADyUuxeb1XaXGcPLd+un8oKHWuFHI9zT+R+OSr+EDoBUQ/zQmVULi/HZEdinbbrIjoCc2RBAlYHhsLA1AFKxlq2FiZNyd1iUm911oP6ALY6FXVuGHp7ylvu9/fLfX9fZtcAjg1fHzqeyDY/nrLw3guXPyythRwavjh0UnEVaLA5FWmaVzIdNj9pzdg6n9m4Q9BD/LmsGGwm8NXRbxE/mD//49mFTFFmFchzsrrXvgf1jvh4ZJa2d74EXF5URgCtDt0X8nO7/ZST+mRXZs4nHcag7xr4L8l936Xr/NNbfHWO3Rb4aHc+rm0eyHeFaNQPbui1us4ZdJ5aBodsiLq8SwOXtIpdqz1fZanOhZ7YiPVvxjz2tffSbJCdZoTyzlF90eztqrRA6eKXrR7DMFptlCIJa4YoIsnUgglrhighClswWxsD10YeFDO9DUeb7/PlSUDqxvmEeaPUjbZ6eZTPGqLA/QTAg/Ls2iJXc7D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1GCGtDdbt1vC/cTI6AOhK+gaqS7YNABIECBEC5yBRVvx/8dAOgDVxFaJrR9+cpBvDFqxPrkFqoBLRciTSlyj7yJKAYdGjtKTB42kUVVcjOmh1xQXRS1DJ4sgKAsnNU5qbUghKl48AWCAt7RVMjXR+WeLo91XEvqts0WclEnlkn1kyICwpefH9mbrsDLnFrTOi9IgAAGsxbnXeYyCGnDBCaZau4UIG/JHtXi+FMI0oSN6Xl3ud9DQIAAV5MJUP/0BAYESa5cE5FQrjqJSTnvAde3qHLADGsWU5fsauZgUEWnMfg1L198QSNhanrXSbOv2ubbrMjXRujzw9vb39rxeXUXRgAA"; \ No newline at end of file diff --git a/docs/classes/_solana_suite_compressed_nft.CompressedNft.Space.html b/docs/classes/_solana_suite_compressed_nft.CompressedNft.Space.html index cdd062209..af95220cd 100644 --- a/docs/classes/_solana_suite_compressed_nft.CompressedNft.Space.html +++ b/docs/classes/_solana_suite_compressed_nft.CompressedNft.Space.html @@ -156,10 +156,10 @@ --md-sys-color-surface-container-high: #e9e7ec; --md-sys-color-surface-container-highest: #e4e2e6 } -

Constructors

constructor +

Constructors

Properties

Methods

Constructors

Properties

spaceOwner: Pubkey

Methods

  • Returns Promise<Pubkey>

Generated using TypeDoc

  • Reuqest airdrop SOL only devnet, testnet

    Parameters

    • pubkey: Pubkey
    • options: Partial<AirdropOptions> = {}

    Returns Promise<Result<string, Error>>

    Promise<Result<string, Error>>

    -

Generated using TypeDoc

  • Calculate space cost

    Parameters

    • spaceSize: number

    Returns Promise<{
        sol: number;
    }>

    Promise<{sol: number}>

    -

Generated using TypeDoc

  • create a new nft space This function needs only 1 call

    Parameters

    • owner: Secret
    • spaceSize: SpaceNumber
    • options: Partial<SpaceOptions> = {}

    Returns Promise<Result<MintStructure, Error>>

    Promise<Result<MintTransaction, Error>>

    -

Generated using TypeDoc

  • Find nft by collection mint

    Parameters

    • collectionMint: Pubkey
    • options: Partial<FindOptions> = {}

    Returns Promise<Result<NftMetadata, Error>>

    Promise<Result<CompressedNftMetadata, Error>>

    -

Generated using TypeDoc

  • Find nft by mint address

    Parameters

    • mint: Pubkey

    Returns Promise<Result<Partial<Metadata>, Error>>

    Promise<Result<NftMetadata, Error>>

    -

Generated using TypeDoc

  • Find nft by owner address

    Parameters

    • owner: Pubkey
    • options: Partial<FindOptions> = {}

    Returns Promise<Result<NftMetadata, Error>>

    Promise<Result<CompressedNftMetadata, Error>>

    -

Generated using TypeDoc

  • Create delegate with gas-less

    -

    Parameters

    • mint: Pubkey
    • owner: Secret
    • newDelegate: Pubkey

    Returns Promise<Result<PartialSignStructure, Error>>

Generated using TypeDoc

  • Transfer with gas-less

    -

    Parameters

    • mint: Pubkey
    • owner: Secret
    • dest: Pubkey
    • feePayer: Pubkey

    Returns Promise<Result<PartialSignStructure, Error>[]>

Generated using TypeDoc

  • Parameters

    • owner: Secret
    • input: InputNftMetadata
    • options: Partial<MintCollectionOptions> = {}

    Returns Promise<Result<MintStructure, Error>>

Generated using TypeDoc

  • Parameters

    • owner: Secret
    • input: InputNftMetadata
    • options: Partial<MintCollectionOptions> = {}

    Returns Promise<Result<MintStructure, Error>>

Generated using TypeDoc

  • transfer nft

    Parameters

    • mint: Pubkey
    • owner: Pubkey
    • dest: Pubkey
    • ownerOrMultisig: Secret[]

    Returns Promise<Result<CommonStructure, Error>>

    Promise<Result<Transaction, Error>>

    -

Generated using TypeDoc

  • Parameters

    • data: string
    • owner: Secret
    • options: Partial<MemoOptions> = {}

    Returns Result<CommonStructure, Error>

Generated using TypeDoc

  • Parameters

    • data: string
    • owner: Secret
    • options: Partial<MemoOptions> = {}

    Returns Result<CommonStructure, Error>

Generated using TypeDoc

  • Parameters

    • encoded: string

    Returns string

Generated using TypeDoc

  • Parameters

    • encoded: string

    Returns string

Generated using TypeDoc

  • Parameters

    • data: string

    Returns Buffer

Generated using TypeDoc

  • Parameters

    • data: string

    Returns Buffer

Generated using TypeDoc

  • Parameters

    • owner: Pubkey
    • onOk: OnOk<History>
    • onErr: OnErr
    • options: Partial<FindOptions> = {}

    Returns Promise<void>

Generated using TypeDoc

  • Parameters

    • owner: Pubkey
    • onOk: OnOk<History>
    • onErr: OnErr
    • options: Partial<FindOptions> = {}

    Returns Promise<void>

Generated using TypeDoc

  • Parameters

    • multisig: Pubkey

    Returns Promise<Result<LayoutObject, Error>>

Generated using TypeDoc

  • Parameters

    • multisig: Pubkey

    Returns Promise<Result<LayoutObject, Error>>

Generated using TypeDoc

  • Check if it is a multisig address

    Parameters

    • multisig: Pubkey

      // multisig account

    Returns Promise<Result<boolean, Error>>

    Promise<Result<boolean, Error>>

    -

Generated using TypeDoc

  • Adding new token to existing token

    Parameters

    • token: Pubkey
    • owner: Pubkey
    • cluster: string
    • totalAmount: number
    • mintDecimal: number
    • phantom: PhantomProvider

      //phantom wallet object

    Returns Promise<Result<string, Error>>

    Promise<Result<string, Error>>

    -

Generated using TypeDoc

  • Mint new spl-token

    Parameters

    • input: InputTokenMetadata
    • owner: Pubkey
    • cluster: string
    • totalAmount: number
    • mintDecimal: number
    • phantom: PhantomProvider

      //phantom wallet object

    Returns Promise<Result<string, Error>>

    Promise<Result<string, Error>>

    -

Generated using TypeDoc

  • Upload content and NFT mint

    Parameters

    • input: InputNftMetadata
    • cluster: string
    • phantom: PhantomProvider

      //phantom wallet object

    Returns Promise<Result<string, Error | ValidatorError>>

    Promise<Result<string, Error | ValidatorError>>

    -

Generated using TypeDoc

  • Burn existing token

    Parameters

    • mint: Pubkey
    • owner: Pubkey
    • ownerOrMultisig: Secret[]
    • options: Partial<BurnOptions> = {}

    Returns Result<CommonStructure, Error>

    Result<CommonStructure, Error>>

    -

Generated using TypeDoc

  • Parameters

    • mint: PublicKey
    • owner: PublicKey
    • delegateAuthority: PublicKey

    Returns TransactionInstruction

Generated using TypeDoc

  • Parameters

    • mint: PublicKey
    • owner: PublicKey
    • delegateAuthority: PublicKey

    Returns TransactionInstruction

Generated using TypeDoc

  • Parameters

    • mint: PublicKey
    • owner: PublicKey
    • nftMetadata: DataV2
    • feePayer: PublicKey
    • isMutable: boolean

    Returns Promise<TransactionInstruction[]>

Generated using TypeDoc

  • Parameters

    • mint: PublicKey
    • owner: PublicKey
    • nftMetadata: DataV2
    • feePayer: PublicKey
    • isMutable: boolean

    Returns Promise<TransactionInstruction[]>

Generated using TypeDoc

  • Parameters

    • mint: PublicKey
    • creator: PublicKey

    Returns TransactionInstruction

Generated using TypeDoc

  • Parameters

    • mint: PublicKey
    • creator: PublicKey

    Returns TransactionInstruction

Generated using TypeDoc

  • Parameters

    • collectionChild: PublicKey
    • collectionParent: PublicKey
    • feePayer: PublicKey

    Returns TransactionInstruction

Generated using TypeDoc

  • Parameters

    • collectionChild: PublicKey
    • collectionParent: PublicKey
    • feePayer: PublicKey

    Returns TransactionInstruction

Generated using TypeDoc

  • Find nft by collection mint

    Parameters

    • collectionMint: Pubkey
    • options: Partial<FindOptions> = {}

    Returns Promise<Result<NftMetadata, Error>>

    Promise<Result<CompressedNftMetadata, Error>>

    -

Generated using TypeDoc

  • Find nft by mint address

    Parameters

    • mint: Pubkey

    Returns Promise<Result<Partial<Metadata>, Error>>

    Promise<Result<NftMetadata, Error>>

    -

Generated using TypeDoc

  • Find nft by owner address

    Parameters

    • owner: Pubkey
    • options: Partial<FindOptions> = {}

    Returns Promise<Result<NftMetadata, Error>>

    Promise<Result<CompressedNftMetadata, Error>>

    -

Generated using TypeDoc

  • Transfer without solana sol, delegate feepayer for commission

    Parameters

    • mint: Pubkey
    • owner: Secret
    • dest: Pubkey
    • feePayer: Pubkey

    Returns Promise<Result<PartialSignStructure, Error>>

    Promise<Result<PartialSignStructure, Error>>

    -

Generated using TypeDoc

  • Parameters

    • owner: Secret
    • input: InputNftMetadata
    • options: Partial<MintCollectionOptions> = {}

    Returns Promise<Result<MintStructure, Error>>

Generated using TypeDoc

  • Parameters

    • owner: Secret
    • input: InputNftMetadata
    • options: Partial<MintCollectionOptions> = {}

    Returns Promise<Result<MintStructure, Error>>

Generated using TypeDoc

  • Find nft by owner address

    Parameters

    • owner: Pubkey

    Returns Promise<Result<OwnerInfo, Error>>

    Promise<Result<OwnerInfo, Error>>

    -

Generated using TypeDoc

  • Transfer without solana sol, delegate feepayer for commission

    Parameters

    • owner: Secret
    • dest: Pubkey
    • amount: number
    • feePayer: Pubkey

    Returns Promise<Result<PartialSignStructure, Error>>

    Promise<Result<PartialSignStructure, Error>>

    -

Generated using TypeDoc

  • Adding new token to existing token

    Parameters

    • token: Pubkey
    • owner: Pubkey
    • ownerOrMultisig: Secret[]
    • totalAmount: number
    • mintDecimal: number
    • options: Partial<MintOptions> = {}

    Returns Promise<Result<CommonStructure<Pubkey>, Error>>

    Promise<Result<string, Error>>

    -

Generated using TypeDoc

  • Burn existing token

    Parameters

    • mint: Pubkey
    • owner: Pubkey
    • ownerOrMultisig: Secret[]
    • burnAmount: number
    • tokenDecimals: number
    • options: Partial<BurnOptions> = {}

    Returns Result<CommonStructure, Error>

    Result<CommonStructure, Error>>

    -

Generated using TypeDoc

  • Parameters

    • mint: PublicKey
    • owner: PublicKey
    • freezeAuthority: PublicKey

    Returns TransactionInstruction

Generated using TypeDoc

  • Parameters

    • mint: PublicKey
    • owner: PublicKey
    • freezeAuthority: PublicKey

    Returns TransactionInstruction

Generated using TypeDoc

  • Parameters

    • mint: PublicKey
    • owner: PublicKey
    • totalAmount: number
    • mintDecimal: number
    • tokenMetadata: DataV2
    • feePayer: PublicKey
    • isMutable: boolean

    Returns Promise<TransactionInstruction[]>

Generated using TypeDoc

  • Parameters

    • mint: PublicKey
    • owner: PublicKey
    • totalAmount: number
    • mintDecimal: number
    • tokenMetadata: DataV2
    • feePayer: PublicKey
    • isMutable: boolean

    Returns Promise<TransactionInstruction[]>

Generated using TypeDoc

  • Fetch minted metadata by mint address

    Parameters

    • mint: Pubkey

    Returns Promise<Result<TokenMetadata, Error>>

    Promise<Result<UserSideOutput.TokenMetadata, Error>>

    -

Generated using TypeDoc

  • Fetch minted metadata by owner Pubkey

    -

    Parameters

    • owner: Pubkey

    Returns Promise<Result<TokenMetadata[], Error>>

Generated using TypeDoc

  • Transfer without solana sol, delegate feepayer for commission

    Parameters

    • mint: Pubkey
    • owner: Secret
    • dest: Pubkey
    • amount: number
    • mintDecimal: number
    • feePayer: Pubkey

    Returns Promise<Result<PartialSignStructure, Error>>

    Promise<Result<PartialSignStructure, Error>>

    -

Generated using TypeDoc

Index

Functions

request +

Generated using TypeDoc

Index

Classes

Space +

Index

Classes

Functions

calculateSpaceCost createSpace findByCollection diff --git a/docs/modules/_solana_suite_memo.Memo.html b/docs/modules/_solana_suite_memo.Memo.html index 6fd577b2c..46be1c224 100644 --- a/docs/modules/_solana_suite_memo.Memo.html +++ b/docs/modules/_solana_suite_memo.Memo.html @@ -156,7 +156,7 @@ --md-sys-color-surface-container-high: #e9e7ec; --md-sys-color-surface-container-highest: #e4e2e6 } -

Index

Functions

create +

Index

Functions

create decode encode findByOwner diff --git a/docs/modules/_solana_suite_multisig.Multisig.html b/docs/modules/_solana_suite_multisig.Multisig.html index a1f0087df..337a813d1 100644 --- a/docs/modules/_solana_suite_multisig.Multisig.html +++ b/docs/modules/_solana_suite_multisig.Multisig.html @@ -156,7 +156,7 @@ --md-sys-color-surface-container-high: #e9e7ec; --md-sys-color-surface-container-highest: #e4e2e6 } -

Index

Functions

create +

Generated using TypeDoc

Index

Functions

add +

Generated using TypeDoc

Index

Functions

mint +

Generated using TypeDoc

Index

Functions

burn +

Index

Functions

burn createDeleagate createMint createVerifyCreator diff --git a/docs/modules/_solana_suite_sol_native.SolNative.html b/docs/modules/_solana_suite_sol_native.SolNative.html index b3fe0a38c..0b4904e5e 100644 --- a/docs/modules/_solana_suite_sol_native.SolNative.html +++ b/docs/modules/_solana_suite_sol_native.SolNative.html @@ -156,7 +156,7 @@ --md-sys-color-surface-container-high: #e9e7ec; --md-sys-color-surface-container-highest: #e4e2e6 } -

Index

Functions

findByOwner +

Index

Functions

findByOwner gasLessTransfer transfer transferWithMultisig diff --git a/docs/modules/_solana_suite_spl_token.SplToken.html b/docs/modules/_solana_suite_spl_token.SplToken.html index 4bb2ae675..e15d40d90 100644 --- a/docs/modules/_solana_suite_spl_token.SplToken.html +++ b/docs/modules/_solana_suite_spl_token.SplToken.html @@ -156,7 +156,7 @@ --md-sys-color-surface-container-high: #e9e7ec; --md-sys-color-surface-container-highest: #e4e2e6 } -

Index

Functions

add +

Index

Functions

add burn createFreezeAuthority createMint diff --git a/packages/suite-spl-token/test/gas-less-transfer.test.ts b/packages/suite-spl-token/test/gas-less-transfer.test.ts index edfbdf703..009dd848f 100644 --- a/packages/suite-spl-token/test/gas-less-transfer.test.ts +++ b/packages/suite-spl-token/test/gas-less-transfer.test.ts @@ -4,7 +4,7 @@ import { RandomAsset } from 'test-tools/setupAsset'; import { SplToken } from '../src/'; import { KeypairAccount, Pubkey } from '~/types/account'; import { Account } from '~/account'; -import { Node } from '~/suite-utils'; +import { Node } from '~/node'; let feePayer: KeypairAccount; diff --git a/packages/test-tools/setup.ts b/packages/test-tools/setup.ts index 2cbf27c3b..8ee540541 100644 --- a/packages/test-tools/setup.ts +++ b/packages/test-tools/setup.ts @@ -2,7 +2,8 @@ import fs from 'node:fs'; import bs from 'bs58'; import { Keypair, LAMPORTS_PER_SOL, PublicKey } from '@solana/web3.js'; import { KeypairAccount } from '~/types/account'; -import { Constants, debugLog, Pubkey, Secret } from '~/suite-utils'; +import { Constants, debugLog } from '~/suite-utils'; +import { Pubkey, Secret } from '~/types/account'; import { Node } from '~/node'; import { Account } from '~/account';