dto

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2022 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BaseTransactionsRes

type BaseTransactionsRes struct {
	TransactionHash            *string                       `json:"transactionHash"`
	AddressHash                string                        `json:"addressHash"`
	Amount                     decimal.Decimal               `json:"amount"`
	OriginalAmount             decimal.NullDecimal           `json:"originalAmount"`
	Hash                       string                        `json:"hash"`
	Name                       string                        `json:"name"`
	CreateTime                 decimal.Decimal               `json:"createTime"`
	ReducedAmount              decimal.Decimal               `json:"reducedAmount"`
	ReceiverDescription        *string                       `json:"receiverDescription"`
	CurrencyHash               *string                       `json:"currencyHash"`
	OriginalCurrencyHash       *string                       `json:"originalCurrencyHash"`
	SignerHash                 *string                       `json:"signerHash"`
	TokenGenerationServiceData TokenGenerationServiceDataRes `json:"tokenGenerationServiceData"`
	TokenMintingServiceData    TokenMintingServiceDataRes    `json:"tokenMintingServiceData"`
	Event                      *string                       `json:"event"`
	HardFork                   *bool                         `json:"hardFork"`
}

type ClusterStampDataRow

type ClusterStampDataRow struct {
	Address    string
	Amount     decimal.Decimal
	CurrencyId int32
}

type CurrencyTypeDataRes

type CurrencyTypeDataRes struct {
	CurrencyType           *string         `json:"currencyType"`
	CurrencyRateSourceType *string         `json:"currencyRateSourceType"`
	RateSource             *string         `json:"rateSource"`
	ProtectionModel        *string         `json:"protectionModel"`
	SignerHash             *string         `json:"SignerHash"`
	CreateTime             decimal.Decimal `json:"createTime"`
}

type OriginatorCurrencyDataRes

type OriginatorCurrencyDataRes struct {
	Name           *string         `json:"name"`
	Symbol         string          `json:"symbol"`
	Description    *string         `json:"description"`
	OriginatorHash *string         `json:"originatorHash"`
	TotalSupply    decimal.Decimal `json:"totalSupply"`
	Scale          int32           `json:"scale"`
}

type SyncResponse

type SyncResponse struct {
	NodeMaxIndex                      int64   `json:"nodeMaxIndex"`
	NodeLastIndex                     int64   `json:"nodeLastIndex"`
	BackupNodeLastIndex               int64   `json:"backupNodeLastIndex"`
	SyncIterationLastTransactionIndex int64   `json:"SyncIterationLastTransactionIndex"`
	LastMonitoredTransactionIndex     int64   `json:"lastMonitoredTransactionIndex"`
	SyncPercentage                    float64 `json:"syncPercentage"`
	IsNodeSynced                      bool    `json:"isNodeSynced"`
}

type TokenGenerationServiceDataRes

type TokenGenerationServiceDataRes struct {
	OriginatorCurrencyData OriginatorCurrencyDataRes `json:"originatorCurrencyData"`
	CurrencyTypeData       CurrencyTypeDataRes       `json:"currencyTypeData"`
	FeeAmount              decimal.Decimal           `json:"feeAmount"`
}

type TokenMintingServiceDataRes

type TokenMintingServiceDataRes struct {
	FeeAmount           decimal.Decimal `json:"feeAmount"`
	MintingCurrencyHash string          `json:"mintingCurrencyHash"`
	MintingAmount       decimal.Decimal `json:"mintingAmount"`
	ReceiverAddress     string          `json:"receiverAddress"`
	CreateTime          decimal.Decimal `json:"createTime"`
	SignerHash          string          `json:"signerHash"`
}

type TransactionByHashRequest

type TransactionByHashRequest struct {
	TransactionHashes []string `json:"transactionHashes"`
}

type TransactionResponse

type TransactionResponse struct {
	Hash                           string                `json:"hash"`
	Index                          *int32                `json:"index,omitempty"`
	Amount                         decimal.Decimal       `json:"amount"`
	AttachmentTime                 decimal.Decimal       `json:"attachmentTime"`
	IsValid                        *bool                 `json:"isValid"`
	CreateTime                     decimal.Decimal       `json:"createTime"`
	LeftParentHash                 *string               `json:"leftParentHash"`
	RightParentHash                *string               `json:"rightParentHash"`
	NodeHash                       *string               `json:"nodeHash"`
	SenderHash                     *string               `json:"senderHash"`
	SenderTrustScore               float64               `json:"senderTrustScore"`
	TransactionConsensusUpdateTime decimal.NullDecimal   `json:"transactionConsensusUpdateTime"`
	TransactionDescription         *string               `json:"transactionDescription"`
	TrustChainConsensus            bool                  `json:"trustChainConsensus"`
	TrustChainTrustScore           decimal.Decimal       `json:"trustChainTrustScore"`
	Type                           *string               `json:"type"`
	BaseTransactionsRes            []BaseTransactionsRes `json:"baseTransactions"`
}

type TransactionsLastIndex

type TransactionsLastIndex struct {
	Status    string `json:"status"`
	LastIndex int64  `json:"lastIndex"`
}

type TransactionsLastIndexChanelResult

type TransactionsLastIndexChanelResult struct {
	Tran  TransactionsLastIndex
	Error error
}

Jump to

Keyboard shortcuts

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