|
|
|
@@ -147,6 +147,107 @@ func (m *MsgCreateVestingAccountResponse) XXX_DiscardUnknown() {
|
|
|
|
|
|
|
|
|
|
var xxx_messageInfo_MsgCreateVestingAccountResponse proto.InternalMessageInfo
|
|
|
|
|
|
|
|
|
|
// MsgCreatePermanentLockedAccount defines a message that enables creating a permanent
|
|
|
|
|
// locked account.
|
|
|
|
|
type MsgCreatePermanentLockedAccount struct {
|
|
|
|
|
FromAddress string `protobuf:"bytes,1,opt,name=from_address,json=fromAddress,proto3" json:"from_address,omitempty" yaml:"from_address"`
|
|
|
|
|
ToAddress string `protobuf:"bytes,2,opt,name=to_address,json=toAddress,proto3" json:"to_address,omitempty" yaml:"to_address"`
|
|
|
|
|
Amount github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,3,rep,name=amount,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"amount"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (m *MsgCreatePermanentLockedAccount) Reset() { *m = MsgCreatePermanentLockedAccount{} }
|
|
|
|
|
func (m *MsgCreatePermanentLockedAccount) String() string { return proto.CompactTextString(m) }
|
|
|
|
|
func (*MsgCreatePermanentLockedAccount) ProtoMessage() {}
|
|
|
|
|
func (*MsgCreatePermanentLockedAccount) Descriptor() ([]byte, []int) {
|
|
|
|
|
return fileDescriptor_5338ca97811f9792, []int{2}
|
|
|
|
|
}
|
|
|
|
|
func (m *MsgCreatePermanentLockedAccount) XXX_Unmarshal(b []byte) error {
|
|
|
|
|
return m.Unmarshal(b)
|
|
|
|
|
}
|
|
|
|
|
func (m *MsgCreatePermanentLockedAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
|
if deterministic {
|
|
|
|
|
return xxx_messageInfo_MsgCreatePermanentLockedAccount.Marshal(b, m, deterministic)
|
|
|
|
|
} else {
|
|
|
|
|
b = b[:cap(b)]
|
|
|
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
|
|
|
if err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
return b[:n], nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
func (m *MsgCreatePermanentLockedAccount) XXX_Merge(src proto.Message) {
|
|
|
|
|
xxx_messageInfo_MsgCreatePermanentLockedAccount.Merge(m, src)
|
|
|
|
|
}
|
|
|
|
|
func (m *MsgCreatePermanentLockedAccount) XXX_Size() int {
|
|
|
|
|
return m.Size()
|
|
|
|
|
}
|
|
|
|
|
func (m *MsgCreatePermanentLockedAccount) XXX_DiscardUnknown() {
|
|
|
|
|
xxx_messageInfo_MsgCreatePermanentLockedAccount.DiscardUnknown(m)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var xxx_messageInfo_MsgCreatePermanentLockedAccount proto.InternalMessageInfo
|
|
|
|
|
|
|
|
|
|
func (m *MsgCreatePermanentLockedAccount) GetFromAddress() string {
|
|
|
|
|
if m != nil {
|
|
|
|
|
return m.FromAddress
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (m *MsgCreatePermanentLockedAccount) GetToAddress() string {
|
|
|
|
|
if m != nil {
|
|
|
|
|
return m.ToAddress
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (m *MsgCreatePermanentLockedAccount) GetAmount() github_com_cosmos_cosmos_sdk_types.Coins {
|
|
|
|
|
if m != nil {
|
|
|
|
|
return m.Amount
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// MsgCreatePermanentLockedAccountResponse defines the Msg/CreatePermanentLockedAccount response type.
|
|
|
|
|
type MsgCreatePermanentLockedAccountResponse struct {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (m *MsgCreatePermanentLockedAccountResponse) Reset() {
|
|
|
|
|
*m = MsgCreatePermanentLockedAccountResponse{}
|
|
|
|
|
}
|
|
|
|
|
func (m *MsgCreatePermanentLockedAccountResponse) String() string { return proto.CompactTextString(m) }
|
|
|
|
|
func (*MsgCreatePermanentLockedAccountResponse) ProtoMessage() {}
|
|
|
|
|
func (*MsgCreatePermanentLockedAccountResponse) Descriptor() ([]byte, []int) {
|
|
|
|
|
return fileDescriptor_5338ca97811f9792, []int{3}
|
|
|
|
|
}
|
|
|
|
|
func (m *MsgCreatePermanentLockedAccountResponse) XXX_Unmarshal(b []byte) error {
|
|
|
|
|
return m.Unmarshal(b)
|
|
|
|
|
}
|
|
|
|
|
func (m *MsgCreatePermanentLockedAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
|
if deterministic {
|
|
|
|
|
return xxx_messageInfo_MsgCreatePermanentLockedAccountResponse.Marshal(b, m, deterministic)
|
|
|
|
|
} else {
|
|
|
|
|
b = b[:cap(b)]
|
|
|
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
|
|
|
if err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
return b[:n], nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
func (m *MsgCreatePermanentLockedAccountResponse) XXX_Merge(src proto.Message) {
|
|
|
|
|
xxx_messageInfo_MsgCreatePermanentLockedAccountResponse.Merge(m, src)
|
|
|
|
|
}
|
|
|
|
|
func (m *MsgCreatePermanentLockedAccountResponse) XXX_Size() int {
|
|
|
|
|
return m.Size()
|
|
|
|
|
}
|
|
|
|
|
func (m *MsgCreatePermanentLockedAccountResponse) XXX_DiscardUnknown() {
|
|
|
|
|
xxx_messageInfo_MsgCreatePermanentLockedAccountResponse.DiscardUnknown(m)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var xxx_messageInfo_MsgCreatePermanentLockedAccountResponse proto.InternalMessageInfo
|
|
|
|
|
|
|
|
|
|
// MsgCreateVestingAccount defines a message that enables creating a vesting
|
|
|
|
|
// account.
|
|
|
|
|
type MsgCreatePeriodicVestingAccount struct {
|
|
|
|
@@ -160,7 +261,7 @@ func (m *MsgCreatePeriodicVestingAccount) Reset() { *m = MsgCreatePeriod
|
|
|
|
|
func (m *MsgCreatePeriodicVestingAccount) String() string { return proto.CompactTextString(m) }
|
|
|
|
|
func (*MsgCreatePeriodicVestingAccount) ProtoMessage() {}
|
|
|
|
|
func (*MsgCreatePeriodicVestingAccount) Descriptor() ([]byte, []int) {
|
|
|
|
|
return fileDescriptor_5338ca97811f9792, []int{2}
|
|
|
|
|
return fileDescriptor_5338ca97811f9792, []int{4}
|
|
|
|
|
}
|
|
|
|
|
func (m *MsgCreatePeriodicVestingAccount) XXX_Unmarshal(b []byte) error {
|
|
|
|
|
return m.Unmarshal(b)
|
|
|
|
@@ -228,7 +329,7 @@ func (m *MsgCreatePeriodicVestingAccountResponse) Reset() {
|
|
|
|
|
func (m *MsgCreatePeriodicVestingAccountResponse) String() string { return proto.CompactTextString(m) }
|
|
|
|
|
func (*MsgCreatePeriodicVestingAccountResponse) ProtoMessage() {}
|
|
|
|
|
func (*MsgCreatePeriodicVestingAccountResponse) Descriptor() ([]byte, []int) {
|
|
|
|
|
return fileDescriptor_5338ca97811f9792, []int{3}
|
|
|
|
|
return fileDescriptor_5338ca97811f9792, []int{5}
|
|
|
|
|
}
|
|
|
|
|
func (m *MsgCreatePeriodicVestingAccountResponse) XXX_Unmarshal(b []byte) error {
|
|
|
|
|
return m.Unmarshal(b)
|
|
|
|
@@ -260,6 +361,8 @@ var xxx_messageInfo_MsgCreatePeriodicVestingAccountResponse proto.InternalMessag
|
|
|
|
|
func init() {
|
|
|
|
|
proto.RegisterType((*MsgCreateVestingAccount)(nil), "cosmos.vesting.v1beta1.MsgCreateVestingAccount")
|
|
|
|
|
proto.RegisterType((*MsgCreateVestingAccountResponse)(nil), "cosmos.vesting.v1beta1.MsgCreateVestingAccountResponse")
|
|
|
|
|
proto.RegisterType((*MsgCreatePermanentLockedAccount)(nil), "cosmos.vesting.v1beta1.MsgCreatePermanentLockedAccount")
|
|
|
|
|
proto.RegisterType((*MsgCreatePermanentLockedAccountResponse)(nil), "cosmos.vesting.v1beta1.MsgCreatePermanentLockedAccountResponse")
|
|
|
|
|
proto.RegisterType((*MsgCreatePeriodicVestingAccount)(nil), "cosmos.vesting.v1beta1.MsgCreatePeriodicVestingAccount")
|
|
|
|
|
proto.RegisterType((*MsgCreatePeriodicVestingAccountResponse)(nil), "cosmos.vesting.v1beta1.MsgCreatePeriodicVestingAccountResponse")
|
|
|
|
|
}
|
|
|
|
@@ -267,41 +370,46 @@ func init() {
|
|
|
|
|
func init() { proto.RegisterFile("cosmos/vesting/v1beta1/tx.proto", fileDescriptor_5338ca97811f9792) }
|
|
|
|
|
|
|
|
|
|
var fileDescriptor_5338ca97811f9792 = []byte{
|
|
|
|
|
// 533 bytes of a gzipped FileDescriptorProto
|
|
|
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x94, 0x31, 0x6f, 0xd3, 0x40,
|
|
|
|
|
0x14, 0xc7, 0x7d, 0x71, 0x68, 0x9b, 0x2b, 0x02, 0xc9, 0x0a, 0xd4, 0x89, 0xa8, 0x9d, 0x46, 0x48,
|
|
|
|
|
0x18, 0xa4, 0xda, 0xa4, 0x0c, 0x95, 0x60, 0x40, 0x4d, 0x47, 0x14, 0x09, 0x19, 0xc4, 0xc0, 0x12,
|
|
|
|
|
0x39, 0xf6, 0xe1, 0x9e, 0xc0, 0x77, 0x91, 0xdf, 0xa5, 0x6a, 0x37, 0xc4, 0x27, 0x60, 0x64, 0x44,
|
|
|
|
|
0x62, 0x63, 0x62, 0xe0, 0x03, 0x30, 0x76, 0xac, 0x98, 0x98, 0x00, 0x25, 0x03, 0xfd, 0x18, 0xc8,
|
|
|
|
|
0x77, 0xe7, 0xa8, 0xa5, 0x49, 0x23, 0x3a, 0x9d, 0x7d, 0xef, 0xff, 0x7f, 0xf7, 0xde, 0xcf, 0xef,
|
|
|
|
|
0x8c, 0xdd, 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0x40, 0x05, 0xc7, 0x03, 0x15,
|
|
|
|
|
0xfc, 0x18, 0xa8, 0xe0, 0xed, 0x50, 0xcd, 0x1d, 0x0f, 0xd5, 0xdc, 0xb7, 0xa1, 0x9a, 0x7b, 0x59,
|
|
|
|
|
0x9b, 0x39, 0x53, 0x87, 0x96, 0xd3, 0xa5, 0xbb, 0xa3, 0xcf, 0x7b, 0x3a, 0x62, 0xed, 0xc5, 0xf4,
|
|
|
|
|
0xe3, 0x7d, 0xff, 0x77, 0x00, 0x00, 0x00, 0xff, 0xff, 0x3d, 0xa4, 0x06, 0x42, 0x87, 0x06, 0x00,
|
|
|
|
|
0x00,
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (this *MsgCreateVestingAccount) Equal(that interface{}) bool {
|
|
|
|
@@ -345,6 +453,41 @@ func (this *MsgCreateVestingAccount) Equal(that interface{}) bool {
|
|
|
|
|
}
|
|
|
|
|
return true
|
|
|
|
|
}
|
|
|
|
|
func (this *MsgCreatePermanentLockedAccount) Equal(that interface{}) bool {
|
|
|
|
|
if that == nil {
|
|
|
|
|
return this == nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
that1, ok := that.(*MsgCreatePermanentLockedAccount)
|
|
|
|
|
if !ok {
|
|
|
|
|
that2, ok := that.(MsgCreatePermanentLockedAccount)
|
|
|
|
|
if ok {
|
|
|
|
|
that1 = &that2
|
|
|
|
|
} else {
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
if that1 == nil {
|
|
|
|
|
return this == nil
|
|
|
|
|
} else if this == nil {
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
if this.FromAddress != that1.FromAddress {
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
if this.ToAddress != that1.ToAddress {
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
if len(this.Amount) != len(that1.Amount) {
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
for i := range this.Amount {
|
|
|
|
|
if !this.Amount[i].Equal(&that1.Amount[i]) {
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
return true
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
|
|
|
var _ context.Context
|
|
|
|
@@ -361,6 +504,9 @@ type MsgClient interface {
|
|
|
|
|
// CreateVestingAccount defines a method that enables creating a vesting
|
|
|
|
|
// account.
|
|
|
|
|
CreateVestingAccount(ctx context.Context, in *MsgCreateVestingAccount, opts ...grpc.CallOption) (*MsgCreateVestingAccountResponse, error)
|
|
|
|
|
// CreatePermanentLockedAccount defines a method that enables creating a permanent
|
|
|
|
|
// locked account.
|
|
|
|
|
CreatePermanentLockedAccount(ctx context.Context, in *MsgCreatePermanentLockedAccount, opts ...grpc.CallOption) (*MsgCreatePermanentLockedAccountResponse, error)
|
|
|
|
|
// CreatePeriodicVestingAccount defines a method that enables creating a
|
|
|
|
|
// periodic vesting account.
|
|
|
|
|
CreatePeriodicVestingAccount(ctx context.Context, in *MsgCreatePeriodicVestingAccount, opts ...grpc.CallOption) (*MsgCreatePeriodicVestingAccountResponse, error)
|
|
|
|
@@ -383,6 +529,15 @@ func (c *msgClient) CreateVestingAccount(ctx context.Context, in *MsgCreateVesti
|
|
|
|
|
return out, nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (c *msgClient) CreatePermanentLockedAccount(ctx context.Context, in *MsgCreatePermanentLockedAccount, opts ...grpc.CallOption) (*MsgCreatePermanentLockedAccountResponse, error) {
|
|
|
|
|
out := new(MsgCreatePermanentLockedAccountResponse)
|
|
|
|
|
err := c.cc.Invoke(ctx, "/cosmos.vesting.v1beta1.Msg/CreatePermanentLockedAccount", in, out, opts...)
|
|
|
|
|
if err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
return out, nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (c *msgClient) CreatePeriodicVestingAccount(ctx context.Context, in *MsgCreatePeriodicVestingAccount, opts ...grpc.CallOption) (*MsgCreatePeriodicVestingAccountResponse, error) {
|
|
|
|
|
out := new(MsgCreatePeriodicVestingAccountResponse)
|
|
|
|
|
err := c.cc.Invoke(ctx, "/cosmos.vesting.v1beta1.Msg/CreatePeriodicVestingAccount", in, out, opts...)
|
|
|
|
@@ -397,6 +552,9 @@ type MsgServer interface {
|
|
|
|
|
// CreateVestingAccount defines a method that enables creating a vesting
|
|
|
|
|
// account.
|
|
|
|
|
CreateVestingAccount(context.Context, *MsgCreateVestingAccount) (*MsgCreateVestingAccountResponse, error)
|
|
|
|
|
// CreatePermanentLockedAccount defines a method that enables creating a permanent
|
|
|
|
|
// locked account.
|
|
|
|
|
CreatePermanentLockedAccount(context.Context, *MsgCreatePermanentLockedAccount) (*MsgCreatePermanentLockedAccountResponse, error)
|
|
|
|
|
// CreatePeriodicVestingAccount defines a method that enables creating a
|
|
|
|
|
// periodic vesting account.
|
|
|
|
|
CreatePeriodicVestingAccount(context.Context, *MsgCreatePeriodicVestingAccount) (*MsgCreatePeriodicVestingAccountResponse, error)
|
|
|
|
@@ -409,6 +567,9 @@ type UnimplementedMsgServer struct {
|
|
|
|
|
func (*UnimplementedMsgServer) CreateVestingAccount(ctx context.Context, req *MsgCreateVestingAccount) (*MsgCreateVestingAccountResponse, error) {
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method CreateVestingAccount not implemented")
|
|
|
|
|
}
|
|
|
|
|
func (*UnimplementedMsgServer) CreatePermanentLockedAccount(ctx context.Context, req *MsgCreatePermanentLockedAccount) (*MsgCreatePermanentLockedAccountResponse, error) {
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method CreatePermanentLockedAccount not implemented")
|
|
|
|
|
}
|
|
|
|
|
func (*UnimplementedMsgServer) CreatePeriodicVestingAccount(ctx context.Context, req *MsgCreatePeriodicVestingAccount) (*MsgCreatePeriodicVestingAccountResponse, error) {
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method CreatePeriodicVestingAccount not implemented")
|
|
|
|
|
}
|
|
|
|
@@ -435,6 +596,24 @@ func _Msg_CreateVestingAccount_Handler(srv interface{}, ctx context.Context, dec
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func _Msg_CreatePermanentLockedAccount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(MsgCreatePermanentLockedAccount)
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
if interceptor == nil {
|
|
|
|
|
return srv.(MsgServer).CreatePermanentLockedAccount(ctx, in)
|
|
|
|
|
}
|
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
|
Server: srv,
|
|
|
|
|
FullMethod: "/cosmos.vesting.v1beta1.Msg/CreatePermanentLockedAccount",
|
|
|
|
|
}
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
return srv.(MsgServer).CreatePermanentLockedAccount(ctx, req.(*MsgCreatePermanentLockedAccount))
|
|
|
|
|
}
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func _Msg_CreatePeriodicVestingAccount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(MsgCreatePeriodicVestingAccount)
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
@@ -461,6 +640,10 @@ var _Msg_serviceDesc = grpc.ServiceDesc{
|
|
|
|
|
MethodName: "CreateVestingAccount",
|
|
|
|
|
Handler: _Msg_CreateVestingAccount_Handler,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
MethodName: "CreatePermanentLockedAccount",
|
|
|
|
|
Handler: _Msg_CreatePermanentLockedAccount_Handler,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
MethodName: "CreatePeriodicVestingAccount",
|
|
|
|
|
Handler: _Msg_CreatePeriodicVestingAccount_Handler,
|
|
|
|
@@ -559,6 +742,80 @@ func (m *MsgCreateVestingAccountResponse) MarshalToSizedBuffer(dAtA []byte) (int
|
|
|
|
|
return len(dAtA) - i, nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (m *MsgCreatePermanentLockedAccount) Marshal() (dAtA []byte, err error) {
|
|
|
|
|
size := m.Size()
|
|
|
|
|
dAtA = make([]byte, size)
|
|
|
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
|
|
|
if err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
return dAtA[:n], nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (m *MsgCreatePermanentLockedAccount) MarshalTo(dAtA []byte) (int, error) {
|
|
|
|
|
size := m.Size()
|
|
|
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (m *MsgCreatePermanentLockedAccount) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
|
|
|
i := len(dAtA)
|
|
|
|
|
_ = i
|
|
|
|
|
var l int
|
|
|
|
|
_ = l
|
|
|
|
|
if len(m.Amount) > 0 {
|
|
|
|
|
for iNdEx := len(m.Amount) - 1; iNdEx >= 0; iNdEx-- {
|
|
|
|
|
{
|
|
|
|
|
size, err := m.Amount[iNdEx].MarshalToSizedBuffer(dAtA[:i])
|
|
|
|
|
if err != nil {
|
|
|
|
|
return 0, err
|
|
|
|
|
}
|
|
|
|
|
i -= size
|
|
|
|
|
i = encodeVarintTx(dAtA, i, uint64(size))
|
|
|
|
|
}
|
|
|
|
|
i--
|
|
|
|
|
dAtA[i] = 0x1a
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
if len(m.ToAddress) > 0 {
|
|
|
|
|
i -= len(m.ToAddress)
|
|
|
|
|
copy(dAtA[i:], m.ToAddress)
|
|
|
|
|
i = encodeVarintTx(dAtA, i, uint64(len(m.ToAddress)))
|
|
|
|
|
i--
|
|
|
|
|
dAtA[i] = 0x12
|
|
|
|
|
}
|
|
|
|
|
if len(m.FromAddress) > 0 {
|
|
|
|
|
i -= len(m.FromAddress)
|
|
|
|
|
copy(dAtA[i:], m.FromAddress)
|
|
|
|
|
i = encodeVarintTx(dAtA, i, uint64(len(m.FromAddress)))
|
|
|
|
|
i--
|
|
|
|
|
dAtA[i] = 0xa
|
|
|
|
|
}
|
|
|
|
|
return len(dAtA) - i, nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (m *MsgCreatePermanentLockedAccountResponse) Marshal() (dAtA []byte, err error) {
|
|
|
|
|
size := m.Size()
|
|
|
|
|
dAtA = make([]byte, size)
|
|
|
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
|
|
|
if err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
return dAtA[:n], nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (m *MsgCreatePermanentLockedAccountResponse) MarshalTo(dAtA []byte) (int, error) {
|
|
|
|
|
size := m.Size()
|
|
|
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (m *MsgCreatePermanentLockedAccountResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
|
|
|
i := len(dAtA)
|
|
|
|
|
_ = i
|
|
|
|
|
var l int
|
|
|
|
|
_ = l
|
|
|
|
|
return len(dAtA) - i, nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (m *MsgCreatePeriodicVestingAccount) Marshal() (dAtA []byte, err error) {
|
|
|
|
|
size := m.Size()
|
|
|
|
|
dAtA = make([]byte, size)
|
|
|
|
@@ -687,6 +944,38 @@ func (m *MsgCreateVestingAccountResponse) Size() (n int) {
|
|
|
|
|
return n
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (m *MsgCreatePermanentLockedAccount) Size() (n int) {
|
|
|
|
|
if m == nil {
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
var l int
|
|
|
|
|
_ = l
|
|
|
|
|
l = len(m.FromAddress)
|
|
|
|
|
if l > 0 {
|
|
|
|
|
n += 1 + l + sovTx(uint64(l))
|
|
|
|
|
}
|
|
|
|
|
l = len(m.ToAddress)
|
|
|
|
|
if l > 0 {
|
|
|
|
|
n += 1 + l + sovTx(uint64(l))
|
|
|
|
|
}
|
|
|
|
|
if len(m.Amount) > 0 {
|
|
|
|
|
for _, e := range m.Amount {
|
|
|
|
|
l = e.Size()
|
|
|
|
|
n += 1 + l + sovTx(uint64(l))
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
return n
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (m *MsgCreatePermanentLockedAccountResponse) Size() (n int) {
|
|
|
|
|
if m == nil {
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
var l int
|
|
|
|
|
_ = l
|
|
|
|
|
return n
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (m *MsgCreatePeriodicVestingAccount) Size() (n int) {
|
|
|
|
|
if m == nil {
|
|
|
|
|
return 0
|
|
|
|
@@ -965,6 +1254,204 @@ func (m *MsgCreateVestingAccountResponse) Unmarshal(dAtA []byte) error {
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
func (m *MsgCreatePermanentLockedAccount) Unmarshal(dAtA []byte) error {
|
|
|
|
|
l := len(dAtA)
|
|
|
|
|
iNdEx := 0
|
|
|
|
|
for iNdEx < l {
|
|
|
|
|
preIndex := iNdEx
|
|
|
|
|
var wire uint64
|
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
|
if shift >= 64 {
|
|
|
|
|
return ErrIntOverflowTx
|
|
|
|
|
}
|
|
|
|
|
if iNdEx >= l {
|
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
|
}
|
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
|
iNdEx++
|
|
|
|
|
wire |= uint64(b&0x7F) << shift
|
|
|
|
|
if b < 0x80 {
|
|
|
|
|
break
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
fieldNum := int32(wire >> 3)
|
|
|
|
|
wireType := int(wire & 0x7)
|
|
|
|
|
if wireType == 4 {
|
|
|
|
|
return fmt.Errorf("proto: MsgCreatePermanentLockedAccount: wiretype end group for non-group")
|
|
|
|
|
}
|
|
|
|
|
if fieldNum <= 0 {
|
|
|
|
|
return fmt.Errorf("proto: MsgCreatePermanentLockedAccount: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
|
|
|
}
|
|
|
|
|
switch fieldNum {
|
|
|
|
|
case 1:
|
|
|
|
|
if wireType != 2 {
|
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field FromAddress", wireType)
|
|
|
|
|
}
|
|
|
|
|
var stringLen uint64
|
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
|
if shift >= 64 {
|
|
|
|
|
return ErrIntOverflowTx
|
|
|
|
|
}
|
|
|
|
|
if iNdEx >= l {
|
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
|
}
|
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
|
iNdEx++
|
|
|
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
|
|
|
if b < 0x80 {
|
|
|
|
|
break
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
|
if intStringLen < 0 {
|
|
|
|
|
return ErrInvalidLengthTx
|
|
|
|
|
}
|
|
|
|
|
postIndex := iNdEx + intStringLen
|
|
|
|
|
if postIndex < 0 {
|
|
|
|
|
return ErrInvalidLengthTx
|
|
|
|
|
}
|
|
|
|
|
if postIndex > l {
|
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
|
}
|
|
|
|
|
m.FromAddress = string(dAtA[iNdEx:postIndex])
|
|
|
|
|
iNdEx = postIndex
|
|
|
|
|
case 2:
|
|
|
|
|
if wireType != 2 {
|
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ToAddress", wireType)
|
|
|
|
|
}
|
|
|
|
|
var stringLen uint64
|
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
|
if shift >= 64 {
|
|
|
|
|
return ErrIntOverflowTx
|
|
|
|
|
}
|
|
|
|
|
if iNdEx >= l {
|
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
|
}
|
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
|
iNdEx++
|
|
|
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
|
|
|
if b < 0x80 {
|
|
|
|
|
break
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
intStringLen := int(stringLen)
|
|
|
|
|
if intStringLen < 0 {
|
|
|
|
|
return ErrInvalidLengthTx
|
|
|
|
|
}
|
|
|
|
|
postIndex := iNdEx + intStringLen
|
|
|
|
|
if postIndex < 0 {
|
|
|
|
|
return ErrInvalidLengthTx
|
|
|
|
|
}
|
|
|
|
|
if postIndex > l {
|
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
|
}
|
|
|
|
|
m.ToAddress = string(dAtA[iNdEx:postIndex])
|
|
|
|
|
iNdEx = postIndex
|
|
|
|
|
case 3:
|
|
|
|
|
if wireType != 2 {
|
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Amount", wireType)
|
|
|
|
|
}
|
|
|
|
|
var msglen int
|
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
|
if shift >= 64 {
|
|
|
|
|
return ErrIntOverflowTx
|
|
|
|
|
}
|
|
|
|
|
if iNdEx >= l {
|
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
|
}
|
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
|
iNdEx++
|
|
|
|
|
msglen |= int(b&0x7F) << shift
|
|
|
|
|
if b < 0x80 {
|
|
|
|
|
break
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
if msglen < 0 {
|
|
|
|
|
return ErrInvalidLengthTx
|
|
|
|
|
}
|
|
|
|
|
postIndex := iNdEx + msglen
|
|
|
|
|
if postIndex < 0 {
|
|
|
|
|
return ErrInvalidLengthTx
|
|
|
|
|
}
|
|
|
|
|
if postIndex > l {
|
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
|
}
|
|
|
|
|
m.Amount = append(m.Amount, types.Coin{})
|
|
|
|
|
if err := m.Amount[len(m.Amount)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
|
|
|
return err
|
|
|
|
|
}
|
|
|
|
|
iNdEx = postIndex
|
|
|
|
|
default:
|
|
|
|
|
iNdEx = preIndex
|
|
|
|
|
skippy, err := skipTx(dAtA[iNdEx:])
|
|
|
|
|
if err != nil {
|
|
|
|
|
return err
|
|
|
|
|
}
|
|
|
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
|
|
|
return ErrInvalidLengthTx
|
|
|
|
|
}
|
|
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
|
}
|
|
|
|
|
iNdEx += skippy
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
func (m *MsgCreatePermanentLockedAccountResponse) Unmarshal(dAtA []byte) error {
|
|
|
|
|
l := len(dAtA)
|
|
|
|
|
iNdEx := 0
|
|
|
|
|
for iNdEx < l {
|
|
|
|
|
preIndex := iNdEx
|
|
|
|
|
var wire uint64
|
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
|
if shift >= 64 {
|
|
|
|
|
return ErrIntOverflowTx
|
|
|
|
|
}
|
|
|
|
|
if iNdEx >= l {
|
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
|
}
|
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
|
iNdEx++
|
|
|
|
|
wire |= uint64(b&0x7F) << shift
|
|
|
|
|
if b < 0x80 {
|
|
|
|
|
break
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
fieldNum := int32(wire >> 3)
|
|
|
|
|
wireType := int(wire & 0x7)
|
|
|
|
|
if wireType == 4 {
|
|
|
|
|
return fmt.Errorf("proto: MsgCreatePermanentLockedAccountResponse: wiretype end group for non-group")
|
|
|
|
|
}
|
|
|
|
|
if fieldNum <= 0 {
|
|
|
|
|
return fmt.Errorf("proto: MsgCreatePermanentLockedAccountResponse: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
|
|
|
}
|
|
|
|
|
switch fieldNum {
|
|
|
|
|
default:
|
|
|
|
|
iNdEx = preIndex
|
|
|
|
|
skippy, err := skipTx(dAtA[iNdEx:])
|
|
|
|
|
if err != nil {
|
|
|
|
|
return err
|
|
|
|
|
}
|
|
|
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
|
|
|
return ErrInvalidLengthTx
|
|
|
|
|
}
|
|
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
|
}
|
|
|
|
|
iNdEx += skippy
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
func (m *MsgCreatePeriodicVestingAccount) Unmarshal(dAtA []byte) error {
|
|
|
|
|
l := len(dAtA)
|
|
|
|
|
iNdEx := 0
|
|
|
|
|