Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AllFilUnit = []FilUnit{ FilUnitFil, FilUnitAttoFil, FilUnitFemtoFil, FilUnitPicoFil, FilUnitNanoFil, }
Functions ¶
This section is empty.
Types ¶
type Block ¶
type Block struct { Cid string `json:"cid"` Height int64 `json:"height"` Miner string `json:"miner"` Parents []string `json:"parents"` ParentWeight string `json:"parentWeight"` ParentBaseFee string `json:"parentBaseFee"` ParentStateRoot string `json:"parentStateRoot"` WinCount *int64 `json:"winCount"` Messages string `json:"messages"` Timestamp uint64 `json:"timestamp"` ForkSignaling *uint64 `json:"forkSignaling"` }
type ExecutionTrace ¶
type ExecutionTrace struct {
ExecutionTrace string `json:"executionTrace"`
}
type InvocResult ¶
type InvocResult struct { GasCost *GasCost `json:"gasCost"` Receipt *MessageReceipt `json:"receipt"` ExecutionTrace *ExecutionTrace `json:"executionTrace"` }
type Message ¶
type Message struct { Cid string `json:"cid"` Version uint64 `json:"version"` To string `json:"to"` From string `json:"from"` Nonce uint64 `json:"nonce"` Value string `json:"value"` GasLimit int64 `json:"gasLimit"` GasFeeCap string `json:"gasFeeCap"` GasPremium string `json:"gasPremium"` Method uint64 `json:"method"` Height uint64 `json:"height"` Params string `json:"params"` }
func CreateMessage ¶
type MessageConfirmed ¶
type MessageConfirmed struct { Cid string `json:"cid"` Height int64 `json:"height"` StateRoot string `json:"stateRoot"` Version int `json:"version"` From string `json:"from"` To string `json:"to"` Value string `json:"value"` GasFeeCap string `json:"gasFeeCap"` GasPremium string `json:"gasPremium"` GasLimit int64 `json:"gasLimit"` SizeBytes int `json:"sizeBytes"` Nonce uint64 `json:"nonce"` Method uint64 `json:"method"` // MethodName string `json:"methodName"` ActorName string `json:"actorName"` ActorFamily string `json:"actorFamily"` ExitCode int64 `json:"exitCode"` GasUsed int64 `json:"gasUsed"` ParentBaseFee string `json:"parentBaseFee"` BaseFeeBurn string `json:"baseFeeBurn"` OverEstimationBurn string `json:"overEstimationBurn"` MinerPenalty string `json:"minerPenalty"` MinerTip string `json:"minerTip"` Refund string `json:"refund"` GasRefund int64 `json:"gasRefund"` GasBurned int64 `json:"gasBurned"` Params string `json:"params"` }
type MessagePending ¶
type MessagePending struct { Cid string `json:"cid"` Version string `json:"version"` From string `json:"from"` To string `json:"to"` // To *Address `json:"to"` // From *Address `json:"from"` Nonce uint64 `json:"nonce"` Value string `json:"value"` GasLimit int64 `json:"gasLimit"` GasFeeCap string `json:"gasFeeCap"` GasPremium string `json:"gasPremium"` Method uint64 `json:"method"` Height int64 `json:"height"` Params string `json:"params"` }
func CreatePendingMessage ¶
func CreatePendingMessage(item *types.Message) *MessagePending
type MessageReceipt ¶
type MpoolUpdate ¶
type MpoolUpdate struct { Type int `json:"type"` Message *MessagePending `json:"message"` }
type MsigTransaction ¶
type QueryMessage ¶
type QueryMessage struct {
Messages []*Message `json:"messages"`
}
Click to show internal directories.
Click to hide internal directories.