update gen versions
This commit is contained in:
parent
6cbe88a00a
commit
b3a47c5c7b
1254
gen/api/api.pb.go
1254
gen/api/api.pb.go
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -1,6 +1,6 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.31.0
|
||||
// protoc-gen-go v1.35.2
|
||||
// protoc v5.28.0
|
||||
// source: api/zksnark.proto
|
||||
|
||||
@ -80,12 +80,10 @@ type ZksnarkRequest struct {
|
||||
|
||||
func (x *ZksnarkRequest) Reset() {
|
||||
*x = ZksnarkRequest{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_api_zksnark_proto_msgTypes[0]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *ZksnarkRequest) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
@ -95,7 +93,7 @@ func (*ZksnarkRequest) ProtoMessage() {}
|
||||
|
||||
func (x *ZksnarkRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_api_zksnark_proto_msgTypes[0]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
@ -148,12 +146,10 @@ type ZksnarkResponse struct {
|
||||
|
||||
func (x *ZksnarkResponse) Reset() {
|
||||
*x = ZksnarkResponse{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_api_zksnark_proto_msgTypes[1]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *ZksnarkResponse) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
@ -163,7 +159,7 @@ func (*ZksnarkResponse) ProtoMessage() {}
|
||||
|
||||
func (x *ZksnarkResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_api_zksnark_proto_msgTypes[1]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
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_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
|
||||
(*ZksnarkRequest)(nil), // 1: protocol.ZksnarkRequest
|
||||
(*ZksnarkResponse)(nil), // 2: protocol.ZksnarkResponse
|
||||
@ -258,32 +254,6 @@ func file_api_zksnark_proto_init() {
|
||||
if File_api_zksnark_proto != nil {
|
||||
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{}
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
|
@ -1,6 +1,6 @@
|
||||
// Code generated by protoc-gen-go-grpc. DO NOT EDIT.
|
||||
// versions:
|
||||
// - protoc-gen-go-grpc v1.2.0
|
||||
// - protoc-gen-go-grpc v1.5.1
|
||||
// - protoc v5.28.0
|
||||
// source: api/zksnark.proto
|
||||
|
||||
@ -15,8 +15,12 @@ import (
|
||||
|
||||
// This is a compile-time assertion to ensure that this generated file
|
||||
// is compatible with the grpc package it is being compiled against.
|
||||
// Requires gRPC-Go v1.32.0 or later.
|
||||
const _ = grpc.SupportPackageIsVersion7
|
||||
// Requires gRPC-Go v1.64.0 or later.
|
||||
const _ = grpc.SupportPackageIsVersion9
|
||||
|
||||
const (
|
||||
TronZksnark_CheckZksnarkProof_FullMethodName = "/protocol.TronZksnark/CheckZksnarkProof"
|
||||
)
|
||||
|
||||
// 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) {
|
||||
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
||||
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 {
|
||||
return nil, err
|
||||
}
|
||||
@ -44,20 +49,24 @@ func (c *tronZksnarkClient) CheckZksnarkProof(ctx context.Context, in *ZksnarkRe
|
||||
|
||||
// TronZksnarkServer is the server API for TronZksnark service.
|
||||
// All implementations must embed UnimplementedTronZksnarkServer
|
||||
// for forward compatibility
|
||||
// for forward compatibility.
|
||||
type TronZksnarkServer interface {
|
||||
CheckZksnarkProof(context.Context, *ZksnarkRequest) (*ZksnarkResponse, error)
|
||||
mustEmbedUnimplementedTronZksnarkServer()
|
||||
}
|
||||
|
||||
// UnimplementedTronZksnarkServer must be embedded to have forward compatible implementations.
|
||||
type UnimplementedTronZksnarkServer struct {
|
||||
}
|
||||
// UnimplementedTronZksnarkServer must be embedded to have
|
||||
// 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) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method CheckZksnarkProof not implemented")
|
||||
}
|
||||
func (UnimplementedTronZksnarkServer) mustEmbedUnimplementedTronZksnarkServer() {}
|
||||
func (UnimplementedTronZksnarkServer) testEmbeddedByValue() {}
|
||||
|
||||
// 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
|
||||
@ -67,6 +76,13 @@ type UnsafeTronZksnarkServer interface {
|
||||
}
|
||||
|
||||
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)
|
||||
}
|
||||
|
||||
@ -80,7 +96,7 @@ func _TronZksnark_CheckZksnarkProof_Handler(srv interface{}, ctx context.Context
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/protocol.TronZksnark/CheckZksnarkProof",
|
||||
FullMethod: TronZksnark_CheckZksnarkProof_FullMethodName,
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(TronZksnarkServer).CheckZksnarkProof(ctx, req.(*ZksnarkRequest))
|
||||
|
@ -1,6 +1,6 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.31.0
|
||||
// protoc-gen-go v1.35.2
|
||||
// protoc v5.28.0
|
||||
// source: core/Discover.proto
|
||||
|
||||
@ -32,12 +32,10 @@ type Endpoint struct {
|
||||
|
||||
func (x *Endpoint) Reset() {
|
||||
*x = Endpoint{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_core_Discover_proto_msgTypes[0]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *Endpoint) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
@ -47,7 +45,7 @@ func (*Endpoint) ProtoMessage() {}
|
||||
|
||||
func (x *Endpoint) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_core_Discover_proto_msgTypes[0]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
@ -96,12 +94,10 @@ type PingMessage struct {
|
||||
|
||||
func (x *PingMessage) Reset() {
|
||||
*x = PingMessage{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_core_Discover_proto_msgTypes[1]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *PingMessage) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
@ -111,7 +107,7 @@ func (*PingMessage) ProtoMessage() {}
|
||||
|
||||
func (x *PingMessage) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_core_Discover_proto_msgTypes[1]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
@ -166,12 +162,10 @@ type PongMessage struct {
|
||||
|
||||
func (x *PongMessage) Reset() {
|
||||
*x = PongMessage{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_core_Discover_proto_msgTypes[2]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *PongMessage) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
@ -181,7 +175,7 @@ func (*PongMessage) ProtoMessage() {}
|
||||
|
||||
func (x *PongMessage) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_core_Discover_proto_msgTypes[2]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
@ -229,12 +223,10 @@ type FindNeighbours struct {
|
||||
|
||||
func (x *FindNeighbours) Reset() {
|
||||
*x = FindNeighbours{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_core_Discover_proto_msgTypes[3]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *FindNeighbours) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
@ -244,7 +236,7 @@ func (*FindNeighbours) ProtoMessage() {}
|
||||
|
||||
func (x *FindNeighbours) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_core_Discover_proto_msgTypes[3]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
@ -292,12 +284,10 @@ type Neighbours struct {
|
||||
|
||||
func (x *Neighbours) Reset() {
|
||||
*x = Neighbours{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_core_Discover_proto_msgTypes[4]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *Neighbours) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
@ -307,7 +297,7 @@ func (*Neighbours) ProtoMessage() {}
|
||||
|
||||
func (x *Neighbours) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_core_Discover_proto_msgTypes[4]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
@ -354,12 +344,10 @@ type BackupMessage struct {
|
||||
|
||||
func (x *BackupMessage) Reset() {
|
||||
*x = BackupMessage{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_core_Discover_proto_msgTypes[5]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *BackupMessage) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
@ -369,7 +357,7 @@ func (*BackupMessage) ProtoMessage() {}
|
||||
|
||||
func (x *BackupMessage) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_core_Discover_proto_msgTypes[5]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
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_goTypes = []interface{}{
|
||||
var file_core_Discover_proto_goTypes = []any{
|
||||
(*Endpoint)(nil), // 0: protocol.Endpoint
|
||||
(*PingMessage)(nil), // 1: protocol.PingMessage
|
||||
(*PongMessage)(nil), // 2: protocol.PongMessage
|
||||
@ -491,80 +479,6 @@ func file_core_Discover_proto_init() {
|
||||
if File_core_Discover_proto != nil {
|
||||
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{}
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
|
1238
gen/core/Tron.pb.go
1238
gen/core/Tron.pb.go
File diff suppressed because it is too large
Load Diff
@ -1,6 +1,6 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.31.0
|
||||
// protoc-gen-go v1.35.2
|
||||
// protoc v5.28.0
|
||||
// source: core/TronInventoryItems.proto
|
||||
|
||||
@ -31,12 +31,10 @@ type InventoryItems struct {
|
||||
|
||||
func (x *InventoryItems) Reset() {
|
||||
*x = InventoryItems{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_core_TronInventoryItems_proto_msgTypes[0]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *InventoryItems) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
@ -46,7 +44,7 @@ func (*InventoryItems) ProtoMessage() {}
|
||||
|
||||
func (x *InventoryItems) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_core_TronInventoryItems_proto_msgTypes[0]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
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_goTypes = []interface{}{
|
||||
var file_core_TronInventoryItems_proto_goTypes = []any{
|
||||
(*InventoryItems)(nil), // 0: protocol.InventoryItems
|
||||
}
|
||||
var file_core_TronInventoryItems_proto_depIdxs = []int32{
|
||||
@ -121,20 +119,6 @@ func file_core_TronInventoryItems_proto_init() {
|
||||
if File_core_TronInventoryItems_proto != nil {
|
||||
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{}
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
|
@ -14,7 +14,7 @@
|
||||
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.31.0
|
||||
// protoc-gen-go v1.35.2
|
||||
// protoc v5.28.0
|
||||
// source: core/contract/account_contract.proto
|
||||
|
||||
@ -46,12 +46,10 @@ type AccountCreateContract struct {
|
||||
|
||||
func (x *AccountCreateContract) Reset() {
|
||||
*x = AccountCreateContract{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_core_contract_account_contract_proto_msgTypes[0]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *AccountCreateContract) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
@ -61,7 +59,7 @@ func (*AccountCreateContract) ProtoMessage() {}
|
||||
|
||||
func (x *AccountCreateContract) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_core_contract_account_contract_proto_msgTypes[0]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
@ -109,12 +107,10 @@ type AccountUpdateContract struct {
|
||||
|
||||
func (x *AccountUpdateContract) Reset() {
|
||||
*x = AccountUpdateContract{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_core_contract_account_contract_proto_msgTypes[1]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *AccountUpdateContract) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
@ -124,7 +120,7 @@ func (*AccountUpdateContract) ProtoMessage() {}
|
||||
|
||||
func (x *AccountUpdateContract) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_core_contract_account_contract_proto_msgTypes[1]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
@ -165,12 +161,10 @@ type SetAccountIdContract struct {
|
||||
|
||||
func (x *SetAccountIdContract) Reset() {
|
||||
*x = SetAccountIdContract{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_core_contract_account_contract_proto_msgTypes[2]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *SetAccountIdContract) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
@ -180,7 +174,7 @@ func (*SetAccountIdContract) ProtoMessage() {}
|
||||
|
||||
func (x *SetAccountIdContract) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_core_contract_account_contract_proto_msgTypes[2]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
@ -222,12 +216,10 @@ type AccountPermissionUpdateContract struct {
|
||||
|
||||
func (x *AccountPermissionUpdateContract) Reset() {
|
||||
*x = AccountPermissionUpdateContract{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_core_contract_account_contract_proto_msgTypes[3]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *AccountPermissionUpdateContract) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
@ -237,7 +229,7 @@ func (*AccountPermissionUpdateContract) ProtoMessage() {}
|
||||
|
||||
func (x *AccountPermissionUpdateContract) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_core_contract_account_contract_proto_msgTypes[3]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
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_goTypes = []interface{}{
|
||||
var file_core_contract_account_contract_proto_goTypes = []any{
|
||||
(*AccountCreateContract)(nil), // 0: protocol.AccountCreateContract
|
||||
(*AccountUpdateContract)(nil), // 1: protocol.AccountUpdateContract
|
||||
(*SetAccountIdContract)(nil), // 2: protocol.SetAccountIdContract
|
||||
@ -368,56 +360,6 @@ func file_core_contract_account_contract_proto_init() {
|
||||
return
|
||||
}
|
||||
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{}
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
|
@ -1,6 +1,6 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.31.0
|
||||
// protoc-gen-go v1.35.2
|
||||
// protoc v5.28.0
|
||||
// source: core/contract/asset_issue_contract.proto
|
||||
|
||||
@ -48,12 +48,10 @@ type AssetIssueContract struct {
|
||||
|
||||
func (x *AssetIssueContract) Reset() {
|
||||
*x = AssetIssueContract{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_core_contract_asset_issue_contract_proto_msgTypes[0]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *AssetIssueContract) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
@ -63,7 +61,7 @@ func (*AssetIssueContract) ProtoMessage() {}
|
||||
|
||||
func (x *AssetIssueContract) ProtoReflect() protoreflect.Message {
|
||||
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))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
@ -224,12 +222,10 @@ type TransferAssetContract struct {
|
||||
|
||||
func (x *TransferAssetContract) Reset() {
|
||||
*x = TransferAssetContract{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_core_contract_asset_issue_contract_proto_msgTypes[1]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *TransferAssetContract) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
@ -239,7 +235,7 @@ func (*TransferAssetContract) ProtoMessage() {}
|
||||
|
||||
func (x *TransferAssetContract) ProtoReflect() protoreflect.Message {
|
||||
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))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
@ -292,12 +288,10 @@ type UnfreezeAssetContract struct {
|
||||
|
||||
func (x *UnfreezeAssetContract) Reset() {
|
||||
*x = UnfreezeAssetContract{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_core_contract_asset_issue_contract_proto_msgTypes[2]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *UnfreezeAssetContract) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
@ -307,7 +301,7 @@ func (*UnfreezeAssetContract) ProtoMessage() {}
|
||||
|
||||
func (x *UnfreezeAssetContract) ProtoReflect() protoreflect.Message {
|
||||
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))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
@ -343,12 +337,10 @@ type UpdateAssetContract struct {
|
||||
|
||||
func (x *UpdateAssetContract) Reset() {
|
||||
*x = UpdateAssetContract{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_core_contract_asset_issue_contract_proto_msgTypes[3]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *UpdateAssetContract) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
@ -358,7 +350,7 @@ func (*UpdateAssetContract) ProtoMessage() {}
|
||||
|
||||
func (x *UpdateAssetContract) ProtoReflect() protoreflect.Message {
|
||||
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))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
@ -421,12 +413,10 @@ type ParticipateAssetIssueContract struct {
|
||||
|
||||
func (x *ParticipateAssetIssueContract) Reset() {
|
||||
*x = ParticipateAssetIssueContract{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_core_contract_asset_issue_contract_proto_msgTypes[4]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *ParticipateAssetIssueContract) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
@ -436,7 +426,7 @@ func (*ParticipateAssetIssueContract) ProtoMessage() {}
|
||||
|
||||
func (x *ParticipateAssetIssueContract) ProtoReflect() protoreflect.Message {
|
||||
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))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
@ -490,12 +480,10 @@ type AssetIssueContract_FrozenSupply struct {
|
||||
|
||||
func (x *AssetIssueContract_FrozenSupply) Reset() {
|
||||
*x = AssetIssueContract_FrozenSupply{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_core_contract_asset_issue_contract_proto_msgTypes[5]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *AssetIssueContract_FrozenSupply) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
@ -505,7 +493,7 @@ func (*AssetIssueContract_FrozenSupply) ProtoMessage() {}
|
||||
|
||||
func (x *AssetIssueContract_FrozenSupply) ProtoReflect() protoreflect.Message {
|
||||
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))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
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_goTypes = []interface{}{
|
||||
var file_core_contract_asset_issue_contract_proto_goTypes = []any{
|
||||
(*AssetIssueContract)(nil), // 0: protocol.AssetIssueContract
|
||||
(*TransferAssetContract)(nil), // 1: protocol.TransferAssetContract
|
||||
(*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 {
|
||||
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{}
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
|
@ -1,6 +1,6 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.31.0
|
||||
// protoc-gen-go v1.35.2
|
||||
// protoc v5.28.0
|
||||
// source: core/contract/balance_contract.proto
|
||||
|
||||
@ -34,12 +34,10 @@ type FreezeBalanceContract struct {
|
||||
|
||||
func (x *FreezeBalanceContract) Reset() {
|
||||
*x = FreezeBalanceContract{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_core_contract_balance_contract_proto_msgTypes[0]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *FreezeBalanceContract) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
@ -49,7 +47,7 @@ func (*FreezeBalanceContract) ProtoMessage() {}
|
||||
|
||||
func (x *FreezeBalanceContract) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_core_contract_balance_contract_proto_msgTypes[0]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
@ -111,12 +109,10 @@ type UnfreezeBalanceContract struct {
|
||||
|
||||
func (x *UnfreezeBalanceContract) Reset() {
|
||||
*x = UnfreezeBalanceContract{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_core_contract_balance_contract_proto_msgTypes[1]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *UnfreezeBalanceContract) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
@ -126,7 +122,7 @@ func (*UnfreezeBalanceContract) ProtoMessage() {}
|
||||
|
||||
func (x *UnfreezeBalanceContract) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_core_contract_balance_contract_proto_msgTypes[1]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
@ -172,12 +168,10 @@ type WithdrawBalanceContract struct {
|
||||
|
||||
func (x *WithdrawBalanceContract) Reset() {
|
||||
*x = WithdrawBalanceContract{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_core_contract_balance_contract_proto_msgTypes[2]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *WithdrawBalanceContract) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
@ -187,7 +181,7 @@ func (*WithdrawBalanceContract) ProtoMessage() {}
|
||||
|
||||
func (x *WithdrawBalanceContract) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_core_contract_balance_contract_proto_msgTypes[2]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
@ -221,12 +215,10 @@ type TransferContract struct {
|
||||
|
||||
func (x *TransferContract) Reset() {
|
||||
*x = TransferContract{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_core_contract_balance_contract_proto_msgTypes[3]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *TransferContract) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
@ -236,7 +228,7 @@ func (*TransferContract) ProtoMessage() {}
|
||||
|
||||
func (x *TransferContract) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_core_contract_balance_contract_proto_msgTypes[3]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
@ -285,12 +277,10 @@ type TransactionBalanceTrace struct {
|
||||
|
||||
func (x *TransactionBalanceTrace) Reset() {
|
||||
*x = TransactionBalanceTrace{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_core_contract_balance_contract_proto_msgTypes[4]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *TransactionBalanceTrace) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
@ -300,7 +290,7 @@ func (*TransactionBalanceTrace) ProtoMessage() {}
|
||||
|
||||
func (x *TransactionBalanceTrace) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_core_contract_balance_contract_proto_msgTypes[4]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
@ -355,12 +345,10 @@ type BlockBalanceTrace struct {
|
||||
|
||||
func (x *BlockBalanceTrace) Reset() {
|
||||
*x = BlockBalanceTrace{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_core_contract_balance_contract_proto_msgTypes[5]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *BlockBalanceTrace) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
@ -370,7 +358,7 @@ func (*BlockBalanceTrace) ProtoMessage() {}
|
||||
|
||||
func (x *BlockBalanceTrace) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_core_contract_balance_contract_proto_msgTypes[5]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
@ -417,12 +405,10 @@ type AccountTrace struct {
|
||||
|
||||
func (x *AccountTrace) Reset() {
|
||||
*x = AccountTrace{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_core_contract_balance_contract_proto_msgTypes[6]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *AccountTrace) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
@ -432,7 +418,7 @@ func (*AccountTrace) ProtoMessage() {}
|
||||
|
||||
func (x *AccountTrace) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_core_contract_balance_contract_proto_msgTypes[6]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
@ -471,12 +457,10 @@ type AccountIdentifier struct {
|
||||
|
||||
func (x *AccountIdentifier) Reset() {
|
||||
*x = AccountIdentifier{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_core_contract_balance_contract_proto_msgTypes[7]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *AccountIdentifier) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
@ -486,7 +470,7 @@ func (*AccountIdentifier) ProtoMessage() {}
|
||||
|
||||
func (x *AccountIdentifier) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_core_contract_balance_contract_proto_msgTypes[7]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
@ -519,12 +503,10 @@ type AccountBalanceRequest struct {
|
||||
|
||||
func (x *AccountBalanceRequest) Reset() {
|
||||
*x = AccountBalanceRequest{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_core_contract_balance_contract_proto_msgTypes[8]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *AccountBalanceRequest) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
@ -534,7 +516,7 @@ func (*AccountBalanceRequest) ProtoMessage() {}
|
||||
|
||||
func (x *AccountBalanceRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_core_contract_balance_contract_proto_msgTypes[8]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
@ -574,12 +556,10 @@ type AccountBalanceResponse struct {
|
||||
|
||||
func (x *AccountBalanceResponse) Reset() {
|
||||
*x = AccountBalanceResponse{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_core_contract_balance_contract_proto_msgTypes[9]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *AccountBalanceResponse) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
@ -589,7 +569,7 @@ func (*AccountBalanceResponse) ProtoMessage() {}
|
||||
|
||||
func (x *AccountBalanceResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_core_contract_balance_contract_proto_msgTypes[9]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
@ -630,12 +610,10 @@ type FreezeBalanceV2Contract struct {
|
||||
|
||||
func (x *FreezeBalanceV2Contract) Reset() {
|
||||
*x = FreezeBalanceV2Contract{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_core_contract_balance_contract_proto_msgTypes[10]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *FreezeBalanceV2Contract) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
@ -645,7 +623,7 @@ func (*FreezeBalanceV2Contract) ProtoMessage() {}
|
||||
|
||||
func (x *FreezeBalanceV2Contract) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_core_contract_balance_contract_proto_msgTypes[10]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
@ -693,12 +671,10 @@ type UnfreezeBalanceV2Contract struct {
|
||||
|
||||
func (x *UnfreezeBalanceV2Contract) Reset() {
|
||||
*x = UnfreezeBalanceV2Contract{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_core_contract_balance_contract_proto_msgTypes[11]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *UnfreezeBalanceV2Contract) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
@ -708,7 +684,7 @@ func (*UnfreezeBalanceV2Contract) ProtoMessage() {}
|
||||
|
||||
func (x *UnfreezeBalanceV2Contract) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_core_contract_balance_contract_proto_msgTypes[11]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
@ -754,12 +730,10 @@ type WithdrawExpireUnfreezeContract struct {
|
||||
|
||||
func (x *WithdrawExpireUnfreezeContract) Reset() {
|
||||
*x = WithdrawExpireUnfreezeContract{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_core_contract_balance_contract_proto_msgTypes[12]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *WithdrawExpireUnfreezeContract) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
@ -769,7 +743,7 @@ func (*WithdrawExpireUnfreezeContract) ProtoMessage() {}
|
||||
|
||||
func (x *WithdrawExpireUnfreezeContract) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_core_contract_balance_contract_proto_msgTypes[12]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
@ -806,12 +780,10 @@ type DelegateResourceContract struct {
|
||||
|
||||
func (x *DelegateResourceContract) Reset() {
|
||||
*x = DelegateResourceContract{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_core_contract_balance_contract_proto_msgTypes[13]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *DelegateResourceContract) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
@ -821,7 +793,7 @@ func (*DelegateResourceContract) ProtoMessage() {}
|
||||
|
||||
func (x *DelegateResourceContract) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_core_contract_balance_contract_proto_msgTypes[13]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
@ -891,12 +863,10 @@ type UnDelegateResourceContract struct {
|
||||
|
||||
func (x *UnDelegateResourceContract) Reset() {
|
||||
*x = UnDelegateResourceContract{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_core_contract_balance_contract_proto_msgTypes[14]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *UnDelegateResourceContract) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
@ -906,7 +876,7 @@ func (*UnDelegateResourceContract) ProtoMessage() {}
|
||||
|
||||
func (x *UnDelegateResourceContract) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_core_contract_balance_contract_proto_msgTypes[14]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
@ -959,12 +929,10 @@ type CancelAllUnfreezeV2Contract struct {
|
||||
|
||||
func (x *CancelAllUnfreezeV2Contract) Reset() {
|
||||
*x = CancelAllUnfreezeV2Contract{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_core_contract_balance_contract_proto_msgTypes[15]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *CancelAllUnfreezeV2Contract) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
@ -974,7 +942,7 @@ func (*CancelAllUnfreezeV2Contract) ProtoMessage() {}
|
||||
|
||||
func (x *CancelAllUnfreezeV2Contract) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_core_contract_balance_contract_proto_msgTypes[15]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
@ -1008,12 +976,10 @@ type TransactionBalanceTrace_Operation struct {
|
||||
|
||||
func (x *TransactionBalanceTrace_Operation) Reset() {
|
||||
*x = TransactionBalanceTrace_Operation{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_core_contract_balance_contract_proto_msgTypes[16]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *TransactionBalanceTrace_Operation) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
@ -1023,7 +989,7 @@ func (*TransactionBalanceTrace_Operation) ProtoMessage() {}
|
||||
|
||||
func (x *TransactionBalanceTrace_Operation) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_core_contract_balance_contract_proto_msgTypes[16]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
@ -1070,12 +1036,10 @@ type BlockBalanceTrace_BlockIdentifier struct {
|
||||
|
||||
func (x *BlockBalanceTrace_BlockIdentifier) Reset() {
|
||||
*x = BlockBalanceTrace_BlockIdentifier{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_core_contract_balance_contract_proto_msgTypes[17]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *BlockBalanceTrace_BlockIdentifier) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
@ -1085,7 +1049,7 @@ func (*BlockBalanceTrace_BlockIdentifier) ProtoMessage() {}
|
||||
|
||||
func (x *BlockBalanceTrace_BlockIdentifier) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_core_contract_balance_contract_proto_msgTypes[17]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
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_goTypes = []interface{}{
|
||||
var file_core_contract_balance_contract_proto_goTypes = []any{
|
||||
(*FreezeBalanceContract)(nil), // 0: protocol.FreezeBalanceContract
|
||||
(*UnfreezeBalanceContract)(nil), // 1: protocol.UnfreezeBalanceContract
|
||||
(*WithdrawBalanceContract)(nil), // 2: protocol.WithdrawBalanceContract
|
||||
@ -1347,224 +1311,6 @@ func file_core_contract_balance_contract_proto_init() {
|
||||
return
|
||||
}
|
||||
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{}
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
|
@ -1,6 +1,6 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.31.0
|
||||
// protoc-gen-go v1.35.2
|
||||
// protoc v5.28.0
|
||||
// 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_goTypes = []interface{}{
|
||||
var file_core_contract_common_proto_goTypes = []any{
|
||||
(ResourceCode)(0), // 0: protocol.ResourceCode
|
||||
}
|
||||
var file_core_contract_common_proto_depIdxs = []int32{
|
||||
|
@ -1,6 +1,6 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.31.0
|
||||
// protoc-gen-go v1.35.2
|
||||
// protoc v5.28.0
|
||||
// source: core/contract/exchange_contract.proto
|
||||
|
||||
@ -34,12 +34,10 @@ type ExchangeCreateContract struct {
|
||||
|
||||
func (x *ExchangeCreateContract) Reset() {
|
||||
*x = ExchangeCreateContract{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_core_contract_exchange_contract_proto_msgTypes[0]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *ExchangeCreateContract) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
@ -49,7 +47,7 @@ func (*ExchangeCreateContract) ProtoMessage() {}
|
||||
|
||||
func (x *ExchangeCreateContract) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_core_contract_exchange_contract_proto_msgTypes[0]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
@ -112,12 +110,10 @@ type ExchangeInjectContract struct {
|
||||
|
||||
func (x *ExchangeInjectContract) Reset() {
|
||||
*x = ExchangeInjectContract{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_core_contract_exchange_contract_proto_msgTypes[1]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *ExchangeInjectContract) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
@ -127,7 +123,7 @@ func (*ExchangeInjectContract) ProtoMessage() {}
|
||||
|
||||
func (x *ExchangeInjectContract) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_core_contract_exchange_contract_proto_msgTypes[1]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
@ -183,12 +179,10 @@ type ExchangeWithdrawContract struct {
|
||||
|
||||
func (x *ExchangeWithdrawContract) Reset() {
|
||||
*x = ExchangeWithdrawContract{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_core_contract_exchange_contract_proto_msgTypes[2]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *ExchangeWithdrawContract) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
@ -198,7 +192,7 @@ func (*ExchangeWithdrawContract) ProtoMessage() {}
|
||||
|
||||
func (x *ExchangeWithdrawContract) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_core_contract_exchange_contract_proto_msgTypes[2]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
@ -255,12 +249,10 @@ type ExchangeTransactionContract struct {
|
||||
|
||||
func (x *ExchangeTransactionContract) Reset() {
|
||||
*x = ExchangeTransactionContract{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_core_contract_exchange_contract_proto_msgTypes[3]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *ExchangeTransactionContract) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
@ -270,7 +262,7 @@ func (*ExchangeTransactionContract) ProtoMessage() {}
|
||||
|
||||
func (x *ExchangeTransactionContract) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_core_contract_exchange_contract_proto_msgTypes[3]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
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_goTypes = []interface{}{
|
||||
var file_core_contract_exchange_contract_proto_goTypes = []any{
|
||||
(*ExchangeCreateContract)(nil), // 0: protocol.ExchangeCreateContract
|
||||
(*ExchangeInjectContract)(nil), // 1: protocol.ExchangeInjectContract
|
||||
(*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 {
|
||||
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{}
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
|
@ -1,6 +1,6 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.31.0
|
||||
// protoc-gen-go v1.35.2
|
||||
// protoc v5.28.0
|
||||
// source: core/contract/market_contract.proto
|
||||
|
||||
@ -34,12 +34,10 @@ type MarketSellAssetContract struct {
|
||||
|
||||
func (x *MarketSellAssetContract) Reset() {
|
||||
*x = MarketSellAssetContract{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_core_contract_market_contract_proto_msgTypes[0]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *MarketSellAssetContract) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
@ -49,7 +47,7 @@ func (*MarketSellAssetContract) ProtoMessage() {}
|
||||
|
||||
func (x *MarketSellAssetContract) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_core_contract_market_contract_proto_msgTypes[0]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
@ -110,12 +108,10 @@ type MarketCancelOrderContract struct {
|
||||
|
||||
func (x *MarketCancelOrderContract) Reset() {
|
||||
*x = MarketCancelOrderContract{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_core_contract_market_contract_proto_msgTypes[1]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *MarketCancelOrderContract) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
@ -125,7 +121,7 @@ func (*MarketCancelOrderContract) ProtoMessage() {}
|
||||
|
||||
func (x *MarketCancelOrderContract) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_core_contract_market_contract_proto_msgTypes[1]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
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_goTypes = []interface{}{
|
||||
var file_core_contract_market_contract_proto_goTypes = []any{
|
||||
(*MarketSellAssetContract)(nil), // 0: protocol.MarketSellAssetContract
|
||||
(*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 {
|
||||
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{}
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
|
@ -1,6 +1,6 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.31.0
|
||||
// protoc-gen-go v1.35.2
|
||||
// protoc v5.28.0
|
||||
// source: core/contract/proposal_contract.proto
|
||||
|
||||
@ -32,12 +32,10 @@ type ProposalApproveContract struct {
|
||||
|
||||
func (x *ProposalApproveContract) Reset() {
|
||||
*x = ProposalApproveContract{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_core_contract_proposal_contract_proto_msgTypes[0]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *ProposalApproveContract) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
@ -47,7 +45,7 @@ func (*ProposalApproveContract) ProtoMessage() {}
|
||||
|
||||
func (x *ProposalApproveContract) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_core_contract_proposal_contract_proto_msgTypes[0]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
@ -94,12 +92,10 @@ type ProposalCreateContract struct {
|
||||
|
||||
func (x *ProposalCreateContract) Reset() {
|
||||
*x = ProposalCreateContract{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_core_contract_proposal_contract_proto_msgTypes[1]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *ProposalCreateContract) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
@ -109,7 +105,7 @@ func (*ProposalCreateContract) ProtoMessage() {}
|
||||
|
||||
func (x *ProposalCreateContract) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_core_contract_proposal_contract_proto_msgTypes[1]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
@ -149,12 +145,10 @@ type ProposalDeleteContract struct {
|
||||
|
||||
func (x *ProposalDeleteContract) Reset() {
|
||||
*x = ProposalDeleteContract{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_core_contract_proposal_contract_proto_msgTypes[2]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *ProposalDeleteContract) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
@ -164,7 +158,7 @@ func (*ProposalDeleteContract) ProtoMessage() {}
|
||||
|
||||
func (x *ProposalDeleteContract) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_core_contract_proposal_contract_proto_msgTypes[2]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
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_goTypes = []interface{}{
|
||||
var file_core_contract_proposal_contract_proto_goTypes = []any{
|
||||
(*ProposalApproveContract)(nil), // 0: protocol.ProposalApproveContract
|
||||
(*ProposalCreateContract)(nil), // 1: protocol.ProposalCreateContract
|
||||
(*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 {
|
||||
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{}
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
|
@ -1,6 +1,6 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.31.0
|
||||
// protoc-gen-go v1.35.2
|
||||
// protoc v5.28.0
|
||||
// source: core/contract/shield_contract.proto
|
||||
|
||||
@ -30,12 +30,10 @@ type AuthenticationPath struct {
|
||||
|
||||
func (x *AuthenticationPath) Reset() {
|
||||
*x = AuthenticationPath{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_core_contract_shield_contract_proto_msgTypes[0]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *AuthenticationPath) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
@ -45,7 +43,7 @@ func (*AuthenticationPath) ProtoMessage() {}
|
||||
|
||||
func (x *AuthenticationPath) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_core_contract_shield_contract_proto_msgTypes[0]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
@ -79,12 +77,10 @@ type MerklePath struct {
|
||||
|
||||
func (x *MerklePath) Reset() {
|
||||
*x = MerklePath{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_core_contract_shield_contract_proto_msgTypes[1]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *MerklePath) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
@ -94,7 +90,7 @@ func (*MerklePath) ProtoMessage() {}
|
||||
|
||||
func (x *MerklePath) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_core_contract_shield_contract_proto_msgTypes[1]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
@ -141,12 +137,10 @@ type OutputPoint struct {
|
||||
|
||||
func (x *OutputPoint) Reset() {
|
||||
*x = OutputPoint{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_core_contract_shield_contract_proto_msgTypes[2]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *OutputPoint) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
@ -156,7 +150,7 @@ func (*OutputPoint) ProtoMessage() {}
|
||||
|
||||
func (x *OutputPoint) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_core_contract_shield_contract_proto_msgTypes[2]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
@ -196,12 +190,10 @@ type OutputPointInfo struct {
|
||||
|
||||
func (x *OutputPointInfo) Reset() {
|
||||
*x = OutputPointInfo{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_core_contract_shield_contract_proto_msgTypes[3]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *OutputPointInfo) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
@ -211,7 +203,7 @@ func (*OutputPointInfo) ProtoMessage() {}
|
||||
|
||||
func (x *OutputPointInfo) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_core_contract_shield_contract_proto_msgTypes[3]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
@ -250,12 +242,10 @@ type PedersenHash struct {
|
||||
|
||||
func (x *PedersenHash) Reset() {
|
||||
*x = PedersenHash{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_core_contract_shield_contract_proto_msgTypes[4]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *PedersenHash) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
@ -265,7 +255,7 @@ func (*PedersenHash) ProtoMessage() {}
|
||||
|
||||
func (x *PedersenHash) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_core_contract_shield_contract_proto_msgTypes[4]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
@ -299,12 +289,10 @@ type IncrementalMerkleTree struct {
|
||||
|
||||
func (x *IncrementalMerkleTree) Reset() {
|
||||
*x = IncrementalMerkleTree{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_core_contract_shield_contract_proto_msgTypes[5]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *IncrementalMerkleTree) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
@ -314,7 +302,7 @@ func (*IncrementalMerkleTree) ProtoMessage() {}
|
||||
|
||||
func (x *IncrementalMerkleTree) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_core_contract_shield_contract_proto_msgTypes[5]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
@ -365,12 +353,10 @@ type IncrementalMerkleVoucher struct {
|
||||
|
||||
func (x *IncrementalMerkleVoucher) Reset() {
|
||||
*x = IncrementalMerkleVoucher{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_core_contract_shield_contract_proto_msgTypes[6]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *IncrementalMerkleVoucher) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
@ -380,7 +366,7 @@ func (*IncrementalMerkleVoucher) ProtoMessage() {}
|
||||
|
||||
func (x *IncrementalMerkleVoucher) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_core_contract_shield_contract_proto_msgTypes[6]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
@ -448,12 +434,10 @@ type IncrementalMerkleVoucherInfo struct {
|
||||
|
||||
func (x *IncrementalMerkleVoucherInfo) Reset() {
|
||||
*x = IncrementalMerkleVoucherInfo{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_core_contract_shield_contract_proto_msgTypes[7]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *IncrementalMerkleVoucherInfo) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
@ -463,7 +447,7 @@ func (*IncrementalMerkleVoucherInfo) ProtoMessage() {}
|
||||
|
||||
func (x *IncrementalMerkleVoucherInfo) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_core_contract_shield_contract_proto_msgTypes[7]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
@ -507,12 +491,10 @@ type SpendDescription struct {
|
||||
|
||||
func (x *SpendDescription) Reset() {
|
||||
*x = SpendDescription{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_core_contract_shield_contract_proto_msgTypes[8]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *SpendDescription) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
@ -522,7 +504,7 @@ func (*SpendDescription) ProtoMessage() {}
|
||||
|
||||
func (x *SpendDescription) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_core_contract_shield_contract_proto_msgTypes[8]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
@ -594,12 +576,10 @@ type ReceiveDescription struct {
|
||||
|
||||
func (x *ReceiveDescription) Reset() {
|
||||
*x = ReceiveDescription{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_core_contract_shield_contract_proto_msgTypes[9]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *ReceiveDescription) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
@ -609,7 +589,7 @@ func (*ReceiveDescription) ProtoMessage() {}
|
||||
|
||||
func (x *ReceiveDescription) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_core_contract_shield_contract_proto_msgTypes[9]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
@ -682,12 +662,10 @@ type ShieldedTransferContract struct {
|
||||
|
||||
func (x *ShieldedTransferContract) Reset() {
|
||||
*x = ShieldedTransferContract{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_core_contract_shield_contract_proto_msgTypes[10]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *ShieldedTransferContract) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
@ -697,7 +675,7 @@ func (*ShieldedTransferContract) ProtoMessage() {}
|
||||
|
||||
func (x *ShieldedTransferContract) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_core_contract_shield_contract_proto_msgTypes[10]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
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_goTypes = []interface{}{
|
||||
var file_core_contract_shield_contract_proto_goTypes = []any{
|
||||
(*AuthenticationPath)(nil), // 0: protocol.AuthenticationPath
|
||||
(*MerklePath)(nil), // 1: protocol.MerklePath
|
||||
(*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 {
|
||||
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{}
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
|
@ -1,6 +1,6 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.31.0
|
||||
// protoc-gen-go v1.35.2
|
||||
// protoc v5.28.0
|
||||
// source: core/contract/smart_contract.proto
|
||||
|
||||
@ -156,12 +156,10 @@ type SmartContract struct {
|
||||
|
||||
func (x *SmartContract) Reset() {
|
||||
*x = SmartContract{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_core_contract_smart_contract_proto_msgTypes[0]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *SmartContract) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
@ -171,7 +169,7 @@ func (*SmartContract) ProtoMessage() {}
|
||||
|
||||
func (x *SmartContract) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_core_contract_smart_contract_proto_msgTypes[0]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
@ -275,12 +273,10 @@ type ContractState struct {
|
||||
|
||||
func (x *ContractState) Reset() {
|
||||
*x = ContractState{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_core_contract_smart_contract_proto_msgTypes[1]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *ContractState) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
@ -290,7 +286,7 @@ func (*ContractState) ProtoMessage() {}
|
||||
|
||||
func (x *ContractState) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_core_contract_smart_contract_proto_msgTypes[1]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
@ -339,12 +335,10 @@ type CreateSmartContract struct {
|
||||
|
||||
func (x *CreateSmartContract) Reset() {
|
||||
*x = CreateSmartContract{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_core_contract_smart_contract_proto_msgTypes[2]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *CreateSmartContract) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
@ -354,7 +348,7 @@ func (*CreateSmartContract) ProtoMessage() {}
|
||||
|
||||
func (x *CreateSmartContract) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_core_contract_smart_contract_proto_msgTypes[2]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
@ -412,12 +406,10 @@ type TriggerSmartContract struct {
|
||||
|
||||
func (x *TriggerSmartContract) Reset() {
|
||||
*x = TriggerSmartContract{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_core_contract_smart_contract_proto_msgTypes[3]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *TriggerSmartContract) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
@ -427,7 +419,7 @@ func (*TriggerSmartContract) ProtoMessage() {}
|
||||
|
||||
func (x *TriggerSmartContract) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_core_contract_smart_contract_proto_msgTypes[3]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
@ -495,12 +487,10 @@ type ClearABIContract struct {
|
||||
|
||||
func (x *ClearABIContract) Reset() {
|
||||
*x = ClearABIContract{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_core_contract_smart_contract_proto_msgTypes[4]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *ClearABIContract) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
@ -510,7 +500,7 @@ func (*ClearABIContract) ProtoMessage() {}
|
||||
|
||||
func (x *ClearABIContract) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_core_contract_smart_contract_proto_msgTypes[4]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
@ -551,12 +541,10 @@ type UpdateSettingContract struct {
|
||||
|
||||
func (x *UpdateSettingContract) Reset() {
|
||||
*x = UpdateSettingContract{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_core_contract_smart_contract_proto_msgTypes[5]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *UpdateSettingContract) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
@ -566,7 +554,7 @@ func (*UpdateSettingContract) ProtoMessage() {}
|
||||
|
||||
func (x *UpdateSettingContract) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_core_contract_smart_contract_proto_msgTypes[5]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
@ -614,12 +602,10 @@ type UpdateEnergyLimitContract struct {
|
||||
|
||||
func (x *UpdateEnergyLimitContract) Reset() {
|
||||
*x = UpdateEnergyLimitContract{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_core_contract_smart_contract_proto_msgTypes[6]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *UpdateEnergyLimitContract) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
@ -629,7 +615,7 @@ func (*UpdateEnergyLimitContract) ProtoMessage() {}
|
||||
|
||||
func (x *UpdateEnergyLimitContract) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_core_contract_smart_contract_proto_msgTypes[6]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
@ -677,12 +663,10 @@ type SmartContractDataWrapper struct {
|
||||
|
||||
func (x *SmartContractDataWrapper) Reset() {
|
||||
*x = SmartContractDataWrapper{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_core_contract_smart_contract_proto_msgTypes[7]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *SmartContractDataWrapper) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
@ -692,7 +676,7 @@ func (*SmartContractDataWrapper) ProtoMessage() {}
|
||||
|
||||
func (x *SmartContractDataWrapper) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_core_contract_smart_contract_proto_msgTypes[7]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
@ -738,12 +722,10 @@ type SmartContract_ABI struct {
|
||||
|
||||
func (x *SmartContract_ABI) Reset() {
|
||||
*x = SmartContract_ABI{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_core_contract_smart_contract_proto_msgTypes[8]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *SmartContract_ABI) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
@ -753,7 +735,7 @@ func (*SmartContract_ABI) ProtoMessage() {}
|
||||
|
||||
func (x *SmartContract_ABI) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_core_contract_smart_contract_proto_msgTypes[8]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
@ -792,12 +774,10 @@ type SmartContract_ABI_Entry struct {
|
||||
|
||||
func (x *SmartContract_ABI_Entry) Reset() {
|
||||
*x = SmartContract_ABI_Entry{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_core_contract_smart_contract_proto_msgTypes[9]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *SmartContract_ABI_Entry) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
@ -807,7 +787,7 @@ func (*SmartContract_ABI_Entry) ProtoMessage() {}
|
||||
|
||||
func (x *SmartContract_ABI_Entry) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_core_contract_smart_contract_proto_msgTypes[9]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
@ -890,12 +870,10 @@ type SmartContract_ABI_Entry_Param struct {
|
||||
|
||||
func (x *SmartContract_ABI_Entry_Param) Reset() {
|
||||
*x = SmartContract_ABI_Entry_Param{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_core_contract_smart_contract_proto_msgTypes[10]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *SmartContract_ABI_Entry_Param) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
@ -905,7 +883,7 @@ func (*SmartContract_ABI_Entry_Param) ProtoMessage() {}
|
||||
|
||||
func (x *SmartContract_ABI_Entry_Param) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_core_contract_smart_contract_proto_msgTypes[10]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
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_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_StateMutabilityType)(0), // 1: protocol.SmartContract.ABI.Entry.StateMutabilityType
|
||||
(*SmartContract)(nil), // 2: protocol.SmartContract
|
||||
@ -1154,140 +1132,6 @@ func file_core_contract_smart_contract_proto_init() {
|
||||
return
|
||||
}
|
||||
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{}
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
|
@ -1,6 +1,6 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.31.0
|
||||
// protoc-gen-go v1.35.2
|
||||
// protoc v5.28.0
|
||||
// source: core/contract/storage_contract.proto
|
||||
|
||||
@ -31,12 +31,10 @@ type BuyStorageBytesContract struct {
|
||||
|
||||
func (x *BuyStorageBytesContract) Reset() {
|
||||
*x = BuyStorageBytesContract{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_core_contract_storage_contract_proto_msgTypes[0]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *BuyStorageBytesContract) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
@ -46,7 +44,7 @@ func (*BuyStorageBytesContract) ProtoMessage() {}
|
||||
|
||||
func (x *BuyStorageBytesContract) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_core_contract_storage_contract_proto_msgTypes[0]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
@ -86,12 +84,10 @@ type BuyStorageContract struct {
|
||||
|
||||
func (x *BuyStorageContract) Reset() {
|
||||
*x = BuyStorageContract{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_core_contract_storage_contract_proto_msgTypes[1]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *BuyStorageContract) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
@ -101,7 +97,7 @@ func (*BuyStorageContract) ProtoMessage() {}
|
||||
|
||||
func (x *BuyStorageContract) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_core_contract_storage_contract_proto_msgTypes[1]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
@ -141,12 +137,10 @@ type SellStorageContract struct {
|
||||
|
||||
func (x *SellStorageContract) Reset() {
|
||||
*x = SellStorageContract{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_core_contract_storage_contract_proto_msgTypes[2]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *SellStorageContract) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
@ -156,7 +150,7 @@ func (*SellStorageContract) ProtoMessage() {}
|
||||
|
||||
func (x *SellStorageContract) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_core_contract_storage_contract_proto_msgTypes[2]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
@ -196,12 +190,10 @@ type UpdateBrokerageContract struct {
|
||||
|
||||
func (x *UpdateBrokerageContract) Reset() {
|
||||
*x = UpdateBrokerageContract{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_core_contract_storage_contract_proto_msgTypes[3]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *UpdateBrokerageContract) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
@ -211,7 +203,7 @@ func (*UpdateBrokerageContract) ProtoMessage() {}
|
||||
|
||||
func (x *UpdateBrokerageContract) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_core_contract_storage_contract_proto_msgTypes[3]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
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_goTypes = []interface{}{
|
||||
var file_core_contract_storage_contract_proto_goTypes = []any{
|
||||
(*BuyStorageBytesContract)(nil), // 0: protocol.BuyStorageBytesContract
|
||||
(*BuyStorageContract)(nil), // 1: protocol.BuyStorageContract
|
||||
(*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 {
|
||||
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{}
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
|
@ -1,6 +1,6 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.31.0
|
||||
// protoc-gen-go v1.35.2
|
||||
// protoc v5.28.0
|
||||
// source: core/contract/vote_asset_contract.proto
|
||||
|
||||
@ -33,12 +33,10 @@ type VoteAssetContract struct {
|
||||
|
||||
func (x *VoteAssetContract) Reset() {
|
||||
*x = VoteAssetContract{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_core_contract_vote_asset_contract_proto_msgTypes[0]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *VoteAssetContract) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
@ -48,7 +46,7 @@ func (*VoteAssetContract) ProtoMessage() {}
|
||||
|
||||
func (x *VoteAssetContract) ProtoReflect() protoreflect.Message {
|
||||
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))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
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_goTypes = []interface{}{
|
||||
var file_core_contract_vote_asset_contract_proto_goTypes = []any{
|
||||
(*VoteAssetContract)(nil), // 0: protocol.VoteAssetContract
|
||||
}
|
||||
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 {
|
||||
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{}
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
|
@ -1,6 +1,6 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.31.0
|
||||
// protoc-gen-go v1.35.2
|
||||
// protoc v5.28.0
|
||||
// source: core/contract/witness_contract.proto
|
||||
|
||||
@ -31,12 +31,10 @@ type WitnessCreateContract struct {
|
||||
|
||||
func (x *WitnessCreateContract) Reset() {
|
||||
*x = WitnessCreateContract{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_core_contract_witness_contract_proto_msgTypes[0]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *WitnessCreateContract) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
@ -46,7 +44,7 @@ func (*WitnessCreateContract) ProtoMessage() {}
|
||||
|
||||
func (x *WitnessCreateContract) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_core_contract_witness_contract_proto_msgTypes[0]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
@ -86,12 +84,10 @@ type WitnessUpdateContract struct {
|
||||
|
||||
func (x *WitnessUpdateContract) Reset() {
|
||||
*x = WitnessUpdateContract{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_core_contract_witness_contract_proto_msgTypes[1]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *WitnessUpdateContract) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
@ -101,7 +97,7 @@ func (*WitnessUpdateContract) ProtoMessage() {}
|
||||
|
||||
func (x *WitnessUpdateContract) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_core_contract_witness_contract_proto_msgTypes[1]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
@ -142,12 +138,10 @@ type VoteWitnessContract struct {
|
||||
|
||||
func (x *VoteWitnessContract) Reset() {
|
||||
*x = VoteWitnessContract{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_core_contract_witness_contract_proto_msgTypes[2]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *VoteWitnessContract) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
@ -157,7 +151,7 @@ func (*VoteWitnessContract) ProtoMessage() {}
|
||||
|
||||
func (x *VoteWitnessContract) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_core_contract_witness_contract_proto_msgTypes[2]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
@ -204,12 +198,10 @@ type VoteWitnessContract_Vote struct {
|
||||
|
||||
func (x *VoteWitnessContract_Vote) Reset() {
|
||||
*x = VoteWitnessContract_Vote{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_core_contract_witness_contract_proto_msgTypes[3]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *VoteWitnessContract_Vote) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
@ -219,7 +211,7 @@ func (*VoteWitnessContract_Vote) ProtoMessage() {}
|
||||
|
||||
func (x *VoteWitnessContract_Vote) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_core_contract_witness_contract_proto_msgTypes[3]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
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_goTypes = []interface{}{
|
||||
var file_core_contract_witness_contract_proto_goTypes = []any{
|
||||
(*WitnessCreateContract)(nil), // 0: protocol.WitnessCreateContract
|
||||
(*WitnessUpdateContract)(nil), // 1: protocol.WitnessUpdateContract
|
||||
(*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 {
|
||||
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{}
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
|
Loading…
Reference in New Issue
Block a user