types

package
v0.6.7-rc3 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2022 License: Apache-2.0 Imports: 36 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"
)
View Source
const (
	ProposalTypeRegisterZone = "RegisterZone"
)

Variables

View Source
var (
	ErrIBCAccountAlreadyExist = errors.Register(ModuleName, 2, "interchain account already registered")
	ErrIBCAccountNotExist     = errors.Register(ModuleName, 3, "interchain account not exist")
	ErrMsgNotFound            = errors.Register(ModuleName, 4, "message not found ")
	ErrMsgNotNil              = errors.Register(ModuleName, 5, "message is not nil")
	ErrNotFoundZoneInfo       = errors.Register(ModuleName, 6, "registered zone not found with given name")
	ErrZoneIdNotNil           = errors.Register(ModuleName, 7, "zone Id is not nil")
	ErrNotFoundHostAddr       = errors.Register(ModuleName, 8, "host address is not found")
	ErrDenomDuplicates        = errors.Register(ModuleName, 9, "denom is already exists")
	ErrInvalidPortId          = errors.Register(ModuleName, 10, "invalid port id")
	ErrInvalidConnId          = errors.Register(ModuleName, 11, "invalid connection id")
	ErrInvalidAck             = errors.Register(ModuleName, 12, "ack is not receive")
)
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 (
	ErrInvalidLengthGov        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGov          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGov = 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}
	KeyAutoStakingVersion = []byte{0x02}

	KeyControllerAddress = []byte{0x03}
	KeyZoneProposal      = []byte{0x04}
)
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 (
	KeyControllerManager = []byte("DaoModifierAddress")
)
View Source
var (
	ModuleCdc = codec.NewAminoCodec(amino)
)

Functions

func NewRegisterZoneProposal added in v0.6.4

func NewRegisterZoneProposal(title, description string, zoneInfo ZoneProposalInfo) govtypes.Content

NewRegisterZoneProposal returns a new instance of a replace pool incentives proposal struct.

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 ControllerAddressInfo added in v0.6.2

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

func (*ControllerAddressInfo) Descriptor added in v0.6.2

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

func (*ControllerAddressInfo) GetControllerAddress added in v0.6.2

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

func (*ControllerAddressInfo) GetZoneId added in v0.6.2

func (m *ControllerAddressInfo) GetZoneId() string

func (*ControllerAddressInfo) Marshal added in v0.6.2

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

func (*ControllerAddressInfo) MarshalTo added in v0.6.2

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

func (*ControllerAddressInfo) MarshalToSizedBuffer added in v0.6.2

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

func (*ControllerAddressInfo) ProtoMessage added in v0.6.2

func (*ControllerAddressInfo) ProtoMessage()

func (*ControllerAddressInfo) Reset added in v0.6.2

func (m *ControllerAddressInfo) Reset()

func (*ControllerAddressInfo) Size added in v0.6.2

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

func (*ControllerAddressInfo) String added in v0.6.2

func (m *ControllerAddressInfo) String() string

func (*ControllerAddressInfo) Unmarshal added in v0.6.2

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

func (*ControllerAddressInfo) XXX_DiscardUnknown added in v0.6.2

func (m *ControllerAddressInfo) XXX_DiscardUnknown()

func (*ControllerAddressInfo) XXX_Marshal added in v0.6.2

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

func (*ControllerAddressInfo) XXX_Merge added in v0.6.2

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

func (*ControllerAddressInfo) XXX_Size added in v0.6.2

func (m *ControllerAddressInfo) XXX_Size() int

func (*ControllerAddressInfo) XXX_Unmarshal added in v0.6.2

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

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 EventChangeRegisteredZone added in v0.6.4

type EventChangeRegisteredZone 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"`
	UndelegateMaxEntries int64                   `protobuf:"varint,9,opt,name=undelegate_max_entries,json=undelegateMaxEntries,proto3" json:"undelegate_max_entries,omitempty"`
	DepositMaxEntries    int64                   `protobuf:"varint,10,opt,name=deposit_max_entries,json=depositMaxEntries,proto3" json:"deposit_max_entries,omitempty"`
}

func NewEventChangeRegisterZone added in v0.6.4

func NewEventChangeRegisterZone(zoneInfo *RegisteredZone) *EventChangeRegisteredZone

func (*EventChangeRegisteredZone) Descriptor added in v0.6.4

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

func (*EventChangeRegisteredZone) GetBaseDenom added in v0.6.4

func (m *EventChangeRegisteredZone) GetBaseDenom() string

func (*EventChangeRegisteredZone) GetDecimal added in v0.6.4

func (m *EventChangeRegisteredZone) GetDecimal() int64

func (*EventChangeRegisteredZone) GetDepositMaxEntries added in v0.6.4

func (m *EventChangeRegisteredZone) GetDepositMaxEntries() int64

func (*EventChangeRegisteredZone) GetIcaAccount added in v0.6.4

func (m *EventChangeRegisteredZone) GetIcaAccount() *IcaAccount

func (*EventChangeRegisteredZone) GetIcaInfo added in v0.6.4

func (*EventChangeRegisteredZone) GetSnDenom added in v0.6.4

func (m *EventChangeRegisteredZone) GetSnDenom() string

func (*EventChangeRegisteredZone) GetTransferInfo added in v0.6.4

func (m *EventChangeRegisteredZone) GetTransferInfo() *TransferConnectionInfo

func (*EventChangeRegisteredZone) GetUndelegateMaxEntries added in v0.6.4

func (m *EventChangeRegisteredZone) GetUndelegateMaxEntries() int64

func (*EventChangeRegisteredZone) GetValidatorAddress added in v0.6.4

func (m *EventChangeRegisteredZone) GetValidatorAddress() string

func (*EventChangeRegisteredZone) GetZoneId added in v0.6.4

func (m *EventChangeRegisteredZone) GetZoneId() string

func (*EventChangeRegisteredZone) Marshal added in v0.6.4

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

func (*EventChangeRegisteredZone) MarshalTo added in v0.6.4

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

func (*EventChangeRegisteredZone) MarshalToSizedBuffer added in v0.6.4

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

func (*EventChangeRegisteredZone) ProtoMessage added in v0.6.4

func (*EventChangeRegisteredZone) ProtoMessage()

func (*EventChangeRegisteredZone) Reset added in v0.6.4

func (m *EventChangeRegisteredZone) Reset()

func (*EventChangeRegisteredZone) Size added in v0.6.4

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

func (*EventChangeRegisteredZone) String added in v0.6.4

func (m *EventChangeRegisteredZone) String() string

func (*EventChangeRegisteredZone) Unmarshal added in v0.6.4

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

func (*EventChangeRegisteredZone) XXX_DiscardUnknown added in v0.6.4

func (m *EventChangeRegisteredZone) XXX_DiscardUnknown()

func (*EventChangeRegisteredZone) XXX_Marshal added in v0.6.4

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

func (*EventChangeRegisteredZone) XXX_Merge added in v0.6.4

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

func (*EventChangeRegisteredZone) XXX_Size added in v0.6.4

func (m *EventChangeRegisteredZone) XXX_Size() int

func (*EventChangeRegisteredZone) XXX_Unmarshal added in v0.6.4

func (m *EventChangeRegisteredZone) 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 EventDeleteZone added in v0.6.4

type EventDeleteZone 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"`
}

func NewEventDeleteZone added in v0.6.4

func NewEventDeleteZone(zoneInfo *MsgDeleteRegisteredZone) *EventDeleteZone

func (*EventDeleteZone) Descriptor added in v0.6.4

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

func (*EventDeleteZone) GetControllerAddress added in v0.6.4

func (m *EventDeleteZone) GetControllerAddress() string

func (*EventDeleteZone) GetZoneId added in v0.6.4

func (m *EventDeleteZone) GetZoneId() string

func (*EventDeleteZone) Marshal added in v0.6.4

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

func (*EventDeleteZone) MarshalTo added in v0.6.4

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

func (*EventDeleteZone) MarshalToSizedBuffer added in v0.6.4

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

func (*EventDeleteZone) ProtoMessage added in v0.6.4

func (*EventDeleteZone) ProtoMessage()

func (*EventDeleteZone) Reset added in v0.6.4

func (m *EventDeleteZone) Reset()

func (*EventDeleteZone) Size added in v0.6.4

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

func (*EventDeleteZone) String added in v0.6.4

func (m *EventDeleteZone) String() string

func (*EventDeleteZone) Unmarshal added in v0.6.4

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

func (*EventDeleteZone) XXX_DiscardUnknown added in v0.6.4

func (m *EventDeleteZone) XXX_DiscardUnknown()

func (*EventDeleteZone) XXX_Marshal added in v0.6.4

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

func (*EventDeleteZone) XXX_Merge added in v0.6.4

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

func (*EventDeleteZone) XXX_Size added in v0.6.4

func (m *EventDeleteZone) XXX_Size() int

func (*EventDeleteZone) XXX_Unmarshal added in v0.6.4

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

type EventIcaAuthzGrant added in v0.6.4

type EventIcaAuthzGrant 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"`
}

func NewEventIcaAuthzGrant added in v0.6.4

func NewEventIcaAuthzGrant(icaAuthzGrant *MsgIcaAuthzGrant) *EventIcaAuthzGrant

func (*EventIcaAuthzGrant) Descriptor added in v0.6.4

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

func (*EventIcaAuthzGrant) GetControllerAddress added in v0.6.4

func (m *EventIcaAuthzGrant) GetControllerAddress() string

func (*EventIcaAuthzGrant) GetGrant added in v0.6.4

func (m *EventIcaAuthzGrant) GetGrant() authz.Grant

func (*EventIcaAuthzGrant) GetGrantee added in v0.6.4

func (m *EventIcaAuthzGrant) GetGrantee() string

func (*EventIcaAuthzGrant) GetZoneId added in v0.6.4

func (m *EventIcaAuthzGrant) GetZoneId() string

func (*EventIcaAuthzGrant) Marshal added in v0.6.4

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

func (*EventIcaAuthzGrant) MarshalTo added in v0.6.4

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

func (*EventIcaAuthzGrant) MarshalToSizedBuffer added in v0.6.4

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

func (*EventIcaAuthzGrant) ProtoMessage added in v0.6.4

func (*EventIcaAuthzGrant) ProtoMessage()

func (*EventIcaAuthzGrant) Reset added in v0.6.4

func (m *EventIcaAuthzGrant) Reset()

func (*EventIcaAuthzGrant) Size added in v0.6.4

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

func (*EventIcaAuthzGrant) String added in v0.6.4

func (m *EventIcaAuthzGrant) String() string

func (*EventIcaAuthzGrant) Unmarshal added in v0.6.4

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

func (*EventIcaAuthzGrant) XXX_DiscardUnknown added in v0.6.4

func (m *EventIcaAuthzGrant) XXX_DiscardUnknown()

func (*EventIcaAuthzGrant) XXX_Marshal added in v0.6.4

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

func (*EventIcaAuthzGrant) XXX_Merge added in v0.6.4

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

func (*EventIcaAuthzGrant) XXX_Size added in v0.6.4

func (m *EventIcaAuthzGrant) XXX_Size() int

func (*EventIcaAuthzGrant) XXX_Unmarshal added in v0.6.4

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

type EventIcaAuthzRevoke added in v0.6.4

type EventIcaAuthzRevoke 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"`
}

func NewEventIcaAuthzRevoke added in v0.6.4

func NewEventIcaAuthzRevoke(icaAuthzRevoke *MsgIcaAuthzRevoke) *EventIcaAuthzRevoke

func (*EventIcaAuthzRevoke) Descriptor added in v0.6.4

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

func (*EventIcaAuthzRevoke) GetControllerAddress added in v0.6.4

func (m *EventIcaAuthzRevoke) GetControllerAddress() string

func (*EventIcaAuthzRevoke) GetGrantee added in v0.6.4

func (m *EventIcaAuthzRevoke) GetGrantee() string

func (*EventIcaAuthzRevoke) GetMsgTypeUrl added in v0.6.4

func (m *EventIcaAuthzRevoke) GetMsgTypeUrl() string

func (*EventIcaAuthzRevoke) GetZoneId added in v0.6.4

func (m *EventIcaAuthzRevoke) GetZoneId() string

func (*EventIcaAuthzRevoke) Marshal added in v0.6.4

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

func (*EventIcaAuthzRevoke) MarshalTo added in v0.6.4

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

func (*EventIcaAuthzRevoke) MarshalToSizedBuffer added in v0.6.4

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

func (*EventIcaAuthzRevoke) ProtoMessage added in v0.6.4

func (*EventIcaAuthzRevoke) ProtoMessage()

func (*EventIcaAuthzRevoke) Reset added in v0.6.4

func (m *EventIcaAuthzRevoke) Reset()

func (*EventIcaAuthzRevoke) Size added in v0.6.4

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

func (*EventIcaAuthzRevoke) String added in v0.6.4

func (m *EventIcaAuthzRevoke) String() string

func (*EventIcaAuthzRevoke) Unmarshal added in v0.6.4

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

func (*EventIcaAuthzRevoke) XXX_DiscardUnknown added in v0.6.4

func (m *EventIcaAuthzRevoke) XXX_DiscardUnknown()

func (*EventIcaAuthzRevoke) XXX_Marshal added in v0.6.4

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

func (*EventIcaAuthzRevoke) XXX_Merge added in v0.6.4

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

func (*EventIcaAuthzRevoke) XXX_Size added in v0.6.4

func (m *EventIcaAuthzRevoke) XXX_Size() int

func (*EventIcaAuthzRevoke) XXX_Unmarshal added in v0.6.4

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

type EventIcaAutoStaking added in v0.6.4

type EventIcaAutoStaking 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"`
	Amount            types.Coin `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount"`
}

func NewEventIcaAutoStaking added in v0.6.4

func NewEventIcaAutoStaking(icaAutoStaking *MsgIcaAutoStaking) *EventIcaAutoStaking

func (*EventIcaAutoStaking) Descriptor added in v0.6.4

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

func (*EventIcaAutoStaking) GetAmount added in v0.6.4

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

func (*EventIcaAutoStaking) GetControllerAddress added in v0.6.4

func (m *EventIcaAutoStaking) GetControllerAddress() string

func (*EventIcaAutoStaking) GetZoneId added in v0.6.4

func (m *EventIcaAutoStaking) GetZoneId() string

func (*EventIcaAutoStaking) Marshal added in v0.6.4

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

func (*EventIcaAutoStaking) MarshalTo added in v0.6.4

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

func (*EventIcaAutoStaking) MarshalToSizedBuffer added in v0.6.4

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

func (*EventIcaAutoStaking) ProtoMessage added in v0.6.4

func (*EventIcaAutoStaking) ProtoMessage()

func (*EventIcaAutoStaking) Reset added in v0.6.4

func (m *EventIcaAutoStaking) Reset()

func (*EventIcaAutoStaking) Size added in v0.6.4

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

func (*EventIcaAutoStaking) String added in v0.6.4

func (m *EventIcaAutoStaking) String() string

func (*EventIcaAutoStaking) Unmarshal added in v0.6.4

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

func (*EventIcaAutoStaking) XXX_DiscardUnknown added in v0.6.4

func (m *EventIcaAutoStaking) XXX_DiscardUnknown()

func (*EventIcaAutoStaking) XXX_Marshal added in v0.6.4

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

func (*EventIcaAutoStaking) XXX_Merge added in v0.6.4

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

func (*EventIcaAutoStaking) XXX_Size added in v0.6.4

func (m *EventIcaAutoStaking) XXX_Size() int

func (*EventIcaAutoStaking) XXX_Unmarshal added in v0.6.4

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

type EventIcaDelegate added in v0.6.4

type EventIcaDelegate 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"`
	Amount            types.Coin `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount"`
}

func NewEventIcaDelegate added in v0.6.4

func NewEventIcaDelegate(delegateInfo *MsgIcaDelegate) *EventIcaDelegate

func (*EventIcaDelegate) Descriptor added in v0.6.4

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

func (*EventIcaDelegate) GetAmount added in v0.6.4

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

func (*EventIcaDelegate) GetControllerAddress added in v0.6.4

func (m *EventIcaDelegate) GetControllerAddress() string

func (*EventIcaDelegate) GetZoneId added in v0.6.4

func (m *EventIcaDelegate) GetZoneId() string

func (*EventIcaDelegate) Marshal added in v0.6.4

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

func (*EventIcaDelegate) MarshalTo added in v0.6.4

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

func (*EventIcaDelegate) MarshalToSizedBuffer added in v0.6.4

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

func (*EventIcaDelegate) ProtoMessage added in v0.6.4

func (*EventIcaDelegate) ProtoMessage()

func (*EventIcaDelegate) Reset added in v0.6.4

func (m *EventIcaDelegate) Reset()

func (*EventIcaDelegate) Size added in v0.6.4

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

func (*EventIcaDelegate) String added in v0.6.4

func (m *EventIcaDelegate) String() string

func (*EventIcaDelegate) Unmarshal added in v0.6.4

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

func (*EventIcaDelegate) XXX_DiscardUnknown added in v0.6.4

func (m *EventIcaDelegate) XXX_DiscardUnknown()

func (*EventIcaDelegate) XXX_Marshal added in v0.6.4

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

func (*EventIcaDelegate) XXX_Merge added in v0.6.4

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

func (*EventIcaDelegate) XXX_Size added in v0.6.4

func (m *EventIcaDelegate) XXX_Size() int

func (*EventIcaDelegate) XXX_Unmarshal added in v0.6.4

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

type EventIcaTransfer added in v0.6.4

type EventIcaTransfer 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"`
	ReceiverAddress      string     `protobuf:"bytes,3,opt,name=receiver_address,json=receiverAddress,proto3" json:"receiver_address,omitempty"`
	IcaTransferPortId    string     `protobuf:"bytes,4,opt,name=ica_transfer_port_id,json=icaTransferPortId,proto3" json:"ica_transfer_port_id,omitempty"`
	IcaTransferChannelId string     `protobuf:"bytes,5,opt,name=ica_transfer_channel_id,json=icaTransferChannelId,proto3" json:"ica_transfer_channel_id,omitempty"`
	Amount               types.Coin `protobuf:"bytes,6,opt,name=amount,proto3" json:"amount"`
}

func NewEventIcaTransfer added in v0.6.4

func NewEventIcaTransfer(transferInfo *MsgIcaTransfer) *EventIcaTransfer

func (*EventIcaTransfer) Descriptor added in v0.6.4

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

func (*EventIcaTransfer) GetAmount added in v0.6.4

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

func (*EventIcaTransfer) GetControllerAddress added in v0.6.4

func (m *EventIcaTransfer) GetControllerAddress() string

func (*EventIcaTransfer) GetIcaTransferChannelId added in v0.6.4

func (m *EventIcaTransfer) GetIcaTransferChannelId() string

func (*EventIcaTransfer) GetIcaTransferPortId added in v0.6.4

func (m *EventIcaTransfer) GetIcaTransferPortId() string

func (*EventIcaTransfer) GetReceiverAddress added in v0.6.4

func (m *EventIcaTransfer) GetReceiverAddress() string

func (*EventIcaTransfer) GetZoneId added in v0.6.4

func (m *EventIcaTransfer) GetZoneId() string

func (*EventIcaTransfer) Marshal added in v0.6.4

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

func (*EventIcaTransfer) MarshalTo added in v0.6.4

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

func (*EventIcaTransfer) MarshalToSizedBuffer added in v0.6.4

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

func (*EventIcaTransfer) ProtoMessage added in v0.6.4

func (*EventIcaTransfer) ProtoMessage()

func (*EventIcaTransfer) Reset added in v0.6.4

func (m *EventIcaTransfer) Reset()

func (*EventIcaTransfer) Size added in v0.6.4

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

func (*EventIcaTransfer) String added in v0.6.4

func (m *EventIcaTransfer) String() string

func (*EventIcaTransfer) Unmarshal added in v0.6.4

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

func (*EventIcaTransfer) XXX_DiscardUnknown added in v0.6.4

func (m *EventIcaTransfer) XXX_DiscardUnknown()

func (*EventIcaTransfer) XXX_Marshal added in v0.6.4

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

func (*EventIcaTransfer) XXX_Merge added in v0.6.4

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

func (*EventIcaTransfer) XXX_Size added in v0.6.4

func (m *EventIcaTransfer) XXX_Size() int

func (*EventIcaTransfer) XXX_Unmarshal added in v0.6.4

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

type EventIcaUndelegate added in v0.6.4

type EventIcaUndelegate 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"`
	Amount            types.Coin `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount"`
}

func NewEventIcaUndelegate added in v0.6.4

func NewEventIcaUndelegate(undelegateInfo *MsgIcaUndelegate) *EventIcaUndelegate

func (*EventIcaUndelegate) Descriptor added in v0.6.4

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

func (*EventIcaUndelegate) GetAmount added in v0.6.4

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

func (*EventIcaUndelegate) GetControllerAddress added in v0.6.4

func (m *EventIcaUndelegate) GetControllerAddress() string

func (*EventIcaUndelegate) GetZoneId added in v0.6.4

func (m *EventIcaUndelegate) GetZoneId() string

func (*EventIcaUndelegate) Marshal added in v0.6.4

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

func (*EventIcaUndelegate) MarshalTo added in v0.6.4

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

func (*EventIcaUndelegate) MarshalToSizedBuffer added in v0.6.4

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

func (*EventIcaUndelegate) ProtoMessage added in v0.6.4

func (*EventIcaUndelegate) ProtoMessage()

func (*EventIcaUndelegate) Reset added in v0.6.4

func (m *EventIcaUndelegate) Reset()

func (*EventIcaUndelegate) Size added in v0.6.4

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

func (*EventIcaUndelegate) String added in v0.6.4

func (m *EventIcaUndelegate) String() string

func (*EventIcaUndelegate) Unmarshal added in v0.6.4

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

func (*EventIcaUndelegate) XXX_DiscardUnknown added in v0.6.4

func (m *EventIcaUndelegate) XXX_DiscardUnknown()

func (*EventIcaUndelegate) XXX_Marshal added in v0.6.4

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

func (*EventIcaUndelegate) XXX_Merge added in v0.6.4

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

func (*EventIcaUndelegate) XXX_Size added in v0.6.4

func (m *EventIcaUndelegate) XXX_Size() int

func (*EventIcaUndelegate) XXX_Unmarshal added in v0.6.4

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

type EventRegisterControllerAddress added in v0.6.4

type EventRegisterControllerAddress 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"`
	FromAddress       string `protobuf:"bytes,3,opt,name=from_address,json=fromAddress,proto3" json:"from_address,omitempty"`
}

func NewEventRegisterControllerAddress added in v0.6.4

func NewEventRegisterControllerAddress(controllerAddressInfo *MsgRegisterControllerAddr) *EventRegisterControllerAddress

func (*EventRegisterControllerAddress) Descriptor added in v0.6.4

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

func (*EventRegisterControllerAddress) GetControllerAddress added in v0.6.4

func (m *EventRegisterControllerAddress) GetControllerAddress() string

func (*EventRegisterControllerAddress) GetFromAddress added in v0.6.4

func (m *EventRegisterControllerAddress) GetFromAddress() string

func (*EventRegisterControllerAddress) GetZoneId added in v0.6.4

func (m *EventRegisterControllerAddress) GetZoneId() string

func (*EventRegisterControllerAddress) Marshal added in v0.6.4

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

func (*EventRegisterControllerAddress) MarshalTo added in v0.6.4

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

func (*EventRegisterControllerAddress) MarshalToSizedBuffer added in v0.6.4

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

func (*EventRegisterControllerAddress) ProtoMessage added in v0.6.4

func (*EventRegisterControllerAddress) ProtoMessage()

func (*EventRegisterControllerAddress) Reset added in v0.6.4

func (m *EventRegisterControllerAddress) Reset()

func (*EventRegisterControllerAddress) Size added in v0.6.4

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

func (*EventRegisterControllerAddress) String added in v0.6.4

func (*EventRegisterControllerAddress) Unmarshal added in v0.6.4

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

func (*EventRegisterControllerAddress) XXX_DiscardUnknown added in v0.6.4

func (m *EventRegisterControllerAddress) XXX_DiscardUnknown()

func (*EventRegisterControllerAddress) XXX_Marshal added in v0.6.4

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

func (*EventRegisterControllerAddress) XXX_Merge added in v0.6.4

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

func (*EventRegisterControllerAddress) XXX_Size added in v0.6.4

func (m *EventRegisterControllerAddress) XXX_Size() int

func (*EventRegisterControllerAddress) XXX_Unmarshal added in v0.6.4

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

type EventRegisterZone added in v0.6.4

type EventRegisterZone 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"`
	UndelegateMaxEntries int64                   `protobuf:"varint,9,opt,name=undelegate_max_entries,json=undelegateMaxEntries,proto3" json:"undelegate_max_entries,omitempty"`
	DepositMaxEntries    int64                   `protobuf:"varint,10,opt,name=deposit_max_entries,json=depositMaxEntries,proto3" json:"deposit_max_entries,omitempty"`
}

func NewEventRegisterZone added in v0.6.4

func NewEventRegisterZone(zoneInfo *RegisteredZone) *EventRegisterZone

func (*EventRegisterZone) Descriptor added in v0.6.4

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

func (*EventRegisterZone) GetBaseDenom added in v0.6.4

func (m *EventRegisterZone) GetBaseDenom() string

func (*EventRegisterZone) GetDecimal added in v0.6.4

func (m *EventRegisterZone) GetDecimal() int64

func (*EventRegisterZone) GetDepositMaxEntries added in v0.6.4

func (m *EventRegisterZone) GetDepositMaxEntries() int64

func (*EventRegisterZone) GetIcaAccount added in v0.6.4

func (m *EventRegisterZone) GetIcaAccount() *IcaAccount

func (*EventRegisterZone) GetIcaConnectionInfo added in v0.6.4

func (m *EventRegisterZone) GetIcaConnectionInfo() *IcaConnectionInfo

func (*EventRegisterZone) GetSnDenom added in v0.6.4

func (m *EventRegisterZone) GetSnDenom() string

func (*EventRegisterZone) GetTransferInfo added in v0.6.4

func (m *EventRegisterZone) GetTransferInfo() *TransferConnectionInfo

func (*EventRegisterZone) GetUndelegateMaxEntries added in v0.6.4

func (m *EventRegisterZone) GetUndelegateMaxEntries() int64

func (*EventRegisterZone) GetValidatorAddress added in v0.6.4

func (m *EventRegisterZone) GetValidatorAddress() string

func (*EventRegisterZone) GetZoneId added in v0.6.4

func (m *EventRegisterZone) GetZoneId() string

func (*EventRegisterZone) Marshal added in v0.6.4

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

func (*EventRegisterZone) MarshalTo added in v0.6.4

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

func (*EventRegisterZone) MarshalToSizedBuffer added in v0.6.4

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

func (*EventRegisterZone) ProtoMessage added in v0.6.4

func (*EventRegisterZone) ProtoMessage()

func (*EventRegisterZone) Reset added in v0.6.4

func (m *EventRegisterZone) Reset()

func (*EventRegisterZone) Size added in v0.6.4

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

func (*EventRegisterZone) String added in v0.6.4

func (m *EventRegisterZone) String() string

func (*EventRegisterZone) Unmarshal added in v0.6.4

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

func (*EventRegisterZone) XXX_DiscardUnknown added in v0.6.4

func (m *EventRegisterZone) XXX_DiscardUnknown()

func (*EventRegisterZone) XXX_Marshal added in v0.6.4

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

func (*EventRegisterZone) XXX_Merge added in v0.6.4

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

func (*EventRegisterZone) XXX_Size added in v0.6.4

func (m *EventRegisterZone) XXX_Size() int

func (*EventRegisterZone) XXX_Unmarshal added in v0.6.4

func (m *EventRegisterZone) 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"`
	ControllerAddressInfo []*ControllerAddressInfo `` /* 126-byte string literal not displayed */
}

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) GetControllerAddressInfo added in v0.6.2

func (m *GenesisState) GetControllerAddressInfo() []*ControllerAddressInfo

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)
	AfterDelegateFail(sdk.Context, stakingtypes.MsgDelegate)
	AfterUndelegateFail(sdk.Context, stakingtypes.MsgUndelegate)
	AfterIcaWithdrawFail(sdk.Context, transfertypes.MsgTransfer)
}

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"`
	ChannelId    string `protobuf:"bytes,3,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
}

zone name, connection id, portID(owner address)

func (*IcaConnectionInfo) Descriptor

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

func (*IcaConnectionInfo) GetChannelId added in v0.6.7

func (m *IcaConnectionInfo) GetChannelId() string

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
	IcaFail
)

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"`
	UndelegateMaxEntries int64                   `protobuf:"varint,8,opt,name=undelegate_max_entries,json=undelegateMaxEntries,proto3" json:"undelegate_max_entries,omitempty"`
	DepositMaxEntries    int64                   `protobuf:"varint,9,opt,name=deposit_max_entries,json=depositMaxEntries,proto3" json:"deposit_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, depositMaxEntries, undelegateMaxEntries 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"`
	UndelegateMaxEntries int64                   `protobuf:"varint,9,opt,name=undelegate_max_entries,json=undelegateMaxEntries,proto3" json:"undelegate_max_entries,omitempty"`
	DepositMaxEntries    int64                   `protobuf:"varint,10,opt,name=deposit_max_entries,json=depositMaxEntries,proto3" json:"deposit_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)
	RegisterControllerAddress(ctx context.Context, in *MsgRegisterControllerAddr, opts ...grpc.CallOption) (*MsgRegisterControllerAddrResponse, 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"`
	ControllerAddress string     `protobuf:"bytes,2,opt,name=controller_address,json=controllerAddress,proto3" json:"controller_address,omitempty"`
	Amount            types.Coin `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount"`
	Version           uint64     `protobuf:"varint,4,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"`
	ControllerAddress string     `protobuf:"bytes,2,opt,name=controller_address,json=controllerAddress,proto3" json:"controller_address,omitempty"`
	Amount            types.Coin `protobuf:"bytes,3,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, 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"`
	ControllerAddress    string     `protobuf:"bytes,2,opt,name=controller_address,json=controllerAddress,proto3" json:"controller_address,omitempty"`
	ReceiverAddress      string     `protobuf:"bytes,3,opt,name=receiver_address,json=receiverAddress,proto3" json:"receiver_address,omitempty"`
	IcaTransferPortId    string     `protobuf:"bytes,4,opt,name=ica_transfer_port_id,json=icaTransferPortId,proto3" json:"ica_transfer_port_id,omitempty"`
	IcaTransferChannelId string     `protobuf:"bytes,5,opt,name=ica_transfer_channel_id,json=icaTransferChannelId,proto3" json:"ica_transfer_channel_id,omitempty"`
	Amount               types.Coin `protobuf:"bytes,6,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 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"`
	ControllerAddress string     `protobuf:"bytes,2,opt,name=controller_address,json=controllerAddress,proto3" json:"controller_address,omitempty"`
	Amount            types.Coin `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount"`
}

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

func NewMsgIcaUnDelegate

func NewMsgIcaUnDelegate(zoneId 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 MsgRegisterControllerAddr added in v0.6.2

type MsgRegisterControllerAddr 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"`
	FromAddress       string `protobuf:"bytes,3,opt,name=from_address,json=fromAddress,proto3" json:"from_address,omitempty"`
}

MsgRegisterControllerAddr is a message used for

func NewMsgRegisterControllerAddress added in v0.6.2

func NewMsgRegisterControllerAddress(zoneId string, controllerAddr, fromAddr sdk.AccAddress) *MsgRegisterControllerAddr

func (*MsgRegisterControllerAddr) Descriptor added in v0.6.2

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

func (MsgRegisterControllerAddr) GetSigners added in v0.6.2

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

GetSigners implements sdk.Msg

func (*MsgRegisterControllerAddr) Marshal added in v0.6.2

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

func (*MsgRegisterControllerAddr) MarshalTo added in v0.6.2

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

func (*MsgRegisterControllerAddr) MarshalToSizedBuffer added in v0.6.2

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

func (*MsgRegisterControllerAddr) ProtoMessage added in v0.6.2

func (*MsgRegisterControllerAddr) ProtoMessage()

func (*MsgRegisterControllerAddr) Reset added in v0.6.2

func (m *MsgRegisterControllerAddr) Reset()

func (*MsgRegisterControllerAddr) Size added in v0.6.2

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

func (*MsgRegisterControllerAddr) String added in v0.6.2

func (m *MsgRegisterControllerAddr) String() string

func (*MsgRegisterControllerAddr) Unmarshal added in v0.6.2

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

func (MsgRegisterControllerAddr) ValidateBasic added in v0.6.2

func (msg MsgRegisterControllerAddr) ValidateBasic() error

ValidateBasic implements sdk.Msg

func (*MsgRegisterControllerAddr) XXX_DiscardUnknown added in v0.6.2

func (m *MsgRegisterControllerAddr) XXX_DiscardUnknown()

func (*MsgRegisterControllerAddr) XXX_Marshal added in v0.6.2

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

func (*MsgRegisterControllerAddr) XXX_Merge added in v0.6.2

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

func (*MsgRegisterControllerAddr) XXX_Size added in v0.6.2

func (m *MsgRegisterControllerAddr) XXX_Size() int

func (*MsgRegisterControllerAddr) XXX_Unmarshal added in v0.6.2

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

type MsgRegisterControllerAddrResponse added in v0.6.2

type MsgRegisterControllerAddrResponse struct {
}

MsgRegisterControllerAddrResponse is a response message for MsgRegisterControllerAddr.

func (*MsgRegisterControllerAddrResponse) Descriptor added in v0.6.2

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

func (*MsgRegisterControllerAddrResponse) Marshal added in v0.6.2

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

func (*MsgRegisterControllerAddrResponse) MarshalTo added in v0.6.2

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

func (*MsgRegisterControllerAddrResponse) MarshalToSizedBuffer added in v0.6.2

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

func (*MsgRegisterControllerAddrResponse) ProtoMessage added in v0.6.2

func (*MsgRegisterControllerAddrResponse) ProtoMessage()

func (*MsgRegisterControllerAddrResponse) Reset added in v0.6.2

func (*MsgRegisterControllerAddrResponse) Size added in v0.6.2

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

func (*MsgRegisterControllerAddrResponse) String added in v0.6.2

func (*MsgRegisterControllerAddrResponse) Unmarshal added in v0.6.2

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

func (*MsgRegisterControllerAddrResponse) XXX_DiscardUnknown added in v0.6.2

func (m *MsgRegisterControllerAddrResponse) XXX_DiscardUnknown()

func (*MsgRegisterControllerAddrResponse) XXX_Marshal added in v0.6.2

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

func (*MsgRegisterControllerAddrResponse) XXX_Merge added in v0.6.2

func (*MsgRegisterControllerAddrResponse) XXX_Size added in v0.6.2

func (m *MsgRegisterControllerAddrResponse) XXX_Size() int

func (*MsgRegisterControllerAddrResponse) XXX_Unmarshal added in v0.6.2

func (m *MsgRegisterControllerAddrResponse) 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"`
	UndelegateMaxEntries int64                   `protobuf:"varint,8,opt,name=undelegate_max_entries,json=undelegateMaxEntries,proto3" json:"undelegate_max_entries,omitempty"`
	DepositMaxEntries    int64                   `protobuf:"varint,9,opt,name=deposit_max_entries,json=depositMaxEntries,proto3" json:"deposit_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, depositMaxEntries, undelegateMaxEntries 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"`
	UndelegateMaxEntries int64                   `protobuf:"varint,9,opt,name=undelegate_max_entries,json=undelegateMaxEntries,proto3" json:"undelegate_max_entries,omitempty"`
	DepositMaxEntries    int64                   `protobuf:"varint,10,opt,name=deposit_max_entries,json=depositMaxEntries,proto3" json:"deposit_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)
	RegisterControllerAddress(context.Context, *MsgRegisterControllerAddr) (*MsgRegisterControllerAddrResponse, error)
}

MsgServer is the server API for Msg service.

type MultiICAHooks

type MultiICAHooks []ICAHooks

func NewMultiICAHooks

func NewMultiICAHooks(hooks ...ICAHooks) MultiICAHooks

func (MultiICAHooks) AfterDelegateEnd

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

func (MultiICAHooks) AfterDelegateFail added in v0.6.3

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

func (MultiICAHooks) AfterIcaWithdrawFail added in v0.6.5

func (h MultiICAHooks) AfterIcaWithdrawFail(ctx sdk.Context, transferMsg transfertypes.MsgTransfer)

func (MultiICAHooks) AfterUndelegateEnd

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

func (MultiICAHooks) AfterUndelegateFail added in v0.6.3

func (h MultiICAHooks) AfterUndelegateFail(ctx sdk.Context, undelegateMsg stakingtypes.MsgUndelegate)

type Params

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

func DefaultParams

func DefaultParams() Params

func NewParams

func NewParams(address []string) Params

func (*Params) Descriptor

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

func (*Params) GetControllerKeyManager added in v0.6.2

func (m *Params) GetControllerKeyManager() []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"`
	Version uint64 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"`
}

func (*QueryAutoStakingVersion) Descriptor

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

func (*QueryAutoStakingVersion) GetVersion added in v0.6.3

func (m *QueryAutoStakingVersion) GetVersion() uint64

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)
	AutoStakingCurrentVersion(ctx context.Context, in *QueryCurrentAutoStakingVersion, opts ...grpc.CallOption) (*QueryCurrentAutoStakingVersionResponse, 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)
	AutoStakingCurrentVersion(context.Context, *QueryCurrentAutoStakingVersion) (*QueryCurrentAutoStakingVersionResponse, 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"`
	UndelegateMaxEntries int64                   `protobuf:"varint,9,opt,name=undelegate_max_entries,json=undelegateMaxEntries,proto3" json:"undelegate_max_entries,omitempty"`
	DepositMaxEntries    int64                   `protobuf:"varint,10,opt,name=deposit_max_entries,json=depositMaxEntries,proto3" json:"deposit_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) GetDepositMaxEntries added in v0.6.4

func (m *RegisteredZone) GetDepositMaxEntries() int64

func (*RegisteredZone) GetIcaAccount

func (m *RegisteredZone) GetIcaAccount() *IcaAccount

func (*RegisteredZone) GetIcaConnectionInfo

func (m *RegisteredZone) GetIcaConnectionInfo() *IcaConnectionInfo

func (*RegisteredZone) GetSnDenom

func (m *RegisteredZone) GetSnDenom() string

func (*RegisteredZone) GetTransferInfo

func (m *RegisteredZone) GetTransferInfo() *TransferConnectionInfo

func (*RegisteredZone) GetUndelegateMaxEntries added in v0.6.4

func (m *RegisteredZone) GetUndelegateMaxEntries() int64

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) RegisterControllerAddress added in v0.6.2

func (*UnimplementedMsgServer) RegisterZone

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) AllZones

func (*UnimplementedQueryServer) AutoStakingCurrentVersion added in v0.6.3

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

type ZoneProposalInfo added in v0.6.4

type ZoneProposalInfo struct {
	ZoneId    string `protobuf:"bytes,1,opt,name=zone_id,json=zoneId,proto3" json:"zone_id,omitempty"`
	BaseDenom string `protobuf:"bytes,2,opt,name=base_denom,json=baseDenom,proto3" json:"base_denom,omitempty"`
}

func (*ZoneProposalInfo) Descriptor added in v0.6.4

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

func (*ZoneProposalInfo) GetBaseDenom added in v0.6.4

func (m *ZoneProposalInfo) GetBaseDenom() string

func (*ZoneProposalInfo) GetZoneId added in v0.6.4

func (m *ZoneProposalInfo) GetZoneId() string

func (*ZoneProposalInfo) Marshal added in v0.6.4

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

func (*ZoneProposalInfo) MarshalTo added in v0.6.4

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

func (*ZoneProposalInfo) MarshalToSizedBuffer added in v0.6.4

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

func (*ZoneProposalInfo) ProtoMessage added in v0.6.4

func (*ZoneProposalInfo) ProtoMessage()

func (*ZoneProposalInfo) Reset added in v0.6.4

func (m *ZoneProposalInfo) Reset()

func (*ZoneProposalInfo) Size added in v0.6.4

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

func (*ZoneProposalInfo) String added in v0.6.4

func (m *ZoneProposalInfo) String() string

func (*ZoneProposalInfo) Unmarshal added in v0.6.4

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

func (*ZoneProposalInfo) XXX_DiscardUnknown added in v0.6.4

func (m *ZoneProposalInfo) XXX_DiscardUnknown()

func (*ZoneProposalInfo) XXX_Marshal added in v0.6.4

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

func (*ZoneProposalInfo) XXX_Merge added in v0.6.4

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

func (*ZoneProposalInfo) XXX_Size added in v0.6.4

func (m *ZoneProposalInfo) XXX_Size() int

func (*ZoneProposalInfo) XXX_Unmarshal added in v0.6.4

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

type ZoneRegisterProposal added in v0.6.4

type ZoneRegisterProposal struct {
	Title       string           `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Description string           `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	Zone        ZoneProposalInfo `protobuf:"bytes,3,opt,name=zone,proto3" json:"zone"`
}

func (*ZoneRegisterProposal) Descriptor added in v0.6.4

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

func (*ZoneRegisterProposal) GetDescription added in v0.6.4

func (p *ZoneRegisterProposal) GetDescription() string

GetDescription gets the description of the proposal

func (*ZoneRegisterProposal) GetTitle added in v0.6.4

func (p *ZoneRegisterProposal) GetTitle() string

GetTitle gets the title of the proposal

func (*ZoneRegisterProposal) Marshal added in v0.6.4

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

func (*ZoneRegisterProposal) MarshalTo added in v0.6.4

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

func (*ZoneRegisterProposal) MarshalToSizedBuffer added in v0.6.4

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

func (*ZoneRegisterProposal) ProposalRoute added in v0.6.4

func (p *ZoneRegisterProposal) ProposalRoute() string

ProposalRoute returns the router key for the proposal

func (*ZoneRegisterProposal) ProposalType added in v0.6.4

func (p *ZoneRegisterProposal) ProposalType() string

ProposalType returns the type of the proposal

func (*ZoneRegisterProposal) ProtoMessage added in v0.6.4

func (*ZoneRegisterProposal) ProtoMessage()

func (*ZoneRegisterProposal) Reset added in v0.6.4

func (m *ZoneRegisterProposal) Reset()

func (*ZoneRegisterProposal) Size added in v0.6.4

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

func (ZoneRegisterProposal) String added in v0.6.4

func (p ZoneRegisterProposal) String() string

String returns a string containing the pool incentives proposal.

func (*ZoneRegisterProposal) Unmarshal added in v0.6.4

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

func (*ZoneRegisterProposal) ValidateBasic added in v0.6.4

func (p *ZoneRegisterProposal) ValidateBasic() error

ValidateBasic validates a governance proposal's abstract and basic contents

func (*ZoneRegisterProposal) XXX_DiscardUnknown added in v0.6.4

func (m *ZoneRegisterProposal) XXX_DiscardUnknown()

func (*ZoneRegisterProposal) XXX_Marshal added in v0.6.4

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

func (*ZoneRegisterProposal) XXX_Merge added in v0.6.4

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

func (*ZoneRegisterProposal) XXX_Size added in v0.6.4

func (m *ZoneRegisterProposal) XXX_Size() int

func (*ZoneRegisterProposal) XXX_Unmarshal added in v0.6.4

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

Jump to

Keyboard shortcuts

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