Documentation ¶
Index ¶
- func AddressStateToString(state AddressState) string
- func MessageStateToString(state MessageState) string
- type ActorCfg
- type Address
- type AddressSpec
- type AddressState
- type ChangeGasSpecParams
- type FeeSpec
- type Message
- type MessageState
- type MessageWithUID
- type MethodType
- type MsgQueryParams
- type Node
- type NodeType
- type QuickSendParams
- type QuickSendParamsCodec
- type ReplacMessageParams
- type SendSpec
- type SharedSpec
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddressStateToString ¶
func AddressStateToString(state AddressState) string
func MessageStateToString ¶
func MessageStateToString(state MessageState) string
Types ¶
type Address ¶
type Address struct { ID types.UUID `json:"id"` Addr address.Address `json:"addr"` // max for current, use nonce and +1 Nonce uint64 `json:"nonce"` Weight int64 `json:"weight"` State AddressState `json:"state"` SelMsgNum uint64 `json:"selMsgNum"` // number of address selection messages FeeSpec IsDeleted int `json:"isDeleted"` // 是否删除 1:是 -1:否 CreatedAt time.Time `json:"createAt"` // 创建时间 UpdatedAt time.Time `json:"updateAt"` // 更新时间 }
type AddressSpec ¶ added in v1.8.0
type AddressState ¶
type AddressState int
const ( AddressStateAlive AddressState AddressStateRemoving AddressStateRemoved AddressStateForbbiden // forbbiden received message )
func (AddressState) String ¶
func (as AddressState) String() string
type ChangeGasSpecParams ¶ added in v1.11.0
type Message ¶
type Message struct { ID string UnsignedCid *cid.Cid SignedCid *cid.Cid shared.Message Signature *crypto.Signature Height int64 Confidence int64 Receipt *shared.MessageReceipt TipSetKey shared.TipSetKey Meta *SendSpec WalletName string State MessageState // Error is set if the message failed to fill ErrorMsg string CreatedAt time.Time UpdatedAt time.Time }
func FromUnsignedMessage ¶
func (*Message) MarshalJSON ¶
todo ignore use message MarshalJSON method
type MessageState ¶
type MessageState int
const ( UnKnown MessageState = iota UnFillMsg FillMsg OnChainMsg FailedMsg NonceConflictMsg )
func (MessageState) String ¶
func (mst MessageState) String() string
type MessageWithUID ¶
type MethodType ¶ added in v1.11.0
type MsgQueryParams ¶ added in v1.10.0
type MsgQueryParams struct { // Message State State []MessageState // Message From From []address.Address PageIndex int PageSize int }
func (*MsgQueryParams) IsPaged ¶ added in v1.10.0
func (qp *MsgQueryParams) IsPaged() bool
func (*MsgQueryParams) Limit ¶ added in v1.10.0
func (qp *MsgQueryParams) Limit() int
func (*MsgQueryParams) Offset ¶ added in v1.10.0
func (qp *MsgQueryParams) Offset() int
func (*MsgQueryParams) ToMap ¶ added in v1.10.0
func (qp *MsgQueryParams) ToMap() map[string]interface{}
type QuickSendParams ¶
type QuickSendParams struct { To address.Address From address.Address Val abi.TokenAmount Account string GasPremium *abi.TokenAmount GasFeeCap *abi.TokenAmount GasLimit *int64 Method abi.MethodNum Params string ParamsType QuickSendParamsCodec // json or hex }
type QuickSendParamsCodec ¶
type QuickSendParamsCodec string
const ( QuickSendParamsCodecJSON QuickSendParamsCodec = "json" QuickSendParamsCodecHex QuickSendParamsCodec = "hex" )
type ReplacMessageParams ¶ added in v1.6.1
type ReplacMessageParams struct { ID string Auto bool MaxFee abi.TokenAmount GasLimit int64 GasPremium abi.TokenAmount GasFeecap abi.TokenAmount GasOverPremium float64 }
type SharedSpec ¶
type SharedSpec struct {}
func (*SharedSpec) GetSendSpec ¶
func (ss *SharedSpec) GetSendSpec() *SendSpec
Click to show internal directories.
Click to hide internal directories.