Documentation ¶
Overview ¶
Package ipld provides tools for working with Filecoin types as IPLD nodes.
These functions allow you to wrap Filecoin types into a go-ipld-prime node interface using the bindnode package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AddressBindnodeOption = bindnode.TypedBytesConverter(&address.Address{}, addressFromBytes, addressToBytes)
AddressBindnodeOption converts a filecoin Address type to and from a Bytes field in a schema
View Source
var BigIntBindnodeOption = bindnode.TypedBytesConverter(&big.Int{}, bigIntFromBytes, bigIntToBytes)
BigIntBindnodeOption converts a big.Int type to and from a Bytes field in a schema
View Source
var SignatureBindnodeOption = bindnode.TypedBytesConverter(&crypto.Signature{}, signatureFromBytes, signatureToBytes)
SignatureBindnodeOption converts a filecoin Signature type to and from a Bytes field in a schema
View Source
var TokenAmountBindnodeOption = bindnode.TypedBytesConverter(&abi.TokenAmount{}, tokenAmountFromBytes, tokenAmountToBytes)
TokenAmountBindnodeOption converts a filecoin abi.TokenAmount type to and from a Bytes field in a schema
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.