client

package
v1.2.0-rc3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 18, 2022 License: Apache-2.0, MIT Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FullNodeStruct added in v0.9.7

func GetFullNodeAPI added in v0.9.7

func GetFullNodeAPI(ctx context.Context, version string) (FullNodeStruct, jsonrpc.ClientCloser, error)

NewFullNode It is used to construct a full node access client. The API can be obtained from ~ /. Venus / API file, read from ~ /. Venus / token in local JWT mode, and obtained from Venus auth service in central authorization mode.

type IAccountStruct added in v0.9.7

type IAccountStruct struct {
	Internal struct {
		StateAccountKey func(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (address.Address, error) `perm:"read"`
	}
}

func (*IAccountStruct) StateAccountKey added in v0.9.7

func (s *IAccountStruct) StateAccountKey(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (address.Address, error)

type IActorStruct added in v0.9.7

type IActorStruct struct {
	Internal struct {
		ListActor     func(p0 context.Context) (map[address.Address]*types.Actor, error)                     `perm:"read"`
		StateGetActor func(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (*types.Actor, error) `perm:"read"`
	}
}

func (*IActorStruct) ListActor added in v0.9.7

func (s *IActorStruct) ListActor(p0 context.Context) (map[address.Address]*types.Actor, error)

func (*IActorStruct) StateGetActor added in v0.9.7

func (s *IActorStruct) StateGetActor(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (*types.Actor, error)

type IBeaconStruct added in v0.9.7

type IBeaconStruct struct {
	Internal struct {
		BeaconGetEntry func(p0 context.Context, p1 abi.ChainEpoch) (*types.BeaconEntry, error) `perm:"read"`
	}
}

func (*IBeaconStruct) BeaconGetEntry added in v0.9.7

func (s *IBeaconStruct) BeaconGetEntry(p0 context.Context, p1 abi.ChainEpoch) (*types.BeaconEntry, error)

type IBlockStoreStruct added in v0.9.7

type IBlockStoreStruct struct {
	Internal struct {
		ChainDeleteObj func(p0 context.Context, p1 cid.Cid) error                              `perm:"admin"`
		ChainHasObj    func(p0 context.Context, p1 cid.Cid) (bool, error)                      `perm:"read"`
		ChainReadObj   func(p0 context.Context, p1 cid.Cid) ([]byte, error)                    `perm:"read"`
		ChainStatObj   func(p0 context.Context, p1 cid.Cid, p2 cid.Cid) (types.ObjStat, error) `perm:"read"`
	}
}

func (*IBlockStoreStruct) ChainDeleteObj added in v0.9.7

func (s *IBlockStoreStruct) ChainDeleteObj(p0 context.Context, p1 cid.Cid) error

func (*IBlockStoreStruct) ChainHasObj added in v0.9.7

func (s *IBlockStoreStruct) ChainHasObj(p0 context.Context, p1 cid.Cid) (bool, error)

func (*IBlockStoreStruct) ChainReadObj added in v0.9.7

func (s *IBlockStoreStruct) ChainReadObj(p0 context.Context, p1 cid.Cid) ([]byte, error)

func (*IBlockStoreStruct) ChainStatObj added in v0.9.7

func (s *IBlockStoreStruct) ChainStatObj(p0 context.Context, p1 cid.Cid, p2 cid.Cid) (types.ObjStat, error)

type IChainInfoStruct added in v0.9.7

type IChainInfoStruct struct {
	Internal struct {
		BlockTime                     func(p0 context.Context) time.Duration                                                                                             `perm:"read"`
		ChainExport                   func(p0 context.Context, p1 abi.ChainEpoch, p2 bool, p3 types.TipSetKey) (<-chan []byte, error)                                    `perm:"read"`
		ChainGetBlock                 func(p0 context.Context, p1 cid.Cid) (*types.BlockHeader, error)                                                                   `perm:"read"`
		ChainGetBlockMessages         func(p0 context.Context, p1 cid.Cid) (*types.BlockMessages, error)                                                                 `perm:"read"`
		ChainGetMessage               func(p0 context.Context, p1 cid.Cid) (*types.Message, error)                                                                       `perm:"read"`
		ChainGetMessagesInTipset      func(p0 context.Context, p1 types.TipSetKey) ([]types.MessageCID, error)                                                           `perm:"read"`
		ChainGetParentMessages        func(p0 context.Context, p1 cid.Cid) ([]types.MessageCID, error)                                                                   `perm:"read"`
		ChainGetParentReceipts        func(p0 context.Context, p1 cid.Cid) ([]*types.MessageReceipt, error)                                                              `perm:"read"`
		ChainGetPath                  func(p0 context.Context, p1 types.TipSetKey, p2 types.TipSetKey) ([]*types.HeadChange, error)                                      `perm:"read"`
		ChainGetRandomnessFromBeacon  func(p0 context.Context, p1 types.TipSetKey, p2 acrypto.DomainSeparationTag, p3 abi.ChainEpoch, p4 []byte) (abi.Randomness, error) `perm:"read"`
		ChainGetRandomnessFromTickets func(p0 context.Context, p1 types.TipSetKey, p2 acrypto.DomainSeparationTag, p3 abi.ChainEpoch, p4 []byte) (abi.Randomness, error) `perm:"read"`
		ChainGetReceipts              func(p0 context.Context, p1 cid.Cid) ([]types.MessageReceipt, error)                                                               `perm:"read"`
		ChainGetTipSet                func(p0 context.Context, p1 types.TipSetKey) (*types.TipSet, error)                                                                `perm:"read"`
		ChainGetTipSetAfterHeight     func(p0 context.Context, p1 abi.ChainEpoch, p2 types.TipSetKey) (*types.TipSet, error)                                             `perm:"read"`
		ChainGetTipSetByHeight        func(p0 context.Context, p1 abi.ChainEpoch, p2 types.TipSetKey) (*types.TipSet, error)                                             `perm:"read"`
		ChainHead                     func(p0 context.Context) (*types.TipSet, error)                                                                                    `perm:"read"`
		ChainList                     func(p0 context.Context, p1 types.TipSetKey, p2 int) ([]types.TipSetKey, error)                                                    `perm:"read"`
		ChainNotify                   func(p0 context.Context) <-chan []*types.HeadChange                                                                                `perm:"read"`
		ChainSetHead                  func(p0 context.Context, p1 types.TipSetKey) error                                                                                 `perm:"admin"`
		GetActor                      func(p0 context.Context, p1 address.Address) (*types.Actor, error)                                                                 `perm:"read"`
		GetEntry                      func(p0 context.Context, p1 abi.ChainEpoch, p2 uint64) (*types.BeaconEntry, error)                                                 `perm:"read"`
		GetFullBlock                  func(p0 context.Context, p1 cid.Cid) (*types.FullBlock, error)                                                                     `perm:"read"`
		GetParentStateRootActor       func(p0 context.Context, p1 *types.TipSet, p2 address.Address) (*types.Actor, error)                                               `perm:"read"`
		MessageWait                   func(p0 context.Context, p1 cid.Cid, p2 abi.ChainEpoch, p3 abi.ChainEpoch) (*types.ChainMessage, error)                            `perm:"read"`
		ProtocolParameters            func(p0 context.Context) (*types.ProtocolParams, error)                                                                            `perm:"read"`
		ResolveToKeyAddr              func(p0 context.Context, p1 address.Address, p2 *types.TipSet) (address.Address, error)                                            `perm:"read"`
		StateGetRandomnessFromBeacon  func(p0 context.Context, p1 acrypto.DomainSeparationTag, p2 abi.ChainEpoch, p3 []byte, p4 types.TipSetKey) (abi.Randomness, error) `perm:"read"`
		StateGetRandomnessFromTickets func(p0 context.Context, p1 acrypto.DomainSeparationTag, p2 abi.ChainEpoch, p3 []byte, p4 types.TipSetKey) (abi.Randomness, error) `perm:"read"`
		StateNetworkName              func(p0 context.Context) (types.NetworkName, error)                                                                                `perm:"read"`
		StateNetworkVersion           func(p0 context.Context, p1 types.TipSetKey) (network.Version, error)                                                              `perm:"read"`
		StateSearchMsg                func(p0 context.Context, p1 types.TipSetKey, p2 cid.Cid, p3 abi.ChainEpoch, p4 bool) (*types.MsgLookup, error)                     `perm:"read"`
		StateVerifiedRegistryRootKey  func(p0 context.Context, p1 types.TipSetKey) (address.Address, error)                                                              `perm:"read"`
		StateVerifierStatus           func(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (*abi.StoragePower, error)                                        `perm:"read"`
		StateWaitMsg                  func(p0 context.Context, p1 cid.Cid, p2 uint64, p3 abi.ChainEpoch, p4 bool) (*types.MsgLookup, error)                              `perm:"read"`
		VerifyEntry                   func(p0 *types.BeaconEntry, p1 *types.BeaconEntry, p2 abi.ChainEpoch) bool                                                         `perm:"read"`
	}
}

func (*IChainInfoStruct) BlockTime added in v0.9.7

func (s *IChainInfoStruct) BlockTime(p0 context.Context) time.Duration

func (*IChainInfoStruct) ChainExport added in v1.1.0

func (s *IChainInfoStruct) ChainExport(p0 context.Context, p1 abi.ChainEpoch, p2 bool, p3 types.TipSetKey) (<-chan []byte, error)

func (*IChainInfoStruct) ChainGetBlock added in v0.9.7

func (s *IChainInfoStruct) ChainGetBlock(p0 context.Context, p1 cid.Cid) (*types.BlockHeader, error)

func (*IChainInfoStruct) ChainGetBlockMessages added in v0.9.7

func (s *IChainInfoStruct) ChainGetBlockMessages(p0 context.Context, p1 cid.Cid) (*types.BlockMessages, error)

func (*IChainInfoStruct) ChainGetMessage added in v0.9.7

func (s *IChainInfoStruct) ChainGetMessage(p0 context.Context, p1 cid.Cid) (*types.Message, error)

func (*IChainInfoStruct) ChainGetMessagesInTipset added in v1.0.1

func (s *IChainInfoStruct) ChainGetMessagesInTipset(p0 context.Context, p1 types.TipSetKey) ([]types.MessageCID, error)

func (*IChainInfoStruct) ChainGetParentMessages added in v0.9.7

func (s *IChainInfoStruct) ChainGetParentMessages(p0 context.Context, p1 cid.Cid) ([]types.MessageCID, error)

func (*IChainInfoStruct) ChainGetParentReceipts added in v0.9.7

func (s *IChainInfoStruct) ChainGetParentReceipts(p0 context.Context, p1 cid.Cid) ([]*types.MessageReceipt, error)

func (*IChainInfoStruct) ChainGetPath added in v1.1.0

func (s *IChainInfoStruct) ChainGetPath(p0 context.Context, p1 types.TipSetKey, p2 types.TipSetKey) ([]*types.HeadChange, error)

func (*IChainInfoStruct) ChainGetRandomnessFromBeacon added in v0.9.7

func (s *IChainInfoStruct) ChainGetRandomnessFromBeacon(p0 context.Context, p1 types.TipSetKey, p2 acrypto.DomainSeparationTag, p3 abi.ChainEpoch, p4 []byte) (abi.Randomness, error)

func (*IChainInfoStruct) ChainGetRandomnessFromTickets added in v0.9.7

func (s *IChainInfoStruct) ChainGetRandomnessFromTickets(p0 context.Context, p1 types.TipSetKey, p2 acrypto.DomainSeparationTag, p3 abi.ChainEpoch, p4 []byte) (abi.Randomness, error)

func (*IChainInfoStruct) ChainGetReceipts added in v0.9.7

func (s *IChainInfoStruct) ChainGetReceipts(p0 context.Context, p1 cid.Cid) ([]types.MessageReceipt, error)

func (*IChainInfoStruct) ChainGetTipSet added in v0.9.7

func (s *IChainInfoStruct) ChainGetTipSet(p0 context.Context, p1 types.TipSetKey) (*types.TipSet, error)

func (*IChainInfoStruct) ChainGetTipSetAfterHeight added in v1.1.0

func (s *IChainInfoStruct) ChainGetTipSetAfterHeight(p0 context.Context, p1 abi.ChainEpoch, p2 types.TipSetKey) (*types.TipSet, error)

func (*IChainInfoStruct) ChainGetTipSetByHeight added in v0.9.7

func (s *IChainInfoStruct) ChainGetTipSetByHeight(p0 context.Context, p1 abi.ChainEpoch, p2 types.TipSetKey) (*types.TipSet, error)

func (*IChainInfoStruct) ChainHead added in v0.9.7

func (s *IChainInfoStruct) ChainHead(p0 context.Context) (*types.TipSet, error)

func (*IChainInfoStruct) ChainList added in v0.9.7

func (s *IChainInfoStruct) ChainList(p0 context.Context, p1 types.TipSetKey, p2 int) ([]types.TipSetKey, error)

func (*IChainInfoStruct) ChainNotify added in v0.9.7

func (s *IChainInfoStruct) ChainNotify(p0 context.Context) <-chan []*types.HeadChange

func (*IChainInfoStruct) ChainSetHead added in v0.9.7

func (s *IChainInfoStruct) ChainSetHead(p0 context.Context, p1 types.TipSetKey) error

func (*IChainInfoStruct) GetActor added in v0.9.7

func (s *IChainInfoStruct) GetActor(p0 context.Context, p1 address.Address) (*types.Actor, error)

func (*IChainInfoStruct) GetEntry added in v0.9.7

func (*IChainInfoStruct) GetFullBlock added in v0.9.7

func (s *IChainInfoStruct) GetFullBlock(p0 context.Context, p1 cid.Cid) (*types.FullBlock, error)

func (*IChainInfoStruct) GetParentStateRootActor added in v0.9.7

func (s *IChainInfoStruct) GetParentStateRootActor(p0 context.Context, p1 *types.TipSet, p2 address.Address) (*types.Actor, error)

func (*IChainInfoStruct) MessageWait added in v0.9.7

func (s *IChainInfoStruct) MessageWait(p0 context.Context, p1 cid.Cid, p2 abi.ChainEpoch, p3 abi.ChainEpoch) (*types.ChainMessage, error)

func (*IChainInfoStruct) ProtocolParameters added in v0.9.7

func (s *IChainInfoStruct) ProtocolParameters(p0 context.Context) (*types.ProtocolParams, error)

func (*IChainInfoStruct) ResolveToKeyAddr added in v0.9.7

func (s *IChainInfoStruct) ResolveToKeyAddr(p0 context.Context, p1 address.Address, p2 *types.TipSet) (address.Address, error)

func (*IChainInfoStruct) StateGetRandomnessFromBeacon added in v1.1.0

func (s *IChainInfoStruct) StateGetRandomnessFromBeacon(p0 context.Context, p1 acrypto.DomainSeparationTag, p2 abi.ChainEpoch, p3 []byte, p4 types.TipSetKey) (abi.Randomness, error)

func (*IChainInfoStruct) StateGetRandomnessFromTickets added in v1.1.0

func (s *IChainInfoStruct) StateGetRandomnessFromTickets(p0 context.Context, p1 acrypto.DomainSeparationTag, p2 abi.ChainEpoch, p3 []byte, p4 types.TipSetKey) (abi.Randomness, error)

func (*IChainInfoStruct) StateNetworkName added in v0.9.7

func (s *IChainInfoStruct) StateNetworkName(p0 context.Context) (types.NetworkName, error)

func (*IChainInfoStruct) StateNetworkVersion added in v0.9.7

func (s *IChainInfoStruct) StateNetworkVersion(p0 context.Context, p1 types.TipSetKey) (network.Version, error)

func (*IChainInfoStruct) StateSearchMsg added in v0.9.7

func (s *IChainInfoStruct) StateSearchMsg(p0 context.Context, p1 types.TipSetKey, p2 cid.Cid, p3 abi.ChainEpoch, p4 bool) (*types.MsgLookup, error)

func (*IChainInfoStruct) StateVerifiedRegistryRootKey added in v1.1.0

func (s *IChainInfoStruct) StateVerifiedRegistryRootKey(p0 context.Context, p1 types.TipSetKey) (address.Address, error)

func (*IChainInfoStruct) StateVerifierStatus added in v1.1.0

func (s *IChainInfoStruct) StateVerifierStatus(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (*abi.StoragePower, error)

func (*IChainInfoStruct) StateWaitMsg added in v0.9.7

func (s *IChainInfoStruct) StateWaitMsg(p0 context.Context, p1 cid.Cid, p2 uint64, p3 abi.ChainEpoch, p4 bool) (*types.MsgLookup, error)

func (*IChainInfoStruct) VerifyEntry added in v0.9.7

func (s *IChainInfoStruct) VerifyEntry(p0 *types.BeaconEntry, p1 *types.BeaconEntry, p2 abi.ChainEpoch) bool

type IChainStruct added in v0.9.7

type IConfigStruct added in v0.9.7

type IConfigStruct struct {
	Internal struct {
		ConfigGet func(p0 context.Context, p1 string) (interface{}, error) `perm:"read"`
		ConfigSet func(p0 context.Context, p1 string, p2 string) error     `perm:"admin"`
	}
}

func (*IConfigStruct) ConfigGet added in v0.9.7

func (s *IConfigStruct) ConfigGet(p0 context.Context, p1 string) (interface{}, error)

func (*IConfigStruct) ConfigSet added in v0.9.7

func (s *IConfigStruct) ConfigSet(p0 context.Context, p1 string, p2 string) error

type IDagServiceStruct added in v1.1.0

type IDagServiceStruct struct {
	Internal struct {
		DAGCat         func(p0 context.Context, p1 cid.Cid) (io.Reader, error)   `perm:"read"`
		DAGGetFileSize func(p0 context.Context, p1 cid.Cid) (uint64, error)      `perm:"read"`
		DAGGetNode     func(p0 context.Context, p1 string) (interface{}, error)  `perm:"read"`
		DAGImportData  func(p0 context.Context, p1 io.Reader) (ipld.Node, error) `perm:"write"`
	}
}

func (*IDagServiceStruct) DAGCat added in v1.1.0

func (s *IDagServiceStruct) DAGCat(p0 context.Context, p1 cid.Cid) (io.Reader, error)

func (*IDagServiceStruct) DAGGetFileSize added in v1.1.0

func (s *IDagServiceStruct) DAGGetFileSize(p0 context.Context, p1 cid.Cid) (uint64, error)

func (*IDagServiceStruct) DAGGetNode added in v1.1.0

func (s *IDagServiceStruct) DAGGetNode(p0 context.Context, p1 string) (interface{}, error)

func (*IDagServiceStruct) DAGImportData added in v1.1.0

func (s *IDagServiceStruct) DAGImportData(p0 context.Context, p1 io.Reader) (ipld.Node, error)

type IDiscoveryStruct added in v0.9.7

type IDiscoveryStruct struct {
}

type IJwtAuthAPIStruct added in v0.9.7

type IJwtAuthAPIStruct struct {
	Internal struct {
		AuthNew func(p0 context.Context, p1 []auth.Permission) ([]byte, error)            `perm:"admin"`
		Verify  func(p0 context.Context, p1 string, p2 string) ([]auth.Permission, error) `perm:"read"`
	}
}

func (*IJwtAuthAPIStruct) AuthNew added in v0.9.7

func (s *IJwtAuthAPIStruct) AuthNew(p0 context.Context, p1 []auth.Permission) ([]byte, error)

func (*IJwtAuthAPIStruct) Verify added in v0.9.7

func (s *IJwtAuthAPIStruct) Verify(p0 context.Context, p1 string, p2 string) ([]auth.Permission, error)

type IMarketStruct added in v0.9.7

type IMarketStruct struct {
	Internal struct {
		StateMarketParticipants func(p0 context.Context, p1 types.TipSetKey) (map[string]types.MarketBalance, error) `perm:"read"`
	}
}

func (*IMarketStruct) StateMarketParticipants added in v0.9.7

func (s *IMarketStruct) StateMarketParticipants(p0 context.Context, p1 types.TipSetKey) (map[string]types.MarketBalance, error)

type IMessagePoolStruct added in v0.9.7

type IMessagePoolStruct struct {
	Internal struct {
		GasBatchEstimateMessageGas func(p0 context.Context, p1 []*types.EstimateMessage, p2 uint64, p3 types.TipSetKey) ([]*types.EstimateResult, error) `perm:"read"`
		GasEstimateFeeCap          func(p0 context.Context, p1 *types.Message, p2 int64, p3 types.TipSetKey) (big.Int, error)                            `perm:"read"`
		GasEstimateGasLimit        func(p0 context.Context, p1 *types.Message, p2 types.TipSetKey) (int64, error)                                        `perm:"read"`
		GasEstimateGasPremium      func(p0 context.Context, p1 uint64, p2 address.Address, p3 int64, p4 types.TipSetKey) (big.Int, error)                `perm:"read"`
		GasEstimateMessageGas      func(p0 context.Context, p1 *types.Message, p2 *types.MessageSendSpec, p3 types.TipSetKey) (*types.Message, error)    `perm:"read"`
		MpoolBatchPush             func(p0 context.Context, p1 []*types.SignedMessage) ([]cid.Cid, error)                                                `perm:"write"`
		MpoolBatchPushMessage      func(p0 context.Context, p1 []*types.Message, p2 *types.MessageSendSpec) ([]*types.SignedMessage, error)              `perm:"sign"`
		MpoolBatchPushUntrusted    func(p0 context.Context, p1 []*types.SignedMessage) ([]cid.Cid, error)                                                `perm:"write"`
		MpoolCheckMessages         func(p0 context.Context, p1 []*types.MessagePrototype) ([][]types.MessageCheckStatus, error)                          `perm:"read"`
		MpoolCheckPendingMessages  func(p0 context.Context, p1 address.Address) ([][]types.MessageCheckStatus, error)                                    `perm:"read"`
		MpoolCheckReplaceMessages  func(p0 context.Context, p1 []*types.Message) ([][]types.MessageCheckStatus, error)                                   `perm:"read"`
		MpoolClear                 func(p0 context.Context, p1 bool) error                                                                               `perm:"write"`
		MpoolDeleteByAdress        func(p0 context.Context, p1 address.Address) error                                                                    `perm:"admin"`
		MpoolGetConfig             func(p0 context.Context) (*types.MpoolConfig, error)                                                                  `perm:"read"`
		MpoolGetNonce              func(p0 context.Context, p1 address.Address) (uint64, error)                                                          `perm:"read"`
		MpoolPending               func(p0 context.Context, p1 types.TipSetKey) ([]*types.SignedMessage, error)                                          `perm:"read"`
		MpoolPublishByAddr         func(p0 context.Context, p1 address.Address) error                                                                    `perm:"write"`
		MpoolPublishMessage        func(p0 context.Context, p1 *types.SignedMessage) error                                                               `perm:"write"`
		MpoolPush                  func(p0 context.Context, p1 *types.SignedMessage) (cid.Cid, error)                                                    `perm:"write"`
		MpoolPushMessage           func(p0 context.Context, p1 *types.Message, p2 *types.MessageSendSpec) (*types.SignedMessage, error)                  `perm:"sign"`
		MpoolPushUntrusted         func(p0 context.Context, p1 *types.SignedMessage) (cid.Cid, error)                                                    `perm:"write"`
		MpoolSelect                func(p0 context.Context, p1 types.TipSetKey, p2 float64) ([]*types.SignedMessage, error)                              `perm:"read"`
		MpoolSelects               func(p0 context.Context, p1 types.TipSetKey, p2 []float64) ([][]*types.SignedMessage, error)                          `perm:"read"`
		MpoolSetConfig             func(p0 context.Context, p1 *types.MpoolConfig) error                                                                 `perm:"admin"`
		MpoolSub                   func(p0 context.Context) (<-chan types.MpoolUpdate, error)                                                            `perm:"read"`
	}
}

func (*IMessagePoolStruct) GasBatchEstimateMessageGas added in v0.9.7

func (s *IMessagePoolStruct) GasBatchEstimateMessageGas(p0 context.Context, p1 []*types.EstimateMessage, p2 uint64, p3 types.TipSetKey) ([]*types.EstimateResult, error)

func (*IMessagePoolStruct) GasEstimateFeeCap added in v0.9.7

func (s *IMessagePoolStruct) GasEstimateFeeCap(p0 context.Context, p1 *types.Message, p2 int64, p3 types.TipSetKey) (big.Int, error)

func (*IMessagePoolStruct) GasEstimateGasLimit added in v0.9.7

func (s *IMessagePoolStruct) GasEstimateGasLimit(p0 context.Context, p1 *types.Message, p2 types.TipSetKey) (int64, error)

func (*IMessagePoolStruct) GasEstimateGasPremium added in v0.9.7

func (s *IMessagePoolStruct) GasEstimateGasPremium(p0 context.Context, p1 uint64, p2 address.Address, p3 int64, p4 types.TipSetKey) (big.Int, error)

func (*IMessagePoolStruct) GasEstimateMessageGas added in v0.9.7

func (s *IMessagePoolStruct) GasEstimateMessageGas(p0 context.Context, p1 *types.Message, p2 *types.MessageSendSpec, p3 types.TipSetKey) (*types.Message, error)

func (*IMessagePoolStruct) MpoolBatchPush added in v0.9.7

func (s *IMessagePoolStruct) MpoolBatchPush(p0 context.Context, p1 []*types.SignedMessage) ([]cid.Cid, error)

func (*IMessagePoolStruct) MpoolBatchPushMessage added in v0.9.7

func (s *IMessagePoolStruct) MpoolBatchPushMessage(p0 context.Context, p1 []*types.Message, p2 *types.MessageSendSpec) ([]*types.SignedMessage, error)

func (*IMessagePoolStruct) MpoolBatchPushUntrusted added in v0.9.7

func (s *IMessagePoolStruct) MpoolBatchPushUntrusted(p0 context.Context, p1 []*types.SignedMessage) ([]cid.Cid, error)

func (*IMessagePoolStruct) MpoolCheckMessages added in v0.9.7

func (s *IMessagePoolStruct) MpoolCheckMessages(p0 context.Context, p1 []*types.MessagePrototype) ([][]types.MessageCheckStatus, error)

func (*IMessagePoolStruct) MpoolCheckPendingMessages added in v0.9.7

func (s *IMessagePoolStruct) MpoolCheckPendingMessages(p0 context.Context, p1 address.Address) ([][]types.MessageCheckStatus, error)

func (*IMessagePoolStruct) MpoolCheckReplaceMessages added in v0.9.7

func (s *IMessagePoolStruct) MpoolCheckReplaceMessages(p0 context.Context, p1 []*types.Message) ([][]types.MessageCheckStatus, error)

func (*IMessagePoolStruct) MpoolClear added in v0.9.7

func (s *IMessagePoolStruct) MpoolClear(p0 context.Context, p1 bool) error

func (*IMessagePoolStruct) MpoolDeleteByAdress added in v1.0.1

func (s *IMessagePoolStruct) MpoolDeleteByAdress(p0 context.Context, p1 address.Address) error

func (*IMessagePoolStruct) MpoolGetConfig added in v0.9.7

func (s *IMessagePoolStruct) MpoolGetConfig(p0 context.Context) (*types.MpoolConfig, error)

func (*IMessagePoolStruct) MpoolGetNonce added in v0.9.7

func (s *IMessagePoolStruct) MpoolGetNonce(p0 context.Context, p1 address.Address) (uint64, error)

func (*IMessagePoolStruct) MpoolPending added in v0.9.7

func (s *IMessagePoolStruct) MpoolPending(p0 context.Context, p1 types.TipSetKey) ([]*types.SignedMessage, error)

func (*IMessagePoolStruct) MpoolPublishByAddr added in v0.9.7

func (s *IMessagePoolStruct) MpoolPublishByAddr(p0 context.Context, p1 address.Address) error

func (*IMessagePoolStruct) MpoolPublishMessage added in v0.9.7

func (s *IMessagePoolStruct) MpoolPublishMessage(p0 context.Context, p1 *types.SignedMessage) error

func (*IMessagePoolStruct) MpoolPush added in v0.9.7

func (s *IMessagePoolStruct) MpoolPush(p0 context.Context, p1 *types.SignedMessage) (cid.Cid, error)

func (*IMessagePoolStruct) MpoolPushMessage added in v0.9.7

func (*IMessagePoolStruct) MpoolPushUntrusted added in v0.9.7

func (s *IMessagePoolStruct) MpoolPushUntrusted(p0 context.Context, p1 *types.SignedMessage) (cid.Cid, error)

func (*IMessagePoolStruct) MpoolSelect added in v0.9.7

func (*IMessagePoolStruct) MpoolSelects added in v0.9.7

func (s *IMessagePoolStruct) MpoolSelects(p0 context.Context, p1 types.TipSetKey, p2 []float64) ([][]*types.SignedMessage, error)

func (*IMessagePoolStruct) MpoolSetConfig added in v0.9.7

func (s *IMessagePoolStruct) MpoolSetConfig(p0 context.Context, p1 *types.MpoolConfig) error

func (*IMessagePoolStruct) MpoolSub added in v0.9.7

func (s *IMessagePoolStruct) MpoolSub(p0 context.Context) (<-chan types.MpoolUpdate, error)

type IMinerStateStruct added in v0.9.7

type IMinerStateStruct struct {
	Internal struct {
		StateCirculatingSupply             func(p0 context.Context, p1 types.TipSetKey) (abi.TokenAmount, error)                                                           `perm:"read"`
		StateDealProviderCollateralBounds  func(p0 context.Context, p1 abi.PaddedPieceSize, p2 bool, p3 types.TipSetKey) (types.DealCollateralBounds, error)               `perm:"read"`
		StateListActors                    func(p0 context.Context, p1 types.TipSetKey) ([]address.Address, error)                                                         `perm:"read"`
		StateListMiners                    func(p0 context.Context, p1 types.TipSetKey) ([]address.Address, error)                                                         `perm:"read"`
		StateLookupID                      func(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (address.Address, error)                                       `perm:"read"`
		StateMarketBalance                 func(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (types.MarketBalance, error)                                   `perm:"read"`
		StateMarketDeals                   func(p0 context.Context, p1 types.TipSetKey) (map[string]types.MarketDeal, error)                                               `perm:"read"`
		StateMarketStorageDeal             func(p0 context.Context, p1 abi.DealID, p2 types.TipSetKey) (*types.MarketDeal, error)                                          `perm:"read"`
		StateMinerActiveSectors            func(p0 context.Context, p1 address.Address, p2 types.TipSetKey) ([]*miner.SectorOnChainInfo, error)                            `perm:"read"`
		StateMinerAvailableBalance         func(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (big.Int, error)                                               `perm:"read"`
		StateMinerDeadlines                func(p0 context.Context, p1 address.Address, p2 types.TipSetKey) ([]types.Deadline, error)                                      `perm:"read"`
		StateMinerFaults                   func(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (bitfield.BitField, error)                                     `perm:"read"`
		StateMinerInfo                     func(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (miner.MinerInfo, error)                                       `perm:"read"`
		StateMinerInitialPledgeCollateral  func(p0 context.Context, p1 address.Address, p2 miner.SectorPreCommitInfo, p3 types.TipSetKey) (big.Int, error)                 `perm:"read"`
		StateMinerPartitions               func(p0 context.Context, p1 address.Address, p2 uint64, p3 types.TipSetKey) ([]types.Partition, error)                          `perm:"read"`
		StateMinerPower                    func(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (*types.MinerPower, error)                                     `perm:"read"`
		StateMinerPreCommitDepositForPower func(p0 context.Context, p1 address.Address, p2 miner.SectorPreCommitInfo, p3 types.TipSetKey) (big.Int, error)                 `perm:"read"`
		StateMinerProvingDeadline          func(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (*dline.Info, error)                                           `perm:"read"`
		StateMinerRecoveries               func(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (bitfield.BitField, error)                                     `perm:"read"`
		StateMinerSectorAllocated          func(p0 context.Context, p1 address.Address, p2 abi.SectorNumber, p3 types.TipSetKey) (bool, error)                             `perm:"read"`
		StateMinerSectorCount              func(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (types.MinerSectors, error)                                    `perm:"read"`
		StateMinerSectorSize               func(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (abi.SectorSize, error)                                        `perm:"read"`
		StateMinerSectors                  func(p0 context.Context, p1 address.Address, p2 *bitfield.BitField, p3 types.TipSetKey) ([]*miner.SectorOnChainInfo, error)     `perm:"read"`
		StateMinerWorkerAddress            func(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (address.Address, error)                                       `perm:"read"`
		StateSectorExpiration              func(p0 context.Context, p1 address.Address, p2 abi.SectorNumber, p3 types.TipSetKey) (*miner.SectorExpiration, error)          `perm:"read"`
		StateSectorGetInfo                 func(p0 context.Context, p1 address.Address, p2 abi.SectorNumber, p3 types.TipSetKey) (*miner.SectorOnChainInfo, error)         `perm:"read"`
		StateSectorPartition               func(p0 context.Context, p1 address.Address, p2 abi.SectorNumber, p3 types.TipSetKey) (*miner.SectorLocation, error)            `perm:"read"`
		StateSectorPreCommitInfo           func(p0 context.Context, p1 address.Address, p2 abi.SectorNumber, p3 types.TipSetKey) (miner.SectorPreCommitOnChainInfo, error) `perm:"read"`
		StateVMCirculatingSupplyInternal   func(p0 context.Context, p1 types.TipSetKey) (types.CirculatingSupply, error)                                                   `perm:"read"`
		StateVerifiedClientStatus          func(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (*abi.StoragePower, error)                                     `perm:"read"`
	}
}

func (*IMinerStateStruct) StateCirculatingSupply added in v0.9.7

func (s *IMinerStateStruct) StateCirculatingSupply(p0 context.Context, p1 types.TipSetKey) (abi.TokenAmount, error)

func (*IMinerStateStruct) StateDealProviderCollateralBounds added in v1.1.0

func (s *IMinerStateStruct) StateDealProviderCollateralBounds(p0 context.Context, p1 abi.PaddedPieceSize, p2 bool, p3 types.TipSetKey) (types.DealCollateralBounds, error)

func (*IMinerStateStruct) StateListActors added in v0.9.7

func (s *IMinerStateStruct) StateListActors(p0 context.Context, p1 types.TipSetKey) ([]address.Address, error)

func (*IMinerStateStruct) StateListMiners added in v0.9.7

func (s *IMinerStateStruct) StateListMiners(p0 context.Context, p1 types.TipSetKey) ([]address.Address, error)

func (*IMinerStateStruct) StateLookupID added in v0.9.7

func (s *IMinerStateStruct) StateLookupID(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (address.Address, error)

func (*IMinerStateStruct) StateMarketBalance added in v0.9.7

func (s *IMinerStateStruct) StateMarketBalance(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (types.MarketBalance, error)

func (*IMinerStateStruct) StateMarketDeals added in v0.9.7

func (s *IMinerStateStruct) StateMarketDeals(p0 context.Context, p1 types.TipSetKey) (map[string]types.MarketDeal, error)

func (*IMinerStateStruct) StateMarketStorageDeal added in v0.9.7

func (s *IMinerStateStruct) StateMarketStorageDeal(p0 context.Context, p1 abi.DealID, p2 types.TipSetKey) (*types.MarketDeal, error)

func (*IMinerStateStruct) StateMinerActiveSectors added in v0.9.7

func (s *IMinerStateStruct) StateMinerActiveSectors(p0 context.Context, p1 address.Address, p2 types.TipSetKey) ([]*miner.SectorOnChainInfo, error)

func (*IMinerStateStruct) StateMinerAvailableBalance added in v0.9.7

func (s *IMinerStateStruct) StateMinerAvailableBalance(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (big.Int, error)

func (*IMinerStateStruct) StateMinerDeadlines added in v0.9.7

func (s *IMinerStateStruct) StateMinerDeadlines(p0 context.Context, p1 address.Address, p2 types.TipSetKey) ([]types.Deadline, error)

func (*IMinerStateStruct) StateMinerFaults added in v0.9.7

func (s *IMinerStateStruct) StateMinerFaults(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (bitfield.BitField, error)

func (*IMinerStateStruct) StateMinerInfo added in v0.9.7

func (s *IMinerStateStruct) StateMinerInfo(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (miner.MinerInfo, error)

func (*IMinerStateStruct) StateMinerInitialPledgeCollateral added in v0.9.7

func (s *IMinerStateStruct) StateMinerInitialPledgeCollateral(p0 context.Context, p1 address.Address, p2 miner.SectorPreCommitInfo, p3 types.TipSetKey) (big.Int, error)

func (*IMinerStateStruct) StateMinerPartitions added in v0.9.7

func (s *IMinerStateStruct) StateMinerPartitions(p0 context.Context, p1 address.Address, p2 uint64, p3 types.TipSetKey) ([]types.Partition, error)

func (*IMinerStateStruct) StateMinerPower added in v0.9.7

func (s *IMinerStateStruct) StateMinerPower(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (*types.MinerPower, error)

func (*IMinerStateStruct) StateMinerPreCommitDepositForPower added in v0.9.7

func (s *IMinerStateStruct) StateMinerPreCommitDepositForPower(p0 context.Context, p1 address.Address, p2 miner.SectorPreCommitInfo, p3 types.TipSetKey) (big.Int, error)

func (*IMinerStateStruct) StateMinerProvingDeadline added in v0.9.7

func (s *IMinerStateStruct) StateMinerProvingDeadline(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (*dline.Info, error)

func (*IMinerStateStruct) StateMinerRecoveries added in v0.9.7

func (s *IMinerStateStruct) StateMinerRecoveries(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (bitfield.BitField, error)

func (*IMinerStateStruct) StateMinerSectorAllocated added in v0.9.7

func (s *IMinerStateStruct) StateMinerSectorAllocated(p0 context.Context, p1 address.Address, p2 abi.SectorNumber, p3 types.TipSetKey) (bool, error)

func (*IMinerStateStruct) StateMinerSectorCount added in v0.9.7

func (s *IMinerStateStruct) StateMinerSectorCount(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (types.MinerSectors, error)

func (*IMinerStateStruct) StateMinerSectorSize added in v0.9.7

func (s *IMinerStateStruct) StateMinerSectorSize(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (abi.SectorSize, error)

func (*IMinerStateStruct) StateMinerSectors added in v0.9.7

func (s *IMinerStateStruct) StateMinerSectors(p0 context.Context, p1 address.Address, p2 *bitfield.BitField, p3 types.TipSetKey) ([]*miner.SectorOnChainInfo, error)

func (*IMinerStateStruct) StateMinerWorkerAddress added in v0.9.7

func (s *IMinerStateStruct) StateMinerWorkerAddress(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (address.Address, error)

func (*IMinerStateStruct) StateSectorExpiration added in v0.9.7

func (s *IMinerStateStruct) StateSectorExpiration(p0 context.Context, p1 address.Address, p2 abi.SectorNumber, p3 types.TipSetKey) (*miner.SectorExpiration, error)

func (*IMinerStateStruct) StateSectorGetInfo added in v0.9.7

func (s *IMinerStateStruct) StateSectorGetInfo(p0 context.Context, p1 address.Address, p2 abi.SectorNumber, p3 types.TipSetKey) (*miner.SectorOnChainInfo, error)

func (*IMinerStateStruct) StateSectorPartition added in v0.9.7

func (s *IMinerStateStruct) StateSectorPartition(p0 context.Context, p1 address.Address, p2 abi.SectorNumber, p3 types.TipSetKey) (*miner.SectorLocation, error)

func (*IMinerStateStruct) StateSectorPreCommitInfo added in v0.9.7

func (s *IMinerStateStruct) StateSectorPreCommitInfo(p0 context.Context, p1 address.Address, p2 abi.SectorNumber, p3 types.TipSetKey) (miner.SectorPreCommitOnChainInfo, error)

func (*IMinerStateStruct) StateVMCirculatingSupplyInternal added in v0.9.7

func (s *IMinerStateStruct) StateVMCirculatingSupplyInternal(p0 context.Context, p1 types.TipSetKey) (types.CirculatingSupply, error)

func (*IMinerStateStruct) StateVerifiedClientStatus added in v1.1.0

func (s *IMinerStateStruct) StateVerifiedClientStatus(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (*abi.StoragePower, error)

type IMiningStruct added in v0.9.7

type IMiningStruct struct {
	Internal struct {
		MinerCreateBlock func(p0 context.Context, p1 *types.BlockTemplate) (*types.BlockMsg, error)                                         `perm:"write"`
		MinerGetBaseInfo func(p0 context.Context, p1 address.Address, p2 abi.ChainEpoch, p3 types.TipSetKey) (*types.MiningBaseInfo, error) `perm:"read"`
	}
}

func (*IMiningStruct) MinerCreateBlock added in v0.9.7

func (s *IMiningStruct) MinerCreateBlock(p0 context.Context, p1 *types.BlockTemplate) (*types.BlockMsg, error)

func (*IMiningStruct) MinerGetBaseInfo added in v0.9.7

func (s *IMiningStruct) MinerGetBaseInfo(p0 context.Context, p1 address.Address, p2 abi.ChainEpoch, p3 types.TipSetKey) (*types.MiningBaseInfo, error)

type IMultiSigStruct added in v0.9.7

type IMultiSigStruct struct {
	Internal struct {
		MsigAddApprove     func(p0 context.Context, p1 address.Address, p2 address.Address, p3 uint64, p4 address.Address, p5 address.Address, p6 bool) (*types.MessagePrototype, error)            `perm:"sign"`
		MsigAddCancel      func(p0 context.Context, p1 address.Address, p2 address.Address, p3 uint64, p4 address.Address, p5 bool) (*types.MessagePrototype, error)                                `perm:"sign"`
		MsigAddPropose     func(p0 context.Context, p1 address.Address, p2 address.Address, p3 address.Address, p4 bool) (*types.MessagePrototype, error)                                           `perm:"sign"`
		MsigApprove        func(p0 context.Context, p1 address.Address, p2 uint64, p3 address.Address) (*types.MessagePrototype, error)                                                             `perm:"sign"`
		MsigApproveTxnHash func(p0 context.Context, p1 address.Address, p2 uint64, p3 address.Address) (*types.MessagePrototype, error)                                                             `perm:"sign"`
		MsigCancel         func(p0 context.Context, p1 address.Address, p2 uint64, p3 address.Address) (*types.MessagePrototype, error)                                                             `perm:"sign"`
		MsigCancelTxnHash  func(p0 context.Context, p1 address.Address, p2 uint64, p3 address.Address, p4 types.BigInt, p5 address.Address, p6 uint64, p7 []byte) (*types.MessagePrototype, error)  `perm:"read"`
		MsigCreate         func(p0 context.Context, p1 uint64, p2 []address.Address, p3 abi.ChainEpoch, p4 types.BigInt, p5 address.Address, p6 types.BigInt) (*types.MessagePrototype, error)      `perm:"sign"`
		MsigGetVested      func(p0 context.Context, p1 address.Address, p2 types.TipSetKey, p3 types.TipSetKey) (types.BigInt, error)                                                               `perm:"read"`
		MsigPropose        func(p0 context.Context, p1 address.Address, p2 address.Address, p3 types.BigInt, p4 address.Address, p5 uint64, p6 []byte) (*types.MessagePrototype, error)             `perm:"sign"`
		MsigRemoveSigner   func(p0 context.Context, p1 address.Address, p2 address.Address, p3 address.Address, p4 bool) (*types.MessagePrototype, error)                                           `perm:"sign"`
		MsigSwapApprove    func(p0 context.Context, p1 address.Address, p2 address.Address, p3 uint64, p4 address.Address, p5 address.Address, p6 address.Address) (*types.MessagePrototype, error) `perm:"sign"`
		MsigSwapCancel     func(p0 context.Context, p1 address.Address, p2 address.Address, p3 uint64, p4 address.Address, p5 address.Address) (*types.MessagePrototype, error)                     `perm:"sign"`
		MsigSwapPropose    func(p0 context.Context, p1 address.Address, p2 address.Address, p3 address.Address, p4 address.Address) (*types.MessagePrototype, error)                                `perm:"sign"`
	}
}

func (*IMultiSigStruct) MsigAddApprove added in v0.9.7

func (s *IMultiSigStruct) MsigAddApprove(p0 context.Context, p1 address.Address, p2 address.Address, p3 uint64, p4 address.Address, p5 address.Address, p6 bool) (*types.MessagePrototype, error)

func (*IMultiSigStruct) MsigAddCancel added in v0.9.7

func (s *IMultiSigStruct) MsigAddCancel(p0 context.Context, p1 address.Address, p2 address.Address, p3 uint64, p4 address.Address, p5 bool) (*types.MessagePrototype, error)

func (*IMultiSigStruct) MsigAddPropose added in v0.9.7

func (s *IMultiSigStruct) MsigAddPropose(p0 context.Context, p1 address.Address, p2 address.Address, p3 address.Address, p4 bool) (*types.MessagePrototype, error)

func (*IMultiSigStruct) MsigApprove added in v0.9.7

func (s *IMultiSigStruct) MsigApprove(p0 context.Context, p1 address.Address, p2 uint64, p3 address.Address) (*types.MessagePrototype, error)

func (*IMultiSigStruct) MsigApproveTxnHash added in v0.9.7

func (s *IMultiSigStruct) MsigApproveTxnHash(p0 context.Context, p1 address.Address, p2 uint64, p3 address.Address) (*types.MessagePrototype, error)

func (*IMultiSigStruct) MsigCancel added in v0.9.7

func (s *IMultiSigStruct) MsigCancel(p0 context.Context, p1 address.Address, p2 uint64, p3 address.Address) (*types.MessagePrototype, error)

func (*IMultiSigStruct) MsigCancelTxnHash

func (s *IMultiSigStruct) MsigCancelTxnHash(p0 context.Context, p1 address.Address, p2 uint64, p3 address.Address, p4 types.BigInt, p5 address.Address, p6 uint64, p7 []byte) (*types.MessagePrototype, error)

func (*IMultiSigStruct) MsigCreate added in v0.9.7

func (s *IMultiSigStruct) MsigCreate(p0 context.Context, p1 uint64, p2 []address.Address, p3 abi.ChainEpoch, p4 types.BigInt, p5 address.Address, p6 types.BigInt) (*types.MessagePrototype, error)

func (*IMultiSigStruct) MsigGetVested added in v0.9.7

func (s *IMultiSigStruct) MsigGetVested(p0 context.Context, p1 address.Address, p2 types.TipSetKey, p3 types.TipSetKey) (types.BigInt, error)

func (*IMultiSigStruct) MsigPropose added in v0.9.7

func (s *IMultiSigStruct) MsigPropose(p0 context.Context, p1 address.Address, p2 address.Address, p3 types.BigInt, p4 address.Address, p5 uint64, p6 []byte) (*types.MessagePrototype, error)

func (*IMultiSigStruct) MsigRemoveSigner added in v0.9.7

func (s *IMultiSigStruct) MsigRemoveSigner(p0 context.Context, p1 address.Address, p2 address.Address, p3 address.Address, p4 bool) (*types.MessagePrototype, error)

func (*IMultiSigStruct) MsigSwapApprove added in v0.9.7

func (s *IMultiSigStruct) MsigSwapApprove(p0 context.Context, p1 address.Address, p2 address.Address, p3 uint64, p4 address.Address, p5 address.Address, p6 address.Address) (*types.MessagePrototype, error)

func (*IMultiSigStruct) MsigSwapCancel added in v0.9.7

func (s *IMultiSigStruct) MsigSwapCancel(p0 context.Context, p1 address.Address, p2 address.Address, p3 uint64, p4 address.Address, p5 address.Address) (*types.MessagePrototype, error)

func (*IMultiSigStruct) MsigSwapPropose added in v0.9.7

func (s *IMultiSigStruct) MsigSwapPropose(p0 context.Context, p1 address.Address, p2 address.Address, p3 address.Address, p4 address.Address) (*types.MessagePrototype, error)

type INetworkStruct added in v0.9.7

type INetworkStruct struct {
	Internal struct {
		NetAddrsListen            func(p0 context.Context) (peer.AddrInfo, error)                                    `perm:"read"`
		NetworkConnect            func(p0 context.Context, p1 []string) (<-chan types.ConnectionResult, error)       `perm:"read"`
		NetworkFindPeer           func(p0 context.Context, p1 peer.ID) (peer.AddrInfo, error)                        `perm:"read"`
		NetworkFindProvidersAsync func(p0 context.Context, p1 cid.Cid, p2 int) <-chan peer.AddrInfo                  `perm:"read"`
		NetworkGetBandwidthStats  func(p0 context.Context) metrics.Stats                                             `perm:"admin"`
		NetworkGetClosestPeers    func(p0 context.Context, p1 string) ([]peer.ID, error)                             `perm:"read"`
		NetworkGetPeerAddresses   func(p0 context.Context) []ma.Multiaddr                                            `perm:"admin"`
		NetworkGetPeerID          func(p0 context.Context) peer.ID                                                   `perm:"admin"`
		NetworkPeers              func(p0 context.Context, p1 bool, p2 bool, p3 bool) (*types.SwarmConnInfos, error) `perm:"read"`
		Version                   func(p0 context.Context) (types.Version, error)                                    `perm:"read"`
	}
}

func (*INetworkStruct) NetAddrsListen added in v0.9.7

func (s *INetworkStruct) NetAddrsListen(p0 context.Context) (peer.AddrInfo, error)

func (*INetworkStruct) NetworkConnect added in v0.9.7

func (s *INetworkStruct) NetworkConnect(p0 context.Context, p1 []string) (<-chan types.ConnectionResult, error)

func (*INetworkStruct) NetworkFindPeer added in v0.9.7

func (s *INetworkStruct) NetworkFindPeer(p0 context.Context, p1 peer.ID) (peer.AddrInfo, error)

func (*INetworkStruct) NetworkFindProvidersAsync added in v0.9.7

func (s *INetworkStruct) NetworkFindProvidersAsync(p0 context.Context, p1 cid.Cid, p2 int) <-chan peer.AddrInfo

func (*INetworkStruct) NetworkGetBandwidthStats added in v0.9.7

func (s *INetworkStruct) NetworkGetBandwidthStats(p0 context.Context) metrics.Stats

func (*INetworkStruct) NetworkGetClosestPeers added in v0.9.7

func (s *INetworkStruct) NetworkGetClosestPeers(p0 context.Context, p1 string) ([]peer.ID, error)

func (*INetworkStruct) NetworkGetPeerAddresses added in v0.9.7

func (s *INetworkStruct) NetworkGetPeerAddresses(p0 context.Context) []ma.Multiaddr

func (*INetworkStruct) NetworkGetPeerID added in v0.9.7

func (s *INetworkStruct) NetworkGetPeerID(p0 context.Context) peer.ID

func (*INetworkStruct) NetworkPeers added in v0.9.7

func (s *INetworkStruct) NetworkPeers(p0 context.Context, p1 bool, p2 bool, p3 bool) (*types.SwarmConnInfos, error)

func (*INetworkStruct) Version added in v0.9.7

func (s *INetworkStruct) Version(p0 context.Context) (types.Version, error)

type IPaychanStruct added in v0.9.7

type IPaychanStruct struct {
	Internal struct {
		PaychAllocateLane           func(p0 context.Context, p1 address.Address) (uint64, error)                                                         `perm:"sign"`
		PaychAvailableFunds         func(p0 context.Context, p1 address.Address) (*types.ChannelAvailableFunds, error)                                   `perm:"sign"`
		PaychAvailableFundsByFromTo func(p0 context.Context, p1 address.Address, p2 address.Address) (*types.ChannelAvailableFunds, error)               `perm:"sign"`
		PaychCollect                func(p0 context.Context, p1 address.Address) (cid.Cid, error)                                                        `perm:"sign"`
		PaychGet                    func(p0 context.Context, p1 address.Address, p2 address.Address, p3 big.Int) (*types.ChannelInfo, error)             `perm:"sign"`
		PaychGetWaitReady           func(p0 context.Context, p1 cid.Cid) (address.Address, error)                                                        `perm:"sign"`
		PaychList                   func(p0 context.Context) ([]address.Address, error)                                                                  `perm:"read"`
		PaychNewPayment             func(p0 context.Context, p1 address.Address, p2 address.Address, p3 []types.VoucherSpec) (*types.PaymentInfo, error) `perm:"sign"`
		PaychSettle                 func(p0 context.Context, p1 address.Address) (cid.Cid, error)                                                        `perm:"sign"`
		PaychStatus                 func(p0 context.Context, p1 address.Address) (*types.Status, error)                                                  `perm:"read"`
		PaychVoucherAdd             func(p0 context.Context, p1 address.Address, p2 *paych.SignedVoucher, p3 []byte, p4 big.Int) (big.Int, error)        `perm:"write"`
		PaychVoucherCheckSpendable  func(p0 context.Context, p1 address.Address, p2 *paych.SignedVoucher, p3 []byte, p4 []byte) (bool, error)            `perm:"read"`
		PaychVoucherCheckValid      func(p0 context.Context, p1 address.Address, p2 *paych.SignedVoucher) error                                          `perm:"read"`
		PaychVoucherCreate          func(p0 context.Context, p1 address.Address, p2 big.Int, p3 uint64) (*types.VoucherCreateResult, error)              `perm:"sign"`
		PaychVoucherList            func(p0 context.Context, p1 address.Address) ([]*paych.SignedVoucher, error)                                         `perm:"write"`
		PaychVoucherSubmit          func(p0 context.Context, p1 address.Address, p2 *paych.SignedVoucher, p3 []byte, p4 []byte) (cid.Cid, error)         `perm:"sign"`
	}
}

func (*IPaychanStruct) PaychAllocateLane added in v0.9.7

func (s *IPaychanStruct) PaychAllocateLane(p0 context.Context, p1 address.Address) (uint64, error)

func (*IPaychanStruct) PaychAvailableFunds added in v0.9.7

func (s *IPaychanStruct) PaychAvailableFunds(p0 context.Context, p1 address.Address) (*types.ChannelAvailableFunds, error)

func (*IPaychanStruct) PaychAvailableFundsByFromTo added in v0.9.7

func (s *IPaychanStruct) PaychAvailableFundsByFromTo(p0 context.Context, p1 address.Address, p2 address.Address) (*types.ChannelAvailableFunds, error)

func (*IPaychanStruct) PaychCollect added in v0.9.7

func (s *IPaychanStruct) PaychCollect(p0 context.Context, p1 address.Address) (cid.Cid, error)

func (*IPaychanStruct) PaychGet added in v0.9.7

func (s *IPaychanStruct) PaychGet(p0 context.Context, p1 address.Address, p2 address.Address, p3 big.Int) (*types.ChannelInfo, error)

func (*IPaychanStruct) PaychGetWaitReady added in v0.9.7

func (s *IPaychanStruct) PaychGetWaitReady(p0 context.Context, p1 cid.Cid) (address.Address, error)

func (*IPaychanStruct) PaychList added in v0.9.7

func (s *IPaychanStruct) PaychList(p0 context.Context) ([]address.Address, error)

func (*IPaychanStruct) PaychNewPayment added in v0.9.7

func (s *IPaychanStruct) PaychNewPayment(p0 context.Context, p1 address.Address, p2 address.Address, p3 []types.VoucherSpec) (*types.PaymentInfo, error)

func (*IPaychanStruct) PaychSettle added in v0.9.7

func (s *IPaychanStruct) PaychSettle(p0 context.Context, p1 address.Address) (cid.Cid, error)

func (*IPaychanStruct) PaychStatus added in v0.9.7

func (s *IPaychanStruct) PaychStatus(p0 context.Context, p1 address.Address) (*types.Status, error)

func (*IPaychanStruct) PaychVoucherAdd added in v0.9.7

func (s *IPaychanStruct) PaychVoucherAdd(p0 context.Context, p1 address.Address, p2 *paych.SignedVoucher, p3 []byte, p4 big.Int) (big.Int, error)

func (*IPaychanStruct) PaychVoucherCheckSpendable added in v0.9.7

func (s *IPaychanStruct) PaychVoucherCheckSpendable(p0 context.Context, p1 address.Address, p2 *paych.SignedVoucher, p3 []byte, p4 []byte) (bool, error)

func (*IPaychanStruct) PaychVoucherCheckValid added in v0.9.7

func (s *IPaychanStruct) PaychVoucherCheckValid(p0 context.Context, p1 address.Address, p2 *paych.SignedVoucher) error

func (*IPaychanStruct) PaychVoucherCreate added in v0.9.7

func (s *IPaychanStruct) PaychVoucherCreate(p0 context.Context, p1 address.Address, p2 big.Int, p3 uint64) (*types.VoucherCreateResult, error)

func (*IPaychanStruct) PaychVoucherList added in v0.9.7

func (s *IPaychanStruct) PaychVoucherList(p0 context.Context, p1 address.Address) ([]*paych.SignedVoucher, error)

func (*IPaychanStruct) PaychVoucherSubmit added in v0.9.7

func (s *IPaychanStruct) PaychVoucherSubmit(p0 context.Context, p1 address.Address, p2 *paych.SignedVoucher, p3 []byte, p4 []byte) (cid.Cid, error)

type ISyncerStruct added in v0.9.7

type ISyncerStruct struct {
	Internal struct {
		ChainSyncHandleNewTipSet func(p0 context.Context, p1 *types.ChainInfo) error                                         `perm:"write"`
		ChainTipSetWeight        func(p0 context.Context, p1 types.TipSetKey) (big.Int, error)                               `perm:"read"`
		Concurrent               func(p0 context.Context) int64                                                              `perm:"read"`
		SetConcurrent            func(p0 context.Context, p1 int64) error                                                    `perm:"admin"`
		StateCall                func(p0 context.Context, p1 *types.Message, p2 types.TipSetKey) (*types.InvocResult, error) `perm:"read"`
		SyncState                func(p0 context.Context) (*types.SyncState, error)                                          `perm:"read"`
		SyncSubmitBlock          func(p0 context.Context, p1 *types.BlockMsg) error                                          `perm:"write"`
		SyncerTracker            func(p0 context.Context) *syncTypes.TargetTracker                                           `perm:"read"`
	}
}

func (*ISyncerStruct) ChainSyncHandleNewTipSet added in v0.9.7

func (s *ISyncerStruct) ChainSyncHandleNewTipSet(p0 context.Context, p1 *types.ChainInfo) error

func (*ISyncerStruct) ChainTipSetWeight added in v0.9.7

func (s *ISyncerStruct) ChainTipSetWeight(p0 context.Context, p1 types.TipSetKey) (big.Int, error)

func (*ISyncerStruct) Concurrent added in v0.9.7

func (s *ISyncerStruct) Concurrent(p0 context.Context) int64

func (*ISyncerStruct) SetConcurrent added in v0.9.7

func (s *ISyncerStruct) SetConcurrent(p0 context.Context, p1 int64) error

func (*ISyncerStruct) StateCall added in v0.9.7

func (*ISyncerStruct) SyncState added in v0.9.7

func (s *ISyncerStruct) SyncState(p0 context.Context) (*types.SyncState, error)

func (*ISyncerStruct) SyncSubmitBlock added in v0.9.7

func (s *ISyncerStruct) SyncSubmitBlock(p0 context.Context, p1 *types.BlockMsg) error

func (*ISyncerStruct) SyncerTracker added in v0.9.7

func (s *ISyncerStruct) SyncerTracker(p0 context.Context) *syncTypes.TargetTracker

type IWalletStruct added in v0.9.7

type IWalletStruct struct {
	Internal struct {
		HasPassword          func(p0 context.Context) bool                                                                        `perm:"admin"`
		LockWallet           func(p0 context.Context) error                                                                       `perm:"admin"`
		SetPassword          func(p0 context.Context, p1 []byte) error                                                            `perm:"admin"`
		UnLockWallet         func(p0 context.Context, p1 []byte) error                                                            `perm:"admin"`
		WalletAddresses      func(p0 context.Context) []address.Address                                                           `perm:"admin"`
		WalletBalance        func(p0 context.Context, p1 address.Address) (abi.TokenAmount, error)                                `perm:"read"`
		WalletDefaultAddress func(p0 context.Context) (address.Address, error)                                                    `perm:"write"`
		WalletExport         func(p0 address.Address, p1 string) (*crypto.KeyInfo, error)                                         `perm:"admin"`
		WalletHas            func(p0 context.Context, p1 address.Address) (bool, error)                                           `perm:"write"`
		WalletImport         func(p0 *crypto.KeyInfo) (address.Address, error)                                                    `perm:"admin"`
		WalletNewAddress     func(p0 address.Protocol) (address.Address, error)                                                   `perm:"write"`
		WalletSetDefault     func(p0 context.Context, p1 address.Address) error                                                   `perm:"write"`
		WalletSign           func(p0 context.Context, p1 address.Address, p2 []byte, p3 types.MsgMeta) (*crypto.Signature, error) `perm:"sign"`
		WalletSignMessage    func(p0 context.Context, p1 address.Address, p2 *types.Message) (*types.SignedMessage, error)        `perm:"sign"`
		WalletState          func(p0 context.Context) int                                                                         `perm:"admin"`
	}
}

func (*IWalletStruct) HasPassword added in v0.9.7

func (s *IWalletStruct) HasPassword(p0 context.Context) bool

func (*IWalletStruct) LockWallet added in v0.9.7

func (s *IWalletStruct) LockWallet(p0 context.Context) error

func (*IWalletStruct) SetPassword added in v0.9.7

func (s *IWalletStruct) SetPassword(p0 context.Context, p1 []byte) error

func (*IWalletStruct) UnLockWallet added in v0.9.7

func (s *IWalletStruct) UnLockWallet(p0 context.Context, p1 []byte) error

func (*IWalletStruct) WalletAddresses added in v0.9.7

func (s *IWalletStruct) WalletAddresses(p0 context.Context) []address.Address

func (*IWalletStruct) WalletBalance added in v0.9.7

func (s *IWalletStruct) WalletBalance(p0 context.Context, p1 address.Address) (abi.TokenAmount, error)

func (*IWalletStruct) WalletDefaultAddress added in v0.9.7

func (s *IWalletStruct) WalletDefaultAddress(p0 context.Context) (address.Address, error)

func (*IWalletStruct) WalletExport added in v0.9.7

func (s *IWalletStruct) WalletExport(p0 address.Address, p1 string) (*crypto.KeyInfo, error)

func (*IWalletStruct) WalletHas added in v0.9.7

func (s *IWalletStruct) WalletHas(p0 context.Context, p1 address.Address) (bool, error)

func (*IWalletStruct) WalletImport added in v0.9.7

func (s *IWalletStruct) WalletImport(p0 *crypto.KeyInfo) (address.Address, error)

func (*IWalletStruct) WalletNewAddress added in v0.9.7

func (s *IWalletStruct) WalletNewAddress(p0 address.Protocol) (address.Address, error)

func (*IWalletStruct) WalletSetDefault added in v0.9.7

func (s *IWalletStruct) WalletSetDefault(p0 context.Context, p1 address.Address) error

func (*IWalletStruct) WalletSign added in v0.9.7

func (s *IWalletStruct) WalletSign(p0 context.Context, p1 address.Address, p2 []byte, p3 types.MsgMeta) (*crypto.Signature, error)

func (*IWalletStruct) WalletSignMessage added in v0.9.7

func (s *IWalletStruct) WalletSignMessage(p0 context.Context, p1 address.Address, p2 *types.Message) (*types.SignedMessage, error)

func (*IWalletStruct) WalletState added in v0.9.7

func (s *IWalletStruct) WalletState(p0 context.Context) int

Directories

Path Synopsis
in api interface, you can add comment tags to the function Note: Rule[perm:admin,ignore:true] perm: read,write,sign,admin jwt token permission check ignore: bool the func in the api whether needs to be added to the client for external exposure TODO: 1.
in api interface, you can add comment tags to the function Note: Rule[perm:admin,ignore:true] perm: read,write,sign,admin jwt token permission check ignore: bool the func in the api whether needs to be added to the client for external exposure TODO: 1.
v0api
in api interface, you can add comment tags to the function Note: Rule[perm:admin,ignore:true] perm: read,write,sign,admin jwt token permission check ignore: bool the func in the api whether needs to be added to the client for external exposure TODO: 1.
in api interface, you can add comment tags to the function Note: Rule[perm:admin,ignore:true] perm: read,write,sign,admin jwt token permission check ignore: bool the func in the api whether needs to be added to the client for external exposure TODO: 1.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL