evmv1

package
v8.0.0-...-bff5bda Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 17, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Overview

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Index

Constants

View Source
const (
	Msg_CallContract_FullMethodName = "/fx.evm.v1.Msg/CallContract"
)

Variables

View Source
var File_fx_evm_v1_tx_proto protoreflect.FileDescriptor
View Source
var Msg_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "fx.evm.v1.Msg",
	HandlerType: (*MsgServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CallContract",
			Handler:    _Msg_CallContract_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "fx/evm/v1/tx.proto",
}

Msg_ServiceDesc is the grpc.ServiceDesc for Msg service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterMsgServer

func RegisterMsgServer(s grpc.ServiceRegistrar, srv MsgServer)

Types

type MsgCallContract

type MsgCallContract struct {

	// authority is the address that controls the module (defaults to x/gov unless
	// overwritten).
	Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	// specify to call the contract address
	ContractAddress string `protobuf:"bytes,2,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"`
	Data            string `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

MsgCallContract defines the request structure for executing a CallContract message.

func (*MsgCallContract) Descriptor deprecated

func (*MsgCallContract) Descriptor() ([]byte, []int)

Deprecated: Use MsgCallContract.ProtoReflect.Descriptor instead.

func (*MsgCallContract) GetAuthority

func (x *MsgCallContract) GetAuthority() string

func (*MsgCallContract) GetContractAddress

func (x *MsgCallContract) GetContractAddress() string

func (*MsgCallContract) GetData

func (x *MsgCallContract) GetData() string

func (*MsgCallContract) ProtoMessage

func (*MsgCallContract) ProtoMessage()

func (*MsgCallContract) ProtoReflect

func (x *MsgCallContract) ProtoReflect() protoreflect.Message

func (*MsgCallContract) Reset

func (x *MsgCallContract) Reset()

func (*MsgCallContract) String

func (x *MsgCallContract) String() string

type MsgCallContractResponse

type MsgCallContractResponse struct {
	// contains filtered or unexported fields
}

MsgCallContractResponse defines the response structure for executing a CallContract message.

func (*MsgCallContractResponse) Descriptor deprecated

func (*MsgCallContractResponse) Descriptor() ([]byte, []int)

Deprecated: Use MsgCallContractResponse.ProtoReflect.Descriptor instead.

func (*MsgCallContractResponse) ProtoMessage

func (*MsgCallContractResponse) ProtoMessage()

func (*MsgCallContractResponse) ProtoReflect

func (x *MsgCallContractResponse) ProtoReflect() protoreflect.Message

func (*MsgCallContractResponse) Reset

func (x *MsgCallContractResponse) Reset()

func (*MsgCallContractResponse) String

func (x *MsgCallContractResponse) String() string

type MsgClient

type MsgClient interface {
	// CallContract defines a (governance) operation for updating the x/evm module
	// callContract. The authority defaults to the x/gov module account.
	CallContract(ctx context.Context, in *MsgCallContract, opts ...grpc.CallOption) (*MsgCallContractResponse, error)
}

MsgClient is the client API for Msg service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewMsgClient

func NewMsgClient(cc grpc.ClientConnInterface) MsgClient

type MsgServer

type MsgServer interface {
	// CallContract defines a (governance) operation for updating the x/evm module
	// callContract. The authority defaults to the x/gov module account.
	CallContract(context.Context, *MsgCallContract) (*MsgCallContractResponse, error)
	// contains filtered or unexported methods
}

MsgServer is the server API for Msg service. All implementations must embed UnimplementedMsgServer for forward compatibility

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer must be embedded to have forward compatible implementations.

func (UnimplementedMsgServer) CallContract

type UnsafeMsgServer

type UnsafeMsgServer interface {
	// contains filtered or unexported methods
}

UnsafeMsgServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MsgServer will result in compilation errors.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL