github.com/fibonacci-chain/fbc@v0.0.0-20231124064014-c7636198c1e9/x/wasm/types/proposal_custom.pb.go (about)

     1  // Code generated by protoc-gen-gogo. DO NOT EDIT.
     2  // source: x/wasm/proto/proposal_custom.proto
     3  
     4  package types
     5  
     6  import (
     7  	fmt "fmt"
     8  	proto "github.com/gogo/protobuf/proto"
     9  	math "math"
    10  )
    11  
    12  // Reference imports to suppress errors if they are not otherwise used.
    13  var _ = proto.Marshal
    14  var _ = fmt.Errorf
    15  var _ = math.Inf
    16  
    17  // This is a compile-time assertion to ensure that this generated file
    18  // is compatible with the proto package it is being compiled against.
    19  // A compilation error at this line likely means your copy of the
    20  // proto package needs to be updated.
    21  const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
    22  
    23  type UpdateDeploymentWhitelistProposal struct {
    24  	Title                string   `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
    25  	Description          string   `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
    26  	DistributorAddrs     []string `protobuf:"bytes,3,rep,name=distributorAddrs,proto3" json:"distributorAddrs,omitempty"`
    27  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
    28  	XXX_unrecognized     []byte   `json:"-"`
    29  	XXX_sizecache        int32    `json:"-"`
    30  }
    31  
    32  func (m *UpdateDeploymentWhitelistProposal) Reset()         { *m = UpdateDeploymentWhitelistProposal{} }
    33  func (m *UpdateDeploymentWhitelistProposal) String() string { return proto.CompactTextString(m) }
    34  func (*UpdateDeploymentWhitelistProposal) ProtoMessage()    {}
    35  func (*UpdateDeploymentWhitelistProposal) Descriptor() ([]byte, []int) {
    36  	return fileDescriptor_dd9d4d6e8a1d82c0, []int{0}
    37  }
    38  func (m *UpdateDeploymentWhitelistProposal) XXX_Unmarshal(b []byte) error {
    39  	return xxx_messageInfo_UpdateDeploymentWhitelistProposal.Unmarshal(m, b)
    40  }
    41  func (m *UpdateDeploymentWhitelistProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
    42  	return xxx_messageInfo_UpdateDeploymentWhitelistProposal.Marshal(b, m, deterministic)
    43  }
    44  func (m *UpdateDeploymentWhitelistProposal) XXX_Merge(src proto.Message) {
    45  	xxx_messageInfo_UpdateDeploymentWhitelistProposal.Merge(m, src)
    46  }
    47  func (m *UpdateDeploymentWhitelistProposal) XXX_Size() int {
    48  	return xxx_messageInfo_UpdateDeploymentWhitelistProposal.Size(m)
    49  }
    50  func (m *UpdateDeploymentWhitelistProposal) XXX_DiscardUnknown() {
    51  	xxx_messageInfo_UpdateDeploymentWhitelistProposal.DiscardUnknown(m)
    52  }
    53  
    54  var xxx_messageInfo_UpdateDeploymentWhitelistProposal proto.InternalMessageInfo
    55  
    56  func (m *UpdateDeploymentWhitelistProposal) GetTitle() string {
    57  	if m != nil {
    58  		return m.Title
    59  	}
    60  	return ""
    61  }
    62  
    63  func (m *UpdateDeploymentWhitelistProposal) GetDescription() string {
    64  	if m != nil {
    65  		return m.Description
    66  	}
    67  	return ""
    68  }
    69  
    70  func (m *UpdateDeploymentWhitelistProposal) GetDistributorAddrs() []string {
    71  	if m != nil {
    72  		return m.DistributorAddrs
    73  	}
    74  	return nil
    75  }
    76  
    77  type UpdateWASMContractMethodBlockedListProposal struct {
    78  	Title                string           `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
    79  	Description          string           `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
    80  	BlockedMethods       *ContractMethods `protobuf:"bytes,3,opt,name=blockedMethods,proto3" json:"blockedMethods,omitempty"`
    81  	IsDelete             bool             `protobuf:"varint,4,opt,name=isDelete,proto3" json:"isDelete,omitempty"`
    82  	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
    83  	XXX_unrecognized     []byte           `json:"-"`
    84  	XXX_sizecache        int32            `json:"-"`
    85  }
    86  
    87  func (m *UpdateWASMContractMethodBlockedListProposal) Reset() {
    88  	*m = UpdateWASMContractMethodBlockedListProposal{}
    89  }
    90  func (m *UpdateWASMContractMethodBlockedListProposal) String() string {
    91  	return proto.CompactTextString(m)
    92  }
    93  func (*UpdateWASMContractMethodBlockedListProposal) ProtoMessage() {}
    94  func (*UpdateWASMContractMethodBlockedListProposal) Descriptor() ([]byte, []int) {
    95  	return fileDescriptor_dd9d4d6e8a1d82c0, []int{1}
    96  }
    97  func (m *UpdateWASMContractMethodBlockedListProposal) XXX_Unmarshal(b []byte) error {
    98  	return xxx_messageInfo_UpdateWASMContractMethodBlockedListProposal.Unmarshal(m, b)
    99  }
   100  func (m *UpdateWASMContractMethodBlockedListProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   101  	return xxx_messageInfo_UpdateWASMContractMethodBlockedListProposal.Marshal(b, m, deterministic)
   102  }
   103  func (m *UpdateWASMContractMethodBlockedListProposal) XXX_Merge(src proto.Message) {
   104  	xxx_messageInfo_UpdateWASMContractMethodBlockedListProposal.Merge(m, src)
   105  }
   106  func (m *UpdateWASMContractMethodBlockedListProposal) XXX_Size() int {
   107  	return xxx_messageInfo_UpdateWASMContractMethodBlockedListProposal.Size(m)
   108  }
   109  func (m *UpdateWASMContractMethodBlockedListProposal) XXX_DiscardUnknown() {
   110  	xxx_messageInfo_UpdateWASMContractMethodBlockedListProposal.DiscardUnknown(m)
   111  }
   112  
   113  var xxx_messageInfo_UpdateWASMContractMethodBlockedListProposal proto.InternalMessageInfo
   114  
   115  func (m *UpdateWASMContractMethodBlockedListProposal) GetTitle() string {
   116  	if m != nil {
   117  		return m.Title
   118  	}
   119  	return ""
   120  }
   121  
   122  func (m *UpdateWASMContractMethodBlockedListProposal) GetDescription() string {
   123  	if m != nil {
   124  		return m.Description
   125  	}
   126  	return ""
   127  }
   128  
   129  func (m *UpdateWASMContractMethodBlockedListProposal) GetBlockedMethods() *ContractMethods {
   130  	if m != nil {
   131  		return m.BlockedMethods
   132  	}
   133  	return nil
   134  }
   135  
   136  func (m *UpdateWASMContractMethodBlockedListProposal) GetIsDelete() bool {
   137  	if m != nil {
   138  		return m.IsDelete
   139  	}
   140  	return false
   141  }
   142  
   143  type ContractMethods struct {
   144  	ContractAddr         string    `protobuf:"bytes,1,opt,name=contractAddr,proto3" json:"contractAddr,omitempty"`
   145  	Methods              []*Method `protobuf:"bytes,2,rep,name=methods,proto3" json:"methods,omitempty"`
   146  	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
   147  	XXX_unrecognized     []byte    `json:"-"`
   148  	XXX_sizecache        int32     `json:"-"`
   149  }
   150  
   151  func (m *ContractMethods) Reset()         { *m = ContractMethods{} }
   152  func (m *ContractMethods) String() string { return proto.CompactTextString(m) }
   153  func (*ContractMethods) ProtoMessage()    {}
   154  func (*ContractMethods) Descriptor() ([]byte, []int) {
   155  	return fileDescriptor_dd9d4d6e8a1d82c0, []int{2}
   156  }
   157  func (m *ContractMethods) XXX_Unmarshal(b []byte) error {
   158  	return xxx_messageInfo_ContractMethods.Unmarshal(m, b)
   159  }
   160  func (m *ContractMethods) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   161  	return xxx_messageInfo_ContractMethods.Marshal(b, m, deterministic)
   162  }
   163  func (m *ContractMethods) XXX_Merge(src proto.Message) {
   164  	xxx_messageInfo_ContractMethods.Merge(m, src)
   165  }
   166  func (m *ContractMethods) XXX_Size() int {
   167  	return xxx_messageInfo_ContractMethods.Size(m)
   168  }
   169  func (m *ContractMethods) XXX_DiscardUnknown() {
   170  	xxx_messageInfo_ContractMethods.DiscardUnknown(m)
   171  }
   172  
   173  var xxx_messageInfo_ContractMethods proto.InternalMessageInfo
   174  
   175  func (m *ContractMethods) GetContractAddr() string {
   176  	if m != nil {
   177  		return m.ContractAddr
   178  	}
   179  	return ""
   180  }
   181  
   182  func (m *ContractMethods) GetMethods() []*Method {
   183  	if m != nil {
   184  		return m.Methods
   185  	}
   186  	return nil
   187  }
   188  
   189  type Method struct {
   190  	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
   191  	Extra                string   `protobuf:"bytes,2,opt,name=extra,proto3" json:"extra,omitempty"`
   192  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
   193  	XXX_unrecognized     []byte   `json:"-"`
   194  	XXX_sizecache        int32    `json:"-"`
   195  }
   196  
   197  func (m *Method) Reset()         { *m = Method{} }
   198  func (m *Method) String() string { return proto.CompactTextString(m) }
   199  func (*Method) ProtoMessage()    {}
   200  func (*Method) Descriptor() ([]byte, []int) {
   201  	return fileDescriptor_dd9d4d6e8a1d82c0, []int{3}
   202  }
   203  func (m *Method) XXX_Unmarshal(b []byte) error {
   204  	return xxx_messageInfo_Method.Unmarshal(m, b)
   205  }
   206  func (m *Method) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   207  	return xxx_messageInfo_Method.Marshal(b, m, deterministic)
   208  }
   209  func (m *Method) XXX_Merge(src proto.Message) {
   210  	xxx_messageInfo_Method.Merge(m, src)
   211  }
   212  func (m *Method) XXX_Size() int {
   213  	return xxx_messageInfo_Method.Size(m)
   214  }
   215  func (m *Method) XXX_DiscardUnknown() {
   216  	xxx_messageInfo_Method.DiscardUnknown(m)
   217  }
   218  
   219  var xxx_messageInfo_Method proto.InternalMessageInfo
   220  
   221  func (m *Method) GetName() string {
   222  	if m != nil {
   223  		return m.Name
   224  	}
   225  	return ""
   226  }
   227  
   228  func (m *Method) GetExtra() string {
   229  	if m != nil {
   230  		return m.Extra
   231  	}
   232  	return ""
   233  }
   234  
   235  func init() {
   236  	proto.RegisterType((*UpdateDeploymentWhitelistProposal)(nil), "types.UpdateDeploymentWhitelistProposal")
   237  	proto.RegisterType((*UpdateWASMContractMethodBlockedListProposal)(nil), "types.UpdateWASMContractMethodBlockedListProposal")
   238  	proto.RegisterType((*ContractMethods)(nil), "types.ContractMethods")
   239  	proto.RegisterType((*Method)(nil), "types.Method")
   240  }
   241  
   242  func init() {
   243  	proto.RegisterFile("x/wasm/proto/proposal_custom.proto", fileDescriptor_dd9d4d6e8a1d82c0)
   244  }
   245  
   246  var fileDescriptor_dd9d4d6e8a1d82c0 = []byte{
   247  	// 315 bytes of a gzipped FileDescriptorProto
   248  	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x92, 0xcf, 0x4a, 0x03, 0x31,
   249  	0x10, 0xc6, 0xd9, 0xfe, 0xb3, 0x9d, 0xd6, 0x2a, 0x41, 0x64, 0xf1, 0xb4, 0xee, 0xc5, 0x45, 0xa1,
   250  	0x85, 0x7a, 0x17, 0x5a, 0x7b, 0xb4, 0x20, 0x2b, 0x52, 0xf0, 0xa0, 0xec, 0x6e, 0x06, 0x1a, 0xdc,
   251  	0xdd, 0x2c, 0xc9, 0x14, 0xdb, 0x27, 0xf0, 0xb9, 0x7c, 0x33, 0xd9, 0x24, 0x15, 0x5b, 0xaf, 0x5e,
   252  	0x42, 0xe6, 0x9b, 0xcc, 0x97, 0xdf, 0x4c, 0x02, 0xe1, 0x66, 0xfc, 0x91, 0xe8, 0x62, 0x5c, 0x29,
   253  	0x49, 0xb2, 0x5e, 0x2b, 0xa9, 0x93, 0xfc, 0x2d, 0x5b, 0x6b, 0x92, 0xc5, 0xc8, 0xa8, 0xac, 0x4d,
   254  	0xdb, 0x0a, 0x75, 0xf8, 0xe9, 0xc1, 0xe5, 0x73, 0xc5, 0x13, 0xc2, 0x39, 0x56, 0xb9, 0xdc, 0x16,
   255  	0x58, 0xd2, 0x72, 0x25, 0x08, 0x73, 0xa1, 0xe9, 0xd1, 0x55, 0xb2, 0x33, 0x68, 0x93, 0xa0, 0x1c,
   256  	0x7d, 0x2f, 0xf0, 0xa2, 0x5e, 0x6c, 0x03, 0x16, 0x40, 0x9f, 0xa3, 0xce, 0x94, 0xa8, 0x48, 0xc8,
   257  	0xd2, 0x6f, 0x98, 0xdc, 0x6f, 0x89, 0x5d, 0xc3, 0x29, 0x17, 0x9a, 0x94, 0x48, 0xd7, 0x24, 0xd5,
   258  	0x94, 0x73, 0xa5, 0xfd, 0x66, 0xd0, 0x8c, 0x7a, 0xf1, 0x1f, 0x3d, 0xfc, 0xf2, 0xe0, 0xc6, 0x92,
   259  	0x2c, 0xa7, 0x4f, 0x8b, 0x7b, 0x59, 0x92, 0x4a, 0x32, 0x5a, 0x20, 0xad, 0x24, 0x9f, 0xe5, 0x32,
   260  	0x7b, 0x47, 0xfe, 0xf0, 0x1f, 0x4c, 0x77, 0x30, 0x4c, 0xad, 0x9d, 0xf5, 0xae, 0x89, 0xbc, 0xa8,
   261  	0x3f, 0x39, 0x1f, 0x99, 0x89, 0x8c, 0xf6, 0x6f, 0xd6, 0xf1, 0xc1, 0x69, 0x76, 0x01, 0x5d, 0xa1,
   262  	0xe7, 0x98, 0x23, 0xa1, 0xdf, 0x0a, 0xbc, 0xa8, 0x1b, 0xff, 0xc4, 0xe1, 0x2b, 0x9c, 0x1c, 0x94,
   263  	0xb3, 0x10, 0x06, 0x99, 0x93, 0xea, 0x3e, 0x1d, 0xed, 0x9e, 0xc6, 0xae, 0xe0, 0xa8, 0x70, 0x2c,
   264  	0x8d, 0xa0, 0x19, 0xf5, 0x27, 0xc7, 0x8e, 0xc5, 0x9a, 0xc4, 0xbb, 0x6c, 0x38, 0x81, 0x8e, 0x95,
   265  	0x18, 0x83, 0x56, 0x99, 0x14, 0xbb, 0xe6, 0xcd, 0xbe, 0x9e, 0x08, 0x6e, 0x48, 0x25, 0xae, 0x6b,
   266  	0x1b, 0xcc, 0x86, 0x2f, 0x03, 0xf7, 0x1d, 0x8c, 0x67, 0xda, 0x31, 0xef, 0x7f, 0xfb, 0x1d, 0x00,
   267  	0x00, 0xff, 0xff, 0x73, 0x2c, 0x40, 0xd8, 0x25, 0x02, 0x00, 0x00,
   268  }