types

package
v1.13.4 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: Apache-2.0 Imports: 49 Imported by: 6

Documentation

Overview

Package types is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	SmartContractExecutionFailedKey              string                    = "SmartContractExecutionFailed"
	SmartContractExecutionFailedMessageID        keeperutil.EventAttribute = "MessageID"
	SmartContractExecutionFailedChainReferenceID keeperutil.EventAttribute = "ChainReferenceID"
	SmartContractExecutionFailedError            keeperutil.EventAttribute = "ErrorMessage"
	SmartContractExecutionMessageType            keeperutil.EventAttribute = "MessageType"
)
View Source
const (
	ProposalTypeAddChain                = "EVMAddChainProposal"
	ProposalTypeRemoveChain             = "EVMRemoveChainProposal"
	ProposalDeployNewSmartContract      = "EVMDeployNewSmartContract"
	ProposalTypeChangeMinOnChainBalance = "EVMProposalChangeMinOnChainBalance"
	ProposalTypeRelayWeights            = "EVMProposalRelayWeights"
)
View Source
const (
	// ModuleName defines the module name
	ModuleName = "evm"

	// 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_evm"
)
View Source
const (
	AttestingUpdateValsetRemoveOldMessagesKey string = "AttestingUpdateValsetRemoveOldMessages"
)
View Source
const DefaultIndex uint64 = 1

DefaultIndex is the default capability global index

View Source
const (
	JailReasonNotEnoughFunds = "not enough funds in the target chain (%s). Has %s. Min required: %s."
)
View Source
const TypeMsgDeployNewSmartContractRequest = "deploy_new_smart_contract_request"

Variables

View Source
var (
	ErrInvalidLengthAddChainProposal        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowAddChainProposal          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupAddChainProposal = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthChainInfo        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowChainInfo          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupChainInfo = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthChangeMinOnChainBalanceProposal        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowChangeMinOnChainBalanceProposal          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupChangeMinOnChainBalanceProposal = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthDeployNewSmartContractProposal        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowDeployNewSmartContractProposal          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupDeployNewSmartContractProposal = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrEthTxNotVerified = whoops.String("transaction not verified")
	ErrInvalidBalance   = whoops.Errorf("invalid balance: %s")
)
View Source
var (
	ErrInvalidLengthEvmStateAttestation        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowEvmStateAttestation          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupEvmStateAttestation = fmt.Errorf("proto: unexpected end of group")
)
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 (
	ErrInvalidLengthJob        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowJob          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupJob = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthParams        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowParams          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupParams = fmt.Errorf("proto: unexpected end of group")
)
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 (
	ErrInvalidLengthRelayWeights        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowRelayWeights          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupRelayWeights = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthRelayWeightsProposal        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowRelayWeightsProposal          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupRelayWeightsProposal = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthRemoveChainProposal        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowRemoveChainProposal          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupRemoveChainProposal = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTreasury        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTreasury          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTreasury = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTurnstone        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTurnstone          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTurnstone = 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 ChainInfo_Status_name = map[int32]string{
	0: "IN_PROPOSAL",
	1: "ACTIVE",
	2: "WAITING_FOR_EVIDENCE",
}
View Source
var ChainInfo_Status_value = map[string]int32{
	"IN_PROPOSAL":          0,
	"ACTIVE":               1,
	"WAITING_FOR_EVIDENCE": 2,
}
View Source
var (
	ErrSample = sdkerrors.Register(ModuleName, 1100, "sample error")
)

x/evm module sentinel errors

View Source
var SmartContractDeployment_ERC20Transfer_Status_name = map[int32]string{
	0: "PENDING",
	1: "OK",
	2: "FAIL",
}
View Source
var SmartContractDeployment_ERC20Transfer_Status_value = map[string]int32{
	"PENDING": 0,
	"OK":      1,
	"FAIL":    2,
}
View Source
var SmartContractDeployment_Status_name = map[int32]string{
	0: "PENDING",
	1: "IN_FLIGHT",
	2: "WAITING_FOR_ERC20_OWNERSHIP_TRANSFER",
}
View Source
var SmartContractDeployment_Status_value = map[string]int32{
	"PENDING":                              0,
	"IN_FLIGHT":                            1,
	"WAITING_FOR_ERC20_OWNERSHIP_TRANSFER": 2,
}

Functions

func KeyPrefix

func KeyPrefix(p string) []byte

func ParamKeyTable

func ParamKeyTable() paramtypes.KeyTable

ParamKeyTable the param key table for launch module

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 TransformValsetToABIValset added in v0.6.0

func TransformValsetToABIValset(val Valset) any

Types

type AccountKeeper

type AccountKeeper interface {
	GetAccount(ctx context.Context, addr sdk.AccAddress) sdk.AccountI
}

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

type AddChainProposal

type AddChainProposal struct {
	Title             string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Description       string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	ChainReferenceID  string `protobuf:"bytes,3,opt,name=chainReferenceID,proto3" json:"chainReferenceID,omitempty"`
	ChainID           uint64 `protobuf:"varint,4,opt,name=chainID,proto3" json:"chainID,omitempty"`
	BlockHeight       uint64 `protobuf:"varint,5,opt,name=blockHeight,proto3" json:"blockHeight,omitempty"`
	BlockHashAtHeight string `protobuf:"bytes,6,opt,name=blockHashAtHeight,proto3" json:"blockHashAtHeight,omitempty"`
	MinOnChainBalance string `protobuf:"bytes,7,opt,name=minOnChainBalance,proto3" json:"minOnChainBalance,omitempty"`
}

func (*AddChainProposal) Descriptor

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

func (*AddChainProposal) GetBlockHashAtHeight

func (m *AddChainProposal) GetBlockHashAtHeight() string

func (*AddChainProposal) GetBlockHeight

func (m *AddChainProposal) GetBlockHeight() uint64

func (*AddChainProposal) GetChainID

func (m *AddChainProposal) GetChainID() uint64

func (*AddChainProposal) GetChainReferenceID

func (m *AddChainProposal) GetChainReferenceID() string

func (*AddChainProposal) GetDescription

func (m *AddChainProposal) GetDescription() string

func (*AddChainProposal) GetMinOnChainBalance added in v0.6.0

func (m *AddChainProposal) GetMinOnChainBalance() string

func (*AddChainProposal) GetTitle

func (m *AddChainProposal) GetTitle() string

func (*AddChainProposal) Marshal

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

func (*AddChainProposal) MarshalTo

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

func (*AddChainProposal) MarshalToSizedBuffer

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

func (*AddChainProposal) ProposalRoute

func (a *AddChainProposal) ProposalRoute() string

func (*AddChainProposal) ProposalType

func (a *AddChainProposal) ProposalType() string

func (*AddChainProposal) ProtoMessage

func (*AddChainProposal) ProtoMessage()

func (*AddChainProposal) Reset

func (m *AddChainProposal) Reset()

func (*AddChainProposal) Size

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

func (*AddChainProposal) String

func (m *AddChainProposal) String() string

func (*AddChainProposal) Unmarshal

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

func (*AddChainProposal) ValidateBasic

func (a *AddChainProposal) ValidateBasic() error

func (*AddChainProposal) XXX_DiscardUnknown

func (m *AddChainProposal) XXX_DiscardUnknown()

func (*AddChainProposal) XXX_Marshal

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

func (*AddChainProposal) XXX_Merge

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

func (*AddChainProposal) XXX_Size

func (m *AddChainProposal) XXX_Size() int

func (*AddChainProposal) XXX_Unmarshal

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

type BankKeeper

type BankKeeper interface {
	SpendableCoins(ctx context.Context, addr sdk.AccAddress) sdk.Coins
}

type ChainInfo

type ChainInfo struct {
	Id                    uint64 `protobuf:"varint,9999,opt,name=id,proto3" json:"id,omitempty"`
	ChainReferenceID      string `protobuf:"bytes,1,opt,name=chainReferenceID,proto3" json:"chainReferenceID,omitempty"`
	ChainID               uint64 `protobuf:"varint,2,opt,name=chainID,proto3" json:"chainID,omitempty"`
	SmartContractUniqueID []byte `protobuf:"bytes,3,opt,name=smartContractUniqueID,proto3" json:"smartContractUniqueID,omitempty"`
	SmartContractAddr     string `protobuf:"bytes,4,opt,name=smartContractAddr,proto3" json:"smartContractAddr,omitempty"`
	// used to verify by pigeons if they are at the correct chain
	ReferenceBlockHeight  uint64           `protobuf:"varint,5,opt,name=referenceBlockHeight,proto3" json:"referenceBlockHeight,omitempty"`
	ReferenceBlockHash    string           `protobuf:"bytes,6,opt,name=referenceBlockHash,proto3" json:"referenceBlockHash,omitempty"`
	Abi                   string           `protobuf:"bytes,7,opt,name=abi,proto3" json:"abi,omitempty"`
	Bytecode              []byte           `protobuf:"bytes,8,opt,name=bytecode,proto3" json:"bytecode,omitempty"`
	ConstructorInput      []byte           `protobuf:"bytes,9,opt,name=constructorInput,proto3" json:"constructorInput,omitempty"`
	Status                ChainInfo_Status `protobuf:"varint,10,opt,name=status,proto3,enum=palomachain.paloma.evm.ChainInfo_Status" json:"status,omitempty"`
	ActiveSmartContractID uint64           `protobuf:"varint,11,opt,name=activeSmartContractID,proto3" json:"activeSmartContractID,omitempty"`
	MinOnChainBalance     string           `protobuf:"bytes,12,opt,name=minOnChainBalance,proto3" json:"minOnChainBalance,omitempty"`
	RelayWeights          *RelayWeights    `protobuf:"bytes,13,opt,name=relayWeights,proto3" json:"relayWeights,omitempty"`
}

func (*ChainInfo) Descriptor

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

func (*ChainInfo) GetAbi

func (m *ChainInfo) GetAbi() string

func (*ChainInfo) GetActiveSmartContractID

func (m *ChainInfo) GetActiveSmartContractID() uint64

func (*ChainInfo) GetBytecode

func (m *ChainInfo) GetBytecode() []byte

func (*ChainInfo) GetChainID

func (m *ChainInfo) GetChainID() uint64

func (*ChainInfo) GetChainReferenceID

func (m *ChainInfo) GetChainReferenceID() string

func (*ChainInfo) GetConstructorInput

func (m *ChainInfo) GetConstructorInput() []byte

func (*ChainInfo) GetId

func (m *ChainInfo) GetId() uint64

func (*ChainInfo) GetMinOnChainBalance added in v0.6.0

func (m *ChainInfo) GetMinOnChainBalance() string

func (*ChainInfo) GetMinOnChainBalanceBigInt added in v0.6.0

func (msg *ChainInfo) GetMinOnChainBalanceBigInt() (*big.Int, error)

func (*ChainInfo) GetReferenceBlockHash

func (m *ChainInfo) GetReferenceBlockHash() string

func (*ChainInfo) GetReferenceBlockHeight

func (m *ChainInfo) GetReferenceBlockHeight() uint64

func (*ChainInfo) GetRelayWeights added in v1.4.0

func (m *ChainInfo) GetRelayWeights() *RelayWeights

func (*ChainInfo) GetSmartContractAddr

func (m *ChainInfo) GetSmartContractAddr() string

func (*ChainInfo) GetSmartContractUniqueID

func (m *ChainInfo) GetSmartContractUniqueID() []byte

func (*ChainInfo) GetStatus

func (m *ChainInfo) GetStatus() ChainInfo_Status

func (*ChainInfo) IsActive

func (msg *ChainInfo) IsActive() bool

func (*ChainInfo) Marshal

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

func (*ChainInfo) MarshalTo

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

func (*ChainInfo) MarshalToSizedBuffer

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

func (*ChainInfo) ProtoMessage

func (*ChainInfo) ProtoMessage()

func (*ChainInfo) Reset

func (m *ChainInfo) Reset()

func (*ChainInfo) Size

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

func (*ChainInfo) String

func (m *ChainInfo) String() string

func (*ChainInfo) Unmarshal

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

func (*ChainInfo) XXX_DiscardUnknown

func (m *ChainInfo) XXX_DiscardUnknown()

func (*ChainInfo) XXX_Marshal

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

func (*ChainInfo) XXX_Merge

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

func (*ChainInfo) XXX_Size

func (m *ChainInfo) XXX_Size() int

func (*ChainInfo) XXX_Unmarshal

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

type ChainInfo_Status

type ChainInfo_Status int32
const (
	ChainInfo_IN_PROPOSAL          ChainInfo_Status = 0
	ChainInfo_ACTIVE               ChainInfo_Status = 1
	ChainInfo_WAITING_FOR_EVIDENCE ChainInfo_Status = 2
)

func (ChainInfo_Status) EnumDescriptor

func (ChainInfo_Status) EnumDescriptor() ([]byte, []int)

func (ChainInfo_Status) String

func (x ChainInfo_Status) String() string

type ChangeMinOnChainBalanceProposal added in v0.8.0

type ChangeMinOnChainBalanceProposal struct {
	Title             string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Description       string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	ChainReferenceID  string `protobuf:"bytes,3,opt,name=chainReferenceID,proto3" json:"chainReferenceID,omitempty"`
	MinOnChainBalance string `protobuf:"bytes,4,opt,name=minOnChainBalance,proto3" json:"minOnChainBalance,omitempty"`
}

func (*ChangeMinOnChainBalanceProposal) Descriptor added in v0.8.0

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

func (*ChangeMinOnChainBalanceProposal) GetChainReferenceID added in v0.8.0

func (m *ChangeMinOnChainBalanceProposal) GetChainReferenceID() string

func (*ChangeMinOnChainBalanceProposal) GetDescription added in v0.8.0

func (m *ChangeMinOnChainBalanceProposal) GetDescription() string

func (*ChangeMinOnChainBalanceProposal) GetMinOnChainBalance added in v0.8.0

func (m *ChangeMinOnChainBalanceProposal) GetMinOnChainBalance() string

func (*ChangeMinOnChainBalanceProposal) GetTitle added in v0.8.0

func (*ChangeMinOnChainBalanceProposal) Marshal added in v0.8.0

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

func (*ChangeMinOnChainBalanceProposal) MarshalTo added in v0.8.0

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

func (*ChangeMinOnChainBalanceProposal) MarshalToSizedBuffer added in v0.8.0

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

func (*ChangeMinOnChainBalanceProposal) ProposalRoute added in v0.8.0

func (a *ChangeMinOnChainBalanceProposal) ProposalRoute() string

func (*ChangeMinOnChainBalanceProposal) ProposalType added in v0.8.0

func (a *ChangeMinOnChainBalanceProposal) ProposalType() string

func (*ChangeMinOnChainBalanceProposal) ProtoMessage added in v0.8.0

func (*ChangeMinOnChainBalanceProposal) ProtoMessage()

func (*ChangeMinOnChainBalanceProposal) Reset added in v0.8.0

func (*ChangeMinOnChainBalanceProposal) Size added in v0.8.0

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

func (*ChangeMinOnChainBalanceProposal) String added in v0.8.0

func (*ChangeMinOnChainBalanceProposal) Unmarshal added in v0.8.0

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

func (*ChangeMinOnChainBalanceProposal) ValidateBasic added in v0.8.0

func (a *ChangeMinOnChainBalanceProposal) ValidateBasic() error

func (*ChangeMinOnChainBalanceProposal) XXX_DiscardUnknown added in v0.8.0

func (m *ChangeMinOnChainBalanceProposal) XXX_DiscardUnknown()

func (*ChangeMinOnChainBalanceProposal) XXX_Marshal added in v0.8.0

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

func (*ChangeMinOnChainBalanceProposal) XXX_Merge added in v0.8.0

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

func (*ChangeMinOnChainBalanceProposal) XXX_Size added in v0.8.0

func (m *ChangeMinOnChainBalanceProposal) XXX_Size() int

func (*ChangeMinOnChainBalanceProposal) XXX_Unmarshal added in v0.8.0

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

type CollectFunds added in v0.10.2

type CollectFunds struct {
	FromBlockHeight uint64 `protobuf:"varint,1,opt,name=fromBlockHeight,proto3" json:"fromBlockHeight,omitempty"`
	ToBlockHeight   uint64 `protobuf:"varint,2,opt,name=toBlockHeight,proto3" json:"toBlockHeight,omitempty"`
	Assignee        string `protobuf:"bytes,3,opt,name=assignee,proto3" json:"assignee,omitempty"`
}

func (*CollectFunds) Descriptor added in v0.10.2

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

func (*CollectFunds) GetAssignee added in v1.4.0

func (m *CollectFunds) GetAssignee() string

func (*CollectFunds) GetFromBlockHeight added in v0.10.2

func (m *CollectFunds) GetFromBlockHeight() uint64

func (*CollectFunds) GetToBlockHeight added in v0.10.2

func (m *CollectFunds) GetToBlockHeight() uint64

func (*CollectFunds) Marshal added in v0.10.2

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

func (*CollectFunds) MarshalTo added in v0.10.2

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

func (*CollectFunds) MarshalToSizedBuffer added in v0.10.2

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

func (*CollectFunds) ProtoMessage added in v0.10.2

func (*CollectFunds) ProtoMessage()

func (*CollectFunds) Reset added in v0.10.2

func (m *CollectFunds) Reset()

func (*CollectFunds) Size added in v0.10.2

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

func (*CollectFunds) String added in v0.10.2

func (m *CollectFunds) String() string

func (*CollectFunds) Unmarshal added in v0.10.2

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

func (*CollectFunds) XXX_DiscardUnknown added in v0.10.2

func (m *CollectFunds) XXX_DiscardUnknown()

func (*CollectFunds) XXX_Marshal added in v0.10.2

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

func (*CollectFunds) XXX_Merge added in v0.10.2

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

func (*CollectFunds) XXX_Size added in v0.10.2

func (m *CollectFunds) XXX_Size() int

func (*CollectFunds) XXX_Unmarshal added in v0.10.2

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

type ConsensusKeeper

type ConsensusKeeper interface {
	PutMessageInQueue(ctx context.Context, queueTypeName string, msg consensus.ConsensusMsg, opts *consensus.PutOptions) (uint64, error)
	RemoveConsensusQueue(ctx context.Context, queueTypeName string) error
	GetMessagesFromQueue(ctx context.Context, queueTypeName string, n int) (msgs []consensustypes.QueuedSignedMessageI, err error)
	DeleteJob(ctx context.Context, queueTypeName string, id uint64) (err error)
}

type DeployNewSmartContractProposal

type DeployNewSmartContractProposal struct {
	Title       string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	AbiJSON     string `protobuf:"bytes,3,opt,name=abiJSON,proto3" json:"abiJSON,omitempty"`
	BytecodeHex string `protobuf:"bytes,4,opt,name=bytecodeHex,proto3" json:"bytecodeHex,omitempty"`
}

func (*DeployNewSmartContractProposal) Bytecode

func (a *DeployNewSmartContractProposal) Bytecode() []byte

func (*DeployNewSmartContractProposal) Descriptor

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

func (*DeployNewSmartContractProposal) GetAbiJSON

func (m *DeployNewSmartContractProposal) GetAbiJSON() string

func (*DeployNewSmartContractProposal) GetBytecodeHex

func (m *DeployNewSmartContractProposal) GetBytecodeHex() string

func (*DeployNewSmartContractProposal) GetDescription

func (m *DeployNewSmartContractProposal) GetDescription() string

func (*DeployNewSmartContractProposal) GetTitle

func (m *DeployNewSmartContractProposal) GetTitle() string

func (*DeployNewSmartContractProposal) Marshal

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

func (*DeployNewSmartContractProposal) MarshalTo

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

func (*DeployNewSmartContractProposal) MarshalToSizedBuffer

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

func (*DeployNewSmartContractProposal) ProposalRoute

func (a *DeployNewSmartContractProposal) ProposalRoute() string

func (*DeployNewSmartContractProposal) ProposalType

func (a *DeployNewSmartContractProposal) ProposalType() string

func (*DeployNewSmartContractProposal) ProtoMessage

func (*DeployNewSmartContractProposal) ProtoMessage()

func (*DeployNewSmartContractProposal) Reset

func (m *DeployNewSmartContractProposal) Reset()

func (*DeployNewSmartContractProposal) Size

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

func (*DeployNewSmartContractProposal) String

func (*DeployNewSmartContractProposal) Unmarshal

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

func (*DeployNewSmartContractProposal) ValidateBasic

func (a *DeployNewSmartContractProposal) ValidateBasic() error

func (*DeployNewSmartContractProposal) XXX_DiscardUnknown

func (m *DeployNewSmartContractProposal) XXX_DiscardUnknown()

func (*DeployNewSmartContractProposal) XXX_Marshal

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

func (*DeployNewSmartContractProposal) XXX_Merge

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

func (*DeployNewSmartContractProposal) XXX_Size

func (m *DeployNewSmartContractProposal) XXX_Size() int

func (*DeployNewSmartContractProposal) XXX_Unmarshal

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

type DeployNewSmartContractResponse added in v1.7.0

type DeployNewSmartContractResponse struct {
}

func (*DeployNewSmartContractResponse) Descriptor added in v1.7.0

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

func (*DeployNewSmartContractResponse) Marshal added in v1.7.0

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

func (*DeployNewSmartContractResponse) MarshalTo added in v1.7.0

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

func (*DeployNewSmartContractResponse) MarshalToSizedBuffer added in v1.7.0

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

func (*DeployNewSmartContractResponse) ProtoMessage added in v1.7.0

func (*DeployNewSmartContractResponse) ProtoMessage()

func (*DeployNewSmartContractResponse) Reset added in v1.7.0

func (m *DeployNewSmartContractResponse) Reset()

func (*DeployNewSmartContractResponse) Size added in v1.7.0

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

func (*DeployNewSmartContractResponse) String added in v1.7.0

func (*DeployNewSmartContractResponse) Unmarshal added in v1.7.0

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

func (*DeployNewSmartContractResponse) XXX_DiscardUnknown added in v1.7.0

func (m *DeployNewSmartContractResponse) XXX_DiscardUnknown()

func (*DeployNewSmartContractResponse) XXX_Marshal added in v1.7.0

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

func (*DeployNewSmartContractResponse) XXX_Merge added in v1.7.0

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

func (*DeployNewSmartContractResponse) XXX_Size added in v1.7.0

func (m *DeployNewSmartContractResponse) XXX_Size() int

func (*DeployNewSmartContractResponse) XXX_Unmarshal added in v1.7.0

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

type ERC20Record added in v1.11.0

type ERC20Record interface {
	GetErc20() string
	GetDenom() string
	GetChainReferenceId() string
}

type FundCollectedEvent added in v0.10.2

type FundCollectedEvent struct {
	JobID       string `protobuf:"bytes,1,opt,name=jobID,proto3" json:"jobID,omitempty"`
	Amount      string `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount,omitempty"`
	Denom       string `protobuf:"bytes,3,opt,name=denom,proto3" json:"denom,omitempty"`
	BlockHeight uint64 `protobuf:"varint,4,opt,name=blockHeight,proto3" json:"blockHeight,omitempty"`
}

func (*FundCollectedEvent) Descriptor added in v0.10.2

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

func (*FundCollectedEvent) GetAmount added in v0.10.2

func (m *FundCollectedEvent) GetAmount() string

func (*FundCollectedEvent) GetBlockHeight added in v0.10.2

func (m *FundCollectedEvent) GetBlockHeight() uint64

func (*FundCollectedEvent) GetDenom added in v0.10.2

func (m *FundCollectedEvent) GetDenom() string

func (*FundCollectedEvent) GetJobID added in v0.10.2

func (m *FundCollectedEvent) GetJobID() string

func (*FundCollectedEvent) Marshal added in v0.10.2

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

func (*FundCollectedEvent) MarshalTo added in v0.10.2

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

func (*FundCollectedEvent) MarshalToSizedBuffer added in v0.10.2

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

func (*FundCollectedEvent) ProtoMessage added in v0.10.2

func (*FundCollectedEvent) ProtoMessage()

func (*FundCollectedEvent) Reset added in v0.10.2

func (m *FundCollectedEvent) Reset()

func (*FundCollectedEvent) Size added in v0.10.2

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

func (*FundCollectedEvent) String added in v0.10.2

func (m *FundCollectedEvent) String() string

func (*FundCollectedEvent) Unmarshal added in v0.10.2

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

func (*FundCollectedEvent) XXX_DiscardUnknown added in v0.10.2

func (m *FundCollectedEvent) XXX_DiscardUnknown()

func (*FundCollectedEvent) XXX_Marshal added in v0.10.2

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

func (*FundCollectedEvent) XXX_Merge added in v0.10.2

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

func (*FundCollectedEvent) XXX_Size added in v0.10.2

func (m *FundCollectedEvent) XXX_Size() int

func (*FundCollectedEvent) XXX_Unmarshal added in v0.10.2

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

type GenesisChainInfo

type GenesisChainInfo struct {
	ChainReferenceID  string        `protobuf:"bytes,1,opt,name=chainReferenceID,proto3" json:"chainReferenceID,omitempty"`
	ChainID           uint64        `protobuf:"varint,2,opt,name=chainID,proto3" json:"chainID,omitempty"`
	BlockHeight       uint64        `protobuf:"varint,3,opt,name=blockHeight,proto3" json:"blockHeight,omitempty"`
	BlockHashAtHeight string        `protobuf:"bytes,4,opt,name=blockHashAtHeight,proto3" json:"blockHashAtHeight,omitempty"`
	MinOnChainBalance string        `protobuf:"bytes,5,opt,name=minOnChainBalance,proto3" json:"minOnChainBalance,omitempty"`
	RelayWeights      *RelayWeights `protobuf:"bytes,6,opt,name=relayWeights,proto3" json:"relayWeights,omitempty"`
}

func (*GenesisChainInfo) Descriptor

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

func (*GenesisChainInfo) GetBlockHashAtHeight

func (m *GenesisChainInfo) GetBlockHashAtHeight() string

func (*GenesisChainInfo) GetBlockHeight

func (m *GenesisChainInfo) GetBlockHeight() uint64

func (*GenesisChainInfo) GetChainID

func (m *GenesisChainInfo) GetChainID() uint64

func (*GenesisChainInfo) GetChainReferenceID

func (m *GenesisChainInfo) GetChainReferenceID() string

func (*GenesisChainInfo) GetMinOnChainBalance added in v0.6.0

func (m *GenesisChainInfo) GetMinOnChainBalance() string

func (*GenesisChainInfo) GetRelayWeights added in v1.4.0

func (m *GenesisChainInfo) GetRelayWeights() *RelayWeights

func (*GenesisChainInfo) Marshal

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

func (*GenesisChainInfo) MarshalTo

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

func (*GenesisChainInfo) MarshalToSizedBuffer

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

func (*GenesisChainInfo) ProtoMessage

func (*GenesisChainInfo) ProtoMessage()

func (*GenesisChainInfo) Reset

func (m *GenesisChainInfo) Reset()

func (*GenesisChainInfo) Size

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

func (*GenesisChainInfo) String

func (m *GenesisChainInfo) String() string

func (*GenesisChainInfo) Unmarshal

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

func (*GenesisChainInfo) XXX_DiscardUnknown

func (m *GenesisChainInfo) XXX_DiscardUnknown()

func (*GenesisChainInfo) XXX_Marshal

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

func (*GenesisChainInfo) XXX_Merge

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

func (*GenesisChainInfo) XXX_Size

func (m *GenesisChainInfo) XXX_Size() int

func (*GenesisChainInfo) XXX_Unmarshal

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

type GenesisSmartContract

type GenesisSmartContract struct {
	AbiJson     string `protobuf:"bytes,1,opt,name=abiJson,proto3" json:"abiJson,omitempty"`
	BytecodeHex string `protobuf:"bytes,2,opt,name=bytecodeHex,proto3" json:"bytecodeHex,omitempty"`
}

func (*GenesisSmartContract) Descriptor

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

func (*GenesisSmartContract) GetAbiJson

func (m *GenesisSmartContract) GetAbiJson() string

func (*GenesisSmartContract) GetBytecodeHex

func (m *GenesisSmartContract) GetBytecodeHex() string

func (*GenesisSmartContract) Marshal

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

func (*GenesisSmartContract) MarshalTo

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

func (*GenesisSmartContract) MarshalToSizedBuffer

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

func (*GenesisSmartContract) ProtoMessage

func (*GenesisSmartContract) ProtoMessage()

func (*GenesisSmartContract) Reset

func (m *GenesisSmartContract) Reset()

func (*GenesisSmartContract) Size

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

func (*GenesisSmartContract) String

func (m *GenesisSmartContract) String() string

func (*GenesisSmartContract) Unmarshal

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

func (*GenesisSmartContract) XXX_DiscardUnknown

func (m *GenesisSmartContract) XXX_DiscardUnknown()

func (*GenesisSmartContract) XXX_Marshal

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

func (*GenesisSmartContract) XXX_Merge

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

func (*GenesisSmartContract) XXX_Size

func (m *GenesisSmartContract) XXX_Size() int

func (*GenesisSmartContract) XXX_Unmarshal

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

type GenesisState

type GenesisState struct {
	Params        Params                `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
	SmartContract *GenesisSmartContract `protobuf:"bytes,2,opt,name=smartContract,proto3" json:"smartContract,omitempty"`
	Chains        []*GenesisChainInfo   `protobuf:"bytes,3,rep,name=chains,proto3" json:"chains,omitempty"`
}

GenesisState defines the evm module's genesis state.

func DefaultGenesis

func DefaultGenesis() *GenesisState

DefaultGenesis returns the default Capability genesis state

func (*GenesisState) Descriptor

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

func (*GenesisState) GetChains

func (m *GenesisState) GetChains() []*GenesisChainInfo

func (*GenesisState) GetParams

func (m *GenesisState) GetParams() Params

func (*GenesisState) GetSmartContract

func (m *GenesisState) GetSmartContract() *GenesisSmartContract

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 GravityKeeper added in v1.10.1

type GravityKeeper interface {
	GetLastObservedEventNonce(ctx context.Context) (uint64, error)
	CastAllERC20ToDenoms(ctx context.Context) ([]ERC20Record, error)
}

type Hashable added in v0.6.0

type Hashable interface {
	BytesToHash() ([]byte, error)
}

type JobDefinition added in v0.10.0

type JobDefinition struct {
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	ABI     string `protobuf:"bytes,2,opt,name=ABI,proto3" json:"ABI,omitempty"`
}

func (*JobDefinition) Descriptor added in v0.10.0

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

func (*JobDefinition) GetABI added in v0.10.0

func (m *JobDefinition) GetABI() string

func (*JobDefinition) GetAddress added in v0.10.0

func (m *JobDefinition) GetAddress() string

func (*JobDefinition) Marshal added in v0.10.0

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

func (*JobDefinition) MarshalTo added in v0.10.0

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

func (*JobDefinition) MarshalToSizedBuffer added in v0.10.0

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

func (*JobDefinition) ProtoMessage added in v0.10.0

func (*JobDefinition) ProtoMessage()

func (*JobDefinition) Reset added in v0.10.0

func (m *JobDefinition) Reset()

func (*JobDefinition) Size added in v0.10.0

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

func (*JobDefinition) String added in v0.10.0

func (m *JobDefinition) String() string

func (*JobDefinition) Unmarshal added in v0.10.0

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

func (*JobDefinition) XXX_DiscardUnknown added in v0.10.0

func (m *JobDefinition) XXX_DiscardUnknown()

func (*JobDefinition) XXX_Marshal added in v0.10.0

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

func (*JobDefinition) XXX_Merge added in v0.10.0

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

func (*JobDefinition) XXX_Size added in v0.10.0

func (m *JobDefinition) XXX_Size() int

func (*JobDefinition) XXX_Unmarshal added in v0.10.0

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

type JobPayload added in v0.10.0

type JobPayload struct {
	HexPayload string `protobuf:"bytes,1,opt,name=hexPayload,proto3" json:"hexPayload,omitempty"`
}

func (*JobPayload) Descriptor added in v0.10.0

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

func (*JobPayload) GetHexPayload added in v0.10.0

func (m *JobPayload) GetHexPayload() string

func (*JobPayload) Marshal added in v0.10.0

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

func (*JobPayload) MarshalTo added in v0.10.0

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

func (*JobPayload) MarshalToSizedBuffer added in v0.10.0

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

func (*JobPayload) ProtoMessage added in v0.10.0

func (*JobPayload) ProtoMessage()

func (*JobPayload) Reset added in v0.10.0

func (m *JobPayload) Reset()

func (*JobPayload) Size added in v0.10.0

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

func (*JobPayload) String added in v0.10.0

func (m *JobPayload) String() string

func (*JobPayload) Unmarshal added in v0.10.0

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

func (*JobPayload) XXX_DiscardUnknown added in v0.10.0

func (m *JobPayload) XXX_DiscardUnknown()

func (*JobPayload) XXX_Marshal added in v0.10.0

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

func (*JobPayload) XXX_Merge added in v0.10.0

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

func (*JobPayload) XXX_Size added in v0.10.0

func (m *JobPayload) XXX_Size() int

func (*JobPayload) XXX_Unmarshal added in v0.10.0

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

type Message

type Message struct {
	TurnstoneID      string `protobuf:"bytes,1,opt,name=turnstoneID,proto3" json:"turnstoneID,omitempty"`
	ChainReferenceID string `protobuf:"bytes,2,opt,name=chainReferenceID,proto3" json:"chainReferenceID,omitempty"`
	// Types that are valid to be assigned to Action:
	//
	//	*Message_SubmitLogicCall
	//	*Message_UpdateValset
	//	*Message_UploadSmartContract
	Action      isMessage_Action `protobuf_oneof:"action"`
	CompassAddr string           `protobuf:"bytes,6,opt,name=compassAddr,proto3" json:"compassAddr,omitempty"`
	Assignee    string           `protobuf:"bytes,7,opt,name=assignee,proto3" json:"assignee,omitempty"`
	// block height at which the message was assinged to the
	// current relayer. Updated when message is reassigned.
	AssignedAtBlockHeight cosmossdk_io_math.Int `` /* 151-byte string literal not displayed */
}

func (*Message) Descriptor

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

func (*Message) GetAction

func (m *Message) GetAction() isMessage_Action

func (*Message) GetAssignee added in v1.4.0

func (m *Message) GetAssignee() string

func (*Message) GetChainReferenceID

func (m *Message) GetChainReferenceID() string

func (*Message) GetCompassAddr

func (m *Message) GetCompassAddr() string

func (*Message) GetSubmitLogicCall

func (m *Message) GetSubmitLogicCall() *SubmitLogicCall

func (*Message) GetTurnstoneID

func (m *Message) GetTurnstoneID() string

func (*Message) GetUpdateValset

func (m *Message) GetUpdateValset() *UpdateValset

func (*Message) GetUploadSmartContract

func (m *Message) GetUploadSmartContract() *UploadSmartContract

func (*Message) Keccak256

func (m *Message) Keccak256(nonce uint64) []byte

func (*Message) Marshal

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

func (*Message) MarshalTo

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

func (*Message) MarshalToSizedBuffer

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

func (*Message) ProtoMessage

func (*Message) ProtoMessage()

func (*Message) Reset

func (m *Message) Reset()

func (*Message) SetAssignee added in v1.10.2

func (m *Message) SetAssignee(ctx sdk.Context, val string)

func (*Message) Size

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

func (*Message) String

func (m *Message) String() string

func (*Message) Unmarshal

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

func (*Message) XXX_DiscardUnknown

func (m *Message) XXX_DiscardUnknown()

func (*Message) XXX_Marshal

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

func (*Message) XXX_Merge

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

func (*Message) XXX_OneofWrappers

func (*Message) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*Message) XXX_Size

func (m *Message) XXX_Size() int

func (*Message) XXX_Unmarshal

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

type Message_SubmitLogicCall

type Message_SubmitLogicCall struct {
	SubmitLogicCall *SubmitLogicCall `protobuf:"bytes,3,opt,name=submitLogicCall,proto3,oneof" json:"submitLogicCall,omitempty"`
}

func (*Message_SubmitLogicCall) MarshalTo

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

func (*Message_SubmitLogicCall) MarshalToSizedBuffer

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

func (*Message_SubmitLogicCall) Size

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

type Message_UpdateValset

type Message_UpdateValset struct {
	UpdateValset *UpdateValset `protobuf:"bytes,4,opt,name=updateValset,proto3,oneof" json:"updateValset,omitempty"`
}

func (*Message_UpdateValset) MarshalTo

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

func (*Message_UpdateValset) MarshalToSizedBuffer

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

func (*Message_UpdateValset) Size

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

type Message_UploadSmartContract

type Message_UploadSmartContract struct {
	UploadSmartContract *UploadSmartContract `protobuf:"bytes,5,opt,name=uploadSmartContract,proto3,oneof" json:"uploadSmartContract,omitempty"`
}

func (*Message_UploadSmartContract) MarshalTo

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

func (*Message_UploadSmartContract) MarshalToSizedBuffer

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

func (*Message_UploadSmartContract) Size

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

type MsgAssigner added in v1.4.0

type MsgAssigner interface {
	PickValidatorForMessage(ctx context.Context, weights *RelayWeights, chainID string, requirements *xchain.JobRequirements) (string, error)
}

type MsgClient

type MsgClient interface {
	DeployNewSmartContract(ctx context.Context, in *MsgDeployNewSmartContractRequest, opts ...grpc.CallOption) (*DeployNewSmartContractResponse, error)
	RemoveSmartContractDeployment(ctx context.Context, in *MsgRemoveSmartContractDeploymentRequest, opts ...grpc.CallOption) (*RemoveSmartContractDeploymentResponse, 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 MsgDeployNewSmartContractRequest added in v1.7.0

type MsgDeployNewSmartContractRequest struct {
	Title       string            `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
	Description string            `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	AbiJSON     string            `protobuf:"bytes,4,opt,name=abiJSON,proto3" json:"abiJSON,omitempty"`
	BytecodeHex string            `protobuf:"bytes,5,opt,name=bytecodeHex,proto3" json:"bytecodeHex,omitempty"`
	Metadata    types.MsgMetadata `protobuf:"bytes,6,opt,name=metadata,proto3" json:"metadata"`
}

func NewMsgDeployNewSmartContractRequest added in v1.7.0

func NewMsgDeployNewSmartContractRequest(creator sdk.AccAddress, title string, description string, abiJSON string, bytecode string) *MsgDeployNewSmartContractRequest

func (*MsgDeployNewSmartContractRequest) Descriptor added in v1.7.0

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

func (*MsgDeployNewSmartContractRequest) GetAbiJSON added in v1.7.0

func (m *MsgDeployNewSmartContractRequest) GetAbiJSON() string

func (*MsgDeployNewSmartContractRequest) GetBytecodeHex added in v1.7.0

func (m *MsgDeployNewSmartContractRequest) GetBytecodeHex() string

func (*MsgDeployNewSmartContractRequest) GetDescription added in v1.7.0

func (m *MsgDeployNewSmartContractRequest) GetDescription() string

func (*MsgDeployNewSmartContractRequest) GetMetadata added in v1.10.0

func (*MsgDeployNewSmartContractRequest) GetSignBytes added in v1.7.0

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

func (*MsgDeployNewSmartContractRequest) GetSigners added in v1.7.0

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

func (*MsgDeployNewSmartContractRequest) GetTitle added in v1.7.0

func (*MsgDeployNewSmartContractRequest) Marshal added in v1.7.0

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

func (*MsgDeployNewSmartContractRequest) MarshalTo added in v1.7.0

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

func (*MsgDeployNewSmartContractRequest) MarshalToSizedBuffer added in v1.7.0

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

func (*MsgDeployNewSmartContractRequest) ProtoMessage added in v1.7.0

func (*MsgDeployNewSmartContractRequest) ProtoMessage()

func (*MsgDeployNewSmartContractRequest) Reset added in v1.7.0

func (*MsgDeployNewSmartContractRequest) Route added in v1.7.0

func (*MsgDeployNewSmartContractRequest) Size added in v1.7.0

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

func (*MsgDeployNewSmartContractRequest) String added in v1.7.0

func (*MsgDeployNewSmartContractRequest) Type added in v1.7.0

func (*MsgDeployNewSmartContractRequest) Unmarshal added in v1.7.0

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

func (*MsgDeployNewSmartContractRequest) ValidateBasic added in v1.7.0

func (msg *MsgDeployNewSmartContractRequest) ValidateBasic() error

func (*MsgDeployNewSmartContractRequest) XXX_DiscardUnknown added in v1.7.0

func (m *MsgDeployNewSmartContractRequest) XXX_DiscardUnknown()

func (*MsgDeployNewSmartContractRequest) XXX_Marshal added in v1.7.0

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

func (*MsgDeployNewSmartContractRequest) XXX_Merge added in v1.7.0

func (*MsgDeployNewSmartContractRequest) XXX_Size added in v1.7.0

func (m *MsgDeployNewSmartContractRequest) XXX_Size() int

func (*MsgDeployNewSmartContractRequest) XXX_Unmarshal added in v1.7.0

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

type MsgRemoveSmartContractDeploymentRequest added in v1.7.0

type MsgRemoveSmartContractDeploymentRequest struct {
	SmartContractID  uint64            `protobuf:"varint,2,opt,name=smartContractID,proto3" json:"smartContractID,omitempty"`
	ChainReferenceID string            `protobuf:"bytes,3,opt,name=chainReferenceID,proto3" json:"chainReferenceID,omitempty"`
	Metadata         types.MsgMetadata `protobuf:"bytes,4,opt,name=metadata,proto3" json:"metadata"`
}

func (*MsgRemoveSmartContractDeploymentRequest) Descriptor added in v1.7.0

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

func (*MsgRemoveSmartContractDeploymentRequest) GetChainReferenceID added in v1.7.0

func (m *MsgRemoveSmartContractDeploymentRequest) GetChainReferenceID() string

func (*MsgRemoveSmartContractDeploymentRequest) GetMetadata added in v1.10.0

func (*MsgRemoveSmartContractDeploymentRequest) GetSigners added in v1.7.0

func (*MsgRemoveSmartContractDeploymentRequest) GetSmartContractID added in v1.7.0

func (m *MsgRemoveSmartContractDeploymentRequest) GetSmartContractID() uint64

func (*MsgRemoveSmartContractDeploymentRequest) Marshal added in v1.7.0

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

func (*MsgRemoveSmartContractDeploymentRequest) MarshalTo added in v1.7.0

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

func (*MsgRemoveSmartContractDeploymentRequest) MarshalToSizedBuffer added in v1.7.0

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

func (*MsgRemoveSmartContractDeploymentRequest) ProtoMessage added in v1.7.0

func (*MsgRemoveSmartContractDeploymentRequest) Reset added in v1.7.0

func (*MsgRemoveSmartContractDeploymentRequest) Size added in v1.7.0

func (*MsgRemoveSmartContractDeploymentRequest) String added in v1.7.0

func (*MsgRemoveSmartContractDeploymentRequest) Unmarshal added in v1.7.0

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

func (*MsgRemoveSmartContractDeploymentRequest) ValidateBasic added in v1.7.0

func (msg *MsgRemoveSmartContractDeploymentRequest) ValidateBasic() error

func (*MsgRemoveSmartContractDeploymentRequest) XXX_DiscardUnknown added in v1.7.0

func (m *MsgRemoveSmartContractDeploymentRequest) XXX_DiscardUnknown()

func (*MsgRemoveSmartContractDeploymentRequest) XXX_Marshal added in v1.7.0

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

func (*MsgRemoveSmartContractDeploymentRequest) XXX_Merge added in v1.7.0

func (*MsgRemoveSmartContractDeploymentRequest) XXX_Size added in v1.7.0

func (*MsgRemoveSmartContractDeploymentRequest) XXX_Unmarshal added in v1.7.0

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

type MsgSender added in v1.4.0

type MsgSender interface {
	SendValsetMsgForChain(ctx context.Context, chainInfo *ChainInfo, valset Valset, assignee string) error
}

type MsgServer

MsgServer is the server API for Msg service.

type Params

type Params struct {
}

Params defines the parameters for the module.

func DefaultParams

func DefaultParams() Params

DefaultParams returns a default set of parameters

func NewParams

func NewParams() Params

NewParams creates a new Params instance

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) ParamSetPairs

func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs

ParamSetPairs get the params.ParamSet

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) Validate

func (p Params) Validate() error

Validate validates the set of params

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 QueryChainsInfosRequest

type QueryChainsInfosRequest struct {
}

func (*QueryChainsInfosRequest) Descriptor

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

func (*QueryChainsInfosRequest) Marshal

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

func (*QueryChainsInfosRequest) MarshalTo

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

func (*QueryChainsInfosRequest) MarshalToSizedBuffer

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

func (*QueryChainsInfosRequest) ProtoMessage

func (*QueryChainsInfosRequest) ProtoMessage()

func (*QueryChainsInfosRequest) Reset

func (m *QueryChainsInfosRequest) Reset()

func (*QueryChainsInfosRequest) Size

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

func (*QueryChainsInfosRequest) String

func (m *QueryChainsInfosRequest) String() string

func (*QueryChainsInfosRequest) Unmarshal

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

func (*QueryChainsInfosRequest) XXX_DiscardUnknown

func (m *QueryChainsInfosRequest) XXX_DiscardUnknown()

func (*QueryChainsInfosRequest) XXX_Marshal

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

func (*QueryChainsInfosRequest) XXX_Merge

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

func (*QueryChainsInfosRequest) XXX_Size

func (m *QueryChainsInfosRequest) XXX_Size() int

func (*QueryChainsInfosRequest) XXX_Unmarshal

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

type QueryChainsInfosResponse

type QueryChainsInfosResponse struct {
	ChainsInfos []*ChainInfo `protobuf:"bytes,1,rep,name=chainsInfos,proto3" json:"chainsInfos,omitempty"`
}

func (*QueryChainsInfosResponse) Descriptor

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

func (*QueryChainsInfosResponse) GetChainsInfos

func (m *QueryChainsInfosResponse) GetChainsInfos() []*ChainInfo

func (*QueryChainsInfosResponse) Marshal

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

func (*QueryChainsInfosResponse) MarshalTo

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

func (*QueryChainsInfosResponse) MarshalToSizedBuffer

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

func (*QueryChainsInfosResponse) ProtoMessage

func (*QueryChainsInfosResponse) ProtoMessage()

func (*QueryChainsInfosResponse) Reset

func (m *QueryChainsInfosResponse) Reset()

func (*QueryChainsInfosResponse) Size

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

func (*QueryChainsInfosResponse) String

func (m *QueryChainsInfosResponse) String() string

func (*QueryChainsInfosResponse) Unmarshal

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

func (*QueryChainsInfosResponse) XXX_DiscardUnknown

func (m *QueryChainsInfosResponse) XXX_DiscardUnknown()

func (*QueryChainsInfosResponse) XXX_Marshal

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

func (*QueryChainsInfosResponse) XXX_Merge

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

func (*QueryChainsInfosResponse) XXX_Size

func (m *QueryChainsInfosResponse) XXX_Size() int

func (*QueryChainsInfosResponse) XXX_Unmarshal

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

type QueryClient

type QueryClient interface {
	// Parameters queries the parameters of the module.
	Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error)
	// Queries a list of GetValsetByID items.
	GetValsetByID(ctx context.Context, in *QueryGetValsetByIDRequest, opts ...grpc.CallOption) (*QueryGetValsetByIDResponse, error)
	// Queries a list of ChainsInfos items.
	ChainsInfos(ctx context.Context, in *QueryChainsInfosRequest, opts ...grpc.CallOption) (*QueryChainsInfosResponse, error)
	// Queries a list of QueryGetSmartContract items.
	QueryGetSmartContract(ctx context.Context, in *QueryGetSmartContractRequest, opts ...grpc.CallOption) (*QueryGetSmartContractResponse, error)
	// Queries a list of QueryGetSmartContractDeployments items.
	QueryGetSmartContractDeployments(ctx context.Context, in *QueryGetSmartContractDeploymentsRequest, opts ...grpc.CallOption) (*QueryGetSmartContractDeploymentsResponse, 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 QueryGetSmartContractDeploymentsRequest added in v0.6.0

type QueryGetSmartContractDeploymentsRequest struct {
}

func (*QueryGetSmartContractDeploymentsRequest) Descriptor added in v0.6.0

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

func (*QueryGetSmartContractDeploymentsRequest) Marshal added in v0.6.0

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

func (*QueryGetSmartContractDeploymentsRequest) MarshalTo added in v0.6.0

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

func (*QueryGetSmartContractDeploymentsRequest) MarshalToSizedBuffer added in v0.6.0

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

func (*QueryGetSmartContractDeploymentsRequest) ProtoMessage added in v0.6.0

func (*QueryGetSmartContractDeploymentsRequest) Reset added in v0.6.0

func (*QueryGetSmartContractDeploymentsRequest) Size added in v0.6.0

func (*QueryGetSmartContractDeploymentsRequest) String added in v0.6.0

func (*QueryGetSmartContractDeploymentsRequest) Unmarshal added in v0.6.0

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

func (*QueryGetSmartContractDeploymentsRequest) XXX_DiscardUnknown added in v0.6.0

func (m *QueryGetSmartContractDeploymentsRequest) XXX_DiscardUnknown()

func (*QueryGetSmartContractDeploymentsRequest) XXX_Marshal added in v0.6.0

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

func (*QueryGetSmartContractDeploymentsRequest) XXX_Merge added in v0.6.0

func (*QueryGetSmartContractDeploymentsRequest) XXX_Size added in v0.6.0

func (*QueryGetSmartContractDeploymentsRequest) XXX_Unmarshal added in v0.6.0

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

type QueryGetSmartContractDeploymentsResponse added in v0.6.0

type QueryGetSmartContractDeploymentsResponse struct {
	Deployments []*SmartContractDeployment `protobuf:"bytes,1,rep,name=deployments,proto3" json:"deployments,omitempty"`
}

func (*QueryGetSmartContractDeploymentsResponse) Descriptor added in v0.6.0

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

func (*QueryGetSmartContractDeploymentsResponse) GetDeployments added in v0.6.0

func (*QueryGetSmartContractDeploymentsResponse) Marshal added in v0.6.0

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

func (*QueryGetSmartContractDeploymentsResponse) MarshalTo added in v0.6.0

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

func (*QueryGetSmartContractDeploymentsResponse) MarshalToSizedBuffer added in v0.6.0

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

func (*QueryGetSmartContractDeploymentsResponse) ProtoMessage added in v0.6.0

func (*QueryGetSmartContractDeploymentsResponse) Reset added in v0.6.0

func (*QueryGetSmartContractDeploymentsResponse) Size added in v0.6.0

func (*QueryGetSmartContractDeploymentsResponse) String added in v0.6.0

func (*QueryGetSmartContractDeploymentsResponse) Unmarshal added in v0.6.0

func (*QueryGetSmartContractDeploymentsResponse) XXX_DiscardUnknown added in v0.6.0

func (m *QueryGetSmartContractDeploymentsResponse) XXX_DiscardUnknown()

func (*QueryGetSmartContractDeploymentsResponse) XXX_Marshal added in v0.6.0

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

func (*QueryGetSmartContractDeploymentsResponse) XXX_Merge added in v0.6.0

func (*QueryGetSmartContractDeploymentsResponse) XXX_Size added in v0.6.0

func (*QueryGetSmartContractDeploymentsResponse) XXX_Unmarshal added in v0.6.0

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

type QueryGetSmartContractRequest added in v0.6.0

type QueryGetSmartContractRequest struct {
	SmartContractID uint64 `protobuf:"varint,1,opt,name=smartContractID,proto3" json:"smartContractID,omitempty"`
}

func (*QueryGetSmartContractRequest) Descriptor added in v0.6.0

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

func (*QueryGetSmartContractRequest) GetSmartContractID added in v0.6.0

func (m *QueryGetSmartContractRequest) GetSmartContractID() uint64

func (*QueryGetSmartContractRequest) Marshal added in v0.6.0

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

func (*QueryGetSmartContractRequest) MarshalTo added in v0.6.0

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

func (*QueryGetSmartContractRequest) MarshalToSizedBuffer added in v0.6.0

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

func (*QueryGetSmartContractRequest) ProtoMessage added in v0.6.0

func (*QueryGetSmartContractRequest) ProtoMessage()

func (*QueryGetSmartContractRequest) Reset added in v0.6.0

func (m *QueryGetSmartContractRequest) Reset()

func (*QueryGetSmartContractRequest) Size added in v0.6.0

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

func (*QueryGetSmartContractRequest) String added in v0.6.0

func (*QueryGetSmartContractRequest) Unmarshal added in v0.6.0

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

func (*QueryGetSmartContractRequest) XXX_DiscardUnknown added in v0.6.0

func (m *QueryGetSmartContractRequest) XXX_DiscardUnknown()

func (*QueryGetSmartContractRequest) XXX_Marshal added in v0.6.0

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

func (*QueryGetSmartContractRequest) XXX_Merge added in v0.6.0

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

func (*QueryGetSmartContractRequest) XXX_Size added in v0.6.0

func (m *QueryGetSmartContractRequest) XXX_Size() int

func (*QueryGetSmartContractRequest) XXX_Unmarshal added in v0.6.0

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

type QueryGetSmartContractResponse added in v0.6.0

type QueryGetSmartContractResponse struct {
	ID       uint64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
	Abi      string `protobuf:"bytes,2,opt,name=abi,proto3" json:"abi,omitempty"`
	Bytecode []byte `protobuf:"bytes,3,opt,name=bytecode,proto3" json:"bytecode,omitempty"`
}

func (*QueryGetSmartContractResponse) Descriptor added in v0.6.0

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

func (*QueryGetSmartContractResponse) GetAbi added in v0.6.0

func (*QueryGetSmartContractResponse) GetBytecode added in v0.6.0

func (m *QueryGetSmartContractResponse) GetBytecode() []byte

func (*QueryGetSmartContractResponse) GetID added in v0.6.0

func (*QueryGetSmartContractResponse) Marshal added in v0.6.0

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

func (*QueryGetSmartContractResponse) MarshalTo added in v0.6.0

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

func (*QueryGetSmartContractResponse) MarshalToSizedBuffer added in v0.6.0

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

func (*QueryGetSmartContractResponse) ProtoMessage added in v0.6.0

func (*QueryGetSmartContractResponse) ProtoMessage()

func (*QueryGetSmartContractResponse) Reset added in v0.6.0

func (m *QueryGetSmartContractResponse) Reset()

func (*QueryGetSmartContractResponse) Size added in v0.6.0

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

func (*QueryGetSmartContractResponse) String added in v0.6.0

func (*QueryGetSmartContractResponse) Unmarshal added in v0.6.0

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

func (*QueryGetSmartContractResponse) XXX_DiscardUnknown added in v0.6.0

func (m *QueryGetSmartContractResponse) XXX_DiscardUnknown()

func (*QueryGetSmartContractResponse) XXX_Marshal added in v0.6.0

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

func (*QueryGetSmartContractResponse) XXX_Merge added in v0.6.0

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

func (*QueryGetSmartContractResponse) XXX_Size added in v0.6.0

func (m *QueryGetSmartContractResponse) XXX_Size() int

func (*QueryGetSmartContractResponse) XXX_Unmarshal added in v0.6.0

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

type QueryGetValsetByIDRequest

type QueryGetValsetByIDRequest struct {
	ValsetID         uint64 `protobuf:"varint,1,opt,name=valsetID,proto3" json:"valsetID,omitempty"`
	ChainReferenceID string `protobuf:"bytes,2,opt,name=chainReferenceID,proto3" json:"chainReferenceID,omitempty"`
}

func (*QueryGetValsetByIDRequest) Descriptor

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

func (*QueryGetValsetByIDRequest) GetChainReferenceID

func (m *QueryGetValsetByIDRequest) GetChainReferenceID() string

func (*QueryGetValsetByIDRequest) GetValsetID

func (m *QueryGetValsetByIDRequest) GetValsetID() uint64

func (*QueryGetValsetByIDRequest) Marshal

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

func (*QueryGetValsetByIDRequest) MarshalTo

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

func (*QueryGetValsetByIDRequest) MarshalToSizedBuffer

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

func (*QueryGetValsetByIDRequest) ProtoMessage

func (*QueryGetValsetByIDRequest) ProtoMessage()

func (*QueryGetValsetByIDRequest) Reset

func (m *QueryGetValsetByIDRequest) Reset()

func (*QueryGetValsetByIDRequest) Size

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

func (*QueryGetValsetByIDRequest) String

func (m *QueryGetValsetByIDRequest) String() string

func (*QueryGetValsetByIDRequest) Unmarshal

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

func (*QueryGetValsetByIDRequest) XXX_DiscardUnknown

func (m *QueryGetValsetByIDRequest) XXX_DiscardUnknown()

func (*QueryGetValsetByIDRequest) XXX_Marshal

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

func (*QueryGetValsetByIDRequest) XXX_Merge

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

func (*QueryGetValsetByIDRequest) XXX_Size

func (m *QueryGetValsetByIDRequest) XXX_Size() int

func (*QueryGetValsetByIDRequest) XXX_Unmarshal

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

type QueryGetValsetByIDResponse

type QueryGetValsetByIDResponse struct {
	Valset *Valset `protobuf:"bytes,1,opt,name=valset,proto3" json:"valset,omitempty"`
}

func (*QueryGetValsetByIDResponse) Descriptor

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

func (*QueryGetValsetByIDResponse) GetValset

func (m *QueryGetValsetByIDResponse) GetValset() *Valset

func (*QueryGetValsetByIDResponse) Marshal

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

func (*QueryGetValsetByIDResponse) MarshalTo

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

func (*QueryGetValsetByIDResponse) MarshalToSizedBuffer

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

func (*QueryGetValsetByIDResponse) ProtoMessage

func (*QueryGetValsetByIDResponse) ProtoMessage()

func (*QueryGetValsetByIDResponse) Reset

func (m *QueryGetValsetByIDResponse) Reset()

func (*QueryGetValsetByIDResponse) Size

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

func (*QueryGetValsetByIDResponse) String

func (m *QueryGetValsetByIDResponse) String() string

func (*QueryGetValsetByIDResponse) Unmarshal

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

func (*QueryGetValsetByIDResponse) XXX_DiscardUnknown

func (m *QueryGetValsetByIDResponse) XXX_DiscardUnknown()

func (*QueryGetValsetByIDResponse) XXX_Marshal

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

func (*QueryGetValsetByIDResponse) XXX_Merge

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

func (*QueryGetValsetByIDResponse) XXX_Size

func (m *QueryGetValsetByIDResponse) XXX_Size() int

func (*QueryGetValsetByIDResponse) XXX_Unmarshal

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

type QueryParamsRequest

type QueryParamsRequest struct {
}

QueryParamsRequest is request type for the Query/Params RPC method.

func (*QueryParamsRequest) Descriptor

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

func (*QueryParamsRequest) Marshal

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

func (*QueryParamsRequest) MarshalTo

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

func (*QueryParamsRequest) MarshalToSizedBuffer

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

func (*QueryParamsRequest) ProtoMessage

func (*QueryParamsRequest) ProtoMessage()

func (*QueryParamsRequest) Reset

func (m *QueryParamsRequest) Reset()

func (*QueryParamsRequest) Size

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

func (*QueryParamsRequest) String

func (m *QueryParamsRequest) String() string

func (*QueryParamsRequest) Unmarshal

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

func (*QueryParamsRequest) XXX_DiscardUnknown

func (m *QueryParamsRequest) XXX_DiscardUnknown()

func (*QueryParamsRequest) XXX_Marshal

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

func (*QueryParamsRequest) XXX_Merge

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

func (*QueryParamsRequest) XXX_Size

func (m *QueryParamsRequest) XXX_Size() int

func (*QueryParamsRequest) XXX_Unmarshal

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

type QueryParamsResponse

type QueryParamsResponse struct {
	// params holds all the parameters of this module.
	Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
}

QueryParamsResponse is response type for the Query/Params RPC method.

func (*QueryParamsResponse) Descriptor

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

func (*QueryParamsResponse) GetParams

func (m *QueryParamsResponse) GetParams() Params

func (*QueryParamsResponse) Marshal

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

func (*QueryParamsResponse) MarshalTo

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

func (*QueryParamsResponse) MarshalToSizedBuffer

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

func (*QueryParamsResponse) ProtoMessage

func (*QueryParamsResponse) ProtoMessage()

func (*QueryParamsResponse) Reset

func (m *QueryParamsResponse) Reset()

func (*QueryParamsResponse) Size

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

func (*QueryParamsResponse) String

func (m *QueryParamsResponse) String() string

func (*QueryParamsResponse) Unmarshal

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

func (*QueryParamsResponse) XXX_DiscardUnknown

func (m *QueryParamsResponse) XXX_DiscardUnknown()

func (*QueryParamsResponse) XXX_Marshal

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

func (*QueryParamsResponse) XXX_Merge

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

func (*QueryParamsResponse) XXX_Size

func (m *QueryParamsResponse) XXX_Size() int

func (*QueryParamsResponse) XXX_Unmarshal

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

type QueryServer

type QueryServer interface {
	// Parameters queries the parameters of the module.
	Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
	// Queries a list of GetValsetByID items.
	GetValsetByID(context.Context, *QueryGetValsetByIDRequest) (*QueryGetValsetByIDResponse, error)
	// Queries a list of ChainsInfos items.
	ChainsInfos(context.Context, *QueryChainsInfosRequest) (*QueryChainsInfosResponse, error)
	// Queries a list of QueryGetSmartContract items.
	QueryGetSmartContract(context.Context, *QueryGetSmartContractRequest) (*QueryGetSmartContractResponse, error)
	// Queries a list of QueryGetSmartContractDeployments items.
	QueryGetSmartContractDeployments(context.Context, *QueryGetSmartContractDeploymentsRequest) (*QueryGetSmartContractDeploymentsResponse, error)
}

QueryServer is the server API for Query service.

type RelayWeights added in v1.4.0

type RelayWeights struct {
	Fee           string `protobuf:"bytes,1,opt,name=fee,proto3" json:"fee,omitempty"`
	Uptime        string `protobuf:"bytes,2,opt,name=uptime,proto3" json:"uptime,omitempty"`
	SuccessRate   string `protobuf:"bytes,3,opt,name=successRate,proto3" json:"successRate,omitempty"`
	ExecutionTime string `protobuf:"bytes,4,opt,name=executionTime,proto3" json:"executionTime,omitempty"`
	FeatureSet    string `protobuf:"bytes,5,opt,name=featureSet,proto3" json:"featureSet,omitempty"`
}

func (*RelayWeights) Descriptor added in v1.4.0

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

func (*RelayWeights) Float64Values added in v1.4.0

func (m *RelayWeights) Float64Values() RelayWeightsFloat64

Float64Values returns the float64Values of our RelayWeight strings. On error, we use 0

func (*RelayWeights) GetExecutionTime added in v1.4.0

func (m *RelayWeights) GetExecutionTime() string

func (*RelayWeights) GetFeatureSet added in v1.7.1

func (m *RelayWeights) GetFeatureSet() string

func (*RelayWeights) GetFee added in v1.4.0

func (m *RelayWeights) GetFee() string

func (*RelayWeights) GetSuccessRate added in v1.4.0

func (m *RelayWeights) GetSuccessRate() string

func (*RelayWeights) GetUptime added in v1.4.0

func (m *RelayWeights) GetUptime() string

func (*RelayWeights) Marshal added in v1.4.0

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

func (*RelayWeights) MarshalTo added in v1.4.0

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

func (*RelayWeights) MarshalToSizedBuffer added in v1.4.0

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

func (*RelayWeights) ProtoMessage added in v1.4.0

func (*RelayWeights) ProtoMessage()

func (*RelayWeights) Reset added in v1.4.0

func (m *RelayWeights) Reset()

func (*RelayWeights) Size added in v1.4.0

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

func (*RelayWeights) String added in v1.4.0

func (m *RelayWeights) String() string

func (*RelayWeights) Unmarshal added in v1.4.0

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

func (*RelayWeights) XXX_DiscardUnknown added in v1.4.0

func (m *RelayWeights) XXX_DiscardUnknown()

func (*RelayWeights) XXX_Marshal added in v1.4.0

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

func (*RelayWeights) XXX_Merge added in v1.4.0

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

func (*RelayWeights) XXX_Size added in v1.4.0

func (m *RelayWeights) XXX_Size() int

func (*RelayWeights) XXX_Unmarshal added in v1.4.0

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

type RelayWeightsFloat64 added in v1.4.0

type RelayWeightsFloat64 struct {
	Fee           float64
	Uptime        float64
	SuccessRate   float64
	ExecutionTime float64
	FeatureSet    float64
}

type RelayWeightsProposal added in v1.4.0

type RelayWeightsProposal struct {
	Title            string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Description      string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	ChainReferenceID string `protobuf:"bytes,3,opt,name=chainReferenceID,proto3" json:"chainReferenceID,omitempty"`
	Fee              string `protobuf:"bytes,4,opt,name=fee,proto3" json:"fee,omitempty"`
	Uptime           string `protobuf:"bytes,5,opt,name=uptime,proto3" json:"uptime,omitempty"`
	SuccessRate      string `protobuf:"bytes,6,opt,name=successRate,proto3" json:"successRate,omitempty"`
	ExecutionTime    string `protobuf:"bytes,7,opt,name=executionTime,proto3" json:"executionTime,omitempty"`
}

func (*RelayWeightsProposal) Descriptor added in v1.4.0

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

func (*RelayWeightsProposal) GetChainReferenceID added in v1.4.0

func (m *RelayWeightsProposal) GetChainReferenceID() string

func (*RelayWeightsProposal) GetDescription added in v1.4.0

func (m *RelayWeightsProposal) GetDescription() string

func (*RelayWeightsProposal) GetExecutionTime added in v1.4.0

func (m *RelayWeightsProposal) GetExecutionTime() string

func (*RelayWeightsProposal) GetFee added in v1.4.0

func (m *RelayWeightsProposal) GetFee() string

func (*RelayWeightsProposal) GetSuccessRate added in v1.4.0

func (m *RelayWeightsProposal) GetSuccessRate() string

func (*RelayWeightsProposal) GetTitle added in v1.4.0

func (m *RelayWeightsProposal) GetTitle() string

func (*RelayWeightsProposal) GetUptime added in v1.4.0

func (m *RelayWeightsProposal) GetUptime() string

func (*RelayWeightsProposal) Marshal added in v1.4.0

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

func (*RelayWeightsProposal) MarshalTo added in v1.4.0

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

func (*RelayWeightsProposal) MarshalToSizedBuffer added in v1.4.0

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

func (*RelayWeightsProposal) ProposalRoute added in v1.4.0

func (a *RelayWeightsProposal) ProposalRoute() string

func (*RelayWeightsProposal) ProposalType added in v1.4.0

func (a *RelayWeightsProposal) ProposalType() string

func (*RelayWeightsProposal) ProtoMessage added in v1.4.0

func (*RelayWeightsProposal) ProtoMessage()

func (*RelayWeightsProposal) Reset added in v1.4.0

func (m *RelayWeightsProposal) Reset()

func (*RelayWeightsProposal) Size added in v1.4.0

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

func (*RelayWeightsProposal) String added in v1.4.0

func (m *RelayWeightsProposal) String() string

func (*RelayWeightsProposal) Unmarshal added in v1.4.0

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

func (*RelayWeightsProposal) ValidateBasic added in v1.4.0

func (a *RelayWeightsProposal) ValidateBasic() error

func (*RelayWeightsProposal) XXX_DiscardUnknown added in v1.4.0

func (m *RelayWeightsProposal) XXX_DiscardUnknown()

func (*RelayWeightsProposal) XXX_Marshal added in v1.4.0

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

func (*RelayWeightsProposal) XXX_Merge added in v1.4.0

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

func (*RelayWeightsProposal) XXX_Size added in v1.4.0

func (m *RelayWeightsProposal) XXX_Size() int

func (*RelayWeightsProposal) XXX_Unmarshal added in v1.4.0

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

type RemoveChainProposal

type RemoveChainProposal struct {
	Title            string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Description      string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	ChainReferenceID string `protobuf:"bytes,3,opt,name=chainReferenceID,proto3" json:"chainReferenceID,omitempty"`
}

func (*RemoveChainProposal) Descriptor

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

func (*RemoveChainProposal) GetChainReferenceID

func (m *RemoveChainProposal) GetChainReferenceID() string

func (*RemoveChainProposal) GetDescription

func (m *RemoveChainProposal) GetDescription() string

func (*RemoveChainProposal) GetTitle

func (m *RemoveChainProposal) GetTitle() string

func (*RemoveChainProposal) Marshal

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

func (*RemoveChainProposal) MarshalTo

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

func (*RemoveChainProposal) MarshalToSizedBuffer

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

func (*RemoveChainProposal) ProposalRoute

func (a *RemoveChainProposal) ProposalRoute() string

func (*RemoveChainProposal) ProposalType

func (a *RemoveChainProposal) ProposalType() string

func (*RemoveChainProposal) ProtoMessage

func (*RemoveChainProposal) ProtoMessage()

func (*RemoveChainProposal) Reset

func (m *RemoveChainProposal) Reset()

func (*RemoveChainProposal) Size

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

func (*RemoveChainProposal) String

func (m *RemoveChainProposal) String() string

func (*RemoveChainProposal) Unmarshal

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

func (*RemoveChainProposal) ValidateBasic

func (a *RemoveChainProposal) ValidateBasic() error

func (*RemoveChainProposal) XXX_DiscardUnknown

func (m *RemoveChainProposal) XXX_DiscardUnknown()

func (*RemoveChainProposal) XXX_Marshal

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

func (*RemoveChainProposal) XXX_Merge

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

func (*RemoveChainProposal) XXX_Size

func (m *RemoveChainProposal) XXX_Size() int

func (*RemoveChainProposal) XXX_Unmarshal

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

type RemoveSmartContractDeploymentResponse added in v1.7.0

type RemoveSmartContractDeploymentResponse struct {
}

func (*RemoveSmartContractDeploymentResponse) Descriptor added in v1.7.0

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

func (*RemoveSmartContractDeploymentResponse) Marshal added in v1.7.0

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

func (*RemoveSmartContractDeploymentResponse) MarshalTo added in v1.7.0

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

func (*RemoveSmartContractDeploymentResponse) MarshalToSizedBuffer added in v1.7.0

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

func (*RemoveSmartContractDeploymentResponse) ProtoMessage added in v1.7.0

func (*RemoveSmartContractDeploymentResponse) ProtoMessage()

func (*RemoveSmartContractDeploymentResponse) Reset added in v1.7.0

func (*RemoveSmartContractDeploymentResponse) Size added in v1.7.0

func (*RemoveSmartContractDeploymentResponse) String added in v1.7.0

func (*RemoveSmartContractDeploymentResponse) Unmarshal added in v1.7.0

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

func (*RemoveSmartContractDeploymentResponse) XXX_DiscardUnknown added in v1.7.0

func (m *RemoveSmartContractDeploymentResponse) XXX_DiscardUnknown()

func (*RemoveSmartContractDeploymentResponse) XXX_Marshal added in v1.7.0

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

func (*RemoveSmartContractDeploymentResponse) XXX_Merge added in v1.7.0

func (*RemoveSmartContractDeploymentResponse) XXX_Size added in v1.7.0

func (*RemoveSmartContractDeploymentResponse) XXX_Unmarshal added in v1.7.0

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

type SchedulerKeeper added in v1.4.0

type SchedulerKeeper interface {
	ScheduleNow(ctx context.Context, jobID string, in []byte, SenderAddress sdk.AccAddress, contractAddress sdk.AccAddress) error
}

type SmartContract

type SmartContract struct {
	Id       uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	AbiJSON  string `protobuf:"bytes,2,opt,name=abiJSON,proto3" json:"abiJSON,omitempty"`
	Bytecode []byte `protobuf:"bytes,3,opt,name=bytecode,proto3" json:"bytecode,omitempty"`
}

func (*SmartContract) Descriptor

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

func (*SmartContract) GetAbiJSON

func (m *SmartContract) GetAbiJSON() string

func (*SmartContract) GetBytecode

func (m *SmartContract) GetBytecode() []byte

func (*SmartContract) GetId

func (m *SmartContract) GetId() uint64

func (*SmartContract) Marshal

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

func (*SmartContract) MarshalTo

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

func (*SmartContract) MarshalToSizedBuffer

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

func (*SmartContract) ProtoMessage

func (*SmartContract) ProtoMessage()

func (*SmartContract) Reset

func (m *SmartContract) Reset()

func (*SmartContract) Size

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

func (*SmartContract) String

func (m *SmartContract) String() string

func (*SmartContract) Unmarshal

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

func (*SmartContract) XXX_DiscardUnknown

func (m *SmartContract) XXX_DiscardUnknown()

func (*SmartContract) XXX_Marshal

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

func (*SmartContract) XXX_Merge

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

func (*SmartContract) XXX_Size

func (m *SmartContract) XXX_Size() int

func (*SmartContract) XXX_Unmarshal

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

type SmartContractDeployment

type SmartContractDeployment struct {
	// which smart contract is getting deployed
	SmartContractID uint64 `protobuf:"varint,1,opt,name=smartContractID,proto3" json:"smartContractID,omitempty"`
	// to which chain info the smart contract is getting deployed to
	ChainReferenceID string `protobuf:"bytes,2,opt,name=chainReferenceID,proto3" json:"chainReferenceID,omitempty"`
	// application level ID which uniquely identifies a deployed smart contract.
	// It's used if we have multiple smart contracts deployed on a same EVM so
	// that the contract can figure out if the message was actually sent for them.
	// (message includes the unique id and smart contract has simple logic to
	// disallow those that to not match)
	UniqueID []byte                         `protobuf:"bytes,3,opt,name=uniqueID,proto3" json:"uniqueID,omitempty"`
	Status   SmartContractDeployment_Status `protobuf:"varint,4,opt,name=status,proto3,enum=palomachain.paloma.evm.SmartContractDeployment_Status" json:"status,omitempty"`
	// A set of transfer records for each ERC20 token that
	// needs the updated smart contract address before Paloma
	// can switch to the new contract.
	Erc20Transfers []SmartContractDeployment_ERC20Transfer `protobuf:"bytes,5,rep,name=erc20transfers,proto3" json:"erc20transfers"`
	// Once deployed, this contains the address of the contract
	// on the remote chain.
	NewSmartContractAddress string `protobuf:"bytes,6,opt,name=newSmartContractAddress,proto3" json:"newSmartContractAddress,omitempty"`
}

func (*SmartContractDeployment) Descriptor

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

func (*SmartContractDeployment) GetChainReferenceID

func (m *SmartContractDeployment) GetChainReferenceID() string

func (*SmartContractDeployment) GetErc20Transfers added in v1.11.0

func (*SmartContractDeployment) GetNewSmartContractAddress added in v1.11.0

func (m *SmartContractDeployment) GetNewSmartContractAddress() string

func (*SmartContractDeployment) GetSmartContractID

func (m *SmartContractDeployment) GetSmartContractID() uint64

func (*SmartContractDeployment) GetStatus added in v1.9.1

func (*SmartContractDeployment) GetUniqueID

func (m *SmartContractDeployment) GetUniqueID() []byte

func (*SmartContractDeployment) Marshal

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

func (*SmartContractDeployment) MarshalTo

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

func (*SmartContractDeployment) MarshalToSizedBuffer

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

func (*SmartContractDeployment) ProtoMessage

func (*SmartContractDeployment) ProtoMessage()

func (*SmartContractDeployment) Reset

func (m *SmartContractDeployment) Reset()

func (*SmartContractDeployment) Size

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

func (*SmartContractDeployment) String

func (m *SmartContractDeployment) String() string

func (*SmartContractDeployment) Unmarshal

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

func (*SmartContractDeployment) XXX_DiscardUnknown

func (m *SmartContractDeployment) XXX_DiscardUnknown()

func (*SmartContractDeployment) XXX_Marshal

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

func (*SmartContractDeployment) XXX_Merge

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

func (*SmartContractDeployment) XXX_Size

func (m *SmartContractDeployment) XXX_Size() int

func (*SmartContractDeployment) XXX_Unmarshal

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

type SmartContractDeployment_ERC20Transfer added in v1.11.0

type SmartContractDeployment_ERC20Transfer struct {
	// Paloma denom of the ERC20 token
	Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"`
	// Address of the ERC20 token on the target chain
	Erc20 string `protobuf:"bytes,2,opt,name=erc20,proto3" json:"erc20,omitempty"`
	// Message ID of the logic call message created in charge of updating the
	// ownership.
	MsgID uint64 `protobuf:"varint,3,opt,name=msgID,proto3" json:"msgID,omitempty"`
	// Current status of the transfer.
	Status SmartContractDeployment_ERC20Transfer_Status `` /* 139-byte string literal not displayed */
}

func (*SmartContractDeployment_ERC20Transfer) Descriptor added in v1.11.0

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

func (*SmartContractDeployment_ERC20Transfer) GetDenom added in v1.11.0

func (*SmartContractDeployment_ERC20Transfer) GetErc20 added in v1.11.0

func (*SmartContractDeployment_ERC20Transfer) GetMsgID added in v1.11.0

func (*SmartContractDeployment_ERC20Transfer) GetStatus added in v1.11.0

func (*SmartContractDeployment_ERC20Transfer) Marshal added in v1.11.0

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

func (*SmartContractDeployment_ERC20Transfer) MarshalTo added in v1.11.0

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

func (*SmartContractDeployment_ERC20Transfer) MarshalToSizedBuffer added in v1.11.0

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

func (*SmartContractDeployment_ERC20Transfer) ProtoMessage added in v1.11.0

func (*SmartContractDeployment_ERC20Transfer) ProtoMessage()

func (*SmartContractDeployment_ERC20Transfer) Reset added in v1.11.0

func (*SmartContractDeployment_ERC20Transfer) Size added in v1.11.0

func (*SmartContractDeployment_ERC20Transfer) String added in v1.11.0

func (*SmartContractDeployment_ERC20Transfer) Unmarshal added in v1.11.0

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

func (*SmartContractDeployment_ERC20Transfer) XXX_DiscardUnknown added in v1.11.0

func (m *SmartContractDeployment_ERC20Transfer) XXX_DiscardUnknown()

func (*SmartContractDeployment_ERC20Transfer) XXX_Marshal added in v1.11.0

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

func (*SmartContractDeployment_ERC20Transfer) XXX_Merge added in v1.11.0

func (*SmartContractDeployment_ERC20Transfer) XXX_Size added in v1.11.0

func (*SmartContractDeployment_ERC20Transfer) XXX_Unmarshal added in v1.11.0

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

type SmartContractDeployment_ERC20Transfer_Status added in v1.11.0

type SmartContractDeployment_ERC20Transfer_Status int32
const (
	// The transfer is still ongoing.
	SmartContractDeployment_ERC20Transfer_PENDING SmartContractDeployment_ERC20Transfer_Status = 0
	// The transfer has finished successfully.
	SmartContractDeployment_ERC20Transfer_OK SmartContractDeployment_ERC20Transfer_Status = 1
	// The transfer has failed and needs to be retried.
	SmartContractDeployment_ERC20Transfer_FAIL SmartContractDeployment_ERC20Transfer_Status = 2
)

func (SmartContractDeployment_ERC20Transfer_Status) EnumDescriptor added in v1.11.0

func (SmartContractDeployment_ERC20Transfer_Status) EnumDescriptor() ([]byte, []int)

func (SmartContractDeployment_ERC20Transfer_Status) String added in v1.11.0

type SmartContractDeployment_Status added in v1.9.1

type SmartContractDeployment_Status int32

Since we need to update ERC20 token ownership to the new compass contract the deployment process is split into three steps: 1. Deploy the contract 2. Transfer ERC20 token ownership to the new contract 3. Set the new contract as current in Paloma The status field gives information on the current state of the deployment.

const (
	SmartContractDeployment_PENDING                              SmartContractDeployment_Status = 0
	SmartContractDeployment_IN_FLIGHT                            SmartContractDeployment_Status = 1
	SmartContractDeployment_WAITING_FOR_ERC20_OWNERSHIP_TRANSFER SmartContractDeployment_Status = 2
)

func (SmartContractDeployment_Status) EnumDescriptor added in v1.9.1

func (SmartContractDeployment_Status) EnumDescriptor() ([]byte, []int)

func (SmartContractDeployment_Status) String added in v1.9.1

type SmartContractExecutionErrorProof added in v0.6.0

type SmartContractExecutionErrorProof struct {
	ErrorMessage string `protobuf:"bytes,1,opt,name=errorMessage,proto3" json:"errorMessage,omitempty"`
}

func (*SmartContractExecutionErrorProof) BytesToHash added in v0.6.0

func (h *SmartContractExecutionErrorProof) BytesToHash() ([]byte, error)

func (*SmartContractExecutionErrorProof) Descriptor added in v0.6.0

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

func (*SmartContractExecutionErrorProof) GetErrorMessage added in v0.6.0

func (m *SmartContractExecutionErrorProof) GetErrorMessage() string

func (*SmartContractExecutionErrorProof) Marshal added in v0.6.0

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

func (*SmartContractExecutionErrorProof) MarshalTo added in v0.6.0

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

func (*SmartContractExecutionErrorProof) MarshalToSizedBuffer added in v0.6.0

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

func (*SmartContractExecutionErrorProof) ProtoMessage added in v0.6.0

func (*SmartContractExecutionErrorProof) ProtoMessage()

func (*SmartContractExecutionErrorProof) Reset added in v0.6.0

func (*SmartContractExecutionErrorProof) Size added in v0.6.0

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

func (*SmartContractExecutionErrorProof) String added in v0.6.0

func (*SmartContractExecutionErrorProof) Unmarshal added in v0.6.0

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

func (*SmartContractExecutionErrorProof) XXX_DiscardUnknown added in v0.6.0

func (m *SmartContractExecutionErrorProof) XXX_DiscardUnknown()

func (*SmartContractExecutionErrorProof) XXX_Marshal added in v0.6.0

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

func (*SmartContractExecutionErrorProof) XXX_Merge added in v0.6.0

func (*SmartContractExecutionErrorProof) XXX_Size added in v0.6.0

func (m *SmartContractExecutionErrorProof) XXX_Size() int

func (*SmartContractExecutionErrorProof) XXX_Unmarshal added in v0.6.0

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

type SubmitLogicCall

type SubmitLogicCall struct {
	HexContractAddress    string                                `protobuf:"bytes,1,opt,name=hexContractAddress,proto3" json:"hexContractAddress,omitempty"`
	Abi                   []byte                                `protobuf:"bytes,2,opt,name=abi,proto3" json:"abi,omitempty"`
	Payload               []byte                                `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload,omitempty"`
	Deadline              int64                                 `protobuf:"varint,4,opt,name=deadline,proto3" json:"deadline,omitempty"`
	SenderAddress         []byte                                `protobuf:"bytes,5,opt,name=senderAddress,proto3" json:"senderAddress,omitempty"`
	ContractAddress       []byte                                `protobuf:"bytes,6,opt,name=contractAddress,proto3" json:"contractAddress,omitempty"`
	ExecutionRequirements SubmitLogicCall_ExecutionRequirements `protobuf:"bytes,7,opt,name=executionRequirements,proto3" json:"executionRequirements"`
	Retries               uint32                                `protobuf:"varint,8,opt,name=retries,proto3" json:"retries,omitempty"`
}

func (*SubmitLogicCall) Descriptor

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

func (*SubmitLogicCall) GetAbi

func (m *SubmitLogicCall) GetAbi() []byte

func (*SubmitLogicCall) GetContractAddress added in v1.1.0

func (m *SubmitLogicCall) GetContractAddress() []byte

func (*SubmitLogicCall) GetDeadline

func (m *SubmitLogicCall) GetDeadline() int64

func (*SubmitLogicCall) GetExecutionRequirements added in v1.7.1

func (m *SubmitLogicCall) GetExecutionRequirements() SubmitLogicCall_ExecutionRequirements

func (*SubmitLogicCall) GetHexContractAddress

func (m *SubmitLogicCall) GetHexContractAddress() string

func (*SubmitLogicCall) GetPayload

func (m *SubmitLogicCall) GetPayload() []byte

func (*SubmitLogicCall) GetRetries added in v1.9.0

func (m *SubmitLogicCall) GetRetries() uint32

func (*SubmitLogicCall) GetSenderAddress added in v1.3.0

func (m *SubmitLogicCall) GetSenderAddress() []byte

func (*SubmitLogicCall) Marshal

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

func (*SubmitLogicCall) MarshalTo

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

func (*SubmitLogicCall) MarshalToSizedBuffer

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

func (*SubmitLogicCall) ProtoMessage

func (*SubmitLogicCall) ProtoMessage()

func (*SubmitLogicCall) Reset

func (m *SubmitLogicCall) Reset()

func (*SubmitLogicCall) Size

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

func (*SubmitLogicCall) String

func (m *SubmitLogicCall) String() string

func (*SubmitLogicCall) Unmarshal

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

func (*SubmitLogicCall) VerifyAgainstTX added in v1.11.0

func (m *SubmitLogicCall) VerifyAgainstTX(tx *ethtypes.Transaction) error

func (*SubmitLogicCall) XXX_DiscardUnknown

func (m *SubmitLogicCall) XXX_DiscardUnknown()

func (*SubmitLogicCall) XXX_Marshal

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

func (*SubmitLogicCall) XXX_Merge

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

func (*SubmitLogicCall) XXX_Size

func (m *SubmitLogicCall) XXX_Size() int

func (*SubmitLogicCall) XXX_Unmarshal

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

type SubmitLogicCall_ExecutionRequirements added in v1.7.1

type SubmitLogicCall_ExecutionRequirements struct {
	EnforceMEVRelay bool `protobuf:"varint,1,opt,name=enforceMEVRelay,proto3" json:"enforceMEVRelay,omitempty"`
}

func (*SubmitLogicCall_ExecutionRequirements) Descriptor added in v1.7.1

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

func (*SubmitLogicCall_ExecutionRequirements) GetEnforceMEVRelay added in v1.7.1

func (m *SubmitLogicCall_ExecutionRequirements) GetEnforceMEVRelay() bool

func (*SubmitLogicCall_ExecutionRequirements) Marshal added in v1.7.1

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

func (*SubmitLogicCall_ExecutionRequirements) MarshalTo added in v1.7.1

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

func (*SubmitLogicCall_ExecutionRequirements) MarshalToSizedBuffer added in v1.7.1

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

func (*SubmitLogicCall_ExecutionRequirements) ProtoMessage added in v1.7.1

func (*SubmitLogicCall_ExecutionRequirements) ProtoMessage()

func (*SubmitLogicCall_ExecutionRequirements) Reset added in v1.7.1

func (*SubmitLogicCall_ExecutionRequirements) Size added in v1.7.1

func (*SubmitLogicCall_ExecutionRequirements) String added in v1.7.1

func (*SubmitLogicCall_ExecutionRequirements) Unmarshal added in v1.7.1

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

func (*SubmitLogicCall_ExecutionRequirements) XXX_DiscardUnknown added in v1.7.1

func (m *SubmitLogicCall_ExecutionRequirements) XXX_DiscardUnknown()

func (*SubmitLogicCall_ExecutionRequirements) XXX_Marshal added in v1.7.1

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

func (*SubmitLogicCall_ExecutionRequirements) XXX_Merge added in v1.7.1

func (*SubmitLogicCall_ExecutionRequirements) XXX_Size added in v1.7.1

func (*SubmitLogicCall_ExecutionRequirements) XXX_Unmarshal added in v1.7.1

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

type TransferERC20Ownership deprecated added in v1.9.1

type TransferERC20Ownership struct {
	SmartContractID   uint64 `protobuf:"varint,1,opt,name=smartContractID,proto3" json:"smartContractID,omitempty"`
	NewCompassAddress []byte `protobuf:"bytes,2,opt,name=newCompassAddress,proto3" json:"newCompassAddress,omitempty"`
}

This is no longer in active use.

Deprecated: Do not use.

func (*TransferERC20Ownership) Descriptor added in v1.9.1

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

func (*TransferERC20Ownership) GetNewCompassAddress added in v1.9.1

func (m *TransferERC20Ownership) GetNewCompassAddress() []byte

func (*TransferERC20Ownership) GetSmartContractID added in v1.9.1

func (m *TransferERC20Ownership) GetSmartContractID() uint64

func (*TransferERC20Ownership) Marshal added in v1.9.1

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

func (*TransferERC20Ownership) MarshalTo added in v1.9.1

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

func (*TransferERC20Ownership) MarshalToSizedBuffer added in v1.9.1

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

func (*TransferERC20Ownership) ProtoMessage added in v1.9.1

func (*TransferERC20Ownership) ProtoMessage()

func (*TransferERC20Ownership) Reset added in v1.9.1

func (m *TransferERC20Ownership) Reset()

func (*TransferERC20Ownership) Size added in v1.9.1

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

func (*TransferERC20Ownership) String added in v1.9.1

func (m *TransferERC20Ownership) String() string

func (*TransferERC20Ownership) Unmarshal added in v1.9.1

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

func (*TransferERC20Ownership) VerifyAgainstTX added in v1.9.1

func (m *TransferERC20Ownership) VerifyAgainstTX(tx *ethtypes.Transaction) error

func (*TransferERC20Ownership) XXX_DiscardUnknown added in v1.9.1

func (m *TransferERC20Ownership) XXX_DiscardUnknown()

func (*TransferERC20Ownership) XXX_Marshal added in v1.9.1

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

func (*TransferERC20Ownership) XXX_Merge added in v1.9.1

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

func (*TransferERC20Ownership) XXX_Size added in v1.9.1

func (m *TransferERC20Ownership) XXX_Size() int

func (*TransferERC20Ownership) XXX_Unmarshal added in v1.9.1

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

type TurnstoneMsg added in v1.4.0

type TurnstoneMsg interface {
	proto.Message
	GetAssignee() string
}

type TxExecutedProof added in v0.6.0

type TxExecutedProof struct {
	SerializedTX []byte `protobuf:"bytes,1,opt,name=serializedTX,proto3" json:"serializedTX,omitempty"`
}

func (*TxExecutedProof) BytesToHash added in v0.6.0

func (h *TxExecutedProof) BytesToHash() ([]byte, error)

func (*TxExecutedProof) Descriptor added in v0.6.0

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

func (*TxExecutedProof) GetSerializedTX added in v0.6.0

func (m *TxExecutedProof) GetSerializedTX() []byte

func (*TxExecutedProof) GetTX added in v0.6.0

func (h *TxExecutedProof) GetTX() (*ethtypes.Transaction, error)

func (*TxExecutedProof) Marshal added in v0.6.0

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

func (*TxExecutedProof) MarshalTo added in v0.6.0

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

func (*TxExecutedProof) MarshalToSizedBuffer added in v0.6.0

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

func (*TxExecutedProof) ProtoMessage added in v0.6.0

func (*TxExecutedProof) ProtoMessage()

func (*TxExecutedProof) Reset added in v0.6.0

func (m *TxExecutedProof) Reset()

func (*TxExecutedProof) Size added in v0.6.0

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

func (*TxExecutedProof) String added in v0.6.0

func (m *TxExecutedProof) String() string

func (*TxExecutedProof) Unmarshal added in v0.6.0

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

func (*TxExecutedProof) XXX_DiscardUnknown added in v0.6.0

func (m *TxExecutedProof) XXX_DiscardUnknown()

func (*TxExecutedProof) XXX_Marshal added in v0.6.0

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

func (*TxExecutedProof) XXX_Merge added in v0.6.0

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

func (*TxExecutedProof) XXX_Size added in v0.6.0

func (m *TxExecutedProof) XXX_Size() int

func (*TxExecutedProof) XXX_Unmarshal added in v0.6.0

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

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer can be embedded to have forward compatible implementations.

func (*UnimplementedMsgServer) DeployNewSmartContract added in v1.7.0

func (*UnimplementedMsgServer) RemoveSmartContractDeployment added in v1.7.0

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) ChainsInfos

func (*UnimplementedQueryServer) GetValsetByID

func (*UnimplementedQueryServer) Params

func (*UnimplementedQueryServer) QueryGetSmartContract added in v0.6.0

func (*UnimplementedQueryServer) QueryGetSmartContractDeployments added in v0.6.0

type UpdateValset

type UpdateValset struct {
	Valset *Valset `protobuf:"bytes,1,opt,name=valset,proto3" json:"valset,omitempty"`
}

func (*UpdateValset) Descriptor

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

func (*UpdateValset) GetValset

func (m *UpdateValset) GetValset() *Valset

func (*UpdateValset) Marshal

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

func (*UpdateValset) MarshalTo

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

func (*UpdateValset) MarshalToSizedBuffer

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

func (*UpdateValset) ProtoMessage

func (*UpdateValset) ProtoMessage()

func (*UpdateValset) Reset

func (m *UpdateValset) Reset()

func (*UpdateValset) Size

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

func (*UpdateValset) String

func (m *UpdateValset) String() string

func (*UpdateValset) Unmarshal

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

func (*UpdateValset) VerifyAgainstTX added in v0.6.0

func (m *UpdateValset) VerifyAgainstTX(tx *ethtypes.Transaction, smartContract *SmartContract) error

func (*UpdateValset) XXX_DiscardUnknown

func (m *UpdateValset) XXX_DiscardUnknown()

func (*UpdateValset) XXX_Marshal

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

func (*UpdateValset) XXX_Merge

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

func (*UpdateValset) XXX_Size

func (m *UpdateValset) XXX_Size() int

func (*UpdateValset) XXX_Unmarshal

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

type UploadSmartContract

type UploadSmartContract struct {
	Bytecode         []byte `protobuf:"bytes,1,opt,name=bytecode,proto3" json:"bytecode,omitempty"`
	Abi              string `protobuf:"bytes,2,opt,name=abi,proto3" json:"abi,omitempty"`
	ConstructorInput []byte `protobuf:"bytes,3,opt,name=constructorInput,proto3" json:"constructorInput,omitempty"`
	Id               uint64 `protobuf:"varint,4,opt,name=id,proto3" json:"id,omitempty"`
}

func (*UploadSmartContract) Descriptor

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

func (*UploadSmartContract) GetAbi

func (m *UploadSmartContract) GetAbi() string

func (*UploadSmartContract) GetBytecode

func (m *UploadSmartContract) GetBytecode() []byte

func (*UploadSmartContract) GetConstructorInput

func (m *UploadSmartContract) GetConstructorInput() []byte

func (*UploadSmartContract) GetId

func (m *UploadSmartContract) GetId() uint64

func (*UploadSmartContract) Marshal

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

func (*UploadSmartContract) MarshalTo

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

func (*UploadSmartContract) MarshalToSizedBuffer

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

func (*UploadSmartContract) ProtoMessage

func (*UploadSmartContract) ProtoMessage()

func (*UploadSmartContract) Reset

func (m *UploadSmartContract) Reset()

func (*UploadSmartContract) Size

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

func (*UploadSmartContract) String

func (m *UploadSmartContract) String() string

func (*UploadSmartContract) Unmarshal

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

func (*UploadSmartContract) VerifyAgainstTX added in v0.6.0

func (m *UploadSmartContract) VerifyAgainstTX(tx *ethtypes.Transaction) error

func (*UploadSmartContract) XXX_DiscardUnknown

func (m *UploadSmartContract) XXX_DiscardUnknown()

func (*UploadSmartContract) XXX_Marshal

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

func (*UploadSmartContract) XXX_Merge

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

func (*UploadSmartContract) XXX_Size

func (m *UploadSmartContract) XXX_Size() int

func (*UploadSmartContract) XXX_Unmarshal

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

type ValidatorBalancesAttestation added in v0.6.0

type ValidatorBalancesAttestation struct {
	HexAddresses  []string                                        `protobuf:"bytes,1,rep,name=hexAddresses,proto3" json:"hexAddresses,omitempty"`
	ValAddresses  []github_com_cosmos_cosmos_sdk_types.ValAddress `` /* 132-byte string literal not displayed */
	FromBlockTime time.Time                                       `protobuf:"bytes,3,opt,name=fromBlockTime,proto3,stdtime" json:"fromBlockTime"`
	Assignee      string                                          `protobuf:"bytes,7,opt,name=assignee,proto3" json:"assignee,omitempty"`
}

func (*ValidatorBalancesAttestation) Descriptor added in v0.6.0

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

func (*ValidatorBalancesAttestation) GetAssignee added in v1.4.0

func (m *ValidatorBalancesAttestation) GetAssignee() string

func (*ValidatorBalancesAttestation) GetFromBlockTime added in v0.6.0

func (m *ValidatorBalancesAttestation) GetFromBlockTime() time.Time

func (*ValidatorBalancesAttestation) GetHexAddresses added in v0.6.0

func (m *ValidatorBalancesAttestation) GetHexAddresses() []string

func (*ValidatorBalancesAttestation) GetValAddresses added in v0.6.0

func (*ValidatorBalancesAttestation) Keccak256 added in v0.6.0

func (m *ValidatorBalancesAttestation) Keccak256(nonce uint64) []byte

func (*ValidatorBalancesAttestation) Marshal added in v0.6.0

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

func (*ValidatorBalancesAttestation) MarshalTo added in v0.6.0

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

func (*ValidatorBalancesAttestation) MarshalToSizedBuffer added in v0.6.0

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

func (*ValidatorBalancesAttestation) ProtoMessage added in v0.6.0

func (*ValidatorBalancesAttestation) ProtoMessage()

func (*ValidatorBalancesAttestation) Reset added in v0.6.0

func (m *ValidatorBalancesAttestation) Reset()

func (*ValidatorBalancesAttestation) Size added in v0.6.0

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

func (*ValidatorBalancesAttestation) String added in v0.6.0

func (*ValidatorBalancesAttestation) Unmarshal added in v0.6.0

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

func (*ValidatorBalancesAttestation) XXX_DiscardUnknown added in v0.6.0

func (m *ValidatorBalancesAttestation) XXX_DiscardUnknown()

func (*ValidatorBalancesAttestation) XXX_Marshal added in v0.6.0

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

func (*ValidatorBalancesAttestation) XXX_Merge added in v0.6.0

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

func (*ValidatorBalancesAttestation) XXX_Size added in v0.6.0

func (m *ValidatorBalancesAttestation) XXX_Size() int

func (*ValidatorBalancesAttestation) XXX_Unmarshal added in v0.6.0

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

type ValidatorBalancesAttestationRes added in v0.6.0

type ValidatorBalancesAttestationRes struct {
	BlockHeight uint64   `protobuf:"varint,1,opt,name=blockHeight,proto3" json:"blockHeight,omitempty"`
	Balances    []string `protobuf:"bytes,2,rep,name=balances,proto3" json:"balances,omitempty"`
}

func (*ValidatorBalancesAttestationRes) BytesToHash added in v0.6.0

func (h *ValidatorBalancesAttestationRes) BytesToHash() ([]byte, error)

func (*ValidatorBalancesAttestationRes) Descriptor added in v0.6.0

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

func (*ValidatorBalancesAttestationRes) GetBalances added in v0.6.0

func (m *ValidatorBalancesAttestationRes) GetBalances() []string

func (*ValidatorBalancesAttestationRes) GetBlockHeight added in v0.6.0

func (m *ValidatorBalancesAttestationRes) GetBlockHeight() uint64

func (*ValidatorBalancesAttestationRes) Marshal added in v0.6.0

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

func (*ValidatorBalancesAttestationRes) MarshalTo added in v0.6.0

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

func (*ValidatorBalancesAttestationRes) MarshalToSizedBuffer added in v0.6.0

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

func (*ValidatorBalancesAttestationRes) ProtoMessage added in v0.6.0

func (*ValidatorBalancesAttestationRes) ProtoMessage()

func (*ValidatorBalancesAttestationRes) Reset added in v0.6.0

func (*ValidatorBalancesAttestationRes) Size added in v0.6.0

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

func (*ValidatorBalancesAttestationRes) String added in v0.6.0

func (*ValidatorBalancesAttestationRes) Unmarshal added in v0.6.0

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

func (*ValidatorBalancesAttestationRes) XXX_DiscardUnknown added in v0.6.0

func (m *ValidatorBalancesAttestationRes) XXX_DiscardUnknown()

func (*ValidatorBalancesAttestationRes) XXX_Marshal added in v0.6.0

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

func (*ValidatorBalancesAttestationRes) XXX_Merge added in v0.6.0

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

func (*ValidatorBalancesAttestationRes) XXX_Size added in v0.6.0

func (m *ValidatorBalancesAttestationRes) XXX_Size() int

func (*ValidatorBalancesAttestationRes) XXX_Unmarshal added in v0.6.0

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

type Valset

type Valset struct {
	// hex addresses on the EVM network
	Validators []string `protobuf:"bytes,1,rep,name=validators,proto3" json:"validators,omitempty"`
	Powers     []uint64 `protobuf:"varint,2,rep,packed,name=powers,proto3" json:"powers,omitempty"`
	ValsetID   uint64   `protobuf:"varint,3,opt,name=valsetID,proto3" json:"valsetID,omitempty"`
}

func (*Valset) Descriptor

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

func (*Valset) GetPowers

func (m *Valset) GetPowers() []uint64

func (*Valset) GetValidators

func (m *Valset) GetValidators() []string

func (*Valset) GetValsetID

func (m *Valset) GetValsetID() uint64

func (*Valset) Marshal

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

func (*Valset) MarshalTo

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

func (*Valset) MarshalToSizedBuffer

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

func (*Valset) ProtoMessage

func (*Valset) ProtoMessage()

func (*Valset) Reset

func (m *Valset) Reset()

func (*Valset) Size

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

func (*Valset) String

func (m *Valset) String() string

func (*Valset) Unmarshal

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

func (*Valset) XXX_DiscardUnknown

func (m *Valset) XXX_DiscardUnknown()

func (*Valset) XXX_Marshal

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

func (*Valset) XXX_Merge

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

func (*Valset) XXX_Size

func (m *Valset) XXX_Size() int

func (*Valset) XXX_Unmarshal

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

type ValsetKeeper

type ValsetKeeper interface {
	FindSnapshotByID(ctx context.Context, id uint64) (*valsettypes.Snapshot, error)
	GetCurrentSnapshot(ctx context.Context) (*valsettypes.Snapshot, error)
	SetSnapshotOnChain(ctx context.Context, snapshotID uint64, chainReferenceID string) error
	GetLatestSnapshotOnChain(ctx context.Context, chainReferenceID string) (*valsettypes.Snapshot, error)
	KeepValidatorAlive(ctx context.Context, valAddr sdk.ValAddress, pigeonVersion string) error
	Jail(ctx context.Context, valAddr sdk.ValAddress, reason string) error
	IsJailed(ctx context.Context, val sdk.ValAddress) (bool, error)
	SetValidatorBalance(ctx context.Context, valAddr sdk.ValAddress, chainType string, chainReferenceID string, externalAddress string, balance *big.Int) error
	GetValidatorChainInfos(ctx context.Context, valAddr sdk.ValAddress) ([]*valsettypes.ExternalChainInfo, error)
	GetAllChainInfos(ctx context.Context) ([]*valsettypes.ValidatorExternalAccounts, error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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