types

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2022 License: Apache-2.0 Imports: 33 Imported by: 0

Documentation

Overview

Package types is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	ModuleName = "icacontrol"

	StoreKey = "storeIcaControl"

	RouterKey = ModuleName

	QuerierRoute = ModuleName

	PortID = ModuleName

	Version = "ics27-1"
)
View Source
const (
	PrefixSnAsset = "sn"
)

Variables

View Source
var (
	ErrIBCAccountAlreadyExist = sdkerrors.Register(ModuleName, 2, "interchain account already registered")
	ErrIBCAccountNotExist     = sdkerrors.Register(ModuleName, 3, "interchain account not exist")
	ErrMsgNotFound            = sdkerrors.Register(ModuleName, 4, "message not found ")
	ErrMsgNotNil              = sdkerrors.Register(ModuleName, 5, "message is not nil")
	ErrNotFoundZoneInfo       = sdkerrors.Register(ModuleName, 6, "registered zone not found with given name")
	ErrZoneIdNotNil           = sdkerrors.Register(ModuleName, 7, "zone Id is not nil")
	ErrNotFoundHostAddr       = sdkerrors.Register(ModuleName, 8, "host address is not found")
)
View Source
var (
	ErrInvalidLengthEvent        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowEvent          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupEvent = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthGenesis        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenesis          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthIcacontrol        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowIcacontrol          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupIcacontrol = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	KeyPrefixZone           = []byte{0x01}
	KeyPrefixConnectionInfo = []byte{0x02}

	KeyAutoStakingVersion = []byte{0x03}
)
View Source
var (
	ErrInvalidLengthParams        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowParams          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupParams = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthQuery        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowQuery          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthStore        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowStore          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupStore = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTx        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTx          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	KeyDaoModifierAddress = []byte("DaoModifierAddress")
)
View Source
var (
	ModuleCdc = codec.NewAminoCodec(amino)
)

Functions

func ParamKeyTable

func ParamKeyTable() paramtypes.KeyTable

func RegisterCodec

func RegisterCodec(cdc *codec.LegacyAmino)

func RegisterInterfaces

func RegisterInterfaces(registry cdctypes.InterfaceRegistry)

func RegisterMsgServer

func RegisterMsgServer(s grpc1.Server, srv MsgServer)

func RegisterQueryHandler

func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterQueryHandler registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterQueryHandlerClient

func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error

RegisterQueryHandlerClient registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "QueryClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "QueryClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "QueryClient" to call the correct interceptors.

func RegisterQueryHandlerFromEndpoint

func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterQueryHandlerServer

func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error

RegisterQueryHandlerServer registers the http handlers for service Query to "mux". UnaryRPC :call QueryServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterQueryHandlerFromEndpoint instead.

func RegisterQueryServer

func RegisterQueryServer(s grpc1.Server, srv QueryServer)

func ValidateGenesis

func ValidateGenesis(gs GenesisState) error

ValidateGenesis validates the provided genesis state to ensure the expected invariants holds.

Types

type AccountKeeper

type AccountKeeper interface {
	NewAccount(sdk.Context, types.AccountI) types.AccountI
	NewAccountWithAddress(ctx sdk.Context, addr sdk.AccAddress) types.AccountI

	GetAccount(ctx sdk.Context, addr sdk.AccAddress) types.AccountI
	GetAllAccounts(ctx sdk.Context) []types.AccountI
	HasAccount(ctx sdk.Context, addr sdk.AccAddress) bool
	SetAccount(ctx sdk.Context, acc types.AccountI)

	IterateAccounts(ctx sdk.Context, process func(types.AccountI) bool)

	ValidatePermissions(macc types.ModuleAccountI) error

	GetModuleAddress(moduleName string) sdk.AccAddress
	GetModuleAddressAndPermissions(moduleName string) (addr sdk.AccAddress, permissions []string)
	GetModuleAccountAndPermissions(ctx sdk.Context, moduleName string) (types.ModuleAccountI, []string)
	GetModuleAccount(ctx sdk.Context, moduleName string) types.ModuleAccountI
	SetModuleAccount(ctx sdk.Context, macc types.ModuleAccountI)
}

AccountKeeper defines the account contract that must be fulfilled when creating a x/bank keeper.

type EventAutostakingFail

type EventAutostakingFail struct {
	MsgTypeUrl       string     `protobuf:"bytes,1,opt,name=msg_type_url,json=msgTypeUrl,proto3" json:"msg_type_url,omitempty"`
	DelegatorAddress string     `protobuf:"bytes,2,opt,name=delegator_address,json=delegatorAddress,proto3" json:"delegator_address,omitempty"`
	ValidatorAddress string     `protobuf:"bytes,3,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"`
	Amount           types.Coin `protobuf:"bytes,4,opt,name=amount,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"amount"`
}

EventAutostakingFail is an event that occurs when auto-compounding fails.

func (*EventAutostakingFail) Descriptor

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

func (*EventAutostakingFail) GetAmount

func (m *EventAutostakingFail) GetAmount() types.Coin

func (*EventAutostakingFail) GetDelegatorAddress

func (m *EventAutostakingFail) GetDelegatorAddress() string

func (*EventAutostakingFail) GetMsgTypeUrl

func (m *EventAutostakingFail) GetMsgTypeUrl() string

func (*EventAutostakingFail) GetValidatorAddress

func (m *EventAutostakingFail) GetValidatorAddress() string

func (*EventAutostakingFail) Marshal

func (m *EventAutostakingFail) Marshal() (dAtA []byte, err error)

func (*EventAutostakingFail) MarshalTo

func (m *EventAutostakingFail) MarshalTo(dAtA []byte) (int, error)

func (*EventAutostakingFail) MarshalToSizedBuffer

func (m *EventAutostakingFail) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventAutostakingFail) ProtoMessage

func (*EventAutostakingFail) ProtoMessage()

func (*EventAutostakingFail) Reset

func (m *EventAutostakingFail) Reset()

func (*EventAutostakingFail) Size

func (m *EventAutostakingFail) Size() (n int)

func (*EventAutostakingFail) String

func (m *EventAutostakingFail) String() string

func (*EventAutostakingFail) Unmarshal

func (m *EventAutostakingFail) Unmarshal(dAtA []byte) error

func (*EventAutostakingFail) XXX_DiscardUnknown

func (m *EventAutostakingFail) XXX_DiscardUnknown()

func (*EventAutostakingFail) XXX_Marshal

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

func (*EventAutostakingFail) XXX_Merge

func (m *EventAutostakingFail) XXX_Merge(src proto.Message)

func (*EventAutostakingFail) XXX_Size

func (m *EventAutostakingFail) XXX_Size() int

func (*EventAutostakingFail) XXX_Unmarshal

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

type EventDelegateFail

type EventDelegateFail struct {
	MsgTypeUrl       string     `protobuf:"bytes,1,opt,name=msg_type_url,json=msgTypeUrl,proto3" json:"msg_type_url,omitempty"`
	DelegatorAddress string     `protobuf:"bytes,2,opt,name=delegator_address,json=delegatorAddress,proto3" json:"delegator_address,omitempty"`
	ValidatorAddress string     `protobuf:"bytes,3,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"`
	Amount           types.Coin `protobuf:"bytes,4,opt,name=amount,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"amount"`
}

EventDelegateFail is an event that occurs when a remote delegation fails.

func (*EventDelegateFail) Descriptor

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

func (*EventDelegateFail) GetAmount

func (m *EventDelegateFail) GetAmount() types.Coin

func (*EventDelegateFail) GetDelegatorAddress

func (m *EventDelegateFail) GetDelegatorAddress() string

func (*EventDelegateFail) GetMsgTypeUrl

func (m *EventDelegateFail) GetMsgTypeUrl() string

func (*EventDelegateFail) GetValidatorAddress

func (m *EventDelegateFail) GetValidatorAddress() string

func (*EventDelegateFail) Marshal

func (m *EventDelegateFail) Marshal() (dAtA []byte, err error)

func (*EventDelegateFail) MarshalTo

func (m *EventDelegateFail) MarshalTo(dAtA []byte) (int, error)

func (*EventDelegateFail) MarshalToSizedBuffer

func (m *EventDelegateFail) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventDelegateFail) ProtoMessage

func (*EventDelegateFail) ProtoMessage()

func (*EventDelegateFail) Reset

func (m *EventDelegateFail) Reset()

func (*EventDelegateFail) Size

func (m *EventDelegateFail) Size() (n int)

func (*EventDelegateFail) String

func (m *EventDelegateFail) String() string

func (*EventDelegateFail) Unmarshal

func (m *EventDelegateFail) Unmarshal(dAtA []byte) error

func (*EventDelegateFail) XXX_DiscardUnknown

func (m *EventDelegateFail) XXX_DiscardUnknown()

func (*EventDelegateFail) XXX_Marshal

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

func (*EventDelegateFail) XXX_Merge

func (m *EventDelegateFail) XXX_Merge(src proto.Message)

func (*EventDelegateFail) XXX_Size

func (m *EventDelegateFail) XXX_Size() int

func (*EventDelegateFail) XXX_Unmarshal

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

type EventTransferFail

type EventTransferFail struct {
	MsgTypeUrl       string     `protobuf:"bytes,1,opt,name=msg_type_url,json=msgTypeUrl,proto3" json:"msg_type_url,omitempty"`
	SourcePort       string     `protobuf:"bytes,2,opt,name=source_port,json=sourcePort,proto3" json:"source_port,omitempty"`
	SourceChannel    string     `protobuf:"bytes,3,opt,name=source_channel,json=sourceChannel,proto3" json:"source_channel,omitempty"`
	Token            types.Coin `protobuf:"bytes,4,opt,name=token,proto3" json:"token"`
	Sender           string     `protobuf:"bytes,5,opt,name=sender,proto3" json:"sender,omitempty"`
	Receiver         string     `protobuf:"bytes,6,opt,name=receiver,proto3" json:"receiver,omitempty"`
	TimeoutHeight    string     `protobuf:"bytes,7,opt,name=timeout_height,json=timeoutHeight,proto3" json:"timeout_height,omitempty"`
	TimeoutTimestamp uint64     `protobuf:"varint,8,opt,name=timeout_timestamp,json=timeoutTimestamp,proto3" json:"timeout_timestamp,omitempty"`
}

EventTransferFail is an event that occurs when an asset transfer between chains fails.

func (*EventTransferFail) Descriptor

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

func (*EventTransferFail) Marshal

func (m *EventTransferFail) Marshal() (dAtA []byte, err error)

func (*EventTransferFail) MarshalTo

func (m *EventTransferFail) MarshalTo(dAtA []byte) (int, error)

func (*EventTransferFail) MarshalToSizedBuffer

func (m *EventTransferFail) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventTransferFail) ProtoMessage

func (*EventTransferFail) ProtoMessage()

func (*EventTransferFail) Reset

func (m *EventTransferFail) Reset()

func (*EventTransferFail) Size

func (m *EventTransferFail) Size() (n int)

func (*EventTransferFail) String

func (m *EventTransferFail) String() string

func (*EventTransferFail) Unmarshal

func (m *EventTransferFail) Unmarshal(dAtA []byte) error

func (*EventTransferFail) XXX_DiscardUnknown

func (m *EventTransferFail) XXX_DiscardUnknown()

func (*EventTransferFail) XXX_Marshal

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

func (*EventTransferFail) XXX_Merge

func (m *EventTransferFail) XXX_Merge(src proto.Message)

func (*EventTransferFail) XXX_Size

func (m *EventTransferFail) XXX_Size() int

func (*EventTransferFail) XXX_Unmarshal

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

type EventUndelegateFail

type EventUndelegateFail struct {
	MsgTypeUrl       string     `protobuf:"bytes,1,opt,name=msg_type_url,json=msgTypeUrl,proto3" json:"msg_type_url,omitempty"`
	DelegatorAddress string     `protobuf:"bytes,2,opt,name=delegator_address,json=delegatorAddress,proto3" json:"delegator_address,omitempty"`
	ValidatorAddress string     `protobuf:"bytes,3,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"`
	Amount           types.Coin `protobuf:"bytes,4,opt,name=amount,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"amount"`
}

EventUndelegateFail is an event that occurs when a remote delegation fails.

func (*EventUndelegateFail) Descriptor

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

func (*EventUndelegateFail) GetAmount

func (m *EventUndelegateFail) GetAmount() types.Coin

func (*EventUndelegateFail) GetDelegatorAddress

func (m *EventUndelegateFail) GetDelegatorAddress() string

func (*EventUndelegateFail) GetMsgTypeUrl

func (m *EventUndelegateFail) GetMsgTypeUrl() string

func (*EventUndelegateFail) GetValidatorAddress

func (m *EventUndelegateFail) GetValidatorAddress() string

func (*EventUndelegateFail) Marshal

func (m *EventUndelegateFail) Marshal() (dAtA []byte, err error)

func (*EventUndelegateFail) MarshalTo

func (m *EventUndelegateFail) MarshalTo(dAtA []byte) (int, error)

func (*EventUndelegateFail) MarshalToSizedBuffer

func (m *EventUndelegateFail) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventUndelegateFail) ProtoMessage

func (*EventUndelegateFail) ProtoMessage()

func (*EventUndelegateFail) Reset

func (m *EventUndelegateFail) Reset()

func (*EventUndelegateFail) Size

func (m *EventUndelegateFail) Size() (n int)

func (*EventUndelegateFail) String

func (m *EventUndelegateFail) String() string

func (*EventUndelegateFail) Unmarshal

func (m *EventUndelegateFail) Unmarshal(dAtA []byte) error

func (*EventUndelegateFail) XXX_DiscardUnknown

func (m *EventUndelegateFail) XXX_DiscardUnknown()

func (*EventUndelegateFail) XXX_Marshal

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

func (*EventUndelegateFail) XXX_Merge

func (m *EventUndelegateFail) XXX_Merge(src proto.Message)

func (*EventUndelegateFail) XXX_Size

func (m *EventUndelegateFail) XXX_Size() int

func (*EventUndelegateFail) XXX_Unmarshal

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

type GenesisState

type GenesisState struct {
	// params defines all the parameters of module.
	Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
}

func DefaultGenesisState

func DefaultGenesisState() *GenesisState

DefaultGenesisState creates a default GenesisState object

func NewGenesisState

func NewGenesisState(params Params) *GenesisState

NewGenesisState creates a new GenesisState object

func (*GenesisState) Descriptor

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

func (*GenesisState) GetParams

func (m *GenesisState) GetParams() Params

func (*GenesisState) Marshal

func (m *GenesisState) Marshal() (dAtA []byte, err error)

func (*GenesisState) MarshalTo

func (m *GenesisState) MarshalTo(dAtA []byte) (int, error)

func (*GenesisState) MarshalToSizedBuffer

func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GenesisState) ProtoMessage

func (*GenesisState) ProtoMessage()

func (*GenesisState) Reset

func (m *GenesisState) Reset()

func (*GenesisState) Size

func (m *GenesisState) Size() (n int)

func (*GenesisState) String

func (m *GenesisState) String() string

func (*GenesisState) Unmarshal

func (m *GenesisState) Unmarshal(dAtA []byte) error

func (*GenesisState) XXX_DiscardUnknown

func (m *GenesisState) XXX_DiscardUnknown()

func (*GenesisState) XXX_Marshal

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

func (*GenesisState) XXX_Merge

func (m *GenesisState) XXX_Merge(src proto.Message)

func (*GenesisState) XXX_Size

func (m *GenesisState) XXX_Size() int

func (*GenesisState) XXX_Unmarshal

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

type IBCTrace

type IBCTrace struct {
	Version uint64 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
	Height  uint64 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"`
	State   uint64 `protobuf:"varint,3,opt,name=state,proto3" json:"state,omitempty"`
}

func (*IBCTrace) Descriptor

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

func (*IBCTrace) GetHeight

func (m *IBCTrace) GetHeight() uint64

func (*IBCTrace) GetState added in v0.6.1

func (m *IBCTrace) GetState() uint64

func (*IBCTrace) GetVersion

func (m *IBCTrace) GetVersion() uint64

func (*IBCTrace) Marshal

func (m *IBCTrace) Marshal() (dAtA []byte, err error)

func (*IBCTrace) MarshalTo

func (m *IBCTrace) MarshalTo(dAtA []byte) (int, error)

func (*IBCTrace) MarshalToSizedBuffer

func (m *IBCTrace) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*IBCTrace) ProtoMessage

func (*IBCTrace) ProtoMessage()

func (*IBCTrace) Reset

func (m *IBCTrace) Reset()

func (*IBCTrace) Size

func (m *IBCTrace) Size() (n int)

func (*IBCTrace) String

func (m *IBCTrace) String() string

func (*IBCTrace) Unmarshal

func (m *IBCTrace) Unmarshal(dAtA []byte) error

func (*IBCTrace) XXX_DiscardUnknown

func (m *IBCTrace) XXX_DiscardUnknown()

func (*IBCTrace) XXX_Marshal

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

func (*IBCTrace) XXX_Merge

func (m *IBCTrace) XXX_Merge(src proto.Message)

func (*IBCTrace) XXX_Size

func (m *IBCTrace) XXX_Size() int

func (*IBCTrace) XXX_Unmarshal

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

type ICAHooks

type ICAHooks interface {
	AfterDelegateEnd(sdk.Context, stakingtypes.MsgDelegate)
	AfterUndelegateEnd(sdk.Context, stakingtypes.MsgUndelegate, *stakingtypes.MsgUndelegateResponse)
	AfterAutoStakingEnd()
}

type IcaAccount

type IcaAccount struct {
	ControllerAddress string `protobuf:"bytes,1,opt,name=controller_address,json=controllerAddress,proto3" json:"controller_address,omitempty"`
	HostAddress       string `protobuf:"bytes,2,opt,name=host_address,json=hostAddress,proto3" json:"host_address,omitempty"`
}

func (*IcaAccount) Descriptor

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

func (*IcaAccount) GetControllerAddress

func (m *IcaAccount) GetControllerAddress() string

func (*IcaAccount) GetHostAddress

func (m *IcaAccount) GetHostAddress() string

func (*IcaAccount) Marshal

func (m *IcaAccount) Marshal() (dAtA []byte, err error)

func (*IcaAccount) MarshalTo

func (m *IcaAccount) MarshalTo(dAtA []byte) (int, error)

func (*IcaAccount) MarshalToSizedBuffer

func (m *IcaAccount) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*IcaAccount) ProtoMessage

func (*IcaAccount) ProtoMessage()

func (*IcaAccount) Reset

func (m *IcaAccount) Reset()

func (*IcaAccount) Size

func (m *IcaAccount) Size() (n int)

func (*IcaAccount) String

func (m *IcaAccount) String() string

func (*IcaAccount) Unmarshal

func (m *IcaAccount) Unmarshal(dAtA []byte) error

func (*IcaAccount) XXX_DiscardUnknown

func (m *IcaAccount) XXX_DiscardUnknown()

func (*IcaAccount) XXX_Marshal

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

func (*IcaAccount) XXX_Merge

func (m *IcaAccount) XXX_Merge(src proto.Message)

func (*IcaAccount) XXX_Size

func (m *IcaAccount) XXX_Size() int

func (*IcaAccount) XXX_Unmarshal

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

type IcaConnectionInfo

type IcaConnectionInfo struct {
	ConnectionId string `protobuf:"bytes,1,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
	PortId       string `protobuf:"bytes,2,opt,name=port_id,json=portId,proto3" json:"port_id,omitempty"`
}

zone name, connection id, portID(owner address)

func (*IcaConnectionInfo) Descriptor

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

func (*IcaConnectionInfo) GetConnectionId

func (m *IcaConnectionInfo) GetConnectionId() string

func (*IcaConnectionInfo) GetPortId

func (m *IcaConnectionInfo) GetPortId() string

func (*IcaConnectionInfo) Marshal

func (m *IcaConnectionInfo) Marshal() (dAtA []byte, err error)

func (*IcaConnectionInfo) MarshalTo

func (m *IcaConnectionInfo) MarshalTo(dAtA []byte) (int, error)

func (*IcaConnectionInfo) MarshalToSizedBuffer

func (m *IcaConnectionInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*IcaConnectionInfo) ProtoMessage

func (*IcaConnectionInfo) ProtoMessage()

func (*IcaConnectionInfo) Reset

func (m *IcaConnectionInfo) Reset()

func (*IcaConnectionInfo) Size

func (m *IcaConnectionInfo) Size() (n int)

func (*IcaConnectionInfo) String

func (m *IcaConnectionInfo) String() string

func (*IcaConnectionInfo) Unmarshal

func (m *IcaConnectionInfo) Unmarshal(dAtA []byte) error

func (*IcaConnectionInfo) XXX_DiscardUnknown

func (m *IcaConnectionInfo) XXX_DiscardUnknown()

func (*IcaConnectionInfo) XXX_Marshal

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

func (*IcaConnectionInfo) XXX_Merge

func (m *IcaConnectionInfo) XXX_Merge(src proto.Message)

func (*IcaConnectionInfo) XXX_Size

func (m *IcaConnectionInfo) XXX_Size() int

func (*IcaConnectionInfo) XXX_Unmarshal

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

type IcaStatus added in v0.6.1

type IcaStatus = uint64
const (
	IcaPending IcaStatus = iota + 1
	IcaRequest
	IcaSuccess
)

type MsgChangeRegisteredZone

type MsgChangeRegisteredZone struct {
	ZoneId           string                  `protobuf:"bytes,1,opt,name=zone_id,json=zoneId,proto3" json:"zone_id,omitempty"`
	IcaInfo          *IcaConnectionInfo      `protobuf:"bytes,2,opt,name=ica_info,json=icaInfo,proto3" json:"ica_info,omitempty"`
	IcaAccount       *IcaAccount             `protobuf:"bytes,3,opt,name=ica_account,json=icaAccount,proto3" json:"ica_account,omitempty"`
	TransferInfo     *TransferConnectionInfo `protobuf:"bytes,4,opt,name=transfer_info,json=transferInfo,proto3" json:"transfer_info,omitempty"`
	ValidatorAddress string                  `protobuf:"bytes,5,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"`
	BaseDenom        string                  `protobuf:"bytes,6,opt,name=base_denom,json=baseDenom,proto3" json:"base_denom,omitempty"`
	Decimal          int64                   `protobuf:"varint,7,opt,name=decimal,proto3" json:"decimal,omitempty"`
	MaxEntries       int64                   `protobuf:"varint,8,opt,name=max_entries,json=maxEntries,proto3" json:"max_entries,omitempty"`
}

MsgChangeRegisteredZoneInfo modifies the information in the registeredZone.

func NewMsgChangeZoneInfo

func NewMsgChangeZoneInfo(zoneId, hostAddr string, controllerAddr sdk.AccAddress, icaConnectionId, transferPortId, transferChanId, validatorAddress, baseDenom string, decimal int64, maxEntries int64) *MsgChangeRegisteredZone

func (*MsgChangeRegisteredZone) Descriptor

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

func (MsgChangeRegisteredZone) GetSigners

func (msg MsgChangeRegisteredZone) GetSigners() []sdk.AccAddress

GetSigners implements sdk.Msg

func (*MsgChangeRegisteredZone) Marshal

func (m *MsgChangeRegisteredZone) Marshal() (dAtA []byte, err error)

func (*MsgChangeRegisteredZone) MarshalTo

func (m *MsgChangeRegisteredZone) MarshalTo(dAtA []byte) (int, error)

func (*MsgChangeRegisteredZone) MarshalToSizedBuffer

func (m *MsgChangeRegisteredZone) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgChangeRegisteredZone) ProtoMessage

func (*MsgChangeRegisteredZone) ProtoMessage()

func (*MsgChangeRegisteredZone) Reset

func (m *MsgChangeRegisteredZone) Reset()

func (*MsgChangeRegisteredZone) Size

func (m *MsgChangeRegisteredZone) Size() (n int)

func (*MsgChangeRegisteredZone) String

func (m *MsgChangeRegisteredZone) String() string

func (*MsgChangeRegisteredZone) Unmarshal

func (m *MsgChangeRegisteredZone) Unmarshal(dAtA []byte) error

func (MsgChangeRegisteredZone) ValidateBasic

func (msg MsgChangeRegisteredZone) ValidateBasic() error

ValidateBasic implements sdk.Msg

func (*MsgChangeRegisteredZone) XXX_DiscardUnknown

func (m *MsgChangeRegisteredZone) XXX_DiscardUnknown()

func (*MsgChangeRegisteredZone) XXX_Marshal

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

func (*MsgChangeRegisteredZone) XXX_Merge

func (m *MsgChangeRegisteredZone) XXX_Merge(src proto.Message)

func (*MsgChangeRegisteredZone) XXX_Size

func (m *MsgChangeRegisteredZone) XXX_Size() int

func (*MsgChangeRegisteredZone) XXX_Unmarshal

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

type MsgChangeRegisteredZoneResponse

type MsgChangeRegisteredZoneResponse struct {
	ZoneId           string                  `protobuf:"bytes,1,opt,name=zone_id,json=zoneId,proto3" json:"zone_id,omitempty"`
	IcaInfo          *IcaConnectionInfo      `protobuf:"bytes,2,opt,name=ica_info,json=icaInfo,proto3" json:"ica_info,omitempty"`
	IcaAccount       *IcaAccount             `protobuf:"bytes,3,opt,name=ica_account,json=icaAccount,proto3" json:"ica_account,omitempty"`
	TransferInfo     *TransferConnectionInfo `protobuf:"bytes,4,opt,name=transfer_info,json=transferInfo,proto3" json:"transfer_info,omitempty"`
	ValidatorAddress string                  `protobuf:"bytes,5,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"`
	BaseDenom        string                  `protobuf:"bytes,6,opt,name=base_denom,json=baseDenom,proto3" json:"base_denom,omitempty"`
	SnDenom          string                  `protobuf:"bytes,7,opt,name=sn_denom,json=snDenom,proto3" json:"sn_denom,omitempty"`
	Decimal          int64                   `protobuf:"varint,8,opt,name=decimal,proto3" json:"decimal,omitempty"`
	MaxEntries       int64                   `protobuf:"varint,9,opt,name=max_entries,json=maxEntries,proto3" json:"max_entries,omitempty"`
}

MsgChangeRegisteredZoneInfoResponse is a response message for MsgChangeRegisteredZone.

func (*MsgChangeRegisteredZoneResponse) Descriptor

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

func (*MsgChangeRegisteredZoneResponse) Marshal

func (m *MsgChangeRegisteredZoneResponse) Marshal() (dAtA []byte, err error)

func (*MsgChangeRegisteredZoneResponse) MarshalTo

func (m *MsgChangeRegisteredZoneResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgChangeRegisteredZoneResponse) MarshalToSizedBuffer

func (m *MsgChangeRegisteredZoneResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgChangeRegisteredZoneResponse) ProtoMessage

func (*MsgChangeRegisteredZoneResponse) ProtoMessage()

func (*MsgChangeRegisteredZoneResponse) Reset

func (*MsgChangeRegisteredZoneResponse) Size

func (m *MsgChangeRegisteredZoneResponse) Size() (n int)

func (*MsgChangeRegisteredZoneResponse) String

func (*MsgChangeRegisteredZoneResponse) Unmarshal

func (m *MsgChangeRegisteredZoneResponse) Unmarshal(dAtA []byte) error

func (*MsgChangeRegisteredZoneResponse) XXX_DiscardUnknown

func (m *MsgChangeRegisteredZoneResponse) XXX_DiscardUnknown()

func (*MsgChangeRegisteredZoneResponse) XXX_Marshal

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

func (*MsgChangeRegisteredZoneResponse) XXX_Merge

func (m *MsgChangeRegisteredZoneResponse) XXX_Merge(src proto.Message)

func (*MsgChangeRegisteredZoneResponse) XXX_Size

func (m *MsgChangeRegisteredZoneResponse) XXX_Size() int

func (*MsgChangeRegisteredZoneResponse) XXX_Unmarshal

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

type MsgClient

type MsgClient interface {
	// RegisterZone defines a rpc handler for MsgRegisterZone
	RegisterZone(ctx context.Context, in *MsgRegisterZone, opts ...grpc.CallOption) (*MsgRegisterZoneResponse, error)
	// IcaDelegate defines a rpc handler for MsgIcaDelegate
	IcaDelegate(ctx context.Context, in *MsgIcaDelegate, opts ...grpc.CallOption) (*MsgIcaDelegateResponse, error)
	// IcaUnDelegate defines a rpc handler for MsgIcaUnDelegate
	IcaUndelegate(ctx context.Context, in *MsgIcaUndelegate, opts ...grpc.CallOption) (*MsgIcaUndelegateResponse, error)
	// IcaTransfer defines a rpc handler for MsgIcaTransfer
	IcaTransfer(ctx context.Context, in *MsgIcaTransfer, opts ...grpc.CallOption) (*MsgIcaTransferResponse, error)
	// IcaAutoStaking defines a rpc handler for MsgIcaAutoStaking
	IcaAutoStaking(ctx context.Context, in *MsgIcaAutoStaking, opts ...grpc.CallOption) (*MsgIcaAutoStakingResponse, error)
	// DeleteRegisteredZone defines a rpc handler for MsgDeleteRegisteredZone
	IcaAuthzGrant(ctx context.Context, in *MsgIcaAuthzGrant, opts ...grpc.CallOption) (*MsgIcaAuthzGrantResponse, error)
	IcaAuthzRevoke(ctx context.Context, in *MsgIcaAuthzRevoke, opts ...grpc.CallOption) (*MsgIcaAuthzRevokeResponse, error)
	DeleteRegisteredZone(ctx context.Context, in *MsgDeleteRegisteredZone, opts ...grpc.CallOption) (*MsgDeleteRegisteredZoneResponse, error)
	ChangeRegisteredZone(ctx context.Context, in *MsgChangeRegisteredZone, opts ...grpc.CallOption) (*MsgChangeRegisteredZoneResponse, error)
}

MsgClient is the client API for Msg service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewMsgClient

func NewMsgClient(cc grpc1.ClientConn) MsgClient

type MsgDeleteRegisteredZone

type MsgDeleteRegisteredZone struct {
	ZoneId            string `protobuf:"bytes,1,opt,name=zone_id,json=zoneId,proto3" json:"zone_id,omitempty"`
	ControllerAddress string `protobuf:"bytes,2,opt,name=controller_address,json=controllerAddress,proto3" json:"controller_address,omitempty"`
}

MsgDeleteRegisteredZone deletes registered Zone information.

func NewMsgDeleteRegisteredZone

func NewMsgDeleteRegisteredZone(zoneId string, controllerAddr sdk.AccAddress) *MsgDeleteRegisteredZone

func (*MsgDeleteRegisteredZone) Descriptor

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

func (MsgDeleteRegisteredZone) GetSigners

func (msg MsgDeleteRegisteredZone) GetSigners() []sdk.AccAddress

GetSigners implements sdk.Msg

func (*MsgDeleteRegisteredZone) Marshal

func (m *MsgDeleteRegisteredZone) Marshal() (dAtA []byte, err error)

func (*MsgDeleteRegisteredZone) MarshalTo

func (m *MsgDeleteRegisteredZone) MarshalTo(dAtA []byte) (int, error)

func (*MsgDeleteRegisteredZone) MarshalToSizedBuffer

func (m *MsgDeleteRegisteredZone) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgDeleteRegisteredZone) ProtoMessage

func (*MsgDeleteRegisteredZone) ProtoMessage()

func (*MsgDeleteRegisteredZone) Reset

func (m *MsgDeleteRegisteredZone) Reset()

func (*MsgDeleteRegisteredZone) Size

func (m *MsgDeleteRegisteredZone) Size() (n int)

func (*MsgDeleteRegisteredZone) String

func (m *MsgDeleteRegisteredZone) String() string

func (*MsgDeleteRegisteredZone) Unmarshal

func (m *MsgDeleteRegisteredZone) Unmarshal(dAtA []byte) error

func (MsgDeleteRegisteredZone) ValidateBasic

func (msg MsgDeleteRegisteredZone) ValidateBasic() error

ValidateBasic implements sdk.Msg

func (*MsgDeleteRegisteredZone) XXX_DiscardUnknown

func (m *MsgDeleteRegisteredZone) XXX_DiscardUnknown()

func (*MsgDeleteRegisteredZone) XXX_Marshal

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

func (*MsgDeleteRegisteredZone) XXX_Merge

func (m *MsgDeleteRegisteredZone) XXX_Merge(src proto.Message)

func (*MsgDeleteRegisteredZone) XXX_Size

func (m *MsgDeleteRegisteredZone) XXX_Size() int

func (*MsgDeleteRegisteredZone) XXX_Unmarshal

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

type MsgDeleteRegisteredZoneResponse

type MsgDeleteRegisteredZoneResponse struct {
}

MsgDeleteRegisteredZoneResponse is a response message for MsgDeleteRegisteredZone.

func (*MsgDeleteRegisteredZoneResponse) Descriptor

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

func (*MsgDeleteRegisteredZoneResponse) Marshal

func (m *MsgDeleteRegisteredZoneResponse) Marshal() (dAtA []byte, err error)

func (*MsgDeleteRegisteredZoneResponse) MarshalTo

func (m *MsgDeleteRegisteredZoneResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgDeleteRegisteredZoneResponse) MarshalToSizedBuffer

func (m *MsgDeleteRegisteredZoneResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgDeleteRegisteredZoneResponse) ProtoMessage

func (*MsgDeleteRegisteredZoneResponse) ProtoMessage()

func (*MsgDeleteRegisteredZoneResponse) Reset

func (*MsgDeleteRegisteredZoneResponse) Size

func (m *MsgDeleteRegisteredZoneResponse) Size() (n int)

func (*MsgDeleteRegisteredZoneResponse) String

func (*MsgDeleteRegisteredZoneResponse) Unmarshal

func (m *MsgDeleteRegisteredZoneResponse) Unmarshal(dAtA []byte) error

func (*MsgDeleteRegisteredZoneResponse) XXX_DiscardUnknown

func (m *MsgDeleteRegisteredZoneResponse) XXX_DiscardUnknown()

func (*MsgDeleteRegisteredZoneResponse) XXX_Marshal

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

func (*MsgDeleteRegisteredZoneResponse) XXX_Merge

func (m *MsgDeleteRegisteredZoneResponse) XXX_Merge(src proto.Message)

func (*MsgDeleteRegisteredZoneResponse) XXX_Size

func (m *MsgDeleteRegisteredZoneResponse) XXX_Size() int

func (*MsgDeleteRegisteredZoneResponse) XXX_Unmarshal

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

type MsgIcaAuthzGrant

type MsgIcaAuthzGrant struct {
	ZoneId            string      `protobuf:"bytes,1,opt,name=zone_id,json=zoneId,proto3" json:"zone_id,omitempty"`
	Grantee           string      `protobuf:"bytes,2,opt,name=grantee,proto3" json:"grantee,omitempty"`
	ControllerAddress string      `protobuf:"bytes,3,opt,name=controller_address,json=controllerAddress,proto3" json:"controller_address,omitempty"`
	Grant             authz.Grant `protobuf:"bytes,4,opt,name=grant,proto3" json:"grant"`
}

MsgIcaAuthzGrant is a message used to transfer authority through authz between two accounts in the other chain using ICA.

func NewMsgAuthzGrant

func NewMsgAuthzGrant(zoneId, grantee string, granter sdk.AccAddress, authorization authz.Authorization, expiration time.Time) (*MsgIcaAuthzGrant, error)

func (*MsgIcaAuthzGrant) Descriptor

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

func (MsgIcaAuthzGrant) GetSigners

func (msg MsgIcaAuthzGrant) GetSigners() []sdk.AccAddress

GetSigners implements sdk.Msg

func (*MsgIcaAuthzGrant) Marshal

func (m *MsgIcaAuthzGrant) Marshal() (dAtA []byte, err error)

func (*MsgIcaAuthzGrant) MarshalTo

func (m *MsgIcaAuthzGrant) MarshalTo(dAtA []byte) (int, error)

func (*MsgIcaAuthzGrant) MarshalToSizedBuffer

func (m *MsgIcaAuthzGrant) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgIcaAuthzGrant) ProtoMessage

func (*MsgIcaAuthzGrant) ProtoMessage()

func (*MsgIcaAuthzGrant) Reset

func (m *MsgIcaAuthzGrant) Reset()

func (*MsgIcaAuthzGrant) SetAuthorization

func (msg *MsgIcaAuthzGrant) SetAuthorization(a authz.Authorization) error

SetAuthorization converts Authorization to any and adds it to MsgGrant.Authorization.

func (*MsgIcaAuthzGrant) Size

func (m *MsgIcaAuthzGrant) Size() (n int)

func (*MsgIcaAuthzGrant) String

func (m *MsgIcaAuthzGrant) String() string

func (*MsgIcaAuthzGrant) Unmarshal

func (m *MsgIcaAuthzGrant) Unmarshal(dAtA []byte) error

func (MsgIcaAuthzGrant) ValidateBasic

func (msg MsgIcaAuthzGrant) ValidateBasic() error

ValidateBasic implements sdk.Msg

func (*MsgIcaAuthzGrant) XXX_DiscardUnknown

func (m *MsgIcaAuthzGrant) XXX_DiscardUnknown()

func (*MsgIcaAuthzGrant) XXX_Marshal

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

func (*MsgIcaAuthzGrant) XXX_Merge

func (m *MsgIcaAuthzGrant) XXX_Merge(src proto.Message)

func (*MsgIcaAuthzGrant) XXX_Size

func (m *MsgIcaAuthzGrant) XXX_Size() int

func (*MsgIcaAuthzGrant) XXX_Unmarshal

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

type MsgIcaAuthzGrantResponse

type MsgIcaAuthzGrantResponse struct {
}

MsgIcaAuthzGrantResponse is a response messasge for MsgIcaAuthzGrant.

func (*MsgIcaAuthzGrantResponse) Descriptor

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

func (*MsgIcaAuthzGrantResponse) Marshal

func (m *MsgIcaAuthzGrantResponse) Marshal() (dAtA []byte, err error)

func (*MsgIcaAuthzGrantResponse) MarshalTo

func (m *MsgIcaAuthzGrantResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgIcaAuthzGrantResponse) MarshalToSizedBuffer

func (m *MsgIcaAuthzGrantResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgIcaAuthzGrantResponse) ProtoMessage

func (*MsgIcaAuthzGrantResponse) ProtoMessage()

func (*MsgIcaAuthzGrantResponse) Reset

func (m *MsgIcaAuthzGrantResponse) Reset()

func (*MsgIcaAuthzGrantResponse) Size

func (m *MsgIcaAuthzGrantResponse) Size() (n int)

func (*MsgIcaAuthzGrantResponse) String

func (m *MsgIcaAuthzGrantResponse) String() string

func (*MsgIcaAuthzGrantResponse) Unmarshal

func (m *MsgIcaAuthzGrantResponse) Unmarshal(dAtA []byte) error

func (*MsgIcaAuthzGrantResponse) XXX_DiscardUnknown

func (m *MsgIcaAuthzGrantResponse) XXX_DiscardUnknown()

func (*MsgIcaAuthzGrantResponse) XXX_Marshal

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

func (*MsgIcaAuthzGrantResponse) XXX_Merge

func (m *MsgIcaAuthzGrantResponse) XXX_Merge(src proto.Message)

func (*MsgIcaAuthzGrantResponse) XXX_Size

func (m *MsgIcaAuthzGrantResponse) XXX_Size() int

func (*MsgIcaAuthzGrantResponse) XXX_Unmarshal

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

type MsgIcaAuthzRevoke

type MsgIcaAuthzRevoke struct {
	ZoneId            string `protobuf:"bytes,1,opt,name=zone_id,json=zoneId,proto3" json:"zone_id,omitempty"`
	Grantee           string `protobuf:"bytes,2,opt,name=grantee,proto3" json:"grantee,omitempty"`
	ControllerAddress string `protobuf:"bytes,3,opt,name=controller_address,json=controllerAddress,proto3" json:"controller_address,omitempty"`
	MsgTypeUrl        string `protobuf:"bytes,4,opt,name=msg_type_url,json=msgTypeUrl,proto3" json:"msg_type_url,omitempty"`
}

MsgIcaAuthzRevoke is a message used for proxy execution between accounts linked to authz via ICA.

func NewMsgAuthzRevoke

func NewMsgAuthzRevoke(zoneId, grantee, msgType string, granter sdk.AccAddress) *MsgIcaAuthzRevoke

func (*MsgIcaAuthzRevoke) Descriptor

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

func (MsgIcaAuthzRevoke) GetSigners

func (msg MsgIcaAuthzRevoke) GetSigners() []sdk.AccAddress

GetSigners implements sdk.Msg

func (*MsgIcaAuthzRevoke) Marshal

func (m *MsgIcaAuthzRevoke) Marshal() (dAtA []byte, err error)

func (*MsgIcaAuthzRevoke) MarshalTo

func (m *MsgIcaAuthzRevoke) MarshalTo(dAtA []byte) (int, error)

func (*MsgIcaAuthzRevoke) MarshalToSizedBuffer

func (m *MsgIcaAuthzRevoke) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgIcaAuthzRevoke) ProtoMessage

func (*MsgIcaAuthzRevoke) ProtoMessage()

func (*MsgIcaAuthzRevoke) Reset

func (m *MsgIcaAuthzRevoke) Reset()

func (*MsgIcaAuthzRevoke) Size

func (m *MsgIcaAuthzRevoke) Size() (n int)

func (*MsgIcaAuthzRevoke) String

func (m *MsgIcaAuthzRevoke) String() string

func (*MsgIcaAuthzRevoke) Unmarshal

func (m *MsgIcaAuthzRevoke) Unmarshal(dAtA []byte) error

func (MsgIcaAuthzRevoke) ValidateBasic

func (msg MsgIcaAuthzRevoke) ValidateBasic() error

ValidateBasic implements sdk.Msg

func (*MsgIcaAuthzRevoke) XXX_DiscardUnknown

func (m *MsgIcaAuthzRevoke) XXX_DiscardUnknown()

func (*MsgIcaAuthzRevoke) XXX_Marshal

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

func (*MsgIcaAuthzRevoke) XXX_Merge

func (m *MsgIcaAuthzRevoke) XXX_Merge(src proto.Message)

func (*MsgIcaAuthzRevoke) XXX_Size

func (m *MsgIcaAuthzRevoke) XXX_Size() int

func (*MsgIcaAuthzRevoke) XXX_Unmarshal

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

type MsgIcaAuthzRevokeResponse

type MsgIcaAuthzRevokeResponse struct {
}

MsgIcaAuthzRevokeResponse is a response message for MsgIcaAuthzRevoke.

func (*MsgIcaAuthzRevokeResponse) Descriptor

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

func (*MsgIcaAuthzRevokeResponse) Marshal

func (m *MsgIcaAuthzRevokeResponse) Marshal() (dAtA []byte, err error)

func (*MsgIcaAuthzRevokeResponse) MarshalTo

func (m *MsgIcaAuthzRevokeResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgIcaAuthzRevokeResponse) MarshalToSizedBuffer

func (m *MsgIcaAuthzRevokeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgIcaAuthzRevokeResponse) ProtoMessage

func (*MsgIcaAuthzRevokeResponse) ProtoMessage()

func (*MsgIcaAuthzRevokeResponse) Reset

func (m *MsgIcaAuthzRevokeResponse) Reset()

func (*MsgIcaAuthzRevokeResponse) Size

func (m *MsgIcaAuthzRevokeResponse) Size() (n int)

func (*MsgIcaAuthzRevokeResponse) String

func (m *MsgIcaAuthzRevokeResponse) String() string

func (*MsgIcaAuthzRevokeResponse) Unmarshal

func (m *MsgIcaAuthzRevokeResponse) Unmarshal(dAtA []byte) error

func (*MsgIcaAuthzRevokeResponse) XXX_DiscardUnknown

func (m *MsgIcaAuthzRevokeResponse) XXX_DiscardUnknown()

func (*MsgIcaAuthzRevokeResponse) XXX_Marshal

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

func (*MsgIcaAuthzRevokeResponse) XXX_Merge

func (m *MsgIcaAuthzRevokeResponse) XXX_Merge(src proto.Message)

func (*MsgIcaAuthzRevokeResponse) XXX_Size

func (m *MsgIcaAuthzRevokeResponse) XXX_Size() int

func (*MsgIcaAuthzRevokeResponse) XXX_Unmarshal

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

type MsgIcaAutoStaking

type MsgIcaAutoStaking struct {
	ZoneId            string     `protobuf:"bytes,1,opt,name=zone_id,json=zoneId,proto3" json:"zone_id,omitempty"`
	HostAddress       string     `protobuf:"bytes,2,opt,name=host_address,json=hostAddress,proto3" json:"host_address,omitempty"`
	ControllerAddress string     `protobuf:"bytes,3,opt,name=controller_address,json=controllerAddress,proto3" json:"controller_address,omitempty"`
	Amount            types.Coin `protobuf:"bytes,4,opt,name=amount,proto3" json:"amount"`
	Version           uint64     `protobuf:"varint,5,opt,name=version,proto3" json:"version,omitempty"`
}

MsgIcaAutoStaking is a message for remote auto-compound using ICA.

func NewMsgIcaAutoStaking

func NewMsgIcaAutoStaking(zoneId string, controllerAddr sdk.AccAddress, amount sdk.Coin) *MsgIcaAutoStaking

func (*MsgIcaAutoStaking) Descriptor

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

func (MsgIcaAutoStaking) GetSigners

func (msg MsgIcaAutoStaking) GetSigners() []sdk.AccAddress

GetSigners implements sdk.Msg

func (*MsgIcaAutoStaking) Marshal

func (m *MsgIcaAutoStaking) Marshal() (dAtA []byte, err error)

func (*MsgIcaAutoStaking) MarshalTo

func (m *MsgIcaAutoStaking) MarshalTo(dAtA []byte) (int, error)

func (*MsgIcaAutoStaking) MarshalToSizedBuffer

func (m *MsgIcaAutoStaking) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgIcaAutoStaking) ProtoMessage

func (*MsgIcaAutoStaking) ProtoMessage()

func (*MsgIcaAutoStaking) Reset

func (m *MsgIcaAutoStaking) Reset()

func (*MsgIcaAutoStaking) Size

func (m *MsgIcaAutoStaking) Size() (n int)

func (*MsgIcaAutoStaking) String

func (m *MsgIcaAutoStaking) String() string

func (*MsgIcaAutoStaking) Unmarshal

func (m *MsgIcaAutoStaking) Unmarshal(dAtA []byte) error

func (MsgIcaAutoStaking) ValidateBasic

func (msg MsgIcaAutoStaking) ValidateBasic() error

ValidateBasic implements sdk.Msg

func (*MsgIcaAutoStaking) XXX_DiscardUnknown

func (m *MsgIcaAutoStaking) XXX_DiscardUnknown()

func (*MsgIcaAutoStaking) XXX_Marshal

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

func (*MsgIcaAutoStaking) XXX_Merge

func (m *MsgIcaAutoStaking) XXX_Merge(src proto.Message)

func (*MsgIcaAutoStaking) XXX_Size

func (m *MsgIcaAutoStaking) XXX_Size() int

func (*MsgIcaAutoStaking) XXX_Unmarshal

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

type MsgIcaAutoStakingResponse

type MsgIcaAutoStakingResponse struct {
}

MsgIcaAutoStakingResponse is a response message for MsgIcaAutoStaking.

func (*MsgIcaAutoStakingResponse) Descriptor

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

func (*MsgIcaAutoStakingResponse) Marshal

func (m *MsgIcaAutoStakingResponse) Marshal() (dAtA []byte, err error)

func (*MsgIcaAutoStakingResponse) MarshalTo

func (m *MsgIcaAutoStakingResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgIcaAutoStakingResponse) MarshalToSizedBuffer

func (m *MsgIcaAutoStakingResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgIcaAutoStakingResponse) ProtoMessage

func (*MsgIcaAutoStakingResponse) ProtoMessage()

func (*MsgIcaAutoStakingResponse) Reset

func (m *MsgIcaAutoStakingResponse) Reset()

func (*MsgIcaAutoStakingResponse) Size

func (m *MsgIcaAutoStakingResponse) Size() (n int)

func (*MsgIcaAutoStakingResponse) String

func (m *MsgIcaAutoStakingResponse) String() string

func (*MsgIcaAutoStakingResponse) Unmarshal

func (m *MsgIcaAutoStakingResponse) Unmarshal(dAtA []byte) error

func (*MsgIcaAutoStakingResponse) XXX_DiscardUnknown

func (m *MsgIcaAutoStakingResponse) XXX_DiscardUnknown()

func (*MsgIcaAutoStakingResponse) XXX_Marshal

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

func (*MsgIcaAutoStakingResponse) XXX_Merge

func (m *MsgIcaAutoStakingResponse) XXX_Merge(src proto.Message)

func (*MsgIcaAutoStakingResponse) XXX_Size

func (m *MsgIcaAutoStakingResponse) XXX_Size() int

func (*MsgIcaAutoStakingResponse) XXX_Unmarshal

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

type MsgIcaDelegate

type MsgIcaDelegate struct {
	ZoneId            string     `protobuf:"bytes,1,opt,name=zone_id,json=zoneId,proto3" json:"zone_id,omitempty"`
	HostAddress       string     `protobuf:"bytes,2,opt,name=host_address,json=hostAddress,proto3" json:"host_address,omitempty"`
	ControllerAddress string     `protobuf:"bytes,3,opt,name=controller_address,json=controllerAddress,proto3" json:"controller_address,omitempty"`
	Amount            types.Coin `protobuf:"bytes,4,opt,name=amount,proto3" json:"amount"`
}

MsgIcaDelegate is a message used for remote delegation using ICA.

func NewMsgIcaDelegate

func NewMsgIcaDelegate(zoneId string, controllerAddr sdk.AccAddress, hostAddr string, amount sdk.Coin) *MsgIcaDelegate

func (*MsgIcaDelegate) Descriptor

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

func (MsgIcaDelegate) GetSigners

func (msg MsgIcaDelegate) GetSigners() []sdk.AccAddress

GetSigners implements sdk.Msg

func (*MsgIcaDelegate) Marshal

func (m *MsgIcaDelegate) Marshal() (dAtA []byte, err error)

func (*MsgIcaDelegate) MarshalTo

func (m *MsgIcaDelegate) MarshalTo(dAtA []byte) (int, error)

func (*MsgIcaDelegate) MarshalToSizedBuffer

func (m *MsgIcaDelegate) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgIcaDelegate) ProtoMessage

func (*MsgIcaDelegate) ProtoMessage()

func (*MsgIcaDelegate) Reset

func (m *MsgIcaDelegate) Reset()

func (*MsgIcaDelegate) Size

func (m *MsgIcaDelegate) Size() (n int)

func (*MsgIcaDelegate) String

func (m *MsgIcaDelegate) String() string

func (*MsgIcaDelegate) Unmarshal

func (m *MsgIcaDelegate) Unmarshal(dAtA []byte) error

func (MsgIcaDelegate) ValidateBasic

func (msg MsgIcaDelegate) ValidateBasic() error

ValidateBasic implements sdk.Msg

func (*MsgIcaDelegate) XXX_DiscardUnknown

func (m *MsgIcaDelegate) XXX_DiscardUnknown()

func (*MsgIcaDelegate) XXX_Marshal

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

func (*MsgIcaDelegate) XXX_Merge

func (m *MsgIcaDelegate) XXX_Merge(src proto.Message)

func (*MsgIcaDelegate) XXX_Size

func (m *MsgIcaDelegate) XXX_Size() int

func (*MsgIcaDelegate) XXX_Unmarshal

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

type MsgIcaDelegateResponse

type MsgIcaDelegateResponse struct {
}

MsgIcaDelegateResponse is a response message for MsgIcaDelegate.

func (*MsgIcaDelegateResponse) Descriptor

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

func (*MsgIcaDelegateResponse) Marshal

func (m *MsgIcaDelegateResponse) Marshal() (dAtA []byte, err error)

func (*MsgIcaDelegateResponse) MarshalTo

func (m *MsgIcaDelegateResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgIcaDelegateResponse) MarshalToSizedBuffer

func (m *MsgIcaDelegateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgIcaDelegateResponse) ProtoMessage

func (*MsgIcaDelegateResponse) ProtoMessage()

func (*MsgIcaDelegateResponse) Reset

func (m *MsgIcaDelegateResponse) Reset()

func (*MsgIcaDelegateResponse) Size

func (m *MsgIcaDelegateResponse) Size() (n int)

func (*MsgIcaDelegateResponse) String

func (m *MsgIcaDelegateResponse) String() string

func (*MsgIcaDelegateResponse) Unmarshal

func (m *MsgIcaDelegateResponse) Unmarshal(dAtA []byte) error

func (*MsgIcaDelegateResponse) XXX_DiscardUnknown

func (m *MsgIcaDelegateResponse) XXX_DiscardUnknown()

func (*MsgIcaDelegateResponse) XXX_Marshal

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

func (*MsgIcaDelegateResponse) XXX_Merge

func (m *MsgIcaDelegateResponse) XXX_Merge(src proto.Message)

func (*MsgIcaDelegateResponse) XXX_Size

func (m *MsgIcaDelegateResponse) XXX_Size() int

func (*MsgIcaDelegateResponse) XXX_Unmarshal

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

type MsgIcaTransfer

type MsgIcaTransfer struct {
	ZoneId               string     `protobuf:"bytes,1,opt,name=zone_id,json=zoneId,proto3" json:"zone_id,omitempty"`
	HostAddress          string     `protobuf:"bytes,2,opt,name=host_address,json=hostAddress,proto3" json:"host_address,omitempty"`
	ControllerAddress    string     `protobuf:"bytes,3,opt,name=controller_address,json=controllerAddress,proto3" json:"controller_address,omitempty"`
	ReceiverAddress      string     `protobuf:"bytes,4,opt,name=receiver_address,json=receiverAddress,proto3" json:"receiver_address,omitempty"`
	IcaTransferPortId    string     `protobuf:"bytes,5,opt,name=ica_transfer_port_id,json=icaTransferPortId,proto3" json:"ica_transfer_port_id,omitempty"`
	IcaTransferChannelId string     `protobuf:"bytes,6,opt,name=ica_transfer_channel_id,json=icaTransferChannelId,proto3" json:"ica_transfer_channel_id,omitempty"`
	Amount               types.Coin `protobuf:"bytes,7,opt,name=amount,proto3" json:"amount"`
}

MsgIcaTransfer is a message for IBC transfer from the counterpart to the Supernova chain using ICA.

func NewMsgIcaTransfer

func NewMsgIcaTransfer(zoneId, hostAddr string, controllerAddr sdk.AccAddress, receiver, portId, chanId string, amount sdk.Coin) *MsgIcaTransfer

func (*MsgIcaTransfer) Descriptor

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

func (MsgIcaTransfer) GetSigners

func (msg MsgIcaTransfer) GetSigners() []sdk.AccAddress

GetSigners implements sdk.Msg

func (*MsgIcaTransfer) Marshal

func (m *MsgIcaTransfer) Marshal() (dAtA []byte, err error)

func (*MsgIcaTransfer) MarshalTo

func (m *MsgIcaTransfer) MarshalTo(dAtA []byte) (int, error)

func (*MsgIcaTransfer) MarshalToSizedBuffer

func (m *MsgIcaTransfer) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgIcaTransfer) ProtoMessage

func (*MsgIcaTransfer) ProtoMessage()

func (*MsgIcaTransfer) Reset

func (m *MsgIcaTransfer) Reset()

func (*MsgIcaTransfer) Size

func (m *MsgIcaTransfer) Size() (n int)

func (*MsgIcaTransfer) String

func (m *MsgIcaTransfer) String() string

func (*MsgIcaTransfer) Unmarshal

func (m *MsgIcaTransfer) Unmarshal(dAtA []byte) error

func (MsgIcaTransfer) ValidateBasic

func (msg MsgIcaTransfer) ValidateBasic() error

ValidateBasic implements sdk.Msg

func (*MsgIcaTransfer) XXX_DiscardUnknown

func (m *MsgIcaTransfer) XXX_DiscardUnknown()

func (*MsgIcaTransfer) XXX_Marshal

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

func (*MsgIcaTransfer) XXX_Merge

func (m *MsgIcaTransfer) XXX_Merge(src proto.Message)

func (*MsgIcaTransfer) XXX_Size

func (m *MsgIcaTransfer) XXX_Size() int

func (*MsgIcaTransfer) XXX_Unmarshal

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

type MsgIcaTransferResponse

type MsgIcaTransferResponse struct {
}

MsgIcaTransferResponse is a response message for MsgIcaTransfer.

func (*MsgIcaTransferResponse) Descriptor

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

func (*MsgIcaTransferResponse) Marshal

func (m *MsgIcaTransferResponse) Marshal() (dAtA []byte, err error)

func (*MsgIcaTransferResponse) MarshalTo

func (m *MsgIcaTransferResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgIcaTransferResponse) MarshalToSizedBuffer

func (m *MsgIcaTransferResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgIcaTransferResponse) ProtoMessage

func (*MsgIcaTransferResponse) ProtoMessage()

func (*MsgIcaTransferResponse) Reset

func (m *MsgIcaTransferResponse) Reset()

func (*MsgIcaTransferResponse) Size

func (m *MsgIcaTransferResponse) Size() (n int)

func (*MsgIcaTransferResponse) String

func (m *MsgIcaTransferResponse) String() string

func (*MsgIcaTransferResponse) Unmarshal

func (m *MsgIcaTransferResponse) Unmarshal(dAtA []byte) error

func (*MsgIcaTransferResponse) XXX_DiscardUnknown

func (m *MsgIcaTransferResponse) XXX_DiscardUnknown()

func (*MsgIcaTransferResponse) XXX_Marshal

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

func (*MsgIcaTransferResponse) XXX_Merge

func (m *MsgIcaTransferResponse) XXX_Merge(src proto.Message)

func (*MsgIcaTransferResponse) XXX_Size

func (m *MsgIcaTransferResponse) XXX_Size() int

func (*MsgIcaTransferResponse) XXX_Unmarshal

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

type MsgIcaUndelegate

type MsgIcaUndelegate struct {
	ZoneId            string     `protobuf:"bytes,1,opt,name=zone_id,json=zoneId,proto3" json:"zone_id,omitempty"`
	HostAddress       string     `protobuf:"bytes,2,opt,name=host_address,json=hostAddress,proto3" json:"host_address,omitempty"`
	ControllerAddress string     `protobuf:"bytes,3,opt,name=controller_address,json=controllerAddress,proto3" json:"controller_address,omitempty"`
	Amount            types.Coin `protobuf:"bytes,4,opt,name=amount,proto3" json:"amount"`
}

MsgIcaUndelegate is a message used to de-delegate remote using ICA.

func NewMsgIcaUnDelegate

func NewMsgIcaUnDelegate(zoneId, hostAddr string, controllerAddr sdk.AccAddress, amount sdk.Coin) *MsgIcaUndelegate

func (*MsgIcaUndelegate) Descriptor

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

func (MsgIcaUndelegate) GetSigners

func (msg MsgIcaUndelegate) GetSigners() []sdk.AccAddress

GetSigners implements sdk.Msg

func (*MsgIcaUndelegate) Marshal

func (m *MsgIcaUndelegate) Marshal() (dAtA []byte, err error)

func (*MsgIcaUndelegate) MarshalTo

func (m *MsgIcaUndelegate) MarshalTo(dAtA []byte) (int, error)

func (*MsgIcaUndelegate) MarshalToSizedBuffer

func (m *MsgIcaUndelegate) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgIcaUndelegate) ProtoMessage

func (*MsgIcaUndelegate) ProtoMessage()

func (*MsgIcaUndelegate) Reset

func (m *MsgIcaUndelegate) Reset()

func (*MsgIcaUndelegate) Size

func (m *MsgIcaUndelegate) Size() (n int)

func (*MsgIcaUndelegate) String

func (m *MsgIcaUndelegate) String() string

func (*MsgIcaUndelegate) Unmarshal

func (m *MsgIcaUndelegate) Unmarshal(dAtA []byte) error

func (MsgIcaUndelegate) ValidateBasic

func (msg MsgIcaUndelegate) ValidateBasic() error

ValidateBasic implements sdk.Msg

func (*MsgIcaUndelegate) XXX_DiscardUnknown

func (m *MsgIcaUndelegate) XXX_DiscardUnknown()

func (*MsgIcaUndelegate) XXX_Marshal

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

func (*MsgIcaUndelegate) XXX_Merge

func (m *MsgIcaUndelegate) XXX_Merge(src proto.Message)

func (*MsgIcaUndelegate) XXX_Size

func (m *MsgIcaUndelegate) XXX_Size() int

func (*MsgIcaUndelegate) XXX_Unmarshal

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

type MsgIcaUndelegateResponse

type MsgIcaUndelegateResponse struct {
}

MsgIcaUndelegateResponse is a response message for MsgIcaUndelegate.

func (*MsgIcaUndelegateResponse) Descriptor

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

func (*MsgIcaUndelegateResponse) Marshal

func (m *MsgIcaUndelegateResponse) Marshal() (dAtA []byte, err error)

func (*MsgIcaUndelegateResponse) MarshalTo

func (m *MsgIcaUndelegateResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgIcaUndelegateResponse) MarshalToSizedBuffer

func (m *MsgIcaUndelegateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgIcaUndelegateResponse) ProtoMessage

func (*MsgIcaUndelegateResponse) ProtoMessage()

func (*MsgIcaUndelegateResponse) Reset

func (m *MsgIcaUndelegateResponse) Reset()

func (*MsgIcaUndelegateResponse) Size

func (m *MsgIcaUndelegateResponse) Size() (n int)

func (*MsgIcaUndelegateResponse) String

func (m *MsgIcaUndelegateResponse) String() string

func (*MsgIcaUndelegateResponse) Unmarshal

func (m *MsgIcaUndelegateResponse) Unmarshal(dAtA []byte) error

func (*MsgIcaUndelegateResponse) XXX_DiscardUnknown

func (m *MsgIcaUndelegateResponse) XXX_DiscardUnknown()

func (*MsgIcaUndelegateResponse) XXX_Marshal

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

func (*MsgIcaUndelegateResponse) XXX_Merge

func (m *MsgIcaUndelegateResponse) XXX_Merge(src proto.Message)

func (*MsgIcaUndelegateResponse) XXX_Size

func (m *MsgIcaUndelegateResponse) XXX_Size() int

func (*MsgIcaUndelegateResponse) XXX_Unmarshal

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

type MsgRegisterZone

type MsgRegisterZone struct {
	ZoneId           string                  `protobuf:"bytes,1,opt,name=zone_id,json=zoneId,proto3" json:"zone_id,omitempty"`
	IcaInfo          *IcaConnectionInfo      `protobuf:"bytes,2,opt,name=ica_info,json=icaInfo,proto3" json:"ica_info,omitempty"`
	IcaAccount       *IcaAccount             `protobuf:"bytes,3,opt,name=ica_account,json=icaAccount,proto3" json:"ica_account,omitempty"`
	TransferInfo     *TransferConnectionInfo `protobuf:"bytes,4,opt,name=transfer_info,json=transferInfo,proto3" json:"transfer_info,omitempty"`
	ValidatorAddress string                  `protobuf:"bytes,5,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"`
	BaseDenom        string                  `protobuf:"bytes,6,opt,name=base_denom,json=baseDenom,proto3" json:"base_denom,omitempty"`
	Decimal          int64                   `protobuf:"varint,7,opt,name=decimal,proto3" json:"decimal,omitempty"`
	MaxEntries       int64                   `protobuf:"varint,8,opt,name=max_entries,json=maxEntries,proto3" json:"max_entries,omitempty"`
}

MsgRegisterZone is the message you use to register a new zone.

func NewMsgRegisterZone

func NewMsgRegisterZone(zoneId, icaConnectionId string, controllerAddr sdk.AccAddress, transferPortId, transferChanId string, validatorAddress, baseDenom string, decimal int64, maxEntries int64) *MsgRegisterZone

NewMsgRegisterAccount creates a new MsgRegisterAccount instance

func (*MsgRegisterZone) Descriptor

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

func (MsgRegisterZone) GetSigners

func (msg MsgRegisterZone) GetSigners() []sdk.AccAddress

GetSigners implements sdk.Msg

func (*MsgRegisterZone) Marshal

func (m *MsgRegisterZone) Marshal() (dAtA []byte, err error)

func (*MsgRegisterZone) MarshalTo

func (m *MsgRegisterZone) MarshalTo(dAtA []byte) (int, error)

func (*MsgRegisterZone) MarshalToSizedBuffer

func (m *MsgRegisterZone) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgRegisterZone) ProtoMessage

func (*MsgRegisterZone) ProtoMessage()

func (*MsgRegisterZone) Reset

func (m *MsgRegisterZone) Reset()

func (*MsgRegisterZone) Size

func (m *MsgRegisterZone) Size() (n int)

func (*MsgRegisterZone) String

func (m *MsgRegisterZone) String() string

func (*MsgRegisterZone) Unmarshal

func (m *MsgRegisterZone) Unmarshal(dAtA []byte) error

func (MsgRegisterZone) ValidateBasic

func (msg MsgRegisterZone) ValidateBasic() error

ValidateBasic implements sdk.Msg

func (*MsgRegisterZone) XXX_DiscardUnknown

func (m *MsgRegisterZone) XXX_DiscardUnknown()

func (*MsgRegisterZone) XXX_Marshal

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

func (*MsgRegisterZone) XXX_Merge

func (m *MsgRegisterZone) XXX_Merge(src proto.Message)

func (*MsgRegisterZone) XXX_Size

func (m *MsgRegisterZone) XXX_Size() int

func (*MsgRegisterZone) XXX_Unmarshal

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

type MsgRegisterZoneResponse

type MsgRegisterZoneResponse struct {
	ZoneId           string                  `protobuf:"bytes,1,opt,name=zone_id,json=zoneId,proto3" json:"zone_id,omitempty"`
	IcaInfo          *IcaConnectionInfo      `protobuf:"bytes,2,opt,name=ica_info,json=icaInfo,proto3" json:"ica_info,omitempty"`
	IcaAccount       *IcaAccount             `protobuf:"bytes,3,opt,name=ica_account,json=icaAccount,proto3" json:"ica_account,omitempty"`
	TransferInfo     *TransferConnectionInfo `protobuf:"bytes,4,opt,name=transfer_info,json=transferInfo,proto3" json:"transfer_info,omitempty"`
	ValidatorAddress string                  `protobuf:"bytes,5,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"`
	BaseDenom        string                  `protobuf:"bytes,6,opt,name=base_denom,json=baseDenom,proto3" json:"base_denom,omitempty"`
	SnDenom          string                  `protobuf:"bytes,7,opt,name=sn_denom,json=snDenom,proto3" json:"sn_denom,omitempty"`
	Decimal          int64                   `protobuf:"varint,8,opt,name=decimal,proto3" json:"decimal,omitempty"`
	MaxEntries       int64                   `protobuf:"varint,9,opt,name=max_entries,json=maxEntries,proto3" json:"max_entries,omitempty"`
}

MsgRegisterZoneResponse is a response message for MsgRegisterZone

func (*MsgRegisterZoneResponse) Descriptor

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

func (*MsgRegisterZoneResponse) Marshal

func (m *MsgRegisterZoneResponse) Marshal() (dAtA []byte, err error)

func (*MsgRegisterZoneResponse) MarshalTo

func (m *MsgRegisterZoneResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgRegisterZoneResponse) MarshalToSizedBuffer

func (m *MsgRegisterZoneResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgRegisterZoneResponse) ProtoMessage

func (*MsgRegisterZoneResponse) ProtoMessage()

func (*MsgRegisterZoneResponse) Reset

func (m *MsgRegisterZoneResponse) Reset()

func (*MsgRegisterZoneResponse) Size

func (m *MsgRegisterZoneResponse) Size() (n int)

func (*MsgRegisterZoneResponse) String

func (m *MsgRegisterZoneResponse) String() string

func (*MsgRegisterZoneResponse) Unmarshal

func (m *MsgRegisterZoneResponse) Unmarshal(dAtA []byte) error

func (*MsgRegisterZoneResponse) XXX_DiscardUnknown

func (m *MsgRegisterZoneResponse) XXX_DiscardUnknown()

func (*MsgRegisterZoneResponse) XXX_Marshal

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

func (*MsgRegisterZoneResponse) XXX_Merge

func (m *MsgRegisterZoneResponse) XXX_Merge(src proto.Message)

func (*MsgRegisterZoneResponse) XXX_Size

func (m *MsgRegisterZoneResponse) XXX_Size() int

func (*MsgRegisterZoneResponse) XXX_Unmarshal

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

type MsgServer

type MsgServer interface {
	// RegisterZone defines a rpc handler for MsgRegisterZone
	RegisterZone(context.Context, *MsgRegisterZone) (*MsgRegisterZoneResponse, error)
	// IcaDelegate defines a rpc handler for MsgIcaDelegate
	IcaDelegate(context.Context, *MsgIcaDelegate) (*MsgIcaDelegateResponse, error)
	// IcaUnDelegate defines a rpc handler for MsgIcaUnDelegate
	IcaUndelegate(context.Context, *MsgIcaUndelegate) (*MsgIcaUndelegateResponse, error)
	// IcaTransfer defines a rpc handler for MsgIcaTransfer
	IcaTransfer(context.Context, *MsgIcaTransfer) (*MsgIcaTransferResponse, error)
	// IcaAutoStaking defines a rpc handler for MsgIcaAutoStaking
	IcaAutoStaking(context.Context, *MsgIcaAutoStaking) (*MsgIcaAutoStakingResponse, error)
	// DeleteRegisteredZone defines a rpc handler for MsgDeleteRegisteredZone
	IcaAuthzGrant(context.Context, *MsgIcaAuthzGrant) (*MsgIcaAuthzGrantResponse, error)
	IcaAuthzRevoke(context.Context, *MsgIcaAuthzRevoke) (*MsgIcaAuthzRevokeResponse, error)
	DeleteRegisteredZone(context.Context, *MsgDeleteRegisteredZone) (*MsgDeleteRegisteredZoneResponse, error)
	ChangeRegisteredZone(context.Context, *MsgChangeRegisteredZone) (*MsgChangeRegisteredZoneResponse, error)
}

MsgServer is the server API for Msg service.

type MultiICAHooks

type MultiICAHooks []ICAHooks

func NewMultiICAHooks

func NewMultiICAHooks(hooks ...ICAHooks) MultiICAHooks

func (MultiICAHooks) AfterAutoStakingEnd

func (h MultiICAHooks) AfterAutoStakingEnd()

func (MultiICAHooks) AfterDelegateEnd

func (h MultiICAHooks) AfterDelegateEnd(ctx sdk.Context, delegateMsg stakingtypes.MsgDelegate)

func (MultiICAHooks) AfterUndelegateEnd

func (h MultiICAHooks) AfterUndelegateEnd(ctx sdk.Context, undelegateMsg stakingtypes.MsgUndelegate, response *stakingtypes.MsgUndelegateResponse)

type Params

type Params struct {
	// zone register address.
	ControllerAddress []string `protobuf:"bytes,1,rep,name=controller_address,json=controllerAddress,proto3" json:"controller_address,omitempty"`
}

func DefaultParams

func DefaultParams() Params

func NewParams

func NewParams(daomodifierAddrs []string) Params

func (*Params) Descriptor

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

func (*Params) GetControllerAddress

func (m *Params) GetControllerAddress() []string

func (*Params) Marshal

func (m *Params) Marshal() (dAtA []byte, err error)

func (*Params) MarshalTo

func (m *Params) MarshalTo(dAtA []byte) (int, error)

func (*Params) MarshalToSizedBuffer

func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Params) ParamSetPairs

func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs

func (*Params) ProtoMessage

func (*Params) ProtoMessage()

func (*Params) Reset

func (m *Params) Reset()

func (*Params) Size

func (m *Params) Size() (n int)

func (*Params) String

func (p *Params) String() string

func (*Params) Unmarshal

func (m *Params) Unmarshal(dAtA []byte) error

func (*Params) Validate

func (p *Params) Validate() error

func (*Params) XXX_DiscardUnknown

func (m *Params) XXX_DiscardUnknown()

func (*Params) XXX_Marshal

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

func (*Params) XXX_Merge

func (m *Params) XXX_Merge(src proto.Message)

func (*Params) XXX_Size

func (m *Params) XXX_Size() int

func (*Params) XXX_Unmarshal

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

type QueryAllZonesRequest

type QueryAllZonesRequest struct {
}

QueryAllZonesRequest is the request type for Query/AllZones.

func (*QueryAllZonesRequest) Descriptor

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

func (*QueryAllZonesRequest) Marshal

func (m *QueryAllZonesRequest) Marshal() (dAtA []byte, err error)

func (*QueryAllZonesRequest) MarshalTo

func (m *QueryAllZonesRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryAllZonesRequest) MarshalToSizedBuffer

func (m *QueryAllZonesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAllZonesRequest) ProtoMessage

func (*QueryAllZonesRequest) ProtoMessage()

func (*QueryAllZonesRequest) Reset

func (m *QueryAllZonesRequest) Reset()

func (*QueryAllZonesRequest) Size

func (m *QueryAllZonesRequest) Size() (n int)

func (*QueryAllZonesRequest) String

func (m *QueryAllZonesRequest) String() string

func (*QueryAllZonesRequest) Unmarshal

func (m *QueryAllZonesRequest) Unmarshal(dAtA []byte) error

func (*QueryAllZonesRequest) XXX_DiscardUnknown

func (m *QueryAllZonesRequest) XXX_DiscardUnknown()

func (*QueryAllZonesRequest) XXX_Marshal

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

func (*QueryAllZonesRequest) XXX_Merge

func (m *QueryAllZonesRequest) XXX_Merge(src proto.Message)

func (*QueryAllZonesRequest) XXX_Size

func (m *QueryAllZonesRequest) XXX_Size() int

func (*QueryAllZonesRequest) XXX_Unmarshal

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

type QueryAllZonesResponse

type QueryAllZonesResponse struct {
	Zones []*RegisteredZone `protobuf:"bytes,1,rep,name=zones,proto3" json:"zones,omitempty"`
}

QueryAllZonesResponse is the response type for Query/AllZones.

func (*QueryAllZonesResponse) Descriptor

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

func (*QueryAllZonesResponse) GetZones

func (m *QueryAllZonesResponse) GetZones() []*RegisteredZone

func (*QueryAllZonesResponse) Marshal

func (m *QueryAllZonesResponse) Marshal() (dAtA []byte, err error)

func (*QueryAllZonesResponse) MarshalTo

func (m *QueryAllZonesResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryAllZonesResponse) MarshalToSizedBuffer

func (m *QueryAllZonesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAllZonesResponse) ProtoMessage

func (*QueryAllZonesResponse) ProtoMessage()

func (*QueryAllZonesResponse) Reset

func (m *QueryAllZonesResponse) Reset()

func (*QueryAllZonesResponse) Size

func (m *QueryAllZonesResponse) Size() (n int)

func (*QueryAllZonesResponse) String

func (m *QueryAllZonesResponse) String() string

func (*QueryAllZonesResponse) Unmarshal

func (m *QueryAllZonesResponse) Unmarshal(dAtA []byte) error

func (*QueryAllZonesResponse) XXX_DiscardUnknown

func (m *QueryAllZonesResponse) XXX_DiscardUnknown()

func (*QueryAllZonesResponse) XXX_Marshal

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

func (*QueryAllZonesResponse) XXX_Merge

func (m *QueryAllZonesResponse) XXX_Merge(src proto.Message)

func (*QueryAllZonesResponse) XXX_Size

func (m *QueryAllZonesResponse) XXX_Size() int

func (*QueryAllZonesResponse) XXX_Unmarshal

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

type QueryAutoStakingVersion

type QueryAutoStakingVersion struct {
	ZoneId string `protobuf:"bytes,1,opt,name=zone_id,json=zoneId,proto3" json:"zone_id,omitempty"`
}

func (*QueryAutoStakingVersion) Descriptor

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

func (*QueryAutoStakingVersion) GetZoneId

func (m *QueryAutoStakingVersion) GetZoneId() string

func (*QueryAutoStakingVersion) Marshal

func (m *QueryAutoStakingVersion) Marshal() (dAtA []byte, err error)

func (*QueryAutoStakingVersion) MarshalTo

func (m *QueryAutoStakingVersion) MarshalTo(dAtA []byte) (int, error)

func (*QueryAutoStakingVersion) MarshalToSizedBuffer

func (m *QueryAutoStakingVersion) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAutoStakingVersion) ProtoMessage

func (*QueryAutoStakingVersion) ProtoMessage()

func (*QueryAutoStakingVersion) Reset

func (m *QueryAutoStakingVersion) Reset()

func (*QueryAutoStakingVersion) Size

func (m *QueryAutoStakingVersion) Size() (n int)

func (*QueryAutoStakingVersion) String

func (m *QueryAutoStakingVersion) String() string

func (*QueryAutoStakingVersion) Unmarshal

func (m *QueryAutoStakingVersion) Unmarshal(dAtA []byte) error

func (*QueryAutoStakingVersion) XXX_DiscardUnknown

func (m *QueryAutoStakingVersion) XXX_DiscardUnknown()

func (*QueryAutoStakingVersion) XXX_Marshal

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

func (*QueryAutoStakingVersion) XXX_Merge

func (m *QueryAutoStakingVersion) XXX_Merge(src proto.Message)

func (*QueryAutoStakingVersion) XXX_Size

func (m *QueryAutoStakingVersion) XXX_Size() int

func (*QueryAutoStakingVersion) XXX_Unmarshal

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

type QueryAutoStakingVersionResponse

type QueryAutoStakingVersionResponse struct {
	VersionInfo *IBCTrace `protobuf:"bytes,1,opt,name=version_info,json=versionInfo,proto3" json:"version_info,omitempty"`
}

func (*QueryAutoStakingVersionResponse) Descriptor

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

func (*QueryAutoStakingVersionResponse) GetVersionInfo added in v0.6.1

func (m *QueryAutoStakingVersionResponse) GetVersionInfo() *IBCTrace

func (*QueryAutoStakingVersionResponse) Marshal

func (m *QueryAutoStakingVersionResponse) Marshal() (dAtA []byte, err error)

func (*QueryAutoStakingVersionResponse) MarshalTo

func (m *QueryAutoStakingVersionResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryAutoStakingVersionResponse) MarshalToSizedBuffer

func (m *QueryAutoStakingVersionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAutoStakingVersionResponse) ProtoMessage

func (*QueryAutoStakingVersionResponse) ProtoMessage()

func (*QueryAutoStakingVersionResponse) Reset

func (*QueryAutoStakingVersionResponse) Size

func (m *QueryAutoStakingVersionResponse) Size() (n int)

func (*QueryAutoStakingVersionResponse) String

func (*QueryAutoStakingVersionResponse) Unmarshal

func (m *QueryAutoStakingVersionResponse) Unmarshal(dAtA []byte) error

func (*QueryAutoStakingVersionResponse) XXX_DiscardUnknown

func (m *QueryAutoStakingVersionResponse) XXX_DiscardUnknown()

func (*QueryAutoStakingVersionResponse) XXX_Marshal

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

func (*QueryAutoStakingVersionResponse) XXX_Merge

func (m *QueryAutoStakingVersionResponse) XXX_Merge(src proto.Message)

func (*QueryAutoStakingVersionResponse) XXX_Size

func (m *QueryAutoStakingVersionResponse) XXX_Size() int

func (*QueryAutoStakingVersionResponse) XXX_Unmarshal

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

type QueryClient

type QueryClient interface {
	// AllZones returns all the zones registered.
	AllZones(ctx context.Context, in *QueryAllZonesRequest, opts ...grpc.CallOption) (*QueryAllZonesResponse, error)
	Zone(ctx context.Context, in *QueryZoneRequest, opts ...grpc.CallOption) (*QueryZoneResponse, error)
	AutoStakingVersion(ctx context.Context, in *QueryAutoStakingVersion, opts ...grpc.CallOption) (*QueryAutoStakingVersionResponse, error)
}

QueryClient is the client API for Query service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewQueryClient

func NewQueryClient(cc grpc1.ClientConn) QueryClient

type QueryCurrentAutoStakingVersion added in v0.6.1

type QueryCurrentAutoStakingVersion struct {
	ZoneId string `protobuf:"bytes,1,opt,name=zone_id,json=zoneId,proto3" json:"zone_id,omitempty"`
}

func (*QueryCurrentAutoStakingVersion) Descriptor added in v0.6.1

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

func (*QueryCurrentAutoStakingVersion) GetZoneId added in v0.6.1

func (m *QueryCurrentAutoStakingVersion) GetZoneId() string

func (*QueryCurrentAutoStakingVersion) Marshal added in v0.6.1

func (m *QueryCurrentAutoStakingVersion) Marshal() (dAtA []byte, err error)

func (*QueryCurrentAutoStakingVersion) MarshalTo added in v0.6.1

func (m *QueryCurrentAutoStakingVersion) MarshalTo(dAtA []byte) (int, error)

func (*QueryCurrentAutoStakingVersion) MarshalToSizedBuffer added in v0.6.1

func (m *QueryCurrentAutoStakingVersion) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryCurrentAutoStakingVersion) ProtoMessage added in v0.6.1

func (*QueryCurrentAutoStakingVersion) ProtoMessage()

func (*QueryCurrentAutoStakingVersion) Reset added in v0.6.1

func (m *QueryCurrentAutoStakingVersion) Reset()

func (*QueryCurrentAutoStakingVersion) Size added in v0.6.1

func (m *QueryCurrentAutoStakingVersion) Size() (n int)

func (*QueryCurrentAutoStakingVersion) String added in v0.6.1

func (*QueryCurrentAutoStakingVersion) Unmarshal added in v0.6.1

func (m *QueryCurrentAutoStakingVersion) Unmarshal(dAtA []byte) error

func (*QueryCurrentAutoStakingVersion) XXX_DiscardUnknown added in v0.6.1

func (m *QueryCurrentAutoStakingVersion) XXX_DiscardUnknown()

func (*QueryCurrentAutoStakingVersion) XXX_Marshal added in v0.6.1

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

func (*QueryCurrentAutoStakingVersion) XXX_Merge added in v0.6.1

func (m *QueryCurrentAutoStakingVersion) XXX_Merge(src proto.Message)

func (*QueryCurrentAutoStakingVersion) XXX_Size added in v0.6.1

func (m *QueryCurrentAutoStakingVersion) XXX_Size() int

func (*QueryCurrentAutoStakingVersion) XXX_Unmarshal added in v0.6.1

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

type QueryCurrentAutoStakingVersionResponse added in v0.6.1

type QueryCurrentAutoStakingVersionResponse struct {
	Version uint64 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
}

func (*QueryCurrentAutoStakingVersionResponse) Descriptor added in v0.6.1

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

func (*QueryCurrentAutoStakingVersionResponse) GetVersion added in v0.6.1

func (*QueryCurrentAutoStakingVersionResponse) Marshal added in v0.6.1

func (m *QueryCurrentAutoStakingVersionResponse) Marshal() (dAtA []byte, err error)

func (*QueryCurrentAutoStakingVersionResponse) MarshalTo added in v0.6.1

func (m *QueryCurrentAutoStakingVersionResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryCurrentAutoStakingVersionResponse) MarshalToSizedBuffer added in v0.6.1

func (m *QueryCurrentAutoStakingVersionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryCurrentAutoStakingVersionResponse) ProtoMessage added in v0.6.1

func (*QueryCurrentAutoStakingVersionResponse) Reset added in v0.6.1

func (*QueryCurrentAutoStakingVersionResponse) Size added in v0.6.1

func (*QueryCurrentAutoStakingVersionResponse) String added in v0.6.1

func (*QueryCurrentAutoStakingVersionResponse) Unmarshal added in v0.6.1

func (m *QueryCurrentAutoStakingVersionResponse) Unmarshal(dAtA []byte) error

func (*QueryCurrentAutoStakingVersionResponse) XXX_DiscardUnknown added in v0.6.1

func (m *QueryCurrentAutoStakingVersionResponse) XXX_DiscardUnknown()

func (*QueryCurrentAutoStakingVersionResponse) XXX_Marshal added in v0.6.1

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

func (*QueryCurrentAutoStakingVersionResponse) XXX_Merge added in v0.6.1

func (*QueryCurrentAutoStakingVersionResponse) XXX_Size added in v0.6.1

func (*QueryCurrentAutoStakingVersionResponse) XXX_Unmarshal added in v0.6.1

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

type QueryServer

type QueryServer interface {
	// AllZones returns all the zones registered.
	AllZones(context.Context, *QueryAllZonesRequest) (*QueryAllZonesResponse, error)
	Zone(context.Context, *QueryZoneRequest) (*QueryZoneResponse, error)
	AutoStakingVersion(context.Context, *QueryAutoStakingVersion) (*QueryAutoStakingVersionResponse, error)
}

QueryServer is the server API for Query service.

type QueryZoneRequest

type QueryZoneRequest struct {
	ZoneId string `protobuf:"bytes,1,opt,name=zone_id,json=zoneId,proto3" json:"zone_id,omitempty"`
}

QueryZoneRequest is the request type for Query/Zone.

func (*QueryZoneRequest) Descriptor

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

func (*QueryZoneRequest) GetZoneId

func (m *QueryZoneRequest) GetZoneId() string

func (*QueryZoneRequest) Marshal

func (m *QueryZoneRequest) Marshal() (dAtA []byte, err error)

func (*QueryZoneRequest) MarshalTo

func (m *QueryZoneRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryZoneRequest) MarshalToSizedBuffer

func (m *QueryZoneRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryZoneRequest) ProtoMessage

func (*QueryZoneRequest) ProtoMessage()

func (*QueryZoneRequest) Reset

func (m *QueryZoneRequest) Reset()

func (*QueryZoneRequest) Size

func (m *QueryZoneRequest) Size() (n int)

func (*QueryZoneRequest) String

func (m *QueryZoneRequest) String() string

func (*QueryZoneRequest) Unmarshal

func (m *QueryZoneRequest) Unmarshal(dAtA []byte) error

func (*QueryZoneRequest) XXX_DiscardUnknown

func (m *QueryZoneRequest) XXX_DiscardUnknown()

func (*QueryZoneRequest) XXX_Marshal

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

func (*QueryZoneRequest) XXX_Merge

func (m *QueryZoneRequest) XXX_Merge(src proto.Message)

func (*QueryZoneRequest) XXX_Size

func (m *QueryZoneRequest) XXX_Size() int

func (*QueryZoneRequest) XXX_Unmarshal

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

type QueryZoneResponse

type QueryZoneResponse struct {
	Zone *RegisteredZone `protobuf:"bytes,1,opt,name=zone,proto3" json:"zone,omitempty"`
}

QueryZoneResponse is the response type for Query/Zone.

func (*QueryZoneResponse) Descriptor

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

func (*QueryZoneResponse) GetZone

func (m *QueryZoneResponse) GetZone() *RegisteredZone

func (*QueryZoneResponse) Marshal

func (m *QueryZoneResponse) Marshal() (dAtA []byte, err error)

func (*QueryZoneResponse) MarshalTo

func (m *QueryZoneResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryZoneResponse) MarshalToSizedBuffer

func (m *QueryZoneResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryZoneResponse) ProtoMessage

func (*QueryZoneResponse) ProtoMessage()

func (*QueryZoneResponse) Reset

func (m *QueryZoneResponse) Reset()

func (*QueryZoneResponse) Size

func (m *QueryZoneResponse) Size() (n int)

func (*QueryZoneResponse) String

func (m *QueryZoneResponse) String() string

func (*QueryZoneResponse) Unmarshal

func (m *QueryZoneResponse) Unmarshal(dAtA []byte) error

func (*QueryZoneResponse) XXX_DiscardUnknown

func (m *QueryZoneResponse) XXX_DiscardUnknown()

func (*QueryZoneResponse) XXX_Marshal

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

func (*QueryZoneResponse) XXX_Merge

func (m *QueryZoneResponse) XXX_Merge(src proto.Message)

func (*QueryZoneResponse) XXX_Size

func (m *QueryZoneResponse) XXX_Size() int

func (*QueryZoneResponse) XXX_Unmarshal

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

type RegisteredZone

type RegisteredZone struct {
	ZoneId            string                  `protobuf:"bytes,1,opt,name=zone_id,json=zoneId,proto3" json:"zone_id,omitempty"`
	IcaConnectionInfo *IcaConnectionInfo      `protobuf:"bytes,2,opt,name=ica_connection_info,json=icaConnectionInfo,proto3" json:"ica_connection_info,omitempty"`
	IcaAccount        *IcaAccount             `protobuf:"bytes,3,opt,name=ica_account,json=icaAccount,proto3" json:"ica_account,omitempty"`
	TransferInfo      *TransferConnectionInfo `protobuf:"bytes,4,opt,name=transfer_info,json=transferInfo,proto3" json:"transfer_info,omitempty"`
	ValidatorAddress  string                  `protobuf:"bytes,5,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"`
	BaseDenom         string                  `protobuf:"bytes,6,opt,name=base_denom,json=baseDenom,proto3" json:"base_denom,omitempty"`
	SnDenom           string                  `protobuf:"bytes,7,opt,name=sn_denom,json=snDenom,proto3" json:"sn_denom,omitempty"`
	Decimal           int64                   `protobuf:"varint,8,opt,name=decimal,proto3" json:"decimal,omitempty"`
	MaxEntries        int64                   `protobuf:"varint,9,opt,name=max_entries,json=maxEntries,proto3" json:"max_entries,omitempty"`
}

func (*RegisteredZone) Descriptor

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

func (*RegisteredZone) GetBaseDenom

func (m *RegisteredZone) GetBaseDenom() string

func (*RegisteredZone) GetDecimal

func (m *RegisteredZone) GetDecimal() int64

func (*RegisteredZone) GetIcaAccount

func (m *RegisteredZone) GetIcaAccount() *IcaAccount

func (*RegisteredZone) GetIcaConnectionInfo

func (m *RegisteredZone) GetIcaConnectionInfo() *IcaConnectionInfo

func (*RegisteredZone) GetMaxEntries

func (m *RegisteredZone) GetMaxEntries() int64

func (*RegisteredZone) GetSnDenom

func (m *RegisteredZone) GetSnDenom() string

func (*RegisteredZone) GetTransferInfo

func (m *RegisteredZone) GetTransferInfo() *TransferConnectionInfo

func (*RegisteredZone) GetValidatorAddress

func (m *RegisteredZone) GetValidatorAddress() string

func (*RegisteredZone) GetZoneId

func (m *RegisteredZone) GetZoneId() string

func (*RegisteredZone) Marshal

func (m *RegisteredZone) Marshal() (dAtA []byte, err error)

func (*RegisteredZone) MarshalTo

func (m *RegisteredZone) MarshalTo(dAtA []byte) (int, error)

func (*RegisteredZone) MarshalToSizedBuffer

func (m *RegisteredZone) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RegisteredZone) ProtoMessage

func (*RegisteredZone) ProtoMessage()

func (*RegisteredZone) Reset

func (m *RegisteredZone) Reset()

func (*RegisteredZone) Size

func (m *RegisteredZone) Size() (n int)

func (*RegisteredZone) String

func (m *RegisteredZone) String() string

func (*RegisteredZone) Unmarshal

func (m *RegisteredZone) Unmarshal(dAtA []byte) error

func (*RegisteredZone) XXX_DiscardUnknown

func (m *RegisteredZone) XXX_DiscardUnknown()

func (*RegisteredZone) XXX_Marshal

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

func (*RegisteredZone) XXX_Merge

func (m *RegisteredZone) XXX_Merge(src proto.Message)

func (*RegisteredZone) XXX_Size

func (m *RegisteredZone) XXX_Size() int

func (*RegisteredZone) XXX_Unmarshal

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

type TransferConnectionInfo

type TransferConnectionInfo struct {
	ChannelId string `protobuf:"bytes,1,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
	PortId    string `protobuf:"bytes,2,opt,name=port_id,json=portId,proto3" json:"port_id,omitempty"`
}

transfer connection info

func (*TransferConnectionInfo) Descriptor

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

func (*TransferConnectionInfo) GetChannelId

func (m *TransferConnectionInfo) GetChannelId() string

func (*TransferConnectionInfo) GetPortId

func (m *TransferConnectionInfo) GetPortId() string

func (*TransferConnectionInfo) Marshal

func (m *TransferConnectionInfo) Marshal() (dAtA []byte, err error)

func (*TransferConnectionInfo) MarshalTo

func (m *TransferConnectionInfo) MarshalTo(dAtA []byte) (int, error)

func (*TransferConnectionInfo) MarshalToSizedBuffer

func (m *TransferConnectionInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TransferConnectionInfo) ProtoMessage

func (*TransferConnectionInfo) ProtoMessage()

func (*TransferConnectionInfo) Reset

func (m *TransferConnectionInfo) Reset()

func (*TransferConnectionInfo) Size

func (m *TransferConnectionInfo) Size() (n int)

func (*TransferConnectionInfo) String

func (m *TransferConnectionInfo) String() string

func (*TransferConnectionInfo) Unmarshal

func (m *TransferConnectionInfo) Unmarshal(dAtA []byte) error

func (*TransferConnectionInfo) XXX_DiscardUnknown

func (m *TransferConnectionInfo) XXX_DiscardUnknown()

func (*TransferConnectionInfo) XXX_Marshal

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

func (*TransferConnectionInfo) XXX_Merge

func (m *TransferConnectionInfo) XXX_Merge(src proto.Message)

func (*TransferConnectionInfo) XXX_Size

func (m *TransferConnectionInfo) XXX_Size() int

func (*TransferConnectionInfo) XXX_Unmarshal

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

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer can be embedded to have forward compatible implementations.

func (*UnimplementedMsgServer) ChangeRegisteredZone

func (*UnimplementedMsgServer) DeleteRegisteredZone

func (*UnimplementedMsgServer) IcaAuthzGrant

func (*UnimplementedMsgServer) IcaAuthzRevoke

func (*UnimplementedMsgServer) IcaAutoStaking

func (*UnimplementedMsgServer) IcaDelegate

func (*UnimplementedMsgServer) IcaTransfer

func (*UnimplementedMsgServer) IcaUndelegate

func (*UnimplementedMsgServer) RegisterZone

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) AllZones

func (*UnimplementedQueryServer) AutoStakingVersion

func (*UnimplementedQueryServer) Zone

type VersionState added in v0.6.1

type VersionState struct {
	ZoneId         string               `protobuf:"bytes,1,opt,name=zoneId,proto3" json:"zoneId,omitempty"`
	CurrentVersion uint64               `protobuf:"varint,2,opt,name=current_version,json=currentVersion,proto3" json:"current_version,omitempty"`
	Record         map[uint64]*IBCTrace `` /* 154-byte string literal not displayed */
}

func (*VersionState) Descriptor added in v0.6.1

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

func (*VersionState) GetCurrentVersion added in v0.6.1

func (m *VersionState) GetCurrentVersion() uint64

func (*VersionState) GetRecord added in v0.6.1

func (m *VersionState) GetRecord() map[uint64]*IBCTrace

func (*VersionState) GetZoneId added in v0.6.1

func (m *VersionState) GetZoneId() string

func (*VersionState) Marshal added in v0.6.1

func (m *VersionState) Marshal() (dAtA []byte, err error)

func (*VersionState) MarshalTo added in v0.6.1

func (m *VersionState) MarshalTo(dAtA []byte) (int, error)

func (*VersionState) MarshalToSizedBuffer added in v0.6.1

func (m *VersionState) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*VersionState) ProtoMessage added in v0.6.1

func (*VersionState) ProtoMessage()

func (*VersionState) Reset added in v0.6.1

func (m *VersionState) Reset()

func (*VersionState) Size added in v0.6.1

func (m *VersionState) Size() (n int)

func (*VersionState) String added in v0.6.1

func (m *VersionState) String() string

func (*VersionState) Unmarshal added in v0.6.1

func (m *VersionState) Unmarshal(dAtA []byte) error

func (*VersionState) XXX_DiscardUnknown added in v0.6.1

func (m *VersionState) XXX_DiscardUnknown()

func (*VersionState) XXX_Marshal added in v0.6.1

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

func (*VersionState) XXX_Merge added in v0.6.1

func (m *VersionState) XXX_Merge(src proto.Message)

func (*VersionState) XXX_Size added in v0.6.1

func (m *VersionState) XXX_Size() int

func (*VersionState) XXX_Unmarshal added in v0.6.1

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

Jump to

Keyboard shortcuts

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