update gen versions

This commit is contained in:
anon 2024-11-21 23:29:58 -03:00
parent 6cbe88a00a
commit b3a47c5c7b
19 changed files with 1907 additions and 4680 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
// Code generated by protoc-gen-go. DO NOT EDIT. // Code generated by protoc-gen-go. DO NOT EDIT.
// versions: // versions:
// protoc-gen-go v1.31.0 // protoc-gen-go v1.35.2
// protoc v5.28.0 // protoc v5.28.0
// source: api/zksnark.proto // source: api/zksnark.proto
@ -80,12 +80,10 @@ type ZksnarkRequest struct {
func (x *ZksnarkRequest) Reset() { func (x *ZksnarkRequest) Reset() {
*x = ZksnarkRequest{} *x = ZksnarkRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_api_zksnark_proto_msgTypes[0] mi := &file_api_zksnark_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
}
func (x *ZksnarkRequest) String() string { func (x *ZksnarkRequest) String() string {
return protoimpl.X.MessageStringOf(x) return protoimpl.X.MessageStringOf(x)
@ -95,7 +93,7 @@ func (*ZksnarkRequest) ProtoMessage() {}
func (x *ZksnarkRequest) ProtoReflect() protoreflect.Message { func (x *ZksnarkRequest) ProtoReflect() protoreflect.Message {
mi := &file_api_zksnark_proto_msgTypes[0] mi := &file_api_zksnark_proto_msgTypes[0]
if protoimpl.UnsafeEnabled && x != nil { if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
@ -148,12 +146,10 @@ type ZksnarkResponse struct {
func (x *ZksnarkResponse) Reset() { func (x *ZksnarkResponse) Reset() {
*x = ZksnarkResponse{} *x = ZksnarkResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_api_zksnark_proto_msgTypes[1] mi := &file_api_zksnark_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
}
func (x *ZksnarkResponse) String() string { func (x *ZksnarkResponse) String() string {
return protoimpl.X.MessageStringOf(x) return protoimpl.X.MessageStringOf(x)
@ -163,7 +159,7 @@ func (*ZksnarkResponse) ProtoMessage() {}
func (x *ZksnarkResponse) ProtoReflect() protoreflect.Message { func (x *ZksnarkResponse) ProtoReflect() protoreflect.Message {
mi := &file_api_zksnark_proto_msgTypes[1] mi := &file_api_zksnark_proto_msgTypes[1]
if protoimpl.UnsafeEnabled && x != nil { if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
@ -235,7 +231,7 @@ func file_api_zksnark_proto_rawDescGZIP() []byte {
var file_api_zksnark_proto_enumTypes = make([]protoimpl.EnumInfo, 1) var file_api_zksnark_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
var file_api_zksnark_proto_msgTypes = make([]protoimpl.MessageInfo, 2) var file_api_zksnark_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
var file_api_zksnark_proto_goTypes = []interface{}{ var file_api_zksnark_proto_goTypes = []any{
(ZksnarkResponse_Code)(0), // 0: protocol.ZksnarkResponse.Code (ZksnarkResponse_Code)(0), // 0: protocol.ZksnarkResponse.Code
(*ZksnarkRequest)(nil), // 1: protocol.ZksnarkRequest (*ZksnarkRequest)(nil), // 1: protocol.ZksnarkRequest
(*ZksnarkResponse)(nil), // 2: protocol.ZksnarkResponse (*ZksnarkResponse)(nil), // 2: protocol.ZksnarkResponse
@ -258,32 +254,6 @@ func file_api_zksnark_proto_init() {
if File_api_zksnark_proto != nil { if File_api_zksnark_proto != nil {
return return
} }
if !protoimpl.UnsafeEnabled {
file_api_zksnark_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ZksnarkRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_api_zksnark_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ZksnarkResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
}
type x struct{} type x struct{}
out := protoimpl.TypeBuilder{ out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{ File: protoimpl.DescBuilder{

View File

@ -1,6 +1,6 @@
// Code generated by protoc-gen-go-grpc. DO NOT EDIT. // Code generated by protoc-gen-go-grpc. DO NOT EDIT.
// versions: // versions:
// - protoc-gen-go-grpc v1.2.0 // - protoc-gen-go-grpc v1.5.1
// - protoc v5.28.0 // - protoc v5.28.0
// source: api/zksnark.proto // source: api/zksnark.proto
@ -15,8 +15,12 @@ import (
// This is a compile-time assertion to ensure that this generated file // This is a compile-time assertion to ensure that this generated file
// is compatible with the grpc package it is being compiled against. // is compatible with the grpc package it is being compiled against.
// Requires gRPC-Go v1.32.0 or later. // Requires gRPC-Go v1.64.0 or later.
const _ = grpc.SupportPackageIsVersion7 const _ = grpc.SupportPackageIsVersion9
const (
TronZksnark_CheckZksnarkProof_FullMethodName = "/protocol.TronZksnark/CheckZksnarkProof"
)
// TronZksnarkClient is the client API for TronZksnark service. // TronZksnarkClient is the client API for TronZksnark service.
// //
@ -34,8 +38,9 @@ func NewTronZksnarkClient(cc grpc.ClientConnInterface) TronZksnarkClient {
} }
func (c *tronZksnarkClient) CheckZksnarkProof(ctx context.Context, in *ZksnarkRequest, opts ...grpc.CallOption) (*ZksnarkResponse, error) { func (c *tronZksnarkClient) CheckZksnarkProof(ctx context.Context, in *ZksnarkRequest, opts ...grpc.CallOption) (*ZksnarkResponse, error) {
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
out := new(ZksnarkResponse) out := new(ZksnarkResponse)
err := c.cc.Invoke(ctx, "/protocol.TronZksnark/CheckZksnarkProof", in, out, opts...) err := c.cc.Invoke(ctx, TronZksnark_CheckZksnarkProof_FullMethodName, in, out, cOpts...)
if err != nil { if err != nil {
return nil, err return nil, err
} }
@ -44,20 +49,24 @@ func (c *tronZksnarkClient) CheckZksnarkProof(ctx context.Context, in *ZksnarkRe
// TronZksnarkServer is the server API for TronZksnark service. // TronZksnarkServer is the server API for TronZksnark service.
// All implementations must embed UnimplementedTronZksnarkServer // All implementations must embed UnimplementedTronZksnarkServer
// for forward compatibility // for forward compatibility.
type TronZksnarkServer interface { type TronZksnarkServer interface {
CheckZksnarkProof(context.Context, *ZksnarkRequest) (*ZksnarkResponse, error) CheckZksnarkProof(context.Context, *ZksnarkRequest) (*ZksnarkResponse, error)
mustEmbedUnimplementedTronZksnarkServer() mustEmbedUnimplementedTronZksnarkServer()
} }
// UnimplementedTronZksnarkServer must be embedded to have forward compatible implementations. // UnimplementedTronZksnarkServer must be embedded to have
type UnimplementedTronZksnarkServer struct { // forward compatible implementations.
} //
// NOTE: this should be embedded by value instead of pointer to avoid a nil
// pointer dereference when methods are called.
type UnimplementedTronZksnarkServer struct{}
func (UnimplementedTronZksnarkServer) CheckZksnarkProof(context.Context, *ZksnarkRequest) (*ZksnarkResponse, error) { func (UnimplementedTronZksnarkServer) CheckZksnarkProof(context.Context, *ZksnarkRequest) (*ZksnarkResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method CheckZksnarkProof not implemented") return nil, status.Errorf(codes.Unimplemented, "method CheckZksnarkProof not implemented")
} }
func (UnimplementedTronZksnarkServer) mustEmbedUnimplementedTronZksnarkServer() {} func (UnimplementedTronZksnarkServer) mustEmbedUnimplementedTronZksnarkServer() {}
func (UnimplementedTronZksnarkServer) testEmbeddedByValue() {}
// UnsafeTronZksnarkServer may be embedded to opt out of forward compatibility for this service. // UnsafeTronZksnarkServer may be embedded to opt out of forward compatibility for this service.
// Use of this interface is not recommended, as added methods to TronZksnarkServer will // Use of this interface is not recommended, as added methods to TronZksnarkServer will
@ -67,6 +76,13 @@ type UnsafeTronZksnarkServer interface {
} }
func RegisterTronZksnarkServer(s grpc.ServiceRegistrar, srv TronZksnarkServer) { func RegisterTronZksnarkServer(s grpc.ServiceRegistrar, srv TronZksnarkServer) {
// If the following call pancis, it indicates UnimplementedTronZksnarkServer was
// embedded by pointer and is nil. This will cause panics if an
// unimplemented method is ever invoked, so we test this at initialization
// time to prevent it from happening at runtime later due to I/O.
if t, ok := srv.(interface{ testEmbeddedByValue() }); ok {
t.testEmbeddedByValue()
}
s.RegisterService(&TronZksnark_ServiceDesc, srv) s.RegisterService(&TronZksnark_ServiceDesc, srv)
} }
@ -80,7 +96,7 @@ func _TronZksnark_CheckZksnarkProof_Handler(srv interface{}, ctx context.Context
} }
info := &grpc.UnaryServerInfo{ info := &grpc.UnaryServerInfo{
Server: srv, Server: srv,
FullMethod: "/protocol.TronZksnark/CheckZksnarkProof", FullMethod: TronZksnark_CheckZksnarkProof_FullMethodName,
} }
handler := func(ctx context.Context, req interface{}) (interface{}, error) { handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(TronZksnarkServer).CheckZksnarkProof(ctx, req.(*ZksnarkRequest)) return srv.(TronZksnarkServer).CheckZksnarkProof(ctx, req.(*ZksnarkRequest))

View File

@ -1,6 +1,6 @@
// Code generated by protoc-gen-go. DO NOT EDIT. // Code generated by protoc-gen-go. DO NOT EDIT.
// versions: // versions:
// protoc-gen-go v1.31.0 // protoc-gen-go v1.35.2
// protoc v5.28.0 // protoc v5.28.0
// source: core/Discover.proto // source: core/Discover.proto
@ -32,12 +32,10 @@ type Endpoint struct {
func (x *Endpoint) Reset() { func (x *Endpoint) Reset() {
*x = Endpoint{} *x = Endpoint{}
if protoimpl.UnsafeEnabled {
mi := &file_core_Discover_proto_msgTypes[0] mi := &file_core_Discover_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
}
func (x *Endpoint) String() string { func (x *Endpoint) String() string {
return protoimpl.X.MessageStringOf(x) return protoimpl.X.MessageStringOf(x)
@ -47,7 +45,7 @@ func (*Endpoint) ProtoMessage() {}
func (x *Endpoint) ProtoReflect() protoreflect.Message { func (x *Endpoint) ProtoReflect() protoreflect.Message {
mi := &file_core_Discover_proto_msgTypes[0] mi := &file_core_Discover_proto_msgTypes[0]
if protoimpl.UnsafeEnabled && x != nil { if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
@ -96,12 +94,10 @@ type PingMessage struct {
func (x *PingMessage) Reset() { func (x *PingMessage) Reset() {
*x = PingMessage{} *x = PingMessage{}
if protoimpl.UnsafeEnabled {
mi := &file_core_Discover_proto_msgTypes[1] mi := &file_core_Discover_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
}
func (x *PingMessage) String() string { func (x *PingMessage) String() string {
return protoimpl.X.MessageStringOf(x) return protoimpl.X.MessageStringOf(x)
@ -111,7 +107,7 @@ func (*PingMessage) ProtoMessage() {}
func (x *PingMessage) ProtoReflect() protoreflect.Message { func (x *PingMessage) ProtoReflect() protoreflect.Message {
mi := &file_core_Discover_proto_msgTypes[1] mi := &file_core_Discover_proto_msgTypes[1]
if protoimpl.UnsafeEnabled && x != nil { if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
@ -166,12 +162,10 @@ type PongMessage struct {
func (x *PongMessage) Reset() { func (x *PongMessage) Reset() {
*x = PongMessage{} *x = PongMessage{}
if protoimpl.UnsafeEnabled {
mi := &file_core_Discover_proto_msgTypes[2] mi := &file_core_Discover_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
}
func (x *PongMessage) String() string { func (x *PongMessage) String() string {
return protoimpl.X.MessageStringOf(x) return protoimpl.X.MessageStringOf(x)
@ -181,7 +175,7 @@ func (*PongMessage) ProtoMessage() {}
func (x *PongMessage) ProtoReflect() protoreflect.Message { func (x *PongMessage) ProtoReflect() protoreflect.Message {
mi := &file_core_Discover_proto_msgTypes[2] mi := &file_core_Discover_proto_msgTypes[2]
if protoimpl.UnsafeEnabled && x != nil { if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
@ -229,12 +223,10 @@ type FindNeighbours struct {
func (x *FindNeighbours) Reset() { func (x *FindNeighbours) Reset() {
*x = FindNeighbours{} *x = FindNeighbours{}
if protoimpl.UnsafeEnabled {
mi := &file_core_Discover_proto_msgTypes[3] mi := &file_core_Discover_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
}
func (x *FindNeighbours) String() string { func (x *FindNeighbours) String() string {
return protoimpl.X.MessageStringOf(x) return protoimpl.X.MessageStringOf(x)
@ -244,7 +236,7 @@ func (*FindNeighbours) ProtoMessage() {}
func (x *FindNeighbours) ProtoReflect() protoreflect.Message { func (x *FindNeighbours) ProtoReflect() protoreflect.Message {
mi := &file_core_Discover_proto_msgTypes[3] mi := &file_core_Discover_proto_msgTypes[3]
if protoimpl.UnsafeEnabled && x != nil { if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
@ -292,12 +284,10 @@ type Neighbours struct {
func (x *Neighbours) Reset() { func (x *Neighbours) Reset() {
*x = Neighbours{} *x = Neighbours{}
if protoimpl.UnsafeEnabled {
mi := &file_core_Discover_proto_msgTypes[4] mi := &file_core_Discover_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
}
func (x *Neighbours) String() string { func (x *Neighbours) String() string {
return protoimpl.X.MessageStringOf(x) return protoimpl.X.MessageStringOf(x)
@ -307,7 +297,7 @@ func (*Neighbours) ProtoMessage() {}
func (x *Neighbours) ProtoReflect() protoreflect.Message { func (x *Neighbours) ProtoReflect() protoreflect.Message {
mi := &file_core_Discover_proto_msgTypes[4] mi := &file_core_Discover_proto_msgTypes[4]
if protoimpl.UnsafeEnabled && x != nil { if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
@ -354,12 +344,10 @@ type BackupMessage struct {
func (x *BackupMessage) Reset() { func (x *BackupMessage) Reset() {
*x = BackupMessage{} *x = BackupMessage{}
if protoimpl.UnsafeEnabled {
mi := &file_core_Discover_proto_msgTypes[5] mi := &file_core_Discover_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
}
func (x *BackupMessage) String() string { func (x *BackupMessage) String() string {
return protoimpl.X.MessageStringOf(x) return protoimpl.X.MessageStringOf(x)
@ -369,7 +357,7 @@ func (*BackupMessage) ProtoMessage() {}
func (x *BackupMessage) ProtoReflect() protoreflect.Message { func (x *BackupMessage) ProtoReflect() protoreflect.Message {
mi := &file_core_Discover_proto_msgTypes[5] mi := &file_core_Discover_proto_msgTypes[5]
if protoimpl.UnsafeEnabled && x != nil { if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
@ -464,7 +452,7 @@ func file_core_Discover_proto_rawDescGZIP() []byte {
} }
var file_core_Discover_proto_msgTypes = make([]protoimpl.MessageInfo, 6) var file_core_Discover_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
var file_core_Discover_proto_goTypes = []interface{}{ var file_core_Discover_proto_goTypes = []any{
(*Endpoint)(nil), // 0: protocol.Endpoint (*Endpoint)(nil), // 0: protocol.Endpoint
(*PingMessage)(nil), // 1: protocol.PingMessage (*PingMessage)(nil), // 1: protocol.PingMessage
(*PongMessage)(nil), // 2: protocol.PongMessage (*PongMessage)(nil), // 2: protocol.PongMessage
@ -491,80 +479,6 @@ func file_core_Discover_proto_init() {
if File_core_Discover_proto != nil { if File_core_Discover_proto != nil {
return return
} }
if !protoimpl.UnsafeEnabled {
file_core_Discover_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Endpoint); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_core_Discover_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*PingMessage); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_core_Discover_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*PongMessage); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_core_Discover_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*FindNeighbours); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_core_Discover_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Neighbours); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_core_Discover_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*BackupMessage); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
}
type x struct{} type x struct{}
out := protoimpl.TypeBuilder{ out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{ File: protoimpl.DescBuilder{

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
// Code generated by protoc-gen-go. DO NOT EDIT. // Code generated by protoc-gen-go. DO NOT EDIT.
// versions: // versions:
// protoc-gen-go v1.31.0 // protoc-gen-go v1.35.2
// protoc v5.28.0 // protoc v5.28.0
// source: core/TronInventoryItems.proto // source: core/TronInventoryItems.proto
@ -31,12 +31,10 @@ type InventoryItems struct {
func (x *InventoryItems) Reset() { func (x *InventoryItems) Reset() {
*x = InventoryItems{} *x = InventoryItems{}
if protoimpl.UnsafeEnabled {
mi := &file_core_TronInventoryItems_proto_msgTypes[0] mi := &file_core_TronInventoryItems_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
}
func (x *InventoryItems) String() string { func (x *InventoryItems) String() string {
return protoimpl.X.MessageStringOf(x) return protoimpl.X.MessageStringOf(x)
@ -46,7 +44,7 @@ func (*InventoryItems) ProtoMessage() {}
func (x *InventoryItems) ProtoReflect() protoreflect.Message { func (x *InventoryItems) ProtoReflect() protoreflect.Message {
mi := &file_core_TronInventoryItems_proto_msgTypes[0] mi := &file_core_TronInventoryItems_proto_msgTypes[0]
if protoimpl.UnsafeEnabled && x != nil { if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
@ -105,7 +103,7 @@ func file_core_TronInventoryItems_proto_rawDescGZIP() []byte {
} }
var file_core_TronInventoryItems_proto_msgTypes = make([]protoimpl.MessageInfo, 1) var file_core_TronInventoryItems_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
var file_core_TronInventoryItems_proto_goTypes = []interface{}{ var file_core_TronInventoryItems_proto_goTypes = []any{
(*InventoryItems)(nil), // 0: protocol.InventoryItems (*InventoryItems)(nil), // 0: protocol.InventoryItems
} }
var file_core_TronInventoryItems_proto_depIdxs = []int32{ var file_core_TronInventoryItems_proto_depIdxs = []int32{
@ -121,20 +119,6 @@ func file_core_TronInventoryItems_proto_init() {
if File_core_TronInventoryItems_proto != nil { if File_core_TronInventoryItems_proto != nil {
return return
} }
if !protoimpl.UnsafeEnabled {
file_core_TronInventoryItems_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*InventoryItems); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
}
type x struct{} type x struct{}
out := protoimpl.TypeBuilder{ out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{ File: protoimpl.DescBuilder{

View File

@ -14,7 +14,7 @@
// Code generated by protoc-gen-go. DO NOT EDIT. // Code generated by protoc-gen-go. DO NOT EDIT.
// versions: // versions:
// protoc-gen-go v1.31.0 // protoc-gen-go v1.35.2
// protoc v5.28.0 // protoc v5.28.0
// source: core/contract/account_contract.proto // source: core/contract/account_contract.proto
@ -46,12 +46,10 @@ type AccountCreateContract struct {
func (x *AccountCreateContract) Reset() { func (x *AccountCreateContract) Reset() {
*x = AccountCreateContract{} *x = AccountCreateContract{}
if protoimpl.UnsafeEnabled {
mi := &file_core_contract_account_contract_proto_msgTypes[0] mi := &file_core_contract_account_contract_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
}
func (x *AccountCreateContract) String() string { func (x *AccountCreateContract) String() string {
return protoimpl.X.MessageStringOf(x) return protoimpl.X.MessageStringOf(x)
@ -61,7 +59,7 @@ func (*AccountCreateContract) ProtoMessage() {}
func (x *AccountCreateContract) ProtoReflect() protoreflect.Message { func (x *AccountCreateContract) ProtoReflect() protoreflect.Message {
mi := &file_core_contract_account_contract_proto_msgTypes[0] mi := &file_core_contract_account_contract_proto_msgTypes[0]
if protoimpl.UnsafeEnabled && x != nil { if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
@ -109,12 +107,10 @@ type AccountUpdateContract struct {
func (x *AccountUpdateContract) Reset() { func (x *AccountUpdateContract) Reset() {
*x = AccountUpdateContract{} *x = AccountUpdateContract{}
if protoimpl.UnsafeEnabled {
mi := &file_core_contract_account_contract_proto_msgTypes[1] mi := &file_core_contract_account_contract_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
}
func (x *AccountUpdateContract) String() string { func (x *AccountUpdateContract) String() string {
return protoimpl.X.MessageStringOf(x) return protoimpl.X.MessageStringOf(x)
@ -124,7 +120,7 @@ func (*AccountUpdateContract) ProtoMessage() {}
func (x *AccountUpdateContract) ProtoReflect() protoreflect.Message { func (x *AccountUpdateContract) ProtoReflect() protoreflect.Message {
mi := &file_core_contract_account_contract_proto_msgTypes[1] mi := &file_core_contract_account_contract_proto_msgTypes[1]
if protoimpl.UnsafeEnabled && x != nil { if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
@ -165,12 +161,10 @@ type SetAccountIdContract struct {
func (x *SetAccountIdContract) Reset() { func (x *SetAccountIdContract) Reset() {
*x = SetAccountIdContract{} *x = SetAccountIdContract{}
if protoimpl.UnsafeEnabled {
mi := &file_core_contract_account_contract_proto_msgTypes[2] mi := &file_core_contract_account_contract_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
}
func (x *SetAccountIdContract) String() string { func (x *SetAccountIdContract) String() string {
return protoimpl.X.MessageStringOf(x) return protoimpl.X.MessageStringOf(x)
@ -180,7 +174,7 @@ func (*SetAccountIdContract) ProtoMessage() {}
func (x *SetAccountIdContract) ProtoReflect() protoreflect.Message { func (x *SetAccountIdContract) ProtoReflect() protoreflect.Message {
mi := &file_core_contract_account_contract_proto_msgTypes[2] mi := &file_core_contract_account_contract_proto_msgTypes[2]
if protoimpl.UnsafeEnabled && x != nil { if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
@ -222,12 +216,10 @@ type AccountPermissionUpdateContract struct {
func (x *AccountPermissionUpdateContract) Reset() { func (x *AccountPermissionUpdateContract) Reset() {
*x = AccountPermissionUpdateContract{} *x = AccountPermissionUpdateContract{}
if protoimpl.UnsafeEnabled {
mi := &file_core_contract_account_contract_proto_msgTypes[3] mi := &file_core_contract_account_contract_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
}
func (x *AccountPermissionUpdateContract) String() string { func (x *AccountPermissionUpdateContract) String() string {
return protoimpl.X.MessageStringOf(x) return protoimpl.X.MessageStringOf(x)
@ -237,7 +229,7 @@ func (*AccountPermissionUpdateContract) ProtoMessage() {}
func (x *AccountPermissionUpdateContract) ProtoReflect() protoreflect.Message { func (x *AccountPermissionUpdateContract) ProtoReflect() protoreflect.Message {
mi := &file_core_contract_account_contract_proto_msgTypes[3] mi := &file_core_contract_account_contract_proto_msgTypes[3]
if protoimpl.UnsafeEnabled && x != nil { if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
@ -342,7 +334,7 @@ func file_core_contract_account_contract_proto_rawDescGZIP() []byte {
} }
var file_core_contract_account_contract_proto_msgTypes = make([]protoimpl.MessageInfo, 4) var file_core_contract_account_contract_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
var file_core_contract_account_contract_proto_goTypes = []interface{}{ var file_core_contract_account_contract_proto_goTypes = []any{
(*AccountCreateContract)(nil), // 0: protocol.AccountCreateContract (*AccountCreateContract)(nil), // 0: protocol.AccountCreateContract
(*AccountUpdateContract)(nil), // 1: protocol.AccountUpdateContract (*AccountUpdateContract)(nil), // 1: protocol.AccountUpdateContract
(*SetAccountIdContract)(nil), // 2: protocol.SetAccountIdContract (*SetAccountIdContract)(nil), // 2: protocol.SetAccountIdContract
@ -368,56 +360,6 @@ func file_core_contract_account_contract_proto_init() {
return return
} }
file_core_Tron_proto_init() file_core_Tron_proto_init()
if !protoimpl.UnsafeEnabled {
file_core_contract_account_contract_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*AccountCreateContract); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_core_contract_account_contract_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*AccountUpdateContract); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_core_contract_account_contract_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*SetAccountIdContract); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_core_contract_account_contract_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*AccountPermissionUpdateContract); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
}
type x struct{} type x struct{}
out := protoimpl.TypeBuilder{ out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{ File: protoimpl.DescBuilder{

View File

@ -1,6 +1,6 @@
// Code generated by protoc-gen-go. DO NOT EDIT. // Code generated by protoc-gen-go. DO NOT EDIT.
// versions: // versions:
// protoc-gen-go v1.31.0 // protoc-gen-go v1.35.2
// protoc v5.28.0 // protoc v5.28.0
// source: core/contract/asset_issue_contract.proto // source: core/contract/asset_issue_contract.proto
@ -48,12 +48,10 @@ type AssetIssueContract struct {
func (x *AssetIssueContract) Reset() { func (x *AssetIssueContract) Reset() {
*x = AssetIssueContract{} *x = AssetIssueContract{}
if protoimpl.UnsafeEnabled {
mi := &file_core_contract_asset_issue_contract_proto_msgTypes[0] mi := &file_core_contract_asset_issue_contract_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
}
func (x *AssetIssueContract) String() string { func (x *AssetIssueContract) String() string {
return protoimpl.X.MessageStringOf(x) return protoimpl.X.MessageStringOf(x)
@ -63,7 +61,7 @@ func (*AssetIssueContract) ProtoMessage() {}
func (x *AssetIssueContract) ProtoReflect() protoreflect.Message { func (x *AssetIssueContract) ProtoReflect() protoreflect.Message {
mi := &file_core_contract_asset_issue_contract_proto_msgTypes[0] mi := &file_core_contract_asset_issue_contract_proto_msgTypes[0]
if protoimpl.UnsafeEnabled && x != nil { if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
@ -224,12 +222,10 @@ type TransferAssetContract struct {
func (x *TransferAssetContract) Reset() { func (x *TransferAssetContract) Reset() {
*x = TransferAssetContract{} *x = TransferAssetContract{}
if protoimpl.UnsafeEnabled {
mi := &file_core_contract_asset_issue_contract_proto_msgTypes[1] mi := &file_core_contract_asset_issue_contract_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
}
func (x *TransferAssetContract) String() string { func (x *TransferAssetContract) String() string {
return protoimpl.X.MessageStringOf(x) return protoimpl.X.MessageStringOf(x)
@ -239,7 +235,7 @@ func (*TransferAssetContract) ProtoMessage() {}
func (x *TransferAssetContract) ProtoReflect() protoreflect.Message { func (x *TransferAssetContract) ProtoReflect() protoreflect.Message {
mi := &file_core_contract_asset_issue_contract_proto_msgTypes[1] mi := &file_core_contract_asset_issue_contract_proto_msgTypes[1]
if protoimpl.UnsafeEnabled && x != nil { if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
@ -292,12 +288,10 @@ type UnfreezeAssetContract struct {
func (x *UnfreezeAssetContract) Reset() { func (x *UnfreezeAssetContract) Reset() {
*x = UnfreezeAssetContract{} *x = UnfreezeAssetContract{}
if protoimpl.UnsafeEnabled {
mi := &file_core_contract_asset_issue_contract_proto_msgTypes[2] mi := &file_core_contract_asset_issue_contract_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
}
func (x *UnfreezeAssetContract) String() string { func (x *UnfreezeAssetContract) String() string {
return protoimpl.X.MessageStringOf(x) return protoimpl.X.MessageStringOf(x)
@ -307,7 +301,7 @@ func (*UnfreezeAssetContract) ProtoMessage() {}
func (x *UnfreezeAssetContract) ProtoReflect() protoreflect.Message { func (x *UnfreezeAssetContract) ProtoReflect() protoreflect.Message {
mi := &file_core_contract_asset_issue_contract_proto_msgTypes[2] mi := &file_core_contract_asset_issue_contract_proto_msgTypes[2]
if protoimpl.UnsafeEnabled && x != nil { if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
@ -343,12 +337,10 @@ type UpdateAssetContract struct {
func (x *UpdateAssetContract) Reset() { func (x *UpdateAssetContract) Reset() {
*x = UpdateAssetContract{} *x = UpdateAssetContract{}
if protoimpl.UnsafeEnabled {
mi := &file_core_contract_asset_issue_contract_proto_msgTypes[3] mi := &file_core_contract_asset_issue_contract_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
}
func (x *UpdateAssetContract) String() string { func (x *UpdateAssetContract) String() string {
return protoimpl.X.MessageStringOf(x) return protoimpl.X.MessageStringOf(x)
@ -358,7 +350,7 @@ func (*UpdateAssetContract) ProtoMessage() {}
func (x *UpdateAssetContract) ProtoReflect() protoreflect.Message { func (x *UpdateAssetContract) ProtoReflect() protoreflect.Message {
mi := &file_core_contract_asset_issue_contract_proto_msgTypes[3] mi := &file_core_contract_asset_issue_contract_proto_msgTypes[3]
if protoimpl.UnsafeEnabled && x != nil { if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
@ -421,12 +413,10 @@ type ParticipateAssetIssueContract struct {
func (x *ParticipateAssetIssueContract) Reset() { func (x *ParticipateAssetIssueContract) Reset() {
*x = ParticipateAssetIssueContract{} *x = ParticipateAssetIssueContract{}
if protoimpl.UnsafeEnabled {
mi := &file_core_contract_asset_issue_contract_proto_msgTypes[4] mi := &file_core_contract_asset_issue_contract_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
}
func (x *ParticipateAssetIssueContract) String() string { func (x *ParticipateAssetIssueContract) String() string {
return protoimpl.X.MessageStringOf(x) return protoimpl.X.MessageStringOf(x)
@ -436,7 +426,7 @@ func (*ParticipateAssetIssueContract) ProtoMessage() {}
func (x *ParticipateAssetIssueContract) ProtoReflect() protoreflect.Message { func (x *ParticipateAssetIssueContract) ProtoReflect() protoreflect.Message {
mi := &file_core_contract_asset_issue_contract_proto_msgTypes[4] mi := &file_core_contract_asset_issue_contract_proto_msgTypes[4]
if protoimpl.UnsafeEnabled && x != nil { if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
@ -490,12 +480,10 @@ type AssetIssueContract_FrozenSupply struct {
func (x *AssetIssueContract_FrozenSupply) Reset() { func (x *AssetIssueContract_FrozenSupply) Reset() {
*x = AssetIssueContract_FrozenSupply{} *x = AssetIssueContract_FrozenSupply{}
if protoimpl.UnsafeEnabled {
mi := &file_core_contract_asset_issue_contract_proto_msgTypes[5] mi := &file_core_contract_asset_issue_contract_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
}
func (x *AssetIssueContract_FrozenSupply) String() string { func (x *AssetIssueContract_FrozenSupply) String() string {
return protoimpl.X.MessageStringOf(x) return protoimpl.X.MessageStringOf(x)
@ -505,7 +493,7 @@ func (*AssetIssueContract_FrozenSupply) ProtoMessage() {}
func (x *AssetIssueContract_FrozenSupply) ProtoReflect() protoreflect.Message { func (x *AssetIssueContract_FrozenSupply) ProtoReflect() protoreflect.Message {
mi := &file_core_contract_asset_issue_contract_proto_msgTypes[5] mi := &file_core_contract_asset_issue_contract_proto_msgTypes[5]
if protoimpl.UnsafeEnabled && x != nil { if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
@ -644,7 +632,7 @@ func file_core_contract_asset_issue_contract_proto_rawDescGZIP() []byte {
} }
var file_core_contract_asset_issue_contract_proto_msgTypes = make([]protoimpl.MessageInfo, 6) var file_core_contract_asset_issue_contract_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
var file_core_contract_asset_issue_contract_proto_goTypes = []interface{}{ var file_core_contract_asset_issue_contract_proto_goTypes = []any{
(*AssetIssueContract)(nil), // 0: protocol.AssetIssueContract (*AssetIssueContract)(nil), // 0: protocol.AssetIssueContract
(*TransferAssetContract)(nil), // 1: protocol.TransferAssetContract (*TransferAssetContract)(nil), // 1: protocol.TransferAssetContract
(*UnfreezeAssetContract)(nil), // 2: protocol.UnfreezeAssetContract (*UnfreezeAssetContract)(nil), // 2: protocol.UnfreezeAssetContract
@ -666,80 +654,6 @@ func file_core_contract_asset_issue_contract_proto_init() {
if File_core_contract_asset_issue_contract_proto != nil { if File_core_contract_asset_issue_contract_proto != nil {
return return
} }
if !protoimpl.UnsafeEnabled {
file_core_contract_asset_issue_contract_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*AssetIssueContract); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_core_contract_asset_issue_contract_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*TransferAssetContract); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_core_contract_asset_issue_contract_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*UnfreezeAssetContract); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_core_contract_asset_issue_contract_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*UpdateAssetContract); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_core_contract_asset_issue_contract_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ParticipateAssetIssueContract); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_core_contract_asset_issue_contract_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*AssetIssueContract_FrozenSupply); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
}
type x struct{} type x struct{}
out := protoimpl.TypeBuilder{ out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{ File: protoimpl.DescBuilder{

View File

@ -1,6 +1,6 @@
// Code generated by protoc-gen-go. DO NOT EDIT. // Code generated by protoc-gen-go. DO NOT EDIT.
// versions: // versions:
// protoc-gen-go v1.31.0 // protoc-gen-go v1.35.2
// protoc v5.28.0 // protoc v5.28.0
// source: core/contract/balance_contract.proto // source: core/contract/balance_contract.proto
@ -34,12 +34,10 @@ type FreezeBalanceContract struct {
func (x *FreezeBalanceContract) Reset() { func (x *FreezeBalanceContract) Reset() {
*x = FreezeBalanceContract{} *x = FreezeBalanceContract{}
if protoimpl.UnsafeEnabled {
mi := &file_core_contract_balance_contract_proto_msgTypes[0] mi := &file_core_contract_balance_contract_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
}
func (x *FreezeBalanceContract) String() string { func (x *FreezeBalanceContract) String() string {
return protoimpl.X.MessageStringOf(x) return protoimpl.X.MessageStringOf(x)
@ -49,7 +47,7 @@ func (*FreezeBalanceContract) ProtoMessage() {}
func (x *FreezeBalanceContract) ProtoReflect() protoreflect.Message { func (x *FreezeBalanceContract) ProtoReflect() protoreflect.Message {
mi := &file_core_contract_balance_contract_proto_msgTypes[0] mi := &file_core_contract_balance_contract_proto_msgTypes[0]
if protoimpl.UnsafeEnabled && x != nil { if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
@ -111,12 +109,10 @@ type UnfreezeBalanceContract struct {
func (x *UnfreezeBalanceContract) Reset() { func (x *UnfreezeBalanceContract) Reset() {
*x = UnfreezeBalanceContract{} *x = UnfreezeBalanceContract{}
if protoimpl.UnsafeEnabled {
mi := &file_core_contract_balance_contract_proto_msgTypes[1] mi := &file_core_contract_balance_contract_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
}
func (x *UnfreezeBalanceContract) String() string { func (x *UnfreezeBalanceContract) String() string {
return protoimpl.X.MessageStringOf(x) return protoimpl.X.MessageStringOf(x)
@ -126,7 +122,7 @@ func (*UnfreezeBalanceContract) ProtoMessage() {}
func (x *UnfreezeBalanceContract) ProtoReflect() protoreflect.Message { func (x *UnfreezeBalanceContract) ProtoReflect() protoreflect.Message {
mi := &file_core_contract_balance_contract_proto_msgTypes[1] mi := &file_core_contract_balance_contract_proto_msgTypes[1]
if protoimpl.UnsafeEnabled && x != nil { if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
@ -172,12 +168,10 @@ type WithdrawBalanceContract struct {
func (x *WithdrawBalanceContract) Reset() { func (x *WithdrawBalanceContract) Reset() {
*x = WithdrawBalanceContract{} *x = WithdrawBalanceContract{}
if protoimpl.UnsafeEnabled {
mi := &file_core_contract_balance_contract_proto_msgTypes[2] mi := &file_core_contract_balance_contract_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
}
func (x *WithdrawBalanceContract) String() string { func (x *WithdrawBalanceContract) String() string {
return protoimpl.X.MessageStringOf(x) return protoimpl.X.MessageStringOf(x)
@ -187,7 +181,7 @@ func (*WithdrawBalanceContract) ProtoMessage() {}
func (x *WithdrawBalanceContract) ProtoReflect() protoreflect.Message { func (x *WithdrawBalanceContract) ProtoReflect() protoreflect.Message {
mi := &file_core_contract_balance_contract_proto_msgTypes[2] mi := &file_core_contract_balance_contract_proto_msgTypes[2]
if protoimpl.UnsafeEnabled && x != nil { if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
@ -221,12 +215,10 @@ type TransferContract struct {
func (x *TransferContract) Reset() { func (x *TransferContract) Reset() {
*x = TransferContract{} *x = TransferContract{}
if protoimpl.UnsafeEnabled {
mi := &file_core_contract_balance_contract_proto_msgTypes[3] mi := &file_core_contract_balance_contract_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
}
func (x *TransferContract) String() string { func (x *TransferContract) String() string {
return protoimpl.X.MessageStringOf(x) return protoimpl.X.MessageStringOf(x)
@ -236,7 +228,7 @@ func (*TransferContract) ProtoMessage() {}
func (x *TransferContract) ProtoReflect() protoreflect.Message { func (x *TransferContract) ProtoReflect() protoreflect.Message {
mi := &file_core_contract_balance_contract_proto_msgTypes[3] mi := &file_core_contract_balance_contract_proto_msgTypes[3]
if protoimpl.UnsafeEnabled && x != nil { if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
@ -285,12 +277,10 @@ type TransactionBalanceTrace struct {
func (x *TransactionBalanceTrace) Reset() { func (x *TransactionBalanceTrace) Reset() {
*x = TransactionBalanceTrace{} *x = TransactionBalanceTrace{}
if protoimpl.UnsafeEnabled {
mi := &file_core_contract_balance_contract_proto_msgTypes[4] mi := &file_core_contract_balance_contract_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
}
func (x *TransactionBalanceTrace) String() string { func (x *TransactionBalanceTrace) String() string {
return protoimpl.X.MessageStringOf(x) return protoimpl.X.MessageStringOf(x)
@ -300,7 +290,7 @@ func (*TransactionBalanceTrace) ProtoMessage() {}
func (x *TransactionBalanceTrace) ProtoReflect() protoreflect.Message { func (x *TransactionBalanceTrace) ProtoReflect() protoreflect.Message {
mi := &file_core_contract_balance_contract_proto_msgTypes[4] mi := &file_core_contract_balance_contract_proto_msgTypes[4]
if protoimpl.UnsafeEnabled && x != nil { if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
@ -355,12 +345,10 @@ type BlockBalanceTrace struct {
func (x *BlockBalanceTrace) Reset() { func (x *BlockBalanceTrace) Reset() {
*x = BlockBalanceTrace{} *x = BlockBalanceTrace{}
if protoimpl.UnsafeEnabled {
mi := &file_core_contract_balance_contract_proto_msgTypes[5] mi := &file_core_contract_balance_contract_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
}
func (x *BlockBalanceTrace) String() string { func (x *BlockBalanceTrace) String() string {
return protoimpl.X.MessageStringOf(x) return protoimpl.X.MessageStringOf(x)
@ -370,7 +358,7 @@ func (*BlockBalanceTrace) ProtoMessage() {}
func (x *BlockBalanceTrace) ProtoReflect() protoreflect.Message { func (x *BlockBalanceTrace) ProtoReflect() protoreflect.Message {
mi := &file_core_contract_balance_contract_proto_msgTypes[5] mi := &file_core_contract_balance_contract_proto_msgTypes[5]
if protoimpl.UnsafeEnabled && x != nil { if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
@ -417,12 +405,10 @@ type AccountTrace struct {
func (x *AccountTrace) Reset() { func (x *AccountTrace) Reset() {
*x = AccountTrace{} *x = AccountTrace{}
if protoimpl.UnsafeEnabled {
mi := &file_core_contract_balance_contract_proto_msgTypes[6] mi := &file_core_contract_balance_contract_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
}
func (x *AccountTrace) String() string { func (x *AccountTrace) String() string {
return protoimpl.X.MessageStringOf(x) return protoimpl.X.MessageStringOf(x)
@ -432,7 +418,7 @@ func (*AccountTrace) ProtoMessage() {}
func (x *AccountTrace) ProtoReflect() protoreflect.Message { func (x *AccountTrace) ProtoReflect() protoreflect.Message {
mi := &file_core_contract_balance_contract_proto_msgTypes[6] mi := &file_core_contract_balance_contract_proto_msgTypes[6]
if protoimpl.UnsafeEnabled && x != nil { if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
@ -471,12 +457,10 @@ type AccountIdentifier struct {
func (x *AccountIdentifier) Reset() { func (x *AccountIdentifier) Reset() {
*x = AccountIdentifier{} *x = AccountIdentifier{}
if protoimpl.UnsafeEnabled {
mi := &file_core_contract_balance_contract_proto_msgTypes[7] mi := &file_core_contract_balance_contract_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
}
func (x *AccountIdentifier) String() string { func (x *AccountIdentifier) String() string {
return protoimpl.X.MessageStringOf(x) return protoimpl.X.MessageStringOf(x)
@ -486,7 +470,7 @@ func (*AccountIdentifier) ProtoMessage() {}
func (x *AccountIdentifier) ProtoReflect() protoreflect.Message { func (x *AccountIdentifier) ProtoReflect() protoreflect.Message {
mi := &file_core_contract_balance_contract_proto_msgTypes[7] mi := &file_core_contract_balance_contract_proto_msgTypes[7]
if protoimpl.UnsafeEnabled && x != nil { if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
@ -519,12 +503,10 @@ type AccountBalanceRequest struct {
func (x *AccountBalanceRequest) Reset() { func (x *AccountBalanceRequest) Reset() {
*x = AccountBalanceRequest{} *x = AccountBalanceRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_core_contract_balance_contract_proto_msgTypes[8] mi := &file_core_contract_balance_contract_proto_msgTypes[8]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
}
func (x *AccountBalanceRequest) String() string { func (x *AccountBalanceRequest) String() string {
return protoimpl.X.MessageStringOf(x) return protoimpl.X.MessageStringOf(x)
@ -534,7 +516,7 @@ func (*AccountBalanceRequest) ProtoMessage() {}
func (x *AccountBalanceRequest) ProtoReflect() protoreflect.Message { func (x *AccountBalanceRequest) ProtoReflect() protoreflect.Message {
mi := &file_core_contract_balance_contract_proto_msgTypes[8] mi := &file_core_contract_balance_contract_proto_msgTypes[8]
if protoimpl.UnsafeEnabled && x != nil { if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
@ -574,12 +556,10 @@ type AccountBalanceResponse struct {
func (x *AccountBalanceResponse) Reset() { func (x *AccountBalanceResponse) Reset() {
*x = AccountBalanceResponse{} *x = AccountBalanceResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_core_contract_balance_contract_proto_msgTypes[9] mi := &file_core_contract_balance_contract_proto_msgTypes[9]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
}
func (x *AccountBalanceResponse) String() string { func (x *AccountBalanceResponse) String() string {
return protoimpl.X.MessageStringOf(x) return protoimpl.X.MessageStringOf(x)
@ -589,7 +569,7 @@ func (*AccountBalanceResponse) ProtoMessage() {}
func (x *AccountBalanceResponse) ProtoReflect() protoreflect.Message { func (x *AccountBalanceResponse) ProtoReflect() protoreflect.Message {
mi := &file_core_contract_balance_contract_proto_msgTypes[9] mi := &file_core_contract_balance_contract_proto_msgTypes[9]
if protoimpl.UnsafeEnabled && x != nil { if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
@ -630,12 +610,10 @@ type FreezeBalanceV2Contract struct {
func (x *FreezeBalanceV2Contract) Reset() { func (x *FreezeBalanceV2Contract) Reset() {
*x = FreezeBalanceV2Contract{} *x = FreezeBalanceV2Contract{}
if protoimpl.UnsafeEnabled {
mi := &file_core_contract_balance_contract_proto_msgTypes[10] mi := &file_core_contract_balance_contract_proto_msgTypes[10]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
}
func (x *FreezeBalanceV2Contract) String() string { func (x *FreezeBalanceV2Contract) String() string {
return protoimpl.X.MessageStringOf(x) return protoimpl.X.MessageStringOf(x)
@ -645,7 +623,7 @@ func (*FreezeBalanceV2Contract) ProtoMessage() {}
func (x *FreezeBalanceV2Contract) ProtoReflect() protoreflect.Message { func (x *FreezeBalanceV2Contract) ProtoReflect() protoreflect.Message {
mi := &file_core_contract_balance_contract_proto_msgTypes[10] mi := &file_core_contract_balance_contract_proto_msgTypes[10]
if protoimpl.UnsafeEnabled && x != nil { if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
@ -693,12 +671,10 @@ type UnfreezeBalanceV2Contract struct {
func (x *UnfreezeBalanceV2Contract) Reset() { func (x *UnfreezeBalanceV2Contract) Reset() {
*x = UnfreezeBalanceV2Contract{} *x = UnfreezeBalanceV2Contract{}
if protoimpl.UnsafeEnabled {
mi := &file_core_contract_balance_contract_proto_msgTypes[11] mi := &file_core_contract_balance_contract_proto_msgTypes[11]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
}
func (x *UnfreezeBalanceV2Contract) String() string { func (x *UnfreezeBalanceV2Contract) String() string {
return protoimpl.X.MessageStringOf(x) return protoimpl.X.MessageStringOf(x)
@ -708,7 +684,7 @@ func (*UnfreezeBalanceV2Contract) ProtoMessage() {}
func (x *UnfreezeBalanceV2Contract) ProtoReflect() protoreflect.Message { func (x *UnfreezeBalanceV2Contract) ProtoReflect() protoreflect.Message {
mi := &file_core_contract_balance_contract_proto_msgTypes[11] mi := &file_core_contract_balance_contract_proto_msgTypes[11]
if protoimpl.UnsafeEnabled && x != nil { if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
@ -754,12 +730,10 @@ type WithdrawExpireUnfreezeContract struct {
func (x *WithdrawExpireUnfreezeContract) Reset() { func (x *WithdrawExpireUnfreezeContract) Reset() {
*x = WithdrawExpireUnfreezeContract{} *x = WithdrawExpireUnfreezeContract{}
if protoimpl.UnsafeEnabled {
mi := &file_core_contract_balance_contract_proto_msgTypes[12] mi := &file_core_contract_balance_contract_proto_msgTypes[12]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
}
func (x *WithdrawExpireUnfreezeContract) String() string { func (x *WithdrawExpireUnfreezeContract) String() string {
return protoimpl.X.MessageStringOf(x) return protoimpl.X.MessageStringOf(x)
@ -769,7 +743,7 @@ func (*WithdrawExpireUnfreezeContract) ProtoMessage() {}
func (x *WithdrawExpireUnfreezeContract) ProtoReflect() protoreflect.Message { func (x *WithdrawExpireUnfreezeContract) ProtoReflect() protoreflect.Message {
mi := &file_core_contract_balance_contract_proto_msgTypes[12] mi := &file_core_contract_balance_contract_proto_msgTypes[12]
if protoimpl.UnsafeEnabled && x != nil { if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
@ -806,12 +780,10 @@ type DelegateResourceContract struct {
func (x *DelegateResourceContract) Reset() { func (x *DelegateResourceContract) Reset() {
*x = DelegateResourceContract{} *x = DelegateResourceContract{}
if protoimpl.UnsafeEnabled {
mi := &file_core_contract_balance_contract_proto_msgTypes[13] mi := &file_core_contract_balance_contract_proto_msgTypes[13]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
}
func (x *DelegateResourceContract) String() string { func (x *DelegateResourceContract) String() string {
return protoimpl.X.MessageStringOf(x) return protoimpl.X.MessageStringOf(x)
@ -821,7 +793,7 @@ func (*DelegateResourceContract) ProtoMessage() {}
func (x *DelegateResourceContract) ProtoReflect() protoreflect.Message { func (x *DelegateResourceContract) ProtoReflect() protoreflect.Message {
mi := &file_core_contract_balance_contract_proto_msgTypes[13] mi := &file_core_contract_balance_contract_proto_msgTypes[13]
if protoimpl.UnsafeEnabled && x != nil { if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
@ -891,12 +863,10 @@ type UnDelegateResourceContract struct {
func (x *UnDelegateResourceContract) Reset() { func (x *UnDelegateResourceContract) Reset() {
*x = UnDelegateResourceContract{} *x = UnDelegateResourceContract{}
if protoimpl.UnsafeEnabled {
mi := &file_core_contract_balance_contract_proto_msgTypes[14] mi := &file_core_contract_balance_contract_proto_msgTypes[14]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
}
func (x *UnDelegateResourceContract) String() string { func (x *UnDelegateResourceContract) String() string {
return protoimpl.X.MessageStringOf(x) return protoimpl.X.MessageStringOf(x)
@ -906,7 +876,7 @@ func (*UnDelegateResourceContract) ProtoMessage() {}
func (x *UnDelegateResourceContract) ProtoReflect() protoreflect.Message { func (x *UnDelegateResourceContract) ProtoReflect() protoreflect.Message {
mi := &file_core_contract_balance_contract_proto_msgTypes[14] mi := &file_core_contract_balance_contract_proto_msgTypes[14]
if protoimpl.UnsafeEnabled && x != nil { if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
@ -959,12 +929,10 @@ type CancelAllUnfreezeV2Contract struct {
func (x *CancelAllUnfreezeV2Contract) Reset() { func (x *CancelAllUnfreezeV2Contract) Reset() {
*x = CancelAllUnfreezeV2Contract{} *x = CancelAllUnfreezeV2Contract{}
if protoimpl.UnsafeEnabled {
mi := &file_core_contract_balance_contract_proto_msgTypes[15] mi := &file_core_contract_balance_contract_proto_msgTypes[15]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
}
func (x *CancelAllUnfreezeV2Contract) String() string { func (x *CancelAllUnfreezeV2Contract) String() string {
return protoimpl.X.MessageStringOf(x) return protoimpl.X.MessageStringOf(x)
@ -974,7 +942,7 @@ func (*CancelAllUnfreezeV2Contract) ProtoMessage() {}
func (x *CancelAllUnfreezeV2Contract) ProtoReflect() protoreflect.Message { func (x *CancelAllUnfreezeV2Contract) ProtoReflect() protoreflect.Message {
mi := &file_core_contract_balance_contract_proto_msgTypes[15] mi := &file_core_contract_balance_contract_proto_msgTypes[15]
if protoimpl.UnsafeEnabled && x != nil { if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
@ -1008,12 +976,10 @@ type TransactionBalanceTrace_Operation struct {
func (x *TransactionBalanceTrace_Operation) Reset() { func (x *TransactionBalanceTrace_Operation) Reset() {
*x = TransactionBalanceTrace_Operation{} *x = TransactionBalanceTrace_Operation{}
if protoimpl.UnsafeEnabled {
mi := &file_core_contract_balance_contract_proto_msgTypes[16] mi := &file_core_contract_balance_contract_proto_msgTypes[16]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
}
func (x *TransactionBalanceTrace_Operation) String() string { func (x *TransactionBalanceTrace_Operation) String() string {
return protoimpl.X.MessageStringOf(x) return protoimpl.X.MessageStringOf(x)
@ -1023,7 +989,7 @@ func (*TransactionBalanceTrace_Operation) ProtoMessage() {}
func (x *TransactionBalanceTrace_Operation) ProtoReflect() protoreflect.Message { func (x *TransactionBalanceTrace_Operation) ProtoReflect() protoreflect.Message {
mi := &file_core_contract_balance_contract_proto_msgTypes[16] mi := &file_core_contract_balance_contract_proto_msgTypes[16]
if protoimpl.UnsafeEnabled && x != nil { if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
@ -1070,12 +1036,10 @@ type BlockBalanceTrace_BlockIdentifier struct {
func (x *BlockBalanceTrace_BlockIdentifier) Reset() { func (x *BlockBalanceTrace_BlockIdentifier) Reset() {
*x = BlockBalanceTrace_BlockIdentifier{} *x = BlockBalanceTrace_BlockIdentifier{}
if protoimpl.UnsafeEnabled {
mi := &file_core_contract_balance_contract_proto_msgTypes[17] mi := &file_core_contract_balance_contract_proto_msgTypes[17]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
}
func (x *BlockBalanceTrace_BlockIdentifier) String() string { func (x *BlockBalanceTrace_BlockIdentifier) String() string {
return protoimpl.X.MessageStringOf(x) return protoimpl.X.MessageStringOf(x)
@ -1085,7 +1049,7 @@ func (*BlockBalanceTrace_BlockIdentifier) ProtoMessage() {}
func (x *BlockBalanceTrace_BlockIdentifier) ProtoReflect() protoreflect.Message { func (x *BlockBalanceTrace_BlockIdentifier) ProtoReflect() protoreflect.Message {
mi := &file_core_contract_balance_contract_proto_msgTypes[17] mi := &file_core_contract_balance_contract_proto_msgTypes[17]
if protoimpl.UnsafeEnabled && x != nil { if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
@ -1300,7 +1264,7 @@ func file_core_contract_balance_contract_proto_rawDescGZIP() []byte {
} }
var file_core_contract_balance_contract_proto_msgTypes = make([]protoimpl.MessageInfo, 18) var file_core_contract_balance_contract_proto_msgTypes = make([]protoimpl.MessageInfo, 18)
var file_core_contract_balance_contract_proto_goTypes = []interface{}{ var file_core_contract_balance_contract_proto_goTypes = []any{
(*FreezeBalanceContract)(nil), // 0: protocol.FreezeBalanceContract (*FreezeBalanceContract)(nil), // 0: protocol.FreezeBalanceContract
(*UnfreezeBalanceContract)(nil), // 1: protocol.UnfreezeBalanceContract (*UnfreezeBalanceContract)(nil), // 1: protocol.UnfreezeBalanceContract
(*WithdrawBalanceContract)(nil), // 2: protocol.WithdrawBalanceContract (*WithdrawBalanceContract)(nil), // 2: protocol.WithdrawBalanceContract
@ -1347,224 +1311,6 @@ func file_core_contract_balance_contract_proto_init() {
return return
} }
file_core_contract_common_proto_init() file_core_contract_common_proto_init()
if !protoimpl.UnsafeEnabled {
file_core_contract_balance_contract_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*FreezeBalanceContract); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_core_contract_balance_contract_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*UnfreezeBalanceContract); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_core_contract_balance_contract_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*WithdrawBalanceContract); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_core_contract_balance_contract_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*TransferContract); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_core_contract_balance_contract_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*TransactionBalanceTrace); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_core_contract_balance_contract_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*BlockBalanceTrace); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_core_contract_balance_contract_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*AccountTrace); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_core_contract_balance_contract_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*AccountIdentifier); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_core_contract_balance_contract_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*AccountBalanceRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_core_contract_balance_contract_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*AccountBalanceResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_core_contract_balance_contract_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*FreezeBalanceV2Contract); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_core_contract_balance_contract_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*UnfreezeBalanceV2Contract); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_core_contract_balance_contract_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*WithdrawExpireUnfreezeContract); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_core_contract_balance_contract_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*DelegateResourceContract); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_core_contract_balance_contract_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*UnDelegateResourceContract); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_core_contract_balance_contract_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CancelAllUnfreezeV2Contract); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_core_contract_balance_contract_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*TransactionBalanceTrace_Operation); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_core_contract_balance_contract_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*BlockBalanceTrace_BlockIdentifier); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
}
type x struct{} type x struct{}
out := protoimpl.TypeBuilder{ out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{ File: protoimpl.DescBuilder{

View File

@ -1,6 +1,6 @@
// Code generated by protoc-gen-go. DO NOT EDIT. // Code generated by protoc-gen-go. DO NOT EDIT.
// versions: // versions:
// protoc-gen-go v1.31.0 // protoc-gen-go v1.35.2
// protoc v5.28.0 // protoc v5.28.0
// source: core/contract/common.proto // source: core/contract/common.proto
@ -98,7 +98,7 @@ func file_core_contract_common_proto_rawDescGZIP() []byte {
} }
var file_core_contract_common_proto_enumTypes = make([]protoimpl.EnumInfo, 1) var file_core_contract_common_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
var file_core_contract_common_proto_goTypes = []interface{}{ var file_core_contract_common_proto_goTypes = []any{
(ResourceCode)(0), // 0: protocol.ResourceCode (ResourceCode)(0), // 0: protocol.ResourceCode
} }
var file_core_contract_common_proto_depIdxs = []int32{ var file_core_contract_common_proto_depIdxs = []int32{

View File

@ -1,6 +1,6 @@
// Code generated by protoc-gen-go. DO NOT EDIT. // Code generated by protoc-gen-go. DO NOT EDIT.
// versions: // versions:
// protoc-gen-go v1.31.0 // protoc-gen-go v1.35.2
// protoc v5.28.0 // protoc v5.28.0
// source: core/contract/exchange_contract.proto // source: core/contract/exchange_contract.proto
@ -34,12 +34,10 @@ type ExchangeCreateContract struct {
func (x *ExchangeCreateContract) Reset() { func (x *ExchangeCreateContract) Reset() {
*x = ExchangeCreateContract{} *x = ExchangeCreateContract{}
if protoimpl.UnsafeEnabled {
mi := &file_core_contract_exchange_contract_proto_msgTypes[0] mi := &file_core_contract_exchange_contract_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
}
func (x *ExchangeCreateContract) String() string { func (x *ExchangeCreateContract) String() string {
return protoimpl.X.MessageStringOf(x) return protoimpl.X.MessageStringOf(x)
@ -49,7 +47,7 @@ func (*ExchangeCreateContract) ProtoMessage() {}
func (x *ExchangeCreateContract) ProtoReflect() protoreflect.Message { func (x *ExchangeCreateContract) ProtoReflect() protoreflect.Message {
mi := &file_core_contract_exchange_contract_proto_msgTypes[0] mi := &file_core_contract_exchange_contract_proto_msgTypes[0]
if protoimpl.UnsafeEnabled && x != nil { if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
@ -112,12 +110,10 @@ type ExchangeInjectContract struct {
func (x *ExchangeInjectContract) Reset() { func (x *ExchangeInjectContract) Reset() {
*x = ExchangeInjectContract{} *x = ExchangeInjectContract{}
if protoimpl.UnsafeEnabled {
mi := &file_core_contract_exchange_contract_proto_msgTypes[1] mi := &file_core_contract_exchange_contract_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
}
func (x *ExchangeInjectContract) String() string { func (x *ExchangeInjectContract) String() string {
return protoimpl.X.MessageStringOf(x) return protoimpl.X.MessageStringOf(x)
@ -127,7 +123,7 @@ func (*ExchangeInjectContract) ProtoMessage() {}
func (x *ExchangeInjectContract) ProtoReflect() protoreflect.Message { func (x *ExchangeInjectContract) ProtoReflect() protoreflect.Message {
mi := &file_core_contract_exchange_contract_proto_msgTypes[1] mi := &file_core_contract_exchange_contract_proto_msgTypes[1]
if protoimpl.UnsafeEnabled && x != nil { if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
@ -183,12 +179,10 @@ type ExchangeWithdrawContract struct {
func (x *ExchangeWithdrawContract) Reset() { func (x *ExchangeWithdrawContract) Reset() {
*x = ExchangeWithdrawContract{} *x = ExchangeWithdrawContract{}
if protoimpl.UnsafeEnabled {
mi := &file_core_contract_exchange_contract_proto_msgTypes[2] mi := &file_core_contract_exchange_contract_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
}
func (x *ExchangeWithdrawContract) String() string { func (x *ExchangeWithdrawContract) String() string {
return protoimpl.X.MessageStringOf(x) return protoimpl.X.MessageStringOf(x)
@ -198,7 +192,7 @@ func (*ExchangeWithdrawContract) ProtoMessage() {}
func (x *ExchangeWithdrawContract) ProtoReflect() protoreflect.Message { func (x *ExchangeWithdrawContract) ProtoReflect() protoreflect.Message {
mi := &file_core_contract_exchange_contract_proto_msgTypes[2] mi := &file_core_contract_exchange_contract_proto_msgTypes[2]
if protoimpl.UnsafeEnabled && x != nil { if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
@ -255,12 +249,10 @@ type ExchangeTransactionContract struct {
func (x *ExchangeTransactionContract) Reset() { func (x *ExchangeTransactionContract) Reset() {
*x = ExchangeTransactionContract{} *x = ExchangeTransactionContract{}
if protoimpl.UnsafeEnabled {
mi := &file_core_contract_exchange_contract_proto_msgTypes[3] mi := &file_core_contract_exchange_contract_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
}
func (x *ExchangeTransactionContract) String() string { func (x *ExchangeTransactionContract) String() string {
return protoimpl.X.MessageStringOf(x) return protoimpl.X.MessageStringOf(x)
@ -270,7 +262,7 @@ func (*ExchangeTransactionContract) ProtoMessage() {}
func (x *ExchangeTransactionContract) ProtoReflect() protoreflect.Message { func (x *ExchangeTransactionContract) ProtoReflect() protoreflect.Message {
mi := &file_core_contract_exchange_contract_proto_msgTypes[3] mi := &file_core_contract_exchange_contract_proto_msgTypes[3]
if protoimpl.UnsafeEnabled && x != nil { if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
@ -391,7 +383,7 @@ func file_core_contract_exchange_contract_proto_rawDescGZIP() []byte {
} }
var file_core_contract_exchange_contract_proto_msgTypes = make([]protoimpl.MessageInfo, 4) var file_core_contract_exchange_contract_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
var file_core_contract_exchange_contract_proto_goTypes = []interface{}{ var file_core_contract_exchange_contract_proto_goTypes = []any{
(*ExchangeCreateContract)(nil), // 0: protocol.ExchangeCreateContract (*ExchangeCreateContract)(nil), // 0: protocol.ExchangeCreateContract
(*ExchangeInjectContract)(nil), // 1: protocol.ExchangeInjectContract (*ExchangeInjectContract)(nil), // 1: protocol.ExchangeInjectContract
(*ExchangeWithdrawContract)(nil), // 2: protocol.ExchangeWithdrawContract (*ExchangeWithdrawContract)(nil), // 2: protocol.ExchangeWithdrawContract
@ -410,56 +402,6 @@ func file_core_contract_exchange_contract_proto_init() {
if File_core_contract_exchange_contract_proto != nil { if File_core_contract_exchange_contract_proto != nil {
return return
} }
if !protoimpl.UnsafeEnabled {
file_core_contract_exchange_contract_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ExchangeCreateContract); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_core_contract_exchange_contract_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ExchangeInjectContract); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_core_contract_exchange_contract_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ExchangeWithdrawContract); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_core_contract_exchange_contract_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ExchangeTransactionContract); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
}
type x struct{} type x struct{}
out := protoimpl.TypeBuilder{ out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{ File: protoimpl.DescBuilder{

View File

@ -1,6 +1,6 @@
// Code generated by protoc-gen-go. DO NOT EDIT. // Code generated by protoc-gen-go. DO NOT EDIT.
// versions: // versions:
// protoc-gen-go v1.31.0 // protoc-gen-go v1.35.2
// protoc v5.28.0 // protoc v5.28.0
// source: core/contract/market_contract.proto // source: core/contract/market_contract.proto
@ -34,12 +34,10 @@ type MarketSellAssetContract struct {
func (x *MarketSellAssetContract) Reset() { func (x *MarketSellAssetContract) Reset() {
*x = MarketSellAssetContract{} *x = MarketSellAssetContract{}
if protoimpl.UnsafeEnabled {
mi := &file_core_contract_market_contract_proto_msgTypes[0] mi := &file_core_contract_market_contract_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
}
func (x *MarketSellAssetContract) String() string { func (x *MarketSellAssetContract) String() string {
return protoimpl.X.MessageStringOf(x) return protoimpl.X.MessageStringOf(x)
@ -49,7 +47,7 @@ func (*MarketSellAssetContract) ProtoMessage() {}
func (x *MarketSellAssetContract) ProtoReflect() protoreflect.Message { func (x *MarketSellAssetContract) ProtoReflect() protoreflect.Message {
mi := &file_core_contract_market_contract_proto_msgTypes[0] mi := &file_core_contract_market_contract_proto_msgTypes[0]
if protoimpl.UnsafeEnabled && x != nil { if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
@ -110,12 +108,10 @@ type MarketCancelOrderContract struct {
func (x *MarketCancelOrderContract) Reset() { func (x *MarketCancelOrderContract) Reset() {
*x = MarketCancelOrderContract{} *x = MarketCancelOrderContract{}
if protoimpl.UnsafeEnabled {
mi := &file_core_contract_market_contract_proto_msgTypes[1] mi := &file_core_contract_market_contract_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
}
func (x *MarketCancelOrderContract) String() string { func (x *MarketCancelOrderContract) String() string {
return protoimpl.X.MessageStringOf(x) return protoimpl.X.MessageStringOf(x)
@ -125,7 +121,7 @@ func (*MarketCancelOrderContract) ProtoMessage() {}
func (x *MarketCancelOrderContract) ProtoReflect() protoreflect.Message { func (x *MarketCancelOrderContract) ProtoReflect() protoreflect.Message {
mi := &file_core_contract_market_contract_proto_msgTypes[1] mi := &file_core_contract_market_contract_proto_msgTypes[1]
if protoimpl.UnsafeEnabled && x != nil { if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
@ -200,7 +196,7 @@ func file_core_contract_market_contract_proto_rawDescGZIP() []byte {
} }
var file_core_contract_market_contract_proto_msgTypes = make([]protoimpl.MessageInfo, 2) var file_core_contract_market_contract_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
var file_core_contract_market_contract_proto_goTypes = []interface{}{ var file_core_contract_market_contract_proto_goTypes = []any{
(*MarketSellAssetContract)(nil), // 0: protocol.MarketSellAssetContract (*MarketSellAssetContract)(nil), // 0: protocol.MarketSellAssetContract
(*MarketCancelOrderContract)(nil), // 1: protocol.MarketCancelOrderContract (*MarketCancelOrderContract)(nil), // 1: protocol.MarketCancelOrderContract
} }
@ -217,32 +213,6 @@ func file_core_contract_market_contract_proto_init() {
if File_core_contract_market_contract_proto != nil { if File_core_contract_market_contract_proto != nil {
return return
} }
if !protoimpl.UnsafeEnabled {
file_core_contract_market_contract_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*MarketSellAssetContract); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_core_contract_market_contract_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*MarketCancelOrderContract); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
}
type x struct{} type x struct{}
out := protoimpl.TypeBuilder{ out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{ File: protoimpl.DescBuilder{

View File

@ -1,6 +1,6 @@
// Code generated by protoc-gen-go. DO NOT EDIT. // Code generated by protoc-gen-go. DO NOT EDIT.
// versions: // versions:
// protoc-gen-go v1.31.0 // protoc-gen-go v1.35.2
// protoc v5.28.0 // protoc v5.28.0
// source: core/contract/proposal_contract.proto // source: core/contract/proposal_contract.proto
@ -32,12 +32,10 @@ type ProposalApproveContract struct {
func (x *ProposalApproveContract) Reset() { func (x *ProposalApproveContract) Reset() {
*x = ProposalApproveContract{} *x = ProposalApproveContract{}
if protoimpl.UnsafeEnabled {
mi := &file_core_contract_proposal_contract_proto_msgTypes[0] mi := &file_core_contract_proposal_contract_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
}
func (x *ProposalApproveContract) String() string { func (x *ProposalApproveContract) String() string {
return protoimpl.X.MessageStringOf(x) return protoimpl.X.MessageStringOf(x)
@ -47,7 +45,7 @@ func (*ProposalApproveContract) ProtoMessage() {}
func (x *ProposalApproveContract) ProtoReflect() protoreflect.Message { func (x *ProposalApproveContract) ProtoReflect() protoreflect.Message {
mi := &file_core_contract_proposal_contract_proto_msgTypes[0] mi := &file_core_contract_proposal_contract_proto_msgTypes[0]
if protoimpl.UnsafeEnabled && x != nil { if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
@ -94,12 +92,10 @@ type ProposalCreateContract struct {
func (x *ProposalCreateContract) Reset() { func (x *ProposalCreateContract) Reset() {
*x = ProposalCreateContract{} *x = ProposalCreateContract{}
if protoimpl.UnsafeEnabled {
mi := &file_core_contract_proposal_contract_proto_msgTypes[1] mi := &file_core_contract_proposal_contract_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
}
func (x *ProposalCreateContract) String() string { func (x *ProposalCreateContract) String() string {
return protoimpl.X.MessageStringOf(x) return protoimpl.X.MessageStringOf(x)
@ -109,7 +105,7 @@ func (*ProposalCreateContract) ProtoMessage() {}
func (x *ProposalCreateContract) ProtoReflect() protoreflect.Message { func (x *ProposalCreateContract) ProtoReflect() protoreflect.Message {
mi := &file_core_contract_proposal_contract_proto_msgTypes[1] mi := &file_core_contract_proposal_contract_proto_msgTypes[1]
if protoimpl.UnsafeEnabled && x != nil { if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
@ -149,12 +145,10 @@ type ProposalDeleteContract struct {
func (x *ProposalDeleteContract) Reset() { func (x *ProposalDeleteContract) Reset() {
*x = ProposalDeleteContract{} *x = ProposalDeleteContract{}
if protoimpl.UnsafeEnabled {
mi := &file_core_contract_proposal_contract_proto_msgTypes[2] mi := &file_core_contract_proposal_contract_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
}
func (x *ProposalDeleteContract) String() string { func (x *ProposalDeleteContract) String() string {
return protoimpl.X.MessageStringOf(x) return protoimpl.X.MessageStringOf(x)
@ -164,7 +158,7 @@ func (*ProposalDeleteContract) ProtoMessage() {}
func (x *ProposalDeleteContract) ProtoReflect() protoreflect.Message { func (x *ProposalDeleteContract) ProtoReflect() protoreflect.Message {
mi := &file_core_contract_proposal_contract_proto_msgTypes[2] mi := &file_core_contract_proposal_contract_proto_msgTypes[2]
if protoimpl.UnsafeEnabled && x != nil { if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
@ -247,7 +241,7 @@ func file_core_contract_proposal_contract_proto_rawDescGZIP() []byte {
} }
var file_core_contract_proposal_contract_proto_msgTypes = make([]protoimpl.MessageInfo, 4) var file_core_contract_proposal_contract_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
var file_core_contract_proposal_contract_proto_goTypes = []interface{}{ var file_core_contract_proposal_contract_proto_goTypes = []any{
(*ProposalApproveContract)(nil), // 0: protocol.ProposalApproveContract (*ProposalApproveContract)(nil), // 0: protocol.ProposalApproveContract
(*ProposalCreateContract)(nil), // 1: protocol.ProposalCreateContract (*ProposalCreateContract)(nil), // 1: protocol.ProposalCreateContract
(*ProposalDeleteContract)(nil), // 2: protocol.ProposalDeleteContract (*ProposalDeleteContract)(nil), // 2: protocol.ProposalDeleteContract
@ -267,44 +261,6 @@ func file_core_contract_proposal_contract_proto_init() {
if File_core_contract_proposal_contract_proto != nil { if File_core_contract_proposal_contract_proto != nil {
return return
} }
if !protoimpl.UnsafeEnabled {
file_core_contract_proposal_contract_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ProposalApproveContract); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_core_contract_proposal_contract_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ProposalCreateContract); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_core_contract_proposal_contract_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ProposalDeleteContract); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
}
type x struct{} type x struct{}
out := protoimpl.TypeBuilder{ out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{ File: protoimpl.DescBuilder{

View File

@ -1,6 +1,6 @@
// Code generated by protoc-gen-go. DO NOT EDIT. // Code generated by protoc-gen-go. DO NOT EDIT.
// versions: // versions:
// protoc-gen-go v1.31.0 // protoc-gen-go v1.35.2
// protoc v5.28.0 // protoc v5.28.0
// source: core/contract/shield_contract.proto // source: core/contract/shield_contract.proto
@ -30,12 +30,10 @@ type AuthenticationPath struct {
func (x *AuthenticationPath) Reset() { func (x *AuthenticationPath) Reset() {
*x = AuthenticationPath{} *x = AuthenticationPath{}
if protoimpl.UnsafeEnabled {
mi := &file_core_contract_shield_contract_proto_msgTypes[0] mi := &file_core_contract_shield_contract_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
}
func (x *AuthenticationPath) String() string { func (x *AuthenticationPath) String() string {
return protoimpl.X.MessageStringOf(x) return protoimpl.X.MessageStringOf(x)
@ -45,7 +43,7 @@ func (*AuthenticationPath) ProtoMessage() {}
func (x *AuthenticationPath) ProtoReflect() protoreflect.Message { func (x *AuthenticationPath) ProtoReflect() protoreflect.Message {
mi := &file_core_contract_shield_contract_proto_msgTypes[0] mi := &file_core_contract_shield_contract_proto_msgTypes[0]
if protoimpl.UnsafeEnabled && x != nil { if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
@ -79,12 +77,10 @@ type MerklePath struct {
func (x *MerklePath) Reset() { func (x *MerklePath) Reset() {
*x = MerklePath{} *x = MerklePath{}
if protoimpl.UnsafeEnabled {
mi := &file_core_contract_shield_contract_proto_msgTypes[1] mi := &file_core_contract_shield_contract_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
}
func (x *MerklePath) String() string { func (x *MerklePath) String() string {
return protoimpl.X.MessageStringOf(x) return protoimpl.X.MessageStringOf(x)
@ -94,7 +90,7 @@ func (*MerklePath) ProtoMessage() {}
func (x *MerklePath) ProtoReflect() protoreflect.Message { func (x *MerklePath) ProtoReflect() protoreflect.Message {
mi := &file_core_contract_shield_contract_proto_msgTypes[1] mi := &file_core_contract_shield_contract_proto_msgTypes[1]
if protoimpl.UnsafeEnabled && x != nil { if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
@ -141,12 +137,10 @@ type OutputPoint struct {
func (x *OutputPoint) Reset() { func (x *OutputPoint) Reset() {
*x = OutputPoint{} *x = OutputPoint{}
if protoimpl.UnsafeEnabled {
mi := &file_core_contract_shield_contract_proto_msgTypes[2] mi := &file_core_contract_shield_contract_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
}
func (x *OutputPoint) String() string { func (x *OutputPoint) String() string {
return protoimpl.X.MessageStringOf(x) return protoimpl.X.MessageStringOf(x)
@ -156,7 +150,7 @@ func (*OutputPoint) ProtoMessage() {}
func (x *OutputPoint) ProtoReflect() protoreflect.Message { func (x *OutputPoint) ProtoReflect() protoreflect.Message {
mi := &file_core_contract_shield_contract_proto_msgTypes[2] mi := &file_core_contract_shield_contract_proto_msgTypes[2]
if protoimpl.UnsafeEnabled && x != nil { if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
@ -196,12 +190,10 @@ type OutputPointInfo struct {
func (x *OutputPointInfo) Reset() { func (x *OutputPointInfo) Reset() {
*x = OutputPointInfo{} *x = OutputPointInfo{}
if protoimpl.UnsafeEnabled {
mi := &file_core_contract_shield_contract_proto_msgTypes[3] mi := &file_core_contract_shield_contract_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
}
func (x *OutputPointInfo) String() string { func (x *OutputPointInfo) String() string {
return protoimpl.X.MessageStringOf(x) return protoimpl.X.MessageStringOf(x)
@ -211,7 +203,7 @@ func (*OutputPointInfo) ProtoMessage() {}
func (x *OutputPointInfo) ProtoReflect() protoreflect.Message { func (x *OutputPointInfo) ProtoReflect() protoreflect.Message {
mi := &file_core_contract_shield_contract_proto_msgTypes[3] mi := &file_core_contract_shield_contract_proto_msgTypes[3]
if protoimpl.UnsafeEnabled && x != nil { if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
@ -250,12 +242,10 @@ type PedersenHash struct {
func (x *PedersenHash) Reset() { func (x *PedersenHash) Reset() {
*x = PedersenHash{} *x = PedersenHash{}
if protoimpl.UnsafeEnabled {
mi := &file_core_contract_shield_contract_proto_msgTypes[4] mi := &file_core_contract_shield_contract_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
}
func (x *PedersenHash) String() string { func (x *PedersenHash) String() string {
return protoimpl.X.MessageStringOf(x) return protoimpl.X.MessageStringOf(x)
@ -265,7 +255,7 @@ func (*PedersenHash) ProtoMessage() {}
func (x *PedersenHash) ProtoReflect() protoreflect.Message { func (x *PedersenHash) ProtoReflect() protoreflect.Message {
mi := &file_core_contract_shield_contract_proto_msgTypes[4] mi := &file_core_contract_shield_contract_proto_msgTypes[4]
if protoimpl.UnsafeEnabled && x != nil { if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
@ -299,12 +289,10 @@ type IncrementalMerkleTree struct {
func (x *IncrementalMerkleTree) Reset() { func (x *IncrementalMerkleTree) Reset() {
*x = IncrementalMerkleTree{} *x = IncrementalMerkleTree{}
if protoimpl.UnsafeEnabled {
mi := &file_core_contract_shield_contract_proto_msgTypes[5] mi := &file_core_contract_shield_contract_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
}
func (x *IncrementalMerkleTree) String() string { func (x *IncrementalMerkleTree) String() string {
return protoimpl.X.MessageStringOf(x) return protoimpl.X.MessageStringOf(x)
@ -314,7 +302,7 @@ func (*IncrementalMerkleTree) ProtoMessage() {}
func (x *IncrementalMerkleTree) ProtoReflect() protoreflect.Message { func (x *IncrementalMerkleTree) ProtoReflect() protoreflect.Message {
mi := &file_core_contract_shield_contract_proto_msgTypes[5] mi := &file_core_contract_shield_contract_proto_msgTypes[5]
if protoimpl.UnsafeEnabled && x != nil { if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
@ -365,12 +353,10 @@ type IncrementalMerkleVoucher struct {
func (x *IncrementalMerkleVoucher) Reset() { func (x *IncrementalMerkleVoucher) Reset() {
*x = IncrementalMerkleVoucher{} *x = IncrementalMerkleVoucher{}
if protoimpl.UnsafeEnabled {
mi := &file_core_contract_shield_contract_proto_msgTypes[6] mi := &file_core_contract_shield_contract_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
}
func (x *IncrementalMerkleVoucher) String() string { func (x *IncrementalMerkleVoucher) String() string {
return protoimpl.X.MessageStringOf(x) return protoimpl.X.MessageStringOf(x)
@ -380,7 +366,7 @@ func (*IncrementalMerkleVoucher) ProtoMessage() {}
func (x *IncrementalMerkleVoucher) ProtoReflect() protoreflect.Message { func (x *IncrementalMerkleVoucher) ProtoReflect() protoreflect.Message {
mi := &file_core_contract_shield_contract_proto_msgTypes[6] mi := &file_core_contract_shield_contract_proto_msgTypes[6]
if protoimpl.UnsafeEnabled && x != nil { if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
@ -448,12 +434,10 @@ type IncrementalMerkleVoucherInfo struct {
func (x *IncrementalMerkleVoucherInfo) Reset() { func (x *IncrementalMerkleVoucherInfo) Reset() {
*x = IncrementalMerkleVoucherInfo{} *x = IncrementalMerkleVoucherInfo{}
if protoimpl.UnsafeEnabled {
mi := &file_core_contract_shield_contract_proto_msgTypes[7] mi := &file_core_contract_shield_contract_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
}
func (x *IncrementalMerkleVoucherInfo) String() string { func (x *IncrementalMerkleVoucherInfo) String() string {
return protoimpl.X.MessageStringOf(x) return protoimpl.X.MessageStringOf(x)
@ -463,7 +447,7 @@ func (*IncrementalMerkleVoucherInfo) ProtoMessage() {}
func (x *IncrementalMerkleVoucherInfo) ProtoReflect() protoreflect.Message { func (x *IncrementalMerkleVoucherInfo) ProtoReflect() protoreflect.Message {
mi := &file_core_contract_shield_contract_proto_msgTypes[7] mi := &file_core_contract_shield_contract_proto_msgTypes[7]
if protoimpl.UnsafeEnabled && x != nil { if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
@ -507,12 +491,10 @@ type SpendDescription struct {
func (x *SpendDescription) Reset() { func (x *SpendDescription) Reset() {
*x = SpendDescription{} *x = SpendDescription{}
if protoimpl.UnsafeEnabled {
mi := &file_core_contract_shield_contract_proto_msgTypes[8] mi := &file_core_contract_shield_contract_proto_msgTypes[8]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
}
func (x *SpendDescription) String() string { func (x *SpendDescription) String() string {
return protoimpl.X.MessageStringOf(x) return protoimpl.X.MessageStringOf(x)
@ -522,7 +504,7 @@ func (*SpendDescription) ProtoMessage() {}
func (x *SpendDescription) ProtoReflect() protoreflect.Message { func (x *SpendDescription) ProtoReflect() protoreflect.Message {
mi := &file_core_contract_shield_contract_proto_msgTypes[8] mi := &file_core_contract_shield_contract_proto_msgTypes[8]
if protoimpl.UnsafeEnabled && x != nil { if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
@ -594,12 +576,10 @@ type ReceiveDescription struct {
func (x *ReceiveDescription) Reset() { func (x *ReceiveDescription) Reset() {
*x = ReceiveDescription{} *x = ReceiveDescription{}
if protoimpl.UnsafeEnabled {
mi := &file_core_contract_shield_contract_proto_msgTypes[9] mi := &file_core_contract_shield_contract_proto_msgTypes[9]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
}
func (x *ReceiveDescription) String() string { func (x *ReceiveDescription) String() string {
return protoimpl.X.MessageStringOf(x) return protoimpl.X.MessageStringOf(x)
@ -609,7 +589,7 @@ func (*ReceiveDescription) ProtoMessage() {}
func (x *ReceiveDescription) ProtoReflect() protoreflect.Message { func (x *ReceiveDescription) ProtoReflect() protoreflect.Message {
mi := &file_core_contract_shield_contract_proto_msgTypes[9] mi := &file_core_contract_shield_contract_proto_msgTypes[9]
if protoimpl.UnsafeEnabled && x != nil { if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
@ -682,12 +662,10 @@ type ShieldedTransferContract struct {
func (x *ShieldedTransferContract) Reset() { func (x *ShieldedTransferContract) Reset() {
*x = ShieldedTransferContract{} *x = ShieldedTransferContract{}
if protoimpl.UnsafeEnabled {
mi := &file_core_contract_shield_contract_proto_msgTypes[10] mi := &file_core_contract_shield_contract_proto_msgTypes[10]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
}
func (x *ShieldedTransferContract) String() string { func (x *ShieldedTransferContract) String() string {
return protoimpl.X.MessageStringOf(x) return protoimpl.X.MessageStringOf(x)
@ -697,7 +675,7 @@ func (*ShieldedTransferContract) ProtoMessage() {}
func (x *ShieldedTransferContract) ProtoReflect() protoreflect.Message { func (x *ShieldedTransferContract) ProtoReflect() protoreflect.Message {
mi := &file_core_contract_shield_contract_proto_msgTypes[10] mi := &file_core_contract_shield_contract_proto_msgTypes[10]
if protoimpl.UnsafeEnabled && x != nil { if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
@ -898,7 +876,7 @@ func file_core_contract_shield_contract_proto_rawDescGZIP() []byte {
} }
var file_core_contract_shield_contract_proto_msgTypes = make([]protoimpl.MessageInfo, 11) var file_core_contract_shield_contract_proto_msgTypes = make([]protoimpl.MessageInfo, 11)
var file_core_contract_shield_contract_proto_goTypes = []interface{}{ var file_core_contract_shield_contract_proto_goTypes = []any{
(*AuthenticationPath)(nil), // 0: protocol.AuthenticationPath (*AuthenticationPath)(nil), // 0: protocol.AuthenticationPath
(*MerklePath)(nil), // 1: protocol.MerklePath (*MerklePath)(nil), // 1: protocol.MerklePath
(*OutputPoint)(nil), // 2: protocol.OutputPoint (*OutputPoint)(nil), // 2: protocol.OutputPoint
@ -936,140 +914,6 @@ func file_core_contract_shield_contract_proto_init() {
if File_core_contract_shield_contract_proto != nil { if File_core_contract_shield_contract_proto != nil {
return return
} }
if !protoimpl.UnsafeEnabled {
file_core_contract_shield_contract_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*AuthenticationPath); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_core_contract_shield_contract_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*MerklePath); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_core_contract_shield_contract_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*OutputPoint); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_core_contract_shield_contract_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*OutputPointInfo); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_core_contract_shield_contract_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*PedersenHash); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_core_contract_shield_contract_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*IncrementalMerkleTree); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_core_contract_shield_contract_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*IncrementalMerkleVoucher); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_core_contract_shield_contract_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*IncrementalMerkleVoucherInfo); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_core_contract_shield_contract_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*SpendDescription); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_core_contract_shield_contract_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ReceiveDescription); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_core_contract_shield_contract_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ShieldedTransferContract); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
}
type x struct{} type x struct{}
out := protoimpl.TypeBuilder{ out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{ File: protoimpl.DescBuilder{

View File

@ -1,6 +1,6 @@
// Code generated by protoc-gen-go. DO NOT EDIT. // Code generated by protoc-gen-go. DO NOT EDIT.
// versions: // versions:
// protoc-gen-go v1.31.0 // protoc-gen-go v1.35.2
// protoc v5.28.0 // protoc v5.28.0
// source: core/contract/smart_contract.proto // source: core/contract/smart_contract.proto
@ -156,12 +156,10 @@ type SmartContract struct {
func (x *SmartContract) Reset() { func (x *SmartContract) Reset() {
*x = SmartContract{} *x = SmartContract{}
if protoimpl.UnsafeEnabled {
mi := &file_core_contract_smart_contract_proto_msgTypes[0] mi := &file_core_contract_smart_contract_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
}
func (x *SmartContract) String() string { func (x *SmartContract) String() string {
return protoimpl.X.MessageStringOf(x) return protoimpl.X.MessageStringOf(x)
@ -171,7 +169,7 @@ func (*SmartContract) ProtoMessage() {}
func (x *SmartContract) ProtoReflect() protoreflect.Message { func (x *SmartContract) ProtoReflect() protoreflect.Message {
mi := &file_core_contract_smart_contract_proto_msgTypes[0] mi := &file_core_contract_smart_contract_proto_msgTypes[0]
if protoimpl.UnsafeEnabled && x != nil { if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
@ -275,12 +273,10 @@ type ContractState struct {
func (x *ContractState) Reset() { func (x *ContractState) Reset() {
*x = ContractState{} *x = ContractState{}
if protoimpl.UnsafeEnabled {
mi := &file_core_contract_smart_contract_proto_msgTypes[1] mi := &file_core_contract_smart_contract_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
}
func (x *ContractState) String() string { func (x *ContractState) String() string {
return protoimpl.X.MessageStringOf(x) return protoimpl.X.MessageStringOf(x)
@ -290,7 +286,7 @@ func (*ContractState) ProtoMessage() {}
func (x *ContractState) ProtoReflect() protoreflect.Message { func (x *ContractState) ProtoReflect() protoreflect.Message {
mi := &file_core_contract_smart_contract_proto_msgTypes[1] mi := &file_core_contract_smart_contract_proto_msgTypes[1]
if protoimpl.UnsafeEnabled && x != nil { if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
@ -339,12 +335,10 @@ type CreateSmartContract struct {
func (x *CreateSmartContract) Reset() { func (x *CreateSmartContract) Reset() {
*x = CreateSmartContract{} *x = CreateSmartContract{}
if protoimpl.UnsafeEnabled {
mi := &file_core_contract_smart_contract_proto_msgTypes[2] mi := &file_core_contract_smart_contract_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
}
func (x *CreateSmartContract) String() string { func (x *CreateSmartContract) String() string {
return protoimpl.X.MessageStringOf(x) return protoimpl.X.MessageStringOf(x)
@ -354,7 +348,7 @@ func (*CreateSmartContract) ProtoMessage() {}
func (x *CreateSmartContract) ProtoReflect() protoreflect.Message { func (x *CreateSmartContract) ProtoReflect() protoreflect.Message {
mi := &file_core_contract_smart_contract_proto_msgTypes[2] mi := &file_core_contract_smart_contract_proto_msgTypes[2]
if protoimpl.UnsafeEnabled && x != nil { if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
@ -412,12 +406,10 @@ type TriggerSmartContract struct {
func (x *TriggerSmartContract) Reset() { func (x *TriggerSmartContract) Reset() {
*x = TriggerSmartContract{} *x = TriggerSmartContract{}
if protoimpl.UnsafeEnabled {
mi := &file_core_contract_smart_contract_proto_msgTypes[3] mi := &file_core_contract_smart_contract_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
}
func (x *TriggerSmartContract) String() string { func (x *TriggerSmartContract) String() string {
return protoimpl.X.MessageStringOf(x) return protoimpl.X.MessageStringOf(x)
@ -427,7 +419,7 @@ func (*TriggerSmartContract) ProtoMessage() {}
func (x *TriggerSmartContract) ProtoReflect() protoreflect.Message { func (x *TriggerSmartContract) ProtoReflect() protoreflect.Message {
mi := &file_core_contract_smart_contract_proto_msgTypes[3] mi := &file_core_contract_smart_contract_proto_msgTypes[3]
if protoimpl.UnsafeEnabled && x != nil { if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
@ -495,12 +487,10 @@ type ClearABIContract struct {
func (x *ClearABIContract) Reset() { func (x *ClearABIContract) Reset() {
*x = ClearABIContract{} *x = ClearABIContract{}
if protoimpl.UnsafeEnabled {
mi := &file_core_contract_smart_contract_proto_msgTypes[4] mi := &file_core_contract_smart_contract_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
}
func (x *ClearABIContract) String() string { func (x *ClearABIContract) String() string {
return protoimpl.X.MessageStringOf(x) return protoimpl.X.MessageStringOf(x)
@ -510,7 +500,7 @@ func (*ClearABIContract) ProtoMessage() {}
func (x *ClearABIContract) ProtoReflect() protoreflect.Message { func (x *ClearABIContract) ProtoReflect() protoreflect.Message {
mi := &file_core_contract_smart_contract_proto_msgTypes[4] mi := &file_core_contract_smart_contract_proto_msgTypes[4]
if protoimpl.UnsafeEnabled && x != nil { if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
@ -551,12 +541,10 @@ type UpdateSettingContract struct {
func (x *UpdateSettingContract) Reset() { func (x *UpdateSettingContract) Reset() {
*x = UpdateSettingContract{} *x = UpdateSettingContract{}
if protoimpl.UnsafeEnabled {
mi := &file_core_contract_smart_contract_proto_msgTypes[5] mi := &file_core_contract_smart_contract_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
}
func (x *UpdateSettingContract) String() string { func (x *UpdateSettingContract) String() string {
return protoimpl.X.MessageStringOf(x) return protoimpl.X.MessageStringOf(x)
@ -566,7 +554,7 @@ func (*UpdateSettingContract) ProtoMessage() {}
func (x *UpdateSettingContract) ProtoReflect() protoreflect.Message { func (x *UpdateSettingContract) ProtoReflect() protoreflect.Message {
mi := &file_core_contract_smart_contract_proto_msgTypes[5] mi := &file_core_contract_smart_contract_proto_msgTypes[5]
if protoimpl.UnsafeEnabled && x != nil { if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
@ -614,12 +602,10 @@ type UpdateEnergyLimitContract struct {
func (x *UpdateEnergyLimitContract) Reset() { func (x *UpdateEnergyLimitContract) Reset() {
*x = UpdateEnergyLimitContract{} *x = UpdateEnergyLimitContract{}
if protoimpl.UnsafeEnabled {
mi := &file_core_contract_smart_contract_proto_msgTypes[6] mi := &file_core_contract_smart_contract_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
}
func (x *UpdateEnergyLimitContract) String() string { func (x *UpdateEnergyLimitContract) String() string {
return protoimpl.X.MessageStringOf(x) return protoimpl.X.MessageStringOf(x)
@ -629,7 +615,7 @@ func (*UpdateEnergyLimitContract) ProtoMessage() {}
func (x *UpdateEnergyLimitContract) ProtoReflect() protoreflect.Message { func (x *UpdateEnergyLimitContract) ProtoReflect() protoreflect.Message {
mi := &file_core_contract_smart_contract_proto_msgTypes[6] mi := &file_core_contract_smart_contract_proto_msgTypes[6]
if protoimpl.UnsafeEnabled && x != nil { if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
@ -677,12 +663,10 @@ type SmartContractDataWrapper struct {
func (x *SmartContractDataWrapper) Reset() { func (x *SmartContractDataWrapper) Reset() {
*x = SmartContractDataWrapper{} *x = SmartContractDataWrapper{}
if protoimpl.UnsafeEnabled {
mi := &file_core_contract_smart_contract_proto_msgTypes[7] mi := &file_core_contract_smart_contract_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
}
func (x *SmartContractDataWrapper) String() string { func (x *SmartContractDataWrapper) String() string {
return protoimpl.X.MessageStringOf(x) return protoimpl.X.MessageStringOf(x)
@ -692,7 +676,7 @@ func (*SmartContractDataWrapper) ProtoMessage() {}
func (x *SmartContractDataWrapper) ProtoReflect() protoreflect.Message { func (x *SmartContractDataWrapper) ProtoReflect() protoreflect.Message {
mi := &file_core_contract_smart_contract_proto_msgTypes[7] mi := &file_core_contract_smart_contract_proto_msgTypes[7]
if protoimpl.UnsafeEnabled && x != nil { if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
@ -738,12 +722,10 @@ type SmartContract_ABI struct {
func (x *SmartContract_ABI) Reset() { func (x *SmartContract_ABI) Reset() {
*x = SmartContract_ABI{} *x = SmartContract_ABI{}
if protoimpl.UnsafeEnabled {
mi := &file_core_contract_smart_contract_proto_msgTypes[8] mi := &file_core_contract_smart_contract_proto_msgTypes[8]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
}
func (x *SmartContract_ABI) String() string { func (x *SmartContract_ABI) String() string {
return protoimpl.X.MessageStringOf(x) return protoimpl.X.MessageStringOf(x)
@ -753,7 +735,7 @@ func (*SmartContract_ABI) ProtoMessage() {}
func (x *SmartContract_ABI) ProtoReflect() protoreflect.Message { func (x *SmartContract_ABI) ProtoReflect() protoreflect.Message {
mi := &file_core_contract_smart_contract_proto_msgTypes[8] mi := &file_core_contract_smart_contract_proto_msgTypes[8]
if protoimpl.UnsafeEnabled && x != nil { if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
@ -792,12 +774,10 @@ type SmartContract_ABI_Entry struct {
func (x *SmartContract_ABI_Entry) Reset() { func (x *SmartContract_ABI_Entry) Reset() {
*x = SmartContract_ABI_Entry{} *x = SmartContract_ABI_Entry{}
if protoimpl.UnsafeEnabled {
mi := &file_core_contract_smart_contract_proto_msgTypes[9] mi := &file_core_contract_smart_contract_proto_msgTypes[9]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
}
func (x *SmartContract_ABI_Entry) String() string { func (x *SmartContract_ABI_Entry) String() string {
return protoimpl.X.MessageStringOf(x) return protoimpl.X.MessageStringOf(x)
@ -807,7 +787,7 @@ func (*SmartContract_ABI_Entry) ProtoMessage() {}
func (x *SmartContract_ABI_Entry) ProtoReflect() protoreflect.Message { func (x *SmartContract_ABI_Entry) ProtoReflect() protoreflect.Message {
mi := &file_core_contract_smart_contract_proto_msgTypes[9] mi := &file_core_contract_smart_contract_proto_msgTypes[9]
if protoimpl.UnsafeEnabled && x != nil { if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
@ -890,12 +870,10 @@ type SmartContract_ABI_Entry_Param struct {
func (x *SmartContract_ABI_Entry_Param) Reset() { func (x *SmartContract_ABI_Entry_Param) Reset() {
*x = SmartContract_ABI_Entry_Param{} *x = SmartContract_ABI_Entry_Param{}
if protoimpl.UnsafeEnabled {
mi := &file_core_contract_smart_contract_proto_msgTypes[10] mi := &file_core_contract_smart_contract_proto_msgTypes[10]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
}
func (x *SmartContract_ABI_Entry_Param) String() string { func (x *SmartContract_ABI_Entry_Param) String() string {
return protoimpl.X.MessageStringOf(x) return protoimpl.X.MessageStringOf(x)
@ -905,7 +883,7 @@ func (*SmartContract_ABI_Entry_Param) ProtoMessage() {}
func (x *SmartContract_ABI_Entry_Param) ProtoReflect() protoreflect.Message { func (x *SmartContract_ABI_Entry_Param) ProtoReflect() protoreflect.Message {
mi := &file_core_contract_smart_contract_proto_msgTypes[10] mi := &file_core_contract_smart_contract_proto_msgTypes[10]
if protoimpl.UnsafeEnabled && x != nil { if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
@ -1116,7 +1094,7 @@ func file_core_contract_smart_contract_proto_rawDescGZIP() []byte {
var file_core_contract_smart_contract_proto_enumTypes = make([]protoimpl.EnumInfo, 2) var file_core_contract_smart_contract_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
var file_core_contract_smart_contract_proto_msgTypes = make([]protoimpl.MessageInfo, 11) var file_core_contract_smart_contract_proto_msgTypes = make([]protoimpl.MessageInfo, 11)
var file_core_contract_smart_contract_proto_goTypes = []interface{}{ var file_core_contract_smart_contract_proto_goTypes = []any{
(SmartContract_ABI_Entry_EntryType)(0), // 0: protocol.SmartContract.ABI.Entry.EntryType (SmartContract_ABI_Entry_EntryType)(0), // 0: protocol.SmartContract.ABI.Entry.EntryType
(SmartContract_ABI_Entry_StateMutabilityType)(0), // 1: protocol.SmartContract.ABI.Entry.StateMutabilityType (SmartContract_ABI_Entry_StateMutabilityType)(0), // 1: protocol.SmartContract.ABI.Entry.StateMutabilityType
(*SmartContract)(nil), // 2: protocol.SmartContract (*SmartContract)(nil), // 2: protocol.SmartContract
@ -1154,140 +1132,6 @@ func file_core_contract_smart_contract_proto_init() {
return return
} }
file_core_Tron_proto_init() file_core_Tron_proto_init()
if !protoimpl.UnsafeEnabled {
file_core_contract_smart_contract_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*SmartContract); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_core_contract_smart_contract_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ContractState); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_core_contract_smart_contract_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CreateSmartContract); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_core_contract_smart_contract_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*TriggerSmartContract); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_core_contract_smart_contract_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ClearABIContract); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_core_contract_smart_contract_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*UpdateSettingContract); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_core_contract_smart_contract_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*UpdateEnergyLimitContract); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_core_contract_smart_contract_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*SmartContractDataWrapper); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_core_contract_smart_contract_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*SmartContract_ABI); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_core_contract_smart_contract_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*SmartContract_ABI_Entry); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_core_contract_smart_contract_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*SmartContract_ABI_Entry_Param); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
}
type x struct{} type x struct{}
out := protoimpl.TypeBuilder{ out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{ File: protoimpl.DescBuilder{

View File

@ -1,6 +1,6 @@
// Code generated by protoc-gen-go. DO NOT EDIT. // Code generated by protoc-gen-go. DO NOT EDIT.
// versions: // versions:
// protoc-gen-go v1.31.0 // protoc-gen-go v1.35.2
// protoc v5.28.0 // protoc v5.28.0
// source: core/contract/storage_contract.proto // source: core/contract/storage_contract.proto
@ -31,12 +31,10 @@ type BuyStorageBytesContract struct {
func (x *BuyStorageBytesContract) Reset() { func (x *BuyStorageBytesContract) Reset() {
*x = BuyStorageBytesContract{} *x = BuyStorageBytesContract{}
if protoimpl.UnsafeEnabled {
mi := &file_core_contract_storage_contract_proto_msgTypes[0] mi := &file_core_contract_storage_contract_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
}
func (x *BuyStorageBytesContract) String() string { func (x *BuyStorageBytesContract) String() string {
return protoimpl.X.MessageStringOf(x) return protoimpl.X.MessageStringOf(x)
@ -46,7 +44,7 @@ func (*BuyStorageBytesContract) ProtoMessage() {}
func (x *BuyStorageBytesContract) ProtoReflect() protoreflect.Message { func (x *BuyStorageBytesContract) ProtoReflect() protoreflect.Message {
mi := &file_core_contract_storage_contract_proto_msgTypes[0] mi := &file_core_contract_storage_contract_proto_msgTypes[0]
if protoimpl.UnsafeEnabled && x != nil { if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
@ -86,12 +84,10 @@ type BuyStorageContract struct {
func (x *BuyStorageContract) Reset() { func (x *BuyStorageContract) Reset() {
*x = BuyStorageContract{} *x = BuyStorageContract{}
if protoimpl.UnsafeEnabled {
mi := &file_core_contract_storage_contract_proto_msgTypes[1] mi := &file_core_contract_storage_contract_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
}
func (x *BuyStorageContract) String() string { func (x *BuyStorageContract) String() string {
return protoimpl.X.MessageStringOf(x) return protoimpl.X.MessageStringOf(x)
@ -101,7 +97,7 @@ func (*BuyStorageContract) ProtoMessage() {}
func (x *BuyStorageContract) ProtoReflect() protoreflect.Message { func (x *BuyStorageContract) ProtoReflect() protoreflect.Message {
mi := &file_core_contract_storage_contract_proto_msgTypes[1] mi := &file_core_contract_storage_contract_proto_msgTypes[1]
if protoimpl.UnsafeEnabled && x != nil { if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
@ -141,12 +137,10 @@ type SellStorageContract struct {
func (x *SellStorageContract) Reset() { func (x *SellStorageContract) Reset() {
*x = SellStorageContract{} *x = SellStorageContract{}
if protoimpl.UnsafeEnabled {
mi := &file_core_contract_storage_contract_proto_msgTypes[2] mi := &file_core_contract_storage_contract_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
}
func (x *SellStorageContract) String() string { func (x *SellStorageContract) String() string {
return protoimpl.X.MessageStringOf(x) return protoimpl.X.MessageStringOf(x)
@ -156,7 +150,7 @@ func (*SellStorageContract) ProtoMessage() {}
func (x *SellStorageContract) ProtoReflect() protoreflect.Message { func (x *SellStorageContract) ProtoReflect() protoreflect.Message {
mi := &file_core_contract_storage_contract_proto_msgTypes[2] mi := &file_core_contract_storage_contract_proto_msgTypes[2]
if protoimpl.UnsafeEnabled && x != nil { if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
@ -196,12 +190,10 @@ type UpdateBrokerageContract struct {
func (x *UpdateBrokerageContract) Reset() { func (x *UpdateBrokerageContract) Reset() {
*x = UpdateBrokerageContract{} *x = UpdateBrokerageContract{}
if protoimpl.UnsafeEnabled {
mi := &file_core_contract_storage_contract_proto_msgTypes[3] mi := &file_core_contract_storage_contract_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
}
func (x *UpdateBrokerageContract) String() string { func (x *UpdateBrokerageContract) String() string {
return protoimpl.X.MessageStringOf(x) return protoimpl.X.MessageStringOf(x)
@ -211,7 +203,7 @@ func (*UpdateBrokerageContract) ProtoMessage() {}
func (x *UpdateBrokerageContract) ProtoReflect() protoreflect.Message { func (x *UpdateBrokerageContract) ProtoReflect() protoreflect.Message {
mi := &file_core_contract_storage_contract_proto_msgTypes[3] mi := &file_core_contract_storage_contract_proto_msgTypes[3]
if protoimpl.UnsafeEnabled && x != nil { if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
@ -289,7 +281,7 @@ func file_core_contract_storage_contract_proto_rawDescGZIP() []byte {
} }
var file_core_contract_storage_contract_proto_msgTypes = make([]protoimpl.MessageInfo, 4) var file_core_contract_storage_contract_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
var file_core_contract_storage_contract_proto_goTypes = []interface{}{ var file_core_contract_storage_contract_proto_goTypes = []any{
(*BuyStorageBytesContract)(nil), // 0: protocol.BuyStorageBytesContract (*BuyStorageBytesContract)(nil), // 0: protocol.BuyStorageBytesContract
(*BuyStorageContract)(nil), // 1: protocol.BuyStorageContract (*BuyStorageContract)(nil), // 1: protocol.BuyStorageContract
(*SellStorageContract)(nil), // 2: protocol.SellStorageContract (*SellStorageContract)(nil), // 2: protocol.SellStorageContract
@ -308,56 +300,6 @@ func file_core_contract_storage_contract_proto_init() {
if File_core_contract_storage_contract_proto != nil { if File_core_contract_storage_contract_proto != nil {
return return
} }
if !protoimpl.UnsafeEnabled {
file_core_contract_storage_contract_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*BuyStorageBytesContract); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_core_contract_storage_contract_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*BuyStorageContract); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_core_contract_storage_contract_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*SellStorageContract); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_core_contract_storage_contract_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*UpdateBrokerageContract); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
}
type x struct{} type x struct{}
out := protoimpl.TypeBuilder{ out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{ File: protoimpl.DescBuilder{

View File

@ -1,6 +1,6 @@
// Code generated by protoc-gen-go. DO NOT EDIT. // Code generated by protoc-gen-go. DO NOT EDIT.
// versions: // versions:
// protoc-gen-go v1.31.0 // protoc-gen-go v1.35.2
// protoc v5.28.0 // protoc v5.28.0
// source: core/contract/vote_asset_contract.proto // source: core/contract/vote_asset_contract.proto
@ -33,12 +33,10 @@ type VoteAssetContract struct {
func (x *VoteAssetContract) Reset() { func (x *VoteAssetContract) Reset() {
*x = VoteAssetContract{} *x = VoteAssetContract{}
if protoimpl.UnsafeEnabled {
mi := &file_core_contract_vote_asset_contract_proto_msgTypes[0] mi := &file_core_contract_vote_asset_contract_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
}
func (x *VoteAssetContract) String() string { func (x *VoteAssetContract) String() string {
return protoimpl.X.MessageStringOf(x) return protoimpl.X.MessageStringOf(x)
@ -48,7 +46,7 @@ func (*VoteAssetContract) ProtoMessage() {}
func (x *VoteAssetContract) ProtoReflect() protoreflect.Message { func (x *VoteAssetContract) ProtoReflect() protoreflect.Message {
mi := &file_core_contract_vote_asset_contract_proto_msgTypes[0] mi := &file_core_contract_vote_asset_contract_proto_msgTypes[0]
if protoimpl.UnsafeEnabled && x != nil { if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
@ -126,7 +124,7 @@ func file_core_contract_vote_asset_contract_proto_rawDescGZIP() []byte {
} }
var file_core_contract_vote_asset_contract_proto_msgTypes = make([]protoimpl.MessageInfo, 1) var file_core_contract_vote_asset_contract_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
var file_core_contract_vote_asset_contract_proto_goTypes = []interface{}{ var file_core_contract_vote_asset_contract_proto_goTypes = []any{
(*VoteAssetContract)(nil), // 0: protocol.VoteAssetContract (*VoteAssetContract)(nil), // 0: protocol.VoteAssetContract
} }
var file_core_contract_vote_asset_contract_proto_depIdxs = []int32{ var file_core_contract_vote_asset_contract_proto_depIdxs = []int32{
@ -142,20 +140,6 @@ func file_core_contract_vote_asset_contract_proto_init() {
if File_core_contract_vote_asset_contract_proto != nil { if File_core_contract_vote_asset_contract_proto != nil {
return return
} }
if !protoimpl.UnsafeEnabled {
file_core_contract_vote_asset_contract_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*VoteAssetContract); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
}
type x struct{} type x struct{}
out := protoimpl.TypeBuilder{ out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{ File: protoimpl.DescBuilder{

View File

@ -1,6 +1,6 @@
// Code generated by protoc-gen-go. DO NOT EDIT. // Code generated by protoc-gen-go. DO NOT EDIT.
// versions: // versions:
// protoc-gen-go v1.31.0 // protoc-gen-go v1.35.2
// protoc v5.28.0 // protoc v5.28.0
// source: core/contract/witness_contract.proto // source: core/contract/witness_contract.proto
@ -31,12 +31,10 @@ type WitnessCreateContract struct {
func (x *WitnessCreateContract) Reset() { func (x *WitnessCreateContract) Reset() {
*x = WitnessCreateContract{} *x = WitnessCreateContract{}
if protoimpl.UnsafeEnabled {
mi := &file_core_contract_witness_contract_proto_msgTypes[0] mi := &file_core_contract_witness_contract_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
}
func (x *WitnessCreateContract) String() string { func (x *WitnessCreateContract) String() string {
return protoimpl.X.MessageStringOf(x) return protoimpl.X.MessageStringOf(x)
@ -46,7 +44,7 @@ func (*WitnessCreateContract) ProtoMessage() {}
func (x *WitnessCreateContract) ProtoReflect() protoreflect.Message { func (x *WitnessCreateContract) ProtoReflect() protoreflect.Message {
mi := &file_core_contract_witness_contract_proto_msgTypes[0] mi := &file_core_contract_witness_contract_proto_msgTypes[0]
if protoimpl.UnsafeEnabled && x != nil { if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
@ -86,12 +84,10 @@ type WitnessUpdateContract struct {
func (x *WitnessUpdateContract) Reset() { func (x *WitnessUpdateContract) Reset() {
*x = WitnessUpdateContract{} *x = WitnessUpdateContract{}
if protoimpl.UnsafeEnabled {
mi := &file_core_contract_witness_contract_proto_msgTypes[1] mi := &file_core_contract_witness_contract_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
}
func (x *WitnessUpdateContract) String() string { func (x *WitnessUpdateContract) String() string {
return protoimpl.X.MessageStringOf(x) return protoimpl.X.MessageStringOf(x)
@ -101,7 +97,7 @@ func (*WitnessUpdateContract) ProtoMessage() {}
func (x *WitnessUpdateContract) ProtoReflect() protoreflect.Message { func (x *WitnessUpdateContract) ProtoReflect() protoreflect.Message {
mi := &file_core_contract_witness_contract_proto_msgTypes[1] mi := &file_core_contract_witness_contract_proto_msgTypes[1]
if protoimpl.UnsafeEnabled && x != nil { if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
@ -142,12 +138,10 @@ type VoteWitnessContract struct {
func (x *VoteWitnessContract) Reset() { func (x *VoteWitnessContract) Reset() {
*x = VoteWitnessContract{} *x = VoteWitnessContract{}
if protoimpl.UnsafeEnabled {
mi := &file_core_contract_witness_contract_proto_msgTypes[2] mi := &file_core_contract_witness_contract_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
}
func (x *VoteWitnessContract) String() string { func (x *VoteWitnessContract) String() string {
return protoimpl.X.MessageStringOf(x) return protoimpl.X.MessageStringOf(x)
@ -157,7 +151,7 @@ func (*VoteWitnessContract) ProtoMessage() {}
func (x *VoteWitnessContract) ProtoReflect() protoreflect.Message { func (x *VoteWitnessContract) ProtoReflect() protoreflect.Message {
mi := &file_core_contract_witness_contract_proto_msgTypes[2] mi := &file_core_contract_witness_contract_proto_msgTypes[2]
if protoimpl.UnsafeEnabled && x != nil { if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
@ -204,12 +198,10 @@ type VoteWitnessContract_Vote struct {
func (x *VoteWitnessContract_Vote) Reset() { func (x *VoteWitnessContract_Vote) Reset() {
*x = VoteWitnessContract_Vote{} *x = VoteWitnessContract_Vote{}
if protoimpl.UnsafeEnabled {
mi := &file_core_contract_witness_contract_proto_msgTypes[3] mi := &file_core_contract_witness_contract_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
}
func (x *VoteWitnessContract_Vote) String() string { func (x *VoteWitnessContract_Vote) String() string {
return protoimpl.X.MessageStringOf(x) return protoimpl.X.MessageStringOf(x)
@ -219,7 +211,7 @@ func (*VoteWitnessContract_Vote) ProtoMessage() {}
func (x *VoteWitnessContract_Vote) ProtoReflect() protoreflect.Message { func (x *VoteWitnessContract_Vote) ProtoReflect() protoreflect.Message {
mi := &file_core_contract_witness_contract_proto_msgTypes[3] mi := &file_core_contract_witness_contract_proto_msgTypes[3]
if protoimpl.UnsafeEnabled && x != nil { if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
@ -299,7 +291,7 @@ func file_core_contract_witness_contract_proto_rawDescGZIP() []byte {
} }
var file_core_contract_witness_contract_proto_msgTypes = make([]protoimpl.MessageInfo, 4) var file_core_contract_witness_contract_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
var file_core_contract_witness_contract_proto_goTypes = []interface{}{ var file_core_contract_witness_contract_proto_goTypes = []any{
(*WitnessCreateContract)(nil), // 0: protocol.WitnessCreateContract (*WitnessCreateContract)(nil), // 0: protocol.WitnessCreateContract
(*WitnessUpdateContract)(nil), // 1: protocol.WitnessUpdateContract (*WitnessUpdateContract)(nil), // 1: protocol.WitnessUpdateContract
(*VoteWitnessContract)(nil), // 2: protocol.VoteWitnessContract (*VoteWitnessContract)(nil), // 2: protocol.VoteWitnessContract
@ -319,56 +311,6 @@ func file_core_contract_witness_contract_proto_init() {
if File_core_contract_witness_contract_proto != nil { if File_core_contract_witness_contract_proto != nil {
return return
} }
if !protoimpl.UnsafeEnabled {
file_core_contract_witness_contract_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*WitnessCreateContract); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_core_contract_witness_contract_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*WitnessUpdateContract); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_core_contract_witness_contract_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*VoteWitnessContract); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_core_contract_witness_contract_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*VoteWitnessContract_Vote); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
}
type x struct{} type x struct{}
out := protoimpl.TypeBuilder{ out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{ File: protoimpl.DescBuilder{