Versions in this module Expand all Collapse all v5 v5.0.0 Aug 18, 2023 Changes in this version + const AttributeKeyCodeHash + const AttributeKeyContract + const EventContractCode + var ErrABIPack = errorsmod.Register(types.ModuleName, codeErrABIPack, "failed abi pack args") + var ErrABIUnpack = errorsmod.Register(types.ModuleName, codeErrABIUnpack, "failed abi unpack data") + var ErrIntOverflowTx = fmt.Errorf("proto: integer overflow") + var ErrInvalidLengthTx = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group") + var ModuleCdc = codec.NewAminoCodec(codec.NewLegacyAmino()) + var TypeAddress = abi.NewType("address", "", nil) + var TypeBool = abi.NewType("bool", "", nil) + var TypeBytes32 = abi.NewType("bytes32", "", nil) + var TypeString = abi.NewType("string", "", nil) + var TypeUint256 = abi.NewType("uint256", "", nil) + func PackRetError(str string) ([]byte, error) + func PackTopicData(event abi.Event, topics []common.Hash, args ...interface{}) ([]byte, []common.Hash, error) + func ParseMethodArgs(method abi.Method, v MethodArgs, data []byte) error + func RegisterInterfaces(registry codectypes.InterfaceRegistry) + func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino) + func RegisterMsgServer(s grpc1.Server, srv MsgServer) + type AccountKeeper interface + GetModuleAccount func(ctx sdk.Context, moduleName string) authtypes.ModuleAccountI + type EvmLogHandler interface + EventID func() common.Hash + Handle func(ctx sdk.Context, msg core.Message, log *ethtypes.Log) error + type MethodArgs interface + Validate func() error + type MsgCallContract struct + Authority string + ContractAddress string + Data string + func (*MsgCallContract) Descriptor() ([]byte, []int) + func (*MsgCallContract) ProtoMessage() + func (m *MsgCallContract) GetAuthority() string + func (m *MsgCallContract) GetContractAddress() string + func (m *MsgCallContract) GetData() string + func (m *MsgCallContract) GetSignBytes() []byte + func (m *MsgCallContract) GetSigners() []sdk.AccAddress + func (m *MsgCallContract) Marshal() (dAtA []byte, err error) + func (m *MsgCallContract) MarshalTo(dAtA []byte) (int, error) + func (m *MsgCallContract) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgCallContract) Reset() + func (m *MsgCallContract) Size() (n int) + func (m *MsgCallContract) String() string + func (m *MsgCallContract) Unmarshal(dAtA []byte) error + func (m *MsgCallContract) ValidateBasic() error + func (m *MsgCallContract) XXX_DiscardUnknown() + func (m *MsgCallContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgCallContract) XXX_Merge(src proto.Message) + func (m *MsgCallContract) XXX_Size() int + func (m *MsgCallContract) XXX_Unmarshal(b []byte) error + type MsgCallContractResponse struct + func (*MsgCallContractResponse) Descriptor() ([]byte, []int) + func (*MsgCallContractResponse) ProtoMessage() + func (m *MsgCallContractResponse) Marshal() (dAtA []byte, err error) + func (m *MsgCallContractResponse) MarshalTo(dAtA []byte) (int, error) + func (m *MsgCallContractResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgCallContractResponse) Reset() + func (m *MsgCallContractResponse) Size() (n int) + func (m *MsgCallContractResponse) String() string + func (m *MsgCallContractResponse) Unmarshal(dAtA []byte) error + func (m *MsgCallContractResponse) XXX_DiscardUnknown() + func (m *MsgCallContractResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgCallContractResponse) XXX_Merge(src proto.Message) + func (m *MsgCallContractResponse) XXX_Size() int + func (m *MsgCallContractResponse) XXX_Unmarshal(b []byte) error + type MsgClient interface + CallContract func(ctx context.Context, in *MsgCallContract, opts ...grpc.CallOption) (*MsgCallContractResponse, error) + func NewMsgClient(cc grpc1.ClientConn) MsgClient + type MsgServer interface + CallContract func(context.Context, *MsgCallContract) (*MsgCallContractResponse, error) + type UnimplementedMsgServer struct + func (*UnimplementedMsgServer) CallContract(ctx context.Context, req *MsgCallContract) (*MsgCallContractResponse, error) v5.0.0-rc0 Aug 8, 2023 Other modules containing this package github.com/functionx/fx-core github.com/functionx/fx-core/v3 github.com/functionx/fx-core/v4 github.com/functionx/fx-core/v6 github.com/functionx/fx-core/v7