Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApplyMessageResult ¶
type ApplyMessageResult struct { Msg Message Receipt MessageReceipt Penalty abi.TokenAmount Reward abi.TokenAmount Root string }
func (ApplyMessageResult) GasUsed ¶
func (mr ApplyMessageResult) GasUsed() GasUnits
func (ApplyMessageResult) GoContainer ¶
func (mr ApplyMessageResult) GoContainer() string
func (ApplyMessageResult) GoSyntax ¶
func (mr ApplyMessageResult) GoSyntax() string
func (ApplyMessageResult) StateRoot ¶
func (mr ApplyMessageResult) StateRoot() cid.Cid
type ApplyTipSetResult ¶
type ApplyTipSetResult struct { Receipts []MessageReceipt Root string }
func (ApplyTipSetResult) GoContainer ¶
func (tr ApplyTipSetResult) GoContainer() string
func (ApplyTipSetResult) GoSyntax ¶
func (tr ApplyTipSetResult) GoSyntax() string
func (ApplyTipSetResult) StateRoot ¶
func (tr ApplyTipSetResult) StateRoot() cid.Cid
type BlockMessagesInfo ¶
type BlockMessagesInfo struct { BLSMessages []*Message SECPMessages []*SignedMessage Miner address.Address TicketCount int64 }
BlockMessagesInfo contains messages for one block in a tipset.
type ExecutionContext ¶
type ExecutionContext struct { Epoch abi.ChainEpoch // The epoch number ("height") during which a message is executed. Miner address.Address // The miner actor which earns gas fees from message execution. }
ExecutionContext provides the context for execution of a message.
func NewExecutionContext ¶
func NewExecutionContext(epoch int64, miner address.Address) *ExecutionContext
NewExecutionContext builds a new execution context.
type Message ¶
type Message struct { // Address of the receiving actor. To address.Address // Address of the sending actor. From address.Address // Expected CallSeqNum of the sending actor (only for top-level messages). CallSeqNum uint64 // Amount of value to transfer from sender's to receiver's balance. Value big.Int GasLimit int64 GasFeeCap abi.TokenAmount GasPremium abi.TokenAmount // Optional method to invoke on receiver, zero for a plain value send. Method abi.MethodNum /// Serialized parameters to the method (if method is non-zero). Params []byte }
type MessageReceipt ¶
MessageReceipt is the return value of message application.
type PreSeal ¶
type PreSeal struct { CommR cid.Cid CommD cid.Cid SectorID abi.SectorNumber Deal market.DealProposal ProofType abi.RegisteredSealProof }
type SignedMessage ¶
func (*SignedMessage) Cid ¶
func (sm *SignedMessage) Cid() cid.Cid
func (*SignedMessage) MarshalCBOR ¶
func (t *SignedMessage) MarshalCBOR(w io.Writer) error
func (*SignedMessage) Serialize ¶
func (sm *SignedMessage) Serialize() ([]byte, error)
func (*SignedMessage) UnmarshalCBOR ¶
func (t *SignedMessage) UnmarshalCBOR(r io.Reader) error
Click to show internal directories.
Click to hide internal directories.