models

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NeutronInterchainqueriesBlock added in v0.2.0

type NeutronInterchainqueriesBlock struct {

	// header
	Header *NeutronInterchainqueriesBlockHeader `json:"header,omitempty"`

	// next block header
	NextBlockHeader *NeutronInterchainqueriesBlockNextBlockHeader `json:"next_block_header,omitempty"`

	// tx
	Tx *NeutronInterchainqueriesBlockTx `json:"tx,omitempty"`
}

NeutronInterchainqueriesBlock neutron interchainqueries block

swagger:model neutron.interchainqueries.Block

func (*NeutronInterchainqueriesBlock) ContextValidate added in v0.2.0

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

ContextValidate validate this neutron interchainqueries block based on the context it is used

func (*NeutronInterchainqueriesBlock) MarshalBinary added in v0.2.0

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

MarshalBinary interface implementation

func (*NeutronInterchainqueriesBlock) UnmarshalBinary added in v0.2.0

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

UnmarshalBinary interface implementation

func (*NeutronInterchainqueriesBlock) Validate added in v0.2.0

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

Validate validates this neutron interchainqueries block

type NeutronInterchainqueriesBlockHeader added in v0.2.0

type NeutronInterchainqueriesBlockHeader struct {

	// A URL/resource name that uniquely identifies the type of the serialized
	// protocol buffer message. This string must contain at least
	// one "/" character. The last segment of the URL's path must represent
	// the fully qualified name of the type (as in
	// `path/google.protobuf.Duration`). The name should be in a canonical form
	// (e.g., leading "." is not accepted).
	//
	// In practice, teams usually precompile into the binary all types that they
	// expect it to use in the context of Any. However, for URLs which use the
	// scheme `http`, `https`, or no scheme, one can optionally set up a type
	// server that maps type URLs to message definitions as follows:
	//
	// * If no scheme is provided, `https` is assumed.
	// * An HTTP GET on the URL must yield a [google.protobuf.Type][]
	//   value in binary format, or produce an error.
	// * Applications are allowed to cache lookup results based on the
	//   URL, or have them precompiled into a binary to avoid any
	//   lookup. Therefore, binary compatibility needs to be preserved
	//   on changes to types. (Use versioned type names to manage
	//   breaking changes.)
	//
	// Note: this functionality is not currently available in the official
	// protobuf release, and it is not used for type URLs beginning with
	// type.googleapis.com.
	//
	// Schemes other than `http`, `https` (or the empty scheme) might be
	// used with implementation specific semantics.
	AtType string `json:"@type,omitempty"`
}

NeutronInterchainqueriesBlockHeader We need to know block X to verify inclusion of transaction for block X

`Any` contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message.

Protobuf library provides support to pack/unpack Any values in the form of utility functions or additional generated methods of the Any type.

Example 1: Pack and unpack a message in C++.

Foo foo = ...;
Any any;
any.PackFrom(foo);
...
if (any.UnpackTo(&foo)) {
  ...
}

Example 2: Pack and unpack a message in Java.

   Foo foo = ...;
   Any any = Any.pack(foo);
   ...
   if (any.is(Foo.class)) {
     foo = any.unpack(Foo.class);
   }

Example 3: Pack and unpack a message in Python.

   foo = Foo(...)
   any = Any()
   any.Pack(foo)
   ...
   if any.Is(Foo.DESCRIPTOR):
     any.Unpack(foo)
     ...

Example 4: Pack and unpack a message in Go

    foo := &pb.Foo{...}
    any, err := anypb.New(foo)
    if err != nil {
      ...
    }
    ...
    foo := &pb.Foo{}
    if err := any.UnmarshalTo(foo); err != nil {
      ...
    }

The pack methods provided by protobuf library will by default use 'type.googleapis.com/full.type.name' as the type URL and the unpack methods only use the fully qualified type name after the last '/' in the type URL, for example "foo.bar.com/x/y.z" will yield type name "y.z".

JSON ==== The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an additional field `@type` which contains the type URL. Example:

package google.profile;
message Person {
  string first_name = 1;
  string last_name = 2;
}

{
  "@type": "type.googleapis.com/google.profile.Person",
  "firstName": <string>,
  "lastName": <string>
}

If the embedded message type is well-known and has a custom JSON representation, that representation will be embedded adding a field `value` which holds the custom JSON in addition to the `@type` field. Example (for message [google.protobuf.Duration][]):

{
  "@type": "type.googleapis.com/google.protobuf.Duration",
  "value": "1.212s"
}

swagger:model NeutronInterchainqueriesBlockHeader

func (*NeutronInterchainqueriesBlockHeader) ContextValidate added in v0.2.0

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

ContextValidate validates this neutron interchainqueries block header based on context it is used

func (*NeutronInterchainqueriesBlockHeader) MarshalBinary added in v0.2.0

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

MarshalBinary interface implementation

func (*NeutronInterchainqueriesBlockHeader) UnmarshalBinary added in v0.2.0

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

UnmarshalBinary interface implementation

func (*NeutronInterchainqueriesBlockHeader) Validate added in v0.2.0

Validate validates this neutron interchainqueries block header

type NeutronInterchainqueriesBlockNextBlockHeader added in v0.2.0

type NeutronInterchainqueriesBlockNextBlockHeader struct {

	// A URL/resource name that uniquely identifies the type of the serialized
	// protocol buffer message. This string must contain at least
	// one "/" character. The last segment of the URL's path must represent
	// the fully qualified name of the type (as in
	// `path/google.protobuf.Duration`). The name should be in a canonical form
	// (e.g., leading "." is not accepted).
	//
	// In practice, teams usually precompile into the binary all types that they
	// expect it to use in the context of Any. However, for URLs which use the
	// scheme `http`, `https`, or no scheme, one can optionally set up a type
	// server that maps type URLs to message definitions as follows:
	//
	// * If no scheme is provided, `https` is assumed.
	// * An HTTP GET on the URL must yield a [google.protobuf.Type][]
	//   value in binary format, or produce an error.
	// * Applications are allowed to cache lookup results based on the
	//   URL, or have them precompiled into a binary to avoid any
	//   lookup. Therefore, binary compatibility needs to be preserved
	//   on changes to types. (Use versioned type names to manage
	//   breaking changes.)
	//
	// Note: this functionality is not currently available in the official
	// protobuf release, and it is not used for type URLs beginning with
	// type.googleapis.com.
	//
	// Schemes other than `http`, `https` (or the empty scheme) might be
	// used with implementation specific semantics.
	AtType string `json:"@type,omitempty"`
}

NeutronInterchainqueriesBlockNextBlockHeader We need to know block X+1 to verify response of transaction for block X since LastResultsHash is root hash of all results from the txs from the previous block

`Any` contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message.

Protobuf library provides support to pack/unpack Any values in the form of utility functions or additional generated methods of the Any type.

Example 1: Pack and unpack a message in C++.

Foo foo = ...;
Any any;
any.PackFrom(foo);
...
if (any.UnpackTo(&foo)) {
  ...
}

Example 2: Pack and unpack a message in Java.

   Foo foo = ...;
   Any any = Any.pack(foo);
   ...
   if (any.is(Foo.class)) {
     foo = any.unpack(Foo.class);
   }

Example 3: Pack and unpack a message in Python.

   foo = Foo(...)
   any = Any()
   any.Pack(foo)
   ...
   if any.Is(Foo.DESCRIPTOR):
     any.Unpack(foo)
     ...

Example 4: Pack and unpack a message in Go

    foo := &pb.Foo{...}
    any, err := anypb.New(foo)
    if err != nil {
      ...
    }
    ...
    foo := &pb.Foo{}
    if err := any.UnmarshalTo(foo); err != nil {
      ...
    }

The pack methods provided by protobuf library will by default use 'type.googleapis.com/full.type.name' as the type URL and the unpack methods only use the fully qualified type name after the last '/' in the type URL, for example "foo.bar.com/x/y.z" will yield type name "y.z".

JSON ==== The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an additional field `@type` which contains the type URL. Example:

package google.profile;
message Person {
  string first_name = 1;
  string last_name = 2;
}

{
  "@type": "type.googleapis.com/google.profile.Person",
  "firstName": <string>,
  "lastName": <string>
}

If the embedded message type is well-known and has a custom JSON representation, that representation will be embedded adding a field `value` which holds the custom JSON in addition to the `@type` field. Example (for message [google.protobuf.Duration][]):

{
  "@type": "type.googleapis.com/google.protobuf.Duration",
  "value": "1.212s"
}

swagger:model NeutronInterchainqueriesBlockNextBlockHeader

func (*NeutronInterchainqueriesBlockNextBlockHeader) ContextValidate added in v0.2.0

ContextValidate validates this neutron interchainqueries block next block header based on context it is used

func (*NeutronInterchainqueriesBlockNextBlockHeader) MarshalBinary added in v0.2.0

MarshalBinary interface implementation

func (*NeutronInterchainqueriesBlockNextBlockHeader) UnmarshalBinary added in v0.2.0

UnmarshalBinary interface implementation

func (*NeutronInterchainqueriesBlockNextBlockHeader) Validate added in v0.2.0

Validate validates this neutron interchainqueries block next block header

type NeutronInterchainqueriesBlockTx added in v0.2.0

type NeutronInterchainqueriesBlockTx struct {

	// is body of the transaction
	// Format: byte
	Data strfmt.Base64 `json:"data,omitempty"`

	// delivery proof
	DeliveryProof *NeutronInterchainqueriesBlockTxDeliveryProof `json:"delivery_proof,omitempty"`

	// inclusion proof
	InclusionProof *NeutronInterchainqueriesBlockTxInclusionProof `json:"inclusion_proof,omitempty"`

	// response
	Response *NeutronInterchainqueriesBlockTxResponse `json:"response,omitempty"`
}

NeutronInterchainqueriesBlockTx neutron interchainqueries block tx

swagger:model NeutronInterchainqueriesBlockTx

func (*NeutronInterchainqueriesBlockTx) ContextValidate added in v0.2.0

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

ContextValidate validate this neutron interchainqueries block tx based on the context it is used

func (*NeutronInterchainqueriesBlockTx) MarshalBinary added in v0.2.0

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

MarshalBinary interface implementation

func (*NeutronInterchainqueriesBlockTx) UnmarshalBinary added in v0.2.0

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

UnmarshalBinary interface implementation

func (*NeutronInterchainqueriesBlockTx) Validate added in v0.2.0

Validate validates this neutron interchainqueries block tx

type NeutronInterchainqueriesBlockTxDeliveryProof added in v0.2.0

type NeutronInterchainqueriesBlockTxDeliveryProof struct {

	// aunts
	Aunts []strfmt.Base64 `json:"aunts"`

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

	// leaf hash
	// Format: byte
	LeafHash strfmt.Base64 `json:"leaf_hash,omitempty"`

	// total
	Total string `json:"total,omitempty"`
}

NeutronInterchainqueriesBlockTxDeliveryProof is the Merkle Proof which proves existence of response in block with height next_block_header.Height

swagger:model NeutronInterchainqueriesBlockTxDeliveryProof

func (*NeutronInterchainqueriesBlockTxDeliveryProof) ContextValidate added in v0.2.0

ContextValidate validates this neutron interchainqueries block tx delivery proof based on context it is used

func (*NeutronInterchainqueriesBlockTxDeliveryProof) MarshalBinary added in v0.2.0

MarshalBinary interface implementation

func (*NeutronInterchainqueriesBlockTxDeliveryProof) UnmarshalBinary added in v0.2.0

UnmarshalBinary interface implementation

func (*NeutronInterchainqueriesBlockTxDeliveryProof) Validate added in v0.2.0

Validate validates this neutron interchainqueries block tx delivery proof

type NeutronInterchainqueriesBlockTxInclusionProof added in v0.2.0

type NeutronInterchainqueriesBlockTxInclusionProof struct {

	// aunts
	Aunts []strfmt.Base64 `json:"aunts"`

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

	// leaf hash
	// Format: byte
	LeafHash strfmt.Base64 `json:"leaf_hash,omitempty"`

	// total
	Total string `json:"total,omitempty"`
}

NeutronInterchainqueriesBlockTxInclusionProof is the Merkle Proof which proves existence of data in block with height header.Height

swagger:model NeutronInterchainqueriesBlockTxInclusionProof

func (*NeutronInterchainqueriesBlockTxInclusionProof) ContextValidate added in v0.2.0

ContextValidate validates this neutron interchainqueries block tx inclusion proof based on context it is used

func (*NeutronInterchainqueriesBlockTxInclusionProof) MarshalBinary added in v0.2.0

MarshalBinary interface implementation

func (*NeutronInterchainqueriesBlockTxInclusionProof) UnmarshalBinary added in v0.2.0

UnmarshalBinary interface implementation

func (*NeutronInterchainqueriesBlockTxInclusionProof) Validate added in v0.2.0

Validate validates this neutron interchainqueries block tx inclusion proof

type NeutronInterchainqueriesBlockTxResponse added in v0.2.0

type NeutronInterchainqueriesBlockTxResponse struct {

	// code
	Code int64 `json:"code,omitempty"`

	// codespace
	Codespace string `json:"codespace,omitempty"`

	// data
	// Format: byte
	Data strfmt.Base64 `json:"data,omitempty"`

	// events
	Events []*NeutronInterchainqueriesBlockTxResponseEventsItems0 `json:"events"`

	// gas used
	GasUsed string `json:"gas_used,omitempty"`

	// gas wanted
	GasWanted string `json:"gas_wanted,omitempty"`

	// info
	Info string `json:"info,omitempty"`

	// log
	Log string `json:"log,omitempty"`
}

NeutronInterchainqueriesBlockTxResponse neutron interchainqueries block tx response

swagger:model NeutronInterchainqueriesBlockTxResponse

func (*NeutronInterchainqueriesBlockTxResponse) ContextValidate added in v0.2.0

ContextValidate validate this neutron interchainqueries block tx response based on the context it is used

func (*NeutronInterchainqueriesBlockTxResponse) MarshalBinary added in v0.2.0

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

MarshalBinary interface implementation

func (*NeutronInterchainqueriesBlockTxResponse) UnmarshalBinary added in v0.2.0

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

UnmarshalBinary interface implementation

func (*NeutronInterchainqueriesBlockTxResponse) Validate added in v0.2.0

Validate validates this neutron interchainqueries block tx response

type NeutronInterchainqueriesBlockTxResponseEventsItems0 added in v0.2.0

type NeutronInterchainqueriesBlockTxResponseEventsItems0 struct {

	// attributes
	Attributes []*NeutronInterchainqueriesBlockTxResponseEventsItems0AttributesItems0 `json:"attributes"`

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

NeutronInterchainqueriesBlockTxResponseEventsItems0 Event allows application developers to attach additional information to ResponseBeginBlock, ResponseEndBlock, ResponseCheckTx and ResponseDeliverTx. Later, transactions may be queried using these events.

swagger:model NeutronInterchainqueriesBlockTxResponseEventsItems0

func (*NeutronInterchainqueriesBlockTxResponseEventsItems0) ContextValidate added in v0.2.0

ContextValidate validate this neutron interchainqueries block tx response events items0 based on the context it is used

func (*NeutronInterchainqueriesBlockTxResponseEventsItems0) MarshalBinary added in v0.2.0

MarshalBinary interface implementation

func (*NeutronInterchainqueriesBlockTxResponseEventsItems0) UnmarshalBinary added in v0.2.0

UnmarshalBinary interface implementation

func (*NeutronInterchainqueriesBlockTxResponseEventsItems0) Validate added in v0.2.0

Validate validates this neutron interchainqueries block tx response events items0

type NeutronInterchainqueriesBlockTxResponseEventsItems0AttributesItems0 added in v0.2.0

type NeutronInterchainqueriesBlockTxResponseEventsItems0AttributesItems0 struct {

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

	// key
	// Format: byte
	Key strfmt.Base64 `json:"key,omitempty"`

	// value
	// Format: byte
	Value strfmt.Base64 `json:"value,omitempty"`
}

NeutronInterchainqueriesBlockTxResponseEventsItems0AttributesItems0 EventAttribute is a single key-value pair, associated with an event.

swagger:model NeutronInterchainqueriesBlockTxResponseEventsItems0AttributesItems0

func (*NeutronInterchainqueriesBlockTxResponseEventsItems0AttributesItems0) ContextValidate added in v0.2.0

ContextValidate validates this neutron interchainqueries block tx response events items0 attributes items0 based on context it is used

func (*NeutronInterchainqueriesBlockTxResponseEventsItems0AttributesItems0) MarshalBinary added in v0.2.0

MarshalBinary interface implementation

func (*NeutronInterchainqueriesBlockTxResponseEventsItems0AttributesItems0) UnmarshalBinary added in v0.2.0

UnmarshalBinary interface implementation

func (*NeutronInterchainqueriesBlockTxResponseEventsItems0AttributesItems0) Validate added in v0.2.0

Validate validates this neutron interchainqueries block tx response events items0 attributes items0

type NeutronInterchainqueriesKVKey added in v0.2.0

type NeutronInterchainqueriesKVKey struct {

	// Key you want to read from the storage
	// Format: byte
	Key strfmt.Base64 `json:"key,omitempty"`

	// Path (storage prefix) to the storage where you want to read value by key (usually name of cosmos-sdk module: 'staking', 'bank', etc.)
	Path string `json:"path,omitempty"`
}

NeutronInterchainqueriesKVKey neutron interchainqueries k v key

swagger:model neutron.interchainqueries.KVKey

func (*NeutronInterchainqueriesKVKey) ContextValidate added in v0.2.0

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

ContextValidate validates this neutron interchainqueries k v key based on context it is used

func (*NeutronInterchainqueriesKVKey) MarshalBinary added in v0.2.0

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

MarshalBinary interface implementation

func (*NeutronInterchainqueriesKVKey) UnmarshalBinary added in v0.2.0

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

UnmarshalBinary interface implementation

func (*NeutronInterchainqueriesKVKey) Validate added in v0.2.0

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

Validate validates this neutron interchainqueries k v key

type NeutronInterchainqueriesQueryRegisteredQueriesResponse added in v0.2.0

type NeutronInterchainqueriesQueryRegisteredQueriesResponse struct {

	// pagination
	Pagination *NeutronInterchainqueriesQueryRegisteredQueriesResponsePagination `json:"pagination,omitempty"`

	// registered queries
	RegisteredQueries []*NeutronInterchainqueriesQueryRegisteredQueriesResponseRegisteredQueriesItems0 `json:"registered_queries"`
}

NeutronInterchainqueriesQueryRegisteredQueriesResponse neutron interchainqueries query registered queries response

swagger:model neutron.interchainqueries.QueryRegisteredQueriesResponse

func (*NeutronInterchainqueriesQueryRegisteredQueriesResponse) ContextValidate added in v0.2.0

ContextValidate validate this neutron interchainqueries query registered queries response based on the context it is used

func (*NeutronInterchainqueriesQueryRegisteredQueriesResponse) MarshalBinary added in v0.2.0

MarshalBinary interface implementation

func (*NeutronInterchainqueriesQueryRegisteredQueriesResponse) UnmarshalBinary added in v0.2.0

UnmarshalBinary interface implementation

func (*NeutronInterchainqueriesQueryRegisteredQueriesResponse) Validate added in v0.2.0

Validate validates this neutron interchainqueries query registered queries response

type NeutronInterchainqueriesQueryRegisteredQueriesResponsePagination added in v0.2.0

type NeutronInterchainqueriesQueryRegisteredQueriesResponsePagination struct {

	// next_key is the key to be passed to PageRequest.key to
	// query the next page most efficiently
	// Format: byte
	NextKey strfmt.Base64 `json:"next_key,omitempty"`

	// total is total number of results available if PageRequest.count_total
	// was set, its value is undefined otherwise
	Total string `json:"total,omitempty"`
}

NeutronInterchainqueriesQueryRegisteredQueriesResponsePagination pagination defines the pagination in the response.

swagger:model NeutronInterchainqueriesQueryRegisteredQueriesResponsePagination

func (*NeutronInterchainqueriesQueryRegisteredQueriesResponsePagination) ContextValidate added in v0.2.0

ContextValidate validates this neutron interchainqueries query registered queries response pagination based on context it is used

func (*NeutronInterchainqueriesQueryRegisteredQueriesResponsePagination) MarshalBinary added in v0.2.0

MarshalBinary interface implementation

func (*NeutronInterchainqueriesQueryRegisteredQueriesResponsePagination) UnmarshalBinary added in v0.2.0

UnmarshalBinary interface implementation

func (*NeutronInterchainqueriesQueryRegisteredQueriesResponsePagination) Validate added in v0.2.0

Validate validates this neutron interchainqueries query registered queries response pagination

type NeutronInterchainqueriesQueryRegisteredQueriesResponseRegisteredQueriesItems0 added in v0.2.0

type NeutronInterchainqueriesQueryRegisteredQueriesResponseRegisteredQueriesItems0 struct {

	// The IBC connection ID for getting ConsensusState to verify proofs
	ConnectionID string `json:"connection_id,omitempty"`

	// The unique id of the registered query.
	ID string `json:"id,omitempty"`

	// The KV-storage keys for which we want to get values from remote chain
	Keys []*NeutronInterchainqueriesQueryRegisteredQueriesResponseRegisteredQueriesItems0KeysItems0 `json:"keys"`

	// The local chain last block height when the query result was updated.
	LastSubmittedResultLocalHeight string `json:"last_submitted_result_local_height,omitempty"`

	// last submitted result remote height
	LastSubmittedResultRemoteHeight *NeutronInterchainqueriesQueryRegisteredQueriesResponseRegisteredQueriesItems0LastSubmittedResultRemoteHeight `json:"last_submitted_result_remote_height,omitempty"`

	// The address that registered the query.
	Owner string `json:"owner,omitempty"`

	// The query type identifier: `kv` or `tx` now
	QueryType string `json:"query_type,omitempty"`

	// The filter for transaction search ICQ
	TransactionsFilter string `json:"transactions_filter,omitempty"`

	// Parameter that defines how often the query must be updated.
	UpdatePeriod string `json:"update_period,omitempty"`
}

NeutronInterchainqueriesQueryRegisteredQueriesResponseRegisteredQueriesItems0 neutron interchainqueries query registered queries response registered queries items0

swagger:model NeutronInterchainqueriesQueryRegisteredQueriesResponseRegisteredQueriesItems0

func (*NeutronInterchainqueriesQueryRegisteredQueriesResponseRegisteredQueriesItems0) ContextValidate added in v0.2.0

ContextValidate validate this neutron interchainqueries query registered queries response registered queries items0 based on the context it is used

func (*NeutronInterchainqueriesQueryRegisteredQueriesResponseRegisteredQueriesItems0) MarshalBinary added in v0.2.0

MarshalBinary interface implementation

func (*NeutronInterchainqueriesQueryRegisteredQueriesResponseRegisteredQueriesItems0) UnmarshalBinary added in v0.2.0

UnmarshalBinary interface implementation

func (*NeutronInterchainqueriesQueryRegisteredQueriesResponseRegisteredQueriesItems0) Validate added in v0.2.0

Validate validates this neutron interchainqueries query registered queries response registered queries items0

type NeutronInterchainqueriesQueryRegisteredQueriesResponseRegisteredQueriesItems0KeysItems0 added in v0.2.0

type NeutronInterchainqueriesQueryRegisteredQueriesResponseRegisteredQueriesItems0KeysItems0 struct {

	// Key you want to read from the storage
	// Format: byte
	Key strfmt.Base64 `json:"key,omitempty"`

	// Path (storage prefix) to the storage where you want to read value by key (usually name of cosmos-sdk module: 'staking', 'bank', etc.)
	Path string `json:"path,omitempty"`
}

NeutronInterchainqueriesQueryRegisteredQueriesResponseRegisteredQueriesItems0KeysItems0 neutron interchainqueries query registered queries response registered queries items0 keys items0

swagger:model NeutronInterchainqueriesQueryRegisteredQueriesResponseRegisteredQueriesItems0KeysItems0

func (*NeutronInterchainqueriesQueryRegisteredQueriesResponseRegisteredQueriesItems0KeysItems0) ContextValidate added in v0.2.0

ContextValidate validates this neutron interchainqueries query registered queries response registered queries items0 keys items0 based on context it is used

func (*NeutronInterchainqueriesQueryRegisteredQueriesResponseRegisteredQueriesItems0KeysItems0) MarshalBinary added in v0.2.0

MarshalBinary interface implementation

func (*NeutronInterchainqueriesQueryRegisteredQueriesResponseRegisteredQueriesItems0KeysItems0) UnmarshalBinary added in v0.2.0

UnmarshalBinary interface implementation

func (*NeutronInterchainqueriesQueryRegisteredQueriesResponseRegisteredQueriesItems0KeysItems0) Validate added in v0.2.0

Validate validates this neutron interchainqueries query registered queries response registered queries items0 keys items0

type NeutronInterchainqueriesQueryRegisteredQueriesResponseRegisteredQueriesItems0LastSubmittedResultRemoteHeight added in v0.2.0

type NeutronInterchainqueriesQueryRegisteredQueriesResponseRegisteredQueriesItems0LastSubmittedResultRemoteHeight struct {

	// revision height
	RevisionHeight string `json:"revision_height,omitempty"`

	// revision number
	RevisionNumber string `json:"revision_number,omitempty"`
}

NeutronInterchainqueriesQueryRegisteredQueriesResponseRegisteredQueriesItems0LastSubmittedResultRemoteHeight The remote chain last block height & revision number when the query result was updated.

swagger:model NeutronInterchainqueriesQueryRegisteredQueriesResponseRegisteredQueriesItems0LastSubmittedResultRemoteHeight

func (*NeutronInterchainqueriesQueryRegisteredQueriesResponseRegisteredQueriesItems0LastSubmittedResultRemoteHeight) ContextValidate added in v0.2.0

ContextValidate validates this neutron interchainqueries query registered queries response registered queries items0 last submitted result remote height based on context it is used

func (*NeutronInterchainqueriesQueryRegisteredQueriesResponseRegisteredQueriesItems0LastSubmittedResultRemoteHeight) MarshalBinary added in v0.2.0

MarshalBinary interface implementation

func (*NeutronInterchainqueriesQueryRegisteredQueriesResponseRegisteredQueriesItems0LastSubmittedResultRemoteHeight) UnmarshalBinary added in v0.2.0

UnmarshalBinary interface implementation

func (*NeutronInterchainqueriesQueryRegisteredQueriesResponseRegisteredQueriesItems0LastSubmittedResultRemoteHeight) Validate added in v0.2.0

Validate validates this neutron interchainqueries query registered queries response registered queries items0 last submitted result remote height

type NeutronInterchainqueriesQueryRegisteredQueryResponse added in v0.2.0

type NeutronInterchainqueriesQueryRegisteredQueryResponse struct {

	// registered query
	RegisteredQuery *NeutronInterchainqueriesQueryRegisteredQueryResponseRegisteredQuery `json:"registered_query,omitempty"`
}

NeutronInterchainqueriesQueryRegisteredQueryResponse neutron interchainqueries query registered query response

swagger:model neutron.interchainqueries.QueryRegisteredQueryResponse

func (*NeutronInterchainqueriesQueryRegisteredQueryResponse) ContextValidate added in v0.2.0

ContextValidate validate this neutron interchainqueries query registered query response based on the context it is used

func (*NeutronInterchainqueriesQueryRegisteredQueryResponse) MarshalBinary added in v0.2.0

MarshalBinary interface implementation

func (*NeutronInterchainqueriesQueryRegisteredQueryResponse) UnmarshalBinary added in v0.2.0

UnmarshalBinary interface implementation

func (*NeutronInterchainqueriesQueryRegisteredQueryResponse) Validate added in v0.2.0

Validate validates this neutron interchainqueries query registered query response

type NeutronInterchainqueriesQueryRegisteredQueryResponseRegisteredQuery added in v0.2.0

type NeutronInterchainqueriesQueryRegisteredQueryResponseRegisteredQuery struct {

	// The IBC connection ID for getting ConsensusState to verify proofs
	ConnectionID string `json:"connection_id,omitempty"`

	// The unique id of the registered query.
	ID string `json:"id,omitempty"`

	// The KV-storage keys for which we want to get values from remote chain
	Keys []*NeutronInterchainqueriesQueryRegisteredQueryResponseRegisteredQueryKeysItems0 `json:"keys"`

	// The local chain last block height when the query result was updated.
	LastSubmittedResultLocalHeight string `json:"last_submitted_result_local_height,omitempty"`

	// last submitted result remote height
	LastSubmittedResultRemoteHeight *NeutronInterchainqueriesQueryRegisteredQueryResponseRegisteredQueryLastSubmittedResultRemoteHeight `json:"last_submitted_result_remote_height,omitempty"`

	// The address that registered the query.
	Owner string `json:"owner,omitempty"`

	// The query type identifier: `kv` or `tx` now
	QueryType string `json:"query_type,omitempty"`

	// The filter for transaction search ICQ
	TransactionsFilter string `json:"transactions_filter,omitempty"`

	// Parameter that defines how often the query must be updated.
	UpdatePeriod string `json:"update_period,omitempty"`
}

NeutronInterchainqueriesQueryRegisteredQueryResponseRegisteredQuery neutron interchainqueries query registered query response registered query

swagger:model NeutronInterchainqueriesQueryRegisteredQueryResponseRegisteredQuery

func (*NeutronInterchainqueriesQueryRegisteredQueryResponseRegisteredQuery) ContextValidate added in v0.2.0

ContextValidate validate this neutron interchainqueries query registered query response registered query based on the context it is used

func (*NeutronInterchainqueriesQueryRegisteredQueryResponseRegisteredQuery) MarshalBinary added in v0.2.0

MarshalBinary interface implementation

func (*NeutronInterchainqueriesQueryRegisteredQueryResponseRegisteredQuery) UnmarshalBinary added in v0.2.0

UnmarshalBinary interface implementation

func (*NeutronInterchainqueriesQueryRegisteredQueryResponseRegisteredQuery) Validate added in v0.2.0

Validate validates this neutron interchainqueries query registered query response registered query

type NeutronInterchainqueriesQueryRegisteredQueryResponseRegisteredQueryKeysItems0 added in v0.2.0

type NeutronInterchainqueriesQueryRegisteredQueryResponseRegisteredQueryKeysItems0 struct {

	// Key you want to read from the storage
	// Format: byte
	Key strfmt.Base64 `json:"key,omitempty"`

	// Path (storage prefix) to the storage where you want to read value by key (usually name of cosmos-sdk module: 'staking', 'bank', etc.)
	Path string `json:"path,omitempty"`
}

NeutronInterchainqueriesQueryRegisteredQueryResponseRegisteredQueryKeysItems0 neutron interchainqueries query registered query response registered query keys items0

swagger:model NeutronInterchainqueriesQueryRegisteredQueryResponseRegisteredQueryKeysItems0

func (*NeutronInterchainqueriesQueryRegisteredQueryResponseRegisteredQueryKeysItems0) ContextValidate added in v0.2.0

ContextValidate validates this neutron interchainqueries query registered query response registered query keys items0 based on context it is used

func (*NeutronInterchainqueriesQueryRegisteredQueryResponseRegisteredQueryKeysItems0) MarshalBinary added in v0.2.0

MarshalBinary interface implementation

func (*NeutronInterchainqueriesQueryRegisteredQueryResponseRegisteredQueryKeysItems0) UnmarshalBinary added in v0.2.0

UnmarshalBinary interface implementation

func (*NeutronInterchainqueriesQueryRegisteredQueryResponseRegisteredQueryKeysItems0) Validate added in v0.2.0

Validate validates this neutron interchainqueries query registered query response registered query keys items0

type NeutronInterchainqueriesQueryRegisteredQueryResponseRegisteredQueryLastSubmittedResultRemoteHeight added in v0.2.0

type NeutronInterchainqueriesQueryRegisteredQueryResponseRegisteredQueryLastSubmittedResultRemoteHeight struct {

	// revision height
	RevisionHeight string `json:"revision_height,omitempty"`

	// revision number
	RevisionNumber string `json:"revision_number,omitempty"`
}

NeutronInterchainqueriesQueryRegisteredQueryResponseRegisteredQueryLastSubmittedResultRemoteHeight The remote chain last block height & revision number when the query result was updated.

swagger:model NeutronInterchainqueriesQueryRegisteredQueryResponseRegisteredQueryLastSubmittedResultRemoteHeight

func (*NeutronInterchainqueriesQueryRegisteredQueryResponseRegisteredQueryLastSubmittedResultRemoteHeight) ContextValidate added in v0.2.0

ContextValidate validates this neutron interchainqueries query registered query response registered query last submitted result remote height based on context it is used

func (*NeutronInterchainqueriesQueryRegisteredQueryResponseRegisteredQueryLastSubmittedResultRemoteHeight) MarshalBinary added in v0.2.0

MarshalBinary interface implementation

func (*NeutronInterchainqueriesQueryRegisteredQueryResponseRegisteredQueryLastSubmittedResultRemoteHeight) UnmarshalBinary added in v0.2.0

UnmarshalBinary interface implementation

func (*NeutronInterchainqueriesQueryRegisteredQueryResponseRegisteredQueryLastSubmittedResultRemoteHeight) Validate added in v0.2.0

Validate validates this neutron interchainqueries query registered query response registered query last submitted result remote height

type NeutronInterchainqueriesRegisteredQuery added in v0.2.0

type NeutronInterchainqueriesRegisteredQuery struct {

	// The IBC connection ID for getting ConsensusState to verify proofs
	ConnectionID string `json:"connection_id,omitempty"`

	// The unique id of the registered query.
	ID string `json:"id,omitempty"`

	// The KV-storage keys for which we want to get values from remote chain
	Keys []*NeutronInterchainqueriesRegisteredQueryKeysItems0 `json:"keys"`

	// The local chain last block height when the query result was updated.
	LastSubmittedResultLocalHeight string `json:"last_submitted_result_local_height,omitempty"`

	// last submitted result remote height
	LastSubmittedResultRemoteHeight *NeutronInterchainqueriesRegisteredQueryLastSubmittedResultRemoteHeight `json:"last_submitted_result_remote_height,omitempty"`

	// The address that registered the query.
	Owner string `json:"owner,omitempty"`

	// The query type identifier: `kv` or `tx` now
	QueryType string `json:"query_type,omitempty"`

	// The filter for transaction search ICQ
	TransactionsFilter string `json:"transactions_filter,omitempty"`

	// Parameter that defines how often the query must be updated.
	UpdatePeriod string `json:"update_period,omitempty"`
}

NeutronInterchainqueriesRegisteredQuery neutron interchainqueries registered query

swagger:model neutron.interchainqueries.RegisteredQuery

func (*NeutronInterchainqueriesRegisteredQuery) ContextValidate added in v0.2.0

ContextValidate validate this neutron interchainqueries registered query based on the context it is used

func (*NeutronInterchainqueriesRegisteredQuery) MarshalBinary added in v0.2.0

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

MarshalBinary interface implementation

func (*NeutronInterchainqueriesRegisteredQuery) UnmarshalBinary added in v0.2.0

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

UnmarshalBinary interface implementation

func (*NeutronInterchainqueriesRegisteredQuery) Validate added in v0.2.0

Validate validates this neutron interchainqueries registered query

type NeutronInterchainqueriesRegisteredQueryKeysItems0 added in v0.2.0

type NeutronInterchainqueriesRegisteredQueryKeysItems0 struct {

	// Key you want to read from the storage
	// Format: byte
	Key strfmt.Base64 `json:"key,omitempty"`

	// Path (storage prefix) to the storage where you want to read value by key (usually name of cosmos-sdk module: 'staking', 'bank', etc.)
	Path string `json:"path,omitempty"`
}

NeutronInterchainqueriesRegisteredQueryKeysItems0 neutron interchainqueries registered query keys items0

swagger:model NeutronInterchainqueriesRegisteredQueryKeysItems0

func (*NeutronInterchainqueriesRegisteredQueryKeysItems0) ContextValidate added in v0.2.0

ContextValidate validates this neutron interchainqueries registered query keys items0 based on context it is used

func (*NeutronInterchainqueriesRegisteredQueryKeysItems0) MarshalBinary added in v0.2.0

MarshalBinary interface implementation

func (*NeutronInterchainqueriesRegisteredQueryKeysItems0) UnmarshalBinary added in v0.2.0

UnmarshalBinary interface implementation

func (*NeutronInterchainqueriesRegisteredQueryKeysItems0) Validate added in v0.2.0

Validate validates this neutron interchainqueries registered query keys items0

type NeutronInterchainqueriesRegisteredQueryLastSubmittedResultRemoteHeight added in v0.2.0

type NeutronInterchainqueriesRegisteredQueryLastSubmittedResultRemoteHeight struct {

	// revision height
	RevisionHeight string `json:"revision_height,omitempty"`

	// revision number
	RevisionNumber string `json:"revision_number,omitempty"`
}

NeutronInterchainqueriesRegisteredQueryLastSubmittedResultRemoteHeight The remote chain last block height & revision number when the query result was updated.

swagger:model NeutronInterchainqueriesRegisteredQueryLastSubmittedResultRemoteHeight

func (*NeutronInterchainqueriesRegisteredQueryLastSubmittedResultRemoteHeight) ContextValidate added in v0.2.0

ContextValidate validates this neutron interchainqueries registered query last submitted result remote height based on context it is used

func (*NeutronInterchainqueriesRegisteredQueryLastSubmittedResultRemoteHeight) MarshalBinary added in v0.2.0

MarshalBinary interface implementation

func (*NeutronInterchainqueriesRegisteredQueryLastSubmittedResultRemoteHeight) UnmarshalBinary added in v0.2.0

UnmarshalBinary interface implementation

func (*NeutronInterchainqueriesRegisteredQueryLastSubmittedResultRemoteHeight) Validate added in v0.2.0

Validate validates this neutron interchainqueries registered query last submitted result remote height

Jump to

Keyboard shortcuts

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