models

package
v0.4.0-beta Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2024 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountResult

type AccountResult struct {
	PublicKey  string `json:"publicKey"`
	TrackingId string `json:"trackingId"`
}

type BalanceResult

type BalanceResult struct {
	Balance string      `json:"balance"`
	Nonce   json.Number `json:"nonce"`
}

type Profile

type Profile struct {
	ProfileItems []string
	Max          int
}

func (*Profile) InsertOrShift

func (p *Profile) InsertOrShift(index int, value string)

type TokenTransferResponse

type TokenTransferResponse struct {
	TrackingId string `json:"trackingId"`
}

type TrackStatusResult

type TrackStatusResult struct {
	Active bool `json:"active"`
}

type Transaction

type Transaction struct {
	CreatedAt     time.Time   `json:"createdAt"`
	Status        string      `json:"status"`
	TransferValue json.Number `json:"transferValue"`
	TxHash        string      `json:"txHash"`
	TxType        string      `json:"txType"`
}

type VoucherDataResult

type VoucherDataResult struct {
	TokenName      string `json:"tokenName"`
	TokenSymbol    string `json:"tokenSymbol"`
	TokenDecimals  int    `json:"tokenDecimals"`
	SinkAddress    string `json:"sinkAddress"`
	TokenCommodity string `json:"tokenCommodity"`
	TokenLocation  string `json:"tokenLocation"`
}

Jump to

Keyboard shortcuts

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