Documentation
¶
Overview ¶
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func IsContractReverted(res *evmtypes.MsgEthereumTxResponse, err error) bool
- func IsRevertError(err error) bool
- func KeyPrefix(p string) []byte
- func QuorumKey(registryRouter common.Address) []byte
- func QuorumOperatorKey(registryRouter, operator common.Address) []byte
- func RegisterCodec(cdc *codec.LegacyAmino)
- func RegisterInterfaces(registry cdctypes.InterfaceRegistry)
- func RegisterMsgServer(s grpc1.Server, srv MsgServer)
- func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
- func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
- func RegisterQueryServer(s grpc1.Server, srv QueryServer)
- func RegistryRouterKey() []byte
- func SupportedChainKey(registryRouter common.Address) []byte
- type AccountKeeper
- type AuthorityKeeper
- type BankKeeper
- type EVMKeeper
- type EventSystemContractsDeployed
- func (*EventSystemContractsDeployed) Descriptor() ([]byte, []int)
- func (m *EventSystemContractsDeployed) GetConnector() string
- func (m *EventSystemContractsDeployed) GetDelegationManagerImpl() string
- func (m *EventSystemContractsDeployed) GetDelegationManagerProxy() string
- func (m *EventSystemContractsDeployed) GetDvsDirectory() string
- func (m *EventSystemContractsDeployed) GetDvsDirectoryProxy() string
- func (m *EventSystemContractsDeployed) GetEmptyContract() string
- func (m *EventSystemContractsDeployed) GetGasSwap() string
- func (m *EventSystemContractsDeployed) GetGateway() string
- func (m *EventSystemContractsDeployed) GetMsgTypeUrl() string
- func (m *EventSystemContractsDeployed) GetProxyAdmin() string
- func (m *EventSystemContractsDeployed) GetRegistryRouter() string
- func (m *EventSystemContractsDeployed) GetRegistryRouterFactory() string
- func (m *EventSystemContractsDeployed) GetSigner() string
- func (m *EventSystemContractsDeployed) GetSlasherImpl() string
- func (m *EventSystemContractsDeployed) GetSlasherProxy() string
- func (m *EventSystemContractsDeployed) GetStakeRegistryRouter() string
- func (m *EventSystemContractsDeployed) GetStrategyManagerImpl() string
- func (m *EventSystemContractsDeployed) GetStrategyManagerProxy() string
- func (m *EventSystemContractsDeployed) GetSystemContract() string
- func (m *EventSystemContractsDeployed) GetWrappedPell() string
- func (m *EventSystemContractsDeployed) Marshal() (dAtA []byte, err error)
- func (m *EventSystemContractsDeployed) MarshalTo(dAtA []byte) (int, error)
- func (m *EventSystemContractsDeployed) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventSystemContractsDeployed) ProtoMessage()
- func (m *EventSystemContractsDeployed) Reset()
- func (m *EventSystemContractsDeployed) Size() (n int)
- func (m *EventSystemContractsDeployed) String() string
- func (m *EventSystemContractsDeployed) Unmarshal(dAtA []byte) error
- func (m *EventSystemContractsDeployed) XXX_DiscardUnknown()
- func (m *EventSystemContractsDeployed) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventSystemContractsDeployed) XXX_Merge(src proto.Message)
- func (m *EventSystemContractsDeployed) XXX_Size() int
- func (m *EventSystemContractsDeployed) XXX_Unmarshal(b []byte) error
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetSystemContract() *SystemContract
- func (m *GenesisState) Marshal() (dAtA []byte, err error)
- func (m *GenesisState) MarshalTo(dAtA []byte) (int, error)
- func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GenesisState) ProtoMessage()
- func (m *GenesisState) Reset()
- func (m *GenesisState) Size() (n int)
- func (m *GenesisState) String() string
- func (m *GenesisState) Unmarshal(dAtA []byte) error
- func (gs GenesisState) Validate() error
- func (m *GenesisState) XXX_DiscardUnknown()
- func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenesisState) XXX_Merge(src proto.Message)
- func (m *GenesisState) XXX_Size() int
- func (m *GenesisState) XXX_Unmarshal(b []byte) error
- type GenesisStateLegacy
- func (*GenesisStateLegacy) Descriptor() ([]byte, []int)
- func (m *GenesisStateLegacy) GetParams() Params
- func (m *GenesisStateLegacy) GetSystemContract() *SystemContract
- func (m *GenesisStateLegacy) Marshal() (dAtA []byte, err error)
- func (m *GenesisStateLegacy) MarshalTo(dAtA []byte) (int, error)
- func (m *GenesisStateLegacy) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GenesisStateLegacy) ProtoMessage()
- func (m *GenesisStateLegacy) Reset()
- func (m *GenesisStateLegacy) Size() (n int)
- func (m *GenesisStateLegacy) String() string
- func (m *GenesisStateLegacy) Unmarshal(dAtA []byte) error
- func (m *GenesisStateLegacy) XXX_DiscardUnknown()
- func (m *GenesisStateLegacy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenesisStateLegacy) XXX_Merge(src proto.Message)
- func (m *GenesisStateLegacy) XXX_Size() int
- func (m *GenesisStateLegacy) XXX_Unmarshal(b []byte) error
- type MsgClient
- type MsgDeployConnectorContract
- func (*MsgDeployConnectorContract) Descriptor() ([]byte, []int)
- func (msg *MsgDeployConnectorContract) GetSignBytes() []byte
- func (m *MsgDeployConnectorContract) GetSigner() string
- func (msg *MsgDeployConnectorContract) GetSigners() []sdk.AccAddress
- func (m *MsgDeployConnectorContract) Marshal() (dAtA []byte, err error)
- func (m *MsgDeployConnectorContract) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDeployConnectorContract) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDeployConnectorContract) ProtoMessage()
- func (m *MsgDeployConnectorContract) Reset()
- func (msg *MsgDeployConnectorContract) Route() string
- func (m *MsgDeployConnectorContract) Size() (n int)
- func (m *MsgDeployConnectorContract) String() string
- func (msg *MsgDeployConnectorContract) Type() string
- func (m *MsgDeployConnectorContract) Unmarshal(dAtA []byte) error
- func (msg *MsgDeployConnectorContract) ValidateBasic() error
- func (m *MsgDeployConnectorContract) XXX_DiscardUnknown()
- func (m *MsgDeployConnectorContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDeployConnectorContract) XXX_Merge(src proto.Message)
- func (m *MsgDeployConnectorContract) XXX_Size() int
- func (m *MsgDeployConnectorContract) XXX_Unmarshal(b []byte) error
- type MsgDeployConnectorContractResponse
- func (*MsgDeployConnectorContractResponse) Descriptor() ([]byte, []int)
- func (m *MsgDeployConnectorContractResponse) GetConnector() string
- func (m *MsgDeployConnectorContractResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgDeployConnectorContractResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDeployConnectorContractResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDeployConnectorContractResponse) ProtoMessage()
- func (m *MsgDeployConnectorContractResponse) Reset()
- func (m *MsgDeployConnectorContractResponse) Size() (n int)
- func (m *MsgDeployConnectorContractResponse) String() string
- func (m *MsgDeployConnectorContractResponse) Unmarshal(dAtA []byte) error
- func (m *MsgDeployConnectorContractResponse) XXX_DiscardUnknown()
- func (m *MsgDeployConnectorContractResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDeployConnectorContractResponse) XXX_Merge(src proto.Message)
- func (m *MsgDeployConnectorContractResponse) XXX_Size() int
- func (m *MsgDeployConnectorContractResponse) XXX_Unmarshal(b []byte) error
- type MsgDeployGatewayContract
- func (*MsgDeployGatewayContract) Descriptor() ([]byte, []int)
- func (msg *MsgDeployGatewayContract) GetSignBytes() []byte
- func (m *MsgDeployGatewayContract) GetSigner() string
- func (msg *MsgDeployGatewayContract) GetSigners() []sdk.AccAddress
- func (m *MsgDeployGatewayContract) Marshal() (dAtA []byte, err error)
- func (m *MsgDeployGatewayContract) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDeployGatewayContract) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDeployGatewayContract) ProtoMessage()
- func (m *MsgDeployGatewayContract) Reset()
- func (msg *MsgDeployGatewayContract) Route() string
- func (m *MsgDeployGatewayContract) Size() (n int)
- func (m *MsgDeployGatewayContract) String() string
- func (msg *MsgDeployGatewayContract) Type() string
- func (m *MsgDeployGatewayContract) Unmarshal(dAtA []byte) error
- func (msg *MsgDeployGatewayContract) ValidateBasic() error
- func (m *MsgDeployGatewayContract) XXX_DiscardUnknown()
- func (m *MsgDeployGatewayContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDeployGatewayContract) XXX_Merge(src proto.Message)
- func (m *MsgDeployGatewayContract) XXX_Size() int
- func (m *MsgDeployGatewayContract) XXX_Unmarshal(b []byte) error
- type MsgDeployGatewayContractResponse
- func (*MsgDeployGatewayContractResponse) Descriptor() ([]byte, []int)
- func (m *MsgDeployGatewayContractResponse) GetGateway() string
- func (m *MsgDeployGatewayContractResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgDeployGatewayContractResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDeployGatewayContractResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDeployGatewayContractResponse) ProtoMessage()
- func (m *MsgDeployGatewayContractResponse) Reset()
- func (m *MsgDeployGatewayContractResponse) Size() (n int)
- func (m *MsgDeployGatewayContractResponse) String() string
- func (m *MsgDeployGatewayContractResponse) Unmarshal(dAtA []byte) error
- func (m *MsgDeployGatewayContractResponse) XXX_DiscardUnknown()
- func (m *MsgDeployGatewayContractResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDeployGatewayContractResponse) XXX_Merge(src proto.Message)
- func (m *MsgDeployGatewayContractResponse) XXX_Size() int
- func (m *MsgDeployGatewayContractResponse) XXX_Unmarshal(b []byte) error
- type MsgDeploySystemContracts
- func (*MsgDeploySystemContracts) Descriptor() ([]byte, []int)
- func (msg *MsgDeploySystemContracts) GetSignBytes() []byte
- func (m *MsgDeploySystemContracts) GetSigner() string
- func (msg *MsgDeploySystemContracts) GetSigners() []sdk.AccAddress
- func (m *MsgDeploySystemContracts) Marshal() (dAtA []byte, err error)
- func (m *MsgDeploySystemContracts) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDeploySystemContracts) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDeploySystemContracts) ProtoMessage()
- func (m *MsgDeploySystemContracts) Reset()
- func (msg *MsgDeploySystemContracts) Route() string
- func (m *MsgDeploySystemContracts) Size() (n int)
- func (m *MsgDeploySystemContracts) String() string
- func (msg *MsgDeploySystemContracts) Type() string
- func (m *MsgDeploySystemContracts) Unmarshal(dAtA []byte) error
- func (msg *MsgDeploySystemContracts) ValidateBasic() error
- func (m *MsgDeploySystemContracts) XXX_DiscardUnknown()
- func (m *MsgDeploySystemContracts) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDeploySystemContracts) XXX_Merge(src proto.Message)
- func (m *MsgDeploySystemContracts) XXX_Size() int
- func (m *MsgDeploySystemContracts) XXX_Unmarshal(b []byte) error
- type MsgDeploySystemContractsResponse
- func (*MsgDeploySystemContractsResponse) Descriptor() ([]byte, []int)
- func (m *MsgDeploySystemContractsResponse) GetConnector() string
- func (m *MsgDeploySystemContractsResponse) GetDelegationManagerImpl() string
- func (m *MsgDeploySystemContractsResponse) GetDelegationManagerInteractorImpl() string
- func (m *MsgDeploySystemContractsResponse) GetDelegationManagerProxy() string
- func (m *MsgDeploySystemContractsResponse) GetDvsDirectoryImpl() string
- func (m *MsgDeploySystemContractsResponse) GetDvsDirectoryProxy() string
- func (m *MsgDeploySystemContractsResponse) GetEmptyContract() string
- func (m *MsgDeploySystemContractsResponse) GetGasSwap() string
- func (m *MsgDeploySystemContractsResponse) GetGateway() string
- func (m *MsgDeploySystemContractsResponse) GetProxyAdmin() string
- func (m *MsgDeploySystemContractsResponse) GetRegistryRouter() string
- func (m *MsgDeploySystemContractsResponse) GetRegistryRouterFactory() string
- func (m *MsgDeploySystemContractsResponse) GetSlasherImpl() string
- func (m *MsgDeploySystemContractsResponse) GetSlasherProxy() string
- func (m *MsgDeploySystemContractsResponse) GetStakeRegistryRouter() string
- func (m *MsgDeploySystemContractsResponse) GetStrategyManagerImpl() string
- func (m *MsgDeploySystemContractsResponse) GetStrategyManagerProxy() string
- func (m *MsgDeploySystemContractsResponse) GetSystemContract() string
- func (m *MsgDeploySystemContractsResponse) GetWrappedPell() string
- func (m *MsgDeploySystemContractsResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgDeploySystemContractsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDeploySystemContractsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDeploySystemContractsResponse) ProtoMessage()
- func (m *MsgDeploySystemContractsResponse) Reset()
- func (m *MsgDeploySystemContractsResponse) Size() (n int)
- func (m *MsgDeploySystemContractsResponse) String() string
- func (m *MsgDeploySystemContractsResponse) Unmarshal(dAtA []byte) error
- func (m *MsgDeploySystemContractsResponse) XXX_DiscardUnknown()
- func (m *MsgDeploySystemContractsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDeploySystemContractsResponse) XXX_Merge(src proto.Message)
- func (m *MsgDeploySystemContractsResponse) XXX_Size() int
- func (m *MsgDeploySystemContractsResponse) XXX_Unmarshal(b []byte) error
- type MsgServer
- type MsgUpgradeSystemContracts
- func (*MsgUpgradeSystemContracts) Descriptor() ([]byte, []int)
- func (msg *MsgUpgradeSystemContracts) GetSignBytes() []byte
- func (m *MsgUpgradeSystemContracts) GetSigner() string
- func (msg *MsgUpgradeSystemContracts) GetSigners() []sdk.AccAddress
- func (m *MsgUpgradeSystemContracts) Marshal() (dAtA []byte, err error)
- func (m *MsgUpgradeSystemContracts) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpgradeSystemContracts) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpgradeSystemContracts) ProtoMessage()
- func (m *MsgUpgradeSystemContracts) Reset()
- func (msg *MsgUpgradeSystemContracts) Route() string
- func (m *MsgUpgradeSystemContracts) Size() (n int)
- func (m *MsgUpgradeSystemContracts) String() string
- func (msg *MsgUpgradeSystemContracts) Type() string
- func (m *MsgUpgradeSystemContracts) Unmarshal(dAtA []byte) error
- func (msg *MsgUpgradeSystemContracts) ValidateBasic() error
- func (m *MsgUpgradeSystemContracts) XXX_DiscardUnknown()
- func (m *MsgUpgradeSystemContracts) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpgradeSystemContracts) XXX_Merge(src proto.Message)
- func (m *MsgUpgradeSystemContracts) XXX_Size() int
- func (m *MsgUpgradeSystemContracts) XXX_Unmarshal(b []byte) error
- type MsgUpgradeSystemContractsResponse
- func (*MsgUpgradeSystemContractsResponse) Descriptor() ([]byte, []int)
- func (m *MsgUpgradeSystemContractsResponse) GetRegistryRouter() string
- func (m *MsgUpgradeSystemContractsResponse) GetStakeRegistryRouter() string
- func (m *MsgUpgradeSystemContractsResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpgradeSystemContractsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpgradeSystemContractsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpgradeSystemContractsResponse) ProtoMessage()
- func (m *MsgUpgradeSystemContractsResponse) Reset()
- func (m *MsgUpgradeSystemContractsResponse) Size() (n int)
- func (m *MsgUpgradeSystemContractsResponse) String() string
- func (m *MsgUpgradeSystemContractsResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpgradeSystemContractsResponse) XXX_DiscardUnknown()
- func (m *MsgUpgradeSystemContractsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpgradeSystemContractsResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpgradeSystemContractsResponse) XXX_Size() int
- func (m *MsgUpgradeSystemContractsResponse) XXX_Unmarshal(b []byte) error
- type Params
- func (*Params) Descriptor() ([]byte, []int)
- func (m *Params) Marshal() (dAtA []byte, err error)
- func (m *Params) MarshalTo(dAtA []byte) (int, error)
- func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Params) ProtoMessage()
- func (m *Params) Reset()
- func (m *Params) Size() (n int)
- func (m *Params) String() string
- func (m *Params) Unmarshal(dAtA []byte) error
- func (m *Params) XXX_DiscardUnknown()
- func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Params) XXX_Merge(src proto.Message)
- func (m *Params) XXX_Size() int
- func (m *Params) XXX_Unmarshal(b []byte) error
- type PellSentParamType
- type QueryClient
- type QueryGetSystemContractRequest
- func (*QueryGetSystemContractRequest) Descriptor() ([]byte, []int)
- func (m *QueryGetSystemContractRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryGetSystemContractRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetSystemContractRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetSystemContractRequest) ProtoMessage()
- func (m *QueryGetSystemContractRequest) Reset()
- func (m *QueryGetSystemContractRequest) Size() (n int)
- func (m *QueryGetSystemContractRequest) String() string
- func (m *QueryGetSystemContractRequest) Unmarshal(dAtA []byte) error
- func (m *QueryGetSystemContractRequest) XXX_DiscardUnknown()
- func (m *QueryGetSystemContractRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetSystemContractRequest) XXX_Merge(src proto.Message)
- func (m *QueryGetSystemContractRequest) XXX_Size() int
- func (m *QueryGetSystemContractRequest) XXX_Unmarshal(b []byte) error
- type QueryServer
- type RelayerKeeper
- type SystemContract
- func (*SystemContract) Descriptor() ([]byte, []int)
- func (m *SystemContract) GetConnector() string
- func (m *SystemContract) GetDelegationManagerInteractorProxy() string
- func (m *SystemContract) GetDelegationManagerProxy() string
- func (m *SystemContract) GetDvsDirectoryProxy() string
- func (m *SystemContract) GetGasSwap() string
- func (m *SystemContract) GetGateway() string
- func (m *SystemContract) GetRegistryRouter() string
- func (m *SystemContract) GetRegistryRouterBeacon() string
- func (m *SystemContract) GetRegistryRouterFactory() string
- func (m *SystemContract) GetSlasherProxy() string
- func (m *SystemContract) GetStakeRegistryRouter() string
- func (m *SystemContract) GetStakeRegistryRouterBeacon() string
- func (m *SystemContract) GetStrategyManagerProxy() string
- func (m *SystemContract) GetSystemContract() string
- func (m *SystemContract) GetWrappedPell() string
- func (m *SystemContract) Marshal() (dAtA []byte, err error)
- func (m *SystemContract) MarshalTo(dAtA []byte) (int, error)
- func (m *SystemContract) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SystemContract) ProtoMessage()
- func (m *SystemContract) Reset()
- func (m *SystemContract) Size() (n int)
- func (m *SystemContract) String() string
- func (m *SystemContract) Unmarshal(dAtA []byte) error
- func (m *SystemContract) XXX_DiscardUnknown()
- func (m *SystemContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SystemContract) XXX_Merge(src proto.Message)
- func (m *SystemContract) XXX_Size() int
- func (m *SystemContract) XXX_Unmarshal(b []byte) error
- type SystemContractResponse
- func (*SystemContractResponse) Descriptor() ([]byte, []int)
- func (m *SystemContractResponse) GetSystemContract() SystemContract
- func (m *SystemContractResponse) Marshal() (dAtA []byte, err error)
- func (m *SystemContractResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *SystemContractResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SystemContractResponse) ProtoMessage()
- func (m *SystemContractResponse) Reset()
- func (m *SystemContractResponse) Size() (n int)
- func (m *SystemContractResponse) String() string
- func (m *SystemContractResponse) Unmarshal(dAtA []byte) error
- func (m *SystemContractResponse) XXX_DiscardUnknown()
- func (m *SystemContractResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SystemContractResponse) XXX_Merge(src proto.Message)
- func (m *SystemContractResponse) XXX_Size() int
- func (m *SystemContractResponse) XXX_Unmarshal(b []byte) error
- type UnimplementedMsgServer
- func (*UnimplementedMsgServer) DeployConnectorContract(ctx context.Context, req *MsgDeployConnectorContract) (*MsgDeployConnectorContractResponse, error)
- func (*UnimplementedMsgServer) DeployGatewayContract(ctx context.Context, req *MsgDeployGatewayContract) (*MsgDeployGatewayContractResponse, error)
- func (*UnimplementedMsgServer) DeploySystemContracts(ctx context.Context, req *MsgDeploySystemContracts) (*MsgDeploySystemContractsResponse, error)
- func (*UnimplementedMsgServer) UpgradeSystemContracts(ctx context.Context, req *MsgUpgradeSystemContracts) (*MsgUpgradeSystemContractsResponse, error)
- type UnimplementedQueryServer
Constants ¶
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" )
const ( SystemTxTypeSyncOperatorRegistered uint8 = 2 SystemTxTypeSyncDVSGroup uint8 = 3 )
System tx type occupies the first byte (8 bits)
const PellSentDefaultDestinationGasLimit uint64 = 1000000
const (
SystemContractKey = "SystemContract-value-"
)
const TypeMsgDeployConnectorContract = "deploy_connector_contract"
const TypeMsgDeployGatewayContract = "deploy_gateway_contract"
const TypeMsgDeploySystemContracts = "deploy_system_contract"
const TypeMsgUpgradeSystemContracts = "upgrade_system_contract"
Variables ¶
var ( Amino = codec.NewLegacyAmino() ModuleCdc = codec.NewProtoCodec(cdctypes.NewInterfaceRegistry()) )
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
var ( ErrInvalidLengthEvents = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowEvents = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupEvents = fmt.Errorf("proto: unexpected end of group") )
var ( BigIntZero = big.NewInt(0) PEVMGasLimit = big.NewInt(1_000_000) )
TODO USE string constant
var ( ErrInvalidLengthGenesis = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenesis = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group") )
var ( ModuleAddress = authtypes.NewModuleAddress(ModuleName) //ModuleAddressEVM common.EVMAddress ModuleAddressEVM = common.BytesToAddress(ModuleAddress.Bytes()) AdminAddress = "pell1rx9r8hff0adaqhr5tuadkzj4e7ns2ntg446vtt" )
var ( ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthSystemContract = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowSystemContract = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupSystemContract = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTx = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTx = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group") )
var Msg_serviceDesc = _Msg_serviceDesc
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 ¶
IsRevertError checks if an error is a evm revert error
func QuorumOperatorKey ¶
func RegisterCodec ¶
func RegisterCodec(cdc *codec.LegacyAmino)
func RegisterInterfaces ¶
func RegisterInterfaces(registry cdctypes.InterfaceRegistry)
func RegisterMsgServer ¶
func RegisterQueryHandler ¶
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 ¶
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 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 (m *EventSystemContractsDeployed) String() 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) 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 (m *MsgDeployConnectorContractResponse) Reset()
func (*MsgDeployConnectorContractResponse) Size ¶
func (m *MsgDeployConnectorContractResponse) Size() (n int)
func (*MsgDeployConnectorContractResponse) String ¶
func (m *MsgDeployConnectorContractResponse) String() 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 (m *MsgDeployConnectorContractResponse) XXX_Merge(src proto.Message)
func (*MsgDeployConnectorContractResponse) XXX_Size ¶
func (m *MsgDeployConnectorContractResponse) XXX_Size() int
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 (m *MsgDeployGatewayContractResponse) Reset()
func (*MsgDeployGatewayContractResponse) Size ¶
func (m *MsgDeployGatewayContractResponse) Size() (n int)
func (*MsgDeployGatewayContractResponse) String ¶
func (m *MsgDeployGatewayContractResponse) String() 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 (m *MsgDeployGatewayContractResponse) XXX_Merge(src proto.Message)
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 (m *MsgDeploySystemContractsResponse) Reset()
func (*MsgDeploySystemContractsResponse) Size ¶
func (m *MsgDeploySystemContractsResponse) Size() (n int)
func (*MsgDeploySystemContractsResponse) String ¶
func (m *MsgDeploySystemContractsResponse) String() 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 (m *MsgDeploySystemContractsResponse) XXX_Merge(src proto.Message)
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 (m *MsgUpgradeSystemContractsResponse) Reset()
func (*MsgUpgradeSystemContractsResponse) Size ¶
func (m *MsgUpgradeSystemContractsResponse) Size() (n int)
func (*MsgUpgradeSystemContractsResponse) String ¶
func (m *MsgUpgradeSystemContractsResponse) String() 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 (m *MsgUpgradeSystemContractsResponse) XXX_Merge(src proto.Message)
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) MarshalToSizedBuffer ¶
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()
func (*Params) XXX_DiscardUnknown ¶
func (m *Params) XXX_DiscardUnknown()
func (*Params) XXX_Marshal ¶
func (*Params) XXX_Unmarshal ¶
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 (m *QueryGetSystemContractRequest) String() 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) 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) DeployConnectorContract(ctx context.Context, req *MsgDeployConnectorContract) (*MsgDeployConnectorContractResponse, error)
func (*UnimplementedMsgServer) DeployGatewayContract ¶
func (*UnimplementedMsgServer) DeployGatewayContract(ctx context.Context, req *MsgDeployGatewayContract) (*MsgDeployGatewayContractResponse, error)
func (*UnimplementedMsgServer) DeploySystemContracts ¶
func (*UnimplementedMsgServer) DeploySystemContracts(ctx context.Context, req *MsgDeploySystemContracts) (*MsgDeploySystemContractsResponse, error)
func (*UnimplementedMsgServer) UpgradeSystemContracts ¶
func (*UnimplementedMsgServer) UpgradeSystemContracts(ctx context.Context, req *MsgUpgradeSystemContracts) (*MsgUpgradeSystemContractsResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct {
}
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) SystemContract ¶
func (*UnimplementedQueryServer) SystemContract(ctx context.Context, req *QueryGetSystemContractRequest) (*SystemContractResponse, error)
Source Files
¶
- codec.go
- errors.go
- events.pb.go
- evm.go
- expected_keepers.go
- genesis.go
- genesis.pb.go
- keys.go
- message_deploy_connector_contract.go
- message_deploy_gateway_contract.go
- message_deploy_system_contracts.go
- message_upgrade_system_contracts.go
- pell_sent.go
- query.pb.go
- query.pb.gw.go
- system_contract.pb.go
- system_tx.go
- tx.pb.go