types

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2025 License: MIT Imports: 38 Imported by: 0

Documentation

Overview

Package types is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	// ModuleName defines the module name
	ModuleName = "pevm"

	// StoreKey defines the primary module store key
	StoreKey = ModuleName

	// RouterKey is the message route for slashing
	RouterKey = ModuleName

	// QuerierRoute defines the module's query routing key
	QuerierRoute = ModuleName

	// MemStoreKey defines the in-memory store key
	MemStoreKey = "mem_pevm"

	OperatorShareStoreKey = "operator_share"

	EpochOperatorSharesSnapshotKey = "epoch_operator_shares_snapshot"
)
View Source
const (
	SystemTxTypeSyncDelegationShares   uint8 = 1
	SystemTxTypeSyncOperatorRegistered uint8 = 2
	SystemTxTypeSyncDVSGroup           uint8 = 3
)

System tx type occupies the first byte (8 bits)

View Source
const PellSentDefaultDestinationGasLimit uint64 = 1000000
View Source
const (
	SystemContractKey = "SystemContract-value-"
)
View Source
const TypeMsgDeployConnectorContract = "deploy_connector_contract"
View Source
const TypeMsgDeployGatewayContract = "deploy_gateway_contract"
View Source
const TypeMsgDeploySystemContracts = "deploy_system_contract"
View Source
const TypeMsgUpgradeSystemContracts = "upgrade_system_contract"

Variables

View Source
var (
	ErrABIPack                = cosmoserrors.Register(ModuleName, 1101, "failed to pack abi")
	ErrABIGet                 = cosmoserrors.Register(ModuleName, 1102, "failed to get abi")
	ErrABIUnpack              = cosmoserrors.Register(ModuleName, 1104, "failed to unpack abi")
	ErrContractNotFound       = cosmoserrors.Register(ModuleName, 1107, "contract not found")
	ErrContractCall           = cosmoserrors.Register(ModuleName, 1109, "contract call error")
	ErrSystemContractNotFound = cosmoserrors.Register(ModuleName, 1110, "system contract not found")
	ErrInvalidAddress         = cosmoserrors.Register(ModuleName, 1111, "invalid address")
	ErrStateVariableNotFound  = cosmoserrors.Register(ModuleName, 1112, "state variable not found")
	ErrEmitEvent              = cosmoserrors.Register(ModuleName, 1114, "emit event error")
	ErrInvalidDecimals        = cosmoserrors.Register(ModuleName, 1115, "invalid decimals")
	ErrInvalidGasLimit        = cosmoserrors.Register(ModuleName, 1118, "invalid gas limit")
	ErrSetBytecode            = cosmoserrors.Register(ModuleName, 1119, "set bytecode error")
	ErrInvalidContract        = cosmoserrors.Register(ModuleName, 1120, "invalid contract")
	ErrCallNonContract        = cosmoserrors.Register(ModuleName, 1124, "can't call a non-contract address")
	ErrNilGasPrice            = cosmoserrors.Register(ModuleName, 1127, "nil gas price")
)

x/pevm module sentinel errors

View Source
var (
	ErrInvalidLengthEvents        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowEvents          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupEvents = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	BigIntZero   = big.NewInt(0)
	PEVMGasLimit = big.NewInt(1_000_000)
)

TODO USE string constant

View Source
var (
	ErrInvalidLengthGenesis        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenesis          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ModuleAddress = authtypes.NewModuleAddress(ModuleName)
	//ModuleAddressEVM common.EVMAddress
	ModuleAddressEVM = common.BytesToAddress(ModuleAddress.Bytes())
	AdminAddress     = "pell1rx9r8hff0adaqhr5tuadkzj4e7ns2ntg446vtt"
)
View Source
var (
	ErrInvalidLengthQuery        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowQuery          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthSystemContract        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowSystemContract          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupSystemContract = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTx        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTx          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group")
)
View Source
var Msg_serviceDesc = _Msg_serviceDesc
View Source
var Query_serviceDesc = _Query_serviceDesc

Functions

func IsContractReverted

func IsContractReverted(res *evmtypes.MsgEthereumTxResponse, err error) bool

IsContractReverted checks if the contract execution is reverted

func IsRevertError

func IsRevertError(err error) bool

IsRevertError checks if an error is a evm revert error

func KeyPrefix

func KeyPrefix(p string) []byte

func QuorumKey

func QuorumKey(registryRouter common.Address) []byte

func QuorumOperatorKey

func QuorumOperatorKey(registryRouter, operator common.Address) []byte

func RegisterCodec

func RegisterCodec(cdc *codec.LegacyAmino)

func RegisterInterfaces

func RegisterInterfaces(registry cdctypes.InterfaceRegistry)

func RegisterMsgServer

func RegisterMsgServer(s grpc1.Server, srv MsgServer)

func RegisterQueryHandler

func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterQueryHandler registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterQueryHandlerClient

func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error

RegisterQueryHandlerClient registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "QueryClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "QueryClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "QueryClient" to call the correct interceptors.

func RegisterQueryHandlerFromEndpoint

func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterQueryHandlerServer

func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error

RegisterQueryHandlerServer registers the http handlers for service Query to "mux". UnaryRPC :call QueryServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterQueryHandlerFromEndpoint instead.

func RegisterQueryServer

func RegisterQueryServer(s grpc1.Server, srv QueryServer)

func RegistryRouterKey

func RegistryRouterKey() []byte

func SupportedChainKey

func SupportedChainKey(registryRouter common.Address) []byte

Types

type AccountKeeper

type AccountKeeper interface {
	GetAccount(ctx context.Context, addr sdk.AccAddress) sdk.AccountI
	GetSequence(ctx context.Context, addr sdk.AccAddress) (uint64, error)
	GetModuleAccount(ctx context.Context, name string) sdk.ModuleAccountI
	HasAccount(ctx context.Context, addr sdk.AccAddress) bool
	NewAccountWithAddress(ctx context.Context, addr sdk.AccAddress) sdk.AccountI
	SetAccount(ctx context.Context, acc sdk.AccountI)
}

AccountKeeper defines the expected account keeper used for simulations (noalias)

type AuthorityKeeper

type AuthorityKeeper interface {
	IsAuthorized(ctx sdk.Context, address string, policyType authoritytypes.PolicyType) bool
}

type BankKeeper

type BankKeeper interface {
	SendCoinsFromModuleToAccount(ctx context.Context, senderModule string, recipientAddr sdk.AccAddress, amt sdk.Coins) error
	MintCoins(ctx context.Context, moduleName string, amt sdk.Coins) error
}

type EVMKeeper

type EVMKeeper interface {
	ChainID() *big.Int
	GetBlockBloomTransient(ctx sdk.Context) *big.Int
	GetLogSizeTransient(ctx sdk.Context) uint64
	WithChainID(ctx sdk.Context)
	SetBlockBloomTransient(ctx sdk.Context, bloom *big.Int)
	SetLogSizeTransient(ctx sdk.Context, logSize uint64)
	EstimateGas(c context.Context, req *evmtypes.EthCallRequest) (*evmtypes.EstimateGasResponse, error)
	ApplyMessage(
		ctx sdk.Context,
		msg core.Message,
		tracer vm.EVMLogger,
		commit bool,
	) (*evmtypes.MsgEthereumTxResponse, error)
	GetAccount(ctx sdk.Context, addr ethcommon.Address) *statedb.Account
	GetCode(ctx sdk.Context, codeHash ethcommon.Hash) []byte
	SetAccount(ctx sdk.Context, addr ethcommon.Address, account statedb.Account) error
}

type EventSystemContractsDeployed

type EventSystemContractsDeployed struct {
	MsgTypeUrl             string `protobuf:"bytes,1,opt,name=msg_type_url,json=msgTypeUrl,proto3" json:"msg_type_url,omitempty"`
	SystemContract         string `protobuf:"bytes,2,opt,name=system_contract,json=systemContract,proto3" json:"system_contract,omitempty"`
	Connector              string `protobuf:"bytes,3,opt,name=connector,proto3" json:"connector,omitempty"`
	EmptyContract          string `protobuf:"bytes,4,opt,name=empty_contract,json=emptyContract,proto3" json:"empty_contract,omitempty"`
	ProxyAdmin             string `protobuf:"bytes,5,opt,name=proxy_admin,json=proxyAdmin,proto3" json:"proxy_admin,omitempty"`
	DelegationManagerProxy string `` /* 129-byte string literal not displayed */
	StrategyManagerProxy   string `protobuf:"bytes,7,opt,name=strategy_manager_proxy,json=strategyManagerProxy,proto3" json:"strategy_manager_proxy,omitempty"`
	SlasherProxy           string `protobuf:"bytes,8,opt,name=slasher_proxy,json=slasherProxy,proto3" json:"slasher_proxy,omitempty"`
	DelegationManagerImpl  string `` /* 126-byte string literal not displayed */
	StrategyManagerImpl    string `protobuf:"bytes,10,opt,name=strategy_manager_impl,json=strategyManagerImpl,proto3" json:"strategy_manager_impl,omitempty"`
	SlasherImpl            string `protobuf:"bytes,11,opt,name=slasher_impl,json=slasherImpl,proto3" json:"slasher_impl,omitempty"`
	DvsDirectory           string `protobuf:"bytes,12,opt,name=dvs_directory,json=dvsDirectory,proto3" json:"dvs_directory,omitempty"`
	DvsDirectoryProxy      string `protobuf:"bytes,13,opt,name=dvs_directory_proxy,json=dvsDirectoryProxy,proto3" json:"dvs_directory_proxy,omitempty"`
	RegistryRouter         string `protobuf:"bytes,14,opt,name=registry_router,json=registryRouter,proto3" json:"registry_router,omitempty"`
	RegistryRouterFactory  string `` /* 127-byte string literal not displayed */
	Signer                 string `protobuf:"bytes,16,opt,name=signer,proto3" json:"signer,omitempty"`
	WrappedPell            string `protobuf:"bytes,17,opt,name=wrapped_pell,json=wrappedPell,proto3" json:"wrapped_pell,omitempty"`
	Gateway                string `protobuf:"bytes,18,opt,name=gateway,proto3" json:"gateway,omitempty"`
	GasSwap                string `protobuf:"bytes,19,opt,name=gas_swap,json=gasSwap,proto3" json:"gas_swap,omitempty"`
	StakeRegistryRouter    string `protobuf:"bytes,20,opt,name=stake_registry_router,json=stakeRegistryRouter,proto3" json:"stake_registry_router,omitempty"`
}

deploy pell system contract event

func (*EventSystemContractsDeployed) Descriptor

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

func (*EventSystemContractsDeployed) GetConnector

func (m *EventSystemContractsDeployed) GetConnector() string

func (*EventSystemContractsDeployed) GetDelegationManagerImpl

func (m *EventSystemContractsDeployed) GetDelegationManagerImpl() string

func (*EventSystemContractsDeployed) GetDelegationManagerProxy

func (m *EventSystemContractsDeployed) GetDelegationManagerProxy() string

func (*EventSystemContractsDeployed) GetDvsDirectory

func (m *EventSystemContractsDeployed) GetDvsDirectory() string

func (*EventSystemContractsDeployed) GetDvsDirectoryProxy

func (m *EventSystemContractsDeployed) GetDvsDirectoryProxy() string

func (*EventSystemContractsDeployed) GetEmptyContract

func (m *EventSystemContractsDeployed) GetEmptyContract() string

func (*EventSystemContractsDeployed) GetGasSwap

func (m *EventSystemContractsDeployed) GetGasSwap() string

func (*EventSystemContractsDeployed) GetGateway

func (m *EventSystemContractsDeployed) GetGateway() string

func (*EventSystemContractsDeployed) GetMsgTypeUrl

func (m *EventSystemContractsDeployed) GetMsgTypeUrl() string

func (*EventSystemContractsDeployed) GetProxyAdmin

func (m *EventSystemContractsDeployed) GetProxyAdmin() string

func (*EventSystemContractsDeployed) GetRegistryRouter

func (m *EventSystemContractsDeployed) GetRegistryRouter() string

func (*EventSystemContractsDeployed) GetRegistryRouterFactory

func (m *EventSystemContractsDeployed) GetRegistryRouterFactory() string

func (*EventSystemContractsDeployed) GetSigner

func (m *EventSystemContractsDeployed) GetSigner() string

func (*EventSystemContractsDeployed) GetSlasherImpl

func (m *EventSystemContractsDeployed) GetSlasherImpl() string

func (*EventSystemContractsDeployed) GetSlasherProxy

func (m *EventSystemContractsDeployed) GetSlasherProxy() string

func (*EventSystemContractsDeployed) GetStakeRegistryRouter

func (m *EventSystemContractsDeployed) GetStakeRegistryRouter() string

func (*EventSystemContractsDeployed) GetStrategyManagerImpl

func (m *EventSystemContractsDeployed) GetStrategyManagerImpl() string

func (*EventSystemContractsDeployed) GetStrategyManagerProxy

func (m *EventSystemContractsDeployed) GetStrategyManagerProxy() string

func (*EventSystemContractsDeployed) GetSystemContract

func (m *EventSystemContractsDeployed) GetSystemContract() string

func (*EventSystemContractsDeployed) GetWrappedPell

func (m *EventSystemContractsDeployed) GetWrappedPell() string

func (*EventSystemContractsDeployed) Marshal

func (m *EventSystemContractsDeployed) Marshal() (dAtA []byte, err error)

func (*EventSystemContractsDeployed) MarshalTo

func (m *EventSystemContractsDeployed) MarshalTo(dAtA []byte) (int, error)

func (*EventSystemContractsDeployed) MarshalToSizedBuffer

func (m *EventSystemContractsDeployed) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventSystemContractsDeployed) ProtoMessage

func (*EventSystemContractsDeployed) ProtoMessage()

func (*EventSystemContractsDeployed) Reset

func (m *EventSystemContractsDeployed) Reset()

func (*EventSystemContractsDeployed) Size

func (m *EventSystemContractsDeployed) Size() (n int)

func (*EventSystemContractsDeployed) String

func (*EventSystemContractsDeployed) Unmarshal

func (m *EventSystemContractsDeployed) Unmarshal(dAtA []byte) error

func (*EventSystemContractsDeployed) XXX_DiscardUnknown

func (m *EventSystemContractsDeployed) XXX_DiscardUnknown()

func (*EventSystemContractsDeployed) XXX_Marshal

func (m *EventSystemContractsDeployed) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventSystemContractsDeployed) XXX_Merge

func (m *EventSystemContractsDeployed) XXX_Merge(src proto.Message)

func (*EventSystemContractsDeployed) XXX_Size

func (m *EventSystemContractsDeployed) XXX_Size() int

func (*EventSystemContractsDeployed) XXX_Unmarshal

func (m *EventSystemContractsDeployed) XXX_Unmarshal(b []byte) error

type GenesisState

type GenesisState struct {
	SystemContract *SystemContract `protobuf:"bytes,3,opt,name=system_contract,json=systemContract,proto3" json:"system_contract,omitempty"`
}

GenesisState defines the pevm module's genesis state.

func DefaultGenesis

func DefaultGenesis() *GenesisState

DefaultGenesis returns the default pevm genesis state

func GetGenesisStateFromAppState

func GetGenesisStateFromAppState(marshaler codec.JSONCodec, appState map[string]json.RawMessage) GenesisState

func (*GenesisState) Descriptor

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

func (*GenesisState) GetSystemContract

func (m *GenesisState) GetSystemContract() *SystemContract

func (*GenesisState) Marshal

func (m *GenesisState) Marshal() (dAtA []byte, err error)

func (*GenesisState) MarshalTo

func (m *GenesisState) MarshalTo(dAtA []byte) (int, error)

func (*GenesisState) MarshalToSizedBuffer

func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GenesisState) ProtoMessage

func (*GenesisState) ProtoMessage()

func (*GenesisState) Reset

func (m *GenesisState) Reset()

func (*GenesisState) Size

func (m *GenesisState) Size() (n int)

func (*GenesisState) String

func (m *GenesisState) String() string

func (*GenesisState) Unmarshal

func (m *GenesisState) Unmarshal(dAtA []byte) error

func (GenesisState) Validate

func (gs GenesisState) Validate() error

Validate performs basic genesis state validation returning an error upon any failure.

func (*GenesisState) XXX_DiscardUnknown

func (m *GenesisState) XXX_DiscardUnknown()

func (*GenesisState) XXX_Marshal

func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GenesisState) XXX_Merge

func (m *GenesisState) XXX_Merge(src proto.Message)

func (*GenesisState) XXX_Size

func (m *GenesisState) XXX_Size() int

func (*GenesisState) XXX_Unmarshal

func (m *GenesisState) XXX_Unmarshal(b []byte) error

type GenesisStateLegacy

type GenesisStateLegacy struct {
	Params         Params          `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
	SystemContract *SystemContract `protobuf:"bytes,3,opt,name=system_contract,json=systemContract,proto3" json:"system_contract,omitempty"`
}

Genesis state legacy

func GetGenesisStateFromAppStateLegacy

func GetGenesisStateFromAppStateLegacy(marshaler codec.JSONCodec, appState map[string]json.RawMessage) GenesisStateLegacy

func (*GenesisStateLegacy) Descriptor

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

func (*GenesisStateLegacy) GetParams

func (m *GenesisStateLegacy) GetParams() Params

func (*GenesisStateLegacy) GetSystemContract

func (m *GenesisStateLegacy) GetSystemContract() *SystemContract

func (*GenesisStateLegacy) Marshal

func (m *GenesisStateLegacy) Marshal() (dAtA []byte, err error)

func (*GenesisStateLegacy) MarshalTo

func (m *GenesisStateLegacy) MarshalTo(dAtA []byte) (int, error)

func (*GenesisStateLegacy) MarshalToSizedBuffer

func (m *GenesisStateLegacy) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GenesisStateLegacy) ProtoMessage

func (*GenesisStateLegacy) ProtoMessage()

func (*GenesisStateLegacy) Reset

func (m *GenesisStateLegacy) Reset()

func (*GenesisStateLegacy) Size

func (m *GenesisStateLegacy) Size() (n int)

func (*GenesisStateLegacy) String

func (m *GenesisStateLegacy) String() string

func (*GenesisStateLegacy) Unmarshal

func (m *GenesisStateLegacy) Unmarshal(dAtA []byte) error

func (*GenesisStateLegacy) XXX_DiscardUnknown

func (m *GenesisStateLegacy) XXX_DiscardUnknown()

func (*GenesisStateLegacy) XXX_Marshal

func (m *GenesisStateLegacy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GenesisStateLegacy) XXX_Merge

func (m *GenesisStateLegacy) XXX_Merge(src proto.Message)

func (*GenesisStateLegacy) XXX_Size

func (m *GenesisStateLegacy) XXX_Size() int

func (*GenesisStateLegacy) XXX_Unmarshal

func (m *GenesisStateLegacy) XXX_Unmarshal(b []byte) error

type MsgClient

type MsgClient interface {
	// DeploySystemContracts deploys system contracts. This operation is restricted to admin users.
	DeploySystemContracts(ctx context.Context, in *MsgDeploySystemContracts, opts ...grpc.CallOption) (*MsgDeploySystemContractsResponse, error)
	// UpgradeSystemContracts upgrades system contracts. This operation is also restricted to admin users.
	UpgradeSystemContracts(ctx context.Context, in *MsgUpgradeSystemContracts, opts ...grpc.CallOption) (*MsgUpgradeSystemContractsResponse, error)
	// DeployGatewayContract deploys gateway contract. This operation is also restricted to admin users.
	DeployGatewayContract(ctx context.Context, in *MsgDeployGatewayContract, opts ...grpc.CallOption) (*MsgDeployGatewayContractResponse, error)
	// DeployConnectorContract deploys connector contract. This operation is also restricted to admin users.
	DeployConnectorContract(ctx context.Context, in *MsgDeployConnectorContract, opts ...grpc.CallOption) (*MsgDeployConnectorContractResponse, error)
}

MsgClient is the client API for Msg service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewMsgClient

func NewMsgClient(cc grpc1.ClientConn) MsgClient

type MsgDeployConnectorContract

type MsgDeployConnectorContract struct {
	Signer string `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty"`
}

message for deploy conenctor contract

func NewMsgDeployConnectorContract

func NewMsgDeployConnectorContract(creator string) *MsgDeployConnectorContract

func (*MsgDeployConnectorContract) Descriptor

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

func (*MsgDeployConnectorContract) GetSignBytes

func (msg *MsgDeployConnectorContract) GetSignBytes() []byte

func (*MsgDeployConnectorContract) GetSigner

func (m *MsgDeployConnectorContract) GetSigner() string

func (*MsgDeployConnectorContract) GetSigners

func (msg *MsgDeployConnectorContract) GetSigners() []sdk.AccAddress

func (*MsgDeployConnectorContract) Marshal

func (m *MsgDeployConnectorContract) Marshal() (dAtA []byte, err error)

func (*MsgDeployConnectorContract) MarshalTo

func (m *MsgDeployConnectorContract) MarshalTo(dAtA []byte) (int, error)

func (*MsgDeployConnectorContract) MarshalToSizedBuffer

func (m *MsgDeployConnectorContract) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgDeployConnectorContract) ProtoMessage

func (*MsgDeployConnectorContract) ProtoMessage()

func (*MsgDeployConnectorContract) Reset

func (m *MsgDeployConnectorContract) Reset()

func (*MsgDeployConnectorContract) Route

func (msg *MsgDeployConnectorContract) Route() string

func (*MsgDeployConnectorContract) Size

func (m *MsgDeployConnectorContract) Size() (n int)

func (*MsgDeployConnectorContract) String

func (m *MsgDeployConnectorContract) String() string

func (*MsgDeployConnectorContract) Type

func (msg *MsgDeployConnectorContract) Type() string

func (*MsgDeployConnectorContract) Unmarshal

func (m *MsgDeployConnectorContract) Unmarshal(dAtA []byte) error

func (*MsgDeployConnectorContract) ValidateBasic

func (msg *MsgDeployConnectorContract) ValidateBasic() error

func (*MsgDeployConnectorContract) XXX_DiscardUnknown

func (m *MsgDeployConnectorContract) XXX_DiscardUnknown()

func (*MsgDeployConnectorContract) XXX_Marshal

func (m *MsgDeployConnectorContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgDeployConnectorContract) XXX_Merge

func (m *MsgDeployConnectorContract) XXX_Merge(src proto.Message)

func (*MsgDeployConnectorContract) XXX_Size

func (m *MsgDeployConnectorContract) XXX_Size() int

func (*MsgDeployConnectorContract) XXX_Unmarshal

func (m *MsgDeployConnectorContract) XXX_Unmarshal(b []byte) error

type MsgDeployConnectorContractResponse

type MsgDeployConnectorContractResponse struct {
	Connector string `protobuf:"bytes,1,opt,name=connector,proto3" json:"connector,omitempty"`
}

message for deploy conenctor contract response

func (*MsgDeployConnectorContractResponse) Descriptor

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

func (*MsgDeployConnectorContractResponse) GetConnector

func (m *MsgDeployConnectorContractResponse) GetConnector() string

func (*MsgDeployConnectorContractResponse) Marshal

func (m *MsgDeployConnectorContractResponse) Marshal() (dAtA []byte, err error)

func (*MsgDeployConnectorContractResponse) MarshalTo

func (m *MsgDeployConnectorContractResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgDeployConnectorContractResponse) MarshalToSizedBuffer

func (m *MsgDeployConnectorContractResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgDeployConnectorContractResponse) ProtoMessage

func (*MsgDeployConnectorContractResponse) ProtoMessage()

func (*MsgDeployConnectorContractResponse) Reset

func (*MsgDeployConnectorContractResponse) Size

func (*MsgDeployConnectorContractResponse) String

func (*MsgDeployConnectorContractResponse) Unmarshal

func (m *MsgDeployConnectorContractResponse) Unmarshal(dAtA []byte) error

func (*MsgDeployConnectorContractResponse) XXX_DiscardUnknown

func (m *MsgDeployConnectorContractResponse) XXX_DiscardUnknown()

func (*MsgDeployConnectorContractResponse) XXX_Marshal

func (m *MsgDeployConnectorContractResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgDeployConnectorContractResponse) XXX_Merge

func (*MsgDeployConnectorContractResponse) XXX_Size

func (*MsgDeployConnectorContractResponse) XXX_Unmarshal

func (m *MsgDeployConnectorContractResponse) XXX_Unmarshal(b []byte) error

type MsgDeployGatewayContract

type MsgDeployGatewayContract struct {
	Signer string `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty"`
}

message for deploy gateway contract

func NewMsgDeployGatewayContract

func NewMsgDeployGatewayContract(creator string) *MsgDeployGatewayContract

func (*MsgDeployGatewayContract) Descriptor

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

func (*MsgDeployGatewayContract) GetSignBytes

func (msg *MsgDeployGatewayContract) GetSignBytes() []byte

func (*MsgDeployGatewayContract) GetSigner

func (m *MsgDeployGatewayContract) GetSigner() string

func (*MsgDeployGatewayContract) GetSigners

func (msg *MsgDeployGatewayContract) GetSigners() []sdk.AccAddress

func (*MsgDeployGatewayContract) Marshal

func (m *MsgDeployGatewayContract) Marshal() (dAtA []byte, err error)

func (*MsgDeployGatewayContract) MarshalTo

func (m *MsgDeployGatewayContract) MarshalTo(dAtA []byte) (int, error)

func (*MsgDeployGatewayContract) MarshalToSizedBuffer

func (m *MsgDeployGatewayContract) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgDeployGatewayContract) ProtoMessage

func (*MsgDeployGatewayContract) ProtoMessage()

func (*MsgDeployGatewayContract) Reset

func (m *MsgDeployGatewayContract) Reset()

func (*MsgDeployGatewayContract) Route

func (msg *MsgDeployGatewayContract) Route() string

func (*MsgDeployGatewayContract) Size

func (m *MsgDeployGatewayContract) Size() (n int)

func (*MsgDeployGatewayContract) String

func (m *MsgDeployGatewayContract) String() string

func (*MsgDeployGatewayContract) Type

func (msg *MsgDeployGatewayContract) Type() string

func (*MsgDeployGatewayContract) Unmarshal

func (m *MsgDeployGatewayContract) Unmarshal(dAtA []byte) error

func (*MsgDeployGatewayContract) ValidateBasic

func (msg *MsgDeployGatewayContract) ValidateBasic() error

func (*MsgDeployGatewayContract) XXX_DiscardUnknown

func (m *MsgDeployGatewayContract) XXX_DiscardUnknown()

func (*MsgDeployGatewayContract) XXX_Marshal

func (m *MsgDeployGatewayContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgDeployGatewayContract) XXX_Merge

func (m *MsgDeployGatewayContract) XXX_Merge(src proto.Message)

func (*MsgDeployGatewayContract) XXX_Size

func (m *MsgDeployGatewayContract) XXX_Size() int

func (*MsgDeployGatewayContract) XXX_Unmarshal

func (m *MsgDeployGatewayContract) XXX_Unmarshal(b []byte) error

type MsgDeployGatewayContractResponse

type MsgDeployGatewayContractResponse struct {
	Gateway string `protobuf:"bytes,1,opt,name=gateway,proto3" json:"gateway,omitempty"`
}

message for deploy gateway contract response

func (*MsgDeployGatewayContractResponse) Descriptor

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

func (*MsgDeployGatewayContractResponse) GetGateway

func (m *MsgDeployGatewayContractResponse) GetGateway() string

func (*MsgDeployGatewayContractResponse) Marshal

func (m *MsgDeployGatewayContractResponse) Marshal() (dAtA []byte, err error)

func (*MsgDeployGatewayContractResponse) MarshalTo

func (m *MsgDeployGatewayContractResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgDeployGatewayContractResponse) MarshalToSizedBuffer

func (m *MsgDeployGatewayContractResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgDeployGatewayContractResponse) ProtoMessage

func (*MsgDeployGatewayContractResponse) ProtoMessage()

func (*MsgDeployGatewayContractResponse) Reset

func (*MsgDeployGatewayContractResponse) Size

func (m *MsgDeployGatewayContractResponse) Size() (n int)

func (*MsgDeployGatewayContractResponse) String

func (*MsgDeployGatewayContractResponse) Unmarshal

func (m *MsgDeployGatewayContractResponse) Unmarshal(dAtA []byte) error

func (*MsgDeployGatewayContractResponse) XXX_DiscardUnknown

func (m *MsgDeployGatewayContractResponse) XXX_DiscardUnknown()

func (*MsgDeployGatewayContractResponse) XXX_Marshal

func (m *MsgDeployGatewayContractResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgDeployGatewayContractResponse) XXX_Merge

func (*MsgDeployGatewayContractResponse) XXX_Size

func (m *MsgDeployGatewayContractResponse) XXX_Size() int

func (*MsgDeployGatewayContractResponse) XXX_Unmarshal

func (m *MsgDeployGatewayContractResponse) XXX_Unmarshal(b []byte) error

type MsgDeploySystemContracts

type MsgDeploySystemContracts struct {
	Signer string `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty"`
}

message for deploy system contract

func NewMsgDeploySystemContracts

func NewMsgDeploySystemContracts(creator string) *MsgDeploySystemContracts

func (*MsgDeploySystemContracts) Descriptor

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

func (*MsgDeploySystemContracts) GetSignBytes

func (msg *MsgDeploySystemContracts) GetSignBytes() []byte

func (*MsgDeploySystemContracts) GetSigner

func (m *MsgDeploySystemContracts) GetSigner() string

func (*MsgDeploySystemContracts) GetSigners

func (msg *MsgDeploySystemContracts) GetSigners() []sdk.AccAddress

func (*MsgDeploySystemContracts) Marshal

func (m *MsgDeploySystemContracts) Marshal() (dAtA []byte, err error)

func (*MsgDeploySystemContracts) MarshalTo

func (m *MsgDeploySystemContracts) MarshalTo(dAtA []byte) (int, error)

func (*MsgDeploySystemContracts) MarshalToSizedBuffer

func (m *MsgDeploySystemContracts) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgDeploySystemContracts) ProtoMessage

func (*MsgDeploySystemContracts) ProtoMessage()

func (*MsgDeploySystemContracts) Reset

func (m *MsgDeploySystemContracts) Reset()

func (*MsgDeploySystemContracts) Route

func (msg *MsgDeploySystemContracts) Route() string

func (*MsgDeploySystemContracts) Size

func (m *MsgDeploySystemContracts) Size() (n int)

func (*MsgDeploySystemContracts) String

func (m *MsgDeploySystemContracts) String() string

func (*MsgDeploySystemContracts) Type

func (msg *MsgDeploySystemContracts) Type() string

func (*MsgDeploySystemContracts) Unmarshal

func (m *MsgDeploySystemContracts) Unmarshal(dAtA []byte) error

func (*MsgDeploySystemContracts) ValidateBasic

func (msg *MsgDeploySystemContracts) ValidateBasic() error

func (*MsgDeploySystemContracts) XXX_DiscardUnknown

func (m *MsgDeploySystemContracts) XXX_DiscardUnknown()

func (*MsgDeploySystemContracts) XXX_Marshal

func (m *MsgDeploySystemContracts) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgDeploySystemContracts) XXX_Merge

func (m *MsgDeploySystemContracts) XXX_Merge(src proto.Message)

func (*MsgDeploySystemContracts) XXX_Size

func (m *MsgDeploySystemContracts) XXX_Size() int

func (*MsgDeploySystemContracts) XXX_Unmarshal

func (m *MsgDeploySystemContracts) XXX_Unmarshal(b []byte) error

type MsgDeploySystemContractsResponse

type MsgDeploySystemContractsResponse struct {
	SystemContract                  string `protobuf:"bytes,1,opt,name=system_contract,json=systemContract,proto3" json:"system_contract,omitempty"`
	Connector                       string `protobuf:"bytes,2,opt,name=connector,proto3" json:"connector,omitempty"`
	EmptyContract                   string `protobuf:"bytes,3,opt,name=empty_contract,json=emptyContract,proto3" json:"empty_contract,omitempty"`
	ProxyAdmin                      string `protobuf:"bytes,4,opt,name=proxy_admin,json=proxyAdmin,proto3" json:"proxy_admin,omitempty"`
	DelegationManagerProxy          string `` /* 129-byte string literal not displayed */
	StrategyManagerProxy            string `protobuf:"bytes,6,opt,name=strategy_manager_proxy,json=strategyManagerProxy,proto3" json:"strategy_manager_proxy,omitempty"`
	SlasherProxy                    string `protobuf:"bytes,7,opt,name=slasher_proxy,json=slasherProxy,proto3" json:"slasher_proxy,omitempty"`
	DelegationManagerImpl           string `` /* 126-byte string literal not displayed */
	DelegationManagerInteractorImpl string `` /* 158-byte string literal not displayed */
	StrategyManagerImpl             string `protobuf:"bytes,10,opt,name=strategy_manager_impl,json=strategyManagerImpl,proto3" json:"strategy_manager_impl,omitempty"`
	SlasherImpl                     string `protobuf:"bytes,11,opt,name=slasher_impl,json=slasherImpl,proto3" json:"slasher_impl,omitempty"`
	DvsDirectoryImpl                string `protobuf:"bytes,12,opt,name=dvs_directory_impl,json=dvsDirectoryImpl,proto3" json:"dvs_directory_impl,omitempty"`
	DvsDirectoryProxy               string `protobuf:"bytes,13,opt,name=dvs_directory_proxy,json=dvsDirectoryProxy,proto3" json:"dvs_directory_proxy,omitempty"`
	RegistryRouter                  string `protobuf:"bytes,14,opt,name=registry_router,json=registryRouter,proto3" json:"registry_router,omitempty"`
	RegistryRouterFactory           string `` /* 127-byte string literal not displayed */
	WrappedPell                     string `protobuf:"bytes,16,opt,name=wrapped_pell,json=wrappedPell,proto3" json:"wrapped_pell,omitempty"`
	Gateway                         string `protobuf:"bytes,17,opt,name=gateway,proto3" json:"gateway,omitempty"`
	GasSwap                         string `protobuf:"bytes,18,opt,name=gas_swap,json=gasSwap,proto3" json:"gas_swap,omitempty"`
	StakeRegistryRouter             string `protobuf:"bytes,19,opt,name=stake_registry_router,json=stakeRegistryRouter,proto3" json:"stake_registry_router,omitempty"`
}

response for deploy system contract

func (*MsgDeploySystemContractsResponse) Descriptor

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

func (*MsgDeploySystemContractsResponse) GetConnector

func (m *MsgDeploySystemContractsResponse) GetConnector() string

func (*MsgDeploySystemContractsResponse) GetDelegationManagerImpl

func (m *MsgDeploySystemContractsResponse) GetDelegationManagerImpl() string

func (*MsgDeploySystemContractsResponse) GetDelegationManagerInteractorImpl

func (m *MsgDeploySystemContractsResponse) GetDelegationManagerInteractorImpl() string

func (*MsgDeploySystemContractsResponse) GetDelegationManagerProxy

func (m *MsgDeploySystemContractsResponse) GetDelegationManagerProxy() string

func (*MsgDeploySystemContractsResponse) GetDvsDirectoryImpl

func (m *MsgDeploySystemContractsResponse) GetDvsDirectoryImpl() string

func (*MsgDeploySystemContractsResponse) GetDvsDirectoryProxy

func (m *MsgDeploySystemContractsResponse) GetDvsDirectoryProxy() string

func (*MsgDeploySystemContractsResponse) GetEmptyContract

func (m *MsgDeploySystemContractsResponse) GetEmptyContract() string

func (*MsgDeploySystemContractsResponse) GetGasSwap

func (m *MsgDeploySystemContractsResponse) GetGasSwap() string

func (*MsgDeploySystemContractsResponse) GetGateway

func (m *MsgDeploySystemContractsResponse) GetGateway() string

func (*MsgDeploySystemContractsResponse) GetProxyAdmin

func (m *MsgDeploySystemContractsResponse) GetProxyAdmin() string

func (*MsgDeploySystemContractsResponse) GetRegistryRouter

func (m *MsgDeploySystemContractsResponse) GetRegistryRouter() string

func (*MsgDeploySystemContractsResponse) GetRegistryRouterFactory

func (m *MsgDeploySystemContractsResponse) GetRegistryRouterFactory() string

func (*MsgDeploySystemContractsResponse) GetSlasherImpl

func (m *MsgDeploySystemContractsResponse) GetSlasherImpl() string

func (*MsgDeploySystemContractsResponse) GetSlasherProxy

func (m *MsgDeploySystemContractsResponse) GetSlasherProxy() string

func (*MsgDeploySystemContractsResponse) GetStakeRegistryRouter

func (m *MsgDeploySystemContractsResponse) GetStakeRegistryRouter() string

func (*MsgDeploySystemContractsResponse) GetStrategyManagerImpl

func (m *MsgDeploySystemContractsResponse) GetStrategyManagerImpl() string

func (*MsgDeploySystemContractsResponse) GetStrategyManagerProxy

func (m *MsgDeploySystemContractsResponse) GetStrategyManagerProxy() string

func (*MsgDeploySystemContractsResponse) GetSystemContract

func (m *MsgDeploySystemContractsResponse) GetSystemContract() string

func (*MsgDeploySystemContractsResponse) GetWrappedPell

func (m *MsgDeploySystemContractsResponse) GetWrappedPell() string

func (*MsgDeploySystemContractsResponse) Marshal

func (m *MsgDeploySystemContractsResponse) Marshal() (dAtA []byte, err error)

func (*MsgDeploySystemContractsResponse) MarshalTo

func (m *MsgDeploySystemContractsResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgDeploySystemContractsResponse) MarshalToSizedBuffer

func (m *MsgDeploySystemContractsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgDeploySystemContractsResponse) ProtoMessage

func (*MsgDeploySystemContractsResponse) ProtoMessage()

func (*MsgDeploySystemContractsResponse) Reset

func (*MsgDeploySystemContractsResponse) Size

func (m *MsgDeploySystemContractsResponse) Size() (n int)

func (*MsgDeploySystemContractsResponse) String

func (*MsgDeploySystemContractsResponse) Unmarshal

func (m *MsgDeploySystemContractsResponse) Unmarshal(dAtA []byte) error

func (*MsgDeploySystemContractsResponse) XXX_DiscardUnknown

func (m *MsgDeploySystemContractsResponse) XXX_DiscardUnknown()

func (*MsgDeploySystemContractsResponse) XXX_Marshal

func (m *MsgDeploySystemContractsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgDeploySystemContractsResponse) XXX_Merge

func (*MsgDeploySystemContractsResponse) XXX_Size

func (m *MsgDeploySystemContractsResponse) XXX_Size() int

func (*MsgDeploySystemContractsResponse) XXX_Unmarshal

func (m *MsgDeploySystemContractsResponse) XXX_Unmarshal(b []byte) error

type MsgServer

type MsgServer interface {
	// DeploySystemContracts deploys system contracts. This operation is restricted to admin users.
	DeploySystemContracts(context.Context, *MsgDeploySystemContracts) (*MsgDeploySystemContractsResponse, error)
	// UpgradeSystemContracts upgrades system contracts. This operation is also restricted to admin users.
	UpgradeSystemContracts(context.Context, *MsgUpgradeSystemContracts) (*MsgUpgradeSystemContractsResponse, error)
	// DeployGatewayContract deploys gateway contract. This operation is also restricted to admin users.
	DeployGatewayContract(context.Context, *MsgDeployGatewayContract) (*MsgDeployGatewayContractResponse, error)
	// DeployConnectorContract deploys connector contract. This operation is also restricted to admin users.
	DeployConnectorContract(context.Context, *MsgDeployConnectorContract) (*MsgDeployConnectorContractResponse, error)
}

MsgServer is the server API for Msg service.

type MsgUpgradeSystemContracts

type MsgUpgradeSystemContracts struct {
	Signer string `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty"`
}

message for upgrade system contract

func NewMsgUpgradeSystemContracts

func NewMsgUpgradeSystemContracts(creator string) *MsgUpgradeSystemContracts

func (*MsgUpgradeSystemContracts) Descriptor

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

func (*MsgUpgradeSystemContracts) GetSignBytes

func (msg *MsgUpgradeSystemContracts) GetSignBytes() []byte

func (*MsgUpgradeSystemContracts) GetSigner

func (m *MsgUpgradeSystemContracts) GetSigner() string

func (*MsgUpgradeSystemContracts) GetSigners

func (msg *MsgUpgradeSystemContracts) GetSigners() []sdk.AccAddress

func (*MsgUpgradeSystemContracts) Marshal

func (m *MsgUpgradeSystemContracts) Marshal() (dAtA []byte, err error)

func (*MsgUpgradeSystemContracts) MarshalTo

func (m *MsgUpgradeSystemContracts) MarshalTo(dAtA []byte) (int, error)

func (*MsgUpgradeSystemContracts) MarshalToSizedBuffer

func (m *MsgUpgradeSystemContracts) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUpgradeSystemContracts) ProtoMessage

func (*MsgUpgradeSystemContracts) ProtoMessage()

func (*MsgUpgradeSystemContracts) Reset

func (m *MsgUpgradeSystemContracts) Reset()

func (*MsgUpgradeSystemContracts) Route

func (msg *MsgUpgradeSystemContracts) Route() string

func (*MsgUpgradeSystemContracts) Size

func (m *MsgUpgradeSystemContracts) Size() (n int)

func (*MsgUpgradeSystemContracts) String

func (m *MsgUpgradeSystemContracts) String() string

func (*MsgUpgradeSystemContracts) Type

func (msg *MsgUpgradeSystemContracts) Type() string

func (*MsgUpgradeSystemContracts) Unmarshal

func (m *MsgUpgradeSystemContracts) Unmarshal(dAtA []byte) error

func (*MsgUpgradeSystemContracts) ValidateBasic

func (msg *MsgUpgradeSystemContracts) ValidateBasic() error

func (*MsgUpgradeSystemContracts) XXX_DiscardUnknown

func (m *MsgUpgradeSystemContracts) XXX_DiscardUnknown()

func (*MsgUpgradeSystemContracts) XXX_Marshal

func (m *MsgUpgradeSystemContracts) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgUpgradeSystemContracts) XXX_Merge

func (m *MsgUpgradeSystemContracts) XXX_Merge(src proto.Message)

func (*MsgUpgradeSystemContracts) XXX_Size

func (m *MsgUpgradeSystemContracts) XXX_Size() int

func (*MsgUpgradeSystemContracts) XXX_Unmarshal

func (m *MsgUpgradeSystemContracts) XXX_Unmarshal(b []byte) error

type MsgUpgradeSystemContractsResponse

type MsgUpgradeSystemContractsResponse struct {
	RegistryRouter      string `protobuf:"bytes,1,opt,name=registry_router,json=registryRouter,proto3" json:"registry_router,omitempty"`
	StakeRegistryRouter string `protobuf:"bytes,2,opt,name=stake_registry_router,json=stakeRegistryRouter,proto3" json:"stake_registry_router,omitempty"`
}

message for upgrade system contract response

func (*MsgUpgradeSystemContractsResponse) Descriptor

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

func (*MsgUpgradeSystemContractsResponse) GetRegistryRouter

func (m *MsgUpgradeSystemContractsResponse) GetRegistryRouter() string

func (*MsgUpgradeSystemContractsResponse) GetStakeRegistryRouter

func (m *MsgUpgradeSystemContractsResponse) GetStakeRegistryRouter() string

func (*MsgUpgradeSystemContractsResponse) Marshal

func (m *MsgUpgradeSystemContractsResponse) Marshal() (dAtA []byte, err error)

func (*MsgUpgradeSystemContractsResponse) MarshalTo

func (m *MsgUpgradeSystemContractsResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgUpgradeSystemContractsResponse) MarshalToSizedBuffer

func (m *MsgUpgradeSystemContractsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUpgradeSystemContractsResponse) ProtoMessage

func (*MsgUpgradeSystemContractsResponse) ProtoMessage()

func (*MsgUpgradeSystemContractsResponse) Reset

func (*MsgUpgradeSystemContractsResponse) Size

func (m *MsgUpgradeSystemContractsResponse) Size() (n int)

func (*MsgUpgradeSystemContractsResponse) String

func (*MsgUpgradeSystemContractsResponse) Unmarshal

func (m *MsgUpgradeSystemContractsResponse) Unmarshal(dAtA []byte) error

func (*MsgUpgradeSystemContractsResponse) XXX_DiscardUnknown

func (m *MsgUpgradeSystemContractsResponse) XXX_DiscardUnknown()

func (*MsgUpgradeSystemContractsResponse) XXX_Marshal

func (m *MsgUpgradeSystemContractsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgUpgradeSystemContractsResponse) XXX_Merge

func (*MsgUpgradeSystemContractsResponse) XXX_Size

func (m *MsgUpgradeSystemContractsResponse) XXX_Size() int

func (*MsgUpgradeSystemContractsResponse) XXX_Unmarshal

func (m *MsgUpgradeSystemContractsResponse) XXX_Unmarshal(b []byte) error

type Params

type Params struct {
}

null params

func (*Params) Descriptor

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

func (*Params) Marshal

func (m *Params) Marshal() (dAtA []byte, err error)

func (*Params) MarshalTo

func (m *Params) MarshalTo(dAtA []byte) (int, error)

func (*Params) MarshalToSizedBuffer

func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Params) ProtoMessage

func (*Params) ProtoMessage()

func (*Params) Reset

func (m *Params) Reset()

func (*Params) Size

func (m *Params) Size() (n int)

func (*Params) String

func (m *Params) String() string

func (*Params) Unmarshal

func (m *Params) Unmarshal(dAtA []byte) error

func (*Params) XXX_DiscardUnknown

func (m *Params) XXX_DiscardUnknown()

func (*Params) XXX_Marshal

func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Params) XXX_Merge

func (m *Params) XXX_Merge(src proto.Message)

func (*Params) XXX_Size

func (m *Params) XXX_Size() int

func (*Params) XXX_Unmarshal

func (m *Params) XXX_Unmarshal(b []byte) error

type PellSentParamType

type PellSentParamType uint8

PellSentParamType is an enum-like type for Pell events.

const (
	ReceiveCall PellSentParamType = iota
	RevertableCall
	Transfer
)

func PellSentParamTypeFromString

func PellSentParamTypeFromString(s string) (PellSentParamType, error)

PellSentParamTypeFromString converts a string to PellSentParamType.

func ToPellSentParamType

func ToPellSentParamType(b []byte) (PellSentParamType, error)

ToPellSentParamType converts the given []byte to PellSentParamType. The bytes are interpreted as a big-endian integer.

func (PellSentParamType) MethodName

func (p PellSentParamType) MethodName() (string, error)

MethodName returns the corresponding method name for the PellSentParamType.

func (PellSentParamType) String

func (p PellSentParamType) String() string

String returns a string representation of PellSentParamType.

type QueryClient

type QueryClient interface {
	// Queries SystemContract
	SystemContract(ctx context.Context, in *QueryGetSystemContractRequest, opts ...grpc.CallOption) (*SystemContractResponse, error)
}

QueryClient is the client API for Query service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewQueryClient

func NewQueryClient(cc grpc1.ClientConn) QueryClient

type QueryGetSystemContractRequest

type QueryGetSystemContractRequest struct {
}

request of query system contract

func (*QueryGetSystemContractRequest) Descriptor

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

func (*QueryGetSystemContractRequest) Marshal

func (m *QueryGetSystemContractRequest) Marshal() (dAtA []byte, err error)

func (*QueryGetSystemContractRequest) MarshalTo

func (m *QueryGetSystemContractRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryGetSystemContractRequest) MarshalToSizedBuffer

func (m *QueryGetSystemContractRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetSystemContractRequest) ProtoMessage

func (*QueryGetSystemContractRequest) ProtoMessage()

func (*QueryGetSystemContractRequest) Reset

func (m *QueryGetSystemContractRequest) Reset()

func (*QueryGetSystemContractRequest) Size

func (m *QueryGetSystemContractRequest) Size() (n int)

func (*QueryGetSystemContractRequest) String

func (*QueryGetSystemContractRequest) Unmarshal

func (m *QueryGetSystemContractRequest) Unmarshal(dAtA []byte) error

func (*QueryGetSystemContractRequest) XXX_DiscardUnknown

func (m *QueryGetSystemContractRequest) XXX_DiscardUnknown()

func (*QueryGetSystemContractRequest) XXX_Marshal

func (m *QueryGetSystemContractRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryGetSystemContractRequest) XXX_Merge

func (m *QueryGetSystemContractRequest) XXX_Merge(src proto.Message)

func (*QueryGetSystemContractRequest) XXX_Size

func (m *QueryGetSystemContractRequest) XXX_Size() int

func (*QueryGetSystemContractRequest) XXX_Unmarshal

func (m *QueryGetSystemContractRequest) XXX_Unmarshal(b []byte) error

type QueryServer

type QueryServer interface {
	// Queries SystemContract
	SystemContract(context.Context, *QueryGetSystemContractRequest) (*SystemContractResponse, error)
}

QueryServer is the server API for Query service.

type RelayerKeeper

type RelayerKeeper interface {
	SetPevmKeeper(pevmKeeper relayertypes.PevmKeeper)
	GetSupportedChains(ctx sdk.Context) []*chains.Chain
}

type SystemContract

type SystemContract struct {
	SystemContract                   string `protobuf:"bytes,1,opt,name=system_contract,json=systemContract,proto3" json:"system_contract,omitempty"`
	Connector                        string `protobuf:"bytes,2,opt,name=connector,proto3" json:"connector,omitempty"`
	DelegationManagerProxy           string `` /* 129-byte string literal not displayed */
	DelegationManagerInteractorProxy string `` /* 161-byte string literal not displayed */
	StrategyManagerProxy             string `protobuf:"bytes,5,opt,name=strategy_manager_proxy,json=strategyManagerProxy,proto3" json:"strategy_manager_proxy,omitempty"`
	SlasherProxy                     string `protobuf:"bytes,6,opt,name=slasher_proxy,json=slasherProxy,proto3" json:"slasher_proxy,omitempty"`
	DvsDirectoryProxy                string `protobuf:"bytes,7,opt,name=dvs_directory_proxy,json=dvsDirectoryProxy,proto3" json:"dvs_directory_proxy,omitempty"`
	RegistryRouter                   string `protobuf:"bytes,8,opt,name=registry_router,json=registryRouter,proto3" json:"registry_router,omitempty"`
	RegistryRouterBeacon             string `protobuf:"bytes,9,opt,name=registry_router_beacon,json=registryRouterBeacon,proto3" json:"registry_router_beacon,omitempty"`
	StakeRegistryRouter              string `protobuf:"bytes,10,opt,name=stake_registry_router,json=stakeRegistryRouter,proto3" json:"stake_registry_router,omitempty"`
	StakeRegistryRouterBeacon        string `` /* 141-byte string literal not displayed */
	RegistryRouterFactory            string `` /* 127-byte string literal not displayed */
	WrappedPell                      string `protobuf:"bytes,13,opt,name=wrapped_pell,json=wrappedPell,proto3" json:"wrapped_pell,omitempty"`
	Gateway                          string `protobuf:"bytes,14,opt,name=gateway,proto3" json:"gateway,omitempty"`
	GasSwap                          string `protobuf:"bytes,15,opt,name=gas_swap,json=gasSwap,proto3" json:"gas_swap,omitempty"`
}

system contract infomation

func (*SystemContract) Descriptor

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

func (*SystemContract) GetConnector

func (m *SystemContract) GetConnector() string

func (*SystemContract) GetDelegationManagerInteractorProxy

func (m *SystemContract) GetDelegationManagerInteractorProxy() string

func (*SystemContract) GetDelegationManagerProxy

func (m *SystemContract) GetDelegationManagerProxy() string

func (*SystemContract) GetDvsDirectoryProxy

func (m *SystemContract) GetDvsDirectoryProxy() string

func (*SystemContract) GetGasSwap

func (m *SystemContract) GetGasSwap() string

func (*SystemContract) GetGateway

func (m *SystemContract) GetGateway() string

func (*SystemContract) GetRegistryRouter

func (m *SystemContract) GetRegistryRouter() string

func (*SystemContract) GetRegistryRouterBeacon

func (m *SystemContract) GetRegistryRouterBeacon() string

func (*SystemContract) GetRegistryRouterFactory

func (m *SystemContract) GetRegistryRouterFactory() string

func (*SystemContract) GetSlasherProxy

func (m *SystemContract) GetSlasherProxy() string

func (*SystemContract) GetStakeRegistryRouter

func (m *SystemContract) GetStakeRegistryRouter() string

func (*SystemContract) GetStakeRegistryRouterBeacon

func (m *SystemContract) GetStakeRegistryRouterBeacon() string

func (*SystemContract) GetStrategyManagerProxy

func (m *SystemContract) GetStrategyManagerProxy() string

func (*SystemContract) GetSystemContract

func (m *SystemContract) GetSystemContract() string

func (*SystemContract) GetWrappedPell

func (m *SystemContract) GetWrappedPell() string

func (*SystemContract) Marshal

func (m *SystemContract) Marshal() (dAtA []byte, err error)

func (*SystemContract) MarshalTo

func (m *SystemContract) MarshalTo(dAtA []byte) (int, error)

func (*SystemContract) MarshalToSizedBuffer

func (m *SystemContract) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SystemContract) ProtoMessage

func (*SystemContract) ProtoMessage()

func (*SystemContract) Reset

func (m *SystemContract) Reset()

func (*SystemContract) Size

func (m *SystemContract) Size() (n int)

func (*SystemContract) String

func (m *SystemContract) String() string

func (*SystemContract) Unmarshal

func (m *SystemContract) Unmarshal(dAtA []byte) error

func (*SystemContract) XXX_DiscardUnknown

func (m *SystemContract) XXX_DiscardUnknown()

func (*SystemContract) XXX_Marshal

func (m *SystemContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SystemContract) XXX_Merge

func (m *SystemContract) XXX_Merge(src proto.Message)

func (*SystemContract) XXX_Size

func (m *SystemContract) XXX_Size() int

func (*SystemContract) XXX_Unmarshal

func (m *SystemContract) XXX_Unmarshal(b []byte) error

type SystemContractResponse

type SystemContractResponse struct {
	SystemContract SystemContract `protobuf:"bytes,1,opt,name=system_contract,json=systemContract,proto3" json:"system_contract"`
}

response of query system contract

func (*SystemContractResponse) Descriptor

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

func (*SystemContractResponse) GetSystemContract

func (m *SystemContractResponse) GetSystemContract() SystemContract

func (*SystemContractResponse) Marshal

func (m *SystemContractResponse) Marshal() (dAtA []byte, err error)

func (*SystemContractResponse) MarshalTo

func (m *SystemContractResponse) MarshalTo(dAtA []byte) (int, error)

func (*SystemContractResponse) MarshalToSizedBuffer

func (m *SystemContractResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SystemContractResponse) ProtoMessage

func (*SystemContractResponse) ProtoMessage()

func (*SystemContractResponse) Reset

func (m *SystemContractResponse) Reset()

func (*SystemContractResponse) Size

func (m *SystemContractResponse) Size() (n int)

func (*SystemContractResponse) String

func (m *SystemContractResponse) String() string

func (*SystemContractResponse) Unmarshal

func (m *SystemContractResponse) Unmarshal(dAtA []byte) error

func (*SystemContractResponse) XXX_DiscardUnknown

func (m *SystemContractResponse) XXX_DiscardUnknown()

func (*SystemContractResponse) XXX_Marshal

func (m *SystemContractResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SystemContractResponse) XXX_Merge

func (m *SystemContractResponse) XXX_Merge(src proto.Message)

func (*SystemContractResponse) XXX_Size

func (m *SystemContractResponse) XXX_Size() int

func (*SystemContractResponse) XXX_Unmarshal

func (m *SystemContractResponse) XXX_Unmarshal(b []byte) error

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer can be embedded to have forward compatible implementations.

func (*UnimplementedMsgServer) DeployConnectorContract

func (*UnimplementedMsgServer) DeployGatewayContract

func (*UnimplementedMsgServer) DeploySystemContracts

func (*UnimplementedMsgServer) UpgradeSystemContracts

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) SystemContract

Jump to

Keyboard shortcuts

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