.. _module-splice-testing-tokenstandard-walletclient-19256: Splice.Testing.TokenStandard.WalletClient ========================================= Daml script test utilities for simulating the actions of wallet client based on the token standard\. NOTE\: there are likely more functions that could/should be added to this module\. PRs welcome\. Functions --------- .. _function-splice-testing-tokenstandard-walletclient-listholdings-798: `listHoldings `_ \: `Party `_ \-\> InstrumentId \-\> Script \[(`ContractId `_ Holding, HoldingView)\] List the hodlings of a party of a specific instrument\. .. _function-splice-testing-tokenstandard-walletclient-listlockedholdings-45902: `listLockedHoldings `_ \: `Party `_ \-\> InstrumentId \-\> Script \[(`ContractId `_ Holding, HoldingView)\] .. _function-splice-testing-tokenstandard-walletclient-listholdingcids-24613: `listHoldingCids `_ \: `Party `_ \-\> InstrumentId \-\> Script \[`ContractId `_ Holding\] List the cids of the hodlings of a party of a specific instrument\. .. _function-splice-testing-tokenstandard-walletclient-checkholdingwithamountexists-67059: `checkHoldingWithAmountExists `_ \: `Party `_ \-\> InstrumentId \-\> `Decimal `_ \-\> Script () Check that a holding with a specific amount exists for the given owner\. .. _function-splice-testing-tokenstandard-walletclient-checkbalancebounds-93015: `checkBalanceBounds `_ \: `Party `_ \-\> InstrumentId \-\> (`Decimal `_, `Decimal `_) \-\> Script () Check the bounds on a party's total balance of all holdings of the given instrument\. .. _function-splice-testing-tokenstandard-walletclient-checkholding-92171: `checkHolding `_ \: `Party `_ \-\> `ContractId `_ Holding \-\> `Decimal `_ \-\> Script () Check the exact value of on an individual holding's amount\. .. _function-splice-testing-tokenstandard-walletclient-checkholdingbounds-16142: `checkHoldingBounds `_ \: `Party `_ \-\> `ContractId `_ Holding \-\> (`Decimal `_, `Decimal `_) \-\> Script () Check the bounds on an individual holding's amount\. .. _function-splice-testing-tokenstandard-walletclient-checkbalanceapprox-77056: `checkBalanceApprox `_ \: `Party `_ \-\> InstrumentId \-\> `Decimal `_ \-\> Script () Check the approximate value (\+/\- 1\.0) a party's total balance of all holdings of the given instrument\. .. _function-splice-testing-tokenstandard-walletclient-checkholdingapprox-49413: `checkHoldingApprox `_ \: `Party `_ \-\> `ContractId `_ Holding \-\> `Decimal `_ \-\> Script () Check the approximate (\+/\- 1\.0) amount of an individual holding\. .. _function-splice-testing-tokenstandard-walletclient-checkbalance-47862: `checkBalance `_ \: `Party `_ \-\> InstrumentId \-\> `Decimal `_ \-\> Script () Check the exact value a party's total balance of all holdings of the given instrument\. .. _function-splice-testing-tokenstandard-walletclient-listtransferoffers-42592: `listTransferOffers `_ \: `Party `_ \-\> InstrumentId \-\> Script \[(`ContractId `_ TransferInstruction, TransferInstructionView)\] List pending transfer offers (as sender or receiver) .. _function-splice-testing-tokenstandard-walletclient-listrequestedallocations-63651: `listRequestedAllocations `_ \: `Party `_ \-\> InstrumentId \-\> Script \[AllocationSpecification\] List all allocations requested from the owner for a specific instrument\.