Documentation
¶
Index ¶
Constants ¶
View Source
const PresealFile = ""
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AccountMeta ¶
type AccountMeta struct {
Owner address.Address // bls / secpk
}
func (*AccountMeta) ActorMeta ¶
func (am *AccountMeta) ActorMeta() json.RawMessage
type Actor ¶
type Actor struct {
Type ActorType
Balance abi.TokenAmount
Meta json.RawMessage
}
type Miner ¶
type Miner struct {
ID address.Address
Owner address.Address
Worker address.Address
Coinbase address.Address
PeerId peer.ID //nolint:golint
MarketBalance abi.TokenAmount
PowerBalance abi.TokenAmount
SectorSize abi.SectorSize
Sectors []*PreSeal
}
type MultisigMeta ¶
type MultisigMeta struct {
Signers []address.Address
Threshold int
VestingDuration int
VestingStart int
InitialVestedTarget *builtin.BigFrac
}
func (*MultisigMeta) ActorMeta ¶
func (mm *MultisigMeta) ActorMeta() json.RawMessage
func (*MultisigMeta) InitialVestingBalance ¶
func (mm *MultisigMeta) InitialVestingBalance(total big.Int) big.Int
type PreSeal ¶
type PreSeal struct {
CommR cid.Cid
CommD cid.Cid
SectorID abi.SectorNumber
Deal market2.DealProposal
ProofType abi.RegisteredSealProof
}
Click to show internal directories.
Click to hide internal directories.