> ## Documentation Index
> Fetch the complete documentation index at: https://docs.canton.network/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> If you are building a Canton Network application, start from https://docs.canton.network/appdev/quickstart.md. To run only a local network for your own Daml code, without building the QuickStart demo, see https://docs.canton.network/sdks-tools/development-tools/localnet.md.

# Splice.Tests.TestAmuletTokenTransfer

> Documentation for Splice.Tests.TestAmuletTokenTransfer

Daml script tests showing that the token standard can be used to execute free-of-payment transfers of Amulet tokens; and how to do so.

## Data Types

**data** TestSetup

> TestSetup
>
> > | Field | Type | Description |
> > | - | - | - |
> > | registry | AmuletRegistry | |
> > | alice | [Party](https://docs.canton.network/appdev/reference/daml-standard-library/prelude.md#type-da-internal-lf-party-57932) | |
> > | aliceValidator | [Party](https://docs.canton.network/appdev/reference/daml-standard-library/prelude.md#type-da-internal-lf-party-57932) | |
> > | bob | [Party](https://docs.canton.network/appdev/reference/daml-standard-library/prelude.md#type-da-internal-lf-party-57932) | |
> > | now | [Time](https://docs.canton.network/appdev/reference/daml-standard-library/prelude.md#type-da-internal-lf-time-63886) | |
> > | defaultTransfer | Transfer | |
>
> **instance** GetField "alice" TestSetup [Party](https://docs.canton.network/appdev/reference/daml-standard-library/prelude.md#type-da-internal-lf-party-57932)
>
> **instance** GetField "aliceValidator" TestSetup [Party](https://docs.canton.network/appdev/reference/daml-standard-library/prelude.md#type-da-internal-lf-party-57932)
>
> **instance** GetField "bob" TestSetup [Party](https://docs.canton.network/appdev/reference/daml-standard-library/prelude.md#type-da-internal-lf-party-57932)
>
> **instance** GetField "defaultTransfer" TestSetup Transfer
>
> **instance** GetField "now" TestSetup [Time](https://docs.canton.network/appdev/reference/daml-standard-library/prelude.md#type-da-internal-lf-time-63886)
>
> **instance** GetField "registry" TestSetup AmuletRegistry
>
> **instance** SetField "alice" TestSetup [Party](https://docs.canton.network/appdev/reference/daml-standard-library/prelude.md#type-da-internal-lf-party-57932)
>
> **instance** SetField "aliceValidator" TestSetup [Party](https://docs.canton.network/appdev/reference/daml-standard-library/prelude.md#type-da-internal-lf-party-57932)
>
> **instance** SetField "bob" TestSetup [Party](https://docs.canton.network/appdev/reference/daml-standard-library/prelude.md#type-da-internal-lf-party-57932)
>
> **instance** SetField "defaultTransfer" TestSetup Transfer
>
> **instance** SetField "now" TestSetup [Time](https://docs.canton.network/appdev/reference/daml-standard-library/prelude.md#type-da-internal-lf-time-63886)
>
> **instance** SetField "registry" TestSetup AmuletRegistry

## Functions

setupTest
: Script TestSetup

setupTwoStepTransfer
: Script (TestSetup, [ContractId](https://docs.canton.network/appdev/reference/daml-standard-library/prelude.md#type-da-internal-lf-contractid-95282) TransferInstruction)

assertNoFeaturedRewards
: \[[Party](https://docs.canton.network/appdev/reference/daml-standard-library/prelude.md#type-da-internal-lf-party-57932)] -> Script ()

expectNoBurn
: Metadata -> Script ()

test\_happy\_path\_self
: Script ()

test\_happy\_path\_direct
: Script ()

test\_two\_step\_success
: Script ()

test\_two\_step\_withdraw
: Script ()

test\_two\_step\_withdraw\_locked\_amulet\_gone
: Script ()

test\_two\_step\_reject
: Script ()

test\_two\_step\_reject\_locked\_amulet\_gone
: Script ()

test\_no\_holdings
: Script ()

test\_expired
: Script ()

test\_wrong\_admin
: Script ()

test\_factory\_PublicFetch
: Script ()
