.. _module-splice-tests-testamulettokentransfer-97274: 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 ---------- .. _type-splice-tests-testamulettokentransfer-testsetup-23760: **data** `TestSetup `_ .. _constr-splice-tests-testamulettokentransfer-testsetup-65645: `TestSetup `_ .. list-table:: :widths: 15 10 30 :header-rows: 1 * - Field - Type - Description * - registry - :ref:`AmuletRegistry ` - * - alice - `Party `_ - * - aliceValidator - `Party `_ - * - bob - `Party `_ - * - now - `Time `_ - * - defaultTransfer - Transfer - **instance** `GetField `_ \"alice\" `TestSetup `_ `Party `_ **instance** `GetField `_ \"aliceValidator\" `TestSetup `_ `Party `_ **instance** `GetField `_ \"bob\" `TestSetup `_ `Party `_ **instance** `GetField `_ \"defaultTransfer\" `TestSetup `_ Transfer **instance** `GetField `_ \"now\" `TestSetup `_ `Time `_ **instance** `GetField `_ \"registry\" `TestSetup `_ :ref:`AmuletRegistry ` **instance** `SetField `_ \"alice\" `TestSetup `_ `Party `_ **instance** `SetField `_ \"aliceValidator\" `TestSetup `_ `Party `_ **instance** `SetField `_ \"bob\" `TestSetup `_ `Party `_ **instance** `SetField `_ \"defaultTransfer\" `TestSetup `_ Transfer **instance** `SetField `_ \"now\" `TestSetup `_ `Time `_ **instance** `SetField `_ \"registry\" `TestSetup `_ :ref:`AmuletRegistry ` Functions --------- .. _function-splice-tests-testamulettokentransfer-setuptest-24792: `setupTest `_ \: Script `TestSetup `_ .. _function-splice-tests-testamulettokentransfer-setuptwosteptransfer-95496: `setupTwoStepTransfer `_ \: Script (`TestSetup `_, `ContractId `_ TransferInstruction) .. _function-splice-tests-testamulettokentransfer-assertnofeaturedrewards-59478: `assertNoFeaturedRewards `_ \: \[`Party `_\] \-\> Script () .. _function-splice-tests-testamulettokentransfer-expectburn-52798: `expectBurn `_ \: Metadata \-\> Script () .. _function-splice-tests-testamulettokentransfer-testhappypathself-81760: `test_happy_path_self `_ \: Script () .. _function-splice-tests-testamulettokentransfer-testhappypathdirect-60815: `test_happy_path_direct `_ \: Script () .. _function-splice-tests-testamulettokentransfer-testtwostepsuccess-72631: `test_two_step_success `_ \: Script () .. _function-splice-tests-testamulettokentransfer-testtwostepwithdraw-23771: `test_two_step_withdraw `_ \: Script () .. _function-splice-tests-testamulettokentransfer-testtwostepwithdrawlockedamuletgone-99068: `test_two_step_withdraw_locked_amulet_gone `_ \: Script () .. _function-splice-tests-testamulettokentransfer-testtwostepreject-58318: `test_two_step_reject `_ \: Script () .. _function-splice-tests-testamulettokentransfer-testtwosteprejectlockedamuletgone-59771: `test_two_step_reject_locked_amulet_gone `_ \: Script () .. _function-splice-tests-testamulettokentransfer-testnoholdings-86337: `test_no_holdings `_ \: Script () .. _function-splice-tests-testamulettokentransfer-testexpired-89770: `test_expired `_ \: Script () .. _function-splice-tests-testamulettokentransfer-testwrongadmin-22190: `test_wrong_admin `_ \: Script () .. _function-splice-tests-testamulettokentransfer-testfactorypublicfetch-19587: `test_factory_PublicFetch `_ \: Script ()