polaris.management.commands.process_pending_deposits.Command()
polaris.management.commands.watch_transactions.Command()
polaris.management.commands.execute_outgoing_transactions.Command()
polaris.management.commands.poll_outgoing_transactions.Command()
polaris.management.commands.testnet.Command()
polaris.integrations.TransactionForm()
polaris.integrations.calculate_fee
polaris.integrations.CustomerIntegration
polaris.integrations.DepositIntegration
polaris.integrations.get_stellar_toml
polaris.integrations.default_info_func
polaris.integrations.RailsIntegration
polaris.integrations.register_integrations
polaris.integrations.SEP31ReceiverIntegration
polaris.integrations.WithdrawalIntegration
polaris.integrations.QuoteIntegration
polaris.integrations.CustodyIntegration
polaris.middleware.TimezoneMiddleware
polaris.sep10.token.SEP10Token
polaris.models.Asset()
polaris.models.DeliveryMethod()
polaris.models.ExchangePair()
polaris.models.OffChainAsset()
polaris.models.Transaction()
polaris.models.Quote()
While Polaris does have some custom exceptions defined below, most of the exceptions used in Polaris are built-in exceptions such as ValueError
. For example, Polaris expects anchors to raise a ValueError
from DepositIntegration.save_sep9_fields()
if any of the SEP-9 KYC fields passed are not valid.
However, this approach is not ideal for reasons outlined in a GitHub issue on the Polaris repository.
Starting with Polaris 3.0, all exceptions expected to be raised from integration functions will be defined here.
polaris.exceptions