models

package
v0.0.0-...-80b2b3e Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2021 License: MIT Imports: 5 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountAssetBalanceRow

type AccountAssetBalanceRow struct {

	// account id
	AccountID string `json:"account_id,omitempty"`

	// balance
	Balance int64 `json:"balance,omitempty"`

	// token info
	TokenInfo *TokenAssetRow `json:"token_info,omitempty"`
}

AccountAssetBalanceRow account asset balance row swagger:model AccountAssetBalanceRow

func (*AccountAssetBalanceRow) MarshalBinary

func (m *AccountAssetBalanceRow) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AccountAssetBalanceRow) UnmarshalBinary

func (m *AccountAssetBalanceRow) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AccountAssetBalanceRow) Validate

func (m *AccountAssetBalanceRow) Validate(formats strfmt.Registry) error

Validate validates this account asset balance row

type AccountBakingRow

type AccountBakingRow struct {

	// avg priority
	// Required: true
	AvgPriority *float32 `json:"avgPriority"`

	// blocks
	// Required: true
	Blocks *int64 `json:"blocks"`

	// cycle
	// Required: true
	Cycle *int64 `json:"cycle"`

	// cycle end
	CycleEnd int64 `json:"cycleEnd,omitempty"`

	// cycle start
	CycleStart int64 `json:"cycleStart,omitempty"`

	// missed
	// Required: true
	Missed *int64 `json:"missed"`

	// rewards
	// Required: true
	Rewards *int64 `json:"rewards"`

	// status
	Status string `json:"status,omitempty"`

	// stolen
	// Required: true
	Stolen *int64 `json:"stolen"`

	// total deposit
	// Required: true
	TotalDeposit *int64 `json:"totalDeposit"`
}

AccountBakingRow account baking row swagger:model AccountBakingRow

func (*AccountBakingRow) MarshalBinary

func (m *AccountBakingRow) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AccountBakingRow) UnmarshalBinary

func (m *AccountBakingRow) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AccountBakingRow) Validate

func (m *AccountBakingRow) Validate(formats strfmt.Registry) error

Validate validates this account baking row

type AccountBalance

type AccountBalance struct {

	// balance
	// Required: true
	Balance *int64 `json:"balance"`

	// timestamp
	// Required: true
	Timestamp *int64 `json:"timestamp"`
}

AccountBalance account balance swagger:model AccountBalance

func (*AccountBalance) MarshalBinary

func (m *AccountBalance) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AccountBalance) UnmarshalBinary

func (m *AccountBalance) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AccountBalance) Validate

func (m *AccountBalance) Validate(formats strfmt.Registry) error

Validate validates this account balance

type AccountEndorsingRow

type AccountEndorsingRow struct {

	// cycle
	// Required: true
	Cycle *int64 `json:"cycle"`

	// cycle end
	CycleEnd int64 `json:"cycleEnd,omitempty"`

	// cycle start
	CycleStart int64 `json:"cycleStart,omitempty"`

	// missed
	// Required: true
	Missed *int64 `json:"missed"`

	// rewards
	// Required: true
	Rewards *int64 `json:"rewards"`

	// slots
	// Required: true
	Slots *int64 `json:"slots"`

	// status
	Status string `json:"status,omitempty"`

	// total deposit
	// Required: true
	TotalDeposit *int64 `json:"totalDeposit"`
}

AccountEndorsingRow account endorsing row swagger:model AccountEndorsingRow

func (*AccountEndorsingRow) MarshalBinary

func (m *AccountEndorsingRow) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AccountEndorsingRow) UnmarshalBinary

func (m *AccountEndorsingRow) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AccountEndorsingRow) Validate

func (m *AccountEndorsingRow) Validate(formats strfmt.Registry) error

Validate validates this account endorsing row

type AccountResult

type AccountResult struct {

	// account
	// Required: true
	Account *AccountsRow `json:"account"`
}

AccountResult account result swagger:model AccountResult

func (*AccountResult) MarshalBinary

func (m *AccountResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AccountResult) UnmarshalBinary

func (m *AccountResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AccountResult) Validate

func (m *AccountResult) Validate(formats strfmt.Registry) error

Validate validates this account result

type AccountRewardsRow

type AccountRewardsRow struct {

	// baking
	// Required: true
	Baking *int64 `json:"baking"`

	// cycle
	// Required: true
	Cycle *int64 `json:"cycle"`

	// cycle end
	CycleEnd int64 `json:"cycleEnd,omitempty"`

	// cycle start
	CycleStart int64 `json:"cycleStart,omitempty"`

	// delegators
	// Required: true
	Delegators *int64 `json:"delegators"`

	// endorsements
	// Required: true
	Endorsements *int64 `json:"endorsements"`

	// fees
	// Required: true
	Fees *int64 `json:"fees"`

	// losses
	// Required: true
	Losses *int64 `json:"losses"`

	// staking balance
	// Required: true
	StakingBalance *int64 `json:"stakingBalance"`

	// status
	Status string `json:"status,omitempty"`
}

AccountRewardsRow account rewards row swagger:model AccountRewardsRow

func (*AccountRewardsRow) MarshalBinary

func (m *AccountRewardsRow) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AccountRewardsRow) UnmarshalBinary

func (m *AccountRewardsRow) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AccountRewardsRow) Validate

func (m *AccountRewardsRow) Validate(formats strfmt.Registry) error

Validate validates this account rewards row

type AccountSecurityDepositRow

type AccountSecurityDepositRow struct {

	// actual blocks deposit
	ActualBlocksDeposit int64 `json:"actual_blocks_deposit,omitempty"`

	// actual endorsement deposit
	ActualEndorsementDeposit int64 `json:"actual_endorsement_deposit,omitempty"`

	// actual total deposit
	ActualTotalDeposit int64 `json:"actual_total_deposit,omitempty"`

	// available bond
	AvailableBond int64 `json:"available_bond,omitempty"`

	// cycle
	Cycle int64 `json:"cycle,omitempty"`

	// cycle end
	CycleEnd int64 `json:"cycleEnd,omitempty"`

	// cycle start
	CycleStart int64 `json:"cycleStart,omitempty"`

	// expected blocks deposit
	ExpectedBlocksDeposit int64 `json:"expected_blocks_deposit,omitempty"`

	// expected endorsement deposit
	ExpectedEndorsementDeposit int64 `json:"expected_endorsement_deposit,omitempty"`

	// expected total deposit
	ExpectedTotalDeposit int64 `json:"expected_total_deposit,omitempty"`

	// staking balance
	StakingBalance int64 `json:"staking_balance,omitempty"`

	// status
	Status string `json:"status,omitempty"`
}

AccountSecurityDepositRow account security deposit row swagger:model AccountSecurityDepositRow

func (*AccountSecurityDepositRow) MarshalBinary

func (m *AccountSecurityDepositRow) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AccountSecurityDepositRow) UnmarshalBinary

func (m *AccountSecurityDepositRow) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AccountSecurityDepositRow) Validate

func (m *AccountSecurityDepositRow) Validate(formats strfmt.Registry) error

Validate validates this account security deposit row

type AccountsRow

type AccountsRow struct {

	// account Id
	// Required: true
	AccountID *string `json:"accountId"`

	// account name
	AccountName string `json:"accountName,omitempty"`

	// baker info
	BakerInfo *BakerInfo `json:"bakerInfo,omitempty"`

	// balance
	// Required: true
	Balance *int64 `json:"balance"`

	// block Id
	// Required: true
	BlockID *string `json:"blockId"`

	// block level
	// Required: true
	BlockLevel *int64 `json:"blockLevel"`

	// counter
	// Required: true
	Counter *int64 `json:"counter"`

	// created at
	CreatedAt int64 `json:"createdAt,omitempty"`

	// delegate name
	DelegateName string `json:"delegateName,omitempty"`

	// delegate setable
	// Required: true
	DelegateSetable *bool `json:"delegateSetable"`

	// delegate value
	DelegateValue string `json:"delegateValue,omitempty"`

	// index
	Index int64 `json:"index,omitempty"`

	// is baker
	// Required: true
	IsBaker *bool `json:"is_baker"`

	// last active
	LastActive int64 `json:"lastActive,omitempty"`

	// manager
	// Required: true
	Manager *string `json:"manager"`

	// operations
	Operations int64 `json:"operations,omitempty"`

	// revealed
	// Required: true
	Revealed *bool `json:"revealed"`

	// script
	Script string `json:"script,omitempty"`

	// spendable
	// Required: true
	Spendable *bool `json:"spendable"`

	// storage
	Storage string `json:"storage,omitempty"`

	// transactions
	Transactions int64 `json:"transactions,omitempty"`
}

AccountsRow accounts row swagger:model AccountsRow

func (*AccountsRow) MarshalBinary

func (m *AccountsRow) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AccountsRow) UnmarshalBinary

func (m *AccountsRow) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AccountsRow) Validate

func (m *AccountsRow) Validate(formats strfmt.Registry) error

Validate validates this accounts row

type AggTimeInt

type AggTimeInt struct {

	// date
	Date int64 `json:"date,omitempty"`

	// value
	Value int64 `json:"value,omitempty"`
}

AggTimeInt agg time int swagger:model AggTimeInt

func (*AggTimeInt) MarshalBinary

func (m *AggTimeInt) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AggTimeInt) UnmarshalBinary

func (m *AggTimeInt) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AggTimeInt) Validate

func (m *AggTimeInt) Validate(formats strfmt.Registry) error

Validate validates this agg time int

type AssetOperation

type AssetOperation struct {

	// amount
	// Required: true
	Amount *int64 `json:"amount"`

	// fee
	// Required: true
	Fee *int64 `json:"fee"`

	// from
	From string `json:"from,omitempty"`

	// gas limit
	// Required: true
	GasLimit *int64 `json:"gas_limit"`

	// operation group hash
	OperationGroupHash string `json:"operation_group_hash,omitempty"`

	// storage limit
	// Required: true
	StorageLimit *int64 `json:"storage_limit"`

	// timestamp
	Timestamp int64 `json:"timestamp,omitempty"`

	// to
	To string `json:"to,omitempty"`

	// type
	Type string `json:"type,omitempty"`
}

AssetOperation asset operation swagger:model AssetOperation

func (*AssetOperation) MarshalBinary

func (m *AssetOperation) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AssetOperation) UnmarshalBinary

func (m *AssetOperation) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AssetOperation) Validate

func (m *AssetOperation) Validate(formats strfmt.Registry) error

Validate validates this asset operation

type BakerChartData

type BakerChartData struct {

	// baker
	Baker string `json:"baker,omitempty"`

	// baker name
	BakerName string `json:"baker_name,omitempty"`

	// percent
	Percent float64 `json:"percent,omitempty"`

	// rolls
	Rolls int64 `json:"rolls,omitempty"`
}

BakerChartData baker chart data swagger:model BakerChartData

func (*BakerChartData) MarshalBinary

func (m *BakerChartData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BakerChartData) UnmarshalBinary

func (m *BakerChartData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BakerChartData) Validate

func (m *BakerChartData) Validate(formats strfmt.Registry) error

Validate validates this baker chart data

type BakerDelegator

type BakerDelegator struct {

	// balance
	// Required: true
	Balance *int64 `json:"balance"`

	// cycle
	// Required: true
	Cycle *int64 `json:"cycle"`

	// delegator
	// Required: true
	Delegator *string `json:"delegator"`

	// share
	// Required: true
	Share *float64 `json:"share"`
}

BakerDelegator baker delegator swagger:model BakerDelegator

func (*BakerDelegator) MarshalBinary

func (m *BakerDelegator) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BakerDelegator) UnmarshalBinary

func (m *BakerDelegator) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BakerDelegator) Validate

func (m *BakerDelegator) Validate(formats strfmt.Registry) error

Validate validates this baker delegator

type BakerDelegators

type BakerDelegators struct {

	// address
	// Required: true
	Address *string `json:"address"`

	// baker
	// Required: true
	Baker *string `json:"baker"`

	// value
	// Required: true
	Value *int64 `json:"value"`
}

BakerDelegators baker delegators swagger:model BakerDelegators

func (*BakerDelegators) MarshalBinary

func (m *BakerDelegators) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BakerDelegators) UnmarshalBinary

func (m *BakerDelegators) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BakerDelegators) Validate

func (m *BakerDelegators) Validate(formats strfmt.Registry) error

Validate validates this baker delegators

type BakerInfo

type BakerInfo struct {

	// active delegators
	// Required: true
	ActiveDelegators *int64 `json:"activeDelegators"`

	// baking deposits
	// Required: true
	BakingDeposits *int64 `json:"bakingDeposits"`

	// baking rewards
	// Required: true
	BakingRewards *int64 `json:"bakingRewards"`

	// baking since
	// Required: true
	BakingSince *int64 `json:"bakingSince"`

	// blocks
	// Required: true
	Blocks *int64 `json:"blocks"`

	// endorsement deposits
	// Required: true
	EndorsementDeposits *int64 `json:"endorsementDeposits"`

	// endorsement rewards
	// Required: true
	EndorsementRewards *int64 `json:"endorsementRewards"`

	// endorsements
	// Required: true
	Endorsements *int64 `json:"endorsements"`

	// evaluated balance
	// Required: true
	EvaluatedBalance *int64 `json:"evaluatedBalance"`

	// fee
	// Required: true
	Fee *int64 `json:"fee"`

	// frozen balance
	// Required: true
	FrozenBalance *int64 `json:"frozenBalance"`

	// media
	Media *BakerInfoMedia `json:"media,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// rolls
	// Required: true
	Rolls *int64 `json:"rolls"`

	// staking balance
	// Required: true
	StakingBalance *int64 `json:"stakingBalance"`

	// staking capacity
	// Required: true
	StakingCapacity *int64 `json:"stakingCapacity"`

	// total paid fees
	TotalPaidFees int64 `json:"totalPaidFees,omitempty"`
}

BakerInfo baker info swagger:model BakerInfo

func (*BakerInfo) MarshalBinary

func (m *BakerInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BakerInfo) UnmarshalBinary

func (m *BakerInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BakerInfo) Validate

func (m *BakerInfo) Validate(formats strfmt.Registry) error

Validate validates this baker info

type BakerInfoMedia

type BakerInfoMedia struct {

	// reddit
	Reddit string `json:"reddit,omitempty"`

	// site
	Site string `json:"site,omitempty"`

	// telegram
	Telegram string `json:"telegram,omitempty"`

	// twitter
	Twitter string `json:"twitter,omitempty"`
}

BakerInfoMedia baker info media swagger:model BakerInfoMedia

func (*BakerInfoMedia) MarshalBinary

func (m *BakerInfoMedia) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BakerInfoMedia) UnmarshalBinary

func (m *BakerInfoMedia) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BakerInfoMedia) Validate

func (m *BakerInfoMedia) Validate(formats strfmt.Registry) error

Validate validates this baker info media

type BakersRow

type BakersRow struct {

	// account Id
	AccountID string `json:"accountId,omitempty"`

	// baker info
	BakerInfo *BakerInfo `json:"bakerInfo,omitempty"`

	// delegators change
	DelegatorsChange int64 `json:"delegators_change,omitempty"`

	// stake change
	StakeChange int64 `json:"stake_change,omitempty"`
}

BakersRow bakers row swagger:model BakersRow

func (*BakersRow) MarshalBinary

func (m *BakersRow) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BakersRow) UnmarshalBinary

func (m *BakersRow) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BakersRow) Validate

func (m *BakersRow) Validate(formats strfmt.Registry) error

Validate validates this bakers row

type BakersVoting

type BakersVoting struct {

	// bakers
	Bakers []*BakerDelegators `json:"bakers"`

	// proposals count
	ProposalsCount int64 `json:"proposals_count,omitempty"`
}

BakersVoting bakers voting swagger:model BakersVoting

func (*BakersVoting) MarshalBinary

func (m *BakersVoting) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BakersVoting) UnmarshalBinary

func (m *BakersVoting) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BakersVoting) Validate

func (m *BakersVoting) Validate(formats strfmt.Registry) error

Validate validates this bakers voting

type BakingRightsPerBlock

type BakingRightsPerBlock struct {

	// baker
	Baker string `json:"baker,omitempty"`

	// baker priority
	// Required: true
	BakerPriority *int64 `json:"baker_priority"`

	// block hash
	BlockHash string `json:"block_hash,omitempty"`

	// level
	Level int64 `json:"level,omitempty"`

	// rights
	Rights []*BakingRightsRow `json:"rights"`
}

BakingRightsPerBlock baking rights per block swagger:model BakingRightsPerBlock

func (*BakingRightsPerBlock) MarshalBinary

func (m *BakingRightsPerBlock) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BakingRightsPerBlock) UnmarshalBinary

func (m *BakingRightsPerBlock) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BakingRightsPerBlock) Validate

func (m *BakingRightsPerBlock) Validate(formats strfmt.Registry) error

Validate validates this baking rights per block

type BakingRightsRow

type BakingRightsRow struct {

	// delegate
	Delegate string `json:"delegate,omitempty"`

	// delegate name
	DelegateName string `json:"delegate_name,omitempty"`

	// deposit
	Deposit int64 `json:"deposit,omitempty"`

	// estimated time
	// Format: date-time
	EstimatedTime strfmt.DateTime `json:"estimated_time,omitempty"`

	// level
	Level int64 `json:"level,omitempty"`

	// priority
	// Required: true
	Priority *int64 `json:"priority"`

	// reward
	Reward int64 `json:"reward,omitempty"`
}

BakingRightsRow baking rights row swagger:model BakingRightsRow

func (*BakingRightsRow) MarshalBinary

func (m *BakingRightsRow) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BakingRightsRow) UnmarshalBinary

func (m *BakingRightsRow) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BakingRightsRow) Validate

func (m *BakingRightsRow) Validate(formats strfmt.Registry) error

Validate validates this baking rights row

type BallotVoter

type BallotVoter struct {

	// block level
	BlockLevel int64 `json:"blockLevel,omitempty"`

	// decision
	Decision string `json:"decision,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// operation
	Operation string `json:"operation,omitempty"`

	// pkh
	Pkh string `json:"pkh,omitempty"`

	// rolls
	Rolls int64 `json:"rolls,omitempty"`

	// timestamp
	// Format: date-time
	Timestamp strfmt.DateTime `json:"timestamp,omitempty"`
}

BallotVoter ballot voter swagger:model BallotVoter

func (*BallotVoter) MarshalBinary

func (m *BallotVoter) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BallotVoter) UnmarshalBinary

func (m *BallotVoter) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BallotVoter) Validate

func (m *BallotVoter) Validate(formats strfmt.Registry) error

Validate validates this ballot voter

type Ballots

type Ballots struct {

	// nay
	Nay int64 `json:"nay,omitempty"`

	// pass
	Pass int64 `json:"pass,omitempty"`

	// quorum
	Quorum float64 `json:"quorum,omitempty"`

	// supermajority
	Supermajority float64 `json:"supermajority,omitempty"`

	// yay
	Yay int64 `json:"yay,omitempty"`
}

Ballots ballots swagger:model Ballots

func (*Ballots) MarshalBinary

func (m *Ballots) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Ballots) UnmarshalBinary

func (m *Ballots) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Ballots) Validate

func (m *Ballots) Validate(formats strfmt.Registry) error

Validate validates this ballots

type BlockPriorityChartData

type BlockPriorityChartData struct {

	// blocks
	// Required: true
	Blocks *int64 `json:"blocks"`

	// cycle
	// Required: true
	Cycle *int64 `json:"cycle"`

	// cycle end
	CycleEnd int64 `json:"cycleEnd,omitempty"`

	// cycle start
	CycleStart int64 `json:"cycleStart,omitempty"`

	// first priority
	// Required: true
	FirstPriority *int64 `json:"firstPriority"`

	// second priority
	// Required: true
	SecondPriority *int64 `json:"secondPriority"`

	// third priority
	// Required: true
	ThirdPriority *int64 `json:"thirdPriority"`

	// zero priority
	// Required: true
	ZeroPriority *int64 `json:"zeroPriority"`
}

BlockPriorityChartData block priority chart data swagger:model BlockPriorityChartData

func (*BlockPriorityChartData) MarshalBinary

func (m *BlockPriorityChartData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BlockPriorityChartData) UnmarshalBinary

func (m *BlockPriorityChartData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BlockPriorityChartData) Validate

func (m *BlockPriorityChartData) Validate(formats strfmt.Registry) error

Validate validates this block priority chart data

type BlockResult

type BlockResult struct {

	// block
	// Required: true
	Block *BlocksRow `json:"block"`

	// operation groups
	// Required: true
	OperationGroups []*OperationGroupsRow `json:"operation_groups"`
}

BlockResult block result swagger:model BlockResult

func (*BlockResult) MarshalBinary

func (m *BlockResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BlockResult) UnmarshalBinary

func (m *BlockResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BlockResult) Validate

func (m *BlockResult) Validate(formats strfmt.Registry) error

Validate validates this block result

type BlocksRow

type BlocksRow struct {

	// activate accounts
	ActivateAccounts int64 `json:"activate_accounts,omitempty"`

	// active proposal
	ActiveProposal string `json:"activeProposal,omitempty"`

	// baker
	Baker string `json:"baker,omitempty"`

	// baker name
	BakerName string `json:"bakerName,omitempty"`

	// ballots
	Ballots int64 `json:"ballots,omitempty"`

	// block time
	BlockTime int64 `json:"blockTime,omitempty"`

	// chain Id
	ChainID string `json:"chainId,omitempty"`

	// consumed gas
	ConsumedGas int64 `json:"consumedGas,omitempty"`

	// context
	Context string `json:"context,omitempty"`

	// current expected quorum
	CurrentExpectedQuorum int64 `json:"currentExpectedQuorum,omitempty"`

	// delegations
	Delegations int64 `json:"delegations,omitempty"`

	// deposit
	Deposit int64 `json:"deposit,omitempty"`

	// double baking evidence
	DoubleBakingEvidence int64 `json:"double_baking_evidence,omitempty"`

	// double endorsement evidence
	DoubleEndorsementEvidence int64 `json:"double_endorsement_evidence,omitempty"`

	// endorsements
	Endorsements int64 `json:"endorsements,omitempty"`

	// expected commitment
	ExpectedCommitment bool `json:"expectedCommitment,omitempty"`

	// fees
	Fees int64 `json:"fees,omitempty"`

	// fitness
	// Required: true
	Fitness *string `json:"fitness"`

	// hash
	// Required: true
	Hash *string `json:"hash"`

	// level
	// Required: true
	Level *int64 `json:"level"`

	// meta cycle
	MetaCycle int64 `json:"metaCycle,omitempty"`

	// meta cycle position
	MetaCyclePosition int64 `json:"metaCyclePosition,omitempty"`

	// meta level
	MetaLevel int64 `json:"metaLevel,omitempty"`

	// meta level position
	MetaLevelPosition int64 `json:"metaLevelPosition,omitempty"`

	// meta voting period
	MetaVotingPeriod int64 `json:"metaVotingPeriod,omitempty"`

	// meta voting period position
	MetaVotingPeriodPosition int64 `json:"metaVotingPeriodPosition,omitempty"`

	// nonce hash
	NonceHash string `json:"nonceHash,omitempty"`

	// number of operations
	NumberOfOperations int64 `json:"number_of_operations,omitempty"`

	// operations hash
	OperationsHash string `json:"operationsHash,omitempty"`

	// originations
	Originations int64 `json:"originations,omitempty"`

	// period kind
	PeriodKind string `json:"periodKind,omitempty"`

	// predecessor
	// Required: true
	Predecessor *string `json:"predecessor"`

	// priority
	// Required: true
	Priority *int64 `json:"priority"`

	// proposals
	Proposals int64 `json:"proposals,omitempty"`

	// proto
	// Required: true
	Proto *int64 `json:"proto"`

	// protocol
	// Required: true
	Protocol *string `json:"protocol"`

	// reveals
	Reveals int64 `json:"reveals,omitempty"`

	// reward
	// Required: true
	Reward *int64 `json:"reward"`

	// seed nonce revelations
	SeedNonceRevelations int64 `json:"seed_nonce_revelations,omitempty"`

	// signature
	Signature string `json:"signature,omitempty"`

	// timestamp
	// Required: true
	Timestamp *int64 `json:"timestamp"`

	// transactions
	Transactions int64 `json:"transactions,omitempty"`

	// validation pass
	// Required: true
	ValidationPass *int64 `json:"validationPass"`

	// volume
	Volume int64 `json:"volume,omitempty"`
}

BlocksRow blocks row swagger:model BlocksRow

func (*BlocksRow) MarshalBinary

func (m *BlocksRow) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BlocksRow) UnmarshalBinary

func (m *BlocksRow) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BlocksRow) Validate

func (m *BlocksRow) Validate(formats strfmt.Registry) error

Validate validates this blocks row

type ChartsData

type ChartsData struct {

	// activations
	Activations int64 `json:"activations,omitempty"`

	// average delay
	AverageDelay float64 `json:"averageDelay,omitempty"`

	// bakers
	Bakers int64 `json:"bakers,omitempty"`

	// blocks
	Blocks int64 `json:"blocks,omitempty"`

	// delegation volume
	DelegationVolume int64 `json:"delegationVolume,omitempty"`

	// fees
	Fees int64 `json:"fees,omitempty"`

	// operations
	Operations int64 `json:"operations,omitempty"`

	// timestamp
	// Required: true
	Timestamp *int64 `json:"timestamp"`

	// transaction volume
	TransactionVolume int64 `json:"transactionVolume,omitempty"`

	// whale accounts
	WhaleAccounts int64 `json:"whale_accounts,omitempty"`
}

ChartsData charts data swagger:model ChartsData

func (*ChartsData) MarshalBinary

func (m *ChartsData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ChartsData) UnmarshalBinary

func (m *ChartsData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ChartsData) Validate

func (m *ChartsData) Validate(formats strfmt.Registry) error

Validate validates this charts data

type DeleteUserAddress

type DeleteUserAddress struct {

	// address
	Address string `json:"address,omitempty"`
}

DeleteUserAddress delete user address swagger:model DeleteUserAddress

func (*DeleteUserAddress) MarshalBinary

func (m *DeleteUserAddress) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeleteUserAddress) UnmarshalBinary

func (m *DeleteUserAddress) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeleteUserAddress) Validate

func (m *DeleteUserAddress) Validate(formats strfmt.Registry) error

Validate validates this delete user address

type DeleteUserNote

type DeleteUserNote struct {

	// address
	Address string `json:"address,omitempty"`
}

DeleteUserNote delete user note swagger:model DeleteUserNote

func (*DeleteUserNote) MarshalBinary

func (m *DeleteUserNote) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeleteUserNote) UnmarshalBinary

func (m *DeleteUserNote) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeleteUserNote) Validate

func (m *DeleteUserNote) Validate(formats strfmt.Registry) error

Validate validates this delete user note

type DoubleOperationDetails

type DoubleOperationDetails struct {

	// baker reward
	BakerReward int64 `json:"baker_reward,omitempty"`

	// denounced level
	DenouncedLevel int64 `json:"denounced_level,omitempty"`

	// evidence baker
	EvidenceBaker string `json:"evidence_baker,omitempty"`

	// evidence baker name
	EvidenceBakerName string `json:"evidence_baker_name,omitempty"`

	// lost deposits
	LostDeposits int64 `json:"lost_deposits,omitempty"`

	// lost fees
	LostFees int64 `json:"lost_fees,omitempty"`

	// lost rewards
	LostRewards int64 `json:"lost_rewards,omitempty"`

	// offender
	Offender string `json:"offender,omitempty"`

	// offender name
	OffenderName string `json:"offender_name,omitempty"`

	// priority
	Priority int64 `json:"priority,omitempty"`
}

DoubleOperationDetails double operation details swagger:model DoubleOperationDetails

func (*DoubleOperationDetails) MarshalBinary

func (m *DoubleOperationDetails) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DoubleOperationDetails) UnmarshalBinary

func (m *DoubleOperationDetails) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DoubleOperationDetails) Validate

func (m *DoubleOperationDetails) Validate(formats strfmt.Registry) error

Validate validates this double operation details

type EmailToken

type EmailToken struct {

	// token
	Token string `json:"token,omitempty"`
}

EmailToken email token swagger:model EmailToken

func (*EmailToken) MarshalBinary

func (m *EmailToken) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EmailToken) UnmarshalBinary

func (m *EmailToken) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EmailToken) Validate

func (m *EmailToken) Validate(formats strfmt.Registry) error

Validate validates this email token

type EndorsementRightsRow

type EndorsementRightsRow struct {

	// block level
	BlockLevel int64 `json:"blockLevel,omitempty"`

	// cycle
	Cycle int64 `json:"cycle,omitempty"`

	// delegate
	Delegate string `json:"delegate,omitempty"`

	// delegate name
	DelegateName string `json:"delegate_name,omitempty"`

	// deposit
	Deposit int64 `json:"deposit,omitempty"`

	// reward
	Reward int64 `json:"reward,omitempty"`

	// slots
	Slots []int64 `json:"slots"`

	// timestamp
	Timestamp int64 `json:"timestamp,omitempty"`
}

EndorsementRightsRow endorsement rights row swagger:model EndorsementRightsRow

func (*EndorsementRightsRow) MarshalBinary

func (m *EndorsementRightsRow) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EndorsementRightsRow) UnmarshalBinary

func (m *EndorsementRightsRow) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EndorsementRightsRow) Validate

func (m *EndorsementRightsRow) Validate(formats strfmt.Registry) error

Validate validates this endorsement rights row

type FutureBakingRightsPerBlock

type FutureBakingRightsPerBlock struct {

	// level
	Level int64 `json:"level,omitempty"`

	// rights
	Rights []*BakingRightsRow `json:"rights"`
}

FutureBakingRightsPerBlock future baking rights per block swagger:model FutureBakingRightsPerBlock

func (*FutureBakingRightsPerBlock) MarshalBinary

func (m *FutureBakingRightsPerBlock) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*FutureBakingRightsPerBlock) UnmarshalBinary

func (m *FutureBakingRightsPerBlock) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*FutureBakingRightsPerBlock) Validate

func (m *FutureBakingRightsPerBlock) Validate(formats strfmt.Registry) error

Validate validates this future baking rights per block

type Health

type Health struct {

	// status
	Status bool `json:"status,omitempty"`
}

Health health swagger:model Health

func (*Health) MarshalBinary

func (m *Health) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Health) UnmarshalBinary

func (m *Health) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Health) Validate

func (m *Health) Validate(formats strfmt.Registry) error

Validate validates this health

type HoldingPoint

type HoldingPoint struct {

	// amount
	Amount int64 `json:"amount,omitempty"`

	// count
	Count int64 `json:"count,omitempty"`

	// percent
	Percent float64 `json:"percent,omitempty"`
}

HoldingPoint holding point swagger:model HoldingPoint

func (*HoldingPoint) MarshalBinary

func (m *HoldingPoint) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*HoldingPoint) UnmarshalBinary

func (m *HoldingPoint) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*HoldingPoint) Validate

func (m *HoldingPoint) Validate(formats strfmt.Registry) error

Validate validates this holding point

type Info

type Info struct {

	// Expected annual return in percents.
	AnnualYield float64 `json:"annual_yield,omitempty"`

	// blocks in cycle
	BlocksInCycle int64 `json:"blocks_in_cycle,omitempty"`

	// circulating supply
	CirculatingSupply float64 `json:"circulating_supply,omitempty"`

	// currency
	Currency string `json:"currency,omitempty"`

	// market cap
	MarketCap float64 `json:"market_cap,omitempty"`

	// price
	// Required: true
	Price *float64 `json:"price"`

	// price 24h change
	// Required: true
	Price24hChange *float64 `json:"price_24h_change"`

	// Staking ratio in percents (0-100).
	// Maximum: 100
	// Minimum: 0
	StakingRatio *float64 `json:"staking_ratio,omitempty"`

	// volume 24h
	Volume24h float64 `json:"volume_24h,omitempty"`
}

Info info swagger:model Info

func (*Info) MarshalBinary

func (m *Info) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Info) UnmarshalBinary

func (m *Info) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Info) Validate

func (m *Info) Validate(formats strfmt.Registry) error

Validate validates this info

type MempoolOperation

type MempoolOperation struct {

	// branch
	Branch string `json:"branch,omitempty"`

	// chain id
	ChainID string `json:"chain_id,omitempty"`

	// contents
	Contents interface{} `json:"contents,omitempty"`

	// hash
	Hash string `json:"hash,omitempty"`

	// protocol
	Protocol string `json:"protocol,omitempty"`

	// signature
	Signature string `json:"signature,omitempty"`
}

MempoolOperation mempool operation swagger:model MempoolOperation

func (*MempoolOperation) MarshalBinary

func (m *MempoolOperation) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*MempoolOperation) UnmarshalBinary

func (m *MempoolOperation) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*MempoolOperation) Validate

func (m *MempoolOperation) Validate(formats strfmt.Registry) error

Validate validates this mempool operation

type NFTContractDistribution

type NFTContractDistribution struct {

	// distribution
	// Required: true
	Distribution []*TokenHolderRow `json:"distribution"`

	// total token num
	// Required: true
	TotalTokenNum *int64 `json:"total_token_num"`

	// unique holders num
	// Required: true
	UniqueHoldersNum *int64 `json:"unique_holders_num"`
}

NFTContractDistribution n f t contract distribution swagger:model NFTContractDistribution

func (*NFTContractDistribution) MarshalBinary

func (m *NFTContractDistribution) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NFTContractDistribution) UnmarshalBinary

func (m *NFTContractDistribution) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NFTContractDistribution) Validate

func (m *NFTContractDistribution) Validate(formats strfmt.Registry) error

Validate validates this n f t contract distribution

type NFTContractOwnership

type NFTContractOwnership struct {

	// multi owners
	// Required: true
	MultiOwners *int64 `json:"multi_owners"`

	// single owners
	// Required: true
	SingleOwners *int64 `json:"single_owners"`

	// unique holders num
	// Required: true
	UniqueHoldersNum *int64 `json:"unique_holders_num"`

	// whales count
	// Required: true
	WhalesCount *int64 `json:"whales_count"`
}

NFTContractOwnership n f t contract ownership swagger:model NFTContractOwnership

func (*NFTContractOwnership) MarshalBinary

func (m *NFTContractOwnership) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NFTContractOwnership) UnmarshalBinary

func (m *NFTContractOwnership) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NFTContractOwnership) Validate

func (m *NFTContractOwnership) Validate(formats strfmt.Registry) error

Validate validates this n f t contract ownership

type NFTContractRow

type NFTContractRow struct {

	// address
	Address string `json:"address,omitempty"`

	// description
	Description string `json:"description,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// nfts number
	NftsNumber int64 `json:"nfts_number,omitempty"`

	// operations number
	OperationsNumber int64 `json:"operations_number,omitempty"`
}

NFTContractRow n f t contract row swagger:model NFTContractRow

func (*NFTContractRow) MarshalBinary

func (m *NFTContractRow) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NFTContractRow) UnmarshalBinary

func (m *NFTContractRow) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NFTContractRow) Validate

func (m *NFTContractRow) Validate(formats strfmt.Registry) error

Validate validates this n f t contract row

type NFTTokenRow

type NFTTokenRow struct {

	// amount
	Amount int64 `json:"amount,omitempty"`

	// category
	Category string `json:"category,omitempty"`

	// created at
	CreatedAt int64 `json:"created_at,omitempty"`

	// decimals
	// Required: true
	Decimals *int64 `json:"decimals"`

	// description
	Description string `json:"description,omitempty"`

	// ipfs source
	IpfsSource string `json:"ipfs_source,omitempty"`

	// is for sale
	IsForSale bool `json:"is_for_sale,omitempty"`

	// issued by
	IssuedBy string `json:"issued_by,omitempty"`

	// last active at
	LastActiveAt int64 `json:"last_active_at,omitempty"`

	// last price
	LastPrice int64 `json:"last_price,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// token id
	TokenID int64 `json:"token_id,omitempty"`
}

NFTTokenRow n f t token row swagger:model NFTTokenRow

func (*NFTTokenRow) MarshalBinary

func (m *NFTTokenRow) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NFTTokenRow) UnmarshalBinary

func (m *NFTTokenRow) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NFTTokenRow) Validate

func (m *NFTTokenRow) Validate(formats strfmt.Registry) error

Validate validates this n f t token row

type NonVoter

type NonVoter struct {

	// name
	Name string `json:"name,omitempty"`

	// pkh
	Pkh string `json:"pkh,omitempty"`

	// rolls
	Rolls int64 `json:"rolls,omitempty"`
}

NonVoter non voter swagger:model NonVoter

func (*NonVoter) MarshalBinary

func (m *NonVoter) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NonVoter) UnmarshalBinary

func (m *NonVoter) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NonVoter) Validate

func (m *NonVoter) Validate(formats strfmt.Registry) error

Validate validates this non voter

type OperationGroupResult

type OperationGroupResult struct {

	// operation group
	// Required: true
	OperationGroup *OperationGroupsRow `json:"operation_group"`

	// operations
	// Required: true
	Operations []*OperationsRow `json:"operations"`
}

OperationGroupResult operation group result swagger:model OperationGroupResult

func (*OperationGroupResult) MarshalBinary

func (m *OperationGroupResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*OperationGroupResult) UnmarshalBinary

func (m *OperationGroupResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*OperationGroupResult) Validate

func (m *OperationGroupResult) Validate(formats strfmt.Registry) error

Validate validates this operation group result

type OperationGroupsRow

type OperationGroupsRow struct {

	// block Id
	// Required: true
	BlockID *string `json:"blockId"`

	// branch
	// Required: true
	Branch *string `json:"branch"`

	// chain Id
	ChainID string `json:"chainId,omitempty"`

	// hash
	// Required: true
	Hash *string `json:"hash"`

	// protocol
	// Required: true
	Protocol *string `json:"protocol"`

	// signature
	Signature string `json:"signature,omitempty"`
}

OperationGroupsRow operation groups row swagger:model OperationGroupsRow

func (*OperationGroupsRow) MarshalBinary

func (m *OperationGroupsRow) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*OperationGroupsRow) UnmarshalBinary

func (m *OperationGroupsRow) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*OperationGroupsRow) Validate

func (m *OperationGroupsRow) Validate(formats strfmt.Registry) error

Validate validates this operation groups row

type OperationsRow

type OperationsRow struct {

	// amount
	Amount int64 `json:"amount,omitempty"`

	// balance
	Balance int64 `json:"balance,omitempty"`

	// ballot
	Ballot string `json:"ballot,omitempty"`

	// block hash
	// Required: true
	BlockHash *string `json:"blockHash"`

	// block level
	// Required: true
	BlockLevel *int64 `json:"blockLevel"`

	// claimed amount
	ClaimedAmount int64 `json:"claimedAmount,omitempty"`

	// confirmations
	// Required: true
	Confirmations *int64 `json:"confirmations"`

	// consumed gas
	ConsumedGas int64 `json:"consumedGas,omitempty"`

	// counter
	Counter int64 `json:"counter,omitempty"`

	// cycle
	Cycle int64 `json:"cycle,omitempty"`

	// delegatable
	Delegatable bool `json:"delegatable,omitempty"`

	// delegate
	Delegate string `json:"delegate,omitempty"`

	// delegate name
	DelegateName string `json:"delegateName,omitempty"`

	// delegation amount
	DelegationAmount int64 `json:"delegationAmount,omitempty"`

	// destination
	Destination string `json:"destination,omitempty"`

	// destination name
	DestinationName string `json:"destinationName,omitempty"`

	// double operation details
	DoubleOperationDetails *DoubleOperationDetails `json:"doubleOperationDetails,omitempty"`

	// endorsement deposit
	EndorsementDeposit int64 `json:"endorsementDeposit,omitempty"`

	// endorsement reward
	EndorsementReward int64 `json:"endorsementReward,omitempty"`

	// entrypoint
	Entrypoint string `json:"entrypoint,omitempty"`

	// fee
	Fee int64 `json:"fee,omitempty"`

	// gas limit
	GasLimit int64 `json:"gasLimit,omitempty"`

	// kind
	// Required: true
	Kind *string `json:"kind"`

	// level
	Level int64 `json:"level,omitempty"`

	// manager pubkey
	ManagerPubkey string `json:"managerPubkey,omitempty"`

	// nonce
	Nonce string `json:"nonce,omitempty"`

	// operation group hash
	// Required: true
	OperationGroupHash *string `json:"operationGroupHash"`

	// operation Id
	// Required: true
	OperationID *int64 `json:"operationId"`

	// originated contracts
	OriginatedContracts string `json:"originatedContracts,omitempty"`

	// paid storage size diff
	PaidStorageSizeDiff int64 `json:"paidStorageSizeDiff,omitempty"`

	// parameters
	Parameters string `json:"parameters,omitempty"`

	// pkh
	Pkh string `json:"pkh,omitempty"`

	// proposal
	Proposal string `json:"proposal,omitempty"`

	// public key
	PublicKey string `json:"publicKey,omitempty"`

	// reward
	Reward int64 `json:"reward,omitempty"`

	// script
	Script string `json:"script,omitempty"`

	// secret
	Secret string `json:"secret,omitempty"`

	// slots
	Slots string `json:"slots,omitempty"`

	// source
	Source string `json:"source,omitempty"`

	// source name
	SourceName string `json:"sourceName,omitempty"`

	// spendable
	Spendable bool `json:"spendable,omitempty"`

	// status
	Status string `json:"status,omitempty"`

	// storage
	Storage string `json:"storage,omitempty"`

	// storage limit
	StorageLimit int64 `json:"storageLimit,omitempty"`

	// storage size
	StorageSize int64 `json:"storageSize,omitempty"`

	// timestamp
	// Required: true
	Timestamp *int64 `json:"timestamp"`
}

OperationsRow operations row swagger:model OperationsRow

func (*OperationsRow) MarshalBinary

func (m *OperationsRow) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*OperationsRow) UnmarshalBinary

func (m *OperationsRow) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*OperationsRow) Validate

func (m *OperationsRow) Validate(formats strfmt.Registry) error

Validate validates this operations row

type Period

type Period struct {

	// cur level
	CurLevel int64 `json:"curLevel,omitempty"`

	// end level
	EndLevel int64 `json:"endLevel,omitempty"`

	// end time
	// Format: date-time
	EndTime strfmt.DateTime `json:"endTime,omitempty"`

	// id
	// Required: true
	ID *int64 `json:"id"`

	// period type
	PeriodType string `json:"periodType,omitempty"`

	// start level
	StartLevel int64 `json:"startLevel,omitempty"`

	// start time
	// Format: date-time
	StartTime strfmt.DateTime `json:"startTime,omitempty"`
}

Period period swagger:model Period

func (*Period) MarshalBinary

func (m *Period) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Period) UnmarshalBinary

func (m *Period) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Period) Validate

func (m *Period) Validate(formats strfmt.Registry) error

Validate validates this period

type PeriodInfo

type PeriodInfo struct {

	// ballots
	Ballots *Ballots `json:"ballots,omitempty"`

	// period
	Period *Period `json:"period,omitempty"`

	// proposal
	Proposal *Proposal `json:"proposal,omitempty"`

	// total periods
	TotalPeriods int64 `json:"totalPeriods,omitempty"`

	// vote stats
	VoteStats *VoteStats `json:"voteStats,omitempty"`

	// winner
	Winner *Proposal `json:"winner,omitempty"`
}

PeriodInfo period info swagger:model PeriodInfo

func (*PeriodInfo) MarshalBinary

func (m *PeriodInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PeriodInfo) UnmarshalBinary

func (m *PeriodInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PeriodInfo) Validate

func (m *PeriodInfo) Validate(formats strfmt.Registry) error

Validate validates this period info

type PeriodTime

type PeriodTime struct {

	// end time
	// Format: date-time
	EndTime strfmt.DateTime `json:"endTime,omitempty"`

	// period type
	PeriodType string `json:"periodType,omitempty"`

	// start time
	// Format: date-time
	StartTime strfmt.DateTime `json:"startTime,omitempty"`
}

PeriodTime period time swagger:model PeriodTime

func (*PeriodTime) MarshalBinary

func (m *PeriodTime) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PeriodTime) UnmarshalBinary

func (m *PeriodTime) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PeriodTime) Validate

func (m *PeriodTime) Validate(formats strfmt.Registry) error

Validate validates this period time

type Proposal

type Proposal struct {

	// hash
	Hash string `json:"hash,omitempty"`

	// min quorum
	MinQuorum int64 `json:"minQuorum,omitempty"`

	// period
	Period int64 `json:"period,omitempty"`

	// proposal file
	ProposalFile string `json:"proposalFile,omitempty"`

	// proposer
	Proposer *ProposalProposer `json:"proposer,omitempty"`

	// short description
	ShortDescription string `json:"shortDescription,omitempty"`

	// title
	Title string `json:"title,omitempty"`

	// votes casted
	VotesCasted int64 `json:"votesCasted,omitempty"`

	// votes num
	VotesNum int64 `json:"votesNum,omitempty"`
}

Proposal proposal swagger:model Proposal

func (*Proposal) MarshalBinary

func (m *Proposal) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Proposal) UnmarshalBinary

func (m *Proposal) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Proposal) Validate

func (m *Proposal) Validate(formats strfmt.Registry) error

Validate validates this proposal

type ProposalInfo

type ProposalInfo struct {

	// period
	Period *Period `json:"period,omitempty"`

	// period times
	PeriodTimes []*PeriodTime `json:"periodTimes"`

	// total periods
	TotalPeriods int64 `json:"totalPeriods,omitempty"`

	// vote stats
	VoteStats *VoteStats `json:"voteStats,omitempty"`
}

ProposalInfo proposal info swagger:model ProposalInfo

func (*ProposalInfo) MarshalBinary

func (m *ProposalInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ProposalInfo) UnmarshalBinary

func (m *ProposalInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ProposalInfo) Validate

func (m *ProposalInfo) Validate(formats strfmt.Registry) error

Validate validates this proposal info

type ProposalProposer

type ProposalProposer struct {

	// name
	Name string `json:"name,omitempty"`

	// pkh
	Pkh string `json:"pkh,omitempty"`
}

ProposalProposer proposal proposer swagger:model ProposalProposer

func (*ProposalProposer) MarshalBinary

func (m *ProposalProposer) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ProposalProposer) UnmarshalBinary

func (m *ProposalProposer) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ProposalProposer) Validate

func (m *ProposalProposer) Validate(formats strfmt.Registry) error

Validate validates this proposal proposer

type ProposalVoter

type ProposalVoter struct {

	// block level
	BlockLevel int64 `json:"blockLevel,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// operation
	Operation string `json:"operation,omitempty"`

	// pkh
	Pkh string `json:"pkh,omitempty"`

	// proposal
	Proposal string `json:"proposal,omitempty"`

	// rolls
	Rolls int64 `json:"rolls,omitempty"`

	// timestamp
	// Format: date-time
	Timestamp strfmt.DateTime `json:"timestamp,omitempty"`
}

ProposalVoter proposal voter swagger:model ProposalVoter

func (*ProposalVoter) MarshalBinary

func (m *ProposalVoter) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ProposalVoter) UnmarshalBinary

func (m *ProposalVoter) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ProposalVoter) Validate

func (m *ProposalVoter) Validate(formats strfmt.Registry) error

Validate validates this proposal voter

type Protocol

type Protocol struct {

	// end block
	// Required: true
	EndBlock *int64 `json:"endBlock"`

	// hash
	// Required: true
	Hash *string `json:"hash"`

	// start block
	// Required: true
	StartBlock *int64 `json:"startBlock"`
}

Protocol protocol swagger:model Protocol

func (*Protocol) MarshalBinary

func (m *Protocol) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Protocol) UnmarshalBinary

func (m *Protocol) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Protocol) Validate

func (m *Protocol) Validate(formats strfmt.Registry) error

Validate validates this protocol

type PublicBaker

type PublicBaker struct {
	BakersRow
}

PublicBaker public baker swagger:model PublicBaker

func (*PublicBaker) MarshalBinary

func (m *PublicBaker) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (PublicBaker) MarshalJSON

func (m PublicBaker) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*PublicBaker) UnmarshalBinary

func (m *PublicBaker) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PublicBaker) UnmarshalJSON

func (m *PublicBaker) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*PublicBaker) Validate

func (m *PublicBaker) Validate(formats strfmt.Registry) error

Validate validates this public baker

type PublicBakerSearch

type PublicBakerSearch struct {

	// account Id
	AccountID string `json:"accountId,omitempty"`

	// name
	Name string `json:"name,omitempty"`
}

PublicBakerSearch public baker search swagger:model PublicBakerSearch

func (*PublicBakerSearch) MarshalBinary

func (m *PublicBakerSearch) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PublicBakerSearch) UnmarshalBinary

func (m *PublicBakerSearch) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PublicBakerSearch) Validate

func (m *PublicBakerSearch) Validate(formats strfmt.Registry) error

Validate validates this public baker search

type RequestUserProfile

type RequestUserProfile struct {

	// email
	Email string `json:"email,omitempty"`

	// username
	Username string `json:"username,omitempty"`
}

RequestUserProfile request user profile swagger:model RequestUserProfile

func (*RequestUserProfile) MarshalBinary

func (m *RequestUserProfile) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestUserProfile) UnmarshalBinary

func (m *RequestUserProfile) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestUserProfile) Validate

func (m *RequestUserProfile) Validate(formats strfmt.Registry) error

Validate validates this request user profile

type Snapshots

type Snapshots struct {

	// cycle
	Cycle int64 `json:"cycle,omitempty"`

	// cycle end
	CycleEnd int64 `json:"cycleEnd,omitempty"`

	// cycle start
	CycleStart int64 `json:"cycleStart,omitempty"`

	// rolls
	Rolls int64 `json:"rolls,omitempty"`

	// snapshot block
	SnapshotBlock int64 `json:"snapshot_block,omitempty"`
}

Snapshots snapshots swagger:model Snapshots

func (*Snapshots) MarshalBinary

func (m *Snapshots) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Snapshots) UnmarshalBinary

func (m *Snapshots) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Snapshots) Validate

func (m *Snapshots) Validate(formats strfmt.Registry) error

Validate validates this snapshots

type ThirdPartyBakers

type ThirdPartyBakers struct {

	// alias
	Alias string `json:"alias,omitempty"`

	// baker
	Baker string `json:"baker,omitempty"`

	// providers
	Providers []*ThirdPartyProvider `json:"providers"`
}

ThirdPartyBakers third party bakers swagger:model ThirdPartyBakers

func (*ThirdPartyBakers) MarshalBinary

func (m *ThirdPartyBakers) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ThirdPartyBakers) UnmarshalBinary

func (m *ThirdPartyBakers) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ThirdPartyBakers) Validate

func (m *ThirdPartyBakers) Validate(formats strfmt.Registry) error

Validate validates this third party bakers

type ThirdPartyProvider

type ThirdPartyProvider struct {

	// address
	Address string `json:"address,omitempty"`

	// available capacity
	AvailableCapacity int64 `json:"available_capacity,omitempty"`

	// efficiency
	Efficiency float64 `json:"efficiency,omitempty"`

	// fee
	Fee float64 `json:"fee,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// number
	Number int64 `json:"number,omitempty"`

	// payout accuracy
	PayoutAccuracy string `json:"payout_accuracy,omitempty"`

	// provider
	Provider string `json:"provider,omitempty"`

	// staking balance
	StakingBalance int64 `json:"staking_balance,omitempty"`

	// yield
	Yield float64 `json:"yield,omitempty"`
}

ThirdPartyProvider third party provider swagger:model ThirdPartyProvider

func (*ThirdPartyProvider) MarshalBinary

func (m *ThirdPartyProvider) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ThirdPartyProvider) UnmarshalBinary

func (m *ThirdPartyProvider) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ThirdPartyProvider) Validate

func (m *ThirdPartyProvider) Validate(formats strfmt.Registry) error

Validate validates this third party provider

type TokenAssetRow

type TokenAssetRow struct {

	// account id
	AccountID string `json:"account_id,omitempty"`

	// created at
	CreatedAt int64 `json:"created_at,omitempty"`

	// manager
	Manager string `json:"manager,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// precision
	// Required: true
	Precision *int64 `json:"precision"`

	// ticker
	Ticker string `json:"ticker,omitempty"`

	// total supply
	TotalSupply int64 `json:"total_supply,omitempty"`
}

TokenAssetRow token asset row swagger:model TokenAssetRow

func (*TokenAssetRow) MarshalBinary

func (m *TokenAssetRow) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TokenAssetRow) UnmarshalBinary

func (m *TokenAssetRow) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TokenAssetRow) Validate

func (m *TokenAssetRow) Validate(formats strfmt.Registry) error

Validate validates this token asset row

type TokenHolderRow

type TokenHolderRow struct {

	// account id
	AccountID string `json:"account_id,omitempty"`

	// balance
	// Required: true
	Balance *int64 `json:"balance"`
}

TokenHolderRow token holder row swagger:model TokenHolderRow

func (*TokenHolderRow) MarshalBinary

func (m *TokenHolderRow) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TokenHolderRow) UnmarshalBinary

func (m *TokenHolderRow) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TokenHolderRow) Validate

func (m *TokenHolderRow) Validate(formats strfmt.Registry) error

Validate validates this token holder row

type UserAddress

type UserAddress struct {

	// address
	// Required: true
	Address *string `json:"address"`

	// delegations enabled
	// Required: true
	DelegationsEnabled *bool `json:"delegations_enabled"`

	// in transfers enabled
	// Required: true
	InTransfersEnabled *bool `json:"in_transfers_enabled"`

	// out transfers enabled
	// Required: true
	OutTransfersEnabled *bool `json:"out_transfers_enabled"`
}

UserAddress user address swagger:model UserAddress

func (*UserAddress) MarshalBinary

func (m *UserAddress) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UserAddress) UnmarshalBinary

func (m *UserAddress) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UserAddress) Validate

func (m *UserAddress) Validate(formats strfmt.Registry) error

Validate validates this user address

type UserAddressWithBalance

type UserAddressWithBalance struct {

	// address
	// Required: true
	Address *string `json:"address"`

	// balance
	// Required: true
	Balance *int64 `json:"balance"`

	// delegations enabled
	// Required: true
	DelegationsEnabled *bool `json:"delegations_enabled"`

	// in transfers enabled
	// Required: true
	InTransfersEnabled *bool `json:"in_transfers_enabled"`

	// out transfers enabled
	// Required: true
	OutTransfersEnabled *bool `json:"out_transfers_enabled"`
}

UserAddressWithBalance user address with balance swagger:model UserAddressWithBalance

func (*UserAddressWithBalance) MarshalBinary

func (m *UserAddressWithBalance) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UserAddressWithBalance) UnmarshalBinary

func (m *UserAddressWithBalance) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UserAddressWithBalance) Validate

func (m *UserAddressWithBalance) Validate(formats strfmt.Registry) error

Validate validates this user address with balance

type UserNote

type UserNote struct {

	// address
	Address string `json:"address,omitempty"`

	// alias
	Alias string `json:"alias,omitempty"`

	// description
	Description string `json:"description,omitempty"`

	// tag
	Tag string `json:"tag,omitempty"`
}

UserNote user note swagger:model UserNote

func (*UserNote) MarshalBinary

func (m *UserNote) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UserNote) UnmarshalBinary

func (m *UserNote) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UserNote) Validate

func (m *UserNote) Validate(formats strfmt.Registry) error

Validate validates this user note

type UserNoteWithBalance

type UserNoteWithBalance struct {

	// address
	// Required: true
	Address *string `json:"address"`

	// alias
	// Required: true
	Alias *string `json:"alias"`

	// balance
	// Required: true
	Balance *int64 `json:"balance"`

	// description
	// Required: true
	Description *string `json:"description"`

	// tag
	// Required: true
	Tag *string `json:"tag"`
}

UserNoteWithBalance user note with balance swagger:model UserNoteWithBalance

func (*UserNoteWithBalance) MarshalBinary

func (m *UserNoteWithBalance) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UserNoteWithBalance) UnmarshalBinary

func (m *UserNoteWithBalance) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UserNoteWithBalance) Validate

func (m *UserNoteWithBalance) Validate(formats strfmt.Registry) error

Validate validates this user note with balance

type UserProfile

type UserProfile struct {

	// email
	// Required: true
	Email *string `json:"email"`

	// username
	// Required: true
	Username *string `json:"username"`

	// verified
	// Required: true
	Verified *bool `json:"verified"`
}

UserProfile user profile swagger:model UserProfile

func (*UserProfile) MarshalBinary

func (m *UserProfile) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UserProfile) UnmarshalBinary

func (m *UserProfile) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UserProfile) Validate

func (m *UserProfile) Validate(formats strfmt.Registry) error

Validate validates this user profile

type VoteStats

type VoteStats struct {

	// num voters
	NumVoters int64 `json:"numVoters,omitempty"`

	// num voters total
	NumVotersTotal int64 `json:"numVotersTotal,omitempty"`

	// votes available
	VotesAvailable int64 `json:"votesAvailable,omitempty"`

	// votes cast
	VotesCast int64 `json:"votesCast,omitempty"`
}

VoteStats vote stats swagger:model VoteStats

func (*VoteStats) MarshalBinary

func (m *VoteStats) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*VoteStats) UnmarshalBinary

func (m *VoteStats) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VoteStats) Validate

func (m *VoteStats) Validate(formats strfmt.Registry) error

Validate validates this vote stats

type WhaleAccount

type WhaleAccount struct {

	// account Id
	AccountID string `json:"accountId,omitempty"`

	// amount
	Amount int64 `json:"amount,omitempty"`
}

WhaleAccount whale account swagger:model WhaleAccount

func (*WhaleAccount) MarshalBinary

func (m *WhaleAccount) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*WhaleAccount) UnmarshalBinary

func (m *WhaleAccount) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*WhaleAccount) Validate

func (m *WhaleAccount) Validate(formats strfmt.Registry) error

Validate validates this whale account

type WhaleAccounts

type WhaleAccounts struct {

	// accounts
	Accounts []*WhaleAccountsAccountsItems0 `json:"accounts"`

	// transfers
	Transfers []*WhaleAccountsTransfersItems0 `json:"transfers"`
}

WhaleAccounts whale accounts swagger:model WhaleAccounts

func (*WhaleAccounts) MarshalBinary

func (m *WhaleAccounts) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*WhaleAccounts) UnmarshalBinary

func (m *WhaleAccounts) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*WhaleAccounts) Validate

func (m *WhaleAccounts) Validate(formats strfmt.Registry) error

Validate validates this whale accounts

type WhaleAccountsAccountsItems0

type WhaleAccountsAccountsItems0 struct {

	// address
	Address string `json:"address,omitempty"`

	// balance
	Balance int64 `json:"balance,omitempty"`
}

WhaleAccountsAccountsItems0 whale accounts accounts items0 swagger:model WhaleAccountsAccountsItems0

func (*WhaleAccountsAccountsItems0) MarshalBinary

func (m *WhaleAccountsAccountsItems0) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*WhaleAccountsAccountsItems0) UnmarshalBinary

func (m *WhaleAccountsAccountsItems0) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*WhaleAccountsAccountsItems0) Validate

func (m *WhaleAccountsAccountsItems0) Validate(formats strfmt.Registry) error

Validate validates this whale accounts accounts items0

type WhaleAccountsTransfersItems0

type WhaleAccountsTransfersItems0 struct {

	// amount
	Amount int64 `json:"amount,omitempty"`

	// from
	From string `json:"from,omitempty"`

	// to
	To string `json:"to,omitempty"`
}

WhaleAccountsTransfersItems0 whale accounts transfers items0 swagger:model WhaleAccountsTransfersItems0

func (*WhaleAccountsTransfersItems0) MarshalBinary

func (m *WhaleAccountsTransfersItems0) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*WhaleAccountsTransfersItems0) UnmarshalBinary

func (m *WhaleAccountsTransfersItems0) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*WhaleAccountsTransfersItems0) Validate

func (m *WhaleAccountsTransfersItems0) Validate(formats strfmt.Registry) error

Validate validates this whale accounts transfers items0

Jump to

Keyboard shortcuts

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