models

package
v9.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2021 License: ISC Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// AccountKindBasic captures enum value "basic"
	AccountKindBasic string = "basic"

	// AccountKindGeneralized captures enum value "generalized"
	AccountKindGeneralized string = "generalized"
)
View Source
const (

	// TTLTypeDelta captures enum value "delta"
	TTLTypeDelta string = "delta"

	// TTLTypeBlock captures enum value "block"
	TTLTypeBlock string = "block"
)
View Source
const (

	// RelativeTTLTypeDelta captures enum value "delta"
	RelativeTTLTypeDelta string = "delta"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Account

type Account struct {

	// Name of authorization function for generalized account
	AuthFun string `json:"auth_fun,omitempty"`

	// Balance
	// Required: true
	Balance *utils.BigInt `json:"balance"`

	// Id of authorization contract for generalized account
	ContractID string `json:"contract_id,omitempty"`

	// Public key
	// Required: true
	ID *string `json:"id"`

	// kind
	// Enum: [basic generalized]
	Kind string `json:"kind,omitempty"`

	// Nonce
	// Required: true
	Nonce *uint64 `json:"nonce"`

	// Payable
	Payable bool `json:"payable,omitempty"`
}

Account account

swagger:model Account

func (*Account) ContextValidate

func (m *Account) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this account based on the context it is used

func (*Account) MarshalBinary

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

MarshalBinary interface implementation

func (*Account) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Account) Validate

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

Validate validates this account

type ByteCode

type ByteCode struct {

	// bytecode
	// Required: true
	Bytecode *string `json:"bytecode"`
}

ByteCode byte code

swagger:model ByteCode

func (*ByteCode) ContextValidate

func (m *ByteCode) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this byte code based on context it is used

func (*ByteCode) MarshalBinary

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

MarshalBinary interface implementation

func (*ByteCode) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ByteCode) Validate

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

Validate validates this byte code

type Channel

type Channel struct {

	// channel amount
	// Required: true
	ChannelAmount *utils.BigInt `json:"channel_amount"`

	// channel reserve
	// Required: true
	ChannelReserve *utils.BigInt `json:"channel_reserve"`

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

	// initiator amount
	// Required: true
	InitiatorAmount *utils.BigInt `json:"initiator_amount"`

	// initiator id
	// Required: true
	InitiatorID *string `json:"initiator_id"`

	// lock period
	// Required: true
	LockPeriod *uint64 `json:"lock_period"`

	// locked until
	// Required: true
	LockedUntil *uint64 `json:"locked_until"`

	// responder amount
	// Required: true
	ResponderAmount *utils.BigInt `json:"responder_amount"`

	// responder id
	// Required: true
	ResponderID *string `json:"responder_id"`

	// round
	// Required: true
	Round *uint64 `json:"round"`

	// solo round
	// Required: true
	SoloRound *uint64 `json:"solo_round"`

	// state hash
	// Required: true
	StateHash *string `json:"state_hash"`
}

Channel channel

swagger:model Channel

func (*Channel) ContextValidate

func (m *Channel) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this channel based on the context it is used

func (*Channel) MarshalBinary

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

MarshalBinary interface implementation

func (*Channel) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Channel) Validate

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

Validate validates this channel

type ChannelCloseMutualTx

type ChannelCloseMutualTx struct {

	// channel id
	// Required: true
	ChannelID *string `json:"channel_id"`

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

	// from id
	// Required: true
	FromID *string `json:"from_id"`

	// initiator amount final
	// Required: true
	InitiatorAmountFinal *utils.BigInt `json:"initiator_amount_final"`

	// nonce
	// Required: true
	Nonce *uint64 `json:"nonce"`

	// responder amount final
	// Required: true
	ResponderAmountFinal *utils.BigInt `json:"responder_amount_final"`

	// ttl
	TTL uint64 `json:"ttl,omitempty"`
}

ChannelCloseMutualTx channel close mutual tx

swagger:model ChannelCloseMutualTx

func (*ChannelCloseMutualTx) ContextValidate

func (m *ChannelCloseMutualTx) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this channel close mutual tx based on the context it is used

func (*ChannelCloseMutualTx) MarshalBinary

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

MarshalBinary interface implementation

func (*ChannelCloseMutualTx) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ChannelCloseMutualTx) Validate

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

Validate validates this channel close mutual tx

type ChannelCloseMutualTxJSON

type ChannelCloseMutualTxJSON struct {
	ChannelCloseMutualTx
	// contains filtered or unexported fields
}

ChannelCloseMutualTxJSON channel close mutual tx JSON

swagger:model ChannelCloseMutualTxJSON

func (*ChannelCloseMutualTxJSON) ContextValidate

func (m *ChannelCloseMutualTxJSON) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this channel close mutual tx JSON based on the context it is used

func (*ChannelCloseMutualTxJSON) MarshalBinary

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

MarshalBinary interface implementation

func (ChannelCloseMutualTxJSON) MarshalJSON

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

MarshalJSON marshals this object with a polymorphic type to a JSON structure

func (*ChannelCloseMutualTxJSON) SetType

func (m *ChannelCloseMutualTxJSON) SetType(val string)

SetType sets the type of this subtype

func (*ChannelCloseMutualTxJSON) SetVersion

func (m *ChannelCloseMutualTxJSON) SetVersion(val *uint32)

SetVersion sets the version of this subtype

func (*ChannelCloseMutualTxJSON) Type

func (m *ChannelCloseMutualTxJSON) Type() string

Type gets the type of this subtype

func (*ChannelCloseMutualTxJSON) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ChannelCloseMutualTxJSON) UnmarshalJSON

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

UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure

func (*ChannelCloseMutualTxJSON) Validate

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

Validate validates this channel close mutual tx JSON

func (*ChannelCloseMutualTxJSON) Version

func (m *ChannelCloseMutualTxJSON) Version() *uint32

Version gets the version of this subtype

type ChannelCloseSoloTx

type ChannelCloseSoloTx struct {

	// channel id
	// Required: true
	ChannelID *string `json:"channel_id"`

	// fee
	// Required: true
	Fee *utils.BigInt `json:"fee"`

	// from id
	// Required: true
	FromID *string `json:"from_id"`

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

	// payload
	// Required: true
	Payload *string `json:"payload"`

	// Proof of inclusion containing information for closing the channel
	// Required: true
	Poi *string `json:"poi"`

	// ttl
	TTL uint64 `json:"ttl,omitempty"`
}

ChannelCloseSoloTx channel close solo tx

swagger:model ChannelCloseSoloTx

func (*ChannelCloseSoloTx) ContextValidate

func (m *ChannelCloseSoloTx) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this channel close solo tx based on the context it is used

func (*ChannelCloseSoloTx) MarshalBinary

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

MarshalBinary interface implementation

func (*ChannelCloseSoloTx) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ChannelCloseSoloTx) Validate

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

Validate validates this channel close solo tx

type ChannelCloseSoloTxJSON

type ChannelCloseSoloTxJSON struct {
	ChannelCloseSoloTx
	// contains filtered or unexported fields
}

ChannelCloseSoloTxJSON channel close solo tx JSON

swagger:model ChannelCloseSoloTxJSON

func (*ChannelCloseSoloTxJSON) ContextValidate

func (m *ChannelCloseSoloTxJSON) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this channel close solo tx JSON based on the context it is used

func (*ChannelCloseSoloTxJSON) MarshalBinary

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

MarshalBinary interface implementation

func (ChannelCloseSoloTxJSON) MarshalJSON

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

MarshalJSON marshals this object with a polymorphic type to a JSON structure

func (*ChannelCloseSoloTxJSON) SetType

func (m *ChannelCloseSoloTxJSON) SetType(val string)

SetType sets the type of this subtype

func (*ChannelCloseSoloTxJSON) SetVersion

func (m *ChannelCloseSoloTxJSON) SetVersion(val *uint32)

SetVersion sets the version of this subtype

func (*ChannelCloseSoloTxJSON) Type

func (m *ChannelCloseSoloTxJSON) Type() string

Type gets the type of this subtype

func (*ChannelCloseSoloTxJSON) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ChannelCloseSoloTxJSON) UnmarshalJSON

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

UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure

func (*ChannelCloseSoloTxJSON) Validate

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

Validate validates this channel close solo tx JSON

func (*ChannelCloseSoloTxJSON) Version

func (m *ChannelCloseSoloTxJSON) Version() *uint32

Version gets the version of this subtype

type ChannelCreateTx

type ChannelCreateTx struct {

	// channel reserve
	// Required: true
	ChannelReserve *utils.BigInt `json:"channel_reserve"`

	// fee
	// Required: true
	Fee *utils.BigInt `json:"fee"`

	// initiator amount
	// Required: true
	InitiatorAmount *utils.BigInt `json:"initiator_amount"`

	// initiator id
	// Required: true
	InitiatorID *string `json:"initiator_id"`

	// lock period
	// Required: true
	LockPeriod *uint64 `json:"lock_period"`

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

	// responder amount
	// Required: true
	ResponderAmount *utils.BigInt `json:"responder_amount"`

	// responder id
	// Required: true
	ResponderID *string `json:"responder_id"`

	// Root hash of the channel's internal state tree
	// Required: true
	StateHash *string `json:"state_hash"`

	// ttl
	TTL uint64 `json:"ttl,omitempty"`
}

ChannelCreateTx channel create tx

swagger:model ChannelCreateTx

func (*ChannelCreateTx) ContextValidate

func (m *ChannelCreateTx) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this channel create tx based on the context it is used

func (*ChannelCreateTx) MarshalBinary

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

MarshalBinary interface implementation

func (*ChannelCreateTx) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ChannelCreateTx) Validate

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

Validate validates this channel create tx

type ChannelCreateTxJSON

type ChannelCreateTxJSON struct {
	ChannelCreateTx
	// contains filtered or unexported fields
}

ChannelCreateTxJSON channel create tx JSON

swagger:model ChannelCreateTxJSON

func (*ChannelCreateTxJSON) ContextValidate

func (m *ChannelCreateTxJSON) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this channel create tx JSON based on the context it is used

func (*ChannelCreateTxJSON) MarshalBinary

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

MarshalBinary interface implementation

func (ChannelCreateTxJSON) MarshalJSON

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

MarshalJSON marshals this object with a polymorphic type to a JSON structure

func (*ChannelCreateTxJSON) SetType

func (m *ChannelCreateTxJSON) SetType(val string)

SetType sets the type of this subtype

func (*ChannelCreateTxJSON) SetVersion

func (m *ChannelCreateTxJSON) SetVersion(val *uint32)

SetVersion sets the version of this subtype

func (*ChannelCreateTxJSON) Type

func (m *ChannelCreateTxJSON) Type() string

Type gets the type of this subtype

func (*ChannelCreateTxJSON) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ChannelCreateTxJSON) UnmarshalJSON

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

UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure

func (*ChannelCreateTxJSON) Validate

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

Validate validates this channel create tx JSON

func (*ChannelCreateTxJSON) Version

func (m *ChannelCreateTxJSON) Version() *uint32

Version gets the version of this subtype

type ChannelDepositTx

type ChannelDepositTx struct {

	// amount
	// Required: true
	Amount *utils.BigInt `json:"amount"`

	// channel id
	// Required: true
	ChannelID *string `json:"channel_id"`

	// fee
	// Required: true
	Fee *utils.BigInt `json:"fee"`

	// from id
	// Required: true
	FromID *string `json:"from_id"`

	// nonce
	// Required: true
	Nonce *uint64 `json:"nonce"`

	// Channel's next round
	// Required: true
	Round *uint64 `json:"round"`

	// Root hash of the channel's internal state tree after the deposit had been applied to it
	// Required: true
	StateHash *string `json:"state_hash"`

	// ttl
	TTL uint64 `json:"ttl,omitempty"`
}

ChannelDepositTx channel deposit tx

swagger:model ChannelDepositTx

func (*ChannelDepositTx) ContextValidate

func (m *ChannelDepositTx) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this channel deposit tx based on the context it is used

func (*ChannelDepositTx) MarshalBinary

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

MarshalBinary interface implementation

func (*ChannelDepositTx) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ChannelDepositTx) Validate

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

Validate validates this channel deposit tx

type ChannelDepositTxJSON

type ChannelDepositTxJSON struct {
	ChannelDepositTx
	// contains filtered or unexported fields
}

ChannelDepositTxJSON channel deposit tx JSON

swagger:model ChannelDepositTxJSON

func (*ChannelDepositTxJSON) ContextValidate

func (m *ChannelDepositTxJSON) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this channel deposit tx JSON based on the context it is used

func (*ChannelDepositTxJSON) MarshalBinary

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

MarshalBinary interface implementation

func (ChannelDepositTxJSON) MarshalJSON

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

MarshalJSON marshals this object with a polymorphic type to a JSON structure

func (*ChannelDepositTxJSON) SetType

func (m *ChannelDepositTxJSON) SetType(val string)

SetType sets the type of this subtype

func (*ChannelDepositTxJSON) SetVersion

func (m *ChannelDepositTxJSON) SetVersion(val *uint32)

SetVersion sets the version of this subtype

func (*ChannelDepositTxJSON) Type

func (m *ChannelDepositTxJSON) Type() string

Type gets the type of this subtype

func (*ChannelDepositTxJSON) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ChannelDepositTxJSON) UnmarshalJSON

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

UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure

func (*ChannelDepositTxJSON) Validate

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

Validate validates this channel deposit tx JSON

func (*ChannelDepositTxJSON) Version

func (m *ChannelDepositTxJSON) Version() *uint32

Version gets the version of this subtype

type ChannelForceProgressTx

type ChannelForceProgressTx struct {

	// channel id
	// Required: true
	ChannelID *string `json:"channel_id"`

	// fee
	// Required: true
	Fee *utils.BigInt `json:"fee"`

	// from id
	// Required: true
	FromID *string `json:"from_id"`

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

	// The whole set of off-chain state trees
	OffchainTrees string `json:"offchain_trees,omitempty"`

	// payload
	// Required: true
	Payload *string `json:"payload"`

	// Channel's next round
	// Required: true
	Round *uint64 `json:"round"`

	// Channel's next state_hash
	// Required: true
	StateHash *string `json:"state_hash"`

	// ttl
	TTL uint64 `json:"ttl,omitempty"`
	// contains filtered or unexported fields
}

ChannelForceProgressTx channel force progress tx

swagger:model ChannelForceProgressTx

func (*ChannelForceProgressTx) ContextValidate

func (m *ChannelForceProgressTx) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this channel force progress tx based on the context it is used

func (*ChannelForceProgressTx) MarshalBinary

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

MarshalBinary interface implementation

func (ChannelForceProgressTx) MarshalJSON

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

MarshalJSON marshals this object with a polymorphic type to a JSON structure

func (*ChannelForceProgressTx) SetUpdate

func (m *ChannelForceProgressTx) SetUpdate(val OffChainUpdate)

SetUpdate sets the update of this base type

func (*ChannelForceProgressTx) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ChannelForceProgressTx) UnmarshalJSON

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

UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure

func (*ChannelForceProgressTx) Update

Update gets the update of this base type

func (*ChannelForceProgressTx) Validate

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

Validate validates this channel force progress tx

type ChannelForceProgressTxJSON

type ChannelForceProgressTxJSON struct {
	ChannelForceProgressTx
	// contains filtered or unexported fields
}

ChannelForceProgressTxJSON channel force progress tx JSON

swagger:model ChannelForceProgressTxJSON

func (*ChannelForceProgressTxJSON) ContextValidate

func (m *ChannelForceProgressTxJSON) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this channel force progress tx JSON based on the context it is used

func (*ChannelForceProgressTxJSON) MarshalBinary

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

MarshalBinary interface implementation

func (ChannelForceProgressTxJSON) MarshalJSON

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

MarshalJSON marshals this object with a polymorphic type to a JSON structure

func (*ChannelForceProgressTxJSON) SetType

func (m *ChannelForceProgressTxJSON) SetType(val string)

SetType sets the type of this subtype

func (*ChannelForceProgressTxJSON) SetVersion

func (m *ChannelForceProgressTxJSON) SetVersion(val *uint32)

SetVersion sets the version of this subtype

func (*ChannelForceProgressTxJSON) Type

Type gets the type of this subtype

func (*ChannelForceProgressTxJSON) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ChannelForceProgressTxJSON) UnmarshalJSON

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

UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure

func (*ChannelForceProgressTxJSON) Validate

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

Validate validates this channel force progress tx JSON

func (*ChannelForceProgressTxJSON) Version

func (m *ChannelForceProgressTxJSON) Version() *uint32

Version gets the version of this subtype

type ChannelSetDelegatesTx

type ChannelSetDelegatesTx struct {

	// channel id
	// Required: true
	ChannelID *string `json:"channel_id"`

	// fee
	// Required: true
	Fee *utils.BigInt `json:"fee"`

	// from id
	// Required: true
	FromID *string `json:"from_id"`

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

	// payload
	// Required: true
	Payload *string `json:"payload"`

	// round
	// Required: true
	Round *uint64 `json:"round"`

	// state hash
	// Required: true
	StateHash *string `json:"state_hash"`

	// ttl
	TTL uint64 `json:"ttl,omitempty"`
}

ChannelSetDelegatesTx channel set delegates tx

swagger:model ChannelSetDelegatesTx

func (*ChannelSetDelegatesTx) ContextValidate

func (m *ChannelSetDelegatesTx) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this channel set delegates tx based on the context it is used

func (*ChannelSetDelegatesTx) MarshalBinary

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

MarshalBinary interface implementation

func (*ChannelSetDelegatesTx) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ChannelSetDelegatesTx) Validate

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

Validate validates this channel set delegates tx

type ChannelSettleTx

type ChannelSettleTx struct {

	// channel id
	// Required: true
	ChannelID *string `json:"channel_id"`

	// fee
	// Required: true
	Fee *utils.BigInt `json:"fee"`

	// from id
	// Required: true
	FromID *string `json:"from_id"`

	// initiator amount final
	// Required: true
	InitiatorAmountFinal *utils.BigInt `json:"initiator_amount_final"`

	// nonce
	// Required: true
	Nonce *uint64 `json:"nonce"`

	// responder amount final
	// Required: true
	ResponderAmountFinal *utils.BigInt `json:"responder_amount_final"`

	// ttl
	TTL uint64 `json:"ttl,omitempty"`
}

ChannelSettleTx channel settle tx

swagger:model ChannelSettleTx

func (*ChannelSettleTx) ContextValidate

func (m *ChannelSettleTx) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this channel settle tx based on the context it is used

func (*ChannelSettleTx) MarshalBinary

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

MarshalBinary interface implementation

func (*ChannelSettleTx) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ChannelSettleTx) Validate

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

Validate validates this channel settle tx

type ChannelSettleTxJSON

type ChannelSettleTxJSON struct {
	ChannelSettleTx
	// contains filtered or unexported fields
}

ChannelSettleTxJSON channel settle tx JSON

swagger:model ChannelSettleTxJSON

func (*ChannelSettleTxJSON) ContextValidate

func (m *ChannelSettleTxJSON) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this channel settle tx JSON based on the context it is used

func (*ChannelSettleTxJSON) MarshalBinary

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

MarshalBinary interface implementation

func (ChannelSettleTxJSON) MarshalJSON

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

MarshalJSON marshals this object with a polymorphic type to a JSON structure

func (*ChannelSettleTxJSON) SetType

func (m *ChannelSettleTxJSON) SetType(val string)

SetType sets the type of this subtype

func (*ChannelSettleTxJSON) SetVersion

func (m *ChannelSettleTxJSON) SetVersion(val *uint32)

SetVersion sets the version of this subtype

func (*ChannelSettleTxJSON) Type

func (m *ChannelSettleTxJSON) Type() string

Type gets the type of this subtype

func (*ChannelSettleTxJSON) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ChannelSettleTxJSON) UnmarshalJSON

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

UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure

func (*ChannelSettleTxJSON) Validate

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

Validate validates this channel settle tx JSON

func (*ChannelSettleTxJSON) Version

func (m *ChannelSettleTxJSON) Version() *uint32

Version gets the version of this subtype

type ChannelSlashTx

type ChannelSlashTx struct {

	// channel id
	// Required: true
	ChannelID *string `json:"channel_id"`

	// fee
	// Required: true
	Fee *utils.BigInt `json:"fee"`

	// from id
	// Required: true
	FromID *string `json:"from_id"`

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

	// payload
	// Required: true
	Payload *string `json:"payload"`

	// Proof of inclusion containing information for closing the channel
	// Required: true
	Poi *string `json:"poi"`

	// ttl
	TTL uint64 `json:"ttl,omitempty"`
}

ChannelSlashTx channel slash tx

swagger:model ChannelSlashTx

func (*ChannelSlashTx) ContextValidate

func (m *ChannelSlashTx) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this channel slash tx based on the context it is used

func (*ChannelSlashTx) MarshalBinary

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

MarshalBinary interface implementation

func (*ChannelSlashTx) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ChannelSlashTx) Validate

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

Validate validates this channel slash tx

type ChannelSlashTxJSON

type ChannelSlashTxJSON struct {
	ChannelSlashTx
	// contains filtered or unexported fields
}

ChannelSlashTxJSON channel slash tx JSON

swagger:model ChannelSlashTxJSON

func (*ChannelSlashTxJSON) ContextValidate

func (m *ChannelSlashTxJSON) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this channel slash tx JSON based on the context it is used

func (*ChannelSlashTxJSON) MarshalBinary

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

MarshalBinary interface implementation

func (ChannelSlashTxJSON) MarshalJSON

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

MarshalJSON marshals this object with a polymorphic type to a JSON structure

func (*ChannelSlashTxJSON) SetType

func (m *ChannelSlashTxJSON) SetType(val string)

SetType sets the type of this subtype

func (*ChannelSlashTxJSON) SetVersion

func (m *ChannelSlashTxJSON) SetVersion(val *uint32)

SetVersion sets the version of this subtype

func (*ChannelSlashTxJSON) Type

func (m *ChannelSlashTxJSON) Type() string

Type gets the type of this subtype

func (*ChannelSlashTxJSON) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ChannelSlashTxJSON) UnmarshalJSON

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

UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure

func (*ChannelSlashTxJSON) Validate

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

Validate validates this channel slash tx JSON

func (*ChannelSlashTxJSON) Version

func (m *ChannelSlashTxJSON) Version() *uint32

Version gets the version of this subtype

type ChannelSnapshotSoloTx

type ChannelSnapshotSoloTx struct {

	// channel id
	// Required: true
	ChannelID *string `json:"channel_id"`

	// fee
	// Required: true
	Fee *utils.BigInt `json:"fee"`

	// from id
	// Required: true
	FromID *string `json:"from_id"`

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

	// payload
	// Required: true
	Payload *string `json:"payload"`

	// ttl
	TTL uint64 `json:"ttl,omitempty"`
}

ChannelSnapshotSoloTx channel snapshot solo tx

swagger:model ChannelSnapshotSoloTx

func (*ChannelSnapshotSoloTx) ContextValidate

func (m *ChannelSnapshotSoloTx) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this channel snapshot solo tx based on the context it is used

func (*ChannelSnapshotSoloTx) MarshalBinary

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

MarshalBinary interface implementation

func (*ChannelSnapshotSoloTx) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ChannelSnapshotSoloTx) Validate

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

Validate validates this channel snapshot solo tx

type ChannelSnapshotSoloTxJSON

type ChannelSnapshotSoloTxJSON struct {
	ChannelSnapshotSoloTx
	// contains filtered or unexported fields
}

ChannelSnapshotSoloTxJSON channel snapshot solo tx JSON

swagger:model ChannelSnapshotSoloTxJSON

func (*ChannelSnapshotSoloTxJSON) ContextValidate

func (m *ChannelSnapshotSoloTxJSON) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this channel snapshot solo tx JSON based on the context it is used

func (*ChannelSnapshotSoloTxJSON) MarshalBinary

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

MarshalBinary interface implementation

func (ChannelSnapshotSoloTxJSON) MarshalJSON

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

MarshalJSON marshals this object with a polymorphic type to a JSON structure

func (*ChannelSnapshotSoloTxJSON) SetType

func (m *ChannelSnapshotSoloTxJSON) SetType(val string)

SetType sets the type of this subtype

func (*ChannelSnapshotSoloTxJSON) SetVersion

func (m *ChannelSnapshotSoloTxJSON) SetVersion(val *uint32)

SetVersion sets the version of this subtype

func (*ChannelSnapshotSoloTxJSON) Type

Type gets the type of this subtype

func (*ChannelSnapshotSoloTxJSON) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ChannelSnapshotSoloTxJSON) UnmarshalJSON

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

UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure

func (*ChannelSnapshotSoloTxJSON) Validate

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

Validate validates this channel snapshot solo tx JSON

func (*ChannelSnapshotSoloTxJSON) Version

func (m *ChannelSnapshotSoloTxJSON) Version() *uint32

Version gets the version of this subtype

type ChannelWithdrawTx

type ChannelWithdrawTx struct {

	// amount
	// Required: true
	Amount *utils.BigInt `json:"amount"`

	// channel id
	// Required: true
	ChannelID *string `json:"channel_id"`

	// fee
	// Required: true
	Fee *utils.BigInt `json:"fee"`

	// nonce
	// Required: true
	Nonce *uint64 `json:"nonce"`

	// Channel's next round
	// Required: true
	Round *uint64 `json:"round"`

	// Root hash of the channel's internal state tree after the withdraw had been applied to it
	// Required: true
	StateHash *string `json:"state_hash"`

	// to id
	// Required: true
	ToID *string `json:"to_id"`

	// ttl
	TTL uint64 `json:"ttl,omitempty"`
}

ChannelWithdrawTx channel withdraw tx

swagger:model ChannelWithdrawTx

func (*ChannelWithdrawTx) ContextValidate

func (m *ChannelWithdrawTx) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this channel withdraw tx based on the context it is used

func (*ChannelWithdrawTx) MarshalBinary

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

MarshalBinary interface implementation

func (*ChannelWithdrawTx) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ChannelWithdrawTx) Validate

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

Validate validates this channel withdraw tx

type ChannelWithdrawalTxJSON

type ChannelWithdrawalTxJSON struct {
	ChannelWithdrawTx
	// contains filtered or unexported fields
}

ChannelWithdrawalTxJSON channel withdrawal tx JSON

swagger:model ChannelWithdrawalTxJSON

func (*ChannelWithdrawalTxJSON) ContextValidate

func (m *ChannelWithdrawalTxJSON) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this channel withdrawal tx JSON based on the context it is used

func (*ChannelWithdrawalTxJSON) MarshalBinary

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

MarshalBinary interface implementation

func (ChannelWithdrawalTxJSON) MarshalJSON

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

MarshalJSON marshals this object with a polymorphic type to a JSON structure

func (*ChannelWithdrawalTxJSON) SetType

func (m *ChannelWithdrawalTxJSON) SetType(val string)

SetType sets the type of this subtype

func (*ChannelWithdrawalTxJSON) SetVersion

func (m *ChannelWithdrawalTxJSON) SetVersion(val *uint32)

SetVersion sets the version of this subtype

func (*ChannelWithdrawalTxJSON) Type

func (m *ChannelWithdrawalTxJSON) Type() string

Type gets the type of this subtype

func (*ChannelWithdrawalTxJSON) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ChannelWithdrawalTxJSON) UnmarshalJSON

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

UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure

func (*ChannelWithdrawalTxJSON) Validate

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

Validate validates this channel withdrawal tx JSON

func (*ChannelWithdrawalTxJSON) Version

func (m *ChannelWithdrawalTxJSON) Version() *uint32

Version gets the version of this subtype

type CommitmentID

type CommitmentID struct {

	// commitment id
	// Required: true
	CommitmentID *string `json:"commitment_id"`
}

CommitmentID commitment Id

swagger:model CommitmentId

func (*CommitmentID) ContextValidate

func (m *CommitmentID) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this commitment Id based on context it is used

func (*CommitmentID) MarshalBinary

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

MarshalBinary interface implementation

func (*CommitmentID) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*CommitmentID) Validate

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

Validate validates this commitment Id

type ContractCallObject

type ContractCallObject struct {

	// caller id
	// Required: true
	CallerID *string `json:"caller_id"`

	// caller nonce
	// Required: true
	CallerNonce *uint64 `json:"caller_nonce"`

	// contract id
	// Required: true
	ContractID *string `json:"contract_id"`

	// gas price
	// Required: true
	GasPrice *utils.BigInt `json:"gas_price"`

	// gas used
	// Required: true
	GasUsed *uint64 `json:"gas_used"`

	// height
	// Required: true
	Height *uint64 `json:"height"`

	// log
	// Required: true
	Log []*Event `json:"log"`

	// The status of the call 'ok | error | revert'.
	// Required: true
	ReturnType *string `json:"return_type"`

	// return value
	// Required: true
	ReturnValue *string `json:"return_value"`
}

ContractCallObject contract call object

swagger:model ContractCallObject

func (*ContractCallObject) ContextValidate

func (m *ContractCallObject) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this contract call object based on the context it is used

func (*ContractCallObject) MarshalBinary

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

MarshalBinary interface implementation

func (*ContractCallObject) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ContractCallObject) Validate

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

Validate validates this contract call object

type ContractCallTx

type ContractCallTx struct {

	// ABI version
	// Required: true
	AbiVersion *uint16 `json:"abi_version"`

	// amount
	// Required: true
	Amount *utils.BigInt `json:"amount"`

	// Contract call data
	// Required: true
	CallData *string `json:"call_data"`

	// Contract caller pub_key
	// Required: true
	CallerID *string `json:"caller_id"`

	// Contract's pub_key
	// Required: true
	ContractID *string `json:"contract_id"`

	// fee
	// Required: true
	Fee *utils.BigInt `json:"fee"`

	// gas
	// Required: true
	Gas *uint64 `json:"gas"`

	// gas price
	// Required: true
	GasPrice *utils.BigInt `json:"gas_price"`

	// Caller's nonce
	Nonce uint64 `json:"nonce,omitempty"`

	// ttl
	TTL uint64 `json:"ttl,omitempty"`
}

ContractCallTx contract call tx

swagger:model ContractCallTx

func (*ContractCallTx) ContextValidate

func (m *ContractCallTx) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this contract call tx based on the context it is used

func (*ContractCallTx) MarshalBinary

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

MarshalBinary interface implementation

func (*ContractCallTx) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ContractCallTx) Validate

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

Validate validates this contract call tx

type ContractCallTxJSON

type ContractCallTxJSON struct {
	ContractCallTx
	// contains filtered or unexported fields
}

ContractCallTxJSON contract call tx JSON

swagger:model ContractCallTxJSON

func (*ContractCallTxJSON) ContextValidate

func (m *ContractCallTxJSON) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this contract call tx JSON based on the context it is used

func (*ContractCallTxJSON) MarshalBinary

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

MarshalBinary interface implementation

func (ContractCallTxJSON) MarshalJSON

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

MarshalJSON marshals this object with a polymorphic type to a JSON structure

func (*ContractCallTxJSON) SetType

func (m *ContractCallTxJSON) SetType(val string)

SetType sets the type of this subtype

func (*ContractCallTxJSON) SetVersion

func (m *ContractCallTxJSON) SetVersion(val *uint32)

SetVersion sets the version of this subtype

func (*ContractCallTxJSON) Type

func (m *ContractCallTxJSON) Type() string

Type gets the type of this subtype

func (*ContractCallTxJSON) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ContractCallTxJSON) UnmarshalJSON

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

UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure

func (*ContractCallTxJSON) Validate

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

Validate validates this contract call tx JSON

func (*ContractCallTxJSON) Version

func (m *ContractCallTxJSON) Version() *uint32

Version gets the version of this subtype

type ContractCreateTx

type ContractCreateTx struct {

	// ABI version
	// Required: true
	AbiVersion *uint16 `json:"abi_version"`

	// amount
	// Required: true
	Amount *utils.BigInt `json:"amount"`

	// Contract call data
	// Required: true
	CallData *string `json:"call_data"`

	// Contract's code
	// Required: true
	Code *string `json:"code"`

	// deposit
	// Required: true
	Deposit *utils.BigInt `json:"deposit"`

	// fee
	// Required: true
	Fee *utils.BigInt `json:"fee"`

	// gas
	// Required: true
	Gas *uint64 `json:"gas"`

	// gas price
	// Required: true
	GasPrice *utils.BigInt `json:"gas_price"`

	// Owner's nonce
	Nonce uint64 `json:"nonce,omitempty"`

	// Contract owner pub_key
	// Required: true
	OwnerID *string `json:"owner_id"`

	// ttl
	TTL uint64 `json:"ttl,omitempty"`

	// Virtual machine's version
	// Required: true
	VMVersion *uint16 `json:"vm_version"`
}

ContractCreateTx contract create tx

swagger:model ContractCreateTx

func (*ContractCreateTx) ContextValidate

func (m *ContractCreateTx) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this contract create tx based on the context it is used

func (*ContractCreateTx) MarshalBinary

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

MarshalBinary interface implementation

func (*ContractCreateTx) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ContractCreateTx) Validate

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

Validate validates this contract create tx

type ContractCreateTxJSON

type ContractCreateTxJSON struct {
	ContractCreateTx
	// contains filtered or unexported fields
}

ContractCreateTxJSON contract create tx JSON

swagger:model ContractCreateTxJSON

func (*ContractCreateTxJSON) ContextValidate

func (m *ContractCreateTxJSON) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this contract create tx JSON based on the context it is used

func (*ContractCreateTxJSON) MarshalBinary

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

MarshalBinary interface implementation

func (ContractCreateTxJSON) MarshalJSON

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

MarshalJSON marshals this object with a polymorphic type to a JSON structure

func (*ContractCreateTxJSON) SetType

func (m *ContractCreateTxJSON) SetType(val string)

SetType sets the type of this subtype

func (*ContractCreateTxJSON) SetVersion

func (m *ContractCreateTxJSON) SetVersion(val *uint32)

SetVersion sets the version of this subtype

func (*ContractCreateTxJSON) Type

func (m *ContractCreateTxJSON) Type() string

Type gets the type of this subtype

func (*ContractCreateTxJSON) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ContractCreateTxJSON) UnmarshalJSON

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

UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure

func (*ContractCreateTxJSON) Validate

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

Validate validates this contract create tx JSON

func (*ContractCreateTxJSON) Version

func (m *ContractCreateTxJSON) Version() *uint32

Version gets the version of this subtype

type ContractObject

type ContractObject struct {

	// abi version
	// Required: true
	AbiVersion *uint16 `json:"abi_version"`

	// active
	// Required: true
	Active *bool `json:"active"`

	// deposit
	// Required: true
	Deposit *uint64 `json:"deposit"`

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

	// owner id
	// Required: true
	OwnerID *string `json:"owner_id"`

	// referrer ids
	// Required: true
	ReferrerIds []string `json:"referrer_ids"`

	// vm version
	// Required: true
	VMVersion *uint16 `json:"vm_version"`
}

ContractObject contract object

swagger:model ContractObject

func (*ContractObject) ContextValidate

func (m *ContractObject) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this contract object based on context it is used

func (*ContractObject) MarshalBinary

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

MarshalBinary interface implementation

func (*ContractObject) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ContractObject) Validate

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

Validate validates this contract object

type CreateContractUnsignedTx

type CreateContractUnsignedTx struct {
	UnsignedTx

	// Address of the contract to be created
	// Required: true
	ContractID *string `json:"contract_id"`
}

CreateContractUnsignedTx create contract unsigned tx

swagger:model CreateContractUnsignedTx

func (*CreateContractUnsignedTx) ContextValidate

func (m *CreateContractUnsignedTx) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create contract unsigned tx based on the context it is used

func (*CreateContractUnsignedTx) MarshalBinary

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

MarshalBinary interface implementation

func (CreateContractUnsignedTx) MarshalJSON

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

MarshalJSON marshals this object to a JSON structure

func (*CreateContractUnsignedTx) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*CreateContractUnsignedTx) UnmarshalJSON

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

UnmarshalJSON unmarshals this object from a JSON structure

func (*CreateContractUnsignedTx) Validate

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

Validate validates this create contract unsigned tx

type DelegatesList

type DelegatesList []string

DelegatesList delegates list

swagger:model DelegatesList

func (DelegatesList) ContextValidate

func (m DelegatesList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this delegates list based on context it is used

func (DelegatesList) Validate

func (m DelegatesList) Validate(formats strfmt.Registry) error

Validate validates this delegates list

type DelegatesObject

type DelegatesObject struct {

	// Initiator's delegates
	Initiator DelegatesList `json:"initiator,omitempty"`

	// Responder's delegates
	Responder DelegatesList `json:"responder,omitempty"`
}

DelegatesObject delegates object

swagger:model DelegatesObject

func (*DelegatesObject) ContextValidate

func (m *DelegatesObject) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this delegates object based on the context it is used

func (*DelegatesObject) MarshalBinary

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

MarshalBinary interface implementation

func (*DelegatesObject) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DelegatesObject) Validate

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

Validate validates this delegates object

type DryRunAccount

type DryRunAccount struct {

	// amount
	// Required: true
	Amount *utils.BigInt `json:"amount"`

	// pub key
	// Required: true
	PubKey *string `json:"pub_key"`
}

DryRunAccount dry run account

swagger:model DryRunAccount

func (*DryRunAccount) ContextValidate

func (m *DryRunAccount) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this dry run account based on the context it is used

func (*DryRunAccount) MarshalBinary

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

MarshalBinary interface implementation

func (*DryRunAccount) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DryRunAccount) Validate

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

Validate validates this dry run account

type DryRunCallContext

type DryRunCallContext struct {

	// This call will have effects on the next call in this dry-run (or not)
	Stateful bool `json:"stateful,omitempty"`

	// tx
	Tx string `json:"tx,omitempty"`

	// tx hash
	TxHash string `json:"tx_hash,omitempty"`
}

DryRunCallContext dry run call context

swagger:model DryRunCallContext

func (*DryRunCallContext) ContextValidate

func (m *DryRunCallContext) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this dry run call context based on context it is used

func (*DryRunCallContext) MarshalBinary

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

MarshalBinary interface implementation

func (*DryRunCallContext) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DryRunCallContext) Validate

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

Validate validates this dry run call context

type DryRunCallReq

type DryRunCallReq struct {

	// abi version
	AbiVersion uint16 `json:"abi_version,omitempty"`

	// amount
	Amount utils.BigInt `json:"amount,omitempty"`

	// calldata
	// Required: true
	Calldata *string `json:"calldata"`

	// caller
	Caller string `json:"caller,omitempty"`

	// context
	Context *DryRunCallContext `json:"context,omitempty"`

	// contract
	// Required: true
	Contract *string `json:"contract"`

	// gas
	Gas utils.BigInt `json:"gas,omitempty"`

	// nonce
	Nonce uint64 `json:"nonce,omitempty"`
}

DryRunCallReq dry run call req

swagger:model DryRunCallReq

func (*DryRunCallReq) ContextValidate

func (m *DryRunCallReq) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this dry run call req based on the context it is used

func (*DryRunCallReq) MarshalBinary

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

MarshalBinary interface implementation

func (*DryRunCallReq) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DryRunCallReq) Validate

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

Validate validates this dry run call req

type DryRunInput

type DryRunInput struct {

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

	// top
	Top string `json:"top,omitempty"`

	// Collect and return on-chain tx events that would result from the call
	TxEvents *bool `json:"tx_events,omitempty"`

	// Txs
	// Required: true
	Txs []*DryRunInputItem `json:"txs"`
}

DryRunInput dry run input

swagger:model DryRunInput

func (*DryRunInput) ContextValidate

func (m *DryRunInput) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this dry run input based on the context it is used

func (*DryRunInput) MarshalBinary

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

MarshalBinary interface implementation

func (*DryRunInput) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DryRunInput) Validate

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

Validate validates this dry run input

type DryRunInputItem

type DryRunInputItem struct {

	// call req
	CallReq *DryRunCallReq `json:"call_req,omitempty"`

	// tx
	Tx string `json:"tx,omitempty"`
}

DryRunInputItem dry run input item

swagger:model DryRunInputItem

func (*DryRunInputItem) ContextValidate

func (m *DryRunInputItem) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this dry run input item based on the context it is used

func (*DryRunInputItem) MarshalBinary

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

MarshalBinary interface implementation

func (*DryRunInputItem) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DryRunInputItem) Validate

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

Validate validates this dry run input item

type DryRunResult

type DryRunResult struct {

	// call obj
	CallObj *ContractCallObject `json:"call_obj,omitempty"`

	// reason
	Reason string `json:"reason,omitempty"`

	// result
	// Required: true
	Result *string `json:"result"`

	// type
	// Required: true
	Type *string `json:"type"`
}

DryRunResult dry run result

swagger:model DryRunResult

func (*DryRunResult) ContextValidate

func (m *DryRunResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this dry run result based on the context it is used

func (*DryRunResult) MarshalBinary

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

MarshalBinary interface implementation

func (*DryRunResult) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DryRunResult) Validate

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

Validate validates this dry run result

type DryRunResults

type DryRunResults struct {

	// results
	// Required: true
	Results []*DryRunResult `json:"results"`

	// on-chain tx events
	TxEvents []TxEvent `json:"tx_events"`
}

DryRunResults dry run results

swagger:model DryRunResults

func (*DryRunResults) ContextValidate

func (m *DryRunResults) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this dry run results based on the context it is used

func (*DryRunResults) MarshalBinary

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

MarshalBinary interface implementation

func (*DryRunResults) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DryRunResults) Validate

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

Validate validates this dry run results

type EncodedByteArray

type EncodedByteArray string

EncodedByteArray Base64Check encoded tagged byte array

swagger:model EncodedByteArray

func (EncodedByteArray) ContextValidate

func (m EncodedByteArray) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this encoded byte array based on context it is used

func (EncodedByteArray) Validate

func (m EncodedByteArray) Validate(formats strfmt.Registry) error

Validate validates this encoded byte array

type EncodedHash

type EncodedHash string

EncodedHash Base58Check encoded tagged hash

swagger:model EncodedHash

func (EncodedHash) ContextValidate

func (m EncodedHash) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this encoded hash based on context it is used

func (EncodedHash) Validate

func (m EncodedHash) Validate(formats strfmt.Registry) error

Validate validates this encoded hash

type EncodedPubkey

type EncodedPubkey string

EncodedPubkey Base58Check encoded tagged pubkey

swagger:model EncodedPubkey

func (EncodedPubkey) ContextValidate

func (m EncodedPubkey) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this encoded pubkey based on context it is used

func (EncodedPubkey) Validate

func (m EncodedPubkey) Validate(formats strfmt.Registry) error

Validate validates this encoded pubkey

type EncodedValue

type EncodedValue string

EncodedValue Base58Check encoded tagged value

swagger:model EncodedValue

func (EncodedValue) ContextValidate

func (m EncodedValue) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this encoded value based on context it is used

func (EncodedValue) Validate

func (m EncodedValue) Validate(formats strfmt.Registry) error

Validate validates this encoded value

type Error

type Error struct {

	// reason
	// Required: true
	Reason *string `json:"reason"`
}

Error error

swagger:model Error

func (*Error) ContextValidate

func (m *Error) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this error based on context it is used

func (*Error) MarshalBinary

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

MarshalBinary interface implementation

func (*Error) String

func (m *Error) String() string

TODO: This is not auto generated, it should be avoided

func (*Error) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Error) Validate

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

Validate validates this error

type Event

type Event struct {

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

	// Log event data (as contract byte array).
	// Required: true
	Data *string `json:"data"`

	// Event topics
	// Required: true
	Topics []utils.BigInt `json:"topics"`
}

Event event

swagger:model Event

func (*Event) ContextValidate

func (m *Event) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this event based on the context it is used

func (*Event) MarshalBinary

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

MarshalBinary interface implementation

func (*Event) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Event) Validate

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

Validate validates this event

type GAAttachTx

type GAAttachTx struct {

	// ABI version
	// Required: true
	AbiVersion *uint16 `json:"abi_version"`

	// Contract authorization function hash (hex encoded)
	// Required: true
	// Pattern: ^(0x|0X)?[a-fA-F0-9]+$
	AuthFun *string `json:"auth_fun"`

	// Contract call data
	// Required: true
	CallData *string `json:"call_data"`

	// Contract's code
	// Required: true
	Code *string `json:"code"`

	// fee
	// Required: true
	Fee *utils.BigInt `json:"fee"`

	// gas
	// Required: true
	Gas *uint64 `json:"gas"`

	// gas price
	// Required: true
	GasPrice *utils.BigInt `json:"gas_price"`

	// Owner's nonce
	Nonce uint64 `json:"nonce,omitempty"`

	// Contract owner pub_key
	// Required: true
	OwnerID *string `json:"owner_id"`

	// ttl
	TTL uint64 `json:"ttl,omitempty"`

	// Virtual machine's version
	// Required: true
	VMVersion *uint16 `json:"vm_version"`
}

GAAttachTx g a attach tx

swagger:model GAAttachTx

func (*GAAttachTx) ContextValidate

func (m *GAAttachTx) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this g a attach tx based on the context it is used

func (*GAAttachTx) MarshalBinary

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

MarshalBinary interface implementation

func (*GAAttachTx) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GAAttachTx) Validate

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

Validate validates this g a attach tx

type GAAttachTxJSON

type GAAttachTxJSON struct {
	GAAttachTx
	// contains filtered or unexported fields
}

GAAttachTxJSON g a attach tx JSON

swagger:model GAAttachTxJSON

func (*GAAttachTxJSON) ContextValidate

func (m *GAAttachTxJSON) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this g a attach tx JSON based on the context it is used

func (*GAAttachTxJSON) MarshalBinary

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

MarshalBinary interface implementation

func (GAAttachTxJSON) MarshalJSON

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

MarshalJSON marshals this object with a polymorphic type to a JSON structure

func (*GAAttachTxJSON) SetType

func (m *GAAttachTxJSON) SetType(val string)

SetType sets the type of this subtype

func (*GAAttachTxJSON) SetVersion

func (m *GAAttachTxJSON) SetVersion(val *uint32)

SetVersion sets the version of this subtype

func (*GAAttachTxJSON) Type

func (m *GAAttachTxJSON) Type() string

Type gets the type of this subtype

func (*GAAttachTxJSON) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GAAttachTxJSON) UnmarshalJSON

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

UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure

func (*GAAttachTxJSON) Validate

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

Validate validates this g a attach tx JSON

func (*GAAttachTxJSON) Version

func (m *GAAttachTxJSON) Version() *uint32

Version gets the version of this subtype

type GAMetaTx

type GAMetaTx struct {

	// ABI version
	// Required: true
	AbiVersion *uint16 `json:"abi_version"`

	// Contract authorization function call data
	// Required: true
	AuthData *string `json:"auth_data"`

	// fee
	// Required: true
	Fee *utils.BigInt `json:"fee"`

	// Account owner pub_key
	// Required: true
	GaID *string `json:"ga_id"`

	// gas
	// Required: true
	Gas *uint64 `json:"gas"`

	// gas price
	// Required: true
	GasPrice *utils.BigInt `json:"gas_price"`

	// ttl
	TTL uint64 `json:"ttl,omitempty"`

	// Enclosed signed transaction
	// Required: true
	Tx *GenericSignedTx `json:"tx"`
}

GAMetaTx g a meta tx

swagger:model GAMetaTx

func (*GAMetaTx) ContextValidate

func (m *GAMetaTx) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this g a meta tx based on the context it is used

func (*GAMetaTx) MarshalBinary

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

MarshalBinary interface implementation

func (*GAMetaTx) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GAMetaTx) Validate

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

Validate validates this g a meta tx

type GAMetaTxJSON

type GAMetaTxJSON struct {
	GAMetaTx
	// contains filtered or unexported fields
}

GAMetaTxJSON g a meta tx JSON

swagger:model GAMetaTxJSON

func (*GAMetaTxJSON) ContextValidate

func (m *GAMetaTxJSON) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this g a meta tx JSON based on the context it is used

func (*GAMetaTxJSON) MarshalBinary

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

MarshalBinary interface implementation

func (GAMetaTxJSON) MarshalJSON

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

MarshalJSON marshals this object with a polymorphic type to a JSON structure

func (*GAMetaTxJSON) SetType

func (m *GAMetaTxJSON) SetType(val string)

SetType sets the type of this subtype

func (*GAMetaTxJSON) SetVersion

func (m *GAMetaTxJSON) SetVersion(val *uint32)

SetVersion sets the version of this subtype

func (*GAMetaTxJSON) Type

func (m *GAMetaTxJSON) Type() string

Type gets the type of this subtype

func (*GAMetaTxJSON) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GAMetaTxJSON) UnmarshalJSON

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

UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure

func (*GAMetaTxJSON) Validate

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

Validate validates this g a meta tx JSON

func (*GAMetaTxJSON) Version

func (m *GAMetaTxJSON) Version() *uint32

Version gets the version of this subtype

type GAObject

type GAObject struct {

	// caller id
	// Required: true
	CallerID *string `json:"caller_id"`

	// gas price
	// Required: true
	GasPrice *utils.BigInt `json:"gas_price"`

	// gas used
	// Required: true
	GasUsed *uint64 `json:"gas_used"`

	// height
	// Required: true
	Height *uint64 `json:"height"`

	// inner object
	InnerObject *TxInfoObject `json:"inner_object,omitempty"`

	// The status of the call 'ok | error'.
	// Required: true
	ReturnType *string `json:"return_type"`

	// return value
	// Required: true
	ReturnValue *string `json:"return_value"`
}

GAObject g a object

swagger:model GAObject

func (*GAObject) ContextValidate

func (m *GAObject) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this g a object based on the context it is used

func (*GAObject) MarshalBinary

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

MarshalBinary interface implementation

func (*GAObject) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GAObject) Validate

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

Validate validates this g a object

type Generation

type Generation struct {

	// key block
	// Required: true
	KeyBlock *KeyBlock `json:"key_block"`

	// micro blocks
	// Required: true
	MicroBlocks []string `json:"micro_blocks"`
}

Generation generation

swagger:model Generation

func (*Generation) ContextValidate

func (m *Generation) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this generation based on the context it is used

func (*Generation) MarshalBinary

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

MarshalBinary interface implementation

func (*Generation) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Generation) Validate

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

Validate validates this generation

type GenericSignedTx

type GenericSignedTx struct {

	// Value "none" means no block in the chain includes the transaction
	// Required: true
	BlockHash *string `json:"block_hash"`

	// block height
	// Required: true
	BlockHeight *utils.BigInt `json:"block_height"`

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

	// At least one signature is required unless for Generalized Account Meta transactions
	Signatures []string `json:"signatures"`
	// contains filtered or unexported fields
}

GenericSignedTx generic signed tx

swagger:model GenericSignedTx

func (*GenericSignedTx) ContextValidate

func (m *GenericSignedTx) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this generic signed tx based on the context it is used

func (*GenericSignedTx) MarshalBinary

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

MarshalBinary interface implementation

func (GenericSignedTx) MarshalJSON

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

MarshalJSON marshals this object with a polymorphic type to a JSON structure

func (*GenericSignedTx) SetTx

func (m *GenericSignedTx) SetTx(val GenericTx)

SetTx sets the tx of this base type

func (*GenericSignedTx) Tx

func (m *GenericSignedTx) Tx() GenericTx

Tx gets the tx of this base type

func (*GenericSignedTx) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GenericSignedTx) UnmarshalJSON

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

UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure

func (*GenericSignedTx) Validate

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

Validate validates this generic signed tx

type GenericTx

type GenericTx interface {
	runtime.Validatable
	runtime.ContextValidatable

	// type
	// Required: true
	Type() string
	SetType(string)

	// version
	// Required: true
	Version() *uint32
	SetVersion(*uint32)
}

GenericTx generic tx

swagger:discriminator GenericTx type

func UnmarshalGenericTx

func UnmarshalGenericTx(reader io.Reader, consumer runtime.Consumer) (GenericTx, error)

UnmarshalGenericTx unmarshals polymorphic GenericTx

func UnmarshalGenericTxSlice

func UnmarshalGenericTxSlice(reader io.Reader, consumer runtime.Consumer) ([]GenericTx, error)

UnmarshalGenericTxSlice unmarshals polymorphic slices of GenericTx

type GenericTxs

type GenericTxs struct {

	// transactions
	// Required: true
	Transactions []*GenericSignedTx `json:"transactions"`
}

GenericTxs generic txs

swagger:model GenericTxs

func (*GenericTxs) ContextValidate

func (m *GenericTxs) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this generic txs based on the context it is used

func (*GenericTxs) MarshalBinary

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

MarshalBinary interface implementation

func (*GenericTxs) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GenericTxs) Validate

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

Validate validates this generic txs

type KeyBlock

type KeyBlock struct {

	// beneficiary
	// Required: true
	Beneficiary *string `json:"beneficiary"`

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

	// height
	// Required: true
	Height *uint64 `json:"height"`

	// info
	// Required: true
	Info *string `json:"info"`

	// miner
	// Required: true
	Miner *string `json:"miner"`

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

	// pow
	Pow Pow `json:"pow,omitempty"`

	// prev hash
	// Required: true
	PrevHash *string `json:"prev_hash"`

	// prev key hash
	// Required: true
	PrevKeyHash *string `json:"prev_key_hash"`

	// state hash
	// Required: true
	StateHash *string `json:"state_hash"`

	// target
	// Required: true
	Target *uint32 `json:"target"`

	// time
	// Required: true
	Time *uint64 `json:"time"`

	// version
	// Required: true
	Version *uint32 `json:"version"`
}

KeyBlock key block

swagger:model KeyBlock

func (*KeyBlock) ContextValidate

func (m *KeyBlock) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this key block based on the context it is used

func (*KeyBlock) MarshalBinary

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

MarshalBinary interface implementation

func (*KeyBlock) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*KeyBlock) Validate

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

Validate validates this key block

type KeyBlockOrMicroBlockHeader

type KeyBlockOrMicroBlockHeader struct {

	// key block
	KeyBlock *KeyBlock `json:"key_block,omitempty"`

	// micro block
	MicroBlock *MicroBlockHeader `json:"micro_block,omitempty"`
}

KeyBlockOrMicroBlockHeader key block or micro block header

swagger:model KeyBlockOrMicroBlockHeader

func (*KeyBlockOrMicroBlockHeader) ContextValidate

func (m *KeyBlockOrMicroBlockHeader) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this key block or micro block header based on the context it is used

func (*KeyBlockOrMicroBlockHeader) MarshalBinary

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

MarshalBinary interface implementation

func (*KeyBlockOrMicroBlockHeader) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*KeyBlockOrMicroBlockHeader) Validate

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

Validate validates this key block or micro block header

type MicroBlockHeader

type MicroBlockHeader struct {

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

	// height
	// Required: true
	Height *uint64 `json:"height"`

	// "no_fraud" | api encoded Proof of Fraud hash
	// Required: true
	PofHash *string `json:"pof_hash"`

	// prev hash
	// Required: true
	PrevHash *string `json:"prev_hash"`

	// prev key hash
	// Required: true
	PrevKeyHash *string `json:"prev_key_hash"`

	// signature
	// Required: true
	Signature *string `json:"signature"`

	// state hash
	// Required: true
	StateHash *string `json:"state_hash"`

	// time
	// Required: true
	Time *uint64 `json:"time"`

	// txs hash
	// Required: true
	TxsHash *string `json:"txs_hash"`

	// version
	// Required: true
	Version *uint32 `json:"version"`
}

MicroBlockHeader micro block header

swagger:model MicroBlockHeader

func (*MicroBlockHeader) ContextValidate

func (m *MicroBlockHeader) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this micro block header based on context it is used

func (*MicroBlockHeader) MarshalBinary

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

MarshalBinary interface implementation

func (*MicroBlockHeader) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*MicroBlockHeader) Validate

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

Validate validates this micro block header

type NameClaimTx

type NameClaimTx struct {

	// account id
	// Required: true
	AccountID *string `json:"account_id"`

	// fee
	// Required: true
	Fee *utils.BigInt `json:"fee"`

	// name
	// Required: true
	Name *string `json:"name"`

	// name fee
	NameFee utils.BigInt `json:"name_fee,omitempty"`

	// name salt
	// Required: true
	NameSalt *utils.BigInt `json:"name_salt"`

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

	// ttl
	TTL uint64 `json:"ttl,omitempty"`
}

NameClaimTx name claim tx

swagger:model NameClaimTx

func (*NameClaimTx) ContextValidate

func (m *NameClaimTx) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this name claim tx based on the context it is used

func (*NameClaimTx) MarshalBinary

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

MarshalBinary interface implementation

func (*NameClaimTx) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*NameClaimTx) Validate

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

Validate validates this name claim tx

type NameClaimTxJSON

type NameClaimTxJSON struct {
	NameClaimTx
	// contains filtered or unexported fields
}

NameClaimTxJSON name claim tx JSON

swagger:model NameClaimTxJSON

func (*NameClaimTxJSON) ContextValidate

func (m *NameClaimTxJSON) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this name claim tx JSON based on the context it is used

func (*NameClaimTxJSON) MarshalBinary

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

MarshalBinary interface implementation

func (NameClaimTxJSON) MarshalJSON

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

MarshalJSON marshals this object with a polymorphic type to a JSON structure

func (*NameClaimTxJSON) SetType

func (m *NameClaimTxJSON) SetType(val string)

SetType sets the type of this subtype

func (*NameClaimTxJSON) SetVersion

func (m *NameClaimTxJSON) SetVersion(val *uint32)

SetVersion sets the version of this subtype

func (*NameClaimTxJSON) Type

func (m *NameClaimTxJSON) Type() string

Type gets the type of this subtype

func (*NameClaimTxJSON) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*NameClaimTxJSON) UnmarshalJSON

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

UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure

func (*NameClaimTxJSON) Validate

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

Validate validates this name claim tx JSON

func (*NameClaimTxJSON) Version

func (m *NameClaimTxJSON) Version() *uint32

Version gets the version of this subtype

type NameEntry

type NameEntry struct {

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

	// owner
	Owner string `json:"owner,omitempty"`

	// pointers
	// Required: true
	Pointers []*NamePointer `json:"pointers"`

	// ttl
	// Required: true
	TTL *uint64 `json:"ttl"`
}

NameEntry name entry

swagger:model NameEntry

func (*NameEntry) ContextValidate

func (m *NameEntry) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this name entry based on the context it is used

func (*NameEntry) MarshalBinary

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

MarshalBinary interface implementation

func (*NameEntry) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*NameEntry) Validate

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

Validate validates this name entry

type NameHash

type NameHash struct {

	// name id
	// Required: true
	NameID *string `json:"name_id"`
}

NameHash name hash

swagger:model NameHash

func (*NameHash) ContextValidate

func (m *NameHash) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this name hash based on context it is used

func (*NameHash) MarshalBinary

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

MarshalBinary interface implementation

func (*NameHash) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*NameHash) Validate

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

Validate validates this name hash

type NamePointer

type NamePointer struct {

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

	// key
	// Required: true
	Key *string `json:"key"`
}

NamePointer name pointer

swagger:model NamePointer

func (*NamePointer) ContextValidate

func (m *NamePointer) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this name pointer based on context it is used

func (*NamePointer) MarshalBinary

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

MarshalBinary interface implementation

func (*NamePointer) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*NamePointer) Validate

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

Validate validates this name pointer

type NamePreclaimTx

type NamePreclaimTx struct {

	// account id
	// Required: true
	AccountID *string `json:"account_id"`

	// commitment id
	// Required: true
	CommitmentID *string `json:"commitment_id"`

	// fee
	// Required: true
	Fee *utils.BigInt `json:"fee"`

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

	// ttl
	TTL uint64 `json:"ttl,omitempty"`
}

NamePreclaimTx name preclaim tx

swagger:model NamePreclaimTx

func (*NamePreclaimTx) ContextValidate

func (m *NamePreclaimTx) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this name preclaim tx based on the context it is used

func (*NamePreclaimTx) MarshalBinary

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

MarshalBinary interface implementation

func (*NamePreclaimTx) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*NamePreclaimTx) Validate

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

Validate validates this name preclaim tx

type NamePreclaimTxJSON

type NamePreclaimTxJSON struct {
	NamePreclaimTx
	// contains filtered or unexported fields
}

NamePreclaimTxJSON name preclaim tx JSON

swagger:model NamePreclaimTxJSON

func (*NamePreclaimTxJSON) ContextValidate

func (m *NamePreclaimTxJSON) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this name preclaim tx JSON based on the context it is used

func (*NamePreclaimTxJSON) MarshalBinary

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

MarshalBinary interface implementation

func (NamePreclaimTxJSON) MarshalJSON

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

MarshalJSON marshals this object with a polymorphic type to a JSON structure

func (*NamePreclaimTxJSON) SetType

func (m *NamePreclaimTxJSON) SetType(val string)

SetType sets the type of this subtype

func (*NamePreclaimTxJSON) SetVersion

func (m *NamePreclaimTxJSON) SetVersion(val *uint32)

SetVersion sets the version of this subtype

func (*NamePreclaimTxJSON) Type

func (m *NamePreclaimTxJSON) Type() string

Type gets the type of this subtype

func (*NamePreclaimTxJSON) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*NamePreclaimTxJSON) UnmarshalJSON

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

UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure

func (*NamePreclaimTxJSON) Validate

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

Validate validates this name preclaim tx JSON

func (*NamePreclaimTxJSON) Version

func (m *NamePreclaimTxJSON) Version() *uint32

Version gets the version of this subtype

type NameRevokeTx

type NameRevokeTx struct {

	// account id
	// Required: true
	AccountID *string `json:"account_id"`

	// fee
	// Required: true
	Fee *utils.BigInt `json:"fee"`

	// name id
	// Required: true
	NameID *string `json:"name_id"`

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

	// ttl
	TTL uint64 `json:"ttl,omitempty"`
}

NameRevokeTx name revoke tx

swagger:model NameRevokeTx

func (*NameRevokeTx) ContextValidate

func (m *NameRevokeTx) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this name revoke tx based on the context it is used

func (*NameRevokeTx) MarshalBinary

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

MarshalBinary interface implementation

func (*NameRevokeTx) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*NameRevokeTx) Validate

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

Validate validates this name revoke tx

type NameRevokeTxJSON

type NameRevokeTxJSON struct {
	NameRevokeTx
	// contains filtered or unexported fields
}

NameRevokeTxJSON name revoke tx JSON

swagger:model NameRevokeTxJSON

func (*NameRevokeTxJSON) ContextValidate

func (m *NameRevokeTxJSON) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this name revoke tx JSON based on the context it is used

func (*NameRevokeTxJSON) MarshalBinary

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

MarshalBinary interface implementation

func (NameRevokeTxJSON) MarshalJSON

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

MarshalJSON marshals this object with a polymorphic type to a JSON structure

func (*NameRevokeTxJSON) SetType

func (m *NameRevokeTxJSON) SetType(val string)

SetType sets the type of this subtype

func (*NameRevokeTxJSON) SetVersion

func (m *NameRevokeTxJSON) SetVersion(val *uint32)

SetVersion sets the version of this subtype

func (*NameRevokeTxJSON) Type

func (m *NameRevokeTxJSON) Type() string

Type gets the type of this subtype

func (*NameRevokeTxJSON) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*NameRevokeTxJSON) UnmarshalJSON

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

UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure

func (*NameRevokeTxJSON) Validate

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

Validate validates this name revoke tx JSON

func (*NameRevokeTxJSON) Version

func (m *NameRevokeTxJSON) Version() *uint32

Version gets the version of this subtype

type NameTransferTx

type NameTransferTx struct {

	// account id
	// Required: true
	AccountID *string `json:"account_id"`

	// fee
	// Required: true
	Fee *utils.BigInt `json:"fee"`

	// name id
	// Required: true
	NameID *string `json:"name_id"`

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

	// recipient id
	// Required: true
	RecipientID *string `json:"recipient_id"`

	// ttl
	TTL uint64 `json:"ttl,omitempty"`
}

NameTransferTx name transfer tx

swagger:model NameTransferTx

func (*NameTransferTx) ContextValidate

func (m *NameTransferTx) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this name transfer tx based on the context it is used

func (*NameTransferTx) MarshalBinary

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

MarshalBinary interface implementation

func (*NameTransferTx) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*NameTransferTx) Validate

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

Validate validates this name transfer tx

type NameTransferTxJSON

type NameTransferTxJSON struct {
	NameTransferTx
	// contains filtered or unexported fields
}

NameTransferTxJSON name transfer tx JSON

swagger:model NameTransferTxJSON

func (*NameTransferTxJSON) ContextValidate

func (m *NameTransferTxJSON) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this name transfer tx JSON based on the context it is used

func (*NameTransferTxJSON) MarshalBinary

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

MarshalBinary interface implementation

func (NameTransferTxJSON) MarshalJSON

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

MarshalJSON marshals this object with a polymorphic type to a JSON structure

func (*NameTransferTxJSON) SetType

func (m *NameTransferTxJSON) SetType(val string)

SetType sets the type of this subtype

func (*NameTransferTxJSON) SetVersion

func (m *NameTransferTxJSON) SetVersion(val *uint32)

SetVersion sets the version of this subtype

func (*NameTransferTxJSON) Type

func (m *NameTransferTxJSON) Type() string

Type gets the type of this subtype

func (*NameTransferTxJSON) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*NameTransferTxJSON) UnmarshalJSON

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

UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure

func (*NameTransferTxJSON) Validate

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

Validate validates this name transfer tx JSON

func (*NameTransferTxJSON) Version

func (m *NameTransferTxJSON) Version() *uint32

Version gets the version of this subtype

type NameUpdateTx

type NameUpdateTx struct {

	// account id
	// Required: true
	AccountID *string `json:"account_id"`

	// client ttl
	// Required: true
	ClientTTL *uint64 `json:"client_ttl"`

	// fee
	// Required: true
	Fee *utils.BigInt `json:"fee"`

	// name id
	// Required: true
	NameID *string `json:"name_id"`

	// name ttl
	// Required: true
	NameTTL *uint64 `json:"name_ttl"`

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

	// pointers
	// Required: true
	Pointers []*NamePointer `json:"pointers"`

	// ttl
	TTL uint64 `json:"ttl,omitempty"`
}

NameUpdateTx name update tx

swagger:model NameUpdateTx

func (*NameUpdateTx) ContextValidate

func (m *NameUpdateTx) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this name update tx based on the context it is used

func (*NameUpdateTx) MarshalBinary

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

MarshalBinary interface implementation

func (*NameUpdateTx) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*NameUpdateTx) Validate

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

Validate validates this name update tx

type NameUpdateTxJSON

type NameUpdateTxJSON struct {
	NameUpdateTx
	// contains filtered or unexported fields
}

NameUpdateTxJSON name update tx JSON

swagger:model NameUpdateTxJSON

func (*NameUpdateTxJSON) ContextValidate

func (m *NameUpdateTxJSON) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this name update tx JSON based on the context it is used

func (*NameUpdateTxJSON) MarshalBinary

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

MarshalBinary interface implementation

func (NameUpdateTxJSON) MarshalJSON

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

MarshalJSON marshals this object with a polymorphic type to a JSON structure

func (*NameUpdateTxJSON) SetType

func (m *NameUpdateTxJSON) SetType(val string)

SetType sets the type of this subtype

func (*NameUpdateTxJSON) SetVersion

func (m *NameUpdateTxJSON) SetVersion(val *uint32)

SetVersion sets the version of this subtype

func (*NameUpdateTxJSON) Type

func (m *NameUpdateTxJSON) Type() string

Type gets the type of this subtype

func (*NameUpdateTxJSON) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*NameUpdateTxJSON) UnmarshalJSON

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

UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure

func (*NameUpdateTxJSON) Validate

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

Validate validates this name update tx JSON

func (*NameUpdateTxJSON) Version

func (m *NameUpdateTxJSON) Version() *uint32

Version gets the version of this subtype

type NetworkStatus

type NetworkStatus map[string]PeerDetails

NetworkStatus network status

swagger:model NetworkStatus

func (NetworkStatus) ContextValidate

func (m NetworkStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this network status based on the context it is used

func (NetworkStatus) Validate

func (m NetworkStatus) Validate(formats strfmt.Registry) error

Validate validates this network status

type OffChainCallContract

type OffChainCallContract struct {

	// abi version
	// Required: true
	AbiVersion *uint16 `json:"abi_version"`

	// amount
	// Required: true
	Amount *utils.BigInt `json:"amount"`

	// Contract call data
	// Required: true
	CallData *string `json:"call_data"`

	// Contract caller
	// Required: true
	Caller *string `json:"caller"`

	// Contract address
	// Required: true
	Contract *string `json:"contract"`

	// gas
	// Required: true
	Gas *uint64 `json:"gas"`

	// gas price
	// Required: true
	GasPrice *utils.BigInt `json:"gas_price"`
}

OffChainCallContract off chain call contract

swagger:model OffChainCallContract

func (*OffChainCallContract) ContextValidate

func (m *OffChainCallContract) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this off chain call contract based on the context it is used

func (*OffChainCallContract) MarshalBinary

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

MarshalBinary interface implementation

func (OffChainCallContract) MarshalJSON

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

MarshalJSON marshals this object with a polymorphic type to a JSON structure

func (*OffChainCallContract) Op

func (m *OffChainCallContract) Op() string

Op gets the op of this subtype

func (*OffChainCallContract) SetOp

func (m *OffChainCallContract) SetOp(val string)

SetOp sets the op of this subtype

func (*OffChainCallContract) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*OffChainCallContract) UnmarshalJSON

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

UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure

func (*OffChainCallContract) Validate

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

Validate validates this off chain call contract

type OffChainDeposit

type OffChainDeposit struct {

	// amount
	// Required: true
	Amount *utils.BigInt `json:"amount"`

	// Depositor of tokens
	// Required: true
	From *string `json:"from"`
}

OffChainDeposit off chain deposit

swagger:model OffChainDeposit

func (*OffChainDeposit) ContextValidate

func (m *OffChainDeposit) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this off chain deposit based on the context it is used

func (*OffChainDeposit) MarshalBinary

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

MarshalBinary interface implementation

func (OffChainDeposit) MarshalJSON

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

MarshalJSON marshals this object with a polymorphic type to a JSON structure

func (*OffChainDeposit) Op

func (m *OffChainDeposit) Op() string

Op gets the op of this subtype

func (*OffChainDeposit) SetOp

func (m *OffChainDeposit) SetOp(val string)

SetOp sets the op of this subtype

func (*OffChainDeposit) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*OffChainDeposit) UnmarshalJSON

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

UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure

func (*OffChainDeposit) Validate

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

Validate validates this off chain deposit

type OffChainNewContract

type OffChainNewContract struct {

	// abi version
	// Required: true
	AbiVersion *uint16 `json:"abi_version"`

	// Contract call data
	// Required: true
	CallData *string `json:"call_data"`

	// code
	// Required: true
	Code *ByteCode `json:"code"`

	// deposit
	// Required: true
	Deposit *utils.BigInt `json:"deposit"`

	// Contract owner
	// Required: true
	Owner *string `json:"owner"`

	// vm version
	// Required: true
	VMVersion *uint16 `json:"vm_version"`
}

OffChainNewContract off chain new contract

swagger:model OffChainNewContract

func (*OffChainNewContract) ContextValidate

func (m *OffChainNewContract) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this off chain new contract based on the context it is used

func (*OffChainNewContract) MarshalBinary

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

MarshalBinary interface implementation

func (OffChainNewContract) MarshalJSON

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

MarshalJSON marshals this object with a polymorphic type to a JSON structure

func (*OffChainNewContract) Op

func (m *OffChainNewContract) Op() string

Op gets the op of this subtype

func (*OffChainNewContract) SetOp

func (m *OffChainNewContract) SetOp(val string)

SetOp sets the op of this subtype

func (*OffChainNewContract) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*OffChainNewContract) UnmarshalJSON

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

UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure

func (*OffChainNewContract) Validate

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

Validate validates this off chain new contract

type OffChainTransfer

type OffChainTransfer struct {

	// amount
	// Required: true
	Amount *utils.BigInt `json:"amount"`

	// Sender of tokens
	// Required: true
	From *string `json:"from"`

	// Receiver of tokens
	// Required: true
	To *string `json:"to"`
}

OffChainTransfer off chain transfer

swagger:model OffChainTransfer

func (*OffChainTransfer) ContextValidate

func (m *OffChainTransfer) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this off chain transfer based on the context it is used

func (*OffChainTransfer) MarshalBinary

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

MarshalBinary interface implementation

func (OffChainTransfer) MarshalJSON

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

MarshalJSON marshals this object with a polymorphic type to a JSON structure

func (*OffChainTransfer) Op

func (m *OffChainTransfer) Op() string

Op gets the op of this subtype

func (*OffChainTransfer) SetOp

func (m *OffChainTransfer) SetOp(val string)

SetOp sets the op of this subtype

func (*OffChainTransfer) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*OffChainTransfer) UnmarshalJSON

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

UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure

func (*OffChainTransfer) Validate

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

Validate validates this off chain transfer

type OffChainUpdate

type OffChainUpdate interface {
	runtime.Validatable
	runtime.ContextValidatable

	// op
	// Required: true
	Op() string
	SetOp(string)
}

OffChainUpdate off chain update

swagger:discriminator OffChainUpdate op

func UnmarshalOffChainUpdate

func UnmarshalOffChainUpdate(reader io.Reader, consumer runtime.Consumer) (OffChainUpdate, error)

UnmarshalOffChainUpdate unmarshals polymorphic OffChainUpdate

func UnmarshalOffChainUpdateSlice

func UnmarshalOffChainUpdateSlice(reader io.Reader, consumer runtime.Consumer) ([]OffChainUpdate, error)

UnmarshalOffChainUpdateSlice unmarshals polymorphic slices of OffChainUpdate

type OffChainWithdrawal

type OffChainWithdrawal struct {

	// amount
	// Required: true
	Amount *utils.BigInt `json:"amount"`

	// Withdrawer of tokens
	// Required: true
	To *string `json:"to"`
}

OffChainWithdrawal off chain withdrawal

swagger:model OffChainWithdrawal

func (*OffChainWithdrawal) ContextValidate

func (m *OffChainWithdrawal) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this off chain withdrawal based on the context it is used

func (*OffChainWithdrawal) MarshalBinary

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

MarshalBinary interface implementation

func (OffChainWithdrawal) MarshalJSON

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

MarshalJSON marshals this object with a polymorphic type to a JSON structure

func (*OffChainWithdrawal) Op

func (m *OffChainWithdrawal) Op() string

Op gets the op of this subtype

func (*OffChainWithdrawal) SetOp

func (m *OffChainWithdrawal) SetOp(val string)

SetOp sets the op of this subtype

func (*OffChainWithdrawal) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*OffChainWithdrawal) UnmarshalJSON

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

UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure

func (*OffChainWithdrawal) Validate

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

Validate validates this off chain withdrawal

type OracleExtendTx

type OracleExtendTx struct {

	// fee
	// Required: true
	Fee *utils.BigInt `json:"fee"`

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

	// oracle id
	// Required: true
	OracleID *string `json:"oracle_id"`

	// oracle ttl
	// Required: true
	OracleTTL *RelativeTTL `json:"oracle_ttl"`

	// ttl
	TTL uint64 `json:"ttl,omitempty"`
}

OracleExtendTx oracle extend tx

swagger:model OracleExtendTx

func (*OracleExtendTx) ContextValidate

func (m *OracleExtendTx) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this oracle extend tx based on the context it is used

func (*OracleExtendTx) MarshalBinary

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

MarshalBinary interface implementation

func (*OracleExtendTx) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*OracleExtendTx) Validate

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

Validate validates this oracle extend tx

type OracleExtendTxJSON

type OracleExtendTxJSON struct {
	OracleExtendTx
	// contains filtered or unexported fields
}

OracleExtendTxJSON oracle extend tx JSON

swagger:model OracleExtendTxJSON

func (*OracleExtendTxJSON) ContextValidate

func (m *OracleExtendTxJSON) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this oracle extend tx JSON based on the context it is used

func (*OracleExtendTxJSON) MarshalBinary

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

MarshalBinary interface implementation

func (OracleExtendTxJSON) MarshalJSON

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

MarshalJSON marshals this object with a polymorphic type to a JSON structure

func (*OracleExtendTxJSON) SetType

func (m *OracleExtendTxJSON) SetType(val string)

SetType sets the type of this subtype

func (*OracleExtendTxJSON) SetVersion

func (m *OracleExtendTxJSON) SetVersion(val *uint32)

SetVersion sets the version of this subtype

func (*OracleExtendTxJSON) Type

func (m *OracleExtendTxJSON) Type() string

Type gets the type of this subtype

func (*OracleExtendTxJSON) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*OracleExtendTxJSON) UnmarshalJSON

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

UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure

func (*OracleExtendTxJSON) Validate

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

Validate validates this oracle extend tx JSON

func (*OracleExtendTxJSON) Version

func (m *OracleExtendTxJSON) Version() *uint32

Version gets the version of this subtype

type OracleQueries

type OracleQueries struct {

	// oracle queries
	// Required: true
	OracleQueries []*OracleQuery `json:"oracle_queries"`
}

OracleQueries oracle queries

swagger:model OracleQueries

func (*OracleQueries) ContextValidate

func (m *OracleQueries) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this oracle queries based on the context it is used

func (*OracleQueries) MarshalBinary

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

MarshalBinary interface implementation

func (*OracleQueries) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*OracleQueries) Validate

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

Validate validates this oracle queries

type OracleQuery

type OracleQuery struct {

	// fee
	// Required: true
	Fee *utils.BigInt `json:"fee"`

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

	// oracle id
	// Required: true
	OracleID *string `json:"oracle_id"`

	// query
	// Required: true
	Query *string `json:"query"`

	// response
	// Required: true
	Response *string `json:"response"`

	// response ttl
	// Required: true
	ResponseTTL *TTL `json:"response_ttl"`

	// sender id
	// Required: true
	SenderID *string `json:"sender_id"`

	// sender nonce
	// Required: true
	SenderNonce *uint64 `json:"sender_nonce"`

	// ttl
	// Required: true
	TTL *uint64 `json:"ttl"`
}

OracleQuery oracle query

swagger:model OracleQuery

func (*OracleQuery) ContextValidate

func (m *OracleQuery) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this oracle query based on the context it is used

func (*OracleQuery) MarshalBinary

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

MarshalBinary interface implementation

func (*OracleQuery) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*OracleQuery) Validate

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

Validate validates this oracle query

type OracleQueryTx

type OracleQueryTx struct {

	// fee
	// Required: true
	Fee *utils.BigInt `json:"fee"`

	// Sender nonce
	Nonce uint64 `json:"nonce,omitempty"`

	// oracle id
	// Required: true
	OracleID *string `json:"oracle_id"`

	// query
	// Required: true
	Query *string `json:"query"`

	// query fee
	// Required: true
	QueryFee *utils.BigInt `json:"query_fee"`

	// query ttl
	// Required: true
	QueryTTL *TTL `json:"query_ttl"`

	// response ttl
	// Required: true
	ResponseTTL *RelativeTTL `json:"response_ttl"`

	// sender id
	// Required: true
	SenderID *string `json:"sender_id"`

	// ttl
	TTL uint64 `json:"ttl,omitempty"`
}

OracleQueryTx oracle query tx

swagger:model OracleQueryTx

func (*OracleQueryTx) ContextValidate

func (m *OracleQueryTx) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this oracle query tx based on the context it is used

func (*OracleQueryTx) MarshalBinary

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

MarshalBinary interface implementation

func (*OracleQueryTx) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*OracleQueryTx) Validate

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

Validate validates this oracle query tx

type OracleQueryTxJSON

type OracleQueryTxJSON struct {
	OracleQueryTx
	// contains filtered or unexported fields
}

OracleQueryTxJSON oracle query tx JSON

swagger:model OracleQueryTxJSON

func (*OracleQueryTxJSON) ContextValidate

func (m *OracleQueryTxJSON) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this oracle query tx JSON based on the context it is used

func (*OracleQueryTxJSON) MarshalBinary

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

MarshalBinary interface implementation

func (OracleQueryTxJSON) MarshalJSON

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

MarshalJSON marshals this object with a polymorphic type to a JSON structure

func (*OracleQueryTxJSON) SetType

func (m *OracleQueryTxJSON) SetType(val string)

SetType sets the type of this subtype

func (*OracleQueryTxJSON) SetVersion

func (m *OracleQueryTxJSON) SetVersion(val *uint32)

SetVersion sets the version of this subtype

func (*OracleQueryTxJSON) Type

func (m *OracleQueryTxJSON) Type() string

Type gets the type of this subtype

func (*OracleQueryTxJSON) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*OracleQueryTxJSON) UnmarshalJSON

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

UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure

func (*OracleQueryTxJSON) Validate

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

Validate validates this oracle query tx JSON

func (*OracleQueryTxJSON) Version

func (m *OracleQueryTxJSON) Version() *uint32

Version gets the version of this subtype

type OracleRegisterTx

type OracleRegisterTx struct {

	// abi version
	AbiVersion uint16 `json:"abi_version,omitempty"`

	// account id
	// Required: true
	AccountID *string `json:"account_id"`

	// fee
	// Required: true
	Fee *utils.BigInt `json:"fee"`

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

	// oracle ttl
	// Required: true
	OracleTTL *TTL `json:"oracle_ttl"`

	// query fee
	// Required: true
	QueryFee *utils.BigInt `json:"query_fee"`

	// query format
	// Required: true
	QueryFormat *string `json:"query_format"`

	// response format
	// Required: true
	ResponseFormat *string `json:"response_format"`

	// ttl
	TTL uint64 `json:"ttl,omitempty"`
}

OracleRegisterTx oracle register tx

swagger:model OracleRegisterTx

func (*OracleRegisterTx) ContextValidate

func (m *OracleRegisterTx) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this oracle register tx based on the context it is used

func (*OracleRegisterTx) MarshalBinary

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

MarshalBinary interface implementation

func (*OracleRegisterTx) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*OracleRegisterTx) Validate

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

Validate validates this oracle register tx

type OracleRegisterTxJSON

type OracleRegisterTxJSON struct {
	OracleRegisterTx
	// contains filtered or unexported fields
}

OracleRegisterTxJSON oracle register tx JSON

swagger:model OracleRegisterTxJSON

func (*OracleRegisterTxJSON) ContextValidate

func (m *OracleRegisterTxJSON) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this oracle register tx JSON based on the context it is used

func (*OracleRegisterTxJSON) MarshalBinary

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

MarshalBinary interface implementation

func (OracleRegisterTxJSON) MarshalJSON

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

MarshalJSON marshals this object with a polymorphic type to a JSON structure

func (*OracleRegisterTxJSON) SetType

func (m *OracleRegisterTxJSON) SetType(val string)

SetType sets the type of this subtype

func (*OracleRegisterTxJSON) SetVersion

func (m *OracleRegisterTxJSON) SetVersion(val *uint32)

SetVersion sets the version of this subtype

func (*OracleRegisterTxJSON) Type

func (m *OracleRegisterTxJSON) Type() string

Type gets the type of this subtype

func (*OracleRegisterTxJSON) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*OracleRegisterTxJSON) UnmarshalJSON

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

UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure

func (*OracleRegisterTxJSON) Validate

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

Validate validates this oracle register tx JSON

func (*OracleRegisterTxJSON) Version

func (m *OracleRegisterTxJSON) Version() *uint32

Version gets the version of this subtype

type OracleRespondTx

type OracleRespondTx struct {

	// fee
	// Required: true
	Fee *utils.BigInt `json:"fee"`

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

	// oracle id
	// Required: true
	OracleID *string `json:"oracle_id"`

	// query id
	// Required: true
	QueryID *string `json:"query_id"`

	// response
	// Required: true
	Response *string `json:"response"`

	// response ttl
	// Required: true
	ResponseTTL *RelativeTTL `json:"response_ttl"`

	// ttl
	TTL uint64 `json:"ttl,omitempty"`
}

OracleRespondTx oracle respond tx

swagger:model OracleRespondTx

func (*OracleRespondTx) ContextValidate

func (m *OracleRespondTx) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this oracle respond tx based on the context it is used

func (*OracleRespondTx) MarshalBinary

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

MarshalBinary interface implementation

func (*OracleRespondTx) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*OracleRespondTx) Validate

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

Validate validates this oracle respond tx

type OracleRespondTxJSON

type OracleRespondTxJSON struct {
	OracleRespondTx
	// contains filtered or unexported fields
}

OracleRespondTxJSON oracle respond tx JSON

swagger:model OracleRespondTxJSON

func (*OracleRespondTxJSON) ContextValidate

func (m *OracleRespondTxJSON) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this oracle respond tx JSON based on the context it is used

func (*OracleRespondTxJSON) MarshalBinary

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

MarshalBinary interface implementation

func (OracleRespondTxJSON) MarshalJSON

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

MarshalJSON marshals this object with a polymorphic type to a JSON structure

func (*OracleRespondTxJSON) SetType

func (m *OracleRespondTxJSON) SetType(val string)

SetType sets the type of this subtype

func (*OracleRespondTxJSON) SetVersion

func (m *OracleRespondTxJSON) SetVersion(val *uint32)

SetVersion sets the version of this subtype

func (*OracleRespondTxJSON) Type

func (m *OracleRespondTxJSON) Type() string

Type gets the type of this subtype

func (*OracleRespondTxJSON) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*OracleRespondTxJSON) UnmarshalJSON

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

UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure

func (*OracleRespondTxJSON) Validate

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

Validate validates this oracle respond tx JSON

func (*OracleRespondTxJSON) Version

func (m *OracleRespondTxJSON) Version() *uint32

Version gets the version of this subtype

type PayingForTx

type PayingForTx struct {

	// fee
	// Required: true
	Fee *utils.BigInt `json:"fee"`

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

	// payer id
	// Required: true
	PayerID *string `json:"payer_id"`

	// tx
	// Required: true
	Tx *SignedTx `json:"tx"`
}

PayingForTx paying for tx

swagger:model PayingForTx

func (*PayingForTx) ContextValidate

func (m *PayingForTx) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this paying for tx based on the context it is used

func (*PayingForTx) MarshalBinary

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

MarshalBinary interface implementation

func (*PayingForTx) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*PayingForTx) Validate

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

Validate validates this paying for tx

type PayingForTxJSON

type PayingForTxJSON struct {
	PayingForTx
	// contains filtered or unexported fields
}

PayingForTxJSON paying for tx JSON

swagger:model PayingForTxJSON

func (*PayingForTxJSON) ContextValidate

func (m *PayingForTxJSON) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this paying for tx JSON based on the context it is used

func (*PayingForTxJSON) MarshalBinary

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

MarshalBinary interface implementation

func (PayingForTxJSON) MarshalJSON

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

MarshalJSON marshals this object with a polymorphic type to a JSON structure

func (*PayingForTxJSON) SetType

func (m *PayingForTxJSON) SetType(val string)

SetType sets the type of this subtype

func (*PayingForTxJSON) SetVersion

func (m *PayingForTxJSON) SetVersion(val *uint32)

SetVersion sets the version of this subtype

func (*PayingForTxJSON) Type

func (m *PayingForTxJSON) Type() string

Type gets the type of this subtype

func (*PayingForTxJSON) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*PayingForTxJSON) UnmarshalJSON

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

UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure

func (*PayingForTxJSON) Validate

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

Validate validates this paying for tx JSON

func (*PayingForTxJSON) Version

func (m *PayingForTxJSON) Version() *uint32

Version gets the version of this subtype

type Peer

type Peer string

Peer Aeternity node

swagger:model Peer

func (Peer) ContextValidate

func (m Peer) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this peer based on context it is used

func (Peer) Validate

func (m Peer) Validate(formats strfmt.Registry) error

Validate validates this peer

type PeerConnections

type PeerConnections struct {

	// Number of inbound peer connections
	// Required: true
	Inbound *uint32 `json:"inbound"`

	// Number of outbound peer connections
	// Required: true
	Outbound *uint32 `json:"outbound"`
}

PeerConnections peer connections

swagger:model PeerConnections

func (*PeerConnections) ContextValidate

func (m *PeerConnections) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this peer connections based on context it is used

func (*PeerConnections) MarshalBinary

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

MarshalBinary interface implementation

func (*PeerConnections) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*PeerConnections) Validate

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

Validate validates this peer connections

type PeerDetails

type PeerDetails struct {

	// Unix timestamp of when the peer was first pinged
	// Required: true
	FirstSeen *uint32 `json:"first_seen"`

	// The genesis hash the remote node reports
	// Required: true
	GenesisHash *string `json:"genesis_hash"`

	// Hostname of peer
	// Required: true
	Host *string `json:"host"`

	// Unix timestamp of when the peer was last pinged
	// Required: true
	LastSeen *uint32 `json:"last_seen"`

	// network id
	NetworkID string `json:"network_id,omitempty"`

	// node os
	NodeOs string `json:"node_os,omitempty"`

	// node revision
	NodeRevision string `json:"node_revision,omitempty"`

	// node vendor
	NodeVendor string `json:"node_vendor,omitempty"`

	// node version
	NodeVersion string `json:"node_version,omitempty"`

	// Port of peer
	// Required: true
	Port *uint32 `json:"port"`

	// The total top difficulty the node reports
	// Required: true
	TopDifficulty *uint64 `json:"top_difficulty"`

	// The top hash the remote node reports
	// Required: true
	TopHash *string `json:"top_hash"`
}

PeerDetails peer details

swagger:model PeerDetails

func (*PeerDetails) ContextValidate

func (m *PeerDetails) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this peer details based on context it is used

func (*PeerDetails) MarshalBinary

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

MarshalBinary interface implementation

func (*PeerDetails) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*PeerDetails) Validate

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

Validate validates this peer details

type PeerPubKey

type PeerPubKey struct {

	// pubkey
	// Required: true
	Pubkey *string `json:"pubkey"`
}

PeerPubKey peer pub key

swagger:model PeerPubKey

func (*PeerPubKey) ContextValidate

func (m *PeerPubKey) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this peer pub key based on context it is used

func (*PeerPubKey) MarshalBinary

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

MarshalBinary interface implementation

func (*PeerPubKey) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*PeerPubKey) Validate

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

Validate validates this peer pub key

type Peers

type Peers struct {

	// All blocked peers
	// Required: true
	Blocked []Peer `json:"blocked"`

	// All discovered peers
	// Required: true
	Peers []Peer `json:"peers"`
}

Peers peers

swagger:model Peers

func (*Peers) ContextValidate

func (m *Peers) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this peers based on the context it is used

func (*Peers) MarshalBinary

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

MarshalBinary interface implementation

func (*Peers) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Peers) Validate

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

Validate validates this peers

type PoI

type PoI struct {

	// Proof of inclusion
	// Required: true
	Poi *string `json:"poi"`
}

PoI po i

swagger:model PoI

func (*PoI) ContextValidate

func (m *PoI) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this po i based on context it is used

func (*PoI) MarshalBinary

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

MarshalBinary interface implementation

func (*PoI) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*PoI) Validate

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

Validate validates this po i

type PostTxResponse

type PostTxResponse struct {

	// Hash of a signed transaction
	// Required: true
	TxHash *string `json:"tx_hash"`
}

PostTxResponse post tx response

swagger:model PostTxResponse

func (*PostTxResponse) ContextValidate

func (m *PostTxResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this post tx response based on context it is used

func (*PostTxResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*PostTxResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*PostTxResponse) Validate

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

Validate validates this post tx response

type Pow

type Pow []uint32

Pow pow

swagger:model Pow

func (Pow) ContextValidate

func (m Pow) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this pow based on context it is used

func (Pow) Validate

func (m Pow) Validate(formats strfmt.Registry) error

Validate validates this pow

type Protocol

type Protocol struct {

	// Height at which protocol becomes active
	// Required: true
	EffectiveAtHeight *uint64 `json:"effective_at_height"`

	// Protocol version (can include protocol activated by miner signalling)
	// Required: true
	Version *uint32 `json:"version"`
}

Protocol protocol

swagger:model Protocol

func (*Protocol) ContextValidate

func (m *Protocol) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this protocol based on context it is used

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 PubKey

type PubKey struct {

	// pub key
	// Required: true
	PubKey *string `json:"pub_key"`
}

PubKey pub key

swagger:model PubKey

func (*PubKey) ContextValidate

func (m *PubKey) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this pub key based on context it is used

func (*PubKey) MarshalBinary

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

MarshalBinary interface implementation

func (*PubKey) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*PubKey) Validate

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

Validate validates this pub key

type RegisteredOracle

type RegisteredOracle struct {

	// abi version
	// Required: true
	AbiVersion *uint16 `json:"abi_version"`

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

	// query fee
	// Required: true
	QueryFee *utils.BigInt `json:"query_fee"`

	// query format
	// Required: true
	QueryFormat *string `json:"query_format"`

	// response format
	// Required: true
	ResponseFormat *string `json:"response_format"`

	// ttl
	// Required: true
	TTL *uint64 `json:"ttl"`
}

RegisteredOracle registered oracle

swagger:model RegisteredOracle

func (*RegisteredOracle) ContextValidate

func (m *RegisteredOracle) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this registered oracle based on the context it is used

func (*RegisteredOracle) MarshalBinary

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

MarshalBinary interface implementation

func (*RegisteredOracle) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*RegisteredOracle) Validate

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

Validate validates this registered oracle

type RelativeTTL

type RelativeTTL struct {

	// type
	// Required: true
	// Enum: [delta]
	Type *string `json:"type"`

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

RelativeTTL relative TTL

swagger:model RelativeTTL

func (*RelativeTTL) ContextValidate

func (m *RelativeTTL) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this relative TTL based on context it is used

func (*RelativeTTL) MarshalBinary

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

MarshalBinary interface implementation

func (*RelativeTTL) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*RelativeTTL) Validate

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

Validate validates this relative TTL

type SignedTx

type SignedTx struct {

	// At least one signature is required unless for Generalized Account Meta transactions
	// Required: true
	// Min Items: 0
	Signatures []string `json:"signatures"`
	// contains filtered or unexported fields
}

SignedTx signed tx

swagger:model SignedTx

func (*SignedTx) ContextValidate

func (m *SignedTx) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this signed tx based on the context it is used

func (*SignedTx) MarshalBinary

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

MarshalBinary interface implementation

func (SignedTx) MarshalJSON

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

MarshalJSON marshals this object with a polymorphic type to a JSON structure

func (*SignedTx) SetTx

func (m *SignedTx) SetTx(val GenericTx)

SetTx sets the tx of this base type

func (*SignedTx) Tx

func (m *SignedTx) Tx() GenericTx

Tx gets the tx of this base type

func (*SignedTx) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*SignedTx) UnmarshalJSON

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

UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure

func (*SignedTx) Validate

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

Validate validates this signed tx

type SpendTx

type SpendTx struct {

	// amount
	// Required: true
	Amount *utils.BigInt `json:"amount"`

	// fee
	// Required: true
	Fee *utils.BigInt `json:"fee"`

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

	// payload
	// Required: true
	Payload *string `json:"payload"`

	// recipient id
	// Required: true
	RecipientID *string `json:"recipient_id"`

	// sender id
	// Required: true
	SenderID *string `json:"sender_id"`

	// ttl
	TTL uint64 `json:"ttl,omitempty"`
}

SpendTx spend tx

swagger:model SpendTx

func (*SpendTx) ContextValidate

func (m *SpendTx) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this spend tx based on the context it is used

func (*SpendTx) MarshalBinary

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

MarshalBinary interface implementation

func (*SpendTx) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*SpendTx) Validate

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

Validate validates this spend tx

type SpendTxJSON

type SpendTxJSON struct {
	SpendTx
	// contains filtered or unexported fields
}

SpendTxJSON spend tx JSON

swagger:model SpendTxJSON

func (*SpendTxJSON) ContextValidate

func (m *SpendTxJSON) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this spend tx JSON based on the context it is used

func (*SpendTxJSON) MarshalBinary

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

MarshalBinary interface implementation

func (SpendTxJSON) MarshalJSON

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

MarshalJSON marshals this object with a polymorphic type to a JSON structure

func (*SpendTxJSON) SetType

func (m *SpendTxJSON) SetType(val string)

SetType sets the type of this subtype

func (*SpendTxJSON) SetVersion

func (m *SpendTxJSON) SetVersion(val *uint32)

SetVersion sets the version of this subtype

func (*SpendTxJSON) Type

func (m *SpendTxJSON) Type() string

Type gets the type of this subtype

func (*SpendTxJSON) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*SpendTxJSON) UnmarshalJSON

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

UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure

func (*SpendTxJSON) Validate

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

Validate validates this spend tx JSON

func (*SpendTxJSON) Version

func (m *SpendTxJSON) Version() *uint32

Version gets the version of this subtype

type Status

type Status struct {

	// difficulty
	// Required: true
	Difficulty *uint64 `json:"difficulty"`

	// genesis key block hash
	// Required: true
	GenesisKeyBlockHash *string `json:"genesis_key_block_hash"`

	// listening
	// Required: true
	Listening *bool `json:"listening"`

	// network id
	// Required: true
	NetworkID *string `json:"network_id"`

	// node revision
	// Required: true
	NodeRevision *string `json:"node_revision"`

	// node version
	// Required: true
	NodeVersion *string `json:"node_version"`

	// peer connections
	// Required: true
	PeerConnections *PeerConnections `json:"peer_connections"`

	// peer count
	// Required: true
	PeerCount *uint32 `json:"peer_count"`

	// peer pubkey
	// Required: true
	PeerPubkey *string `json:"peer_pubkey"`

	// pending transactions count
	// Required: true
	PendingTransactionsCount *uint32 `json:"pending_transactions_count"`

	// protocols
	// Required: true
	Protocols []*Protocol `json:"protocols"`

	// solutions
	// Required: true
	Solutions *uint64 `json:"solutions"`

	// sync progress
	// Maximum: 100
	// Minimum: 0
	SyncProgress *float32 `json:"sync_progress,omitempty"`

	// syncing
	// Required: true
	Syncing *bool `json:"syncing"`

	// top block height
	// Required: true
	TopBlockHeight *uint64 `json:"top_block_height"`

	// top key block hash
	// Required: true
	TopKeyBlockHash *string `json:"top_key_block_hash"`
}

Status status

swagger:model Status

func (*Status) ContextValidate

func (m *Status) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this status based on the context it is used

func (*Status) MarshalBinary

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

MarshalBinary interface implementation

func (*Status) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Status) Validate

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

Validate validates this status

type TTL

type TTL struct {

	// type
	// Required: true
	// Enum: [delta block]
	Type *string `json:"type"`

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

TTL TTL

swagger:model TTL

func (*TTL) ContextValidate

func (m *TTL) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this TTL based on context it is used

func (*TTL) MarshalBinary

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

MarshalBinary interface implementation

func (*TTL) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*TTL) Validate

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

Validate validates this TTL

type TokenSupply

type TokenSupply struct {

	// Tokens in account balances
	Accounts utils.BigInt `json:"accounts,omitempty"`

	// Tokens in contracts registered as oracles
	ContractOracles utils.BigInt `json:"contract_oracles,omitempty"`

	// Tokens in contracts
	Contracts utils.BigInt `json:"contracts,omitempty"`

	// Tokens locked (not owned by anyone)
	Locked utils.BigInt `json:"locked,omitempty"`

	// Tokens in pending oracle queries
	OracleQueries utils.BigInt `json:"oracle_queries,omitempty"`

	// Tokens in accounts registered as oracles
	Oracles utils.BigInt `json:"oracles,omitempty"`

	// Tokens from fees and coinbase pending in the beneficiary reward delay
	PendingRewards utils.BigInt `json:"pending_rewards,omitempty"`

	// Sum of all tokens from other fields
	Total utils.BigInt `json:"total,omitempty"`
}

TokenSupply token supply

swagger:model TokenSupply

func (*TokenSupply) ContextValidate

func (m *TokenSupply) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this token supply based on the context it is used

func (*TokenSupply) MarshalBinary

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

MarshalBinary interface implementation

func (*TokenSupply) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*TokenSupply) Validate

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

Validate validates this token supply

type Tx

type Tx struct {

	// tx
	// Required: true
	Tx *string `json:"tx"`
}

Tx tx

swagger:model Tx

func (*Tx) ContextValidate

func (m *Tx) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this tx based on context it is used

func (*Tx) MarshalBinary

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

MarshalBinary interface implementation

func (*Tx) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Tx) Validate

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

Validate validates this tx

type TxBlockHeight

type TxBlockHeight int64

TxBlockHeight tx block height

swagger:model TxBlockHeight

func (TxBlockHeight) ContextValidate

func (m TxBlockHeight) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this tx block height based on context it is used

func (TxBlockHeight) Validate

func (m TxBlockHeight) Validate(formats strfmt.Registry) error

Validate validates this tx block height

type TxEvent

type TxEvent interface{}

TxEvent tx event

swagger:model TxEvent

type TxInfoObject

type TxInfoObject struct {

	// call info
	CallInfo *ContractCallObject `json:"call_info,omitempty"`

	// ga info
	GaInfo *GAObject `json:"ga_info,omitempty"`

	// tx info
	TxInfo string `json:"tx_info,omitempty"`
}

TxInfoObject tx info object

swagger:model TxInfoObject

func (*TxInfoObject) ContextValidate

func (m *TxInfoObject) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this tx info object based on the context it is used

func (*TxInfoObject) MarshalBinary

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

MarshalBinary interface implementation

func (*TxInfoObject) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*TxInfoObject) Validate

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

Validate validates this tx info object

type UInt16

type UInt16 uint64

UInt16 u int16

swagger:model UInt16

func (UInt16) ContextValidate

func (m UInt16) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this u int16 based on context it is used

func (UInt16) Validate

func (m UInt16) Validate(formats strfmt.Registry) error

Validate validates this u int16

type UInt32

type UInt32 uint64

UInt32 u int32

swagger:model UInt32

func (UInt32) ContextValidate

func (m UInt32) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this u int32 based on context it is used

func (UInt32) Validate

func (m UInt32) Validate(formats strfmt.Registry) error

Validate validates this u int32

type UInt64

type UInt64 uint64

UInt64 u int64

swagger:model UInt64

func (UInt64) ContextValidate

func (m UInt64) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this u int64 based on context it is used

func (UInt64) Validate

func (m UInt64) Validate(formats strfmt.Registry) error

Validate validates this u int64

type UnsignedTx

type UnsignedTx struct {

	// Unsigned transaction object
	// Required: true
	Tx *string `json:"tx"`
}

UnsignedTx unsigned tx

swagger:model UnsignedTx

func (*UnsignedTx) ContextValidate

func (m *UnsignedTx) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this unsigned tx based on context it is used

func (*UnsignedTx) MarshalBinary

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

MarshalBinary interface implementation

func (*UnsignedTx) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*UnsignedTx) Validate

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

Validate validates this unsigned tx

Source Files

Jump to

Keyboard shortcuts

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