Documentation ¶
Index ¶
- Constants
- func DeserializeCrossStakeFailAckPackage(serializedPackage []byte) (interface{}, error)
- func DeserializeCrossStakeRefundPackage(serializedPackage []byte) (*types.CrossStakeRefundPackage, error)
- func DeserializeCrossStakeSynPackage(serializedPackage []byte) (interface{}, error)
- func PublishCrossStakeEvent(ctx sdk.Context, keeper Keeper, from string, to []pubsub.CrossReceiver, ...)
- type CrossStakeApp
- func (app *CrossStakeApp) ExecuteAckPackage(ctx sdk.Context, payload []byte) sdk.ExecuteResult
- func (app *CrossStakeApp) ExecuteFailAckPackage(ctx sdk.Context, payload []byte) sdk.ExecuteResult
- func (app *CrossStakeApp) ExecuteSynPackage(ctx sdk.Context, payload []byte, relayFee int64) sdk.ExecuteResult
- type CrossStakeSynPackageFromASC
- type Keeper
Constants ¶
View Source
const ( CrossStakeErrValidatorNotFound uint8 = 1 CrossStakeErrValidatorJailed uint8 = 2 CrossStakeErrBadDelegation uint8 = 3 )
Variables ¶
This section is empty.
Functions ¶
func DeserializeCrossStakeRefundPackage ¶
func DeserializeCrossStakeRefundPackage(serializedPackage []byte) (*types.CrossStakeRefundPackage, error)
Types ¶
type CrossStakeApp ¶
type CrossStakeApp struct {
// contains filtered or unexported fields
}
func NewCrossStakeApp ¶
func NewCrossStakeApp(stakeKeeper Keeper) *CrossStakeApp
func (*CrossStakeApp) ExecuteAckPackage ¶
func (app *CrossStakeApp) ExecuteAckPackage(ctx sdk.Context, payload []byte) sdk.ExecuteResult
func (*CrossStakeApp) ExecuteFailAckPackage ¶
func (app *CrossStakeApp) ExecuteFailAckPackage(ctx sdk.Context, payload []byte) sdk.ExecuteResult
func (*CrossStakeApp) ExecuteSynPackage ¶
func (app *CrossStakeApp) ExecuteSynPackage(ctx sdk.Context, payload []byte, relayFee int64) sdk.ExecuteResult
type CrossStakeSynPackageFromASC ¶ added in v0.1.5
type CrossStakeSynPackageFromASC struct { EventType types.CrossStakeEventType ParamsBytes []byte }
Click to show internal directories.
Click to hide internal directories.