tasks

package
v1.35.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 24, 2026 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BitcoinProcessPayment = delay.Func(
	"bitcon-process-payment",
	func(
		ctx context.Context,
		orgName,
		walletId,
		txId,
		chainType string,
		amount int64,
	) {
		if err := BitcoinProcessPaymentImpl(ctx, orgName, walletId, txId, chainType, amount); err != nil {
			panic(err)
		}
	})
View Source
var InsufficientTransfer = errors.New("Not Enough Transfer Balance To Cover Transaction Fee")
View Source
var IntegrationNotInitialized = errors.New("Bitcoin Integration has no address.")
View Source
var OrderAccountNotFound = errors.New("Order Account Not Found.")
View Source
var OrderWalletNotFound = errors.New("Order Wallet Not Found.")
View Source
var PlatformAccountDecryptionFailed = errors.New("Platform Account Decryption Failed.")
View Source
var PlatformAccountNotFound = errors.New("Platform Account Not Found.")
View Source
var PlatformWalletNotFound = errors.New("Platform Wallet Not Found.")
View Source
var UnsupportedChainType = errors.New("Chain type is unsupported.")

Functions

func BitcoinProcessPaymentImpl

func BitcoinProcessPaymentImpl(
	ctx context.Context,
	orgName,
	walletId,
	txId,
	ct string,
	amount int64,
) error

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL