commonv1

package
v0.9.5 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Blockchain_name = map[int32]string{
		0:  "BLOCKCHAIN_UNSPECIFIED",
		1:  "BLOCKCHAIN_TRON",
		2:  "BLOCKCHAIN_BITCOIN",
		3:  "BLOCKCHAIN_ETHEREUM",
		4:  "BLOCKCHAIN_LITECOIN",
		5:  "BLOCKCHAIN_BITCOINCASH",
		6:  "BLOCKCHAIN_BINANCE_SMART_CHAIN",
		7:  "BLOCKCHAIN_POLYGON",
		8:  "BLOCKCHAIN_ARBITRUM",
		9:  "BLOCKCHAIN_OPTIMISM",
		10: "BLOCKCHAIN_LINEA",
		11: "BLOCKCHAIN_SOLANA",
		12: "BLOCKCHAIN_MONERO",
		13: "BLOCKCHAIN_DOGECOIN",
		14: "BLOCKCHAIN_TON",
	}
	Blockchain_value = map[string]int32{
		"BLOCKCHAIN_UNSPECIFIED":         0,
		"BLOCKCHAIN_TRON":                1,
		"BLOCKCHAIN_BITCOIN":             2,
		"BLOCKCHAIN_ETHEREUM":            3,
		"BLOCKCHAIN_LITECOIN":            4,
		"BLOCKCHAIN_BITCOINCASH":         5,
		"BLOCKCHAIN_BINANCE_SMART_CHAIN": 6,
		"BLOCKCHAIN_POLYGON":             7,
		"BLOCKCHAIN_ARBITRUM":            8,
		"BLOCKCHAIN_OPTIMISM":            9,
		"BLOCKCHAIN_LINEA":               10,
		"BLOCKCHAIN_SOLANA":              11,
		"BLOCKCHAIN_MONERO":              12,
		"BLOCKCHAIN_DOGECOIN":            13,
		"BLOCKCHAIN_TON":                 14,
	}
)

Enum value maps for Blockchain.

View Source
var (
	BitcoinAddressType_name = map[int32]string{
		0: "BITCOIN_ADDRESS_TYPE_UNSPECIFIED",
		1: "BITCOIN_ADDRESS_TYPE_P2PKH",
		2: "BITCOIN_ADDRESS_TYPE_P2SH",
		3: "BITCOIN_ADDRESS_TYPE_SEGWIT",
		4: "BITCOIN_ADDRESS_TYPE_P2TR",
	}
	BitcoinAddressType_value = map[string]int32{
		"BITCOIN_ADDRESS_TYPE_UNSPECIFIED": 0,
		"BITCOIN_ADDRESS_TYPE_P2PKH":       1,
		"BITCOIN_ADDRESS_TYPE_P2SH":        2,
		"BITCOIN_ADDRESS_TYPE_SEGWIT":      3,
		"BITCOIN_ADDRESS_TYPE_P2TR":        4,
	}
)

Enum value maps for BitcoinAddressType.

View Source
var (
	LitecoinAddressType_name = map[int32]string{
		0: "LITECOIN_ADDRESS_TYPE_UNSPECIFIED",
		1: "LITECOIN_ADDRESS_TYPE_P2PKH",
		2: "LITECOIN_ADDRESS_TYPE_P2SH",
		3: "LITECOIN_ADDRESS_TYPE_SEGWIT",
		4: "LITECOIN_ADDRESS_TYPE_P2TR",
	}
	LitecoinAddressType_value = map[string]int32{
		"LITECOIN_ADDRESS_TYPE_UNSPECIFIED": 0,
		"LITECOIN_ADDRESS_TYPE_P2PKH":       1,
		"LITECOIN_ADDRESS_TYPE_P2SH":        2,
		"LITECOIN_ADDRESS_TYPE_SEGWIT":      3,
		"LITECOIN_ADDRESS_TYPE_P2TR":        4,
	}
)

Enum value maps for LitecoinAddressType.

View Source
var (
	DogecoinAddressType_name = map[int32]string{
		0: "DOGECOIN_ADDRESS_TYPE_UNSPECIFIED",
		1: "DOGECOIN_ADDRESS_TYPE_P2PKH",
	}
	DogecoinAddressType_value = map[string]int32{
		"DOGECOIN_ADDRESS_TYPE_UNSPECIFIED": 0,
		"DOGECOIN_ADDRESS_TYPE_P2PKH":       1,
	}
)

Enum value maps for DogecoinAddressType.

View Source
var (
	IncomingWalletType_name = map[int32]string{
		0: "INCOMING_WALLET_TYPE_UNSPECIFIED",
		1: "INCOMING_WALLET_TYPE_HOT",
		2: "INCOMING_WALLET_TYPE_PROCESSING",
	}
	IncomingWalletType_value = map[string]int32{
		"INCOMING_WALLET_TYPE_UNSPECIFIED": 0,
		"INCOMING_WALLET_TYPE_HOT":         1,
		"INCOMING_WALLET_TYPE_PROCESSING":  2,
	}
)

Enum value maps for IncomingWalletType.

View Source
var (
	TransactionType_name = map[int32]string{
		0: "TRANSACTION_TYPE_UNSPECIFIED",
		1: "TRANSACTION_TYPE_TRANSFER",
		2: "TRANSACTION_TYPE_DEPOSIT",
	}
	TransactionType_value = map[string]int32{
		"TRANSACTION_TYPE_UNSPECIFIED": 0,
		"TRANSACTION_TYPE_TRANSFER":    1,
		"TRANSACTION_TYPE_DEPOSIT":     2,
	}
)

Enum value maps for TransactionType.

View Source
var (
	TransferStatus_name = map[int32]string{
		0: "TRANSFER_STATUS_UNSPECIFIED",
		1: "TRANSFER_STATUS_ACCEPTED",
		2: "TRANSFER_STATUS_SUCCESS",
		3: "TRANSFER_STATUS_FAILED",
	}
	TransferStatus_value = map[string]int32{
		"TRANSFER_STATUS_UNSPECIFIED": 0,
		"TRANSFER_STATUS_ACCEPTED":    1,
		"TRANSFER_STATUS_SUCCESS":     2,
		"TRANSFER_STATUS_FAILED":      3,
	}
)

Enum value maps for TransferStatus.

View Source
var File_processing_common_v1_common_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type BitcoinAddressType

type BitcoinAddressType int32
const (
	BitcoinAddressType_BITCOIN_ADDRESS_TYPE_UNSPECIFIED BitcoinAddressType = 0
	// Legacy
	BitcoinAddressType_BITCOIN_ADDRESS_TYPE_P2PKH BitcoinAddressType = 1
	// SegWit
	BitcoinAddressType_BITCOIN_ADDRESS_TYPE_P2SH BitcoinAddressType = 2
	// Native SegWit or Bech32
	BitcoinAddressType_BITCOIN_ADDRESS_TYPE_SEGWIT BitcoinAddressType = 3
	// Taproot address or Bech32m
	BitcoinAddressType_BITCOIN_ADDRESS_TYPE_P2TR BitcoinAddressType = 4
)

func (BitcoinAddressType) Descriptor

func (BitcoinAddressType) Enum

func (BitcoinAddressType) EnumDescriptor deprecated

func (BitcoinAddressType) EnumDescriptor() ([]byte, []int)

Deprecated: Use BitcoinAddressType.Descriptor instead.

func (BitcoinAddressType) Number

func (BitcoinAddressType) String

func (x BitcoinAddressType) String() string

func (BitcoinAddressType) Type

type Blockchain

type Blockchain int32
const (
	Blockchain_BLOCKCHAIN_UNSPECIFIED         Blockchain = 0
	Blockchain_BLOCKCHAIN_TRON                Blockchain = 1
	Blockchain_BLOCKCHAIN_BITCOIN             Blockchain = 2
	Blockchain_BLOCKCHAIN_ETHEREUM            Blockchain = 3
	Blockchain_BLOCKCHAIN_LITECOIN            Blockchain = 4
	Blockchain_BLOCKCHAIN_BITCOINCASH         Blockchain = 5
	Blockchain_BLOCKCHAIN_BINANCE_SMART_CHAIN Blockchain = 6
	Blockchain_BLOCKCHAIN_POLYGON             Blockchain = 7
	Blockchain_BLOCKCHAIN_ARBITRUM            Blockchain = 8
	Blockchain_BLOCKCHAIN_OPTIMISM            Blockchain = 9
	Blockchain_BLOCKCHAIN_LINEA               Blockchain = 10
	Blockchain_BLOCKCHAIN_SOLANA              Blockchain = 11
	Blockchain_BLOCKCHAIN_MONERO              Blockchain = 12
	Blockchain_BLOCKCHAIN_DOGECOIN            Blockchain = 13
	Blockchain_BLOCKCHAIN_TON                 Blockchain = 14
)

func (Blockchain) Descriptor

func (Blockchain) Descriptor() protoreflect.EnumDescriptor

func (Blockchain) Enum

func (x Blockchain) Enum() *Blockchain

func (Blockchain) EnumDescriptor deprecated

func (Blockchain) EnumDescriptor() ([]byte, []int)

Deprecated: Use Blockchain.Descriptor instead.

func (Blockchain) Number

func (x Blockchain) Number() protoreflect.EnumNumber

func (Blockchain) String

func (x Blockchain) String() string

func (Blockchain) Type

type DogecoinAddressType

type DogecoinAddressType int32
const (
	DogecoinAddressType_DOGECOIN_ADDRESS_TYPE_UNSPECIFIED DogecoinAddressType = 0
	// Legacy
	DogecoinAddressType_DOGECOIN_ADDRESS_TYPE_P2PKH DogecoinAddressType = 1
)

func (DogecoinAddressType) Descriptor

func (DogecoinAddressType) Enum

func (DogecoinAddressType) EnumDescriptor deprecated

func (DogecoinAddressType) EnumDescriptor() ([]byte, []int)

Deprecated: Use DogecoinAddressType.Descriptor instead.

func (DogecoinAddressType) Number

func (DogecoinAddressType) String

func (x DogecoinAddressType) String() string

func (DogecoinAddressType) Type

type IncomingWalletType

type IncomingWalletType int32
const (
	IncomingWalletType_INCOMING_WALLET_TYPE_UNSPECIFIED IncomingWalletType = 0
	IncomingWalletType_INCOMING_WALLET_TYPE_HOT         IncomingWalletType = 1
	IncomingWalletType_INCOMING_WALLET_TYPE_PROCESSING  IncomingWalletType = 2
)

func (IncomingWalletType) Descriptor

func (IncomingWalletType) Enum

func (IncomingWalletType) EnumDescriptor deprecated

func (IncomingWalletType) EnumDescriptor() ([]byte, []int)

Deprecated: Use IncomingWalletType.Descriptor instead.

func (IncomingWalletType) Number

func (IncomingWalletType) String

func (x IncomingWalletType) String() string

func (IncomingWalletType) Type

type LitecoinAddressType

type LitecoinAddressType int32
const (
	LitecoinAddressType_LITECOIN_ADDRESS_TYPE_UNSPECIFIED LitecoinAddressType = 0
	// Legacy
	LitecoinAddressType_LITECOIN_ADDRESS_TYPE_P2PKH LitecoinAddressType = 1
	// SegWit
	LitecoinAddressType_LITECOIN_ADDRESS_TYPE_P2SH LitecoinAddressType = 2
	// Native SegWit or Bech32
	LitecoinAddressType_LITECOIN_ADDRESS_TYPE_SEGWIT LitecoinAddressType = 3
	// Taproot address or Bech32m
	LitecoinAddressType_LITECOIN_ADDRESS_TYPE_P2TR LitecoinAddressType = 4
)

func (LitecoinAddressType) Descriptor

func (LitecoinAddressType) Enum

func (LitecoinAddressType) EnumDescriptor deprecated

func (LitecoinAddressType) EnumDescriptor() ([]byte, []int)

Deprecated: Use LitecoinAddressType.Descriptor instead.

func (LitecoinAddressType) Number

func (LitecoinAddressType) String

func (x LitecoinAddressType) String() string

func (LitecoinAddressType) Type

type TransactionType

type TransactionType int32
const (
	TransactionType_TRANSACTION_TYPE_UNSPECIFIED TransactionType = 0
	TransactionType_TRANSACTION_TYPE_TRANSFER    TransactionType = 1
	TransactionType_TRANSACTION_TYPE_DEPOSIT     TransactionType = 2
)

func (TransactionType) Descriptor

func (TransactionType) Enum

func (x TransactionType) Enum() *TransactionType

func (TransactionType) EnumDescriptor deprecated

func (TransactionType) EnumDescriptor() ([]byte, []int)

Deprecated: Use TransactionType.Descriptor instead.

func (TransactionType) Number

func (TransactionType) String

func (x TransactionType) String() string

func (TransactionType) Type

type TransferStatus

type TransferStatus int32
const (
	TransferStatus_TRANSFER_STATUS_UNSPECIFIED TransferStatus = 0
	TransferStatus_TRANSFER_STATUS_ACCEPTED    TransferStatus = 1
	TransferStatus_TRANSFER_STATUS_SUCCESS     TransferStatus = 2
	TransferStatus_TRANSFER_STATUS_FAILED      TransferStatus = 3
)

func (TransferStatus) Descriptor

func (TransferStatus) Enum

func (x TransferStatus) Enum() *TransferStatus

func (TransferStatus) EnumDescriptor deprecated

func (TransferStatus) EnumDescriptor() ([]byte, []int)

Deprecated: Use TransferStatus.Descriptor instead.

func (TransferStatus) Number

func (TransferStatus) String

func (x TransferStatus) String() string

func (TransferStatus) Type

Jump to

Keyboard shortcuts

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