storage_handler

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StorageHandler

type StorageHandler struct {
	// contains filtered or unexported fields
}

func (*StorageHandler) BuyStorage

func (s *StorageHandler) BuyStorage(forAddress string, duration int64, gb int64) (*types.TxResponse, error)

func (*StorageHandler) QueryFidCid

func (*StorageHandler) QueryGetPayData

func (s *StorageHandler) QueryGetPayData(address string) (*storagetypes.QueryPayDataResponse, error)

func (*StorageHandler) QueryJackalPrice

func (s *StorageHandler) QueryJackalPrice(bytes int64, duration int64) (*storagetypes.QueryPriceCheckResponse, error)

func (*StorageHandler) UpgradeStorage

func (s *StorageHandler) UpgradeStorage(forAddress string, duration int64, gb int64) (*types.TxResponse, error)

Jump to

Keyboard shortcuts

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