Documentation ¶
Index ¶
- Constants
- Variables
- func ActorNameAndFamilyFromCode(c cid.Cid) (name string, family string, err error)
- func CborValueDecode(key string, value []byte) interface{}
- func GenFilterFields(targetEvents []string) map[string][]types.ActorEventBlock
- func IsEVMAddress(ctx context.Context, ds tasks.DataSource, addr address.Address, ...) bool
- func IsEVMMessage(ctx context.Context, ds tasks.DataSource, message *types.Message, ...) bool
- func MakeGetActorCodeFunc(ctx context.Context, store adt.Store, child, parent *types.TipSet) (func(ctx context.Context, a address.Address) (cid.Cid, bool), error)
- func MarshalWithOverrides(v interface{}, overrides map[reflect.Type]marshaller) (out []byte, err error)
- func MethodAndParamsForMessage(m *types.Message, destCode cid.Cid) (string, string, error)
- func ParseParams(params []byte, method abi.MethodNum, actCode cid.Cid) (_ string, _ string, err error)
- func ParseReturn(ret []byte, method abi.MethodNum, actCode cid.Cid) (_ string, _ string, err error)
- func ParseVmMessageParams(params []byte, paramsCodec uint64, method abi.MethodNum, actCode cid.Cid) (string, string, error)
- func ParseVmMessageReturn(ret []byte, retCodec uint64, method abi.MethodNum, actCode cid.Cid) (string, string, error)
- type CBORByteArray
- type CacheConfig
- type CachingBlockstore
- func (cs *CachingBlockstore) AllKeysChan(ctx context.Context) (<-chan cid.Cid, error)
- func (cs *CachingBlockstore) DeleteBlock(ctx context.Context, c cid.Cid) error
- func (cs *CachingBlockstore) DeleteMany(ctx context.Context, cids []cid.Cid) error
- func (cs *CachingBlockstore) Flush(ctx context.Context) error
- func (cs *CachingBlockstore) Get(ctx context.Context, c cid.Cid) (blocks.Block, error)
- func (cs *CachingBlockstore) GetSize(ctx context.Context, c cid.Cid) (int, error)
- func (cs *CachingBlockstore) Has(ctx context.Context, c cid.Cid) (bool, error)
- func (cs *CachingBlockstore) HashOnRead(enabled bool)
- func (cs *CachingBlockstore) Put(ctx context.Context, blk blocks.Block) error
- func (cs *CachingBlockstore) PutMany(ctx context.Context, blks []blocks.Block) error
- func (cs *CachingBlockstore) View(ctx context.Context, c cid.Cid, callback func([]byte) error) error
- type CachingStateStore
- type KVEvent
- type MessageParamsReturn
- type MessageTrace
- type Network
Constants ¶
View Source
const ( INT = "int" STRING = "string" CID = "cid" BIGINT = "bigint" )
Variables ¶
View Source
var ActorRegistry *vm.ActorRegistry
View Source
var DefaultNetwork = NewNetwork(filcns.DefaultUpgradeSchedule(), build.TestNetworkVersion)
DefaultNetwork is the filecoing network this version of lily has been built against
Functions ¶
func CborValueDecode ¶ added in v0.19.0
func GenFilterFields ¶ added in v0.19.0
func GenFilterFields(targetEvents []string) map[string][]types.ActorEventBlock
func IsEVMAddress ¶ added in v0.17.0
func IsEVMMessage ¶ added in v0.17.0
func MakeGetActorCodeFunc ¶
func MarshalWithOverrides ¶ added in v0.8.6
func ParseParams ¶ added in v0.8.6
func ParseReturn ¶ added in v0.12.0
func ParseVmMessageParams ¶ added in v0.14.0
Types ¶
type CBORByteArray ¶ added in v0.14.1
type CBORByteArray struct {
Params string
}
type CacheConfig ¶ added in v0.8.6
type CachingBlockstore ¶ added in v0.8.6
type CachingBlockstore struct {
// contains filtered or unexported fields
}
func NewCachingBlockstore ¶ added in v0.8.6
func NewCachingBlockstore(blocks blockstore.Blockstore, cacheSize int) (*CachingBlockstore, error)
func (*CachingBlockstore) AllKeysChan ¶ added in v0.8.6
func (cs *CachingBlockstore) AllKeysChan(ctx context.Context) (<-chan cid.Cid, error)
func (*CachingBlockstore) DeleteBlock ¶ added in v0.8.6
func (cs *CachingBlockstore) DeleteBlock(ctx context.Context, c cid.Cid) error
func (*CachingBlockstore) DeleteMany ¶ added in v0.8.6
func (cs *CachingBlockstore) DeleteMany(ctx context.Context, cids []cid.Cid) error
func (*CachingBlockstore) Flush ¶ added in v0.15.0
func (cs *CachingBlockstore) Flush(ctx context.Context) error
func (*CachingBlockstore) GetSize ¶ added in v0.8.6
func (cs *CachingBlockstore) GetSize(ctx context.Context, c cid.Cid) (int, error)
func (*CachingBlockstore) Has ¶ added in v0.8.6
func (cs *CachingBlockstore) Has(ctx context.Context, c cid.Cid) (bool, error)
func (*CachingBlockstore) HashOnRead ¶ added in v0.8.6
func (cs *CachingBlockstore) HashOnRead(enabled bool)
type CachingStateStore ¶ added in v0.8.6
type CachingStateStore struct {
// contains filtered or unexported fields
}
func NewCachingStateStore ¶ added in v0.8.6
func NewCachingStateStore(blocks blockstore.Blockstore, cacheSize int) (*CachingStateStore, error)
func (*CachingStateStore) Context ¶ added in v0.8.6
func (cas *CachingStateStore) Context() context.Context
type KVEvent ¶ added in v0.19.0
func HandleEventEntries ¶ added in v0.19.0
func HandleEventEntries(event *types.ActorEvent) (string, map[string]interface{}, []*KVEvent)
type MessageParamsReturn ¶ added in v0.12.0
type MessageTrace ¶ added in v0.12.0
type MessageTrace struct { Message types.MessageTrace Receipt types.ReturnTrace GasCharge []*types.GasTrace Index uint64 }
func GetChildMessagesOf ¶ added in v0.12.0
func GetChildMessagesOf(m *lens.MessageExecution) []*MessageTrace
type Network ¶
type Network struct {
// contains filtered or unexported fields
}
Network holds properties of the filecoin network
func NewNetwork ¶
func NewNetwork(us stmgr.UpgradeSchedule, current network.Version) *Network
Click to show internal directories.
Click to hide internal directories.