Documentation ¶
Index ¶
Constants ¶
View Source
const ( TypeCall = "cross_simple_call" TypeCallAck = "cross_simple_call_ack" )
View Source
const ( COMMIT_OK uint8 = iota + 1 COMMIT_FAILED )
Variables ¶
This section is empty.
Functions ¶
func RegisterCodec ¶
Types ¶
type PacketCallAcknowledgement ¶
type PacketCallAcknowledgement struct {
Status uint8
}
func NewPacketCallAcknowledgement ¶
func NewPacketCallAcknowledgement(status uint8) PacketCallAcknowledgement
func (PacketCallAcknowledgement) GetBytes ¶
func (p PacketCallAcknowledgement) GetBytes() []byte
func (PacketCallAcknowledgement) IsOK ¶
func (p PacketCallAcknowledgement) IsOK() bool
func (PacketCallAcknowledgement) Type ¶
func (p PacketCallAcknowledgement) Type() string
func (PacketCallAcknowledgement) ValidateBasic ¶
func (p PacketCallAcknowledgement) ValidateBasic() error
type PacketDataCall ¶
type PacketDataCall struct { Sender sdk.AccAddress TxID types.TxID TxInfo types.ContractTransactionInfo }
func NewPacketDataCall ¶
func NewPacketDataCall( sender sdk.AccAddress, txID types.TxID, txInfo types.ContractTransactionInfo, ) PacketDataCall
func (PacketDataCall) GetBytes ¶
func (p PacketDataCall) GetBytes() []byte
func (PacketDataCall) GetTimeoutHeight ¶
func (p PacketDataCall) GetTimeoutHeight() uint64
func (PacketDataCall) GetTimeoutTimestamp ¶
func (p PacketDataCall) GetTimeoutTimestamp() uint64
func (PacketDataCall) Type ¶
func (p PacketDataCall) Type() string
func (PacketDataCall) ValidateBasic ¶
func (p PacketDataCall) ValidateBasic() error
Click to show internal directories.
Click to hide internal directories.