Documentation
¶
Index ¶
- type Actor
- type BeaconEntry
- type BlockHeader
- type BlockMessages
- type ExecutionTrace
- type GasTrace
- type HeadChange
- type InvocResult
- type IpldObject
- type KeyInfo
- type Loc
- type Message
- type MessageReceipt
- type MessageSendSpec
- type MsgLookup
- type ObjStat
- type SignedMessage
- type Ticket
- type TipSet
- type TipSetKey
- type Version
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BeaconEntry ¶
type BlockHeader ¶
type BlockHeader struct { Miner string Ticket *Ticket Parents []cid.Cid ParentWeight decimal.Decimal Height int64 ParentStateRoot cid.Cid ParentMessageReceipts cid.Cid Messages cid.Cid BLSAggregate *crypto.Signature Timestamp uint64 BlockSig *crypto.Signature ForkSignaling uint64 ParentBaseFee decimal.Decimal }
type BlockMessages ¶
type BlockMessages struct { BlsMessages []*Message `json:"BlsMessages"` SecpkMessages []*SignedMessage `json:"SecpkMessages"` Cids []cid.Cid `json:"Cids"` }
type ExecutionTrace ¶
type ExecutionTrace struct { Msg *Message MsgRct *MessageReceipt Error string Duration time.Duration GasCharges []*GasTrace Subcalls []ExecutionTrace }
type GasTrace ¶
type GasTrace struct { Name string Location []Loc `json:"loc"` TotalGas int64 `json:"tg"` ComputeGas int64 `json:"cg"` StorageGas int64 `json:"sg"` TotalVirtualGas int64 `json:"vtg"` VirtualComputeGas int64 `json:"vcg"` VirtualStorageGas int64 `json:"vsg"` TimeTaken time.Duration `json:"tt"` Extra interface{} `json:"ex,omitempty"` }
type HeadChange ¶
type InvocResult ¶
type InvocResult struct { Msg *Message MsgRct *MessageReceipt ExecutionTrace ExecutionTrace Error string Duration time.Duration }
type IpldObject ¶
type IpldObject struct { Cid cid.Cid Obj interface{} }
type Message ¶
type Message struct { Version uint64 `json:"Version"` To address.Address `json:"To"` From address.Address `json:"From"` Nonce uint64 `json:"Nonce"` Value decimal.Decimal `json:"Value"` GasLimit int64 `json:"GasLimit"` GasFeeCap decimal.Decimal `json:"GasFeeCap"` GasPremium decimal.Decimal `json:"GasPremium"` Method uint64 `json:"Method"` Params []byte `json:"Params"` }
type MessageReceipt ¶
type MessageSendSpec ¶
type MsgLookup ¶
type MsgLookup struct { Message cid.Cid // Can be different than requested, in case it was replaced, but only gas values changed Receipt MessageReceipt ReturnDec interface{} TipSet TipSetKey Height int64 }
type SignedMessage ¶
type TipSet ¶
type TipSet struct { Cids []cid.Cid Blocks []*BlockHeader Height int64 }
Click to show internal directories.
Click to hide internal directories.