types

package
v2.4.0 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2024 License: Apache-2.0 Imports: 55 Imported by: 0

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"
	ProposalTypeSetFeeManagerAddress      = "EVMProposalSetFeeManagerAddress"
	ProposalTypeSetSmartContractDeployers = "EVMProposalSetSmartContractDeployers"
)
View Source
const (
	JailReasonNotEnoughFunds = "not enough funds in the target chain (%s). Has %s. Min required: %s."
	JailReasonInvalidBalance = "invalid balance information in the target chain (%s): %s."
)
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"

	UserSmartContractStoreKeyPrefix = "user-smart-contract"
)
View Source
const (
	AttestingUpdateValsetRemoveOldMessagesKey string = "AttestingUpdateValsetRemoveOldMessages"
)
View Source
const ConsensusTurnstoneMessage = "evm-turnstone-message"
View Source
const DefaultIndex uint64 = 1

DefaultIndex is the default capability global index

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 (
	ErrSample  = sdkerrors.Register(ModuleName, 1100, "sample error")
	ErrInvalid = sdkerrors.Register(ModuleName, 1200, "invalid")
)

x/evm module sentinel errors

View Source
var (
	ErrEthTxNotVerified = whoops.String("transaction not verified")
	ErrEthTxFailed      = whoops.String("transaction failed to execute")
	ErrInvalidBalance   = whoops.Errorf("invalid balance: %s")
)
View Source
var (
	ErrInvalidLengthEvmReferenceBlockAttestation        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowEvmReferenceBlockAttestation          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupEvmReferenceBlockAttestation = fmt.Errorf("proto: unexpected end of group")
)
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 (
	ErrInvalidLengthSetFeeMgrProposal        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowSetFeeMgrProposal          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupSetFeeMgrProposal = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthSetSmartContractDeployersProposal        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowSetSmartContractDeployersProposal          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupSetSmartContractDeployersProposal = 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 (
	ErrInvalidLengthUserSmartContract        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowUserSmartContract          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupUserSmartContract = 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 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,
}
View Source
var UserSmartContract_Deployment_Status_name = map[int32]string{
	0: "PENDING",
	1: "IN_FLIGHT",
	2: "ACTIVE",
	3: "ERROR",
}
View Source
var UserSmartContract_Deployment_Status_value = map[string]int32{
	"PENDING":   0,
	"IN_FLIGHT": 1,
	"ACTIVE":    2,
	"ERROR":     3,
}

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)

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

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"`
	FeeManagerAddr            string           `protobuf:"bytes,14,opt,name=feeManagerAddr,proto3" json:"feeManagerAddr,omitempty"`
	SmartContractDeployerAddr string           `protobuf:"bytes,15,opt,name=smartContractDeployerAddr,proto3" json:"smartContractDeployerAddr,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) GetFeeManagerAddr

func (m *ChainInfo) GetFeeManagerAddr() string

func (*ChainInfo) GetId

func (m *ChainInfo) GetId() uint64

func (*ChainInfo) GetMinOnChainBalance

func (m *ChainInfo) GetMinOnChainBalance() string

func (*ChainInfo) GetMinOnChainBalanceBigInt

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

func (m *ChainInfo) GetRelayWeights() *RelayWeights

func (*ChainInfo) GetSmartContractAddr

func (m *ChainInfo) GetSmartContractAddr() string

func (*ChainInfo) GetSmartContractDeployerAddr

func (m *ChainInfo) GetSmartContractDeployerAddr() 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

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

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

func (*ChangeMinOnChainBalanceProposal) GetChainReferenceID

func (m *ChangeMinOnChainBalanceProposal) GetChainReferenceID() string

func (*ChangeMinOnChainBalanceProposal) GetDescription

func (m *ChangeMinOnChainBalanceProposal) GetDescription() string

func (*ChangeMinOnChainBalanceProposal) GetMinOnChainBalance

func (m *ChangeMinOnChainBalanceProposal) GetMinOnChainBalance() string

func (*ChangeMinOnChainBalanceProposal) GetTitle

func (*ChangeMinOnChainBalanceProposal) Marshal

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

func (*ChangeMinOnChainBalanceProposal) MarshalTo

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

func (*ChangeMinOnChainBalanceProposal) MarshalToSizedBuffer

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

func (*ChangeMinOnChainBalanceProposal) ProposalRoute

func (a *ChangeMinOnChainBalanceProposal) ProposalRoute() string

func (*ChangeMinOnChainBalanceProposal) ProposalType

func (a *ChangeMinOnChainBalanceProposal) ProposalType() string

func (*ChangeMinOnChainBalanceProposal) ProtoMessage

func (*ChangeMinOnChainBalanceProposal) ProtoMessage()

func (*ChangeMinOnChainBalanceProposal) Reset

func (*ChangeMinOnChainBalanceProposal) Size

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

func (*ChangeMinOnChainBalanceProposal) String

func (*ChangeMinOnChainBalanceProposal) Unmarshal

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

func (*ChangeMinOnChainBalanceProposal) ValidateBasic

func (a *ChangeMinOnChainBalanceProposal) ValidateBasic() error

func (*ChangeMinOnChainBalanceProposal) XXX_DiscardUnknown

func (m *ChangeMinOnChainBalanceProposal) XXX_DiscardUnknown()

func (*ChangeMinOnChainBalanceProposal) XXX_Marshal

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

func (*ChangeMinOnChainBalanceProposal) XXX_Merge

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

func (*ChangeMinOnChainBalanceProposal) XXX_Size

func (m *ChangeMinOnChainBalanceProposal) XXX_Size() int

func (*ChangeMinOnChainBalanceProposal) XXX_Unmarshal

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

type CollectFunds

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

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

func (*CollectFunds) GetAssignee

func (m *CollectFunds) GetAssignee() string

func (*CollectFunds) GetFromBlockHeight

func (m *CollectFunds) GetFromBlockHeight() uint64

func (*CollectFunds) GetToBlockHeight

func (m *CollectFunds) GetToBlockHeight() uint64

func (*CollectFunds) Marshal

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

func (*CollectFunds) MarshalTo

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

func (*CollectFunds) MarshalToSizedBuffer

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

func (*CollectFunds) ProtoMessage

func (*CollectFunds) ProtoMessage()

func (*CollectFunds) Reset

func (m *CollectFunds) Reset()

func (*CollectFunds) Size

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

func (*CollectFunds) String

func (m *CollectFunds) String() string

func (*CollectFunds) Unmarshal

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

func (*CollectFunds) XXX_DiscardUnknown

func (m *CollectFunds) XXX_DiscardUnknown()

func (*CollectFunds) XXX_Marshal

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

func (*CollectFunds) XXX_Merge

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

func (*CollectFunds) XXX_Size

func (m *CollectFunds) XXX_Size() int

func (*CollectFunds) XXX_Unmarshal

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

type CompassConsensus

type CompassConsensus struct {
	Valset     CompassValset
	Signatures []Signature
	// contains filtered or unexported fields
}

func BuildCompassConsensus

func BuildCompassConsensus(
	v *Valset,
	signatures []*consensustypes.SignData,
) CompassConsensus

type CompassHandover

type CompassHandover struct {
	ForwardCallArgs []CompassHandover_ForwardCallArgs `protobuf:"bytes,1,rep,name=forwardCallArgs,proto3" json:"forwardCallArgs"`
	Deadline        int64                             `protobuf:"varint,2,opt,name=deadline,proto3" json:"deadline,omitempty"`
	// Contains ID of the new smart contract
	Id uint64 `protobuf:"varint,3,opt,name=id,proto3" json:"id,omitempty"`
}

func (*CompassHandover) Descriptor

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

func (*CompassHandover) GetDeadline

func (m *CompassHandover) GetDeadline() int64

func (*CompassHandover) GetForwardCallArgs

func (m *CompassHandover) GetForwardCallArgs() []CompassHandover_ForwardCallArgs

func (*CompassHandover) GetId

func (m *CompassHandover) GetId() uint64

func (*CompassHandover) Marshal

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

func (*CompassHandover) MarshalTo

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

func (*CompassHandover) MarshalToSizedBuffer

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

func (*CompassHandover) ProtoMessage

func (*CompassHandover) ProtoMessage()

func (*CompassHandover) Reset

func (m *CompassHandover) Reset()

func (*CompassHandover) Size

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

func (*CompassHandover) String

func (m *CompassHandover) String() string

func (*CompassHandover) Unmarshal

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

func (*CompassHandover) VerifyAgainstTX

func (m *CompassHandover) VerifyAgainstTX(
	ctx context.Context,
	tx *ethtypes.Transaction,
	msg consensustypes.QueuedSignedMessageI,
	valset *Valset,
	compass *SmartContract,
	relayer string,
) error

func (*CompassHandover) XXX_DiscardUnknown

func (m *CompassHandover) XXX_DiscardUnknown()

func (*CompassHandover) XXX_Marshal

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

func (*CompassHandover) XXX_Merge

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

func (*CompassHandover) XXX_Size

func (m *CompassHandover) XXX_Size() int

func (*CompassHandover) XXX_Unmarshal

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

type CompassHandover_ForwardCallArgs

type CompassHandover_ForwardCallArgs struct {
	HexContractAddress string `protobuf:"bytes,1,opt,name=hexContractAddress,proto3" json:"hexContractAddress,omitempty"`
	Payload            []byte `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"`
}

func (*CompassHandover_ForwardCallArgs) Descriptor

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

func (*CompassHandover_ForwardCallArgs) GetHexContractAddress

func (m *CompassHandover_ForwardCallArgs) GetHexContractAddress() string

func (*CompassHandover_ForwardCallArgs) GetPayload

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

func (*CompassHandover_ForwardCallArgs) Marshal

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

func (*CompassHandover_ForwardCallArgs) MarshalTo

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

func (*CompassHandover_ForwardCallArgs) MarshalToSizedBuffer

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

func (*CompassHandover_ForwardCallArgs) ProtoMessage

func (*CompassHandover_ForwardCallArgs) ProtoMessage()

func (*CompassHandover_ForwardCallArgs) Reset

func (*CompassHandover_ForwardCallArgs) Size

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

func (*CompassHandover_ForwardCallArgs) String

func (*CompassHandover_ForwardCallArgs) Unmarshal

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

func (*CompassHandover_ForwardCallArgs) XXX_DiscardUnknown

func (m *CompassHandover_ForwardCallArgs) XXX_DiscardUnknown()

func (*CompassHandover_ForwardCallArgs) XXX_Marshal

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

func (*CompassHandover_ForwardCallArgs) XXX_Merge

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

func (*CompassHandover_ForwardCallArgs) XXX_Size

func (m *CompassHandover_ForwardCallArgs) XXX_Size() int

func (*CompassHandover_ForwardCallArgs) XXX_Unmarshal

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

type CompassLogicCallArgs

type CompassLogicCallArgs struct {
	LogicContractAddress common.Address
	Payload              []byte
}

type CompassValset

type CompassValset struct {
	ValsetId   *big.Int
	Validators []common.Address
	Powers     []*big.Int
}

func TransformValsetToCompassValset

func TransformValsetToCompassValset(val *Valset) CompassValset

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 ERC20Record

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

type FeeArgs

type FeeArgs struct {
	RelayerFee            *big.Int
	CommunityFee          *big.Int
	SecurityFee           *big.Int
	FeePayerPalomaAddress [32]byte
}

type FeePayer

type FeePayer interface {
	SetFees(fees *Fees)
}

type Fees

type Fees struct {
	RelayerFee   uint64 `protobuf:"varint,1,opt,name=relayerFee,proto3" json:"relayerFee,omitempty"`
	CommunityFee uint64 `protobuf:"varint,2,opt,name=communityFee,proto3" json:"communityFee,omitempty"`
	SecurityFee  uint64 `protobuf:"varint,3,opt,name=securityFee,proto3" json:"securityFee,omitempty"`
}

func (*Fees) Descriptor

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

func (*Fees) GetCommunityFee

func (m *Fees) GetCommunityFee() uint64

func (*Fees) GetRelayerFee

func (m *Fees) GetRelayerFee() uint64

func (*Fees) GetSecurityFee

func (m *Fees) GetSecurityFee() uint64

func (*Fees) Marshal

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

func (*Fees) MarshalTo

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

func (*Fees) MarshalToSizedBuffer

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

func (*Fees) ProtoMessage

func (*Fees) ProtoMessage()

func (*Fees) Reset

func (m *Fees) Reset()

func (*Fees) Size

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

func (*Fees) String

func (m *Fees) String() string

func (*Fees) Unmarshal

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

func (*Fees) XXX_DiscardUnknown

func (m *Fees) XXX_DiscardUnknown()

func (*Fees) XXX_Marshal

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

func (*Fees) XXX_Merge

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

func (*Fees) XXX_Size

func (m *Fees) XXX_Size() int

func (*Fees) XXX_Unmarshal

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

type FundCollectedEvent

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

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

func (*FundCollectedEvent) GetAmount

func (m *FundCollectedEvent) GetAmount() string

func (*FundCollectedEvent) GetBlockHeight

func (m *FundCollectedEvent) GetBlockHeight() uint64

func (*FundCollectedEvent) GetDenom

func (m *FundCollectedEvent) GetDenom() string

func (*FundCollectedEvent) GetJobID

func (m *FundCollectedEvent) GetJobID() string

func (*FundCollectedEvent) Marshal

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

func (*FundCollectedEvent) MarshalTo

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

func (*FundCollectedEvent) MarshalToSizedBuffer

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

func (*FundCollectedEvent) ProtoMessage

func (*FundCollectedEvent) ProtoMessage()

func (*FundCollectedEvent) Reset

func (m *FundCollectedEvent) Reset()

func (*FundCollectedEvent) Size

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

func (*FundCollectedEvent) String

func (m *FundCollectedEvent) String() string

func (*FundCollectedEvent) Unmarshal

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

func (*FundCollectedEvent) XXX_DiscardUnknown

func (m *FundCollectedEvent) XXX_DiscardUnknown()

func (*FundCollectedEvent) XXX_Marshal

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

func (*FundCollectedEvent) XXX_Merge

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

func (*FundCollectedEvent) XXX_Size

func (m *FundCollectedEvent) XXX_Size() int

func (*FundCollectedEvent) XXX_Unmarshal

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"`
	FeeManagerAddr    string        `protobuf:"bytes,7,opt,name=feeManagerAddr,proto3" json:"feeManagerAddr,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) GetFeeManagerAddr

func (m *GenesisChainInfo) GetFeeManagerAddr() string

func (*GenesisChainInfo) GetMinOnChainBalance

func (m *GenesisChainInfo) GetMinOnChainBalance() string

func (*GenesisChainInfo) GetRelayWeights

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 Hashable

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

type JobDefinition

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

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

func (*JobDefinition) GetABI

func (m *JobDefinition) GetABI() string

func (*JobDefinition) GetAddress

func (m *JobDefinition) GetAddress() string

func (*JobDefinition) Marshal

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

func (*JobDefinition) MarshalTo

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

func (*JobDefinition) MarshalToSizedBuffer

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

func (*JobDefinition) ProtoMessage

func (*JobDefinition) ProtoMessage()

func (*JobDefinition) Reset

func (m *JobDefinition) Reset()

func (*JobDefinition) Size

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

func (*JobDefinition) String

func (m *JobDefinition) String() string

func (*JobDefinition) Unmarshal

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

func (*JobDefinition) XXX_DiscardUnknown

func (m *JobDefinition) XXX_DiscardUnknown()

func (*JobDefinition) XXX_Marshal

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

func (*JobDefinition) XXX_Merge

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

func (*JobDefinition) XXX_Size

func (m *JobDefinition) XXX_Size() int

func (*JobDefinition) XXX_Unmarshal

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

type JobPayload

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

func (*JobPayload) Descriptor

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

func (*JobPayload) GetHexPayload

func (m *JobPayload) GetHexPayload() string

func (*JobPayload) Marshal

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

func (*JobPayload) MarshalTo

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

func (*JobPayload) MarshalToSizedBuffer

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

func (*JobPayload) ProtoMessage

func (*JobPayload) ProtoMessage()

func (*JobPayload) Reset

func (m *JobPayload) Reset()

func (*JobPayload) Size

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

func (*JobPayload) String

func (m *JobPayload) String() string

func (*JobPayload) Unmarshal

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

func (*JobPayload) XXX_DiscardUnknown

func (m *JobPayload) XXX_DiscardUnknown()

func (*JobPayload) XXX_Marshal

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

func (*JobPayload) XXX_Merge

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

func (*JobPayload) XXX_Size

func (m *JobPayload) XXX_Size() int

func (*JobPayload) XXX_Unmarshal

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
	//	*Message_UploadUserSmartContract
	//	*Message_CompassHandover
	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 */
	AssigneeRemoteAddress string                `protobuf:"bytes,10,opt,name=assigneeRemoteAddress,proto3" json:"assigneeRemoteAddress,omitempty"`
}

func (*Message) Descriptor

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

func (*Message) GetAction

func (m *Message) GetAction() isMessage_Action

func (*Message) GetAssignee

func (m *Message) GetAssignee() string

func (*Message) GetAssigneeRemoteAddress

func (m *Message) GetAssigneeRemoteAddress() string

func (*Message) GetChainReferenceID

func (m *Message) GetChainReferenceID() string

func (*Message) GetCompassAddr

func (m *Message) GetCompassAddr() string

func (*Message) GetCompassHandover

func (m *Message) GetCompassHandover() *CompassHandover

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

func (m *Message) GetUploadUserSmartContract() *UploadUserSmartContract

func (*Message) Keccak256WithSignedMessage

func (m *Message) Keccak256WithSignedMessage(q *consensustypes.QueuedSignedMessage) ([]byte, error)

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

func (m *Message) SetAssignee(ctx sdk.Context, val, remoteAddr 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_CompassHandover

type Message_CompassHandover struct {
	CompassHandover *CompassHandover `protobuf:"bytes,12,opt,name=compassHandover,proto3,oneof" json:"compassHandover,omitempty"`
}

func (*Message_CompassHandover) MarshalTo

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

func (*Message_CompassHandover) MarshalToSizedBuffer

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

func (*Message_CompassHandover) Size

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

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

func (m *Message_SubmitLogicCall) SetFees(fees *Fees)

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 Message_UploadUserSmartContract

type Message_UploadUserSmartContract struct {
	UploadUserSmartContract *UploadUserSmartContract `protobuf:"bytes,11,opt,name=uploadUserSmartContract,proto3,oneof" json:"uploadUserSmartContract,omitempty"`
}

func (*Message_UploadUserSmartContract) MarshalTo

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

func (*Message_UploadUserSmartContract) MarshalToSizedBuffer

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

func (*Message_UploadUserSmartContract) SetFees

func (m *Message_UploadUserSmartContract) SetFees(fees *Fees)

func (*Message_UploadUserSmartContract) Size

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

type MetrixKeeper

type MetrixKeeper interface {
	Validators(goCtx context.Context, _ *metrixtypes.Empty) (*metrixtypes.QueryValidatorsResponse, error)
}

type MsgAssigner

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

type MsgClient

type MsgClient interface {
	RemoveSmartContractDeployment(ctx context.Context, in *MsgRemoveSmartContractDeploymentRequest, opts ...grpc.CallOption) (*RemoveSmartContractDeploymentResponse, error)
	// ===== User Smart Contracts =====
	UploadUserSmartContract(ctx context.Context, in *MsgUploadUserSmartContractRequest, opts ...grpc.CallOption) (*MsgUploadUserSmartContractResponse, error)
	RemoveUserSmartContract(ctx context.Context, in *MsgRemoveUserSmartContractRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	DeployUserSmartContract(ctx context.Context, in *MsgDeployUserSmartContractRequest, opts ...grpc.CallOption) (*MsgDeployUserSmartContractResponse, 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 MsgDeployUserSmartContractRequest

type MsgDeployUserSmartContractRequest struct {
	Metadata    types.MsgMetadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata"`
	Id          uint64            `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"`
	TargetChain string            `protobuf:"bytes,3,opt,name=target_chain,json=targetChain,proto3" json:"target_chain,omitempty"`
}

func (*MsgDeployUserSmartContractRequest) Descriptor

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

func (*MsgDeployUserSmartContractRequest) GetId

func (*MsgDeployUserSmartContractRequest) GetMetadata

func (*MsgDeployUserSmartContractRequest) GetTargetChain

func (m *MsgDeployUserSmartContractRequest) GetTargetChain() string

func (*MsgDeployUserSmartContractRequest) Marshal

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

func (*MsgDeployUserSmartContractRequest) MarshalTo

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

func (*MsgDeployUserSmartContractRequest) MarshalToSizedBuffer

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

func (*MsgDeployUserSmartContractRequest) ProtoMessage

func (*MsgDeployUserSmartContractRequest) ProtoMessage()

func (*MsgDeployUserSmartContractRequest) Reset

func (*MsgDeployUserSmartContractRequest) Size

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

func (*MsgDeployUserSmartContractRequest) String

func (*MsgDeployUserSmartContractRequest) Unmarshal

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

func (*MsgDeployUserSmartContractRequest) XXX_DiscardUnknown

func (m *MsgDeployUserSmartContractRequest) XXX_DiscardUnknown()

func (*MsgDeployUserSmartContractRequest) XXX_Marshal

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

func (*MsgDeployUserSmartContractRequest) XXX_Merge

func (*MsgDeployUserSmartContractRequest) XXX_Size

func (m *MsgDeployUserSmartContractRequest) XXX_Size() int

func (*MsgDeployUserSmartContractRequest) XXX_Unmarshal

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

type MsgDeployUserSmartContractResponse

type MsgDeployUserSmartContractResponse struct {
	MsgId uint64 `protobuf:"varint,1,opt,name=msg_id,json=msgId,proto3" json:"msg_id,omitempty"`
}

func (*MsgDeployUserSmartContractResponse) Descriptor

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

func (*MsgDeployUserSmartContractResponse) GetMsgId

func (*MsgDeployUserSmartContractResponse) Marshal

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

func (*MsgDeployUserSmartContractResponse) MarshalTo

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

func (*MsgDeployUserSmartContractResponse) MarshalToSizedBuffer

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

func (*MsgDeployUserSmartContractResponse) ProtoMessage

func (*MsgDeployUserSmartContractResponse) ProtoMessage()

func (*MsgDeployUserSmartContractResponse) Reset

func (*MsgDeployUserSmartContractResponse) Size

func (*MsgDeployUserSmartContractResponse) String

func (*MsgDeployUserSmartContractResponse) Unmarshal

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

func (*MsgDeployUserSmartContractResponse) XXX_DiscardUnknown

func (m *MsgDeployUserSmartContractResponse) XXX_DiscardUnknown()

func (*MsgDeployUserSmartContractResponse) XXX_Marshal

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

func (*MsgDeployUserSmartContractResponse) XXX_Merge

func (*MsgDeployUserSmartContractResponse) XXX_Size

func (*MsgDeployUserSmartContractResponse) XXX_Unmarshal

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

type MsgRemoveSmartContractDeploymentRequest

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

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

func (*MsgRemoveSmartContractDeploymentRequest) GetChainReferenceID

func (m *MsgRemoveSmartContractDeploymentRequest) GetChainReferenceID() string

func (*MsgRemoveSmartContractDeploymentRequest) GetMetadata

func (*MsgRemoveSmartContractDeploymentRequest) GetSigners

func (*MsgRemoveSmartContractDeploymentRequest) GetSmartContractID

func (m *MsgRemoveSmartContractDeploymentRequest) GetSmartContractID() uint64

func (*MsgRemoveSmartContractDeploymentRequest) Marshal

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

func (*MsgRemoveSmartContractDeploymentRequest) MarshalTo

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

func (*MsgRemoveSmartContractDeploymentRequest) MarshalToSizedBuffer

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

func (*MsgRemoveSmartContractDeploymentRequest) ProtoMessage

func (*MsgRemoveSmartContractDeploymentRequest) Reset

func (*MsgRemoveSmartContractDeploymentRequest) Size

func (*MsgRemoveSmartContractDeploymentRequest) String

func (*MsgRemoveSmartContractDeploymentRequest) Unmarshal

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

func (*MsgRemoveSmartContractDeploymentRequest) ValidateBasic

func (msg *MsgRemoveSmartContractDeploymentRequest) ValidateBasic() error

func (*MsgRemoveSmartContractDeploymentRequest) XXX_DiscardUnknown

func (m *MsgRemoveSmartContractDeploymentRequest) XXX_DiscardUnknown()

func (*MsgRemoveSmartContractDeploymentRequest) XXX_Marshal

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

func (*MsgRemoveSmartContractDeploymentRequest) XXX_Merge

func (*MsgRemoveSmartContractDeploymentRequest) XXX_Size

func (*MsgRemoveSmartContractDeploymentRequest) XXX_Unmarshal

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

type MsgRemoveUserSmartContractRequest

type MsgRemoveUserSmartContractRequest struct {
	Metadata types.MsgMetadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata"`
	Id       uint64            `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"`
}

func (*MsgRemoveUserSmartContractRequest) Descriptor

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

func (*MsgRemoveUserSmartContractRequest) GetId

func (*MsgRemoveUserSmartContractRequest) GetMetadata

func (*MsgRemoveUserSmartContractRequest) Marshal

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

func (*MsgRemoveUserSmartContractRequest) MarshalTo

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

func (*MsgRemoveUserSmartContractRequest) MarshalToSizedBuffer

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

func (*MsgRemoveUserSmartContractRequest) ProtoMessage

func (*MsgRemoveUserSmartContractRequest) ProtoMessage()

func (*MsgRemoveUserSmartContractRequest) Reset

func (*MsgRemoveUserSmartContractRequest) Size

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

func (*MsgRemoveUserSmartContractRequest) String

func (*MsgRemoveUserSmartContractRequest) Unmarshal

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

func (*MsgRemoveUserSmartContractRequest) XXX_DiscardUnknown

func (m *MsgRemoveUserSmartContractRequest) XXX_DiscardUnknown()

func (*MsgRemoveUserSmartContractRequest) XXX_Marshal

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

func (*MsgRemoveUserSmartContractRequest) XXX_Merge

func (*MsgRemoveUserSmartContractRequest) XXX_Size

func (m *MsgRemoveUserSmartContractRequest) XXX_Size() int

func (*MsgRemoveUserSmartContractRequest) XXX_Unmarshal

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

type MsgSender

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

type MsgServer

MsgServer is the server API for Msg service.

type MsgUploadUserSmartContractRequest

type MsgUploadUserSmartContractRequest struct {
	Metadata         types.MsgMetadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata"`
	Title            string            `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
	AbiJson          string            `protobuf:"bytes,3,opt,name=abi_json,json=abiJson,proto3" json:"abi_json,omitempty"`
	Bytecode         string            `protobuf:"bytes,4,opt,name=bytecode,proto3" json:"bytecode,omitempty"`
	ConstructorInput string            `protobuf:"bytes,5,opt,name=constructor_input,json=constructorInput,proto3" json:"constructor_input,omitempty"`
}

func (*MsgUploadUserSmartContractRequest) Descriptor

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

func (*MsgUploadUserSmartContractRequest) GetAbiJson

func (m *MsgUploadUserSmartContractRequest) GetAbiJson() string

func (*MsgUploadUserSmartContractRequest) GetBytecode

func (m *MsgUploadUserSmartContractRequest) GetBytecode() string

func (*MsgUploadUserSmartContractRequest) GetConstructorInput

func (m *MsgUploadUserSmartContractRequest) GetConstructorInput() string

func (*MsgUploadUserSmartContractRequest) GetMetadata

func (*MsgUploadUserSmartContractRequest) GetTitle

func (*MsgUploadUserSmartContractRequest) Marshal

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

func (*MsgUploadUserSmartContractRequest) MarshalTo

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

func (*MsgUploadUserSmartContractRequest) MarshalToSizedBuffer

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

func (*MsgUploadUserSmartContractRequest) ProtoMessage

func (*MsgUploadUserSmartContractRequest) ProtoMessage()

func (*MsgUploadUserSmartContractRequest) Reset

func (*MsgUploadUserSmartContractRequest) Size

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

func (*MsgUploadUserSmartContractRequest) String

func (*MsgUploadUserSmartContractRequest) Unmarshal

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

func (*MsgUploadUserSmartContractRequest) XXX_DiscardUnknown

func (m *MsgUploadUserSmartContractRequest) XXX_DiscardUnknown()

func (*MsgUploadUserSmartContractRequest) XXX_Marshal

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

func (*MsgUploadUserSmartContractRequest) XXX_Merge

func (*MsgUploadUserSmartContractRequest) XXX_Size

func (m *MsgUploadUserSmartContractRequest) XXX_Size() int

func (*MsgUploadUserSmartContractRequest) XXX_Unmarshal

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

type MsgUploadUserSmartContractResponse

type MsgUploadUserSmartContractResponse struct {
	Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
}

func (*MsgUploadUserSmartContractResponse) Descriptor

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

func (*MsgUploadUserSmartContractResponse) GetId

func (*MsgUploadUserSmartContractResponse) Marshal

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

func (*MsgUploadUserSmartContractResponse) MarshalTo

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

func (*MsgUploadUserSmartContractResponse) MarshalToSizedBuffer

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

func (*MsgUploadUserSmartContractResponse) ProtoMessage

func (*MsgUploadUserSmartContractResponse) ProtoMessage()

func (*MsgUploadUserSmartContractResponse) Reset

func (*MsgUploadUserSmartContractResponse) Size

func (*MsgUploadUserSmartContractResponse) String

func (*MsgUploadUserSmartContractResponse) Unmarshal

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

func (*MsgUploadUserSmartContractResponse) XXX_DiscardUnknown

func (m *MsgUploadUserSmartContractResponse) XXX_DiscardUnknown()

func (*MsgUploadUserSmartContractResponse) XXX_Marshal

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

func (*MsgUploadUserSmartContractResponse) XXX_Merge

func (*MsgUploadUserSmartContractResponse) XXX_Size

func (*MsgUploadUserSmartContractResponse) XXX_Unmarshal

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

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)
	// Queries a list of user smart contracts
	QueryUserSmartContracts(ctx context.Context, in *QueryUserSmartContractsRequest, opts ...grpc.CallOption) (*QueryUserSmartContractsResponse, 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

type QueryGetSmartContractDeploymentsRequest struct{}

func (*QueryGetSmartContractDeploymentsRequest) Descriptor

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

func (*QueryGetSmartContractDeploymentsRequest) Marshal

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

func (*QueryGetSmartContractDeploymentsRequest) MarshalTo

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

func (*QueryGetSmartContractDeploymentsRequest) MarshalToSizedBuffer

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

func (*QueryGetSmartContractDeploymentsRequest) ProtoMessage

func (*QueryGetSmartContractDeploymentsRequest) Reset

func (*QueryGetSmartContractDeploymentsRequest) Size

func (*QueryGetSmartContractDeploymentsRequest) String

func (*QueryGetSmartContractDeploymentsRequest) Unmarshal

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

func (*QueryGetSmartContractDeploymentsRequest) XXX_DiscardUnknown

func (m *QueryGetSmartContractDeploymentsRequest) XXX_DiscardUnknown()

func (*QueryGetSmartContractDeploymentsRequest) XXX_Marshal

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

func (*QueryGetSmartContractDeploymentsRequest) XXX_Merge

func (*QueryGetSmartContractDeploymentsRequest) XXX_Size

func (*QueryGetSmartContractDeploymentsRequest) XXX_Unmarshal

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

type QueryGetSmartContractDeploymentsResponse

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

func (*QueryGetSmartContractDeploymentsResponse) Descriptor

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

func (*QueryGetSmartContractDeploymentsResponse) GetDeployments

func (*QueryGetSmartContractDeploymentsResponse) Marshal

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

func (*QueryGetSmartContractDeploymentsResponse) MarshalTo

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

func (*QueryGetSmartContractDeploymentsResponse) MarshalToSizedBuffer

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

func (*QueryGetSmartContractDeploymentsResponse) ProtoMessage

func (*QueryGetSmartContractDeploymentsResponse) Reset

func (*QueryGetSmartContractDeploymentsResponse) Size

func (*QueryGetSmartContractDeploymentsResponse) String

func (*QueryGetSmartContractDeploymentsResponse) Unmarshal

func (*QueryGetSmartContractDeploymentsResponse) XXX_DiscardUnknown

func (m *QueryGetSmartContractDeploymentsResponse) XXX_DiscardUnknown()

func (*QueryGetSmartContractDeploymentsResponse) XXX_Marshal

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

func (*QueryGetSmartContractDeploymentsResponse) XXX_Merge

func (*QueryGetSmartContractDeploymentsResponse) XXX_Size

func (*QueryGetSmartContractDeploymentsResponse) XXX_Unmarshal

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

type QueryGetSmartContractRequest

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

func (*QueryGetSmartContractRequest) Descriptor

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

func (*QueryGetSmartContractRequest) GetSmartContractID

func (m *QueryGetSmartContractRequest) GetSmartContractID() uint64

func (*QueryGetSmartContractRequest) Marshal

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

func (*QueryGetSmartContractRequest) MarshalTo

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

func (*QueryGetSmartContractRequest) MarshalToSizedBuffer

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

func (*QueryGetSmartContractRequest) ProtoMessage

func (*QueryGetSmartContractRequest) ProtoMessage()

func (*QueryGetSmartContractRequest) Reset

func (m *QueryGetSmartContractRequest) Reset()

func (*QueryGetSmartContractRequest) Size

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

func (*QueryGetSmartContractRequest) String

func (*QueryGetSmartContractRequest) Unmarshal

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

func (*QueryGetSmartContractRequest) XXX_DiscardUnknown

func (m *QueryGetSmartContractRequest) XXX_DiscardUnknown()

func (*QueryGetSmartContractRequest) XXX_Marshal

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

func (*QueryGetSmartContractRequest) XXX_Merge

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

func (*QueryGetSmartContractRequest) XXX_Size

func (m *QueryGetSmartContractRequest) XXX_Size() int

func (*QueryGetSmartContractRequest) XXX_Unmarshal

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

type QueryGetSmartContractResponse

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

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

func (*QueryGetSmartContractResponse) GetAbi

func (*QueryGetSmartContractResponse) GetBytecode

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

func (*QueryGetSmartContractResponse) GetID

func (*QueryGetSmartContractResponse) Marshal

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

func (*QueryGetSmartContractResponse) MarshalTo

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

func (*QueryGetSmartContractResponse) MarshalToSizedBuffer

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

func (*QueryGetSmartContractResponse) ProtoMessage

func (*QueryGetSmartContractResponse) ProtoMessage()

func (*QueryGetSmartContractResponse) Reset

func (m *QueryGetSmartContractResponse) Reset()

func (*QueryGetSmartContractResponse) Size

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

func (*QueryGetSmartContractResponse) String

func (*QueryGetSmartContractResponse) Unmarshal

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

func (*QueryGetSmartContractResponse) XXX_DiscardUnknown

func (m *QueryGetSmartContractResponse) XXX_DiscardUnknown()

func (*QueryGetSmartContractResponse) XXX_Marshal

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

func (*QueryGetSmartContractResponse) XXX_Merge

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

func (*QueryGetSmartContractResponse) XXX_Size

func (m *QueryGetSmartContractResponse) XXX_Size() int

func (*QueryGetSmartContractResponse) XXX_Unmarshal

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)
	// Queries a list of user smart contracts
	QueryUserSmartContracts(context.Context, *QueryUserSmartContractsRequest) (*QueryUserSmartContractsResponse, error)
}

QueryServer is the server API for Query service.

type QueryUserSmartContractsRequest

type QueryUserSmartContractsRequest struct {
	ValAddress string `protobuf:"bytes,1,opt,name=val_address,json=valAddress,proto3" json:"val_address,omitempty"`
}

func (*QueryUserSmartContractsRequest) Descriptor

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

func (*QueryUserSmartContractsRequest) GetValAddress

func (m *QueryUserSmartContractsRequest) GetValAddress() string

func (*QueryUserSmartContractsRequest) Marshal

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

func (*QueryUserSmartContractsRequest) MarshalTo

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

func (*QueryUserSmartContractsRequest) MarshalToSizedBuffer

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

func (*QueryUserSmartContractsRequest) ProtoMessage

func (*QueryUserSmartContractsRequest) ProtoMessage()

func (*QueryUserSmartContractsRequest) Reset

func (m *QueryUserSmartContractsRequest) Reset()

func (*QueryUserSmartContractsRequest) Size

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

func (*QueryUserSmartContractsRequest) String

func (*QueryUserSmartContractsRequest) Unmarshal

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

func (*QueryUserSmartContractsRequest) XXX_DiscardUnknown

func (m *QueryUserSmartContractsRequest) XXX_DiscardUnknown()

func (*QueryUserSmartContractsRequest) XXX_Marshal

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

func (*QueryUserSmartContractsRequest) XXX_Merge

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

func (*QueryUserSmartContractsRequest) XXX_Size

func (m *QueryUserSmartContractsRequest) XXX_Size() int

func (*QueryUserSmartContractsRequest) XXX_Unmarshal

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

type QueryUserSmartContractsResponse

type QueryUserSmartContractsResponse struct {
	Contracts []*UserSmartContract `protobuf:"bytes,1,rep,name=contracts,proto3" json:"contracts,omitempty"`
}

func (*QueryUserSmartContractsResponse) Descriptor

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

func (*QueryUserSmartContractsResponse) GetContracts

func (*QueryUserSmartContractsResponse) Marshal

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

func (*QueryUserSmartContractsResponse) MarshalTo

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

func (*QueryUserSmartContractsResponse) MarshalToSizedBuffer

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

func (*QueryUserSmartContractsResponse) ProtoMessage

func (*QueryUserSmartContractsResponse) ProtoMessage()

func (*QueryUserSmartContractsResponse) Reset

func (*QueryUserSmartContractsResponse) Size

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

func (*QueryUserSmartContractsResponse) String

func (*QueryUserSmartContractsResponse) Unmarshal

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

func (*QueryUserSmartContractsResponse) XXX_DiscardUnknown

func (m *QueryUserSmartContractsResponse) XXX_DiscardUnknown()

func (*QueryUserSmartContractsResponse) XXX_Marshal

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

func (*QueryUserSmartContractsResponse) XXX_Merge

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

func (*QueryUserSmartContractsResponse) XXX_Size

func (m *QueryUserSmartContractsResponse) XXX_Size() int

func (*QueryUserSmartContractsResponse) XXX_Unmarshal

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

type ReferenceBlockAttestation

type ReferenceBlockAttestation struct {
	FromBlockTime time.Time `protobuf:"bytes,1,opt,name=fromBlockTime,proto3,stdtime" json:"fromBlockTime"`
}

func (*ReferenceBlockAttestation) Descriptor

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

func (*ReferenceBlockAttestation) GetFromBlockTime

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

func (*ReferenceBlockAttestation) Keccak256WithSignedMessage

func (m *ReferenceBlockAttestation) Keccak256WithSignedMessage(_ *consensustypes.QueuedSignedMessage) ([]byte, error)

func (*ReferenceBlockAttestation) Marshal

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

func (*ReferenceBlockAttestation) MarshalTo

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

func (*ReferenceBlockAttestation) MarshalToSizedBuffer

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

func (*ReferenceBlockAttestation) ProtoMessage

func (*ReferenceBlockAttestation) ProtoMessage()

func (*ReferenceBlockAttestation) Reset

func (m *ReferenceBlockAttestation) Reset()

func (*ReferenceBlockAttestation) Size

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

func (*ReferenceBlockAttestation) String

func (m *ReferenceBlockAttestation) String() string

func (*ReferenceBlockAttestation) Unmarshal

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

func (*ReferenceBlockAttestation) XXX_DiscardUnknown

func (m *ReferenceBlockAttestation) XXX_DiscardUnknown()

func (*ReferenceBlockAttestation) XXX_Marshal

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

func (*ReferenceBlockAttestation) XXX_Merge

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

func (*ReferenceBlockAttestation) XXX_Size

func (m *ReferenceBlockAttestation) XXX_Size() int

func (*ReferenceBlockAttestation) XXX_Unmarshal

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

type ReferenceBlockAttestationRes

type ReferenceBlockAttestationRes struct {
	BlockHeight uint64 `protobuf:"varint,1,opt,name=blockHeight,proto3" json:"blockHeight,omitempty"`
	BlockHash   string `protobuf:"bytes,2,opt,name=blockHash,proto3" json:"blockHash,omitempty"`
}

func (*ReferenceBlockAttestationRes) BytesToHash

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

func (*ReferenceBlockAttestationRes) Descriptor

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

func (*ReferenceBlockAttestationRes) GetBlockHash

func (m *ReferenceBlockAttestationRes) GetBlockHash() string

func (*ReferenceBlockAttestationRes) GetBlockHeight

func (m *ReferenceBlockAttestationRes) GetBlockHeight() uint64

func (*ReferenceBlockAttestationRes) Marshal

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

func (*ReferenceBlockAttestationRes) MarshalTo

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

func (*ReferenceBlockAttestationRes) MarshalToSizedBuffer

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

func (*ReferenceBlockAttestationRes) ProtoMessage

func (*ReferenceBlockAttestationRes) ProtoMessage()

func (*ReferenceBlockAttestationRes) Reset

func (m *ReferenceBlockAttestationRes) Reset()

func (*ReferenceBlockAttestationRes) Size

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

func (*ReferenceBlockAttestationRes) String

func (*ReferenceBlockAttestationRes) Unmarshal

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

func (*ReferenceBlockAttestationRes) XXX_DiscardUnknown

func (m *ReferenceBlockAttestationRes) XXX_DiscardUnknown()

func (*ReferenceBlockAttestationRes) XXX_Marshal

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

func (*ReferenceBlockAttestationRes) XXX_Merge

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

func (*ReferenceBlockAttestationRes) XXX_Size

func (m *ReferenceBlockAttestationRes) XXX_Size() int

func (*ReferenceBlockAttestationRes) XXX_Unmarshal

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

type RelayWeightDec

type RelayWeightDec struct {
	Fee           math.LegacyDec
	Uptime        math.LegacyDec
	SuccessRate   math.LegacyDec
	ExecutionTime math.LegacyDec
	FeatureSet    math.LegacyDec
}

type RelayWeights

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

func (m *RelayWeights) DecValues() (w RelayWeightDec, err error)

DecValues returns the math.LegacyDec of our RelayWeight strings. On error, we use 0

func (*RelayWeights) Descriptor

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

func (*RelayWeights) GetExecutionTime

func (m *RelayWeights) GetExecutionTime() string

func (*RelayWeights) GetFeatureSet

func (m *RelayWeights) GetFeatureSet() string

func (*RelayWeights) GetFee

func (m *RelayWeights) GetFee() string

func (*RelayWeights) GetSuccessRate

func (m *RelayWeights) GetSuccessRate() string

func (*RelayWeights) GetUptime

func (m *RelayWeights) GetUptime() string

func (*RelayWeights) Marshal

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

func (*RelayWeights) MarshalTo

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

func (*RelayWeights) MarshalToSizedBuffer

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

func (*RelayWeights) ProtoMessage

func (*RelayWeights) ProtoMessage()

func (*RelayWeights) Reset

func (m *RelayWeights) Reset()

func (*RelayWeights) Size

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

func (*RelayWeights) String

func (m *RelayWeights) String() string

func (*RelayWeights) Unmarshal

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

func (*RelayWeights) ValueOrDefault

func (m *RelayWeights) ValueOrDefault() *RelayWeights

func (*RelayWeights) XXX_DiscardUnknown

func (m *RelayWeights) XXX_DiscardUnknown()

func (*RelayWeights) XXX_Marshal

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

func (*RelayWeights) XXX_Merge

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

func (*RelayWeights) XXX_Size

func (m *RelayWeights) XXX_Size() int

func (*RelayWeights) XXX_Unmarshal

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

type RelayWeightsProposal

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"`
	FeatureSet       string `protobuf:"bytes,8,opt,name=featureSet,proto3" json:"featureSet,omitempty"`
}

func (*RelayWeightsProposal) Descriptor

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

func (*RelayWeightsProposal) GetChainReferenceID

func (m *RelayWeightsProposal) GetChainReferenceID() string

func (*RelayWeightsProposal) GetDescription

func (m *RelayWeightsProposal) GetDescription() string

func (*RelayWeightsProposal) GetExecutionTime

func (m *RelayWeightsProposal) GetExecutionTime() string

func (*RelayWeightsProposal) GetFeatureSet

func (m *RelayWeightsProposal) GetFeatureSet() string

func (*RelayWeightsProposal) GetFee

func (m *RelayWeightsProposal) GetFee() string

func (*RelayWeightsProposal) GetSuccessRate

func (m *RelayWeightsProposal) GetSuccessRate() string

func (*RelayWeightsProposal) GetTitle

func (m *RelayWeightsProposal) GetTitle() string

func (*RelayWeightsProposal) GetUptime

func (m *RelayWeightsProposal) GetUptime() string

func (*RelayWeightsProposal) Marshal

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

func (*RelayWeightsProposal) MarshalTo

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

func (*RelayWeightsProposal) MarshalToSizedBuffer

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

func (*RelayWeightsProposal) ProposalRoute

func (a *RelayWeightsProposal) ProposalRoute() string

func (*RelayWeightsProposal) ProposalType

func (a *RelayWeightsProposal) ProposalType() string

func (*RelayWeightsProposal) ProtoMessage

func (*RelayWeightsProposal) ProtoMessage()

func (*RelayWeightsProposal) Reset

func (m *RelayWeightsProposal) Reset()

func (*RelayWeightsProposal) Size

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

func (*RelayWeightsProposal) String

func (m *RelayWeightsProposal) String() string

func (*RelayWeightsProposal) Unmarshal

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

func (*RelayWeightsProposal) ValidateBasic

func (a *RelayWeightsProposal) ValidateBasic() error

func (*RelayWeightsProposal) XXX_DiscardUnknown

func (m *RelayWeightsProposal) XXX_DiscardUnknown()

func (*RelayWeightsProposal) XXX_Marshal

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

func (*RelayWeightsProposal) XXX_Merge

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

func (*RelayWeightsProposal) XXX_Size

func (m *RelayWeightsProposal) XXX_Size() int

func (*RelayWeightsProposal) XXX_Unmarshal

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

type RemoveSmartContractDeploymentResponse struct{}

func (*RemoveSmartContractDeploymentResponse) Descriptor

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

func (*RemoveSmartContractDeploymentResponse) Marshal

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

func (*RemoveSmartContractDeploymentResponse) MarshalTo

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

func (*RemoveSmartContractDeploymentResponse) MarshalToSizedBuffer

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

func (*RemoveSmartContractDeploymentResponse) ProtoMessage

func (*RemoveSmartContractDeploymentResponse) ProtoMessage()

func (*RemoveSmartContractDeploymentResponse) Reset

func (*RemoveSmartContractDeploymentResponse) Size

func (*RemoveSmartContractDeploymentResponse) String

func (*RemoveSmartContractDeploymentResponse) Unmarshal

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

func (*RemoveSmartContractDeploymentResponse) XXX_DiscardUnknown

func (m *RemoveSmartContractDeploymentResponse) XXX_DiscardUnknown()

func (*RemoveSmartContractDeploymentResponse) XXX_Marshal

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

func (*RemoveSmartContractDeploymentResponse) XXX_Merge

func (*RemoveSmartContractDeploymentResponse) XXX_Size

func (*RemoveSmartContractDeploymentResponse) XXX_Unmarshal

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

type SchedulerKeeper

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

type SetFeeManagerAddressProposal

type SetFeeManagerAddressProposal struct {
	Title             string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Summary           string `protobuf:"bytes,2,opt,name=summary,proto3" json:"summary,omitempty"`
	ChainReferenceID  string `protobuf:"bytes,3,opt,name=chainReferenceID,proto3" json:"chainReferenceID,omitempty"`
	FeeManagerAddress string `protobuf:"bytes,4,opt,name=feeManagerAddress,proto3" json:"feeManagerAddress,omitempty"`
}

func (*SetFeeManagerAddressProposal) Descriptor

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

func (*SetFeeManagerAddressProposal) GetChainReferenceID

func (m *SetFeeManagerAddressProposal) GetChainReferenceID() string

func (*SetFeeManagerAddressProposal) GetDescription

func (a *SetFeeManagerAddressProposal) GetDescription() string

func (*SetFeeManagerAddressProposal) GetFeeManagerAddress

func (m *SetFeeManagerAddressProposal) GetFeeManagerAddress() string

func (*SetFeeManagerAddressProposal) GetSummary

func (m *SetFeeManagerAddressProposal) GetSummary() string

func (*SetFeeManagerAddressProposal) GetTitle

func (m *SetFeeManagerAddressProposal) GetTitle() string

func (*SetFeeManagerAddressProposal) Marshal

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

func (*SetFeeManagerAddressProposal) MarshalTo

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

func (*SetFeeManagerAddressProposal) MarshalToSizedBuffer

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

func (*SetFeeManagerAddressProposal) ProposalRoute

func (a *SetFeeManagerAddressProposal) ProposalRoute() string

func (*SetFeeManagerAddressProposal) ProposalType

func (a *SetFeeManagerAddressProposal) ProposalType() string

func (*SetFeeManagerAddressProposal) ProtoMessage

func (*SetFeeManagerAddressProposal) ProtoMessage()

func (*SetFeeManagerAddressProposal) Reset

func (m *SetFeeManagerAddressProposal) Reset()

func (*SetFeeManagerAddressProposal) Size

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

func (*SetFeeManagerAddressProposal) String

func (*SetFeeManagerAddressProposal) Unmarshal

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

func (*SetFeeManagerAddressProposal) ValidateBasic

func (a *SetFeeManagerAddressProposal) ValidateBasic() error

func (*SetFeeManagerAddressProposal) XXX_DiscardUnknown

func (m *SetFeeManagerAddressProposal) XXX_DiscardUnknown()

func (*SetFeeManagerAddressProposal) XXX_Marshal

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

func (*SetFeeManagerAddressProposal) XXX_Merge

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

func (*SetFeeManagerAddressProposal) XXX_Size

func (m *SetFeeManagerAddressProposal) XXX_Size() int

func (*SetFeeManagerAddressProposal) XXX_Unmarshal

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

type SetSmartContractDeployersProposal

type SetSmartContractDeployersProposal struct {
	Title     string                                       `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Summary   string                                       `protobuf:"bytes,2,opt,name=summary,proto3" json:"summary,omitempty"`
	Deployers []SetSmartContractDeployersProposal_Deployer `protobuf:"bytes,3,rep,name=deployers,proto3" json:"deployers"`
}

func (*SetSmartContractDeployersProposal) Descriptor

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

func (*SetSmartContractDeployersProposal) GetDeployers

func (*SetSmartContractDeployersProposal) GetDescription

func (a *SetSmartContractDeployersProposal) GetDescription() string

func (*SetSmartContractDeployersProposal) GetSummary

func (m *SetSmartContractDeployersProposal) GetSummary() string

func (*SetSmartContractDeployersProposal) GetTitle

func (*SetSmartContractDeployersProposal) Marshal

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

func (*SetSmartContractDeployersProposal) MarshalTo

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

func (*SetSmartContractDeployersProposal) MarshalToSizedBuffer

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

func (*SetSmartContractDeployersProposal) ProposalRoute

func (a *SetSmartContractDeployersProposal) ProposalRoute() string

func (*SetSmartContractDeployersProposal) ProposalType

func (a *SetSmartContractDeployersProposal) ProposalType() string

func (*SetSmartContractDeployersProposal) ProtoMessage

func (*SetSmartContractDeployersProposal) ProtoMessage()

func (*SetSmartContractDeployersProposal) Reset

func (*SetSmartContractDeployersProposal) Size

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

func (*SetSmartContractDeployersProposal) String

func (*SetSmartContractDeployersProposal) Unmarshal

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

func (*SetSmartContractDeployersProposal) ValidateBasic

func (a *SetSmartContractDeployersProposal) ValidateBasic() error

func (*SetSmartContractDeployersProposal) XXX_DiscardUnknown

func (m *SetSmartContractDeployersProposal) XXX_DiscardUnknown()

func (*SetSmartContractDeployersProposal) XXX_Marshal

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

func (*SetSmartContractDeployersProposal) XXX_Merge

func (*SetSmartContractDeployersProposal) XXX_Size

func (m *SetSmartContractDeployersProposal) XXX_Size() int

func (*SetSmartContractDeployersProposal) XXX_Unmarshal

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

type SetSmartContractDeployersProposal_Deployer

type SetSmartContractDeployersProposal_Deployer struct {
	ChainReferenceID string `protobuf:"bytes,1,opt,name=chainReferenceID,proto3" json:"chainReferenceID,omitempty"`
	ContractAddress  string `protobuf:"bytes,2,opt,name=contractAddress,proto3" json:"contractAddress,omitempty"`
}

func (*SetSmartContractDeployersProposal_Deployer) Descriptor

func (*SetSmartContractDeployersProposal_Deployer) GetChainReferenceID

func (m *SetSmartContractDeployersProposal_Deployer) GetChainReferenceID() string

func (*SetSmartContractDeployersProposal_Deployer) GetContractAddress

func (m *SetSmartContractDeployersProposal_Deployer) GetContractAddress() string

func (*SetSmartContractDeployersProposal_Deployer) Marshal

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

func (*SetSmartContractDeployersProposal_Deployer) MarshalTo

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

func (*SetSmartContractDeployersProposal_Deployer) MarshalToSizedBuffer

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

func (*SetSmartContractDeployersProposal_Deployer) ProtoMessage

func (*SetSmartContractDeployersProposal_Deployer) Reset

func (*SetSmartContractDeployersProposal_Deployer) Size

func (*SetSmartContractDeployersProposal_Deployer) String

func (*SetSmartContractDeployersProposal_Deployer) Unmarshal

func (*SetSmartContractDeployersProposal_Deployer) XXX_DiscardUnknown

func (m *SetSmartContractDeployersProposal_Deployer) XXX_DiscardUnknown()

func (*SetSmartContractDeployersProposal_Deployer) XXX_Marshal

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

func (*SetSmartContractDeployersProposal_Deployer) XXX_Merge

func (*SetSmartContractDeployersProposal_Deployer) XXX_Size

func (*SetSmartContractDeployersProposal_Deployer) XXX_Unmarshal

type Signature

type Signature struct {
	V *big.Int
	R *big.Int
	S *big.Int
}

type SkywayKeeper

type SkywayKeeper interface {
	GetLastObservedSkywayNonce(ctx context.Context, chainReferenceID string) (uint64, error)
	CastAllERC20ToDenoms(ctx context.Context) ([]ERC20Record, error)
	CastChainERC20ToDenoms(ctx context.Context, chainReferenceID string) ([]ERC20Record, 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

func (*SmartContractDeployment) GetNewSmartContractAddress

func (m *SmartContractDeployment) GetNewSmartContractAddress() string

func (*SmartContractDeployment) GetSmartContractID

func (m *SmartContractDeployment) GetSmartContractID() uint64

func (*SmartContractDeployment) GetStatus

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 deprecated

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 */
}

Deprecated: Do not use.

func (*SmartContractDeployment_ERC20Transfer) Descriptor

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

func (*SmartContractDeployment_ERC20Transfer) GetDenom

func (*SmartContractDeployment_ERC20Transfer) GetErc20

func (*SmartContractDeployment_ERC20Transfer) GetMsgID

func (*SmartContractDeployment_ERC20Transfer) GetStatus

func (*SmartContractDeployment_ERC20Transfer) Marshal

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

func (*SmartContractDeployment_ERC20Transfer) MarshalTo

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

func (*SmartContractDeployment_ERC20Transfer) MarshalToSizedBuffer

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

func (*SmartContractDeployment_ERC20Transfer) ProtoMessage

func (*SmartContractDeployment_ERC20Transfer) ProtoMessage()

func (*SmartContractDeployment_ERC20Transfer) Reset

func (*SmartContractDeployment_ERC20Transfer) Size

func (*SmartContractDeployment_ERC20Transfer) String

func (*SmartContractDeployment_ERC20Transfer) Unmarshal

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

func (*SmartContractDeployment_ERC20Transfer) XXX_DiscardUnknown

func (m *SmartContractDeployment_ERC20Transfer) XXX_DiscardUnknown()

func (*SmartContractDeployment_ERC20Transfer) XXX_Marshal

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

func (*SmartContractDeployment_ERC20Transfer) XXX_Merge

func (*SmartContractDeployment_ERC20Transfer) XXX_Size

func (*SmartContractDeployment_ERC20Transfer) XXX_Unmarshal

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

type SmartContractDeployment_ERC20Transfer_Status

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

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

func (SmartContractDeployment_ERC20Transfer_Status) String

type SmartContractDeployment_Status

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

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

func (SmartContractDeployment_Status) String

type SmartContractExecutionErrorProof

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

func (*SmartContractExecutionErrorProof) BytesToHash

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

func (*SmartContractExecutionErrorProof) Descriptor

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

func (*SmartContractExecutionErrorProof) GetErrorMessage

func (m *SmartContractExecutionErrorProof) GetErrorMessage() string

func (*SmartContractExecutionErrorProof) Marshal

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

func (*SmartContractExecutionErrorProof) MarshalTo

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

func (*SmartContractExecutionErrorProof) MarshalToSizedBuffer

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

func (*SmartContractExecutionErrorProof) ProtoMessage

func (*SmartContractExecutionErrorProof) ProtoMessage()

func (*SmartContractExecutionErrorProof) Reset

func (*SmartContractExecutionErrorProof) Size

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

func (*SmartContractExecutionErrorProof) String

func (*SmartContractExecutionErrorProof) Unmarshal

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

func (*SmartContractExecutionErrorProof) XXX_DiscardUnknown

func (m *SmartContractExecutionErrorProof) XXX_DiscardUnknown()

func (*SmartContractExecutionErrorProof) XXX_Marshal

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

func (*SmartContractExecutionErrorProof) XXX_Merge

func (*SmartContractExecutionErrorProof) XXX_Size

func (m *SmartContractExecutionErrorProof) XXX_Size() int

func (*SmartContractExecutionErrorProof) XXX_Unmarshal

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"`
	Fees                  *Fees                                 `protobuf:"bytes,10,opt,name=fees,proto3" json:"fees,omitempty"`
}

func (*SubmitLogicCall) Descriptor

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

func (*SubmitLogicCall) GetAbi

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

func (*SubmitLogicCall) GetContractAddress

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

func (*SubmitLogicCall) GetDeadline

func (m *SubmitLogicCall) GetDeadline() int64

func (*SubmitLogicCall) GetExecutionRequirements

func (m *SubmitLogicCall) GetExecutionRequirements() SubmitLogicCall_ExecutionRequirements

func (*SubmitLogicCall) GetFees

func (m *SubmitLogicCall) GetFees() *Fees

func (*SubmitLogicCall) GetHexContractAddress

func (m *SubmitLogicCall) GetHexContractAddress() string

func (*SubmitLogicCall) GetPayload

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

func (*SubmitLogicCall) GetRetries

func (m *SubmitLogicCall) GetRetries() uint32

func (*SubmitLogicCall) GetSenderAddress

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

func (m *SubmitLogicCall) VerifyAgainstTX(
	ctx context.Context,
	tx *ethtypes.Transaction,
	msg consensustypes.QueuedSignedMessageI,
	valset *Valset,
	compass *SmartContract,
	relayer string,
) 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

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

func (*SubmitLogicCall_ExecutionRequirements) Descriptor

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

func (*SubmitLogicCall_ExecutionRequirements) GetEnforceMEVRelay

func (m *SubmitLogicCall_ExecutionRequirements) GetEnforceMEVRelay() bool

func (*SubmitLogicCall_ExecutionRequirements) Marshal

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

func (*SubmitLogicCall_ExecutionRequirements) MarshalTo

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

func (*SubmitLogicCall_ExecutionRequirements) MarshalToSizedBuffer

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

func (*SubmitLogicCall_ExecutionRequirements) ProtoMessage

func (*SubmitLogicCall_ExecutionRequirements) ProtoMessage()

func (*SubmitLogicCall_ExecutionRequirements) Reset

func (*SubmitLogicCall_ExecutionRequirements) Size

func (*SubmitLogicCall_ExecutionRequirements) String

func (*SubmitLogicCall_ExecutionRequirements) Unmarshal

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

func (*SubmitLogicCall_ExecutionRequirements) XXX_DiscardUnknown

func (m *SubmitLogicCall_ExecutionRequirements) XXX_DiscardUnknown()

func (*SubmitLogicCall_ExecutionRequirements) XXX_Marshal

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

func (*SubmitLogicCall_ExecutionRequirements) XXX_Merge

func (*SubmitLogicCall_ExecutionRequirements) XXX_Size

func (*SubmitLogicCall_ExecutionRequirements) XXX_Unmarshal

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

type TreasuryKeeper

type TreasuryKeeper interface {
	GetRelayerFeesByChainReferenceID(ctx context.Context, chainReferenceID string) (map[string]math.LegacyDec, error)
}

type TurnstoneMsg

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

type TxExecutedProof

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

func (*TxExecutedProof) BytesToHash

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

func (*TxExecutedProof) Descriptor

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

func (*TxExecutedProof) GetReceipt

func (h *TxExecutedProof) GetReceipt() (*ethtypes.Receipt, error)

func (*TxExecutedProof) GetSerializedReceipt

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

func (*TxExecutedProof) GetSerializedTX

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

func (*TxExecutedProof) GetTX

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

func (*TxExecutedProof) Marshal

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

func (*TxExecutedProof) MarshalTo

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

func (*TxExecutedProof) MarshalToSizedBuffer

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

func (*TxExecutedProof) ProtoMessage

func (*TxExecutedProof) ProtoMessage()

func (*TxExecutedProof) Reset

func (m *TxExecutedProof) Reset()

func (*TxExecutedProof) Size

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

func (*TxExecutedProof) String

func (m *TxExecutedProof) String() string

func (*TxExecutedProof) Unmarshal

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

func (*TxExecutedProof) XXX_DiscardUnknown

func (m *TxExecutedProof) XXX_DiscardUnknown()

func (*TxExecutedProof) XXX_Marshal

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

func (*TxExecutedProof) XXX_Merge

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

func (*TxExecutedProof) XXX_Size

func (m *TxExecutedProof) XXX_Size() int

func (*TxExecutedProof) XXX_Unmarshal

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

type UnimplementedMsgServer

type UnimplementedMsgServer struct{}

UnimplementedMsgServer can be embedded to have forward compatible implementations.

func (*UnimplementedMsgServer) RemoveUserSmartContract

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

func (*UnimplementedQueryServer) QueryUserSmartContracts

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

func (m *UpdateValset) VerifyAgainstTX(
	ctx context.Context,
	tx *ethtypes.Transaction,
	msg consensustypes.QueuedSignedMessageI,
	valset *Valset,
	compass *SmartContract,
	relayer string,
) 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"`
	Retries          uint32 `protobuf:"varint,5,opt,name=retries,proto3" json:"retries,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) GetRetries

func (m *UploadSmartContract) GetRetries() uint32

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

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 UploadUserSmartContract

type UploadUserSmartContract struct {
	Bytecode        []byte `protobuf:"bytes,1,opt,name=bytecode,proto3" json:"bytecode,omitempty"`
	DeployerAddress string `protobuf:"bytes,2,opt,name=deployerAddress,proto3" json:"deployerAddress,omitempty"`
	Deadline        int64  `protobuf:"varint,3,opt,name=deadline,proto3" json:"deadline,omitempty"`
	SenderAddress   []byte `protobuf:"bytes,4,opt,name=senderAddress,proto3" json:"senderAddress,omitempty"`
	BlockHeight     int64  `protobuf:"varint,5,opt,name=blockHeight,proto3" json:"blockHeight,omitempty"`
	Id              uint64 `protobuf:"varint,6,opt,name=id,proto3" json:"id,omitempty"`
	Retries         uint32 `protobuf:"varint,7,opt,name=retries,proto3" json:"retries,omitempty"`
	Fees            *Fees  `protobuf:"bytes,8,opt,name=fees,proto3" json:"fees,omitempty"`
}

func (*UploadUserSmartContract) Descriptor

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

func (*UploadUserSmartContract) GetBlockHeight

func (m *UploadUserSmartContract) GetBlockHeight() int64

func (*UploadUserSmartContract) GetBytecode

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

func (*UploadUserSmartContract) GetDeadline

func (m *UploadUserSmartContract) GetDeadline() int64

func (*UploadUserSmartContract) GetDeployerAddress

func (m *UploadUserSmartContract) GetDeployerAddress() string

func (*UploadUserSmartContract) GetFees

func (m *UploadUserSmartContract) GetFees() *Fees

func (*UploadUserSmartContract) GetId

func (m *UploadUserSmartContract) GetId() uint64

func (*UploadUserSmartContract) GetRetries

func (m *UploadUserSmartContract) GetRetries() uint32

func (*UploadUserSmartContract) GetSenderAddress

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

func (*UploadUserSmartContract) Marshal

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

func (*UploadUserSmartContract) MarshalTo

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

func (*UploadUserSmartContract) MarshalToSizedBuffer

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

func (*UploadUserSmartContract) ProtoMessage

func (*UploadUserSmartContract) ProtoMessage()

func (*UploadUserSmartContract) Reset

func (m *UploadUserSmartContract) Reset()

func (*UploadUserSmartContract) Size

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

func (*UploadUserSmartContract) String

func (m *UploadUserSmartContract) String() string

func (*UploadUserSmartContract) Unmarshal

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

func (*UploadUserSmartContract) VerifyAgainstTX

func (m *UploadUserSmartContract) VerifyAgainstTX(
	ctx context.Context,
	tx *ethtypes.Transaction,
	msg consensustypes.QueuedSignedMessageI,
	valset *Valset,
	compass *SmartContract,
	relayer string,
) error

func (*UploadUserSmartContract) XXX_DiscardUnknown

func (m *UploadUserSmartContract) XXX_DiscardUnknown()

func (*UploadUserSmartContract) XXX_Marshal

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

func (*UploadUserSmartContract) XXX_Merge

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

func (*UploadUserSmartContract) XXX_Size

func (m *UploadUserSmartContract) XXX_Size() int

func (*UploadUserSmartContract) XXX_Unmarshal

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

type UserSmartContract

type UserSmartContract struct {
	Author               string                          `protobuf:"bytes,1,opt,name=author,proto3" json:"author,omitempty"`
	Id                   uint64                          `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"`
	Title                string                          `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"`
	AbiJson              string                          `protobuf:"bytes,4,opt,name=abi_json,json=abiJson,proto3" json:"abi_json,omitempty"`
	Bytecode             string                          `protobuf:"bytes,5,opt,name=bytecode,proto3" json:"bytecode,omitempty"`
	ConstructorInput     string                          `protobuf:"bytes,6,opt,name=constructor_input,json=constructorInput,proto3" json:"constructor_input,omitempty"`
	Deployments          []*UserSmartContract_Deployment `protobuf:"bytes,7,rep,name=deployments,proto3" json:"deployments,omitempty"`
	CreatedAtBlockHeight int64                           `` /* 126-byte string literal not displayed */
	UpdatedAtBlockHeight int64                           `` /* 126-byte string literal not displayed */
}

UserSmartContract defines user-uploaded smart contracts We keep them in storage, so users can decide to deploy them anywhere

func (*UserSmartContract) Descriptor

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

func (*UserSmartContract) GetAbiJson

func (m *UserSmartContract) GetAbiJson() string

func (*UserSmartContract) GetAuthor

func (m *UserSmartContract) GetAuthor() string

func (*UserSmartContract) GetBytecode

func (m *UserSmartContract) GetBytecode() string

func (*UserSmartContract) GetConstructorInput

func (m *UserSmartContract) GetConstructorInput() string

func (*UserSmartContract) GetCreatedAtBlockHeight

func (m *UserSmartContract) GetCreatedAtBlockHeight() int64

func (*UserSmartContract) GetDeployments

func (m *UserSmartContract) GetDeployments() []*UserSmartContract_Deployment

func (*UserSmartContract) GetId

func (m *UserSmartContract) GetId() uint64

func (*UserSmartContract) GetTitle

func (m *UserSmartContract) GetTitle() string

func (*UserSmartContract) GetUpdatedAtBlockHeight

func (m *UserSmartContract) GetUpdatedAtBlockHeight() int64

func (*UserSmartContract) Marshal

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

func (*UserSmartContract) MarshalTo

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

func (*UserSmartContract) MarshalToSizedBuffer

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

func (*UserSmartContract) ProtoMessage

func (*UserSmartContract) ProtoMessage()

func (*UserSmartContract) Reset

func (m *UserSmartContract) Reset()

func (*UserSmartContract) Size

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

func (*UserSmartContract) String

func (m *UserSmartContract) String() string

func (*UserSmartContract) Unmarshal

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

func (*UserSmartContract) Validate

func (m *UserSmartContract) Validate() error

func (*UserSmartContract) XXX_DiscardUnknown

func (m *UserSmartContract) XXX_DiscardUnknown()

func (*UserSmartContract) XXX_Marshal

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

func (*UserSmartContract) XXX_Merge

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

func (*UserSmartContract) XXX_Size

func (m *UserSmartContract) XXX_Size() int

func (*UserSmartContract) XXX_Unmarshal

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

type UserSmartContract_Deployment

type UserSmartContract_Deployment struct {
	ChainReferenceId     string                              `protobuf:"bytes,1,opt,name=chain_reference_id,json=chainReferenceId,proto3" json:"chain_reference_id,omitempty"`
	Status               UserSmartContract_Deployment_Status `` /* 130-byte string literal not displayed */
	Address              string                              `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"`
	CreatedAtBlockHeight int64                               `` /* 126-byte string literal not displayed */
	UpdatedAtBlockHeight int64                               `` /* 126-byte string literal not displayed */
}

func (*UserSmartContract_Deployment) Descriptor

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

func (*UserSmartContract_Deployment) GetAddress

func (m *UserSmartContract_Deployment) GetAddress() string

func (*UserSmartContract_Deployment) GetChainReferenceId

func (m *UserSmartContract_Deployment) GetChainReferenceId() string

func (*UserSmartContract_Deployment) GetCreatedAtBlockHeight

func (m *UserSmartContract_Deployment) GetCreatedAtBlockHeight() int64

func (*UserSmartContract_Deployment) GetStatus

func (*UserSmartContract_Deployment) GetUpdatedAtBlockHeight

func (m *UserSmartContract_Deployment) GetUpdatedAtBlockHeight() int64

func (*UserSmartContract_Deployment) Marshal

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

func (*UserSmartContract_Deployment) MarshalTo

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

func (*UserSmartContract_Deployment) MarshalToSizedBuffer

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

func (*UserSmartContract_Deployment) ProtoMessage

func (*UserSmartContract_Deployment) ProtoMessage()

func (*UserSmartContract_Deployment) Reset

func (m *UserSmartContract_Deployment) Reset()

func (*UserSmartContract_Deployment) Size

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

func (*UserSmartContract_Deployment) String

func (*UserSmartContract_Deployment) Unmarshal

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

func (*UserSmartContract_Deployment) XXX_DiscardUnknown

func (m *UserSmartContract_Deployment) XXX_DiscardUnknown()

func (*UserSmartContract_Deployment) XXX_Marshal

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

func (*UserSmartContract_Deployment) XXX_Merge

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

func (*UserSmartContract_Deployment) XXX_Size

func (m *UserSmartContract_Deployment) XXX_Size() int

func (*UserSmartContract_Deployment) XXX_Unmarshal

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

type UserSmartContract_Deployment_Status

type UserSmartContract_Deployment_Status int32
const (
	UserSmartContract_Deployment_PENDING   UserSmartContract_Deployment_Status = 0
	UserSmartContract_Deployment_IN_FLIGHT UserSmartContract_Deployment_Status = 1
	UserSmartContract_Deployment_ACTIVE    UserSmartContract_Deployment_Status = 2
	UserSmartContract_Deployment_ERROR     UserSmartContract_Deployment_Status = 3
)

func (UserSmartContract_Deployment_Status) EnumDescriptor

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

func (UserSmartContract_Deployment_Status) String

type ValidatorBalancesAttestation

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

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

func (*ValidatorBalancesAttestation) GetAssignee

func (m *ValidatorBalancesAttestation) GetAssignee() string

func (*ValidatorBalancesAttestation) GetFromBlockTime

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

func (*ValidatorBalancesAttestation) GetHexAddresses

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

func (*ValidatorBalancesAttestation) GetValAddresses

func (*ValidatorBalancesAttestation) Keccak256WithSignedMessage

func (m *ValidatorBalancesAttestation) Keccak256WithSignedMessage(_ *consensustypes.QueuedSignedMessage) ([]byte, error)

func (*ValidatorBalancesAttestation) Marshal

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

func (*ValidatorBalancesAttestation) MarshalTo

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

func (*ValidatorBalancesAttestation) MarshalToSizedBuffer

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

func (*ValidatorBalancesAttestation) ProtoMessage

func (*ValidatorBalancesAttestation) ProtoMessage()

func (*ValidatorBalancesAttestation) Reset

func (m *ValidatorBalancesAttestation) Reset()

func (*ValidatorBalancesAttestation) Size

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

func (*ValidatorBalancesAttestation) String

func (*ValidatorBalancesAttestation) Unmarshal

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

func (*ValidatorBalancesAttestation) XXX_DiscardUnknown

func (m *ValidatorBalancesAttestation) XXX_DiscardUnknown()

func (*ValidatorBalancesAttestation) XXX_Marshal

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

func (*ValidatorBalancesAttestation) XXX_Merge

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

func (*ValidatorBalancesAttestation) XXX_Size

func (m *ValidatorBalancesAttestation) XXX_Size() int

func (*ValidatorBalancesAttestation) XXX_Unmarshal

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

type ValidatorBalancesAttestationRes

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

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

func (*ValidatorBalancesAttestationRes) Descriptor

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

func (*ValidatorBalancesAttestationRes) GetBalances

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

func (*ValidatorBalancesAttestationRes) GetBlockHeight

func (m *ValidatorBalancesAttestationRes) GetBlockHeight() uint64

func (*ValidatorBalancesAttestationRes) Marshal

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

func (*ValidatorBalancesAttestationRes) MarshalTo

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

func (*ValidatorBalancesAttestationRes) MarshalToSizedBuffer

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

func (*ValidatorBalancesAttestationRes) ProtoMessage

func (*ValidatorBalancesAttestationRes) ProtoMessage()

func (*ValidatorBalancesAttestationRes) Reset

func (*ValidatorBalancesAttestationRes) Size

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

func (*ValidatorBalancesAttestationRes) String

func (*ValidatorBalancesAttestationRes) Unmarshal

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

func (*ValidatorBalancesAttestationRes) XXX_DiscardUnknown

func (m *ValidatorBalancesAttestationRes) XXX_DiscardUnknown()

func (*ValidatorBalancesAttestationRes) XXX_Marshal

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

func (*ValidatorBalancesAttestationRes) XXX_Merge

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

func (*ValidatorBalancesAttestationRes) XXX_Size

func (m *ValidatorBalancesAttestationRes) XXX_Size() int

func (*ValidatorBalancesAttestationRes) XXX_Unmarshal

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