types

package
v0.0.0-...-891b8cb Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2022 License: MIT Imports: 24 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ModuleName = "ibcstaking"

	StoreKey = "storeibcstaking"

	RouterKey = ModuleName

	QuerierRoute = ModuleName

	PortID = ModuleName

	Version = "ics27-1"
)

Variables

View Source
var (
	ErrIBCAccountAlreadyExist = sdkerrors.Register(ModuleName, 2, "interchain account already registered")
	ErrIBCAccountNotExist     = sdkerrors.Register(ModuleName, 3, "interchain account not exist")
)
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 (
	KeyPrefixZone           = []byte{prefixZone}
	KeyPrefixConnectionInfo = []byte{prefixConnectionInfo}
)
View Source
var (
	KeyDaoModifierAddress = []byte("DaoModifierAddress")
	KeyCommissionInfo     = []byte("Commission")
)
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 (
	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 (
	ModuleCdc = codec.NewAminoCodec(amino)
)

Functions

func KeyPrefix

func KeyPrefix(p string) []byte

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 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 CommissionInfo

type CommissionInfo struct {
	TreasuryAddress string                                 `protobuf:"bytes,1,opt,name=treasury_address,json=treasuryAddress,proto3" json:"treasury_address,omitempty" yaml:"address"`
	CommissionRate  github_com_cosmos_cosmos_sdk_types.Dec `` /* 143-byte string literal not displayed */
}

func (*CommissionInfo) Descriptor

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

func (*CommissionInfo) GetTreasuryAddress

func (m *CommissionInfo) GetTreasuryAddress() string

func (*CommissionInfo) Marshal

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

func (*CommissionInfo) MarshalTo

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

func (*CommissionInfo) MarshalToSizedBuffer

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

func (*CommissionInfo) ProtoMessage

func (*CommissionInfo) ProtoMessage()

func (*CommissionInfo) Reset

func (m *CommissionInfo) Reset()

func (*CommissionInfo) Size

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

func (*CommissionInfo) String

func (m *CommissionInfo) String() string

func (*CommissionInfo) Unmarshal

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

func (*CommissionInfo) XXX_DiscardUnknown

func (m *CommissionInfo) XXX_DiscardUnknown()

func (*CommissionInfo) XXX_Marshal

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

func (*CommissionInfo) XXX_Merge

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

func (*CommissionInfo) XXX_Size

func (m *CommissionInfo) XXX_Size() int

func (*CommissionInfo) XXX_Unmarshal

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

type GenesisState

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

func DefaultGenesisState

func DefaultGenesisState() *GenesisState

DefaultGenesisState creates a default GenesisState object

func NewGenesisState

func NewGenesisState(params Params) *GenesisState

NewGenesisState creates a new GenesisState object

func (*GenesisState) Descriptor

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

func (*GenesisState) GetParams

func (m *GenesisState) GetParams() Params

func (*GenesisState) Marshal

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

func (*GenesisState) MarshalTo

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

func (*GenesisState) MarshalToSizedBuffer

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

func (*GenesisState) ProtoMessage

func (*GenesisState) ProtoMessage()

func (*GenesisState) Reset

func (m *GenesisState) Reset()

func (*GenesisState) Size

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

func (*GenesisState) String

func (m *GenesisState) String() string

func (*GenesisState) Unmarshal

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

func (*GenesisState) XXX_DiscardUnknown

func (m *GenesisState) XXX_DiscardUnknown()

func (*GenesisState) XXX_Marshal

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

func (*GenesisState) XXX_Merge

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

func (*GenesisState) XXX_Size

func (m *GenesisState) XXX_Size() int

func (*GenesisState) XXX_Unmarshal

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

type ICAHooks

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

type IcaAccount

type IcaAccount struct {
	DaomodifierAddress string     `protobuf:"bytes,1,opt,name=daomodifier_address,json=daomodifierAddress,proto3" json:"daomodifier_address,omitempty"`
	HostAddress        string     `protobuf:"bytes,2,opt,name=host_address,json=hostAddress,proto3" json:"host_address,omitempty"`
	Balance            types.Coin `protobuf:"bytes,3,opt,name=balance,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"balance"`
}

func (*IcaAccount) Descriptor

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

func (*IcaAccount) GetBalance

func (m *IcaAccount) GetBalance() types.Coin

func (*IcaAccount) GetDaomodifierAddress

func (m *IcaAccount) GetDaomodifierAddress() string

func (*IcaAccount) GetHostAddress

func (m *IcaAccount) GetHostAddress() string

func (*IcaAccount) Marshal

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

func (*IcaAccount) MarshalTo

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

func (*IcaAccount) MarshalToSizedBuffer

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

func (*IcaAccount) ProtoMessage

func (*IcaAccount) ProtoMessage()

func (*IcaAccount) Reset

func (m *IcaAccount) Reset()

func (*IcaAccount) Size

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

func (*IcaAccount) String

func (m *IcaAccount) String() string

func (*IcaAccount) Unmarshal

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

func (*IcaAccount) XXX_DiscardUnknown

func (m *IcaAccount) XXX_DiscardUnknown()

func (*IcaAccount) XXX_Marshal

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

func (*IcaAccount) XXX_Merge

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

func (*IcaAccount) XXX_Size

func (m *IcaAccount) XXX_Size() int

func (*IcaAccount) XXX_Unmarshal

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

type IcaConnectionInfo

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

zone name, connection id, portID(owner address)

func (*IcaConnectionInfo) Descriptor

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

func (*IcaConnectionInfo) GetConnectionId

func (m *IcaConnectionInfo) GetConnectionId() string

func (*IcaConnectionInfo) GetPortId

func (m *IcaConnectionInfo) GetPortId() string

func (*IcaConnectionInfo) Marshal

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

func (*IcaConnectionInfo) MarshalTo

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

func (*IcaConnectionInfo) MarshalToSizedBuffer

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

func (*IcaConnectionInfo) ProtoMessage

func (*IcaConnectionInfo) ProtoMessage()

func (*IcaConnectionInfo) Reset

func (m *IcaConnectionInfo) Reset()

func (*IcaConnectionInfo) Size

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

func (*IcaConnectionInfo) String

func (m *IcaConnectionInfo) String() string

func (*IcaConnectionInfo) Unmarshal

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

func (*IcaConnectionInfo) XXX_DiscardUnknown

func (m *IcaConnectionInfo) XXX_DiscardUnknown()

func (*IcaConnectionInfo) XXX_Marshal

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

func (*IcaConnectionInfo) XXX_Merge

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

func (*IcaConnectionInfo) XXX_Size

func (m *IcaConnectionInfo) XXX_Size() int

func (*IcaConnectionInfo) XXX_Unmarshal

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

type MsgChangeRegisteredZoneInfo

type MsgChangeRegisteredZoneInfo 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"`
	ValidatorAddress string             `protobuf:"bytes,4,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"`
	BaseDenom        string             `protobuf:"bytes,5,opt,name=base_denom,json=baseDenom,proto3" json:"base_denom,omitempty"`
}

func NewMsgChangeZoneInfo

func NewMsgChangeZoneInfo(zoneId, icaConnectionId string, daomodifierAddress sdk.AccAddress, validatorAddress, baseDenom string) *MsgChangeRegisteredZoneInfo

func (*MsgChangeRegisteredZoneInfo) Descriptor

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

func (MsgChangeRegisteredZoneInfo) GetSigners

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

GetSigners implements sdk.Msg

func (*MsgChangeRegisteredZoneInfo) Marshal

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

func (*MsgChangeRegisteredZoneInfo) MarshalTo

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

func (*MsgChangeRegisteredZoneInfo) MarshalToSizedBuffer

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

func (*MsgChangeRegisteredZoneInfo) ProtoMessage

func (*MsgChangeRegisteredZoneInfo) ProtoMessage()

func (*MsgChangeRegisteredZoneInfo) Reset

func (m *MsgChangeRegisteredZoneInfo) Reset()

func (*MsgChangeRegisteredZoneInfo) Size

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

func (*MsgChangeRegisteredZoneInfo) String

func (m *MsgChangeRegisteredZoneInfo) String() string

func (*MsgChangeRegisteredZoneInfo) Unmarshal

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

func (MsgChangeRegisteredZoneInfo) ValidateBasic

func (msg MsgChangeRegisteredZoneInfo) ValidateBasic() error

ValidateBasic implements sdk.Msg

func (*MsgChangeRegisteredZoneInfo) XXX_DiscardUnknown

func (m *MsgChangeRegisteredZoneInfo) XXX_DiscardUnknown()

func (*MsgChangeRegisteredZoneInfo) XXX_Marshal

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

func (*MsgChangeRegisteredZoneInfo) XXX_Merge

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

func (*MsgChangeRegisteredZoneInfo) XXX_Size

func (m *MsgChangeRegisteredZoneInfo) XXX_Size() int

func (*MsgChangeRegisteredZoneInfo) XXX_Unmarshal

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

type MsgChangeRegisteredZoneInfoResponse

type MsgChangeRegisteredZoneInfoResponse struct {
}

func (*MsgChangeRegisteredZoneInfoResponse) Descriptor

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

func (*MsgChangeRegisteredZoneInfoResponse) Marshal

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

func (*MsgChangeRegisteredZoneInfoResponse) MarshalTo

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

func (*MsgChangeRegisteredZoneInfoResponse) MarshalToSizedBuffer

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

func (*MsgChangeRegisteredZoneInfoResponse) ProtoMessage

func (*MsgChangeRegisteredZoneInfoResponse) ProtoMessage()

func (*MsgChangeRegisteredZoneInfoResponse) Reset

func (*MsgChangeRegisteredZoneInfoResponse) Size

func (*MsgChangeRegisteredZoneInfoResponse) String

func (*MsgChangeRegisteredZoneInfoResponse) Unmarshal

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

func (*MsgChangeRegisteredZoneInfoResponse) XXX_DiscardUnknown

func (m *MsgChangeRegisteredZoneInfoResponse) XXX_DiscardUnknown()

func (*MsgChangeRegisteredZoneInfoResponse) XXX_Marshal

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

func (*MsgChangeRegisteredZoneInfoResponse) XXX_Merge

func (*MsgChangeRegisteredZoneInfoResponse) XXX_Size

func (*MsgChangeRegisteredZoneInfoResponse) XXX_Unmarshal

func (m *MsgChangeRegisteredZoneInfoResponse) 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)
	// IcaRegisterHostAccount defines a rpc handler for MsgRegisterHostAccount
	IcaRegisterHostAccount(ctx context.Context, in *MsgRegisterHostAccount, opts ...grpc.CallOption) (*MsgRegisterHostAccountResponse, error)
	// DeleteRegisteredZone defines a rpc handler for MsgDeleteRegisteredZone
	DeleteRegisteredZone(ctx context.Context, in *MsgDeleteRegisteredZone, opts ...grpc.CallOption) (*MsgDeleteRegisteredZoneResponse, error)
	ChangeRegisteredZoneInfo(ctx context.Context, in *MsgChangeRegisteredZoneInfo, opts ...grpc.CallOption) (*MsgChangeRegisteredZoneInfoResponse, 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"`
	DaomodifierAddress string `protobuf:"bytes,2,opt,name=daomodifier_address,json=daomodifierAddress,proto3" json:"daomodifier_address,omitempty"`
}

func NewMsgDeleteRegisteredZone

func NewMsgDeleteRegisteredZone(zoneId string, daomodifierAddr 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 {
}

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 MsgIcaAutoStaking

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

func NewMsgIcaAutoStaking

func NewMsgIcaAutoStaking(zoneId, hostAddr string, daomodifierAddr 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 {
}

func (*MsgIcaAutoStakingResponse) Descriptor

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

func (*MsgIcaAutoStakingResponse) Marshal

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

func (*MsgIcaAutoStakingResponse) MarshalTo

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

func (*MsgIcaAutoStakingResponse) MarshalToSizedBuffer

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

func (*MsgIcaAutoStakingResponse) ProtoMessage

func (*MsgIcaAutoStakingResponse) ProtoMessage()

func (*MsgIcaAutoStakingResponse) Reset

func (m *MsgIcaAutoStakingResponse) Reset()

func (*MsgIcaAutoStakingResponse) Size

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

func (*MsgIcaAutoStakingResponse) String

func (m *MsgIcaAutoStakingResponse) String() string

func (*MsgIcaAutoStakingResponse) Unmarshal

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

func (*MsgIcaAutoStakingResponse) XXX_DiscardUnknown

func (m *MsgIcaAutoStakingResponse) XXX_DiscardUnknown()

func (*MsgIcaAutoStakingResponse) XXX_Marshal

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

func (*MsgIcaAutoStakingResponse) XXX_Merge

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

func (*MsgIcaAutoStakingResponse) XXX_Size

func (m *MsgIcaAutoStakingResponse) XXX_Size() int

func (*MsgIcaAutoStakingResponse) XXX_Unmarshal

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

type MsgIcaDelegate

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

func NewMsgIcaDelegate

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

func (*MsgIcaDelegate) Descriptor

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

func (MsgIcaDelegate) GetSigners

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

GetSigners implements sdk.Msg

func (*MsgIcaDelegate) Marshal

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

func (*MsgIcaDelegate) MarshalTo

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

func (*MsgIcaDelegate) MarshalToSizedBuffer

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

func (*MsgIcaDelegate) ProtoMessage

func (*MsgIcaDelegate) ProtoMessage()

func (*MsgIcaDelegate) Reset

func (m *MsgIcaDelegate) Reset()

func (*MsgIcaDelegate) Size

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

func (*MsgIcaDelegate) String

func (m *MsgIcaDelegate) String() string

func (*MsgIcaDelegate) Unmarshal

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

func (MsgIcaDelegate) ValidateBasic

func (msg MsgIcaDelegate) ValidateBasic() error

ValidateBasic implements sdk.Msg

func (*MsgIcaDelegate) XXX_DiscardUnknown

func (m *MsgIcaDelegate) XXX_DiscardUnknown()

func (*MsgIcaDelegate) XXX_Marshal

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

func (*MsgIcaDelegate) XXX_Merge

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

func (*MsgIcaDelegate) XXX_Size

func (m *MsgIcaDelegate) XXX_Size() int

func (*MsgIcaDelegate) XXX_Unmarshal

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

type MsgIcaDelegateResponse

type MsgIcaDelegateResponse struct {
}

func (*MsgIcaDelegateResponse) Descriptor

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

func (*MsgIcaDelegateResponse) Marshal

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

func (*MsgIcaDelegateResponse) MarshalTo

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

func (*MsgIcaDelegateResponse) MarshalToSizedBuffer

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

func (*MsgIcaDelegateResponse) ProtoMessage

func (*MsgIcaDelegateResponse) ProtoMessage()

func (*MsgIcaDelegateResponse) Reset

func (m *MsgIcaDelegateResponse) Reset()

func (*MsgIcaDelegateResponse) Size

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

func (*MsgIcaDelegateResponse) String

func (m *MsgIcaDelegateResponse) String() string

func (*MsgIcaDelegateResponse) Unmarshal

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

func (*MsgIcaDelegateResponse) XXX_DiscardUnknown

func (m *MsgIcaDelegateResponse) XXX_DiscardUnknown()

func (*MsgIcaDelegateResponse) XXX_Marshal

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

func (*MsgIcaDelegateResponse) XXX_Merge

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

func (*MsgIcaDelegateResponse) XXX_Size

func (m *MsgIcaDelegateResponse) XXX_Size() int

func (*MsgIcaDelegateResponse) XXX_Unmarshal

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

type MsgIcaTransfer

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

func NewMsgIcaTransfer

func NewMsgIcaTransfer(zoneId, hostAddr string, daomodifierAddr 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 {
}

func (*MsgIcaTransferResponse) Descriptor

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

func (*MsgIcaTransferResponse) Marshal

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

func (*MsgIcaTransferResponse) MarshalTo

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

func (*MsgIcaTransferResponse) MarshalToSizedBuffer

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

func (*MsgIcaTransferResponse) ProtoMessage

func (*MsgIcaTransferResponse) ProtoMessage()

func (*MsgIcaTransferResponse) Reset

func (m *MsgIcaTransferResponse) Reset()

func (*MsgIcaTransferResponse) Size

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

func (*MsgIcaTransferResponse) String

func (m *MsgIcaTransferResponse) String() string

func (*MsgIcaTransferResponse) Unmarshal

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

func (*MsgIcaTransferResponse) XXX_DiscardUnknown

func (m *MsgIcaTransferResponse) XXX_DiscardUnknown()

func (*MsgIcaTransferResponse) XXX_Marshal

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

func (*MsgIcaTransferResponse) XXX_Merge

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

func (*MsgIcaTransferResponse) XXX_Size

func (m *MsgIcaTransferResponse) XXX_Size() int

func (*MsgIcaTransferResponse) XXX_Unmarshal

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

type MsgIcaUndelegate

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

func NewMsgIcaUnDelegate

func NewMsgIcaUnDelegate(zoneId, hostAddr string, daomodifierAddr 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 {
}

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 MsgRegisterHostAccount

type MsgRegisterHostAccount struct {
	ZoneId      string      `protobuf:"bytes,1,opt,name=zone_id,json=zoneId,proto3" json:"zone_id,omitempty"`
	AccountInfo *IcaAccount `protobuf:"bytes,2,opt,name=account_info,json=accountInfo,proto3" json:"account_info,omitempty"`
}

func NewMsgRegisterHostAccount

func NewMsgRegisterHostAccount(zoneId, hostAddr string, daomodifierAddr sdk.AccAddress) *MsgRegisterHostAccount

func (*MsgRegisterHostAccount) Descriptor

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

func (MsgRegisterHostAccount) GetSigners

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

GetSigners implements sdk.Msg

func (*MsgRegisterHostAccount) Marshal

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

func (*MsgRegisterHostAccount) MarshalTo

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

func (*MsgRegisterHostAccount) MarshalToSizedBuffer

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

func (*MsgRegisterHostAccount) ProtoMessage

func (*MsgRegisterHostAccount) ProtoMessage()

func (*MsgRegisterHostAccount) Reset

func (m *MsgRegisterHostAccount) Reset()

func (*MsgRegisterHostAccount) Size

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

func (*MsgRegisterHostAccount) String

func (m *MsgRegisterHostAccount) String() string

func (*MsgRegisterHostAccount) Unmarshal

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

func (MsgRegisterHostAccount) ValidateBasic

func (msg MsgRegisterHostAccount) ValidateBasic() error

ValidateBasic implements sdk.Msg

func (*MsgRegisterHostAccount) XXX_DiscardUnknown

func (m *MsgRegisterHostAccount) XXX_DiscardUnknown()

func (*MsgRegisterHostAccount) XXX_Marshal

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

func (*MsgRegisterHostAccount) XXX_Merge

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

func (*MsgRegisterHostAccount) XXX_Size

func (m *MsgRegisterHostAccount) XXX_Size() int

func (*MsgRegisterHostAccount) XXX_Unmarshal

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

type MsgRegisterHostAccountResponse

type MsgRegisterHostAccountResponse struct {
}

func (*MsgRegisterHostAccountResponse) Descriptor

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

func (*MsgRegisterHostAccountResponse) Marshal

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

func (*MsgRegisterHostAccountResponse) MarshalTo

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

func (*MsgRegisterHostAccountResponse) MarshalToSizedBuffer

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

func (*MsgRegisterHostAccountResponse) ProtoMessage

func (*MsgRegisterHostAccountResponse) ProtoMessage()

func (*MsgRegisterHostAccountResponse) Reset

func (m *MsgRegisterHostAccountResponse) Reset()

func (*MsgRegisterHostAccountResponse) Size

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

func (*MsgRegisterHostAccountResponse) String

func (*MsgRegisterHostAccountResponse) Unmarshal

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

func (*MsgRegisterHostAccountResponse) XXX_DiscardUnknown

func (m *MsgRegisterHostAccountResponse) XXX_DiscardUnknown()

func (*MsgRegisterHostAccountResponse) XXX_Marshal

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

func (*MsgRegisterHostAccountResponse) XXX_Merge

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

func (*MsgRegisterHostAccountResponse) XXX_Size

func (m *MsgRegisterHostAccountResponse) XXX_Size() int

func (*MsgRegisterHostAccountResponse) XXX_Unmarshal

func (m *MsgRegisterHostAccountResponse) 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"`
	ValidatorAddress string             `protobuf:"bytes,4,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"`
	BaseDenom        string             `protobuf:"bytes,5,opt,name=base_denom,json=baseDenom,proto3" json:"base_denom,omitempty"`
}

MsgRegisterZone defines the payload for Msg/RegisterZone

func NewMsgRegisterZone

func NewMsgRegisterZone(zoneId, icaConnectionId string, daomodifierAddress sdk.AccAddress, validatorAddress, baseDenom string) *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 {
}

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)
	// IcaRegisterHostAccount defines a rpc handler for MsgRegisterHostAccount
	IcaRegisterHostAccount(context.Context, *MsgRegisterHostAccount) (*MsgRegisterHostAccountResponse, error)
	// DeleteRegisteredZone defines a rpc handler for MsgDeleteRegisteredZone
	DeleteRegisteredZone(context.Context, *MsgDeleteRegisteredZone) (*MsgDeleteRegisteredZoneResponse, error)
	ChangeRegisteredZoneInfo(context.Context, *MsgChangeRegisteredZoneInfo) (*MsgChangeRegisteredZoneInfoResponse, error)
}

MsgServer is the server API for Msg service.

type MultiICAHooks

type MultiICAHooks []ICAHooks

func NewMultiICAHooks

func NewMultiICAHooks(hooks ...ICAHooks) MultiICAHooks

func (MultiICAHooks) AfterAutoStakingEnd

func (h MultiICAHooks) AfterAutoStakingEnd()

func (MultiICAHooks) AfterDelegateEnd

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

func (MultiICAHooks) AfterUndelegateEnd

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

func (MultiICAHooks) AfterWithdrawEnd

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

type Params

type Params struct {
	// zone register address.
	DaoModifiers []string          `protobuf:"bytes,1,rep,name=dao_modifiers,json=daoModifiers,proto3" json:"dao_modifiers,omitempty" yaml:"address"`
	Commission   []*CommissionInfo `protobuf:"bytes,2,rep,name=commission,proto3" json:"commission,omitempty"`
}

func DefaultParams

func DefaultParams() Params

func NewParams

func NewParams(daomodifierAddrs []string, commission []*CommissionInfo) Params

func (*Params) Descriptor

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

func (*Params) GetCommission

func (m *Params) GetCommission() []*CommissionInfo

func (*Params) GetDaoModifiers

func (m *Params) GetDaoModifiers() []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 QueryClient

type QueryClient interface {
	// QueryInterchainAccountFromZone returns the interchain account for given owner address on a given connection pair
	InterchainAccountFromZone(ctx context.Context, in *QueryInterchainAccountFromZoneRequest, opts ...grpc.CallOption) (*QueryInterchainAccountFromZoneResponse, 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 QueryInterchainAccountFromZoneRequest

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

QueryInterchainAccountFromZoneRequest is the request type for the Query/InterchainAccountFromZone RPC

func NewQueryInterchainAccountRequest

func NewQueryInterchainAccountRequest(portID, connectionID string) *QueryInterchainAccountFromZoneRequest

NewQueryInterchainAccountRequest creates and returns a new QueryInterchainAccountFromZoneRequest

func (*QueryInterchainAccountFromZoneRequest) Descriptor

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

func (*QueryInterchainAccountFromZoneRequest) GetConnectionId

func (m *QueryInterchainAccountFromZoneRequest) GetConnectionId() string

func (*QueryInterchainAccountFromZoneRequest) GetPortId

func (*QueryInterchainAccountFromZoneRequest) Marshal

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

func (*QueryInterchainAccountFromZoneRequest) MarshalTo

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

func (*QueryInterchainAccountFromZoneRequest) MarshalToSizedBuffer

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

func (*QueryInterchainAccountFromZoneRequest) ProtoMessage

func (*QueryInterchainAccountFromZoneRequest) ProtoMessage()

func (*QueryInterchainAccountFromZoneRequest) Reset

func (*QueryInterchainAccountFromZoneRequest) Size

func (*QueryInterchainAccountFromZoneRequest) String

func (*QueryInterchainAccountFromZoneRequest) Unmarshal

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

func (*QueryInterchainAccountFromZoneRequest) XXX_DiscardUnknown

func (m *QueryInterchainAccountFromZoneRequest) XXX_DiscardUnknown()

func (*QueryInterchainAccountFromZoneRequest) XXX_Marshal

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

func (*QueryInterchainAccountFromZoneRequest) XXX_Merge

func (*QueryInterchainAccountFromZoneRequest) XXX_Size

func (*QueryInterchainAccountFromZoneRequest) XXX_Unmarshal

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

type QueryInterchainAccountFromZoneResponse

type QueryInterchainAccountFromZoneResponse struct {
	InterchainAccountAddress string `` /* 169-byte string literal not displayed */
}

QueryInterchainAccountFromZoneResponse the response type for the Query/InterchainAccountFromZone RPC

func NewQueryInterchainAccountResponse

func NewQueryInterchainAccountResponse(interchainAccAddr string) *QueryInterchainAccountFromZoneResponse

NewQueryInterchainAccountResponse creates and returns a new QueryInterchainAccountFromZoneResponse

func (*QueryInterchainAccountFromZoneResponse) Descriptor

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

func (*QueryInterchainAccountFromZoneResponse) GetInterchainAccountAddress

func (m *QueryInterchainAccountFromZoneResponse) GetInterchainAccountAddress() string

func (*QueryInterchainAccountFromZoneResponse) Marshal

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

func (*QueryInterchainAccountFromZoneResponse) MarshalTo

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

func (*QueryInterchainAccountFromZoneResponse) MarshalToSizedBuffer

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

func (*QueryInterchainAccountFromZoneResponse) ProtoMessage

func (*QueryInterchainAccountFromZoneResponse) Reset

func (*QueryInterchainAccountFromZoneResponse) Size

func (*QueryInterchainAccountFromZoneResponse) String

func (*QueryInterchainAccountFromZoneResponse) Unmarshal

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

func (*QueryInterchainAccountFromZoneResponse) XXX_DiscardUnknown

func (m *QueryInterchainAccountFromZoneResponse) XXX_DiscardUnknown()

func (*QueryInterchainAccountFromZoneResponse) XXX_Marshal

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

func (*QueryInterchainAccountFromZoneResponse) XXX_Merge

func (*QueryInterchainAccountFromZoneResponse) XXX_Size

func (*QueryInterchainAccountFromZoneResponse) XXX_Unmarshal

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

type QueryServer

type QueryServer interface {
	// QueryInterchainAccountFromZone returns the interchain account for given owner address on a given connection pair
	InterchainAccountFromZone(context.Context, *QueryInterchainAccountFromZoneRequest) (*QueryInterchainAccountFromZoneResponse, error)
}

QueryServer is the server API for Query service.

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"`
	ValidatorAddress  string             `protobuf:"bytes,4,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"`
	BaseDenom         string             `protobuf:"bytes,5,opt,name=base_denom,json=baseDenom,proto3" json:"base_denom,omitempty"`
	SnDenom           string             `protobuf:"bytes,6,opt,name=sn_denom,json=snDenom,proto3" json:"sn_denom,omitempty"`
}

func (*RegisteredZone) Descriptor

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

func (*RegisteredZone) GetBaseDenom

func (m *RegisteredZone) GetBaseDenom() string

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

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer can be embedded to have forward compatible implementations.

func (*UnimplementedMsgServer) ChangeRegisteredZoneInfo

func (*UnimplementedMsgServer) DeleteRegisteredZone

func (*UnimplementedMsgServer) IcaAutoStaking

func (*UnimplementedMsgServer) IcaDelegate

func (*UnimplementedMsgServer) IcaRegisterHostAccount

func (*UnimplementedMsgServer) IcaTransfer

func (*UnimplementedMsgServer) IcaUndelegate

func (*UnimplementedMsgServer) RegisterZone

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

Jump to

Keyboard shortcuts

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