address_mapper

package
v0.0.0-...-0b06f50 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2020 License: BSD-3-Clause Imports: 4 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddressMapperAddIdentityMappingRequest

type AddressMapperAddIdentityMappingRequest struct {
	// Address on a blockchain
	From *types.Address `protobuf:"bytes,1,opt,name=from" json:"from,omitempty"`
	// Corresponding address on another blockchain
	To *types.Address `protobuf:"bytes,2,opt,name=to" json:"to,omitempty"`
	// Signature of a hash of the two addresses signed with the key that corresponds to the foreign address
	Signature            []byte   `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AddressMapperAddIdentityMappingRequest) Descriptor

func (*AddressMapperAddIdentityMappingRequest) Descriptor() ([]byte, []int)

func (*AddressMapperAddIdentityMappingRequest) GetFrom

func (*AddressMapperAddIdentityMappingRequest) GetSignature

func (m *AddressMapperAddIdentityMappingRequest) GetSignature() []byte

func (*AddressMapperAddIdentityMappingRequest) GetTo

func (*AddressMapperAddIdentityMappingRequest) ProtoMessage

func (*AddressMapperAddIdentityMappingRequest) Reset

func (*AddressMapperAddIdentityMappingRequest) String

func (*AddressMapperAddIdentityMappingRequest) XXX_DiscardUnknown

func (m *AddressMapperAddIdentityMappingRequest) XXX_DiscardUnknown()

func (*AddressMapperAddIdentityMappingRequest) XXX_Marshal

func (m *AddressMapperAddIdentityMappingRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AddressMapperAddIdentityMappingRequest) XXX_Merge

func (*AddressMapperAddIdentityMappingRequest) XXX_Size

func (*AddressMapperAddIdentityMappingRequest) XXX_Unmarshal

func (m *AddressMapperAddIdentityMappingRequest) XXX_Unmarshal(b []byte) error

type AddressMapperGetMappingRequest

type AddressMapperGetMappingRequest struct {
	From                 *types.Address `protobuf:"bytes,1,opt,name=from" json:"from,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*AddressMapperGetMappingRequest) Descriptor

func (*AddressMapperGetMappingRequest) Descriptor() ([]byte, []int)

func (*AddressMapperGetMappingRequest) GetFrom

func (*AddressMapperGetMappingRequest) ProtoMessage

func (*AddressMapperGetMappingRequest) ProtoMessage()

func (*AddressMapperGetMappingRequest) Reset

func (m *AddressMapperGetMappingRequest) Reset()

func (*AddressMapperGetMappingRequest) String

func (*AddressMapperGetMappingRequest) XXX_DiscardUnknown

func (m *AddressMapperGetMappingRequest) XXX_DiscardUnknown()

func (*AddressMapperGetMappingRequest) XXX_Marshal

func (m *AddressMapperGetMappingRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AddressMapperGetMappingRequest) XXX_Merge

func (dst *AddressMapperGetMappingRequest) XXX_Merge(src proto.Message)

func (*AddressMapperGetMappingRequest) XXX_Size

func (m *AddressMapperGetMappingRequest) XXX_Size() int

func (*AddressMapperGetMappingRequest) XXX_Unmarshal

func (m *AddressMapperGetMappingRequest) XXX_Unmarshal(b []byte) error

type AddressMapperGetMappingResponse

type AddressMapperGetMappingResponse struct {
	From                 *types.Address `protobuf:"bytes,1,opt,name=from" json:"from,omitempty"`
	To                   *types.Address `protobuf:"bytes,2,opt,name=to" json:"to,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*AddressMapperGetMappingResponse) Descriptor

func (*AddressMapperGetMappingResponse) Descriptor() ([]byte, []int)

func (*AddressMapperGetMappingResponse) GetFrom

func (*AddressMapperGetMappingResponse) GetTo

func (*AddressMapperGetMappingResponse) ProtoMessage

func (*AddressMapperGetMappingResponse) ProtoMessage()

func (*AddressMapperGetMappingResponse) Reset

func (*AddressMapperGetMappingResponse) String

func (*AddressMapperGetMappingResponse) XXX_DiscardUnknown

func (m *AddressMapperGetMappingResponse) XXX_DiscardUnknown()

func (*AddressMapperGetMappingResponse) XXX_Marshal

func (m *AddressMapperGetMappingResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AddressMapperGetMappingResponse) XXX_Merge

func (dst *AddressMapperGetMappingResponse) XXX_Merge(src proto.Message)

func (*AddressMapperGetMappingResponse) XXX_Size

func (m *AddressMapperGetMappingResponse) XXX_Size() int

func (*AddressMapperGetMappingResponse) XXX_Unmarshal

func (m *AddressMapperGetMappingResponse) XXX_Unmarshal(b []byte) error

type AddressMapperHasMappingRequest

type AddressMapperHasMappingRequest struct {
	From                 *types.Address `protobuf:"bytes,1,opt,name=from" json:"from,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*AddressMapperHasMappingRequest) Descriptor

func (*AddressMapperHasMappingRequest) Descriptor() ([]byte, []int)

func (*AddressMapperHasMappingRequest) GetFrom

func (*AddressMapperHasMappingRequest) ProtoMessage

func (*AddressMapperHasMappingRequest) ProtoMessage()

func (*AddressMapperHasMappingRequest) Reset

func (m *AddressMapperHasMappingRequest) Reset()

func (*AddressMapperHasMappingRequest) String

func (*AddressMapperHasMappingRequest) XXX_DiscardUnknown

func (m *AddressMapperHasMappingRequest) XXX_DiscardUnknown()

func (*AddressMapperHasMappingRequest) XXX_Marshal

func (m *AddressMapperHasMappingRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AddressMapperHasMappingRequest) XXX_Merge

func (dst *AddressMapperHasMappingRequest) XXX_Merge(src proto.Message)

func (*AddressMapperHasMappingRequest) XXX_Size

func (m *AddressMapperHasMappingRequest) XXX_Size() int

func (*AddressMapperHasMappingRequest) XXX_Unmarshal

func (m *AddressMapperHasMappingRequest) XXX_Unmarshal(b []byte) error

type AddressMapperHasMappingResponse

type AddressMapperHasMappingResponse struct {
	HasMapping           bool     `protobuf:"varint,1,opt,name=has_mapping,json=hasMapping,proto3" json:"has_mapping,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AddressMapperHasMappingResponse) Descriptor

func (*AddressMapperHasMappingResponse) Descriptor() ([]byte, []int)

func (*AddressMapperHasMappingResponse) GetHasMapping

func (m *AddressMapperHasMappingResponse) GetHasMapping() bool

func (*AddressMapperHasMappingResponse) ProtoMessage

func (*AddressMapperHasMappingResponse) ProtoMessage()

func (*AddressMapperHasMappingResponse) Reset

func (*AddressMapperHasMappingResponse) String

func (*AddressMapperHasMappingResponse) XXX_DiscardUnknown

func (m *AddressMapperHasMappingResponse) XXX_DiscardUnknown()

func (*AddressMapperHasMappingResponse) XXX_Marshal

func (m *AddressMapperHasMappingResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AddressMapperHasMappingResponse) XXX_Merge

func (dst *AddressMapperHasMappingResponse) XXX_Merge(src proto.Message)

func (*AddressMapperHasMappingResponse) XXX_Size

func (m *AddressMapperHasMappingResponse) XXX_Size() int

func (*AddressMapperHasMappingResponse) XXX_Unmarshal

func (m *AddressMapperHasMappingResponse) XXX_Unmarshal(b []byte) error

type AddressMapperInitRequest

type AddressMapperInitRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AddressMapperInitRequest) Descriptor

func (*AddressMapperInitRequest) Descriptor() ([]byte, []int)

func (*AddressMapperInitRequest) ProtoMessage

func (*AddressMapperInitRequest) ProtoMessage()

func (*AddressMapperInitRequest) Reset

func (m *AddressMapperInitRequest) Reset()

func (*AddressMapperInitRequest) String

func (m *AddressMapperInitRequest) String() string

func (*AddressMapperInitRequest) XXX_DiscardUnknown

func (m *AddressMapperInitRequest) XXX_DiscardUnknown()

func (*AddressMapperInitRequest) XXX_Marshal

func (m *AddressMapperInitRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AddressMapperInitRequest) XXX_Merge

func (dst *AddressMapperInitRequest) XXX_Merge(src proto.Message)

func (*AddressMapperInitRequest) XXX_Size

func (m *AddressMapperInitRequest) XXX_Size() int

func (*AddressMapperInitRequest) XXX_Unmarshal

func (m *AddressMapperInitRequest) XXX_Unmarshal(b []byte) error

type AddressMapperListMappingRequest

type AddressMapperListMappingRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AddressMapperListMappingRequest) Descriptor

func (*AddressMapperListMappingRequest) Descriptor() ([]byte, []int)

func (*AddressMapperListMappingRequest) ProtoMessage

func (*AddressMapperListMappingRequest) ProtoMessage()

func (*AddressMapperListMappingRequest) Reset

func (*AddressMapperListMappingRequest) String

func (*AddressMapperListMappingRequest) XXX_DiscardUnknown

func (m *AddressMapperListMappingRequest) XXX_DiscardUnknown()

func (*AddressMapperListMappingRequest) XXX_Marshal

func (m *AddressMapperListMappingRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AddressMapperListMappingRequest) XXX_Merge

func (dst *AddressMapperListMappingRequest) XXX_Merge(src proto.Message)

func (*AddressMapperListMappingRequest) XXX_Size

func (m *AddressMapperListMappingRequest) XXX_Size() int

func (*AddressMapperListMappingRequest) XXX_Unmarshal

func (m *AddressMapperListMappingRequest) XXX_Unmarshal(b []byte) error

type AddressMapperListMappingResponse

type AddressMapperListMappingResponse struct {
	Mappings             []*AddressMapperMapping `protobuf:"bytes,1,rep,name=mappings" json:"mappings,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                `json:"-"`
	XXX_unrecognized     []byte                  `json:"-"`
	XXX_sizecache        int32                   `json:"-"`
}

func (*AddressMapperListMappingResponse) Descriptor

func (*AddressMapperListMappingResponse) Descriptor() ([]byte, []int)

func (*AddressMapperListMappingResponse) GetMappings

func (*AddressMapperListMappingResponse) ProtoMessage

func (*AddressMapperListMappingResponse) ProtoMessage()

func (*AddressMapperListMappingResponse) Reset

func (*AddressMapperListMappingResponse) String

func (*AddressMapperListMappingResponse) XXX_DiscardUnknown

func (m *AddressMapperListMappingResponse) XXX_DiscardUnknown()

func (*AddressMapperListMappingResponse) XXX_Marshal

func (m *AddressMapperListMappingResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AddressMapperListMappingResponse) XXX_Merge

func (dst *AddressMapperListMappingResponse) XXX_Merge(src proto.Message)

func (*AddressMapperListMappingResponse) XXX_Size

func (m *AddressMapperListMappingResponse) XXX_Size() int

func (*AddressMapperListMappingResponse) XXX_Unmarshal

func (m *AddressMapperListMappingResponse) XXX_Unmarshal(b []byte) error

type AddressMapperMapping

type AddressMapperMapping struct {
	// Address on a blockchain
	From *types.Address `protobuf:"bytes,1,opt,name=from" json:"from,omitempty"`
	// Corresponding address on another blockchain
	To                   *types.Address `protobuf:"bytes,2,opt,name=to" json:"to,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

Bidirectional mapping between addresses (contracts or accounts) on two different blockchains. One of the address fields must contain a local address (same chain ID as the contract), while the other must contain a foreign address.

func (*AddressMapperMapping) Descriptor

func (*AddressMapperMapping) Descriptor() ([]byte, []int)

func (*AddressMapperMapping) GetFrom

func (m *AddressMapperMapping) GetFrom() *types.Address

func (*AddressMapperMapping) GetTo

func (m *AddressMapperMapping) GetTo() *types.Address

func (*AddressMapperMapping) ProtoMessage

func (*AddressMapperMapping) ProtoMessage()

func (*AddressMapperMapping) Reset

func (m *AddressMapperMapping) Reset()

func (*AddressMapperMapping) String

func (m *AddressMapperMapping) String() string

func (*AddressMapperMapping) XXX_DiscardUnknown

func (m *AddressMapperMapping) XXX_DiscardUnknown()

func (*AddressMapperMapping) XXX_Marshal

func (m *AddressMapperMapping) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AddressMapperMapping) XXX_Merge

func (dst *AddressMapperMapping) XXX_Merge(src proto.Message)

func (*AddressMapperMapping) XXX_Size

func (m *AddressMapperMapping) XXX_Size() int

func (*AddressMapperMapping) XXX_Unmarshal

func (m *AddressMapperMapping) XXX_Unmarshal(b []byte) error

type AddressMapperRemoveMappingRequest

type AddressMapperRemoveMappingRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AddressMapperRemoveMappingRequest) Descriptor

func (*AddressMapperRemoveMappingRequest) Descriptor() ([]byte, []int)

func (*AddressMapperRemoveMappingRequest) ProtoMessage

func (*AddressMapperRemoveMappingRequest) ProtoMessage()

func (*AddressMapperRemoveMappingRequest) Reset

func (*AddressMapperRemoveMappingRequest) String

func (*AddressMapperRemoveMappingRequest) XXX_DiscardUnknown

func (m *AddressMapperRemoveMappingRequest) XXX_DiscardUnknown()

func (*AddressMapperRemoveMappingRequest) XXX_Marshal

func (m *AddressMapperRemoveMappingRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AddressMapperRemoveMappingRequest) XXX_Merge

func (dst *AddressMapperRemoveMappingRequest) XXX_Merge(src proto.Message)

func (*AddressMapperRemoveMappingRequest) XXX_Size

func (m *AddressMapperRemoveMappingRequest) XXX_Size() int

func (*AddressMapperRemoveMappingRequest) XXX_Unmarshal

func (m *AddressMapperRemoveMappingRequest) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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