Documentation ¶
Index ¶
- type ADNLProofScheme
- type Client
- func (c *Client) GetStorageRates(ctx context.Context, provider []byte, size uint64) (*StorageRatesResponse, error)
- func (c *Client) RequestStorageInfo(ctx context.Context, provider []byte, contractAddr *tonaddress.Address, ...) (*StorageResponse, error)
- func (c *Client) VerifyStorageADNLProof(ctx context.Context, provider []byte, contract *tonaddress.Address) ([]byte, error)
- type DHT
- type ProviderDHTRecord
- type StorageADNLProofRequest
- type StorageADNLProofResponse
- type StorageRatesRequest
- type StorageRatesResponse
- type StorageRequest
- type StorageResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ADNLProofScheme ¶ added in v0.2.0
type ADNLProofScheme struct {
Key []byte `tl:"int256"`
}
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) GetStorageRates ¶
func (*Client) RequestStorageInfo ¶
func (c *Client) RequestStorageInfo(ctx context.Context, provider []byte, contractAddr *tonaddress.Address, byteToProof uint64) (*StorageResponse, error)
func (*Client) VerifyStorageADNLProof ¶ added in v0.2.0
type ProviderDHTRecord ¶
type ProviderDHTRecord struct {
ADNLAddr []byte `tl:"int256"`
}
type StorageADNLProofRequest ¶ added in v0.2.0
type StorageADNLProofRequest struct {
ContractAddress []byte `tl:"int256"`
}
type StorageADNLProofResponse ¶ added in v0.2.0
type StorageRatesRequest ¶
type StorageRatesRequest struct {
Size uint64 `tl:"long"`
}
type StorageRatesResponse ¶
type StorageRequest ¶
Click to show internal directories.
Click to hide internal directories.