diff --git a/Makefile b/Makefile index 54de16d..4fc3d24 100644 --- a/Makefile +++ b/Makefile @@ -174,7 +174,7 @@ proto-format: @$(protoImage) find ./ -name "*.proto" -exec clang-format -i {} \; proto-lint: - @$(protoImage) buf lint --error-format=json + @$(protoImage) buf lint --error-format=json ./proto proto-check-breaking: @$(protoImage) buf breaking --against $(HTTPS_GIT)#branch=main diff --git a/proto/miniwasm/tokenfactory/v1/authorityMetadata.proto b/proto/miniwasm/tokenfactory/v1/authority_metadata.proto similarity index 93% rename from proto/miniwasm/tokenfactory/v1/authorityMetadata.proto rename to proto/miniwasm/tokenfactory/v1/authority_metadata.proto index 04b5f4b..943d3af 100644 --- a/proto/miniwasm/tokenfactory/v1/authorityMetadata.proto +++ b/proto/miniwasm/tokenfactory/v1/authority_metadata.proto @@ -2,7 +2,6 @@ syntax = "proto3"; package miniwasm.tokenfactory.v1; import "gogoproto/gogo.proto"; -import "cosmos/base/v1beta1/coin.proto"; option go_package = "github.com/initia-labs/miniwasm/x/tokenfactory/types"; diff --git a/proto/miniwasm/tokenfactory/v1/genesis.proto b/proto/miniwasm/tokenfactory/v1/genesis.proto index 60e0449..7344e11 100644 --- a/proto/miniwasm/tokenfactory/v1/genesis.proto +++ b/proto/miniwasm/tokenfactory/v1/genesis.proto @@ -2,7 +2,7 @@ syntax = "proto3"; package miniwasm.tokenfactory.v1; import "gogoproto/gogo.proto"; -import "miniwasm/tokenfactory/v1/authorityMetadata.proto"; +import "miniwasm/tokenfactory/v1/authority_metadata.proto"; import "miniwasm/tokenfactory/v1/params.proto"; option go_package = "github.com/initia-labs/miniwasm/x/tokenfactory/types"; diff --git a/proto/miniwasm/tokenfactory/v1/params.proto b/proto/miniwasm/tokenfactory/v1/params.proto index ac8d95c..fb082cf 100644 --- a/proto/miniwasm/tokenfactory/v1/params.proto +++ b/proto/miniwasm/tokenfactory/v1/params.proto @@ -2,9 +2,7 @@ syntax = "proto3"; package miniwasm.tokenfactory.v1; import "gogoproto/gogo.proto"; -import "cosmos_proto/cosmos.proto"; import "cosmos/base/v1beta1/coin.proto"; -import "miniwasm/tokenfactory/v1/authorityMetadata.proto"; option go_package = "github.com/initia-labs/miniwasm/x/tokenfactory/types"; diff --git a/proto/miniwasm/tokenfactory/v1/query.proto b/proto/miniwasm/tokenfactory/v1/query.proto index c65903b..87859ec 100644 --- a/proto/miniwasm/tokenfactory/v1/query.proto +++ b/proto/miniwasm/tokenfactory/v1/query.proto @@ -3,8 +3,7 @@ package miniwasm.tokenfactory.v1; import "gogoproto/gogo.proto"; import "google/api/annotations.proto"; -import "cosmos/base/query/v1beta1/pagination.proto"; -import "miniwasm/tokenfactory/v1/authorityMetadata.proto"; +import "miniwasm/tokenfactory/v1/authority_metadata.proto"; import "miniwasm/tokenfactory/v1/params.proto"; option go_package = "github.com/initia-labs/miniwasm/x/tokenfactory/types"; @@ -78,6 +77,8 @@ message QueryDenomsFromCreatorResponse { repeated string denoms = 1 [ (gogoproto.moretags) = "yaml:\"denoms\"" ]; } +// QueryBeforeSendHookAddressRequest defines the request structure for the +// BeforeSendHookAddress gRPC query. message QueryBeforeSendHookAddressRequest { string denom = 1 [ (gogoproto.moretags) = "yaml:\"denom\"" ]; } diff --git a/proto/miniwasm/tokenfactory/v1/tx.proto b/proto/miniwasm/tokenfactory/v1/tx.proto index cb82c13..9260cd0 100644 --- a/proto/miniwasm/tokenfactory/v1/tx.proto +++ b/proto/miniwasm/tokenfactory/v1/tx.proto @@ -15,15 +15,33 @@ option go_package = "github.com/initia-labs/miniwasm/x/tokenfactory/types"; service Msg { option (cosmos.msg.v1.service) = true; + // CreateDenom defines a gRPC service method for creating a new denom. rpc CreateDenom(MsgCreateDenom) returns (MsgCreateDenomResponse); + + // Mint defines a gRPC service method for minting more of a token. rpc Mint(MsgMint) returns (MsgMintResponse); + + // Burn defines a gRPC service method for burning a token. rpc Burn(MsgBurn) returns (MsgBurnResponse); + + // ChangeAdmin defines a gRPC service method for changing the admin of a + // denom. rpc ChangeAdmin(MsgChangeAdmin) returns (MsgChangeAdminResponse); + + // SetDenomMetadata defines a gRPC service method for setting the metadata of + // a denom. rpc SetDenomMetadata(MsgSetDenomMetadata) returns (MsgSetDenomMetadataResponse); + + // SetBeforeSendHook defines a gRPC service method for setting the before send + // hook of a denom. rpc SetBeforeSendHook(MsgSetBeforeSendHook) returns (MsgSetBeforeSendHookResponse); + + // ForceTransfer defines a gRPC service method for transferring a token from + // one account to another. rpc ForceTransfer(MsgForceTransfer) returns (MsgForceTransferResponse); + // UpdateParams defines an operation for updating the x/tokenfactory module // parameters. rpc UpdateParams(MsgUpdateParams) returns (MsgUpdateParamsResponse); @@ -68,12 +86,14 @@ message MsgMint { (gogoproto.moretags) = "yaml:\"amount\"", (gogoproto.nullable) = false ]; - string mintToAddress = 3 [ + string mint_to_address = 3 [ (gogoproto.moretags) = "yaml:\"mint_to_address\"", (amino.dont_omitempty) = true ]; } +// MsgMintResponse defines the response structure for an executed +// MsgMint message. message MsgMintResponse {} // MsgBurn is the sdk.Msg type for allowing an admin account to burn @@ -89,12 +109,14 @@ message MsgBurn { (gogoproto.moretags) = "yaml:\"amount\"", (gogoproto.nullable) = false ]; - string burnFromAddress = 3 [ + string burn_from_address = 3 [ (gogoproto.moretags) = "yaml:\"burn_from_address\"", (amino.dont_omitempty) = true ]; } +// MsgBurnResponse defines the response structure for an executed +// MsgBurn message. message MsgBurnResponse {} // MsgChangeAdmin is the sdk.Msg type for allowing an admin account to reassign @@ -147,6 +169,8 @@ message MsgSetDenomMetadata { // MsgSetDenomMetadata message. message MsgSetDenomMetadataResponse {} +// MsgForceTransfer is the sdk.Msg type for allowing an admin account to +// transfer a token from one account to another message MsgForceTransfer { option (cosmos.msg.v1.signer) = "sender"; option (amino.name) = "tokenfactory/MsgForceTransfer"; @@ -156,12 +180,14 @@ message MsgForceTransfer { (gogoproto.moretags) = "yaml:\"amount\"", (gogoproto.nullable) = false ]; - string transferFromAddress = 3 + string transfer_from_address = 3 [ (gogoproto.moretags) = "yaml:\"transfer_from_address\"" ]; - string transferToAddress = 4 + string transfer_to_address = 4 [ (gogoproto.moretags) = "yaml:\"transfer_to_address\"" ]; } +// MsgForceTransferResponse defines the response structure for an executed +// MsgForceTransfer message. message MsgForceTransferResponse {} // MsgUpdateParams is the Msg/UpdateParams request type. diff --git a/x/tokenfactory/types/authority_metadata.pb.go b/x/tokenfactory/types/authority_metadata.pb.go new file mode 100644 index 0000000..c663c1a --- /dev/null +++ b/x/tokenfactory/types/authority_metadata.pb.go @@ -0,0 +1,349 @@ +// Code generated by protoc-gen-gogo. DO NOT EDIT. +// source: miniwasm/tokenfactory/v1/authority_metadata.proto + +package types + +import ( + fmt "fmt" + _ "github.com/cosmos/gogoproto/gogoproto" + proto "github.com/cosmos/gogoproto/proto" + io "io" + math "math" + math_bits "math/bits" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package + +// DenomAuthorityMetadata specifies metadata for addresses that have specific +// capabilities over a token factory denom. Right now there is only one Admin +// permission, but is planned to be extended to the future. +type DenomAuthorityMetadata struct { + // Can be empty for no admin, or a valid osmosis address + Admin string `protobuf:"bytes,1,opt,name=admin,proto3" json:"admin,omitempty" yaml:"admin"` +} + +func (m *DenomAuthorityMetadata) Reset() { *m = DenomAuthorityMetadata{} } +func (m *DenomAuthorityMetadata) String() string { return proto.CompactTextString(m) } +func (*DenomAuthorityMetadata) ProtoMessage() {} +func (*DenomAuthorityMetadata) Descriptor() ([]byte, []int) { + return fileDescriptor_b94758c81266c5ba, []int{0} +} +func (m *DenomAuthorityMetadata) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *DenomAuthorityMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_DenomAuthorityMetadata.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 *DenomAuthorityMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_DenomAuthorityMetadata.Merge(m, src) +} +func (m *DenomAuthorityMetadata) XXX_Size() int { + return m.Size() +} +func (m *DenomAuthorityMetadata) XXX_DiscardUnknown() { + xxx_messageInfo_DenomAuthorityMetadata.DiscardUnknown(m) +} + +var xxx_messageInfo_DenomAuthorityMetadata proto.InternalMessageInfo + +func (m *DenomAuthorityMetadata) GetAdmin() string { + if m != nil { + return m.Admin + } + return "" +} + +func init() { + proto.RegisterType((*DenomAuthorityMetadata)(nil), "miniwasm.tokenfactory.v1.DenomAuthorityMetadata") +} + +func init() { + proto.RegisterFile("miniwasm/tokenfactory/v1/authority_metadata.proto", fileDescriptor_b94758c81266c5ba) +} + +var fileDescriptor_b94758c81266c5ba = []byte{ + // 221 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x32, 0xcc, 0xcd, 0xcc, 0xcb, + 0x2c, 0x4f, 0x2c, 0xce, 0xd5, 0x2f, 0xc9, 0xcf, 0x4e, 0xcd, 0x4b, 0x4b, 0x4c, 0x2e, 0xc9, 0x2f, + 0xaa, 0xd4, 0x2f, 0x33, 0xd4, 0x4f, 0x2c, 0x2d, 0xc9, 0xc8, 0x2f, 0xca, 0x2c, 0xa9, 0x8c, 0xcf, + 0x4d, 0x2d, 0x49, 0x4c, 0x49, 0x2c, 0x49, 0xd4, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x92, 0x80, + 0x69, 0xd1, 0x43, 0xd6, 0xa2, 0x57, 0x66, 0x28, 0x25, 0x92, 0x9e, 0x9f, 0x9e, 0x0f, 0x56, 0xa4, + 0x0f, 0x62, 0x41, 0xd4, 0x2b, 0xb9, 0x71, 0x89, 0xb9, 0xa4, 0xe6, 0xe5, 0xe7, 0x3a, 0xc2, 0x0c, + 0xf4, 0x85, 0x9a, 0x27, 0xa4, 0xc6, 0xc5, 0x9a, 0x98, 0x92, 0x9b, 0x99, 0x27, 0xc1, 0xa8, 0xc0, + 0xa8, 0xc1, 0xe9, 0x24, 0xf0, 0xe9, 0x9e, 0x3c, 0x4f, 0x65, 0x62, 0x6e, 0x8e, 0x95, 0x12, 0x58, + 0x58, 0x29, 0x08, 0x22, 0x6d, 0xc5, 0xf2, 0x62, 0x81, 0x3c, 0xa3, 0x93, 0xdf, 0x89, 0x47, 0x72, + 0x8c, 0x17, 0x1e, 0xc9, 0x31, 0x3e, 0x78, 0x24, 0xc7, 0x38, 0xe1, 0xb1, 0x1c, 0xc3, 0x85, 0xc7, + 0x72, 0x0c, 0x37, 0x1e, 0xcb, 0x31, 0x44, 0x99, 0xa4, 0x67, 0x96, 0x64, 0x94, 0x26, 0xe9, 0x25, + 0xe7, 0xe7, 0xea, 0x67, 0xe6, 0x65, 0x96, 0x64, 0x26, 0xea, 0xe6, 0x24, 0x26, 0x15, 0xeb, 0xc3, + 0xfd, 0x56, 0x81, 0xea, 0xbb, 0x92, 0xca, 0x82, 0xd4, 0xe2, 0x24, 0x36, 0xb0, 0xf3, 0x8c, 0x01, + 0x01, 0x00, 0x00, 0xff, 0xff, 0x14, 0x86, 0x7e, 0x0b, 0x03, 0x01, 0x00, 0x00, +} + +func (this *DenomAuthorityMetadata) Equal(that interface{}) bool { + if that == nil { + return this == nil + } + + that1, ok := that.(*DenomAuthorityMetadata) + if !ok { + that2, ok := that.(DenomAuthorityMetadata) + if ok { + that1 = &that2 + } else { + return false + } + } + if that1 == nil { + return this == nil + } else if this == nil { + return false + } + if this.Admin != that1.Admin { + return false + } + return true +} +func (m *DenomAuthorityMetadata) 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 *DenomAuthorityMetadata) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *DenomAuthorityMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.Admin) > 0 { + i -= len(m.Admin) + copy(dAtA[i:], m.Admin) + i = encodeVarintAuthorityMetadata(dAtA, i, uint64(len(m.Admin))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func encodeVarintAuthorityMetadata(dAtA []byte, offset int, v uint64) int { + offset -= sovAuthorityMetadata(v) + base := offset + for v >= 1<<7 { + dAtA[offset] = uint8(v&0x7f | 0x80) + v >>= 7 + offset++ + } + dAtA[offset] = uint8(v) + return base +} +func (m *DenomAuthorityMetadata) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Admin) + if l > 0 { + n += 1 + l + sovAuthorityMetadata(uint64(l)) + } + return n +} + +func sovAuthorityMetadata(x uint64) (n int) { + return (math_bits.Len64(x|1) + 6) / 7 +} +func sozAuthorityMetadata(x uint64) (n int) { + return sovAuthorityMetadata(uint64((x << 1) ^ uint64((int64(x) >> 63)))) +} +func (m *DenomAuthorityMetadata) 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 ErrIntOverflowAuthorityMetadata + } + 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: DenomAuthorityMetadata: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: DenomAuthorityMetadata: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Admin", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAuthorityMetadata + } + 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 ErrInvalidLengthAuthorityMetadata + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthAuthorityMetadata + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Admin = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipAuthorityMetadata(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthAuthorityMetadata + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func skipAuthorityMetadata(dAtA []byte) (n int, err error) { + l := len(dAtA) + iNdEx := 0 + depth := 0 + for iNdEx < l { + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowAuthorityMetadata + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + wireType := int(wire & 0x7) + switch wireType { + case 0: + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowAuthorityMetadata + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + iNdEx++ + if dAtA[iNdEx-1] < 0x80 { + break + } + } + case 1: + iNdEx += 8 + case 2: + var length int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowAuthorityMetadata + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + length |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if length < 0 { + return 0, ErrInvalidLengthAuthorityMetadata + } + iNdEx += length + case 3: + depth++ + case 4: + if depth == 0 { + return 0, ErrUnexpectedEndOfGroupAuthorityMetadata + } + depth-- + case 5: + iNdEx += 4 + default: + return 0, fmt.Errorf("proto: illegal wireType %d", wireType) + } + if iNdEx < 0 { + return 0, ErrInvalidLengthAuthorityMetadata + } + if depth == 0 { + return iNdEx, nil + } + } + return 0, io.ErrUnexpectedEOF +} + +var ( + ErrInvalidLengthAuthorityMetadata = fmt.Errorf("proto: negative length found during unmarshaling") + ErrIntOverflowAuthorityMetadata = fmt.Errorf("proto: integer overflow") + ErrUnexpectedEndOfGroupAuthorityMetadata = fmt.Errorf("proto: unexpected end of group") +) diff --git a/x/tokenfactory/types/genesis.pb.go b/x/tokenfactory/types/genesis.pb.go index be4cbf9..4b16445 100644 --- a/x/tokenfactory/types/genesis.pb.go +++ b/x/tokenfactory/types/genesis.pb.go @@ -142,30 +142,30 @@ func init() { } var fileDescriptor_529283f7a70aeb23 = []byte{ - // 362 bytes of a gzipped FileDescriptorProto + // 361 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0xcb, 0xcd, 0xcc, 0xcb, 0x2c, 0x4f, 0x2c, 0xce, 0xd5, 0x2f, 0xc9, 0xcf, 0x4e, 0xcd, 0x4b, 0x4b, 0x4c, 0x2e, 0xc9, 0x2f, 0xaa, 0xd4, 0x2f, 0x33, 0xd4, 0x4f, 0x4f, 0xcd, 0x4b, 0x2d, 0xce, 0x2c, 0xd6, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x92, 0x80, 0xa9, 0xd3, 0x43, 0x56, 0xa7, 0x57, 0x66, 0x28, 0x25, 0x92, 0x9e, - 0x9f, 0x9e, 0x0f, 0x56, 0x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5b, 0xc1, 0xb6, 0x38, 0xa2, - 0x87, 0xb9, 0x93, 0x22, 0xd4, 0xd5, 0x92, 0x10, 0xbb, 0x30, 0x4d, 0x56, 0x0a, 0x12, 0xc4, 0x88, - 0x29, 0x2b, 0x96, 0x17, 0x0b, 0xe4, 0x19, 0x9d, 0xfc, 0x4e, 0x3c, 0x92, 0x63, 0xbc, 0xf0, 0x48, - 0x8e, 0xf1, 0xc1, 0x23, 0x39, 0xc6, 0x09, 0x8f, 0xe5, 0x18, 0x2e, 0x3c, 0x96, 0x63, 0xb8, 0xf1, - 0x58, 0x8e, 0x21, 0xca, 0x24, 0x3d, 0xb3, 0x24, 0xa3, 0x34, 0x49, 0x2f, 0x39, 0x3f, 0x57, 0x3f, - 0x33, 0x2f, 0xb3, 0x24, 0x33, 0x51, 0x37, 0x27, 0x31, 0xa9, 0x58, 0x1f, 0x1e, 0xb5, 0x15, 0xa8, - 0x91, 0x5b, 0x52, 0x59, 0x90, 0x5a, 0x9c, 0xc4, 0x06, 0x8e, 0x59, 0x63, 0x40, 0x00, 0x00, 0x00, - 0xff, 0xff, 0xfd, 0xa4, 0x91, 0xcd, 0x8c, 0x02, 0x00, 0x00, + 0x9f, 0x9e, 0x0f, 0x56, 0xa4, 0x0f, 0x62, 0x41, 0xd4, 0x4b, 0x19, 0xe2, 0x34, 0x37, 0xb1, 0xb4, + 0x24, 0x23, 0xbf, 0x28, 0xb3, 0xa4, 0x32, 0x3e, 0x37, 0xb5, 0x24, 0x31, 0x25, 0xb1, 0x24, 0x11, + 0xaa, 0x45, 0x15, 0xa7, 0x96, 0x82, 0xc4, 0xa2, 0xc4, 0x5c, 0xa8, 0x4b, 0x94, 0xf6, 0x30, 0x72, + 0xf1, 0xb8, 0x43, 0xdc, 0x16, 0x5c, 0x92, 0x58, 0x92, 0x2a, 0x64, 0xc7, 0xc5, 0x06, 0x51, 0x20, + 0xc1, 0xa8, 0xc0, 0xa8, 0xc1, 0x6d, 0xa4, 0xa0, 0x87, 0xcb, 0xad, 0x7a, 0x01, 0x60, 0x75, 0x4e, + 0x2c, 0x27, 0xee, 0xc9, 0x33, 0x04, 0x41, 0x75, 0x09, 0xe5, 0x70, 0xf1, 0x41, 0x95, 0xc4, 0xa7, + 0xa4, 0xe6, 0xe5, 0xe7, 0x16, 0x4b, 0x30, 0x29, 0x30, 0x6b, 0x70, 0x1b, 0xa9, 0xe1, 0x36, 0x07, + 0x6a, 0xbf, 0x0b, 0x48, 0xb9, 0x93, 0x2c, 0xc8, 0xb4, 0x4f, 0xf7, 0xe4, 0x45, 0x2b, 0x13, 0x73, + 0x73, 0xac, 0x94, 0x50, 0xcd, 0x52, 0x0a, 0xe2, 0x85, 0x0a, 0xb8, 0x40, 0xf8, 0x07, 0x11, 0xce, + 0x07, 0x8b, 0x08, 0xa9, 0x71, 0xb1, 0x82, 0x95, 0x82, 0x5d, 0xcf, 0xe9, 0x24, 0xf0, 0xe9, 0x9e, + 0x3c, 0x0f, 0xc4, 0x24, 0xb0, 0xb0, 0x52, 0x10, 0x44, 0x5a, 0xa8, 0x89, 0x91, 0x4b, 0x08, 0x33, + 0xec, 0x24, 0x98, 0xc0, 0x7e, 0x36, 0xc0, 0xed, 0x56, 0xb0, 0x2d, 0x8e, 0x30, 0x8d, 0xbe, 0x50, + 0x7d, 0x4e, 0x8a, 0x50, 0x57, 0x4b, 0x42, 0xec, 0xc2, 0x34, 0x59, 0x29, 0x48, 0x30, 0x11, 0x5d, + 0x97, 0x15, 0xcb, 0x8b, 0x05, 0xf2, 0x8c, 0x4e, 0x7e, 0x27, 0x1e, 0xc9, 0x31, 0x5e, 0x78, 0x24, + 0xc7, 0xf8, 0xe0, 0x91, 0x1c, 0xe3, 0x84, 0xc7, 0x72, 0x0c, 0x17, 0x1e, 0xcb, 0x31, 0xdc, 0x78, + 0x2c, 0xc7, 0x10, 0x65, 0x92, 0x9e, 0x59, 0x92, 0x51, 0x9a, 0xa4, 0x97, 0x9c, 0x9f, 0xab, 0x9f, + 0x99, 0x97, 0x59, 0x92, 0x99, 0xa8, 0x9b, 0x93, 0x98, 0x54, 0xac, 0x0f, 0x8f, 0xda, 0x0a, 0xd4, + 0xc8, 0x2d, 0xa9, 0x2c, 0x48, 0x2d, 0x4e, 0x62, 0x03, 0xc7, 0xac, 0x31, 0x20, 0x00, 0x00, 0xff, + 0xff, 0xfc, 0xc2, 0x79, 0x63, 0x8d, 0x02, 0x00, 0x00, } func (this *GenesisDenom) Equal(that interface{}) bool { diff --git a/x/tokenfactory/types/params.pb.go b/x/tokenfactory/types/params.pb.go index d58fee9..57caec6 100644 --- a/x/tokenfactory/types/params.pb.go +++ b/x/tokenfactory/types/params.pb.go @@ -5,7 +5,6 @@ package types import ( fmt "fmt" - _ "github.com/cosmos/cosmos-proto" github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types" types "github.com/cosmos/cosmos-sdk/types" _ "github.com/cosmos/gogoproto/gogoproto" @@ -95,30 +94,28 @@ func init() { } var fileDescriptor_d4485882fe34268d = []byte{ - // 358 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x50, 0xbd, 0x6e, 0xe2, 0x40, - 0x18, 0xb4, 0xb9, 0x13, 0x85, 0xaf, 0x39, 0x59, 0x27, 0x1d, 0x50, 0xd8, 0xc4, 0x52, 0x24, 0x52, - 0xe0, 0x8d, 0x93, 0x54, 0x29, 0x41, 0x4a, 0x2a, 0xa2, 0x88, 0x32, 0x8d, 0xf5, 0xd9, 0x2c, 0x66, - 0x05, 0xbb, 0x1f, 0xf2, 0x2e, 0x24, 0x7e, 0x84, 0x74, 0xa9, 0xf2, 0x10, 0x79, 0x12, 0x4a, 0xca, - 0x54, 0x4e, 0x04, 0x6f, 0xc0, 0x13, 0x44, 0xd8, 0x9b, 0x08, 0xf2, 0x53, 0xed, 0x7e, 0x9a, 0xf9, - 0x66, 0xe6, 0x1b, 0xeb, 0x90, 0x33, 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, 0x4e, 0x6b, - 0x95, 0xa6, 0xd9, 0xfa, 0xdd, 0x39, 0x5a, 0xe4, 0xae, 0xb9, 0xc9, 0xdd, 0x83, 0x6f, 0x43, 0xec, - 0xf0, 0xbd, 0xfe, 0xff, 0x3d, 0x83, 0x4b, 0x90, 0xdd, 0x12, 0xe9, 0x5c, 0x2d, 0x56, 0x8e, 0xb9, - 0x5c, 0x39, 0xe6, 0xeb, 0xca, 0x31, 0x1f, 0xd6, 0x8e, 0xb1, 0x5c, 0x3b, 0xc6, 0xf3, 0xda, 0x31, - 0x6e, 0xce, 0x76, 0xd2, 0x33, 0xc1, 0x14, 0x83, 0xf6, 0x04, 0x22, 0x49, 0x3e, 0xea, 0xbe, 0xdb, - 0x2f, 0xbc, 0xb8, 0x27, 0xaa, 0x16, 0x15, 0x9f, 0xbe, 0x05, 0x00, 0x00, 0xff, 0xff, 0x8f, 0x20, - 0xf4, 0xd0, 0x28, 0x02, 0x00, 0x00, + // 332 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x91, 0xb1, 0x4e, 0x32, 0x41, + 0x10, 0xc7, 0x6f, 0xf9, 0xbe, 0x50, 0x9c, 0x8d, 0xb9, 0x98, 0x08, 0x14, 0x7b, 0x78, 0x89, 0x09, + 0x16, 0xec, 0xe6, 0xd4, 0xca, 0x12, 0x12, 0xad, 0x34, 0x86, 0xd2, 0x86, 0xec, 0x1d, 0xcb, 0xb9, + 0x81, 0xdd, 0x21, 0x37, 0x0b, 0xca, 0x23, 0xd8, 0x59, 0xf9, 0x10, 0x3e, 0x09, 0x25, 0xa5, 0xd5, + 0x69, 0xe0, 0x0d, 0x78, 0x02, 0xc3, 0x1d, 0x1a, 0x50, 0xab, 0xdd, 0x64, 0x7e, 0xfb, 0x9b, 0xff, + 0xce, 0xb8, 0xc7, 0x5a, 0x19, 0xf5, 0x20, 0x50, 0x73, 0x0b, 0x03, 0x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xcd, 0x6c, 0x41, 0xc9, 0x7c, 0x41, 0xc9, 0xc7, 0x82, 0x92, 0xe7, 0x25, 0x75, 0xe6, + 0x4b, 0xea, 0xbc, 0x2d, 0xa9, 0x73, 0x77, 0xbe, 0x95, 0x5e, 0x19, 0x65, 0x95, 0x68, 0x0e, 0x45, + 0x84, 0xfc, 0x7b, 0x67, 0x8f, 0xbb, 0x5b, 0xcb, 0xff, 0x13, 0x95, 0xf3, 0x11, 0x9f, 0x7d, 0x06, + 0x00, 0x00, 0xff, 0xff, 0x10, 0xf5, 0x6f, 0x8b, 0xdb, 0x01, 0x00, 0x00, } func (m *Params) Marshal() (dAtA []byte, err error) { diff --git a/x/tokenfactory/types/query.pb.go b/x/tokenfactory/types/query.pb.go index 519de59..56c265f 100644 --- a/x/tokenfactory/types/query.pb.go +++ b/x/tokenfactory/types/query.pb.go @@ -6,7 +6,6 @@ package types import ( context "context" fmt "fmt" - _ "github.com/cosmos/cosmos-sdk/types/query" _ "github.com/cosmos/gogoproto/gogoproto" grpc1 "github.com/cosmos/gogoproto/grpc" proto "github.com/cosmos/gogoproto/proto" @@ -297,6 +296,8 @@ func (m *QueryDenomsFromCreatorResponse) GetDenoms() []string { return nil } +// QueryBeforeSendHookAddressRequest defines the request structure for the +// BeforeSendHookAddress gRPC query. type QueryBeforeSendHookAddressRequest struct { Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty" yaml:"denom"` } @@ -403,50 +404,48 @@ func init() { } var fileDescriptor_463bfc4b871252b9 = []byte{ - // 677 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x55, 0xdd, 0x4e, 0x13, 0x41, - 0x14, 0xee, 0xaa, 0xd4, 0x30, 0xfe, 0xc1, 0x88, 0x8a, 0x55, 0xb7, 0x30, 0xfe, 0x04, 0x0d, 0x74, - 0x28, 0x9a, 0x20, 0x02, 0x1a, 0x8a, 0x21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x2b, 0x36, 0xae, 0x66, 0x94, 0xab, 0x49, 0x3c, - 0x71, 0xe4, 0x1d, 0x15, 0x14, 0x5f, 0x5e, 0x70, 0xbf, 0x94, 0x5f, 0x02, 0x58, 0xce, 0xbd, 0xda, - 0xdc, 0xb6, 0xad, 0xad, 0x6d, 0xdb, 0xfa, 0xb3, 0x6d, 0x5b, 0x9f, 0x77, 0xec, 0xc4, 0xd6, 0x8e, - 0x9d, 0xf8, 0xb5, 0x63, 0x27, 0xde, 0x3f, 0x2a, 0xbb, 0x72, 0xa9, 0x56, 0xc8, 0x14, 0xc1, 0xa3, - 0xae, 0xef, 0x4a, 0x97, 0x8d, 0x54, 0x58, 0x41, 0xec, 0xb6, 0xfa, 0xb8, 0xbf, 0x99, 0xac, 0x57, - 0xb9, 0x28, 0x24, 0xd5, 0x1f, 0xc6, 0xc3, 0x7f, 0x01, 0x00, 0x00, 0xff, 0xff, 0xbc, 0x89, 0x32, - 0x8d, 0x2b, 0x07, 0x00, 0x00, + // 655 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x55, 0xdf, 0x4e, 0x13, 0x4f, + 0x18, 0xed, 0xfe, 0x7e, 0x52, 0xc3, 0xf8, 0x0f, 0x46, 0x54, 0x5c, 0x75, 0x17, 0xc6, 0x3f, 0xc1, + 0x04, 0x76, 0x05, 0x4d, 0x10, 0x01, 0x0d, 0x8b, 0x21, 0x26, 0x88, 0xd1, 0x35, 0xde, 0x78, 0xb3, + 0x99, 0x76, 0xa7, 0xed, 0xa6, 0xdd, 0x9d, 0xb2, 0x33, 0x45, 0x1b, 0xc2, 0x0d, 0x2f, 0xa0, 0x89, + 0x37, 0x3e, 0x83, 0x2f, 0x22, 0x97, 0x24, 0xc6, 0xc4, 0x78, 0xb1, 0x31, 0xad, 0x4f, 0xd0, 0x27, + 0x30, 0x3b, 0x3b, 0x0d, 0x7f, 0xda, 0x6d, 0x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x1d, 0xfb, + 0x95, 0x27, 0x48, 0x94, 0x91, 0x9d, 0x1c, 0xa3, 0x6f, 0x0a, 0xb8, 0xdd, 0x53, 0x4e, 0xba, 0xde, + 0x55, 0x00, 0xec, 0xbc, 0x26, 0x19, 0xe1, 0x41, 0x7a, 0x84, 0xee, 0xb2, 0xd6, 0x64, 0x1c, 0xa9, + 0x15, 0xe9, 0xd7, 0x13, 0x4f, 0x9d, 0xca, 0xc8, 0x1e, 0xc5, 0xc7, 0x59, 0x68, 0x03, 0xdc, 0x3a, + 0xf0, 0xca, 0xd6, 0x42, 0xea, 0xaf, 0x86, 0x04, 0x73, 0x1a, 0xb6, 0x53, 0x4f, 0x83, 0xb3, 0xf9, + 0xa4, 0x22, 0x73, 0xc3, 0x56, 0xa4, 0x5f, 0x4c, 0x7a, 0xc8, 0x03, 0x64, 0xb7, 0x21, 0x68, 0x1d, + 0x68, 0x69, 0x72, 0x32, 0xf5, 0x7d, 0x90, 0x15, 0xd7, 0x14, 0xcf, 0xea, 0xff, 0xa9, 0x61, 0x6b, + 0xb4, 0x15, 0xe9, 0x17, 0x0e, 0x5d, 0x23, 0x43, 0xb6, 0x04, 0xa0, 0x75, 0x30, 0x29, 0xc4, 0x2c, + 0x52, 0xa0, 0x21, 0x79, 0x4b, 0x02, 0xf7, 0x05, 0xa5, 0xe5, 0x15, 0xd7, 0x0d, 0x09, 0x63, 0x27, + 0x9d, 0x4a, 0x45, 0xce, 0x38, 0x45, 0x4c, 0xba, 0x5b, 0x03, 0x23, 0x79, 0xca, 0xfc, 0xf8, 0xde, + 0x1d, 0x9c, 0x9c, 0x49, 0xe1, 0x1b, 0xad, 0x48, 0xbf, 0x26, 0x63, 0x1f, 0x43, 0x20, 0xfb, 0x52, + 0xbb, 0x24, 0xf5, 0xe6, 0xbe, 0x66, 0xc1, 0x90, 0x68, 0x07, 0x3f, 0x29, 0x20, 0x9b, 0x2c, 0x1d, + 0x9c, 0x4e, 0x9f, 0x69, 0xe7, 0xae, 0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95, 0xb0, 0x5c, 0x56, 0xfc, 0x60, + 0x3c, 0xfc, 0x17, 0x00, 0x00, 0xff, 0xff, 0xa0, 0x5c, 0xc2, 0x3d, 0x00, 0x07, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/x/tokenfactory/types/tx.pb.go b/x/tokenfactory/types/tx.pb.go index fe8a88f..694cc89 100644 --- a/x/tokenfactory/types/tx.pb.go +++ b/x/tokenfactory/types/tx.pb.go @@ -148,7 +148,7 @@ func (m *MsgCreateDenomResponse) GetNewTokenDenom() string { type MsgMint struct { Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` Amount types.Coin `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount" yaml:"amount"` - MintToAddress string `protobuf:"bytes,3,opt,name=mintToAddress,proto3" json:"mintToAddress,omitempty" yaml:"mint_to_address"` + MintToAddress string `protobuf:"bytes,3,opt,name=mint_to_address,json=mintToAddress,proto3" json:"mint_to_address,omitempty" yaml:"mint_to_address"` } func (m *MsgMint) Reset() { *m = MsgMint{} } @@ -205,6 +205,8 @@ func (m *MsgMint) GetMintToAddress() string { return "" } +// MsgMintResponse defines the response structure for an executed +// MsgMint message. type MsgMintResponse struct { } @@ -248,7 +250,7 @@ var xxx_messageInfo_MsgMintResponse proto.InternalMessageInfo type MsgBurn struct { Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` Amount types.Coin `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount" yaml:"amount"` - BurnFromAddress string `protobuf:"bytes,3,opt,name=burnFromAddress,proto3" json:"burnFromAddress,omitempty" yaml:"burn_from_address"` + BurnFromAddress string `protobuf:"bytes,3,opt,name=burn_from_address,json=burnFromAddress,proto3" json:"burn_from_address,omitempty" yaml:"burn_from_address"` } func (m *MsgBurn) Reset() { *m = MsgBurn{} } @@ -305,6 +307,8 @@ func (m *MsgBurn) GetBurnFromAddress() string { return "" } +// MsgBurnResponse defines the response structure for an executed +// MsgBurn message. type MsgBurnResponse struct { } @@ -633,11 +637,13 @@ func (m *MsgSetDenomMetadataResponse) XXX_DiscardUnknown() { var xxx_messageInfo_MsgSetDenomMetadataResponse proto.InternalMessageInfo +// MsgForceTransfer is the sdk.Msg type for allowing an admin account to +// transfer a token from one account to another type MsgForceTransfer struct { Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` Amount types.Coin `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount" yaml:"amount"` - TransferFromAddress string `protobuf:"bytes,3,opt,name=transferFromAddress,proto3" json:"transferFromAddress,omitempty" yaml:"transfer_from_address"` - TransferToAddress string `protobuf:"bytes,4,opt,name=transferToAddress,proto3" json:"transferToAddress,omitempty" yaml:"transfer_to_address"` + TransferFromAddress string `protobuf:"bytes,3,opt,name=transfer_from_address,json=transferFromAddress,proto3" json:"transfer_from_address,omitempty" yaml:"transfer_from_address"` + TransferToAddress string `protobuf:"bytes,4,opt,name=transfer_to_address,json=transferToAddress,proto3" json:"transfer_to_address,omitempty" yaml:"transfer_to_address"` } func (m *MsgForceTransfer) Reset() { *m = MsgForceTransfer{} } @@ -701,6 +707,8 @@ func (m *MsgForceTransfer) GetTransferToAddress() string { return "" } +// MsgForceTransferResponse defines the response structure for an executed +// MsgForceTransfer message. type MsgForceTransferResponse struct { } @@ -855,72 +863,73 @@ func init() { func init() { proto.RegisterFile("miniwasm/tokenfactory/v1/tx.proto", fileDescriptor_132bff292e3ad099) } var fileDescriptor_132bff292e3ad099 = []byte{ - // 1038 bytes of a gzipped FileDescriptorProto + // 1042 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x57, 0xcd, 0x6f, 0xe3, 0x44, - 0x14, 0xaf, 0xf7, 0x23, 0xb4, 0xb3, 0x5b, 0x9a, 0xba, 0x61, 0x9b, 0x7a, 0xb7, 0x76, 0x6b, 0xf1, - 0xb1, 0x14, 0xd5, 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, 0x24, 0xfd, 0x6d, 0xc0, 0x4e, 0x7b, 0x88, 0xb6, 0x73, + 0xc1, 0x87, 0xc1, 0x47, 0xff, 0x05, 0x00, 0x00, 0xff, 0xff, 0x13, 0xf5, 0xbd, 0x06, 0x1b, 0x0d, + 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -935,12 +944,23 @@ const _ = grpc.SupportPackageIsVersion4 // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. type MsgClient interface { + // CreateDenom defines a gRPC service method for creating a new denom. CreateDenom(ctx context.Context, in *MsgCreateDenom, opts ...grpc.CallOption) (*MsgCreateDenomResponse, error) + // Mint defines a gRPC service method for minting more of a token. Mint(ctx context.Context, in *MsgMint, opts ...grpc.CallOption) (*MsgMintResponse, error) + // Burn defines a gRPC service method for burning a token. Burn(ctx context.Context, in *MsgBurn, opts ...grpc.CallOption) (*MsgBurnResponse, error) + // ChangeAdmin defines a gRPC service method for changing the admin of a + // denom. ChangeAdmin(ctx context.Context, in *MsgChangeAdmin, opts ...grpc.CallOption) (*MsgChangeAdminResponse, error) + // SetDenomMetadata defines a gRPC service method for setting the metadata of + // a denom. SetDenomMetadata(ctx context.Context, in *MsgSetDenomMetadata, opts ...grpc.CallOption) (*MsgSetDenomMetadataResponse, error) + // SetBeforeSendHook defines a gRPC service method for setting the before send + // hook of a denom. SetBeforeSendHook(ctx context.Context, in *MsgSetBeforeSendHook, opts ...grpc.CallOption) (*MsgSetBeforeSendHookResponse, error) + // ForceTransfer defines a gRPC service method for transferring a token from + // one account to another. ForceTransfer(ctx context.Context, in *MsgForceTransfer, opts ...grpc.CallOption) (*MsgForceTransferResponse, error) // UpdateParams defines an operation for updating the x/tokenfactory module // parameters. @@ -1029,12 +1049,23 @@ func (c *msgClient) UpdateParams(ctx context.Context, in *MsgUpdateParams, opts // MsgServer is the server API for Msg service. type MsgServer interface { + // CreateDenom defines a gRPC service method for creating a new denom. CreateDenom(context.Context, *MsgCreateDenom) (*MsgCreateDenomResponse, error) + // Mint defines a gRPC service method for minting more of a token. Mint(context.Context, *MsgMint) (*MsgMintResponse, error) + // Burn defines a gRPC service method for burning a token. Burn(context.Context, *MsgBurn) (*MsgBurnResponse, error) + // ChangeAdmin defines a gRPC service method for changing the admin of a + // denom. ChangeAdmin(context.Context, *MsgChangeAdmin) (*MsgChangeAdminResponse, error) + // SetDenomMetadata defines a gRPC service method for setting the metadata of + // a denom. SetDenomMetadata(context.Context, *MsgSetDenomMetadata) (*MsgSetDenomMetadataResponse, error) + // SetBeforeSendHook defines a gRPC service method for setting the before send + // hook of a denom. SetBeforeSendHook(context.Context, *MsgSetBeforeSendHook) (*MsgSetBeforeSendHookResponse, error) + // ForceTransfer defines a gRPC service method for transferring a token from + // one account to another. ForceTransfer(context.Context, *MsgForceTransfer) (*MsgForceTransferResponse, error) // UpdateParams defines an operation for updating the x/tokenfactory module // parameters.